diff --git a/src/ChangeLog b/src/ChangeLog index 2fd72135..03d8ca79 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2014-11-11 Tim Ruehsen + + * http.c (gethttp): Always add Accept-Encoding: identity + + Fixes bug #40819 + Reported-by: Noël Köthe + 2014-11-11 Tim Ruehsen * main.c: Fix missing _Noreturn declaration specifiers diff --git a/src/http.c b/src/http.c index 584f4a85..de96e329 100644 --- a/src/http.c +++ b/src/http.c @@ -1801,6 +1801,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy, rel_value); SET_USER_AGENT (req); request_set_header (req, "Accept", "*/*", rel_none); + request_set_header (req, "Accept-Encoding", "identity", rel_none); /* Find the username and password for authentication. */ user = u->user;