Skip to content
Myr

Fixes #1805

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

Sure cookies are persisted to the session, but those new cookies are not added to the next prepared request. We need to update that new request's CookieJar with the new cookies.

authored by Ian Cordasco · committed by Ian Cordasco · parent 1832e33 · Browse files · 1 file+1 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+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:requests/sessions.py+1 added
153 unmodified lines
154 pass155156 extract_cookies_to_jar(prepared_request._cookies,157 prepared_request, resp.raw)158 prepared_request._cookies.update(self.cookies)159 prepared_request.prepare_cookies(prepared_request._cookies)160161 resp = self.send(162 prepared_request,
391 unmodified lines