Commit ff871226 authored by Georg Brandl's avatar Georg Brandl

Patch #1667860: Fix UnboundLocalError in urllib2.

parent 04233ee5
This diff is collapsed.
......@@ -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?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment