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 orsenthil
Recipients brett.cannon, mcjeff, orsenthil
Date 2011-03-18.02:30:10
SpamBayes Score 1.44871e-11
Marked as misclassified No
Message-id <20110318023003.GH3778@kevin>
In-reply-to <>
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.
Date User Action Args
2011-03-18 02:30:12orsenthilsetrecipients: + orsenthil, brett.cannon, mcjeff
2011-03-18 02:30:11orsenthillinkissue11563 messages
2011-03-18 02:30:10orsenthilcreate