Ever wondered why the error codes were thrown by browsers while using the internet, They were intimating us with hidden messages by hiding lengthy lines into numeric values.
The most of the errors codes seen by us were 404,503.Let’s dive into what they mean.
These error codes were standardized codes provided by IANA and do not vary by any means.
ALSO READ:TOP 10 PROGRAMMING LANGUAGES OF 2k17
1xx:
These were informational responses.Which means the request from the client was processing and asks clients to wait for the final response from the server.This may be like loading please wait,
2xx:
These were success responses, The request by the client was successfully received or processed by the server.
3xx:
These codes generally mean redirection. Means client has to take additional steps to proceed the request.Additional steps in the sense-making security checks, human verification, URL redirection and a warning message that the site doesn’t have SSL certificate.
4xx:
These are client-side errors or common errors made by clients while requesting server.Client-side errors may be spelling mistakes, insufficient data to access appropriate server etc.,
5xx:
Errors caused by the server or server-side errors.Here the request from client side has nothing wrong, it was server-side problem, that it may have encountered any improper processing or may be due to overflow or over traffic.
1xx | 2xx | 3xx | 4xx | 5xx |
Contents 100 continue101-Switching Protocols102-Processing103-Early Hints |
200-OK201-Created202-Accepted204-No Content205-Reset Content |
300-Multiple Choices301-Moved Permanently302-Found303-See Other304-Not Modified 305-Use Proxy |
400-Bad Request402-Payment Required403-Forbidden404-Not Found405-Method Not Allowed |
500-Internal Server Error501-Not Implemented502-Bad Gateway504-Gateway Timeout505-HTTP Version Not Supported |
The above Table has few error codes and their details remaining can be found in IANA table.You can see the complete list of error codes stated by IANA here.