HTTP - HTTP Status Code

HTTP Status Code

Common status codes:

HTTP: Status 200 - The server successfully returned the web page
HTTP: Status 404 - The requested web page does not exist
HTTP: Status 503 - The service is unavailable

 

illustrate:

HTTP: Status 1xx (Provisional Response)
-> A status code that represents a provisional response and requires the requester to proceed with the action.

Detailed code and description:
HTTP: Status 100 (continue)
-> The requester should continue making the request. The server returns this code to indicate that the first part of the request has been received and is waiting for the rest.
HTTP: Status 101 (Switch protocol)
-> The requester has asked the server to switch protocols, the server has confirmed and is ready to switch.

 

Description:
HTTP Status 2xx (success)
-> status code indicating that the request was successfully processed;

Detailed code and description:

HTTP Status 200 (Success)
-> The server has successfully processed the request. Typically, this means that the server served the requested web page.
HTTP Status 201 (created)
-> The request was successful and the server created a new resource.
HTTP Status 202 (Accepted)
-> The server has accepted the request but has not yet processed it.
HTTP Status 203 (Unauthorized Information)
-> The server has successfully processed the request, but the returned information may come from another source.
HTTP Status 204 (No Content)
-> The server successfully processed the request but returned no content.
HTTP Status 205 (Reset Content)
-> The server processed the request successfully, but returned nothing.
HTTP Status 206 (partial content)
-> The server successfully processed part of the GET request.

 

illustrate:

HTTP Status 4xx (Request Error)
-> These status codes indicate that the request may have gone wrong, preventing the server from processing it.

Detailed code description:
HTTP Status 400 (Bad Request)
-> The server does not understand the syntax of the request.
HTTP Status 401 (Unauthorized)
-> The request requires authentication. The server may return this response for web pages that require login.
HTTP Status 403 (Forbidden)
-> The server rejected the request.
HTTP Status 404 (Not Found)
-> The server cannot find the requested webpage.
HTTP Status 405 (Method Disabled)
-> Disable the method specified in the request.
HTTP Status 406 (Not Accepted)
-> The requested web page could not be responded to with the requested content attribute.
HTTP Status 407 (Proxy authorization required)
-> This status code is similar to 401 (Unauthorized), but specifies that the requester should be authorized to use the proxy.
HTTP Status 408 (Request timed out)
-> The server timed out while waiting for the request.
HTTP Status 409 (Conflict)
-> The server had a conflict while completing the request. The server MUST include information about the conflict in the response.
HTTP Status 410 (Deleted)
-> The server returns this response if the requested resource has been permanently deleted.
HTTP Status 411 (Valid Length Required)
-> The server will not accept requests without a payload-length header field.
HTTP Status 412 (precondition not met)
-> The server did not satisfy one of the preconditions set by the requester in the request.
HTTP Status 413 (Request Entity Too Large)
-> The server cannot process the request because the request entity is too large for the server to handle.
HTTP Status 414 (Request URI Too Long) The requested URI (usually a URL) is too long for the server to process.
HTTP Status 415 (Unsupported media type)
-> The requested format is not supported by the requested page.
HTTP Status 416 (The requested range does not meet the requirements)
-> The server returns this status code if the page cannot provide the requested range.
HTTP Status 417 (Expected value not met)
-> The server did not meet the requirements for the "expected" request header field.

 

Description
HTTP Status 5xx (Server Error)
-> These status codes indicate that the server experienced an internal error while trying to process the request. These errors may be errors of the server itself, not the request.

Code details and description:
HTTP Status 500 (Server Internal Error)
-> The server encountered an error and could not complete the request.
HTTP Status 501 (Not yet implemented)
-> The server is not capable of fulfilling the request. This code may be returned, for example, when the server does not recognize the request method.
HTTP Status 502 (Bad Gateway)
-> The server, acting as a gateway or proxy, received an invalid response from an upstream server.
HTTP Status 503 (Service Unavailable)
-> The server is currently unavailable (due to overloading or downtime for maintenance). Usually, this is only a temporary state.
HTTP Status 504 (Gateway Timeout)
-> The server is acting as a gateway or proxy, but did not receive a request from the upstream server in a timely manner.
HTTP Status 505 (HTTP version not supported)
-> The server does not support the HTTP protocol version used in the request.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326693984&siteId=291194637