Opened 8 years ago

Last modified 6 years ago

#27226 closed Cleanup/optimization

cache.patch_response_headers() adds ETag and Last-Modified to the response — at Initial Version

Reported by: Rinat Khabibiev Owned by: Rinat Khabibiev
Component: HTTP handling Version: 1.10
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

cache.patch_response_headers() adds ETag and Last-Modified headers to the response while it is not it's responsibility. There are etag and last_modified decorators in django.views.decorators.http module to work with such headers.

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top