HTTP Status Code
A HTTP status code is a string of numbers the web server returns in response to an HTTP request, which indicates whether or not the request was processes successfully. If the request couldn’t be processed, there are a few reasons as to why:
1xx Status Code
This type of status code indicates that the server received the request, but that further action is required in order to complete it.
100 Continue
The client can continue to send the requested content
101 Switching Protocols
The server approved the request to switch protocols. For example, from HTTP to WebSockets.
102 Processing
The server indicates that the request is being processed, but hasn’t returned a definitive answer yet.
2xx Status Code
This type of status code indicates that the web server successfully processed the request.
200 OK
The request was processed successfully.
201 Created
A new recourse was successfully created.
202 Accepted
The request was accepted, but not yet processed.
203 Non-Authoritative Information
The server will return content from another source.
204 No Content
The server successfully processed the request, but could not return any content.
205 Reset Content
The client should reset the document view. For example, to delete the information entered in a form.
206 Partial Content
Only part of the requested content was returned.
3xx Status Code
This type of status code indicates that new actions are required to complete the request.
300 Multiple Choices
The request returned multiple options between which the client should chose.
301 Permanent
The original page has moved, search engines should now consider the new page as the original.
302 Temporary
The original page has moved, but will return, so search engines should still consider that one as the original.
303 See Other
The client should use another URL in order to access certain resources.
304 Not Modified
The location of the requested resource has not changed since the previous request.
307 Temporary
The requested content has temporarily moved to another URL. This status code replaces the 302 status code in modern standards.
308 Permanent
The requested content has permanently moved to another URL. This status code replaces the 301 status code in modern standards.
4xx Status Code
This type of status code indicates that the request has failed due to an error on the client side.
401 Unauthorized
The request failed because the authentication failed or is missing.
403 Forbidden
The request failed because access to the content is denied, even though authorisation was completed successfully.
404 Not Found
The requested resource does not exist on the server.
405 Method Not Allowed
The applied protocol was not approved in order to access the requested resource.
406 Not Acceptable
The requested resource cannot be displayed in the format it was requested in.
408 Request Timeout
The server waited for too long to respond to the request.
409 Conflict
A conflict arose with the current status of the requested resource.
410 Gone
The requested resource is not available because it was permanently deleted.
411 Length Required
The request must contain a content-length header.
413 Payload Too Large
The server cannot process a request of this size
414 URI Too Long
The URI of the request is too long to be processed.
429 Too Many Requests
The server has received too many requests from the same client is a short amount of time.
5xx Status Code
This type of status code indicates that the request has failed due to an error on the server side.
501 Not Implemented
The server does not support the requested method.
502 Bad Gateway
The server received an invalid response from an up-stream server
503 Service Unavailable
The server is temporarily unavailable
504 Gateway Timeout
The server had to wait for too long for a response from an up-stream server.
505 HTTP Version Not Supported
The server does not support the HTTP version that was used to make the request.
507 Insufficient Storage
The server does not have sufficient storage to process the request.
511 Network Authentication Required
The client must authenticate themselves to gain access to the network.
