From: Darshit Shah Date: Tue, 25 Jun 2013 21:09:17 +0000 (+0530) Subject: Download response body data for all requests X-Git-Tag: v1.15~45 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=9e0d87a2485405196c4cdf9164584566502165e2 Download response body data for all requests --- diff --git a/src/ChangeLog b/src/ChangeLog index a7cd78e7..02409762 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2013-06-26 Darshit Shah + + * http.c (gethttp): Reverse change by commit 90896 that prevented + downloading response body data to non-GET Request methods. + 2013-06-19 Ciprian Vieru (tiny change) * html-url.c: Define TAG_TD, TAG_TH, TAG_VIDEO, TAG_AUDIO, TAG_SOURCE. 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;