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 ambarish
Recipients ambarish
Date 2008-05-15.17:34:13
SpamBayes Score 0.31137297
Marked as misclassified No
Message-id <1210872918.44.0.781386707742.issue2868@psf.upfronthosting.co.za>
In-reply-to
Content
I have the following code:

import urllib
u = 'http://www.mercurynews.com/ci_9216417'
h = urllib.urlopen(u).read()
print h
# Get an empty string
#(can use urllib2 also - get the same behavior)

If I visit the same page with my browser, get the contents of the page
(after some redirects...)
History
Date User Action Args
2008-05-15 17:35:22ambarishsetspambayes_score: 0.311373 -> 0.31137297
recipients: + ambarish
2008-05-15 17:35:18ambarishsetspambayes_score: 0.311373 -> 0.311373
messageid: <1210872918.44.0.781386707742.issue2868@psf.upfronthosting.co.za>
2008-05-15 17:34:25ambarishlinkissue2868 messages
2008-05-15 17:34:23ambarishcreate