New submission from Chris Boyle <ch...@boyle.name>: The attached script, when edited to fill in valid LiveJournal credentials (or InsaneJournal, if you change the URL and user list) fails for me in a very odd way. It fetches the first two URLs quite happily, and returns a 401 on the third after querying my password manager about 6 times (always the third, no matter what the user list is). Rebuilding the opener each time around the loop doesn't fix it. Recreating the HTTPDigestAuthHandler (and then rebuilding the opener) *does* fix it. Seems like any given instance of HTTPDigestAuthHandler fails on the third hostname.
Python package version 2.5.1-5ubuntu5.2. Haven't tried it on newer versions. ---------- components: Extension Modules files: urllib2-test.txt messages: 77965 nosy: cmb severity: normal status: open title: urllib2.HTTPDigestAuthHandler fails on third hostname? type: behavior versions: Python 2.5 Added file: http://bugs.python.org/file12377/urllib2-test.txt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4683> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com