Skip to content
Myr

hooks fix #227

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 6140fac · Browse files · 1 file+2 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+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:requests/sessions.py+2 added-1 removed
159 unmodified lines
160 local_val = args.get(attr)161162 args[attr] = merge_kwargs(local_val, session_val)163164165 # Arguments manipulation hook.165 args = dispatch_hook('args', hooks, args)166 args = dispatch_hook('args', args['hooks'], args)167168 r = Request(**args)169170 # Don't send if asked nicely.
79 unmodified lines