Skip to content

Commit

Permalink
GH #755 - Outgoing headers are optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuch committed Sep 21, 2023
1 parent 9f5f90a commit b004cc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def http_request(
data = urlencode(data)

# .. check if we have custom headers on input ..
headers = kwargs.pop('headers') or {}
headers = kwargs.pop('headers', None) or {}

# .. build a default set of headers now ..
headers = self._create_headers(cid, headers)
Expand Down

0 comments on commit b004cc8

Please sign in to comment.