This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author fresh
Recipients
Date 2004-11-05.10:08:13
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=24723

This patch fixes it for me:

--- urllib2.py.cvs      Fri Nov 05 10:02:26 2004
+++ urllib2.py.new      Fri Nov 05 10:05:48 2004
@@ -720,7 +720,7 @@
                     return self.retry_http_basic_auth(host,
req, realm)

     def retry_http_basic_auth(self, host, req, realm):
-        user,pw = self.passwd.find_user_password(realm, host)
+        user,pw = self.passwd.find_user_password(realm,
req.get_full_url())
         if pw is not None:
             raw = "%s:%s" % (user, pw)
             auth = 'Basic %s' %
base64.encodestring(raw).strip()
History
Date User Action Args
2007-08-23 14:22:41adminlinkissue974757 messages
2007-08-23 14:22:41admincreate