Message131311
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:12 | orsenthil | set | recipients:
+ orsenthil, brett.cannon, mcjeff |
2011-03-18 02:30:11 | orsenthil | link | issue11563 messages |
2011-03-18 02:30:10 | orsenthil | create | |
|