Rumah > Artikel > pembangunan bahagian belakang > HTTP状态码大全,状态码大全_PHP教程
参考自RFC 2616,并由RFC 2518、RFC 2817、RFC 2295、RFC 2774、RFC 4918等规范扩展。红字代表比较常见的几种STATUS CODE
<p><span>"100" : Continue</span></p> <p><span>"101" : Switching Protocols</span></p> <p><span>"102" : Processing (WebDAV;RFC 2518)</span></p> <p><span><span>"200" : OK</span></span></p> <p><span>"201" : Created</span></p> <p><span>"202" : Accepted</span></p> <p><span>"203" : Non-Authoritative Information (since HTTP/1.1)</span></p> <p><span>"204" : No Content</span></p> <p><span>"205" : Reset Content</span></p> <p><span>"206" : Partial Content</span></p> <p><span>"207" : Multi-Status(WebDAV; RFC 4918)</span></p> <p><span>"208" : Already Reported (WebDAV; RFC 5842)</span></p> <p><span>"226" : IM Used (RFC 3229)</span></p> <p><span>"300" : Multiple Choices</span></p> <p><span>"301" : Moved Permanently</span></p> <p><span>"302" : Found</span></p> <p><span>"303" : See Other (since HTTP/1.1)</span></p> <p><span>"304" : Not Modified</span></p> <p><span>"305" : Use Proxy (since HTTP/1.1)</span></p> <p><span>"306" : Switch Proxy(no longer used)</span></p> <p><span>"307" : Temporary Redirect(since HTTP/1.1)</span></p> <p><span>"308" : Permanent Redirect (Experimental RFC; RFC 7238)</span></p> <p><span>"400" : Bad Request</span></p> <p><span>"401" : Unauthorized</span></p> <p><span>"402" : Payment Required</span></p> <p><span><span>"403" : Forbidden</span></span></p> <p><span><span>"404" : Not Found</span></span></p> <p><span>"405" : Method Not Allowed</span></p> <p><span>"406" : Not Acceptable</span></p> <p><span>"407" : Proxy Authentication Required</span></p> <p><span>"408" : Request Time-out</span></p> <p><span>"409" : Conflict</span></p> <p><span>"410" : Gone</span></p> <p><span>"411" : Length Required</span></p> <p><span>"412" : Precondition Failed</span></p> <p><span>"413" : Request Entity Too Large</span></p> <p><span>"414" : Request-URI Too Large</span></p> <p><span>"415" : Unsupported Media Type</span></p> <p><span>"416" : Requested range not satisfiable</span></p> <p><span>"417" : Expectation Failed</span></p> <p><span>"418" : I'm a teapot (RFC 2324)</span></p> <p><span>"419" : Authentication Timeout (not in RFC 2616)</span></p> <p><span>"420" : Method Failure (Spring Framework)</span></p> <p><span>"420" : Enhance Your Calm (Twitter)</span></p> <p><span>"421" : There are too many connections from your internet address(Unknown)</span></p> <p><span>"422" : Unprocessable Entity(WebDAV; RFC 4918)</span></p> <p><span>"423" : Locked(WebDAV; RFC 4918)</span></p> <p><span>"424" : Failed Dependency (WebDAV; RFC 4918)</span></p> <p><span>"426" : Upgrade Required(RFC 2817)</span></p> <p><span>"428" : Precondition Required (RFC 6585)</span></p> <p><span>"429" : Too Many Requests (RFC 6585)</span></p> <p><span>"431" : Request Header Fields Too Large (RFC 6585)</span></p> <p><span>"440" : Login Timeout (Microsoft)</span></p> <p><span>"444" : No Response (Nginx)</span></p> <p><span>"449" : Retry With(Microsoft)</span></p> <p><span>"450" : Blocked by Windows Parental Controls (Microsoft)</span></p> <p><span>"451" : Unavailable For Legal Reasons (Internet draft)</span></p> <p><span>"451" : Redirect (Microsoft)</span></p> <p><span>"494" : Request Header Too Large (Nginx)</span></p> <p><span>"495" : Cert Error (Nginx)</span></p> <p><span>"496" : No Cert (Nginx)</span></p> <p><span>"497" : HTTP to HTTPS (Nginx)</span></p> <p><span>"498" : Token expired/invalid (Esri)</span></p> <p><span>"499" : Client Closed Request (Nginx)</span></p> <p><span>"499" : Token required (Esri)</span></p> <p><span>"500" : Internal Server Error</span></p> <p><span>"501" : Not Implemented</span></p> <p><span>"502" : Bad Gateway</span></p> <p><span>"503" : Service Unavailable</span></p> <p><span>"504" : Gateway Time-out</span></p> <p><span>"505" : HTTP Version not supported</span></p> <p><span>"506" : Variant Also Negotiates(RFC 2295)</span></p> <p><span>"507" : Insufficient Storage (WebDAV; RFC 4918)</span></p> <p><span>"508" : Loop Detected (WebDAV; RFC 5842)</span></p> <p><span>"509" : Bandwidth Limit Exceeded(Apache bw/limited extension)</span></p> <p><span>"510" : Not Extended(RFC 2774)</span></p> <p><span>"511" : Network Authentication Required (RFC 6585)</span></p> <p><span>"598" : Network read timeout error (Unknown)</span></p> <p><span>"599" : Network connect timeout error (Unknown)</span></p> <p><span>"600" : Unparseable Response Headers</span></p>