HGET man page on Plan9

Man page or keyword search:  
man Server   549 pages
apropos Keyword Search (all sections)
Output format
Plan9 logo
[printable version]

HGET(1)								       HGET(1)

NAME
       hget - retrieve a web page corresponding to a url

SYNOPSIS
       hget  [	-dhv  ] [ -o ofile ] [ -p body ] [ -x netmntpt ] [ -r header ]
       url

DESCRIPTION
       Hget retrieves the web page specified by the URL	 url  and  writes  it,
       absent  the  -o	option,	 to standard output.  The known URL types are:
       http and ftp.

       If url is of type HTTP and the -p option is  specified,	then  an  HTTP
       POST is performed with body as the data to be posted.

       The -o option is used to keep a local file in sync with a web page.  If
       the web page has been modified later than the file, it is  copied  into
       the  file.   If	the file is up to date but incomplete, hget will fetch
       the missing bytes.

       Option -h causes HTTP headers to be printed to standard output in addi‐
       tion to the transferred web page.

       Option -r sends an arbitrary HTTP header.

       Option -d turns on debugging written to standard error.

       Normally, hget uses the IP stack mounted under /net.  The -x option can
       be used to specify the mount point of a different IP stack to use.

       Option -v writes progress lines to standard error once a second.	  Each
       line  contains  two numbers, the bytes transferred so far and the total
       length to be transferred.

       If the environment variable httpproxy is set,  it  is  used  as	a  URL
       denoting	 an  HTTP  proxy server.  All HTTP accesses use this server to
       get the page instead of calling the destination server.

SOURCE
       /sys/src/cmd/hget.c

SEE ALSO
       ftpfs(4)

								       HGET(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Plan9

List of man pages available for Plan9

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net