mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Add 'Accept-Encoding: identity' to request header
Fixes bug #40819 Reported-by: Noël Köthe <noel@debian.org>
This commit is contained in:
parent
9823dc1989
commit
176c2b17fc
@ -1,3 +1,10 @@
|
|||||||
|
2014-11-11 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
|
* http.c (gethttp): Always add Accept-Encoding: identity
|
||||||
|
|
||||||
|
Fixes bug #40819
|
||||||
|
Reported-by: Noël Köthe <noel@debian.org>
|
||||||
|
|
||||||
2014-11-11 Tim Ruehsen <tim.ruehsen@gmx.de>
|
2014-11-11 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
* main.c: Fix missing _Noreturn declaration specifiers
|
* main.c: Fix missing _Noreturn declaration specifiers
|
||||||
|
@ -1801,6 +1801,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy,
|
|||||||
rel_value);
|
rel_value);
|
||||||
SET_USER_AGENT (req);
|
SET_USER_AGENT (req);
|
||||||
request_set_header (req, "Accept", "*/*", rel_none);
|
request_set_header (req, "Accept", "*/*", rel_none);
|
||||||
|
request_set_header (req, "Accept-Encoding", "identity", rel_none);
|
||||||
|
|
||||||
/* Find the username and password for authentication. */
|
/* Find the username and password for authentication. */
|
||||||
user = u->user;
|
user = u->user;
|
||||||
|
Loading…
Reference in New Issue
Block a user