How do I avoid using HTTPRedirectHandler with urllib2?

Mukherjee, Pratip Pratip.Mukherjee at FMR.COM
Tue Jun 17 14:57:41 CEST 2008

I am new to Python, trying it as an alternative to Perl. I am having
problem with python HTTP handling library, urllib2. How do I avoid using
the HTTPRedirectHandler while making a HTTP request? For those familiar
to Perl-LWP, this is done by using simple_request() on the UserAgent

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list