mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Fixes an issue with auth and redirects
This commit is contained in:
@@ -338,6 +338,7 @@ class Request(object):
|
||||
r = auth_func(self, *auth_args)
|
||||
|
||||
self.__dict__.update(r.__dict__)
|
||||
self.auth = auth_args
|
||||
|
||||
# Build the Urllib2 Request.
|
||||
req = _Request(url, data=data, headers=headers, method=self.method)
|
||||
|
||||
Reference in New Issue
Block a user