mirror of
https://github.com/kennethreitz/requests3.git
synced 2026-06-05 23:10:16 +00:00
Better POSTER header compatibility (Fixes #13)
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ class Request(object):
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user