From 78aefb3bbf3afb0a3677419370ee197db389bfb7 Mon Sep 17 00:00:00 2001 From: micah Date: Tue, 10 Jul 2007 21:39:36 -0700 Subject: [PATCH] [svn] Backing out incomplete changes for bug 20323, until the full fix is ready (so we have a working trunk). --- src/ChangeLog | 5 ----- src/http.c | 3 ++- 2 files changed, 2 insertions(+), 6 deletions(-) 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; -- 2.39.2