Skip to content
Myr

stylee

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 6a23625 · Browse files · 1 file+3 added−1 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+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:requests/sessions.py+3 added-1 removed
161 unmodified lines
162 config=config,163 _poolmanager=self.poolmanager164 )165166 # Merge local kwargs with session kwargs.167 for attr in self.__attrs__:168 session_val = getattr(self, attr, None)169 local_val = args.get(attr)170171 args[attr] = merge_kwargs(local_val, session_val)172172173 # Arguments manipulation hook.174 args = dispatch_hook('args', args['hooks'], args)175176 # Create the (empty) response.177 r = Request(**args)178179 # Give the response some context.180 r.session = self181182 # Don't send if asked nicely.183 if not return_response:
93 unmodified lines