➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients jjlee, orsenthil, pitrou, r.david.murray, vila
Date 2010-01-03.12:45:45
SpamBayes Score 0.00058336713
Marked as misclassified No
Message-id <1262522747.09.0.716477375201.issue1755841@psf.upfronthosting.co.za>
In-reply-to
Content
> Here is the corrected patch for caching the 301 redirections.
> 
> * It caches only the redirection not the response.
> * It retains cacheable=True kwarg for http_error_301 method. ( I feel, it should be useful)
> * Have made the cached dict as private.

I'm still not sure what this patch is trying to do. It seems you are using the cached URL *after* getting the 301 response. But the whole point of caching redirections is to avoid emitting the initial request at all.
History
Date User Action Args
2010-01-03 12:45:47pitrousetrecipients: + pitrou, jjlee, orsenthil, vila, r.david.murray
2010-01-03 12:45:47pitrousetmessageid: <1262522747.09.0.716477375201.issue1755841@psf.upfronthosting.co.za>
2010-01-03 12:45:46pitroulinkissue1755841 messages
2010-01-03 12:45:45pitroucreate