X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fhttp.c;fp=src%2Fhttp.c;h=669f0fe3a80e5bc41d0ea97768b3e66385f5130e;hp=d63c0e2317dd3f421f6cbff8edb3209b9389a98f;hb=9e0d87a2485405196c4cdf9164584566502165e2;hpb=6a2d67b5836a6f1b9c989968a5392ff3511bc1f9 diff --git a/src/http.c b/src/http.c index d63c0e23..669f0fe3 100644 --- a/src/http.c +++ b/src/http.c @@ -2778,8 +2778,7 @@ read_header: } /* Return if we have no intention of further downloading. */ - if ((!(*dt & RETROKF) && !opt.content_on_error) || head_only - || (opt.method && strcasecmp (opt.method, "get") != 0)) + if ((!(*dt & RETROKF) && !opt.content_on_error) || head_only) { /* In case the caller cares to look... */ hs->len = 0;