diff options
Diffstat (limited to 'wsgitools/digest.py')
-rwxr-xr-x | wsgitools/digest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wsgitools/digest.py b/wsgitools/digest.py index aa1dc83..f6792b9 100755 --- a/wsgitools/digest.py +++ b/wsgitools/digest.py @@ -417,7 +417,7 @@ class AuthDigestMiddleware: dig = ":".join((a1h, nonce, a2h)) else: if qop != "auth": - return ValueError + raise ValueError # raises KeyError dig = ":".join((a1h, nonce, credentials["nc"], credentials["cnonce"], qop, a2h)) |