mirror of
https://opendev.org/x/pyghmi
synced 2025-01-27 19:37:44 +00:00
Merge "Fix webclient viability after error"
This commit is contained in:
commit
f354a3cc2c
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user