HTTP Status Codes in the Overview – Part 1
The HTTP status code provides information about how or where HTTP requests are handled. But what do codes like 404, 200, 500, or 403 really mean? This understandable overview with HTTP status code helps web developers and creatives.
HTTP Status Codes in the Overview – Part 2
What is an HTTP status code?
Certainly, one or the other has already Error 404 – Page not found Or Error 403 – Access not allowed seen on a website. The corresponding code does not advance by chance.
With this so-called server response, the return of an HTTP status code is also done. This, consisting of a three-digit number and a brief description, transmits whether everything has been delivered correctly. (HTTP status code 200) or whether, for example, there was an internal error (HTTP 500) there. The HTTP status code is therefore part of the response returned by the server, for example, when a page is called.
HTTP status codes and their meanings
Since a lot can happen on the way from the browser to the server, there are many of these HTTP status codes. During transmission, it can also happen that the errors are recorded in more or less detail. Such a machine is sometimes just a human being.
Frequent codes such as HTTP 404, HTTP 403, Or HTTP 500 are certainly familiar. But there are still many codes that need some explanation. Therefore, here is an overview of HTTP status codes, which we sort by function or category of HTTP return.
Status codes 1xx
HTTP status codes starting with 1 are informative. Most of the time, this code means that the request is still ongoing.
|The server may have detected a large request. The HTTP status code informs that the request has been accepted and that processing can continue. (This code only appears if a “Header Expect: 100-continue” has been sent by the browser.)
|101 Switching Protocols
|There is a protocol swap, for example from HTTP to WebSocket. The code informs that the change may take place.
|Processing is ongoing. However, the request is so time-consuming that this HTTP status code must notify you of it so that there are no “timeouts.”
Status codes 2xx
All HTTP status codes that begin with 2 inform you of a successful request.
|The request is successful. The result is transferred in the response. Typical return value for pages of a website (if displayed correctly).
|Because of the request, a new resource is created and the corresponding address is transferred in the header.
|The request has been accepted but has not yet been executed. It is not possible to determine exactly when the processing occurs.
|203 Non-Authoritative Information
|Proxy at work? The meta-information may not match the original server.
|204 No Content
|The request has arrived and has been processed. However, no content can be returned.
|205 Reset Content
|The request was successful and the document is now to be rebuilt. It is necessary to reset the form entries (similar to a reset button in the HTML form).
|206 Partial Content
|Informs about (already) transferred data, such as interrupted or resumed file downloads.
|Multiple status codes
|Here, in response, there is an XML file that contains several status codes for independently performed operations —just “multi-status”.
|208 Already Reported
|In the case of a WebDAV binding, the members have already been enumerated in advance and are therefore no longer included in this request.
|226 IM Used
|Suspicion of instance manipulation
|A GET request has been met, but the response represents a possible instance of manipulation.
Status codes 3xx
The status code refers to errors that have occurred. Also, the cause of HTTP 4xx may be the input or connection to the appropriate software that sends a request.
|300 Multiple Choices
|There are several resources that are immediately available. The sacrifier from the server returns it in the form of a list. The Location pane in the header may contain the preferred address.
|301 Moved Permanently
|The requested page has been permanently assigned to a different address. The “Location-Header” informs accordingly. In the course of this, it is also informed that the old address is no longer valid.
|The requested page is temporarily available at this address. The “Location-Header” informs about the location. However, the old address remains valid.
|303 See Other
|The server response is available at a different address and is ready to be answered using the GET method. Thus, after a POST request, you want to forward directly to the corresponding resource without major detours.
|304 Not Modified
|The requested page has not changed since the last time. Therefore, the answer does not contain any further data.
|305 Use Proxy
|A proxy is required to access the page. The corresponding address for the server is returned in the “Location header”.
|306 Not used
|Not used or reserved
|HTTP status code 306 is no longer in use but has been reserved. (Previously used for Switch Proxy).
|307 Temporary Redirect
|The requested resource is only temporarily available at the address specified in the Location header. The old address remains valid. The browser should follow the original request with this method.
|308 Permanent Redirect
|The requested page or resource is now available at a new address. The previous address is no longer valid. The browser should follow its request accordingly.
Status Code Checker
A number of HTTP status code checkers are available to check whether pages are provided with HTTP dissenting status codes, for example, and that website redirects work as planned. With these online tools, we can determine if an unwanted “redirect” has not been hidden somewhere.
With the HTTP Status Codes Checker from httpstatus.io, which can check multiple addresses at once. You can download The result of the analysis directly as a CSV file.
Also, the status Code Checker comes with multiple addresses. Here, the result is optionally available for download as an Excel file.
HTTP Status Codes in the Overview – Part 2
Rahaf Ebraheem Itechonics - Web Developer