diff --git a/pyghmi/util/webclient.py b/pyghmi/util/webclient.py index 360aec51..b3629701 100644 --- a/pyghmi/util/webclient.py +++ b/pyghmi/util/webclient.py @@ -213,7 +213,7 @@ class SecureHTTPConnection(httplib.HTTPConnection, object): dlheaders = self.stdheaders.copy() if 'Accept-Encoding' in dlheaders: del dlheaders['Accept-Encoding'] - webclient.request('GET', url) + webclient.request('GET', url, headers=dlheaders) rsp = webclient.getresponse() self._currdl = rsp self._dlfile = file