#27345: Stop setting the Date header in ConditionalGetMiddleware
-----------------------------------------+--------------------
Reporter: Kevin Christopher Henry | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: HTTP handling | Version: 1.10
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-----------------------------------------+--------------------
This code, dating back to 2005, doesn't seem to serve any purpose at this
time. The `Date` header is actually required on all responses, and will be
provided by the server. This is the only place in the code base where the
`Date` header is used.
This is documented behavior, but I think it can be removed without a
deprecation cycle since any affected response will continue to have a
`Date` header set by the server.
--
Ticket URL: <https://code.djangoproject.com/ticket/27345>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.fb94b597900068c147fd8dcbd972e4c6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.