Skip to content
Myr

don't double decode

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 b725bfd · Browse files · 1 file+2 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+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:requests/models.py+2 added-1 removed
750 unmodified lines
751 pass752753 # Try to fall back:754 try:755 if not content:755 content = unicode(content, encoding, errors='replace')756 content = unicode(content, encoding, errors='replace')757 except UnicodeError, TypeError:758 pass759760
20 unmodified lines