Senthil Kumaran <orsent...@gmail.com> added the comment: On Thu, Mar 17, 2011 at 06:30:51PM +0000, Jeff McNeil wrote:
> I went down the same path as AbstractHTTPHandler and added a Connection: > close header. This is fine for the moment, tough I wish that the TODO pending in urllib.request with HTTP1.1 persistent connection be removed soon and will require changes it other places too. > I contemplated changing urlretrieve to use build_opener as urlopen There is bug opened for this. All that would be required is output behavior of urlretrieve remain same, the implementation details (using build_opener or using urlopen itself!) may not be relevant and I think, it can be implemented using urlopen instead going through the handlers and OpenerDirector, BTW, urlretrive is a convenience function of some sort. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11563> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com