mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user