Revert "Use utf-8 as the default encoding"
authorKenneth Reitz <me@kennethreitz.com>
Wed, 2 May 2012 06:37:51 +0000 (02:37 -0400)
committerKenneth Reitz <me@kennethreitz.com>
Wed, 2 May 2012 06:37:51 +0000 (02:37 -0400)
This reverts commit 35d5ac6e8f5f4357f945b8c4890388207f7f1c00.

requests/models.py

index ebf8256c5c82ead26fb8cb8fd2e9e78a8cb8012e..5be017ac649a6303c536d2018377a66e5f989c6b 100644 (file)
@@ -794,7 +794,7 @@ class Response(object):
 
         # Trust that chardet isn't available or something went terribly wrong.
         except Exception:
-            return 'utf-8'
+            pass
 
     @property
     def text(self):