Skip to content

Commit

Permalink
Better POSTER header compatibility (Fixes #13)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Reitz committed Mar 6, 2011
1 parent c6acfef commit 9fdee25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requests/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def send(self, anyway=False):
req = _Request(self.url, data=self._enc_data, method=self.method)

if self.headers:
req.headers = self.headers
req.headers.update(self.headers)

if not self.sent or anyway:
try:
Expand Down

0 comments on commit 9fdee25

Please sign in to comment.