summaryrefslogtreecommitdiff
path: root/wsgitools
diff options
context:
space:
mode:
Diffstat (limited to 'wsgitools')
-rwxr-xr-xwsgitools/digest.py2
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))