Your visit or inquiry is welcomed! my blog:https://blog.csdn.net/qq_44273429
Don't wanna be here? Send us removal request.
Text
0 notes
Text
Share some sorted HTTP status codes and detailed explanations
table of Contents
1xx (temporary response) represents a status code that temporarily responds and requires the requester to continue the operation. 2xx (success) indicates the status code of the request successfully processed. 3xx (redirect) indicates that further action is required to complete the request. Usually, these status codes are used for redirection. 4xx (Request error) These status codes indicate that the request may have gone wrong, preventing the server from processing. 5xx (Server Error) These status codes indicate that an internal error occurred when the server was trying to process the request. These errors may be errors in the server itself, rather than request errors.
1xx (temporary response) represents a status code that temporarily responds and requires the requester to continue the operation. 100 (Continue) The requester should continue to make the request. The server returns this code to indicate that it has received the first part of the request and is waiting for the rest.
101 (Switching protocol) The requester has asked the server to switch the protocol, and the server has confirmed and is ready to switch.
2xx (success) indicates the status code of the request successfully processed. 200 (Success) The server has successfully processed the request. Usually, this means that the server provided the requested page.
201 (Created) The request was successful and the server created a new resource.
202 (Accepted) The server has accepted the request, but has not yet processed it.
203 (Non-authorized information) The server has successfully processed the request, but the returned information may come from another source.
204 (No content) The server successfully processed the request, but did not return any content.
205 (Reset content) The server successfully processed the request, but did not return any content.
206 (Partial content) The server successfully processed some GET requests.
3xx (redirect) indicates that further action is required to complete the request. Usually, these status codes are used for redirection. 300 (multiple choices) In response to requests, the server can perform multiple operations. The server can select an operation based on the requester (user agent), or provide a list of operations for the requester to choose.
301 (Moved Permanently) The requested page has been permanently moved to a new location. When the server returns this response (a response to a GET or HEAD request), it will automatically redirect the requester to the new location.
302 (Temporary move) The server currently responds to requests from web pages in different locations, but the requester should continue to use the original location for future requests.
303 (View other locations) The server returns this code when the requester should use separate GET requests for different locations to retrieve the response.
304 (Unmodified) Since the last request, the requested page has not been modified. When the server returns this response, the content of the web page will not be returned.
305 (Use proxy) The requester can only use the proxy to access the requested web page. If the server returns this response, it also indicates that the requester should use a proxy.
307 (Temporary Redirect) The server currently responds to requests from web pages in different locations, but the requester should continue to use the original location for future requests.
4xx (Request error) These status codes indicate that the request may have gone wrong, preventing the server from processing. 400 (Bad request) The server does not understand the syntax of the request.
401 (Unauthorized) The request requires authentication. For web pages that require login, the server may return this response.
403 (Forbidden) The server rejected the request.
404 (Not Found) The server could not find the requested page.
405 (Method Disable) Disable the method specified in the request.
406 (Not accepted) Unable to respond to the requested page with the requested content characteristics.
407 (Proxy authorization required) This status code is similar to 401 (Unauthorized), but specifies that the requester should be authorized to use the proxy. 408 (Request timeout) The server timed out while waiting for the request.
409 (Conflict) The server encountered a conflict while fulfilling the request. The server must include information about the conflict in the response.
410 (Deleted) If the requested resource has been permanently deleted, the server will return this response.
411 (Valid length required) The server does not accept requests without a valid content length header field.
412 (Precondition not met) The server did not meet one of the preconditions set by the requester in the request.
413 (Request entity is too large) The server cannot process the request because the request entity is too large and exceeds the server's processing capacity.
414 (The requested URI is too long) The requested URI (usually a URL) is too long for the server to process.
415 (Unsupported media type) The requested format is not supported by the requested page.
416 (The requested range does not meet the requirements) If the page cannot provide the requested range, the server will return this status code.
417 (Expected value not met) The server did not meet the requirements of the "expected" request header field.
5xx (Server Error) These status codes indicate that an internal error occurred when the server was trying to process the request. These errors may be errors in the server itself, rather than request errors. 500 (Internal Server Error) The server encountered an error and could not complete the request.
501 (Not yet implemented) The server does not have the function to complete the request. For example, the server may return this code when the request method is not recognized.
502 (Bad Gateway) The server was acting as a gateway or proxy and received an invalid response from the upstream server.
503 (Service unavailable) The server is currently unavailable (due to overload or maintenance shutdown). Usually, this is only a temporary state.
504 (Gateway timeout) The server was acting as a gateway or proxy, but did not receive a request from the upstream server in time.
505 (HTTP version is not supported) The server does not support the HTTP protocol version used in the request.
For more information, refer to the blog:https://blog.csdn.net/qq_44273429/article/details/109840532
1 note
·
View note