<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6620.1">
<TITLE>How do I avoid using HTTPRedirectHandler with urllib2?</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>

<BR><FONT SIZE=2 FACE="Arial">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.</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Thanks.</FONT>
</P>

</BODY>
</HTML>