mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Skip HEAD request and start immediately with GET if -O is given.
This commit is contained in:
parent
9b593768f7
commit
dfeb089f3c
@ -1,3 +1,8 @@
|
|||||||
|
2007-07-04 Mauro Tortonesi <mauro@ferrara.linux.it>
|
||||||
|
|
||||||
|
* http.c (http_loop): Skip HEAD request and start immediately with GET
|
||||||
|
if -O is given.
|
||||||
|
|
||||||
2007-02-02 Hrvoje Niksic <hniksic@xemacs.org>
|
2007-02-02 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* http.c (print_server_response): Escape non-printable characters
|
* http.c (print_server_response): Escape non-printable characters
|
||||||
|
@ -2343,8 +2343,7 @@ Spider mode enabled. Check if remote file exists.\n"));
|
|||||||
/* Default document type is empty. However, if spider mode is
|
/* Default document type is empty. However, if spider mode is
|
||||||
on or time-stamping is employed, HEAD_ONLY commands is
|
on or time-stamping is employed, HEAD_ONLY commands is
|
||||||
encoded within *dt. */
|
encoded within *dt. */
|
||||||
if (((opt.spider || opt.timestamping) && !got_head)
|
if (((opt.spider || opt.timestamping) && !got_head) || !got_name)
|
||||||
|| (opt.always_rest && !got_name))
|
|
||||||
*dt |= HEAD_ONLY;
|
*dt |= HEAD_ONLY;
|
||||||
else
|
else
|
||||||
*dt &= ~HEAD_ONLY;
|
*dt &= ~HEAD_ONLY;
|
||||||
|
Loading…
Reference in New Issue
Block a user