- `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.
* status: new => assigned
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => syphar
* needs_docs: => 0
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/24935#comment:1>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/24935#comment:2>
* needs_better_patch: 0 => 1
Comment:
Feedback left on [https://github.com/django/django/pull/4804 the pull
request].
--
Ticket URL: <https://code.djangoproject.com/ticket/24935#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"7a40fef17ab7918cbb1ddc3ba080f42b420f7a48" 7a40fef]:
{{{
#!CommitTicketReference repository=""
revision="7a40fef17ab7918cbb1ddc3ba080f42b420f7a48"
Fixed #24935 -- Refactored common conditional GET handling.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24935#comment:4>