[issue12628] urllib.request.urlopen gives empty response bodies for some sites

2011-07-23 Thread Ezio Melotti
Ezio Melotti added the comment: Duplicate of #12576. -- nosy: +ezio.melotti resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> urlib.request fails to open some sites ___ Python tracker

[issue12628] urllib.request.urlopen gives empty response bodies for some sites

2011-07-23 Thread Roy Liu
New submission from Roy Liu : When testing urllib.request.urlopen in Python 3, I found that it gave empty responses for some sites. In other words, reading from the file-like object gives zero bytes. Python 2.x's urllib2.urlopen did not give this behavior. I isolated the problem down to the fo