>From 740c68d4d820334362dc93ce5c31b9d742f12558 Mon Sep 17 00:00:00 2001 From: "Dale R. Worley" Date: Wed, 2 Nov 2016 12:14:46 -0400 Subject: [PATCH] Improve documentation of --trust-server-names. --- doc/wget.texi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/doc/wget.texi b/doc/wget.texi index 91219e5..3632fd1 100644 --- a/doc/wget.texi +++ b/doc/wget.texi @@ -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 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 @@ -3261,8 +3263,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 -- 1.8.3.1