Skip to content
Myr

attach hooks to Request

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 e102c1b · 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/api.py+2 added-2 removed
48 unmodified lines
49 files = files,50 auth = auth,51 timeout = timeout or config.settings.timeout,52 allow_redirects = allow_redirects,53 proxies = proxies or config.settings.proxies53 proxies = proxies or config.settings.proxies,54 )5556 args = dispatch_hook('args', hooks, args)5758 r = Request(**args)58 r = Request(hooks=hooks, **args)5960 r.send()6162 return r.response
104 unmodified lines