move digest to new register_hook

#372
This commit is contained in:
Kenneth Reitz
2012-01-21 07:14:26 -05:00
parent a3b26c7e5b
commit 5f44d79729
+1 -1
View File
@@ -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