Common error status code page summary (Http common status codes)

As an Internet developer for some HTTP status returned by the server must be well aware of the meaning, only to find out the status code eleven, handy various problems encountered in the work it can handle. Well, let's take a look at the more common HTTP status code it!

status code category the reason
1xx Informational (informational status codes) The received request is being processed
2xx Success (success status code) Normal requests processed
3xx Redirection (Redirect Status Code) Additional operation required to complete the request
4xx Client Error (Client Error Status Code) The server can not process the request
5xx Server Error (Server Error status code) Server processes the request error

 

status code status Corresponding meaning
200 success The server successfully processed the request. Typically, this means that the server provided the requested page.
201 Has been created Request was successful and the server created a new resource
202 accepted Request was successful and the server created a new resource
203 Unauthorized information The server successfully processed the request, but is returning information that may be from another source
204 No content Server successfully processed the request, but is not returning any content
205 Reset Content Server successfully processed the request, but is not returning any content
206 Part The server successfully processed a partial GET request
300 multiple choices For the request, the server has several actions. The server may operate a requestor (user agent) selected in accordance with, or provide a list of actions for the requester to choose
301 Moved Permanently The requested page has been permanently moved to a new location. When the server returns this response (response to a GET or HEAD request), it automatically forwards the requestor to the new location
302 Temporary Mobile Currently web server in response to a request from a different location, but the requestor should continue to use the original location for future requests
303 View other locations When the requester to retrieve the response should separate GET request to a different location, the server returns this code
304 Unmodified Since the last request, the requested page has not been modified. When the server returns this response, it does not return to the page content
305 Use a proxy The requestor can only access the requested page using a proxy. If the server returns this response, said requester use the agent
307 Temporary Redirect Currently web server in response to a request from a different location, but the requestor should continue to use the original location for future requests
400 Bad Request The server does not understand the syntax of the request
401 unauthorized The request requires authentication. For pages that require login, the server might return this response
403 Ban The server is refusing the request
404 Not found Web server can not find the requested
405 Methods disabled A method specified in the request
406 Does not accept You can not use the requested content characteristics in response to the requested page
407 Proxy authentication required This status code 401 (not authorized), but specifies that the requestor should be authorized to use the agent
408 Request timed out A timeout occurred while waiting for the request server
409 conflict Server encountered a conflict fulfilling the request. The server must include information about the conflict in the response
410 deleted If the requested resource has been permanently removed, the server returns this response
411 Length required Server will not accept without a valid Content-Length header field of the request
412 Precondition Failed Wherein the server is not a prerequisite for the requestor in the request satisfies
413 Request Entity Too Large The server can not handle the request because it is too large for the server to handle the
414 Request URI is too long The request URI (typically, a URL) is too long, the server can not handle
415 Unsupported media type Requested format is not supported page request
416 Request range not meet the requirements If the page can not provide the requested range, the server returns this status code
417 Unmet expectations Server not meet the "expect" request-header field requirements
500 Internal server error The server encountered an error and can not fulfill the request
501 Not yet implemented The server does not have to complete the request. For example, this code may be returned when the server can not recognize the request method
502 Bad Gateway As a gateway or a proxy server, the server received an invalid response from the upstream
503 Service Unavailable Shi Server is currently unavailable (because it is overloaded or down for maintenance). Typically, this is a temporary state
504 Gateway Timeout As a gateway or proxy server, but the request is not received from the upstream server
505 HTTP version not supported The server does not support the HTTP protocol version used in the request

Guess you like

Origin www.cnblogs.com/daiyacheng1991/p/11411511.html