#11997: cache_control returns 200 OK response even page has not been changed.
--------------------------+-------------------------------------------------
 Reporter:  jtiai         |       Owner:  nobody    
   Status:  new           |   Milestone:            
Component:  Cache system  |     Version:  SVN       
 Keywords:                |       Stage:  Unreviewed
Has_patch:  0             |  
--------------------------+-------------------------------------------------
 Provided code:
 {{{
 @cache_control(must_revalidate=True)
 @cache_page(60 * 60)
 def myview(request)
     return HttpResponse('test')
 }}}

 Symptoms:
 Returns always 200 OK response and complete cached content. Modified since
 and modified dates and ETags in request and response headers do match.

 Correct behavior:
 Return value 304 Not Modified if cache conditions are met and do not fetch
 data from cache nor execute view.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11997>
Django <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