Skip to content
Myr

Revert "Use utf-8 as the default encoding"

Before adoption: this commit came in with the history the project adopted, so no landing records it.

This reverts commit 35d5ac6e8f5f4357f945b8c4890388207f7f1c00.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent a453a78 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/models.py+1 added-1 removed
792 unmodified lines
793 return detected.get('encoding')794795 # Trust that chardet isn't available or something went terribly wrong.796 except Exception:797 return 'utf-8'797 pass798799 @property800 def text(self):801 """Content of the response, in unicode.
52 unmodified lines