Hi, One of the tracker items: 735515 mentions that urllib should cache 301 and 302 redirections.
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.
I am trying to understand, what does it mean. Should the original url be avaiable to the user upon request as urllib automatically calls the redirect_request and provides the redirected url only?
I am not completely getting what "cache - redirection" implies and what should be done with the urllib2 module. Any pointers?
-- O.R.Senthil Kumaran http://uthcode.sarovar.org