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