Like man pages, but for HTTP status codes
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets Updated demo Jul 10, 2018
statcode Merge pull request #9 from Mouvedia/patch-1 Jul 13, 2018
LICENSE Create LICENSE Jul 9, 2018
MANIFEST.in Updated MANIFEST Jul 10, 2018
README.md Update README.md Jul 14, 2018
requirements.txt add requirements file Jul 10, 2018
setup.py Updated with new name Jul 10, 2018

README.md

statcode

statcode is like man but for HTTP status codes. Most web developers spend considerable time looking at response codes (usually errors) and then Googling what they mean. But with statcode, you can simply run $ statcode [status_code] and get a quick explanation of your HTTP response without leaving the terminal.

demo

Installation

statcode works on MacOS, Linux, and Windows, with compiled binaries available for every release. You can also install it with pip:

$ pip install statcode

Requires Python 3.0 or higher.

Contributing

This is a small project (something I put together on a plane ride), but I intend to turn this into a go-to manual for everything related to HTTP. For example, it should soon be possible to look up different request headers, i.e. running $ statcode cache-control and getting "Specifies directives for caching mechanisms in both requests and responses." If you'd like to be a part of that, feel free to make a contribution – just fork the repo, make your changes and then submit a pull request. If you do contribute, please try to adhere to the existing style.

If you've discovered a bug or have a feature request, create an issue and I'll take care of it!