Skip to content
Myr

Auth handler calls close instead of raw.close_conn

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

authored by Saimadhav Heblikar · committed by Saimadhav Heblikar · parent 4505f71 · 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/auth.py+1 added-1 removed
177 unmodified lines
178179 # Consume content and release the original connection180 # to allow our new request to reuse the same one.181 r.content182 r.raw.release_conn()182 r.close()183 prep = r.request.copy()184 extract_cookies_to_jar(prep._cookies, r.request, r.raw)185 prep.prepare_cookies(prep._cookies)186
26 unmodified lines