Skip to content
Myr

keepalive => keep_alive

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

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 4cd54d2 · Browse files · 1 file+2 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+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:requests/sessions.py+2 added-2 removed
118 unmodified lines
119 if k not in _kwargs:120 _kwargs[k] = v121122 # Add in PoolManager, if neccesary.123 if self.config.get('keepalive'):123 if self.config.get('keep_alive'):124 _kwargs['_pools'] = self.__pools125126 # TODO: Persist cookies.127 # print self.cookies
2 unmodified lines
130 # print '%%%'131132 r = func(*args, **_kwargs)133 # print r.cookies134 self.cookies.update(r.cookies)134 self.cookies.update(r.cookies or {})135 return r136 return wrapper_func137138 # Map and decorate each function available in requests.api
7 unmodified lines