[New-bugs-announce] [issue12576] urlib.request fails to open some sites

Senthil Kumaran senthil at uthcode.com
Sun Jul 17 03:29:18 CEST 2011


On Sun, Jul 17, 2011 at 12:07:44AM +0000, Ugra Dániel wrote:

> For example IMDb's "Cneonction: close" (not a typo) feature.  But

This is a mistake at the server and urllib relies on the
Connection: close header at some point in time in the process.

You could try with few other sites and see that context manager should
work.


More information about the New-bugs-announce mailing list