Status code explanation for HTTP return in Web pages

Source: Internet
Author: User

Status Code Category:
?? 1XX: Information class, indicates the customer sent the request service correct in processing?? 2XX: Successful class, the server successfully received the request?? 3XX: Redirect class, the server found more than one request content, you need the user to select the operation again?? 4XX: Client error class, for outgoing request server cannot process?? 5XX: Server error class, unable to respond due to server failure or error encountered

Common Status Codes:
? 1XX: Information class?? 100: Continue to send the request, the client previously sent the request server was not rejected. The server must send a request after the client sends a response?? 101: The server receives a customer request and translates it into another protocol to process
? 2XX: Success class?  200: The server successfully processed the request?  202: The server accepted the client's request and is still in process? 204: The server processed the request, but no new content was generated.  Does the page still remain the same after the page is refreshed and will not change? 205: And 204 are somewhat similar, and the server has processed the request, but no new content is generated.  But after the page refreshes, the browser clears the content and displays the content again. 206: Client sends range request, server processing complete
? 3xx: Redirect class?? 301: Permanent redirection. For example: When requesting Https://localhost/index, the server returns 301, adding a "/" to the end of the URL. Then the URL of the final visit is: https://localhost/index/?? 302: Temporary redirection. Similar to the 301 description?? 304: After the client sends the request, the server allows access, but the content cached in the browser is still in the validity period, when the return status code is 304?? New in 307:http1.1. Divide the request into get and post, his redirection is only for GET requests
? 4xx: Client Error class?? 400: There is a syntax error in the requested content?? 401: The request that describes the access is protected. Need user authentication?? 403: The server accepts requests made by the client, but rejects processing. For example, access to some unauthorized content on the server?? 404: The server could not find the requested content?? 407: Need proxy identity to access, that is, client access needs to be authorized by proxy?? 414: The requested URL is too long????? 5XX: Server Error class?? 500: The server encountered some conditions and the processing request failed. I have encountered an interface collapse when the request return status code 500?? 503: The server is in maintenance or heavy load can not handle the request issued by the client?? 505: The server does not support HTTP versions in the request

Status code explanation for HTTP return in Web pages

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.