Explains the meaning of an http status code on the command line
hc [ options ] [ code ]
This manual page documents briefly the httpcode commands.
httpcode is a little utility that explains the meaning of an HTTP status code on the command line.
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files.
-h, --help
Show summary of options.
-s SEARCH, --search=SEARCH
Search for a code by name or description. Search text may contain regular expressions.
Lists all available HTTP status codes and their description:
hc
Explain 405 status code:
hc 405
Search code(s) by description (case-insensitive):
hc -s too
Filter codes with a regex
hc 30[12]
Use an 'x' for any digit
hc 1xx
httpcode was written by Ruslan Spivak <[email protected]>.
This manual page was written by Khalid El Fathi <[email protected]>, for the Debian project (and may be used by others).