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 761ab22 commit ce700b9Copy full SHA for ce700b9
modules/swagger-codegen/src/main/resources/python/swagger.mustache
@@ -47,12 +47,9 @@ class ApiClient(object):
47
mergedHeaderParams.update(headerParams)
48
headers = {}
49
if mergedHeaderParams:
50
- for param, value in headerParams.iteritems():
+ for param, value in mergedHeaderParams.iteritems():
51
headers[param] = ApiClient.sanitizeForSerialization(value)
52
53
- if self.headerName:
54
- headers[self.headerName] = ApiClient.sanitizeForSerialization(self.headerValue)
55
-
56
if self.cookie:
57
headers['Cookie'] = ApiClient.sanitizeForSerialization(self.cookie)
58
0 commit comments