[ python-Feature Requests-735515 ] urllib / urllib2 should cache 301 redirections

SourceForge.net noreply at sourceforge.net
Fri Jul 6 15:27:16 CEST 2007


Feature Requests item #735515, was opened at 2003-05-10 05:51
Message generated for change (Comment added) made by orsenthil
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=735515&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John J Lee (jjlee)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib / urllib2 should cache 301 redirections

Initial Comment:
urllib / urllib2 should cache the results of 301 
(permanent) redirections.  This shouldn't break 
anything, since it's just an internal optimisation 
from one point of view -- but it's also what the 
RFC (2616, section 10.3.2, first para) says 
SHOULD happen. 
 

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

Comment By: O.R.Senthil Kumaran (orsenthil)
Date: 2007-07-06 18:57

Message:
Logged In: YES 
user_id=942711
Originator: NO

Hi gbrandll/jjlee,
I am trying to understand the actual requirements here.
Should the original url be avaiable to the user upon request as urllib
automatically calls the redirect_request and provides the redirected url
only? 

Please provide some details on this bug. I shall try to write a patch.

Thanks,
Senthil


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

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


More information about the Python-bugs-list mailing list