DEV Community

Meet Chopra
Meet Chopra

Posted on

Do you know what these 63 HTTP status codes mean?

I came to know about HTTP status, while working at a new product Freshping, a free website monitoring tool and was pretty intrigued with the number of HTTP status codes out there. I saw some tools on HN explaining about status codes and thought of sharing this here. Just a fun fact there are around 63 status codes that I discovered. I don't know if there are more than this. Do share if you find any.

The 1xx Codes

1xx codes usually refer to as informational response, where the server accepts the request and wishes to receive further payload/body.

100 Continue
101 Switching Protocols
102 Processing

2×× Success

This usually means the server has received, understood and accepted the request by the client.

200 OK
201 Created
202 Accepted
203 Non-authoritative Information
204 No Content
205 Reset Content
206 Partial Content
207 Multi-Status
208 Already Reported
226 IM Used

3×× Redirection

300 codes are commonly used for URL redirection. The server sends a response containing a list of metadata and URI reference(s) from which the user or user agent can choose the one most preferred.

300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
305 Use Proxy
307 Temporary Redirect
308 Permanent Redirect

4×× Client Error

This status code is intended when there seems to be an error caused by the client

400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Payload Too Large
414 Request-URI Too Long
415 Unsupported Media Type
416 Requested Range Not Satisfiable
417 Expectation Failed
418 I'm a teapot
421 Misdirected Request
422 Unprocessable Entity
423 Locked
424 Failed Dependency
426 Upgrade Required
428 Precondition Required
429 Too Many Requests
431 Request Header Fields Too Large
444 Connection Closed Without Response
451 Unavailable For Legal Reasons
499 Client Closed Request

I know these are too many 4xx :D

5×× Server Error

500 status codes are used when the server fails to serve/fulfill the request.

500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported
506 Variant Also Negotiates
507 Insufficient Storage
508 Loop Detected
510 Not Extended
511 Network Authentication Required
599 Network Connect Timeout Error

After reading so many status codes, you are now more informed about the HTTP codes out there. I tried to give the gist of all the codes in general as describing each of them would be too big. For those interested to know more, here's the link

Also, we are giving new business 50 free public status pages at Freshping, do check us out and let me know what you think.

Hope to see you again. Bye! 👋

Discussion (0)