diff --git a/pyghmi/util/webclient.py b/pyghmi/util/webclient.py index 9d953ce7..5c22b5ff 100644 --- a/pyghmi/util/webclient.py +++ b/pyghmi/util/webclient.py @@ -63,6 +63,8 @@ class SecureHTTPConnection(httplib.HTTPConnection, object): rsp = self.getresponse() if rsp.status == 200: return json.loads(rsp.read()) + rsp.read() + return {} def request(self, method, url, body=None, headers=None): if headers is None: