Skip to content

Commit 94c4552

Browse files
committed
Merge "integration_2025-12-09_1091084378882" into "rds_postgresql-Python-2022-01-01-online-1920-2025_12_08_15_35_05"
Conflicts: meta.json setup.py volcenginesdkcore/api_client.py volcenginesdkcore/configuration.py
2 parents 6f7160f + a745e82 commit 94c4552

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

volcenginesdkcore/rest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ def __init__(self, resp):
3535

3636
def getheaders(self):
3737
"""Returns a dictionary of the response headers."""
38-
return self.urllib3_response.getheaders()
38+
return self.urllib3_response.headers
3939

4040
def getheader(self, name, default=None):
4141
"""Returns a given response header."""
42-
return self.urllib3_response.getheader(name, default)
42+
return self.urllib3_response.headers.get(name, default)
4343

4444

4545
def log_request(method, url, query_params, headers, body, post_params, request_time_out):

0 commit comments

Comments
 (0)