Message97161
> 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. |
|
| Date |
User |
Action |
Args |
| 2010-01-03 12:45:47 | pitrou | set | recipients:
+ pitrou, jjlee, orsenthil, vila, r.david.murray |
| 2010-01-03 12:45:47 | pitrou | set | messageid: <1262522747.09.0.716477375201.issue1755841@psf.upfronthosting.co.za> |
| 2010-01-03 12:45:46 | pitrou | link | issue1755841 messages |
| 2010-01-03 12:45:45 | pitrou | create | |
|