HTTP Server Status Respose Codes

From vwiki
Jump to navigation Jump to search

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

HTTP Server Status Respose Codes

HTTP Server Status Respose Codes, generally all defined in RFC2616, but additionally RFC4918 (WebDAV), RFC5842 (WebDAV), RFC3229, RFC2817 (WebDAV), RFC6585, RFC2295 (Transparent Content Negotiation)

Type Code Meaning Comments
Information 100 Continue
101 Switching Protocols
102 Processing For WebDAV, but no longer used
Success 200 OK Request succeeded
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
207 Multi-Status WebDAV - Indicates that multiple other response codes are also included in the response
208 Already Reported WebDAV - Duplicate response
226 IM Used Instance Maniplulation used - see RFC3229
Redirection 300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other Response to request can be found at other URI
304 Not Modified
305 Use Proxy
306 Unused
307 Temporary Redirect
308 Permanent Redirect Response should include new URI
Client Error 400 Bad Request Syntax error in client request
401 Unauthorised Requires authorisation via WWW-Authenticate
402 Payment Required Unused - expected to have future use
403 Forbidden Refused by server (not unauthorised), can be caused by using Apache mod_authz_host Allow/Deny directives
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone Resource has been removed
411 Length Required Server requires Content-Length header field to be populated
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Long
415 Unsupported Media Type
416 Requested Range Not Satisfiable
417 Expectation Failed
418 I'm a teapot As defined in RFC2324
422 Unprocessable Entity WebDAV - Syntax is correct, but unable to process content
423 Locked WebDAV - Source or destination item is locked
424 Failed Dependency WebDAV - Request failed as another action on which request was dependant failed
425 Unused WebDAV - Expected to be used for advanced collections expired
426 Upgrade Required WebDAV - Indicates that client should upgrade to a different protocol (eg TLS)
428 Precondition Required
429 Too Many Requests Client is exceeding a rate-limit for requests on server
431 Request Header Fields Too Large
Server Error 500 Internal Server Error Unexpected error experienced by server
501 Not Implemented
502 Bad Gateway
503 Service Unavailable Temporary status (eg due to server overload or maintenance)
504 Gateway Timeout
505 HTTP Version Not Supported
506 Variant Also Negotiates Experimental - see RFC2295 - Transparent Content Negotiation
507 Insufficient Storage WebDAV
508 Loop Detected WebDAV - Infinte loop detected whilst processing request
511 Network Authentication Required