From: micah Date: Wed, 11 Jul 2007 04:39:36 +0000 (-0700) Subject: [svn] Backing out incomplete changes for bug 20323, until the full fix is X-Git-Tag: v1.13~590 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=78aefb3bbf3afb0a3677419370ee197db389bfb7 [svn] Backing out incomplete changes for bug 20323, until the full fix is ready (so we have a working trunk). --- diff --git a/src/ChangeLog b/src/ChangeLog index 6b562001..e1065eee 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -15,11 +15,6 @@ Updated GPL reference to version 3 or later, removed FSF address. -2007-07-04 Mauro Tortonesi - - * http.c (http_loop): Skip HEAD request and start immediately with GET - if -O is given. - 2007-02-02 Hrvoje Niksic * http.c (print_server_response): Escape non-printable characters diff --git a/src/http.c b/src/http.c index faeb0e7f..4813460f 100644 --- a/src/http.c +++ b/src/http.c @@ -2342,7 +2342,8 @@ Spider mode enabled. Check if remote file exists.\n")); /* Default document type is empty. However, if spider mode is on or time-stamping is employed, HEAD_ONLY commands is encoded within *dt. */ - if (((opt.spider || opt.timestamping) && !got_head) || !got_name) + if (((opt.spider || opt.timestamping) && !got_head) + || (opt.always_rest && !got_name)) *dt |= HEAD_ONLY; else *dt &= ~HEAD_ONLY;