[Patches] [ python-Patches-731153 ] redirect fails in urllib2

SourceForge.net noreply@sourceforge.net
Thu, 01 May 2003 21:58:05 -0700


Patches item #731153, was opened at 2003-05-01 21:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=731153&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: David Lewis (davidmlewis)
Assigned to: Nobody/Anonymous (nobody)
Summary: redirect fails in urllib2

Initial Comment:
There were two simple errors in urllib2's redirection code. In two 
cases, req.method was being invoked when the author meant 
req.get_method. The second error was the failure to make the 
redirected URL available to the redirect handler; I passed it as a 
parameter, but it could have been added as another instance variable.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=731153&group_id=5470