summaryrefslogtreecommitdiff
path: root/src/IO/http.c
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2014-03-15 18:19:58 +0000
committercorvid <devnull@localhost>2014-03-15 18:19:58 +0000
commit717b176b31b3ca127e98dcaf6a90c3cdaa4eee46 (patch)
tree6901ea814500c4ffc5003b9021a717e7f650a585 /src/IO/http.c
parent7040e0022111f8281f75ace528e857a5632518d9 (diff)
Accept-Encoding: deflate
The httpbis people currently word it as: 'Note: Some non-conformant implementations send the "deflate" compressed data without the zlib wrapper.'
Diffstat (limited to 'src/IO/http.c')
-rw-r--r--src/IO/http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index 1af1996d..fec8570b 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -297,7 +297,7 @@ Dstr *a_Http_make_query_str(const DilloUrl *url, const DilloUrl *requester,
"Connection: close\r\n"
"Accept: text/*,image/*,*/*;q=0.2\r\n"
"Accept-Charset: utf-8,*;q=0.8\r\n"
- "Accept-Encoding: gzip\r\n"
+ "Accept-Encoding: gzip, deflate\r\n"
"%s" /* language */
"%s" /* auth */
"DNT: 1\r\n"
@@ -323,7 +323,7 @@ Dstr *a_Http_make_query_str(const DilloUrl *url, const DilloUrl *requester,
"Connection: close\r\n"
"Accept: text/*,image/*,*/*;q=0.2\r\n"
"Accept-Charset: utf-8,*;q=0.8\r\n"
- "Accept-Encoding: gzip\r\n"
+ "Accept-Encoding: gzip, deflate\r\n"
"%s" /* language */
"%s" /* auth */
"DNT: 1\r\n"