Skip to content
Myr

Merge branch 'develop' of https://github.com/jgorset/requests into redsea

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 · parents efd2b57, a0ae2e6 · Browse files · 1 file+3 added−0 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+3 added−0 removed

  • other:+3 added−0 removed

1 file+3 added−0 removed

modified:requests/utils.py+3 added
274 unmodified lines
275276 if 'charset' in params:277 return params['charset'].strip("'\"")278279 if 'text' in content_type:280 return 'ISO-8859-1'281282283def unicode_from_html(content):284 """Attempts to decode an HTML string into unicode.285 If unsuccessful, the original content is returned.286 """
115 unmodified lines