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:
a3b26c7
)
move digest to new register_hook
author
Kenneth Reitz
<me@kennethreitz.com>
Sat, 21 Jan 2012 12:14:26 +0000
(07:14 -0500)
committer
Kenneth Reitz
<me@kennethreitz.com>
Sat, 21 Jan 2012 12:14:26 +0000
(07:14 -0500)
#372
requests/auth.py
patch
|
blob
|
history
diff --git
a/requests/auth.py
b/requests/auth.py
index
8ae2ec6
..
d1da4ee
100644
(file)
--- a/
requests/auth.py
+++ b/
requests/auth.py
@@
-134,5
+134,5
@@
class HTTPDigestAuth(AuthBase):
return r
def __call__(self, r):
- r.
hooks['response'] = self.handle_401
+ r.
register_hook('response', self.handle_401)
return r