Common HTTP response Status codes
HTTP status Return code 1xx (ad hoc response)
A status code that represents a temporary response and requires the requestor to continue to perform the operation
100 (continue) the requestor should continue to request that the server return this code to indicate that the first part of the request was received, waiting for the remainder
101 (switching protocol) The requestor has asked the server to switch protocols, the server has confirmed and is ready to switch
HTTP status Return code 2XX (success)
Indicates a status code that successfully processed the request
200 (successful) the server has successfully processed the request typically, which indicates that the server provided the requested Web page
201 (created) The request was successful and the server created a new resource
202 (accepted) the server has accepted the request but has not yet processed
203 (non-authoritative information) the server has successfully processed the request, but the information returned may be from another source
204 (no content) the server successfully processed the request, but did not return any content
205 (reset content) the server successfully processed the request, but did not return any content
206 (partial) The server successfully processed a partial GET request
HTTP status Return code 3xx (redirected)
Indicates that a request needs to be completed further operations typically, these status codes are used to redirect
300 (multiple options) for requests, the server can perform a variety of operations, and the server chooses an action based on the requestor
301 (permanently moved) The requested page has been permanently moved to a new location
302 (Temporary Move) server is currently responding to requests from a Web page in a different location
303 (View other locations) The requester should use a separate GET request for the different locations to retrieve the response
304 (unmodified) The requested Web page has not been modified since the last request the server returns this response without returning the Web page content
305 (using a proxy) the requestor can only access the requested Web page by using a proxy
307 (Temporary redirect) The server is currently responding to requests from a Web page in a different location
HTTP Status Return code 4xx (Request error )
These status codes indicate a possible error in the request and prevent the server from processing
400 (Bad Request) The server does not understand the syntax of the request
401 (unauthorized) request authentication for Web pages that require login, the server may return this response
403 (Forbidden) the server denies the request
404 (Not found) the server could not find the requested Web page
405 (method Disabled) Disables the method specified in the request
406 (not accepted) The requested Web page cannot be responded to using the requested content attribute
407 (requires proxy authorization) This status code is similar to 401 (unauthorized), but specifies that the requestor should authorize the use of the proxy
408 (Request timed out) timeout occurs when the server waits for a request
409 (conflict) a conflict occurs when a server finishes a request the server must contain information about the conflict in the response
410 (Deleted) The server returns this response if the requested resource has been permanently deleted
411 (valid length required) The server does not accept requests that do not contain a valid Content-Length header field
412 (precondition not met) the server does not meet one of the prerequisites set in the request by the requestor
413 (Request entity too Large) The server cannot process the request because the request entity is too large to exceed the server's processing power
414 (The requested URI is too long) the URI of the request (usually the URL) is too long and the server cannot process
415 (Unsupported media type) The requested format is not supported by the requested page
416 (Request scope does not meet the requirements) if the page cannot provide the requested range, the server returns this status code
417 (unmet expectations) the server does not meet the requirements for the "expected" Request header field
HTTP status Return code 5xx (server error)
These status codes indicate that the server has an internal error while attempting to process the request, which could be an error on the server itself, not a request error
500 (server internal error) the server encountered an error and could not complete the request
501 (not implemented) the server does not have the ability to complete the request, and the server does not recognize the request method when it returns this code
502 (Bad Gateway) server receives an invalid response from the upstream server as a gateway or proxy
503 (Service Unavailable) The server is currently unavailable (due to overloading or downtime maintenance), usually this is only a temporary state
504 (Gateway Timeout) The server acts as a gateway or proxy, but does not receive requests from the upstream server in a timely manner
505 (HTTP version not supported) server does not support the HTTP protocol version used in the request
The most common HTTP status return code
200-Server successfully returned to Web page
404-The requested page does not exist
503-Service Not available
This article is from the "Practical Linux knowledge and Skills sharing" blog, please be sure to keep this source http://superleedo.blog.51cto.com/12164670/1890452
HTTP response Status Code