httphead
Synopsis
httphead [options] 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 to Andreas Jaggi.
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
Imprint
Andreas Jaggi
Hübelistrasse 10
CH-3770 Zweisimmen