Changes between Initial Version and Version 2 of Ticket #14812


Ignore:
Timestamp:
Nov 30, 2010, 9:49:35 AM (14 years ago)
Author:
Ramiro Morales
Comment:

See also #14747.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14812

    • Property Has patch set
    • Property Triage Stage UnreviewedAccepted
  • Ticket #14812 – Description

    initial v2  
    11I have faced with this issue when Opera 10.63 sent requests like that:
     2{{{
    23'HTTP_IF_MODIFIED_SINCE': ': 1291108438, Wed, 20 Oct 2010 14:05:00 GMT',
    34'HTTP_USER_AGENT': 'Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.6.30 Version/10.63'
    4 
     5}}}
    56It seems that IF_MODIFIED_SINCE header is invalid. I don't exactly why... But in RFC2616(HTTP/1.1) we can see a case: "...if the passed If-Modified-Since date is invalid, the response is exactly the same as for a normal GET". So I think, it would be better if django.contrib.staticfiles will handle this case with simple check. I've attached patch.
Back to Top