mirror of
https://github.com/mirror/wget.git
synced 2024-12-28 22:00:27 +08:00
Improve documentation of --trust-server-names.
This commit is contained in:
parent
d0e02a54ae
commit
d6eead1794
@ -1700,9 +1700,11 @@ with a http status code that indicates error.
|
||||
@cindex Trust server names
|
||||
@item --trust-server-names
|
||||
|
||||
If this is set to on, on a redirect the last component of the
|
||||
redirection URL will be used as the local file name. By default it is
|
||||
used the last component in the original URL.
|
||||
If this is set, on a redirect, the local file name will be based
|
||||
on the redirection URL. By default the local file name is based on
|
||||
the original URL. When doing recursive retrieving this can be helpful
|
||||
because in many web sites redirected URLs correspond to an underlying
|
||||
file structure, while link URLs do not.
|
||||
|
||||
@cindex authentication
|
||||
@item --auth-no-challenge
|
||||
@ -3228,8 +3230,8 @@ Turn on recognition of the (non-standard) @samp{Content-Disposition}
|
||||
HTTP header---if set to @samp{on}, the same as @samp{--content-disposition}.
|
||||
|
||||
@item trust_server_names = on/off
|
||||
If set to on, use the last component of a redirection URL for the local
|
||||
file name.
|
||||
If set to on, construct the local file name from redirection URLs
|
||||
rather than original URLs.
|
||||
|
||||
@item continue = on/off
|
||||
If set to on, force continuation of preexistent partially retrieved
|
||||
|
Loading…
Reference in New Issue
Block a user