Skip to content

Commit

Permalink
Fix dict update of request headers (#460)
Browse files Browse the repository at this point in the history
PR for #459
  • Loading branch information
epif4nio authored Apr 9, 2024
1 parent 7358148 commit 9af0d86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GeoHealthCheck/plugins/probe/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,7 @@ def get_request_headers(self):
# self.REQUEST_HEADERS['content-type'].format(**content_type)
# Hmm seems simpler
headers = Probe.get_request_headers(self)
return headers.update(
headers.update(
{'Content-Type': self._parameters['content_type']})

return headers

0 comments on commit 9af0d86

Please sign in to comment.