ArticleDirectory
- From Wikipedia, the free encyclopedia
From Wikipedia, the free encyclopedia
The following is a list of HTTP response status codes and standard associated phrases, intended to give a short textual description of the status. these status codes are specified by RFC 2616, along with additional codes (RFC 2518, RFC 2817, RFC 2295, RFC 2774, RFC 4918), some from the Distributed Authoring (webDAV) extension. others are unstandardised but commonly used.
The first digit of the status code specifies one of five classes of response.
Contents
- 1 1xx informational
- 2 2XX success
- 3 3xx redirection
- 4 4xx client Error
- 5 5xx Server Error
- 6 See also
- 7 References
- 8 External links
1xx informational
Request received, continuing process.
-
100 continue
-
This means that the server has ed the request headers, and that the client shoshould proceed to send the request body (in the case of a request for which a body needs to be sent; for example, a POST request ). if the request body is large, sending it to a server when a request has already been rejected based upon inappropriate headers is inefficient. to have a Server check if the request cocould be accepted based on the request's headers alone, a client must send
Secondary CT: 100-continue
As a header in its initial request (see RFC 2616 § 14. 20: Missing CT header) and check if
100 continue
Status Code is already ed in response before continuing (or receive
417 expectation failed
And not continue). [1]
-
101 switching protocols
-
102 processing (webDAV) (RFC 2518)
2XX success
The action was successfully received, understood, and accepted.
-
200 OK
-
Standard Response for HTTP successful requests.
-
201 created
-
202 accepted
-
203 non-authoritative information (since HTTP/1.1)
-
204 NO content
-
205 reset content
-
206 partial content
-
Notice that a file has been partially downloaded. This is used by tools like wget to enable resuming of interrupted downloads, or split a download into multiple simultaneous streams.
-
207 multi-status (webDAV)
-
The message body that follows is an XML message and can contain a number of separate response codes, depending on how many sub-requests were made.
3xx redirection
The client must take additional action to complete the request.
-
-
300 multiple choices
-
-
Indicates multiple options for the URI that the client may follow. It, for instance, cocould be used to present different format options for video, list files with different extensions, or word sense disambiguation.
-
-
301 moved permanently
-
-
This and all future requests shocould be directed to the given Uri.
-
-
302 found
-
-
This is the most popular redirect code, but also an example of industrial practice contradicting the standard. HTTP/1.0 specification (RFC 1945) required the client to perform a temporary redirect (the original describing phrase was "moved temporarily"), but popular browsers implemented it as a 303 see other. therefore, HTTP/1.1 added status codes 303 and 307 to disambiguate between the two behaviors. however, the majority of web applications and frameworks still use the 302 status code as if it were the 303.
-
-
303 see other (since HTTP/1.1)
-
-
The response to the request can be found under another URI using a get method.
-
-
304 not modified
-
-
Indicates the request URL has not been modified since last requested. typically, the HTTP client provides a header like the IF-modified-since header to provide a time with which to compare against. utilizing this saves bandwidth and reprocessing on both the server and client.
-
-
305 use proxy (since HTTP/1.1)
-
-
Using HTTP clients (such as Mozilla [1] and Internet Explorer) Don't correctly handle responses with this status code, primarily for security reasons.
-
-
306 switch proxy
-
-
No longer used.
-
-
307 temporary redirect (since HTTP/1.1)
-
-
In this occasion, the request shoshould be repeated with another Uri, but future requests can still be directed to the original Uri. in contrast to 303, the request method shocould not be changed when reissuing the original request. for instance, a POST request must be repeated using another POST request.
4xx client Error
-
-
400 bad request
-
-
The request contains bad syntax or cannot be fulfilled.
-
-
401 unauthorized
-
-
Similar
403 Forbidden, But specifically for use when authentication is possible but has failed or not yet been provided. See Basic access authentication and digest access authentication.
-
-
402 payment required
-
-
The original intention was that this code might be used as part of some form of digital cash or micropayment scheme, but that has not happened, and this code has never been used.
-
-
403 Forbidden
-
-
The request was a legal request, but the server is refusing to respond to it. Unlike
401 unauthorizedResponse, authenticating will make no difference.
-
-
404 not found
-
-
405 method not allowed
-
-
A request was made to a URL using a request method not supported by that URL; for example, using get on a form which requires data to be presented via post, or using put on a read-only resource
-
-
406 not acceptable
-
-
407 proxy authentication required
-
-
408 request timeout
-
-
409 conflict
-
-
410 gone
-
-
Indicates that the resource requested is no longer available and will not be available again. This shocould be used when a resource has been intentionally removed; however, in practice,
404 not foundIs often issued instead.
-
-
411 length required
-
-
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
-
-
422 unprocessable entity (webDAV) (RFC 4918)
-
-
The request was well-formed but was unable to be followed due to semantic errors.
-
-
423 locked (webDAV) (RFC 4918)
-
-
The resource that is being accessed is locked
-
-
424 failed dependency (webDAV) (RFC 4918)
-
-
The request failed due to failure of a previous request (e.g. A proppatch ).
-
-
425 unordered collection
-
-
Defined in drafts of WebDAV advanced collections, but not present in "Web Distributed Authoring and Versioning (webDAV) ordered collections protocol" (RFC 3648 ).
-
-
426 upgrade required (RFC 2817)
-
-
The client shoshould switch to TLS/1.0.
-
-
449 retry
-
-
A Microsoft extension:
The request shoshould be retried after doing the appropriate action.
5xx Server Error
The server failed to fulfill an apparently valid request.
-
500 Internal Server Error
-
501 not implemented
-
502 Bad Gateway
-
503 service temporarily unavailable
-
504 gateway timeout
-
505 HTTP Version Not Supported
-
506 variant also negotiates (RFC 2295)
-
507 insufficient storage (webDAV) (RFC 4918)
-
509 bandwidth limit exceeded
-
This status code, while used by using servers, is not an official HTTP status code.
-
510 not extended (RFC 2774)