HTTP Status Codes


Reference

1xx - Information Received

100 Continue
The server has received the request header(s).
101 Switching Protocols
The client asked the server to switch protocols, which agreed to do so.
102 Processing
Indicates the server is actively handling the request, representing an interim stage before the final outcome is achieved.
103 Early Hints
Informs the client that the server is preparing to send a final response, providing some initial headers to guide the client while processing the request.

2xx - Success

200 OK
Informs the client that the request was successful.
201 Created
The request was successful. Therefore, a new resource has been created.
202 Accepted
The request was accepted but the server has not processed it yet.
203 Non-Authoritative Information
The HTTP 203 Non-Authoritative Information response status signifies a successful request. However, the content within has been altered by a transforming proxy, differing from the original server's 200 (OK) response.
204 No Content
The server successfully processed the request, but there was no content to return.
205 Reset Content
Signals that the client should reset the document.
206 Partial Content
The server has successfully processed the GET, but is only returning a part of the response.
207 Multi Status
Provides multiple status for multiple independent operations.
208 Already Reported
The DAV binding members have been previously listed in an earlier section of the (multistatus) response and are not repeated here.
226 IM Used
Indicates the server has fulfilled the request, providing a modified representation of the resource.

3xx - Redirection

300 Multiple Choices
Informs the client that there are multiple options available for the requested resource, and the user or user agent can choose from them.
301 Moved Permanently
Informs the client that the requested resource was permanently moved.
302 Found
Used to indicate a temporary redirection.
303 See Other
Directs the client to retrieve the response from a different URI.
304 Not Modified
Informs the client that no changes was made to the requested resource since the last request.
305 Use Proxy
The requested resource is only available using a proxy.
306 Switch Proxy
No longer used. Now reserved by the Internet Assigned Numbers Authority (IANA).
307 Not Modified
Informs the client that no changes was made to the requested resource since the last request.
308 Permanent Redirect
This and future request should be directed to the given URI.

4xx - Client Error

400 Bad Request
The server identified the client request as malformed.
401 Unauthorized
The credentials used to access the resource were not valid or not provided.
402 Payment Required
A payment is required to access this resource.
403 Forbidden
The server understood the request but refused to allow it.
404 Not Found
The server understood the request but the resource was not found.
405 Method Not Allowed
The used method is not allowed (e.g. PUT on a read-only resource).
406 Not Acceptable
The server cannot provide a response in the format asked by the client.
407 Proxy Authentication Required
The client must authenticate with a proxy.
408 Request Timeout
The client took too much time to send the request, therefore the server timed out.
409 Conflict
Informs that there was a conflict that made the request unsuccessful.
410 Gone
Informs that the requested resource is not available anymore and will not be available in the future.
411 Length Required
Informs the client that the request will be denied by the server if the request does not contain a Content-Length header.
412 Precondition Failed
The server does not meet the preconditions set by the request headers.
413 Payload Too Large
The server rejects the request because it is too large.
414 URI Too Long
The URI was too long to process by the server.
415 Unsupported Media Type
The request contains a media that is not supported by the server.
416 Range Not Satisfiable
The client has asked for a specific range of a resource, but that range is not available or is beyond the current size of the resource.
417 Expectation Failed
The server cannot meet the expectations described in the Expect header.
418 I'm a teapot
This HTTP status code was an April Fools' joke. Some servers might return this status code to inform that they wish not handle the request.
421 Misdirected Request
The server received a request intended for another resource, therefore the request is not successful.
422 Unprocessable Content
The request was valid but could not be processed by the server.
423 Locked
The requested resource is locked.
424 Failed Dependency
Means that the method could not be performed on the resource because the requested action depended on another action that failed.
425 Too Early
Indicates that the server is unwilling to risk processing a request that might be replayed.
426 Upgrade Required
The client must upgrade to another protocol for the server to perform the request. The server sends an Upgrade header.
428 Precondition Required
The request must be conditional.
429 Too Many Requests
The client sent too many request in a given amount of time.
431 Request Header Fields Too Large
The request header fields are too large. Therefore the request could not be processed.
451 Unavailable For Legal Reasons
The request could not be processed because the content is unavailable for legal reasons.

5xx - Server Error

500 Internal Server Error
An unknown exception has occured in the server.
501 Not Implemented
The request could not be fulfilled because the server does not have the capacity to fulfill it.
502 Bad Gateway
Indicates that the server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.
503 Service Unavailable
Indicates that the server is not available, often temporarily for maintenance or because of overloads.
504 Gateway Timeout
Indicates that the gateway has not responded in a given amount of time.
505 HTTP Version Not Supported
Indicates that HTTP version used in the request is not supported by the server.
506 Variant Also Negotiates
Indicates that the server has an internal configuration error.
507 Insufficient Storage
The server is unable to process the request because there is no sufficient storage in the server.
508 Loop Detected
A loop was detected while processing the request.
510 Not Extended
The policy for accessing the resource has not been met in the request.
511 Network Authetication Required
Indicates that the client needs to authenticate to gain network access.