Http Request Response Code Meaning

http status return code 1xx (provisional response)

It indicates a provisional response and require the requestor to continue the operation status code.
100 (continued) requestor should continue with the request. The server returns this code indicates a first part of the request has been received and is waiting for the rest.
101 (Switching protocols) The requestor has switched protocol requires the server, the server is acknowledging that handover.
http status return code 2xx (Successful)

It represents successfully processed the request status code.
200 (success) server has successfully processed the request. Typically, this means that the server provided the requested page.
201 (Created) request was successful and the server created a new resource.
202 (accepted) server has accepted the request, but not yet processed.
203 (Non-authoritative 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 not returning any content.
206 (part of) the server successfully processed a partial GET request.
http status return code 3xx (Redirection)

Indicates to fulfill the request, further action is required. Typically, these status codes for redirection.
300 (choice) for the request, the server may perform various operations. The server may operate a requestor (user agent) selected in accordance with, or provide a list of actions for the requester to select.
301 (Moved Permanently) permanently requested page has been 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) respond to requests from the web server is currently a different location, but the requestor should continue to use the original location for future requests.
303 (See other location) requestor to retrieve the response should separate GET request to a different location, the server returns this code.
304 (Not Modified) 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 proxy) The requestor can only access the requested page using a proxy. If the server returns this response, it said requester use the agent.
307 (temporary redirect) server response to a request from a web page different from the current position, but the requestor should continue to use the original location for future requests.
http status return code 4xx (Request error)

These status codes indicate that the request may be wrong, preventing the processing server.
400 (Bad Request) server did 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 (Forbidden) server rejects the request.
404 (not found) server can not find the request.
405 (Method disabled) method specified in the request is disabled.
406 (not accepted) can not use the content characteristics requested 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 proxy.
When a timeout occurs waiting for the request 408 (Request Timeout) server.
Conflict 409 (conflict) occurs when the server to complete 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) of the server does not accept the request without a valid Content-Length header field.
412 (Precondition Failed) where the server is not a prerequisite for the requestor in the request is satisfied.
413 (Request entity too large) server can not process the request because it is too large for the server to handle.
414 (Request URI is too long) URI (typically a URL) request is too long, the server can not handle.
415 (Unsupported Media Type) request in a format not supported requested page.
416 (Requested range not satisfiable) if the page can not provide the requested range, the server returns this status code.
417 (expected value) server can not meet "desired" request header field requirements.
http status return code 5xx (Server Error)

These status codes indicate internal server error occurred while trying to process the request. These errors may be wrong server itself, not with the request.
500 (Internal Server Error) The server encountered an error and can not fulfill the request.
501 (Not implemented) server does not have to complete the request. For example, the server might not return this code request identification method.
502 (Bad gateway) as a gateway or proxy server received an invalid response from the upstream server.
503 (Service Unavailable) 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 a proxy server, but the request is not received from the upstream server.
505 (HTTP Version not supported) server does not support HTTP protocol version used in the request.

Guess you like

Origin www.cnblogs.com/onew/p/11307805.html