Allows you to very quickly view and search an offline version of the Wikipedia's HTTP Codes page.
Look up specific codes
Filter using wildcards
Don't know the status code?
pipx install hhttpcode
The usage for the tool is as follows:
http-code <search_term> --output-as-json --no-pretty --indent-size --no-colour
<search_term>
- Mandatory: Can be either a 3 digit code (use x to replace unknowns, eg: 2xx for all codes starting with 2) or a text search.
--output-as-json
- Optional: Output as JSON, by default will pretty-print JSON... use
--no-pretty
to disable
- Optional: Output as JSON, by default will pretty-print JSON... use
--no-pretty
- Optional: Disable pretty printing of JSON, does nothing without
--output-as-json
flag set
- Optional: Disable pretty printing of JSON, does nothing without
--indent-size
- Optional: Change the default (2) indent size
--no-colour
- Optional: Disable colour for non-JSON output
python tests/test.py
- Tests don't run on Windows systems :|