From b9c705c8d934748f54224f3f6c6c942d11fbe5e7 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Wed, 24 Jun 2009 17:52:22 +0200 Subject: auth_response should not return ValueError in digest --- wsgitools/digest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3