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:
f8e2d0e
)
thanks, @sigmavirus24
author
Kenneth Reitz
<me@kennethreitz.com>
Sun, 23 Dec 2012 06:45:49 +0000
(
01:45
-0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sun, 23 Dec 2012 06:45:49 +0000
(
01:45
-0500)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index
2cf1b7b
..
9ddea45
100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-443,7
+443,8
@@
class Response(object):
@property
def apparent_encoding(self):
- """The apparent encoding, provided by the lovely Charade library."""
+ """The apparent encoding, provided by the lovely Charade library
+ (Thanks, Ian!)."""
return chardet.detect(self.content)['encoding']
def iter_content(self, chunk_size=1, decode_unicode=False):