How do I avoid using HTTPRedirectHandler with urllib2?

Mukherjee, Pratip Pratip.Mukherjee at FMR.COM
Tue Jun 17 08:57:41 EDT 2008


Hi,
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
object.
Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080617/cd67d148/attachment.html>


More information about the Python-list mailing list