Use user supplied options when resending authenticated requests
authorMichael Komitee <mkomitee@gmail.com>
Thu, 14 Feb 2013 00:11:38 +0000 (19:11 -0500)
committerMichael Komitee <mkomitee@gmail.com>
Thu, 14 Feb 2013 00:11:38 +0000 (19:11 -0500)
commitd0285fac4203e8cfed6b5ceeb96b2646076e745d
tree8fd45eca442b9041f7817eff2906a36354401299
parentf73bda06e95589fb48a3ec974b4f3cfb3a0b9038
Use user supplied options when resending authenticated requests

Hooks sometimes have to send requests (e.g. when responding to a 401 during
authentication).

All keyword arguments should be passed along when hooks are dispatched so that
if a user wanted to use a timeout, stream, specify a cert location with the
verify flag, etc, their specification can be followed.
requests/auth.py
requests/hooks.py
requests/sessions.py