diff options
author | Helmut Grohne <helmut@subdivi.de> | 2009-06-24 17:52:22 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2009-06-24 17:52:22 +0200 |
commit | b9c705c8d934748f54224f3f6c6c942d11fbe5e7 (patch) | |
tree | d28505b5fe7b22b6c5d5c83a52702eda5bc6103d | |
parent | 2182bacb7e82b428bf5b5a994ca09dec45556c94 (diff) | |
download | wsgitools-b9c705c8d934748f54224f3f6c6c942d11fbe5e7.tar.gz |
auth_response should not return ValueError in digest
-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)) |