Skip to content
Myr

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

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 fed17cb, 1ecb593 · Browse files · 1 file+2 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+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:requests/utils.py+2 added
148 unmodified lines
149 :param headers: dictionary to extract encoding from.150 """151152 content_type = headers.get('content-type')153 if not content_type :154 return155 content_type, params = cgi.parse_header(content_type)156157 if 'charset' in params:158 return params['charset'].strip("'\"")
59 unmodified lines