Opened 9 years ago
Closed 8 years ago
#24935 closed Cleanup/optimization (fixed)
refactor conditional GET handling
Reported by: | Denis Cornehl | Owned by: | Denis Cornehl |
---|---|---|---|
Component: | HTTP handling | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | yes |
Easy pickings: | no | UI/UX: | no |
Description
Django has currently three different places where conditional GET is handled
ConditionalGetMiddleware
@condition
(and so@etag
andlast_modified
) decoratorsCommonMiddleware
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
Change History (4)
comment:1 Changed 9 years ago by
Has patch: | set |
---|---|
Owner: | changed from nobody to Denis Cornehl |
Status: | new → assigned |
comment:2 Changed 9 years ago by
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 Changed 8 years ago by
Patch needs improvement: | set |
---|
Note: See
TracTickets for help on using
tickets.
Feedback left on the pull request.