Skip to content
Myr

settings.decode_unicode

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 4906686 · Browse files · 2 files+2 added−2 removed
This commit

State

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

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:requests/config.py+1 added-1 removed
60 unmodified lines
61settings.proxies = None62settings.verbose = None63settings.timeout = None64settings.max_redirects = 3065settings.allow_unicode = True65settings.decode_unicode = True6667#: Use socket.setdefaulttimeout() as fallback?68settings.timeout_fallback = True
modified:requests/models.py+1 added-1 removed
451 unmodified lines
452 except zlib.error:453 pass454455 # Decode unicode content.456 if settings.allow_unicode:456 if settings.decode_unicode:457 self._content = get_unicode_from_response(self)458459 return self._content460
192 unmodified lines