Skip to content
Myr

typo

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

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

State

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

Trailers

  • Signed-off-by: Kenneth Reitz <me@kennethreitz.com>

Diff stats

1 file+0 added−2 removed

  • other:+0 added−2 removed

1 file+0 added−2 removed

modified:requests/models.py-2 removed
732 unmodified lines
733 encoding = self.encoding734735 # Fallback to auto-detected encoding if chardet is available.736 if self.encoding is None:737737 try:738 detected = chardet.detect(self.content) or {}739 encoding = detected.get('encoding')740741 # Trust that chardet isn't available or something went terribly wrong.742 except Exception:743 pass744746745 # Decode unicode from given encoding.746 try:747 content = unicode(self.content, encoding)748 except UnicodeError, TypeError:
30 unmodified lines