HTTP request Status Code parsing

Source: Internet
Author: User
Tags http status code 500

1XX (Temporary response)

2XX (Success)

3XX (redirected)

4xx (Request error)

HTTP Status Code 400 (Error request) The server does not understand the syntax of the request.

HTTP status Code 401 (unauthorized) request authentication required. The server may return this response for pages that need to log on.

HTTP status Code 403 (forbidden) The server rejects the request.

HTTP status code 404 (not found) The requested Web page was not found by the server.

HTTP Status Code 405 (method disabled) Disables the method specified in the request.

The HTTP status Code 406 (not accepted) cannot use the requested content attribute to respond to the requested Web page.

HTTP status Code 407 (requires proxy authorization) This status code is similar to 401 (unauthorized), but specifies that the requestor should authorize the use of the proxy.

HTTP status Code 408 (Request timed out) A timeout occurred while the server was waiting for a request.

HTTP status Code 409 (conflict) The server has a conflict when it finishes the request. The server must include information about the conflict in the response.

5XX (server error)

HTTP status Code 500 (server internal error) the server encountered an error and could not complete the request.

HTTP status Code 501 (not yet implemented) the server does not have the ability to complete the request. For example, this code may be returned when the server does not recognize the request method.

HTTP Status Code 502 (Error Gateway) The server receives an invalid response from the upstream server as a gateway or proxy.

HTTP Status Code 503 (Service Unavailable) the server is not currently available (due to overloading or downtime maintenance). Typically, this is only a temporary state.

HTTP status Code 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.

HTTP status Code 505 (HTTP version not supported) the HTTP protocol version used in the request is not supported by the server.

Reference URL: https://www.jianshu.com/p/e706b553aa2c

About HTTP Error definitions

Sometimes the server will define its own error code due to business needs. If it is a parameter error, the unified return 422 if the server side of us

A specific type error is defined in the return body.

HTTP request Status Code parsing

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.