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 ambarish, benjamin.peterson, orsenthil
Date 2008-05-16.02:36:42
SpamBayes Score 0.12809145
Marked as misclassified No
Message-id <1210905430.81.0.209799252269.issue2868@psf.upfronthosting.co.za>
In-reply-to
Content
Here is my analysis:

>>> import urllib2
>>> url = "http://www.mercurynews.com/ci_9216417"
>>> content = urllib2.urlopen(url).read()
>>> print content

>>> opened = urllib2.urlopen(url)
>>> print opened.geturl()
https://secure.passport.mnginteractive.com/mngi/servletDispatch/ErightsPassportServlet.dyn?url=http://www.mercurynews.com/ci_9216417?nclick_check=1&forced=true

# This URL Redirection is a 302 Redirection. 
# Browser is "unable" to launch the redirected site.
https://secure.passport.mnginteractive.com/mngi/servletDispatch/ErightsPassportServlet.dyn?url=http://www.mercurynews.com/ci_9216417?nclick_check=1&forced=true
# Logically, the urllib /urllib2 is giving a Blank when reading this site.

I would't entire say urllib2's fault before understanding how FF is
handling the redirection of the first site.
1) Open the site mentioned in the Location of 302, you will experience
the same behaviour as 302.

It seems more of an issue at server end, we have to know how, Firefox is
handling at the first place.
History
Date User Action Args
2008-05-16 02:37:11orsenthilsetspambayes_score: 0.128091 -> 0.12809145
recipients: + orsenthil, benjamin.peterson, ambarish
2008-05-16 02:37:11orsenthilsetspambayes_score: 0.128091 -> 0.128091
messageid: <1210905430.81.0.209799252269.issue2868@psf.upfronthosting.co.za>
2008-05-16 02:36:50orsenthillinkissue2868 messages
2008-05-16 02:36:49orsenthilcreate