We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1354ec5 commit 04ea29fCopy full SHA for 04ea29f
asposecellscloud/rest.py
@@ -58,14 +58,15 @@ def getheaders(self):
58
"""
59
Returns a dictionary of the response headers.
60
61
- return self.urllib3_response.getheaders()
+ # return self.urllib3_response.getheaders()
62
+ return self.urllib3_response.headers
63
64
def getheader(self, name, default=None):
65
66
Returns a given response header.
67
- return self.urllib3_response.getheader(name, default)
68
-
+ # return self.urllib3_response.getheader(name, default)
69
+ return self.urllib3_response.headers.get(name, default)
70
71
class RESTClientObject(object):
72
0 commit comments