DOKK / manpages / debian 11 / httpcode / hc.1.en
HC(1) General Commands Manual HC(1)

httpcode - 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.

Show summary of options.
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 <ruslan.spivak@gmail.com>.

This manual page was written by Khalid El Fathi <khalid@elfathi.fr>, for the Debian project (and may be used by others).

February 29, 2012