projects
/
services
/
python-requests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5592ce
)
Fixes an issue with auth and redirects
author
David Fischer
<djfische@gmail.com>
Thu, 3 Nov 2011 06:29:31 +0000
(23:29 -0700)
committer
David Fischer
<djfische@gmail.com>
Thu, 3 Nov 2011 06:29:31 +0000
(23:29 -0700)
requests/models.py
patch
|
blob
|
history
diff --git
a/requests/models.py
b/requests/models.py
index fd74ed5411779f146d07f9d3bc3d3d016500d854..5da414afd6bba7183c1a23b98f4e0897fc7e8d26 100644
(file)
--- a/
requests/models.py
+++ b/
requests/models.py
@@
-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)