Chapter IV illustrates HTTP, HTTP status code returned results

4.2 2XX success

4.2.1 200 OK

4.2.2 204 No Content

Request successfully processed, but not have the resources to return. It represents the server request has been received successfully processed, but the response message body portion is free to return entity.

4.2.3 206 Partial Content

It represents a client requests a range

4.3 3XX Redirection

4.3.1 301 Moved Permanently

Permanent Redirect. Represents a request for resource allocation of the new URI, URI should be used after the resources are now referred to.

4.3.2 302 Found

Temporary Redirect. Represents a request for resource allocation of the new URI, we want users to use this new URI.

4.3.3 303 See Other

There is another resource URI indicates that the request should use the GET access to resources.

 

4.4 4XX client error

4.4.1 400 Bad Request

It indicates that the request syntax error message, modify the contents of the request to send the request again.

4.4.2 401 Unauthorized

 

4.4.3 403 Forbidden

Access to the requested resource was rejected by the server.

4.4.4 404 Not Found

 

4.5 5XX Server Error

4.5.1 500 Internal Server Error

Indicating that the server error occurred while performing the request.

4.5.2 503 Service Unavailable

Indicating that the server is temporarily in overloaded or down for maintenance in progress, now unable to handle the request.

Published 180 original articles · won praise 14 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_40511966/article/details/104074506
Recommended