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 ebf8256..5be017a 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):