HTTP Status Codes Cheat Sheet

When you attempt to access a URL, you will receive an HTTP (Hypertext Transfer Protocol) status code in response. The status code is issued by the server to the client that made the request. Below is a quick cheat sheet of all the HTTP status codes with links to more information about the status code.

Types of HTTP status code responses

The first digit identifies the class of the the type of status code response. If there is no HTTP status code response, then there will not be a status code.

1XX Informational Responses

The 1xx (Informational) class of status code indicates an interim response for communicating connection status or request progress prior to completing the requested action and sending a final response. 1xx responses are terminated by the first empty line after the status-line (the empty line signaling the end of the header section). Since HTTP/1.0 did not define any 1xx status codes, a server MUST NOT send a 1xx response to an HTTP/1.0 client[1].

A client MUST be able to parse one or more 1xx responses received prior to a final response, even if the client does not expect one. A user agent MAY ignore unexpected 1xx responses[2].

A proxy MUST forward 1xx responses unless the proxy itself requested the generation of the 1xx response. For example, if a proxy adds an “Expect: 100-continue” field when it forwards a request, then it need not forward the corresponding 100 (Continue) response(s)[3].

2XX Successful Responses

The 2xx Successful class of status code indicates that the client’s request was successfully received, understood, and accepted[4].

3XX Redirects

4XX Client Errors

5XX Server Errors

References

We like to give credit where credit is due. This article contains 2 references with a total of 4 citations.

  1. [1] [2] [3] Fielding, Roy T, And Julian F Reschke. "6.2. Informational 1xx." HTTP/1.1 Semantics and Content, IETF Trust, 1 Jun. 2014, tools.ietf.org/html/rfc7231#section-6.2

  2. [4] Fielding, Roy T, And Julian F Reschke. "6.3. Successful 2xx." HTTP/1.1 Semantics and Content, IETF Trust, 1 Jun. 2014, tools.ietf.org/html/rfc7231#section-6.3

Notify me about new features:

upcoming free account access, charts & stats, historical data, API, etc.

* All fields required.