Skip to content

Commit 04ea29f

Browse files
committed
Release Aspose.Cells Cloud SDK 23.6
1 parent 1354ec5 commit 04ea29f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

asposecellscloud/rest.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,15 @@ def getheaders(self):
5858
"""
5959
Returns a dictionary of the response headers.
6060
"""
61-
return self.urllib3_response.getheaders()
61+
# return self.urllib3_response.getheaders()
62+
return self.urllib3_response.headers
6263

6364
def getheader(self, name, default=None):
6465
"""
6566
Returns a given response header.
6667
"""
67-
return self.urllib3_response.getheader(name, default)
68-
68+
# return self.urllib3_response.getheader(name, default)
69+
return self.urllib3_response.headers.get(name, default)
6970

7071
class RESTClientObject(object):
7172

0 commit comments

Comments
 (0)