Newbie problem with HTTP Redirection in Python 2.4 urllib2
John J. Lee
jjl at pobox.com
Mon Jul 12 00:06:53 CEST 2004
sriram_2001spam at yahoo.co.in (Sriram Krishnan) writes:
> I've just downloaded the alpha of Python 2.4 and I'm not able to get
> HTTP Redirection to work - even the examples are failing for me. They
> all give the same error message (whenever a site issues a HTTP 302)
This is broken in 2.4a1, and was fixed in CVS on Saturday's bug day.
If you want cookie handling now, I'm pretty sure you can just grab
cookielib.py and urllib2.py from CVS and use them with 2.3.
Alternatively, use ClientCookie (cookielib is a tidied-up version of
More information about the Python-list