Skip to content
Myr

Merge pull request #814 from asapo/develop

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

import cchardet if available

authored by Kenneth Reitz · committed by Kenneth Reitz · parents ace8939, fc9b8a0 · Browse files · 1 file+4 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+4 added−1 removed

  • other:+4 added−1 removed

1 file+4 added−1 removed

modified:requests/compat.py+4 added-1 removed
87 unmodified lines
88 from urllib2 import parse_http_list89 import cookielib90 from Cookie import Morsel91 from StringIO import StringIO92 try:93 import cchardet as chardet94 except ImportError:92 from .packages import chardet95 from .packages import chardet9697 builtin_str = str98 bytes = str99 str = unicode
18 unmodified lines