Commit d2acc2e9 authored by Georg Brandl's avatar Georg Brandl

Patch #1667860: Fix UnboundLocalError in urllib2.

 (backport from rev. 55805)
parent 73c958ac
This diff is collapsed.
......@@ -948,7 +948,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