Howdy, Web developers! I've got a good news for you. You can now stop spending time on Internet to look for what a particular response code mean. Say hello to Statcode. It is like man pages, but only for HTTP status codes. You can easily get the quick explanation of a http code within minutes, without leaving your Terminal. As you may know already, Hypertext Transfer Protocol (HTTP) response status codes are issued by a server in response to a client's request made to the server. Statcode is written using Python programming language and works on GNU/Linux, Mac OS and Windows.
Table of Contents
Installing Statcode
Statcode can easily be installed using PIP package manager. If you haven't installed PIP yet, refer the following guide.
Now, install Statcode using command:
$ pip install statcode
Get A Quick Explanation Of Different HTTP status codes
The usage of Statcode is trivial. Say for example, to find the quick description of 404 status code, just run:
$ statcode 404
Here is the sample output:
It's that simple. You don't have to search over Internet to find the explanation of any HTTP status codes. You can do it right from your Terminal. To exit, press q.
Here is another example:
$ statcode 502
The developer haven't mentioned in the project's GitHub page where exactly he is getting the descriptions from. But, It looks like he is pulling the descriptions from MDN. I got to say this is very cool project. I hope the developer will add more features and make it better.
Resource:
Thanks for stopping by!
Help us to help you:
- Subscribe to our Email Newsletter : Sign Up Now
- Support OSTechNix : Donate Via PayPal
- Download free E-Books and Videos : OSTechNix on TradePub
- Connect with us: Reddit | Facebook | Twitter | LinkedIn | RSS feeds
Have a Good day!!