HTTP Common Status Code

Source: Internet
Author: User

Common http status codes:

2 opening (successful request) indicates that the status code of the request was successfully processed.

200SuccessThe server has successfully processed the request. Typically, this 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 it.  
203   (non-authorized 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 no content is returned.
206   (partial content)   server successfully processed some of the span class= "s2" > GET request.

3 start (Request redirected) indicates that a request needs to be completed and further action is required. Typically, these status codes are used for redirection.

300(Multiple options)For requests, the server can perform a variety of operations. The server can be based on the requestor(User agent)Select an action, or provide a list of actions for the requestor to select.
301(Permanent movement)The requested page has been permanently moved to a new location. The server returns this response (forGETOrHEADThe requested response), the requestor is automatically forwarded to the new location.
302   (temporary move)   The server currently responds to the request from a different location, but the requestor should continue to use the original location for future requests.
303   (view other locations) The server returns this code when the requester should use a separate GET request for a different location to retrieve the response.
304   (unmodified) The requested Web page has not been modified since the last request. When the server returns this response, the Web page content is not returned.  
305   (using proxies) The requestor can only use the proxy to access the requested Web page. If the server returns this response, it also indicates that the requestor should use the proxy.  
307   (temporary redirection)   The server currently responds to the request from a different location, but the requestor should continue to use the original location for future requests.

4 start (Request error) These status codes indicate a possible error in the request and hinder the processing of the server.

400(Error request) The server does not understand the syntax of the request.
401(Not authorized) Request authentication required. The server may return this response for pages that need to log on.
403Prohibited The server rejected the request.
50U(Not found) The server could not find the requested Web page.
405(Method Disabled) Disables the method specified in the request.
50W(not accepted) The requested content attribute could not be used to respond to the requested Web page.
407(Requires proxy authorization) This status code is associated with401(not authorized), but specifies that the requestor should authorize the use of the proxy.
408(Request timed out)A timeout occurred while the server was waiting for a request.
409ConflictThe server encountered a conflict while completing the request. The server must include information about the conflict in the response.
410(deleted)If the requested resource has been permanently deleted, the server returns this response.
411(Valid length required) The server does not accept requests that do not contain a valid Content-Length header field.
412(Prerequisites not met) The server did not meet one of the prerequisites set by the requestor in the request. 
413   (Request entity too Large) server unable to process request , because the request entity is too large to exceed the processing power of the server.  
414   (requested URI too long) The requested Uri (usually URLs) too long, the server cannot process.  
415   (Unsupported media type) The requested format is not supported by the requested page.  
416   (request scope not met requirements) If the page cannot provide the requested scope, the server returns this status code.  
417   server not satisfied span class= "s2" > " expect " request header field requirements.

5 Start (server error) These status codes indicate that the server has an internal error while trying to process the request. These errors may be the error of the server itself, not the request.

500(Server internal Error)The server encountered an error and could not complete the request. 
501   (not implemented) The server does not have the capability to complete the request. For example, this code may be returned when the server does not recognize the request method.  
502   (Error gateway) server as gateway or proxy, An invalid response was received from the upstream server.  
503   (Service unavailable) The server is not currently available (due to overloading or downtime maintenance). Usually, this is only a temporary state.  
504   (Gateway timed out)   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) The server does not support the protocol version.

HTTP common Status codes

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.