HTTP Code - All Code Value
The HTTP protocol code is the status code returned by the server to the client that is establishing or attempting to establish the connection. When it presents a problem, this code is accompanied by additional information about the causes of the problem.
The table below lists the values of various HTTP codes and their involvement.
Sometimes the mentioned WebDav extension is in addition to the added HTTP protocol to simplify remote file management and exchange between the client and the server. It is determined by the IETF .
Request received |
|
100 | Request initiated and processed |
101 | The server reports that it has received the protocol change request and accepts it . |
102 | In the process of treatment. Indicates that the server is active and unavailable. (WebDav extension). |
Processed request and sent response |
|
200 | Okey. Request completed successfully. The page is found and displayed. |
201 | Created. Establishes a connection between the requestor and the server as a URI on the resource . |
202 | Accepted. Request received and accepted but not yet processed . |
203 | Not certified information. In response, the server provides information that is not certified and may not be complete. |
204 | No content. There is no information to return from the server. |
205 | There is no data to return and the server is requesting that the request be reset. In the case of a form, delete it to submit again . |
206 | Partial content. Only part of the content is returned. (This may be due to resource constraints). |
207 | Multiple states to respond. (Webdav extension). |
210 | Different content between server version and client version. (Webdav extension). |
Redirection codes |
|
300 | Several options. The server has different responses, so it can return a list and rely on the query element. |
301 | Permanently moved. Used when renaming or moving a file with a new URL. The old URL will be ignored by the robots. |
302 | Temporarily moved. We specify a temporary URL, but the robots will return to the original URL. |
303 | See another place. This code is returned if the data is in a different location and the client must specify a different address (GET method). The client is redirected to another address, but not if the HEAD method . |
304 | Unchanged. The page has not been modified since the last request and the content is not returned. It is assumed that the server is configured to provide an if-modified-since header. Important for search engine robots. |
305 | Use proxy. The response of the server requesting receipt of the document on the proxy server whose address is specified . |
307 | Temporary redirection. The request is forwarded to another address as in 302. |
Client error or denied access |
|
400 | Invalid request. The server does not recognize the command syntax. |
401 | No authorization. Connection rejected. Password required. |
402 | Payment required. For future use. |
403 | Forbidden. Access is denied or denied to a specific robot (server, not .txt robots). |
404 | Not found. Page does not exist. This may be due to misspelling, case difference under Unix, or address change. |
405 | The query method is invalid . |
406 | Unacceptable. The server cannot provide the requested document type. |
407 | Proxy authentication is required. The connection was denied because the client only needs to log on through the proxy server specified in the response . |
408 | The request timed out. |
409 | Conflict. The query contains a query that conflicts with a previous query. Cause information is provided with an error code. |
410 | Moved. Like 404, but clarifies that this page has not been found before. Google recommends using it instead of 404 when the disappearance of a page is final. |
411 | Length required. The server does not accept the request unless a Content-Length header is specified. |
412 | Incomplete bias. The request is accompanied by conditions that the server cannot fulfill. |
413 | Too much volume. The server cannot provide a document of this size. |
414 | The URI is too long. The size of the address sent to the server exceeds the number of characters allowed. This occurs when converting POST to GET. |
415 | Unknown media type. The client is requesting a document type that is not supported by the server. |
416 | Cannot satisfy query range. The query specifies a range, a size (e.g., 200-10000), and the resource is not included. |
417 | Request failed. The request contains an Expect field and the server cannot satisfy it. The definition of this field is vague. |
422 | The request contains an object that cannot be processed by the server. (WebDav extension). |
423 | Locked out. The page is locked and will not be uploaded. (WebDav extension). |
424 | The method used by the query failed. (WebDav extension). |
451 | The site is blocked for legal reasons. The provider then returns this code, added in 2015. (451 refers to Fahrenheit book 451). |
Server errors |
|
500 | Internal server error. Request not processed. |
501 | Not implemented. The server does not recognize the nature of the request, such as the method . |
502 | Bad bridge. When a server acts as a proxy or proxy and another server does not respond. |
503 | The service is not available. An urgent problem due to overload or other server problems. |
504 | The other server has timed out if the requested server is acting as a gateway. |
505 | Unknown HTTP version. The protocol is too recent or unsupported. |
507 | There is not enough space on the server to complete the client request. (WebDav extension ). |
509 | Non-standard code, but used by the server if the quota is exceeded. |
Links and tools
- Definition of the W3C standard.
- Command line reference tester. This script checks the links to the site and displays the HTTP code returned by the server when it tried to access the page.