Patch #1667860: Fix UnboundLocalError in urllib2.

This commit is contained in:
Georg Brandl 2007-06-07 13:34:10 +00:00
parent 04233ee5e1
commit ff8712263d
2 changed files with 302 additions and 1 deletions

View file

@ -949,7 +949,7 @@ class AbstractDigestAuthHandler:
respdig = KD(H(A1), "%s:%s" % (nonce, H(A2)))
else:
# XXX handle auth-int.
pass
raise URLError("qop '%s' is not supported." % qop)
# XXX should the partial digests be encoded too?