summaryrefslogtreecommitdiff
path: root/content/fetch.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-04-03 14:58:46 +0000
committerJames Bursa <james@netsurf-browser.org>2004-04-03 14:58:46 +0000
commitc08ffc97c5eb6f60d2e581e24c8a9d6e9392d7a5 (patch)
tree1560958ebdf61568e44c6f4cda1a625e99ba8cea /content/fetch.c
parent0a31d736c23bd1753631ef610eb760c1ea5cf571 (diff)
downloadnetsurf-c08ffc97c5eb6f60d2e581e24c8a9d6e9392d7a5.tar.gz
netsurf-c08ffc97c5eb6f60d2e581e24c8a9d6e9392d7a5.tar.bz2
[project @ 2004-04-03 14:58:46 by bursa]
Request only gzip compression, since deflate is broken on many servers (see http://www.gzip.org/zlib/zlib_faq, 36). svn path=/import/netsurf/; revision=712
Diffstat (limited to 'content/fetch.c')
-rw-r--r--content/fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetch.c b/content/fetch.c
index bc6b8acc2..78fd53812 100644
--- a/content/fetch.c
+++ b/content/fetch.c
@@ -143,7 +143,7 @@ void fetch_init(void)
SETOPT(CURLOPT_WRITEFUNCTION, fetch_curl_data);
SETOPT(CURLOPT_HEADERFUNCTION, fetch_curl_header);
SETOPT(CURLOPT_USERAGENT, user_agent);
- SETOPT(CURLOPT_ENCODING, "");
+ SETOPT(CURLOPT_ENCODING, "gzip");
SETOPT(CURLOPT_LOW_SPEED_LIMIT, 1L);
SETOPT(CURLOPT_LOW_SPEED_TIME, 60L);
SETOPT(CURLOPT_NOSIGNAL, 1L);