Fix failing tests.

This commit is contained in:
Ian Cordasco
2013-01-21 20:21:08 -05:00
parent e1c4fe21d4
commit 27e814ad76
+4
View File
@@ -275,6 +275,10 @@ class Session(SessionRedirectMixin):
# Prepare the Request.
prep = req.prepare()
# If auth hooks are present, they aren't passed to `dispatch_hook`
# As such, we need to update the original hooks dictionary with them
hooks.update(prep.hooks)
# Send the request.
resp = self.send(prep, stream=stream, timeout=timeout, verify=verify, cert=cert, proxies=proxies)