]> sjero.net Git - wget/commitdiff
Download response body data for all requests
authorDarshit Shah <darnir@gmail.com>
Tue, 25 Jun 2013 21:09:17 +0000 (02:39 +0530)
committerGiuseppe Scrivano <gscrivano@gnu.org>
Thu, 27 Jun 2013 18:07:47 +0000 (20:07 +0200)
src/ChangeLog
src/http.c

index a7cd78e7113030b4a0e5f9023fc9d604061576fd..0240976232b7c39fc417d8c8de198c6e54aa1963 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-26  Darshit Shah <darnir@gmail.com>
+
+       * http.c (gethttp): Reverse change by commit 90896 that prevented
+       downloading response body data to non-GET Request methods.
+
 2013-06-19 Ciprian Vieru <devel.php@gmail.com> (tiny change)
 
         * html-url.c: Define TAG_TD, TAG_TH, TAG_VIDEO, TAG_AUDIO, TAG_SOURCE.
 2013-06-19 Ciprian Vieru <devel.php@gmail.com> (tiny change)
 
         * html-url.c: Define TAG_TD, TAG_TH, TAG_VIDEO, TAG_AUDIO, TAG_SOURCE.
index d63c0e2317dd3f421f6cbff8edb3209b9389a98f..669f0fe3a80e5bc41d0ea97768b3e66385f5130e 100644 (file)
@@ -2778,8 +2778,7 @@ read_header:
     }
 
   /* Return if we have no intention of further downloading.  */
     }
 
   /* 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;
     {
       /* In case the caller cares to look...  */
       hs->len = 0;