From b9c63eb9084b54e016129e480785918c330d2015 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 21 Aug 2012 10:46:29 +0200 Subject: [PATCH] Fix for an Issue #156 --- lib/request/connect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request/connect.py b/lib/request/connect.py index 0a804922f..d7b87b5b8 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -276,7 +276,7 @@ class Connect: headers[HTTPHEADER.PROXY_AUTHORIZATION] = kb.proxyAuthHeader headers[HTTPHEADER.ACCEPT] = HTTP_ACCEPT_HEADER_VALUE - headers[HTTPHEADER.ACCEPT_ENCODING] = HTTP_ACCEPT_ENCODING_HEADER_VALUE + headers[HTTPHEADER.ACCEPT_ENCODING] = HTTP_ACCEPT_ENCODING_HEADER_VALUE if method != HTTPMETHOD.HEAD else "identity" headers[HTTPHEADER.HOST] = host or getHostHeader(url) if auxHeaders: