#24935: refactor conditional GET handling
--------------------------------------+--------------------
Reporter: syphar | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: HTTP handling | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
Django has currently three different places where conditional GET is
handled
- `ConditionalGetMiddleware`
- `@condition` (and so `@etag` and `last_modified`) decorators
- `CommonMiddleware`
they all do it differently.
I want to refactor this into the same shared behavior.
This is a starting point to fix some related tickets and (most likely)
deprecate and remove `settings.USE_ETAGS`
--
Ticket URL: <https://code.djangoproject.com/ticket/24935>
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/049.bffae19f66893df70704afc44d936f62%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.