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:
parent
6a2d67b583
commit
9e0d87a248
@ -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.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user