Skip to content
Myr

Merge pull request #1291 from gazpachoking/dont_set_session_cookies_on_response

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

Don't set all session cookies on response.cookies

authored by Kenneth Reitz · committed by Kenneth Reitz · parents 848f2c2, 49a3664 · Browse files · 1 file+0 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+0 added−2 removed

  • other:+0 added−2 removed

1 file+0 added−2 removed

modified:requests/sessions.py-2 removed
158 unmodified lines
159160 i += 1161 yield resp162163 resp.cookies = self.cookies.copy()163165164class Session(SessionRedirectMixin):165 """A Requests session.166167 Provides cookie persistience, connection-pooling, and configuration.
338 unmodified lines