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:
6cc24a1
)
change default accept-encoding
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 23 Sep 2012 17:41:54 +0000
(12:41 -0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 23 Sep 2012 17:41:54 +0000
(12:41 -0500)
http://blogs.operationaldynamics.com/andrew/software/research/testing-re
stful-apis-with-httpie
requests/defaults.py
patch
|
blob
|
history
diff --git
a/requests/defaults.py
b/requests/defaults.py
index 4e862d67b1fee78740ddc4ba398adb44974ec7d6..91d038bcb14e126c13ff3a31f194d41002f26bdd 100644
(file)
--- a/
requests/defaults.py
+++ b/
requests/defaults.py
@@
-32,7
+32,7
@@
defaults = dict()
defaults['base_headers'] = {
'User-Agent': default_user_agent(),
- 'Accept-Encoding': ', '.join(('
identity', 'deflate', 'compress', 'gzip
')),
+ 'Accept-Encoding': ', '.join(('
gzip', 'deflate', 'compress
')),
'Accept': '*/*'
}