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.
This commit is contained in:
Ian Cordasco
2013-12-17 22:52:48 -06:00
parent 1832e33753
commit 642bbf6060
+1
View File
@@ -155,6 +155,7 @@ class SessionRedirectMixin(object):
extract_cookies_to_jar(prepared_request._cookies,
prepared_request, resp.raw)
prepared_request._cookies.update(self.cookies)
prepared_request.prepare_cookies(prepared_request._cookies)
resp = self.send(