basic
(insecure) or the
digest
authentication scheme.
Another way to specify username and password is in the URL itself
(See section URL Format). For more information about security issues with
Wget, See section Security Considerations.
Content-Length
headers, which makes Wget
go wild, as it thinks not all the document was retrieved. You can spot
this syndrome if Wget retries getting the same document again and again,
each time claiming that the (otherwise normal) connection has closed on
the very same byte.
With this option, Wget will ignore the Content-Length
header--as
if it never existed.
wget --header='Accept-Charset: iso-8859-2' \ --header='Accept-Language: hr' \ http://fly.cc.fer.hr/Specification of an empty string as the header value will clear all previous user-defined headers.
basic
authentication scheme.
User-Agent
header field. This enables distinguishing the
WWW software, usually for statistical purposes or for tracing of
protocol violations. Wget normally identifies as
`Wget/version', version being the current version
number of Wget.
However, some sites have been known to impose the policy of tailoring
the output according to the User-Agent
-supplied information.
While conceptually this is not such a bad idea, it has been abused by
servers denying information to clients other than Mozilla
or
Microsoft Internet Explorer
. This option allows you to change
the User-Agent
line issued by Wget. Use of this option is
discouraged, unless you really know what you are doing.
NOTE that Netscape Communications Corp. has claimed that false
transmissions of `Mozilla' as the User-Agent
are a copyright
infringement, which will be prosecuted. DO NOT misrepresent
Wget as Mozilla.
Go to the first, previous, next, last section, table of contents.