Skip to content
Myr

Merge pull request #1223 from andrewjesaitis/master

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

Fixes __getstate__ for session pickling

authored by Kenneth Reitz · committed by Kenneth Reitz · parents b14584f, d608453 · Browse files · 1 file+4 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+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:requests/sessions.py+4 added
174 unmodified lines
175 >>> s.get('http://httpbin.org/get')176 200177 """178179 __attrs__ = [180 'headers', 'cookies', 'auth', 'timeout', 'proxies', 'hooks', 181 'params', 'verify', 'cert', 'prefetch']182183 def __init__(self):184185 #: A case-insensitive dictionary of headers to be sent on each186 #: :class:`Request <Request>` sent from this
286 unmodified lines