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:
0a8bb2e
)
more info
author
Kenneth Reitz
<me@kennethreitz.com>
Wed, 28 Dec 2011 07:51:49 +0000
(
02:51
-0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Wed, 28 Dec 2011 07:51:49 +0000
(
02:51
-0500)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
6311f4c
..
1d842e6
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-128,6
+128,7
@@
class Request(object):
else:
headers = CaseInsensitiveDict()
+ # Add configured base headers.
for (k, v) in self.config.get('base_headers', {}).items():
if k not in headers:
headers[k] = v