mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Patch #1667860: Fix UnboundLocalError in urllib2.
This commit is contained in:
parent
04233ee5e1
commit
ff8712263d
2 changed files with 302 additions and 1 deletions
|
@ -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?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue