Send a customized HTTP-Request and display the HTTP-Response headers.

@Andreas Jaggi Andreas Jaggi authored on 26 Feb 2013
Makefile initial import 13 years ago
README.md import HTML readme 13 years ago
httphead.c initial import 13 years ago
README.md

httphead

Synopsis

httphead [<var>options</var>] url

Description

Send a customized HTTP-Request to url and display the HTTP-Response headers.

Options


-r

display also the HTTP-Request

-q

display only the recieved HTTP status code

-n

do not send a User-Agent header with the HTTP-Request

-u agent-string

use agent-string as value for the User-Agent header

-a accept-string

send an Accept header with the value accept-string

-e encoding-string

send an Accept-Encoding header with the value encoding-string

-c charset-string

send an Accept-Charset header with the value charset-string

-l language-string

send an Accept-Language header with the value language-string


-v

display the version of httphead

-h

display a help message

-b

display the BSD license

Requirements

Unix-like platform and C compiler.

Download

httphead.c

Bugs

None known yet. If you find one please report it in the issue tracker.

Future directions

Support for Digest HTTP-Auth and HTTPS.

See also


  • wget if you want to download more than the headers.

License

httphead is released under the BSD license.

Copyright

httphead is © 2006 Andreas Jaggi