Logo

Charles Steinkuehler's LEAF/LRP Website


 

http_get.1




NAME

       http_get - get the contents of an http URL


SYNOPSIS

       http_get  [-t  timeout]  [-r  referer] [-u user-agent] [-a
       username:password] [-c cookie] url


DESCRIPTION

       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.


AUTHOR

       Originally  based  on  a  simple  version  by  Al   Globus
       <globus@nas.nasa.gov>.  Debugged, prettified, and extended
       by Jef Poskanzer <jef@acme.com>.


Man(1) output converted with man2html