Merge pull request #1901 from mjpieters/chardet-not-charade

One last Charade reference to remove here.
This commit is contained in:
Cory Benfield
2014-02-04 00:53:53 -08:00
+1 -2
View File
@@ -593,8 +593,7 @@ class Response(object):
@property
def apparent_encoding(self):
"""The apparent encoding, provided by the lovely Charade library
(Thanks, Ian!)."""
"""The apparent encoding, provided by the chardet library"""
return chardet.detect(self.content)['encoding']
def iter_content(self, chunk_size=1, decode_unicode=False):