#12544: Bogus If-Modified-Since header causes 500 in django.views.static.serve
------------------------------------+---------------------------------------
          Reporter:  akaihola       |         Owner:  nobody
            Status:  new            |     Milestone:        
         Component:  HTTP handling  |       Version:  SVN   
        Resolution:                 |      Keywords:  static
             Stage:  Unreviewed     |     Has_patch:  1     
        Needs_docs:  0              |   Needs_tests:  0     
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Changes (by akaihola):

  * needs_better_patch:  => 0
  * has_patch:  0 => 1
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 The patch fixes the server error by responding with "not modified" to
 requests with a bogus `If-Modified-Since` value. It also adds test cases
 for `If-Modified-Since` values
  * which are earlier than the mtime of the file
  * which are later than the mtime of the file
  * which are invalid

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12544#comment:1>
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