projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6acfef
)
Better POSTER header compatibility (Fixes #13)
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 6 Mar 2011 23:48:44 +0000
(18:48 -0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 6 Mar 2011 23:48:44 +0000
(18:48 -0500)
requests/core.py
patch
|
blob
|
history
diff --git
a/requests/core.py
b/requests/core.py
index b426a4e93234d25e7633044f60ebbd569e603361..22c25d22e77963c9f52360c0209bd114e4bb1572 100644
(file)
--- a/
requests/core.py
+++ b/
requests/core.py
@@
-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: