English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

HTML Reference Manual

Complete List of HTML Tags

HTTP Status Messages

First, I will look at each status code and its corresponding word (eg:200 OK304 No Modified404 Not Found), then understand the long text explanation behind the word, summarize a short paragraph based on your understanding, and finally put all of them together to remember. When the browser reports a status code, it usually follows the corresponding word after the status code.

When the browser requests services from the web server, errors, redirects, and other issues may occur.

The following lists a series of possible HTTP status messages that may be returned:

1xx: Information

Message:Description:
100 ContinueThe server has received only a partial request, but once the server has not refused the request, the client should continue to send the remaining part of the request.
101 Switching ProtocolsServer protocol conversion: The server will comply with the customer's request to switch to another protocol.
103 CheckpointSuggested recovery request for recovery failure of PUT or POST requests.

2xx: Success

Message:Description:
200 OKRequest successful (this is the standard response to a successful HTTP request).
201 CreatedThe request has been created and a new resource has been created.
202 AcceptedThe request to be processed has been accepted, but the processing is not complete.
203 Non-Authoritative InformationThe request has been successfully processed, but some response headers may be incorrect because a copy of another document is being used.
204 No ContentThe request has been successfully processed, but no new document has been returned. The browser should continue to display the original document. If the user regularly refreshes the page and the Servlet can determine that the user's document is sufficiently new, this status code is very useful.
205 Reset ContentThe request has been successfully processed, but no new document has been returned. However, the browser should reset the content it displays. It is used to force the browser to clear form input content.
206 Partial ContentThe client sent a GET request with a Range header, and the server completed it.

3xx: Redirect

Message:Description:
300 Multiple ChoicesMultiple choices. Link list. Users can choose a link to reach the destination. Up to five addresses are allowed.
301 Moved PermanentlyThe requested page has been redirected to a new URL.
302 FoundThe requested page has been temporarily redirected to a new URL.
303 See OtherThe requested page can be found at another URL.
304 Not ModifiedThe document was not modified as expected. The client has a buffered document and sent a conditional request (usually providing If-Modified-The Since header indicates that the client only wants documents updated after the specified date). The server tells the client that the previously buffered document can still be used.
305 Use ProxyThe document requested by the client should be retrieved through the proxy server indicated by the Location header.
306 Switch ProxyCurrently not in use, but the code is still retained.
307 Temporary RedirectThe requested page has been temporarily moved to a new URL.
308 Resume IncompleteSuggested recovery request for recovery failure of PUT or POST requests.

4xx: Client Error

Message:Description:
400 Bad RequestThe server was unable to understand the request due to a syntax error.
401 UnauthorizedThe request is legal, but access to the requested page is prohibited. This is because the requested page requires authentication, and the client did not provide it or the authentication failed.
402 Payment RequiredThis code is not yet available for use.
403 ForbiddenThe request is legal, but access to the requested page is prohibited.
404 Not FoundThe server cannot find the requested page.
405 Method Not AllowedThe method specified in the request is not allowed.
406 Not AcceptableThe response generated by the server cannot be accepted by the client.
407 Proxy Authentication RequiredThe user must first authenticate using a proxy server, so that the request will be processed.
408 Request TimeoutThe request exceeded the server's waiting time.
409 ConflictThe request cannot be completed due to a conflict.
410 GoneThe requested page is not available.
411 Length Required"Content"-The "Content-Length" was not defined. If there is no such content, the server will not accept the request.
412 Precondition FailedThe preconditions in the request were evaluated by the server as failed.
413 Request Entity Too LargeThe server will not accept the request because the requested entity is too large.
414 Request-URI Too LongThe server will not accept the request due to the URL being too long. This occurs when a POST request is converted into a GET request with a long query string.
415 Unsupported Media TypeThe server will not accept the request due to the unsupported media type.
416 Requested Range Not SatisfiableThe client requested a partial document, but the server cannot provide the requested part.
417 Expectation FailedThe server cannot fulfill the request header specified by the client in the request.

5xx: Server Error

Message:Description:
500 Internal Server ErrorThe request was not completed. The server encountered an unforeseen situation.
501 Not ImplementedThe request was not completed. The server does not support the requested function, or the server cannot complete the request.
502 Bad GatewayThe request was not completed. When the server acts as a gateway or proxy, it received an invalid response from the upstream server.
503 Service UnavailableThe server is currently unavailable (overloaded or down).
504 Gateway TimeoutGateway Timeout. When the server acts as a gateway or proxy, it did not receive a timely response from the upstream server.
505 HTTP Version Not SupportedThe server does not support the HTTP protocol version specified in the request.
511 Network Authentication RequiredUsers need to provide authentication to obtain network access.