From 9e0d87a2485405196c4cdf9164584566502165e2 Mon Sep 17 00:00:00 2001 From: Darshit Shah Date: Wed, 26 Jun 2013 02:39:17 +0530 Subject: [PATCH] Download response body data for all requests --- src/ChangeLog | 5 +++++ src/http.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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; -- 2.39.2