http_get - get the contents of an http URL
http_get [-t timeout] [-r referer] [-u user-agent] [-a username:password] [-c cookie] url
http_get fetches an http URL and dumps the contents to stdout. It does not do gopher, ftp, file, news, or any other type of URL, only http. It can be configured to do https fetches as well. The -t flag specifies a timeout in seconds. If that much time passes with no activity, the fetch is aborted. The default is 60 seconds. The -r flag specifies a Referer header to send. Some tightly-clenched web admins like to jigger their server to only return files if the proper Referer is given. The -u flag specifies a User-Agent header to send. Some *really* tightly-clenched web admins like to jigger their server to only return files if a well-known User-Agent is given. The -a flag lets you do Basic Authentication. The -c flag lets you pass in a cookie.
Originally based on a simple version by Al Globus <email@example.com>. Debugged, prettified, and extended by Jef Poskanzer <firstname.lastname@example.org>.
Man(1) output converted with man2html