Skip to content
Myr

Merge pull request #2861 from Lukasa/broken_chunked_encoding

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

Fix breakage introduced by 8f591682

authored by Ian Cordasco · committed by Ian Cordasco · parents 02576ae, c1c164b · Browse files · 1 file+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

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/adapters.py+2 added-2 removed
396 unmodified lines
397 # Receive the response from the server398 try:399 # For Python 2.7+ versions, use buffering of HTTP400 # responses401 r = conn.getresponse(buffering=True)401 r = low_conn.getresponse(buffering=True)402 except TypeError:403 # For compatibility with Python 2.6 versions and back404 r = conn.getresponse()404 r = low_conn.getresponse()405406 resp = HTTPResponse.from_httplib(407 r,408 pool=conn,
39 unmodified lines