fixed _merge_dictionaries calls in GcpSession class (#59375)
This commit is contained in:
parent
0e9f002073
commit
c24b841c0a
1 changed files with 2 additions and 2 deletions
|
@ -86,7 +86,7 @@ class GcpSession(object):
|
|||
|
||||
def post(self, url, body=None, headers=None, **kwargs):
|
||||
if headers:
|
||||
headers = self.merge_dictionaries(headers, self._headers())
|
||||
headers = self._merge_dictionaries(headers, self._headers())
|
||||
else:
|
||||
headers = self._headers()
|
||||
|
||||
|
@ -97,7 +97,7 @@ class GcpSession(object):
|
|||
|
||||
def post_contents(self, url, file_contents=None, headers=None, **kwargs):
|
||||
if headers:
|
||||
headers = self.merge_dictionaries(headers, self._headers())
|
||||
headers = self._merge_dictionaries(headers, self._headers())
|
||||
else:
|
||||
headers = self._headers()
|
||||
|
||||
|
|
Loading…
Reference in a new issue