Skip to content
Myr

Merge pull request #1916 from schlamar/accept-encoding

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

Fix Accept-Encoding in default headers

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

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:requests/utils.py+1 added-1 removed
546 unmodified lines
547548def default_headers():549 return CaseInsensitiveDict({550 'User-Agent': default_user_agent(),551 'Accept-Encoding': ', '.join(('gzip', 'deflate', 'compress')),551 'Accept-Encoding': ', '.join(('gzip', 'deflate')),552 'Accept': '*/*'553 })554555
108 unmodified lines