1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Download response body data for all requests

This commit is contained in:
Darshit Shah 2013-06-26 02:39:17 +05:30 committed by Giuseppe Scrivano
parent 6a2d67b583
commit 9e0d87a248
2 changed files with 6 additions and 2 deletions

View 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) 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. * html-url.c: Define TAG_TD, TAG_TH, TAG_VIDEO, TAG_AUDIO, TAG_SOURCE.

View 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 if ((!(*dt & RETROKF) && !opt.content_on_error) || head_only)
|| (opt.method && strcasecmp (opt.method, "get") != 0))
{ {
/* In case the caller cares to look... */ /* In case the caller cares to look... */
hs->len = 0; hs->len = 0;