summaryrefslogtreecommitdiff
path: root/wsgitools
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2009-06-24 17:52:22 +0200
committerHelmut Grohne <helmut@subdivi.de>2009-06-24 17:52:22 +0200
commitb9c705c8d934748f54224f3f6c6c942d11fbe5e7 (patch)
treed28505b5fe7b22b6c5d5c83a52702eda5bc6103d /wsgitools
parent2182bacb7e82b428bf5b5a994ca09dec45556c94 (diff)
downloadwsgitools-b9c705c8d934748f54224f3f6c6c942d11fbe5e7.tar.gz
auth_response should not return ValueError in digest
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))