Fix Setting a cookie on redirect

This commit is contained in:
Ian Cordasco
2013-02-10 17:43:37 -05:00
parent 12d66cfc41
commit 9cdc8325ae
+3
View File
@@ -136,6 +136,9 @@ class SessionRedirectMixin(object):
except KeyError:
pass
if response.headers.get('Set-Cookie'):
prepared_request.headers['Cookie'] = response.headers.get('Set-Cookie')
resp = self.send(
prepared_request,
stream=stream,