Skip to content

Commit 9af0d86

Browse files
authored
Fix dict update of request headers (#460)
PR for #459
1 parent 7358148 commit 9af0d86

File tree

1 file changed

+3
-1
lines changed
  • GeoHealthCheck/plugins/probe

1 file changed

+3
-1
lines changed

GeoHealthCheck/plugins/probe/http.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,7 @@ def get_request_headers(self):
8989
# self.REQUEST_HEADERS['content-type'].format(**content_type)
9090
# Hmm seems simpler
9191
headers = Probe.get_request_headers(self)
92-
return headers.update(
92+
headers.update(
9393
{'Content-Type': self._parameters['content_type']})
94+
95+
return headers

0 commit comments

Comments
 (0)