diff options
author | Georg Brandl <georg@python.org> | 2006-05-08 17:36:08 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2006-05-08 17:36:08 (GMT) |
commit | b5f2e5cc50a5eab06d36e25d7edc137eae454518 (patch) | |
tree | 9a1325ff52ef8f5a2abd08487b7c788f5f70e35a /Lib/urllib2.py | |
parent | a166a91659795b97144bbd9f1c2adf89c8adc694 (diff) | |
download | cpython-b5f2e5cc50a5eab06d36e25d7edc137eae454518.zip cpython-b5f2e5cc50a5eab06d36e25d7edc137eae454518.tar.gz cpython-b5f2e5cc50a5eab06d36e25d7edc137eae454518.tar.bz2 |
Patch #1479302: Make urllib2 digest auth and basic auth play together.
Diffstat (limited to 'Lib/urllib2.py')
-rw-r--r-- | Lib/urllib2.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/urllib2.py b/Lib/urllib2.py index 8d38504..5948376 100644 --- a/Lib/urllib2.py +++ b/Lib/urllib2.py @@ -846,9 +846,6 @@ class AbstractDigestAuthHandler: scheme = authreq.split()[0] if scheme.lower() == 'digest': return self.retry_http_digest_auth(req, authreq) - else: - raise ValueError("AbstractDigestAuthHandler doesn't know " - "about %s"%(scheme)) def retry_http_digest_auth(self, req, auth): token, challenge = auth.split(' ', 1) |