John J Lee added the comment: In what respect? I just meant that it would be nice (and more compliant with the RFC) if rather than fetching the original URL each time, a map of URLs to 301-redirected URLs was kept.
For urllib2, I suppose the map would be a private attribute of HTTPRedirectHandler. There's no obvious need to provide any interface to get the intermediate URLs in the redirection chain. ____________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue735515> ____________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com