HTTP status Code return value description

Source: Internet
Author: User

HTTP Status Code summary description
-----------------------------------------------------------------------------------------------------------
Success 2XXThe status code for the request was successfully processed.
200 The server has successfully processed the request and provided the requested Web page.
204 The server successfully processed the request, but did not return any content.
REDIRECT 3XXdo not use redirects more than 5 times per request.
301 The requested page has been permanently moved to a new location. When URLs change, use 301 code. The new URL is saved in the Search engine index.
302 The requested Web page is temporarily moved to a new location. The original URL is saved in the Search engine index.
304 If the page has not been updated since the requestor last requested it, use 304 code to tell the search engine robot that it saves bandwidth and overhead.
Client Error 4XXindicates a possible error in the request and prevents the server from processing.
400 The server does not understand the syntax of the request.
403 The server denied the request.
404 The server could not find the requested Web page. Pages that do not exist on the server often return this code.
410 After the requested resource is permanently deleted, the server returns this response. This code is similar to the 404 (not Found) code.However, in the case where the resource existed before and now does not exist, it is sometimes used to replace the 404 code. If the resource has been permanently deleted, you should use 301 to specify a new location for the resource.
Server Error 5XXindicates that an internal error occurred while processing the request by the server. These errors may be the error of the server itself, not the request.
500 the server encountered an error and could not complete the request.
503 servers are not currently available (due to overloading or downtime maintenance). Typically, this is only a temporary state.


Detailed decomposition:


2XX Success
200 normal; the request is complete.
201 Normal; Immediately after the POST command.
202 normal; accepted for processing, but processing is not yet complete.
203 Normal; Part of the information-the returned information is only part of it.
204 Normal; No response-the request has been received, but there is no information to echo back.
3XX Redirection
301 Moved-The requested data has a new location and the change is permanent.
302 found-the requested data temporarily has a different URI.
303 See other-the response to the request can be found under another URI, and the response should be retrieved using the GET method.
304 Unmodified-the document was not modified as expected.
305 using a proxy-the requested resource must be accessed through the proxy provided in the Location field.
306 unused-no longer in use; Keep this code for future use.
errors that occur in the 4XX client
400 Error Request-There is a syntax problem in the request, or the request cannot be satisfied.
401 Unauthorized-The client is not authorized to access the data.
402 Payment Required-Indicates that the billing system is valid.
403 Forbidden-access is not required even with authorization.
404 Not Found-the server cannot find the given resource; The document does not exist.
407 Proxy Authentication Request-The client must first use the proxy to authenticate itself.
415 Media type is not supported-the server denies the service request because the format of the requested entity is not supported.
errors that occur in the 5XX server
500 Internal Error-the server could not complete the request because of an unexpected situation.
501 Not executed-the server does not support the requested tool.
502 Error Gateway-server received an invalid response from the upstream server.
503 Unable to get service-the server cannot process the request due to temporary overload or maintenance. (

HTTP status Code return value description

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.