#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
Keywords: static | Stage: Unreviewed
Has_patch: 0 |
---------------------------+------------------------------------------------
Every now and then I get requests with a bogus `If-Modified-Since` header
like
{{{
If-Modified-Since: Fri, 34 Feb 3118 24:34:19 GMT
}}}
These cause a server error.
Since invalid dates are most certainly only used by malicious clients, it
would probably be safe to respond with a "not modified" HTTP response.
--
Ticket URL: <http://code.djangoproject.com/ticket/12544>
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.