Show Menu
Cheatography

HTTP Status Codes Cheat Sheet (DRAFT) by

A quick reference for http response codes

This is a draft cheat sheet. It is a work in progress and is not finished yet.

1xx Inform­ational response

100 [Continue] - This interim response indicates that everything so far is OK and that the client should continue the request, or ignore the response if the request is already finished.
101 [Switching Protocol] - This code is sent in response to an Upgrade request header from the client, and indicates the protocol the server is switching to.
102 [Proce­ssing] - This code indicates that the server has received and is processing the request, but no response is available yet.
103 [Early Hints] - This status code is primarily intended to be used with the Link header, letting the user agent start preloading resources while the server prepares a response.

2xx: Successful responses

200 [OK] - The request has succeeded. The meaning of the success depends on the HTTP method
201 [Created] - The request has succeeded and a new resource has been created as a result. This is typically the response sent after POST requests, or some PUT requests.
202 [Accepted] - The request has been received but not yet acted upon. It is noncom­mittal, since there is no way in HTTP to later send an asynch­ronous response indicating the outcome of the request. It is intended for cases where another process or server handles the request, or for batch proces­sing.
203 [Non-A­uth­ori­tative Inform­ation] - This response code means the returned meta-i­nfo­rmation is not exactly the same as is available from the origin server, but is collected from a local or a third-­party copy. This is mostly used for mirrors or backups of another resource. Except for that specific case, the "200 OK" response is preferred to this status.
204 [No Content] - There is no content to send for this request, but the headers may be useful. The user-agent may update its cached headers for this resource with the new ones.
205 [Reset Content] - Tells the user-agent to reset the document which sent this request.
206 [Partial Content] - This response code is used when the Range header is sent from the client to request only part of a resource.
207 [Multi­-St­atus] (WebDAV) - Conveys inform­ation about multiple resources, for situations where multiple status codes might be approp­riate.
208 [Already Reported] (WebDAV) - Used inside a
<da­v:p­rop­sta­t>
response element to avoid repeatedly enumer­ating the internal members of multiple bindings to the same collec­tion.
226 [IM Used] (HTTP Delta encoding) -