aboutsummaryrefslogtreecommitdiff
path: root/src/IO/http.c
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2007-11-13 14:56:42 +0100
committerjcid <devnull@localhost>2007-11-13 14:56:42 +0100
commit5aa7aef785d7115efeebc26842d3371f4c9d62e9 (patch)
tree60e4a197901f7159bb1ed6ed51fe5516a9f4726a /src/IO/http.c
parent636af9ffddf92f5e61959618232d490f0b5f65f4 (diff)
Added an experimental gzip decoder!
Diffstat (limited to 'src/IO/http.c')
-rw-r--r--src/IO/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IO/http.c b/src/IO/http.c
index 5c975e00..c9dd944b 100644
--- a/src/IO/http.c
+++ b/src/IO/http.c
@@ -190,6 +190,7 @@ char *a_Http_make_query_str(const DilloUrl *url, bool_t use_proxy)
"Host: %s%s\r\n"
"%s"
"User-Agent: Dillo/%s\r\n"
+ "Accept-Encoding: gzip\r\n"
"Cookie2: $Version=\"1\"\r\n"
"%s"
"Content-type: application/x-www-form-urlencoded\r\n"
@@ -210,6 +211,7 @@ char *a_Http_make_query_str(const DilloUrl *url, bool_t use_proxy)
"Host: %s%s\r\n"
"%s"
"User-Agent: Dillo/%s\r\n"
+ "Accept-Encoding: gzip\r\n"
"Cookie2: $Version=\"1\"\r\n"
"%s"
"\r\n",