Skip to content

Commit

Permalink
Merge pull request #397 from DataDog/nick/fix_headers
Browse files Browse the repository at this point in the history
Extend response headers to response
  • Loading branch information
nmuesch authored Jun 10, 2019
2 parents d22eec7 + 26f771a commit 8c50a4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datadog/api/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ def submit(cls, method, path, api_version=None, body=None, attach_host_name=Fals
response_obj = None

if response_obj:
response_obj['response_headers'] = response_headers
for response in response_obj:
response['response_headers'] = response_headers

if response_formatter is None:
return response_obj
Expand Down

0 comments on commit 8c50a4a

Please sign in to comment.