#4071: cache_page decorator sets wrong Cache-Control header
-------------------------------------------------------------+--------------
   Reporter:  Ionut Ciocirlan (xlotlu) <[EMAIL PROTECTED]>  |                
Owner:  jacob       
     Status:  new                                            |            
Component:  Cache system
    Version:  SVN                                            |           
Resolution:              
   Keywords:                                                 |                
Stage:  Accepted    
  Has_patch:  1                                              |           
Needs_docs:  0           
Needs_tests:  0                                              |   
Needs_better_patch:  0           
-------------------------------------------------------------+--------------
Comment (by njharman):

 I don't even see why code is bothering to convert existing keys to
 underscores.  New patch attached that solves first problem better.
 
 I wonder if the original intent was to only add keys if they didn't
 already exist.  In effect making whoever set first wins.  Might be
 indirect solution to 2nd problem as it looks like cache_page decorator is
 sets it values before cache manager middleware

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4071#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to