Skip to content

Commit

Permalink
convert header value to str in case its an int or other simple type.
Browse files Browse the repository at this point in the history
  • Loading branch information
tedchamb committed May 20, 2019
1 parent 3fd8bec commit 19b21ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-devops/azure/devops/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _send(self, http_method, location_id, version, route_values=None,
'Accept': accept_media_type + ';api-version=' + negotiated_version}
if additional_headers is not None:
for key in additional_headers:
headers[key] = additional_headers[key]
headers[key] = str(additional_headers[key])
if self.config.additional_headers is not None:
for key in self.config.additional_headers:
headers[key] = self.config.additional_headers[key]
Expand Down

0 comments on commit 19b21ac

Please sign in to comment.