diff options
| author | Denis Cornehl <syphar@fastmail.fm> | 2016-04-03 12:15:10 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-10-10 14:55:59 -0400 |
| commit | a840710e1e38bc9e55412bb36eca92eff94ebd2c (patch) | |
| tree | b6ab8b8456eea42645949cb46114fbab50aae0fa /docs/releases | |
| parent | 46a3d7604e7fecde8df02ec363200ec5e0ce894e (diff) | |
Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ConditionalGetMiddleware.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/1.11.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index ff77ebeabb..3be654eff5 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -327,6 +327,9 @@ Requests and Responses * Added the :setting:`SECURE_HSTS_PRELOAD` setting to allow appending the ``preload`` directive to the ``Strict-Transport-Security`` header. +* :class:`~django.middleware.http.ConditionalGetMiddleware` now adds the + ``ETag`` header to responses. + Serialization ~~~~~~~~~~~~~ @@ -633,3 +636,9 @@ Miscellaneous * :func:`~django.contrib.auth.authenticate` now passes a ``request`` argument to the ``authenticate()`` method of authentication backends. Support for methods that don't accept ``request`` will be removed in Django 2.1. + +* The ``USE_ETAGS`` setting is deprecated in favor of + :class:`~django.middleware.http.ConditionalGetMiddleware` which now adds the + ``ETag`` header to responses regardless of the setting. ``CommonMiddleware`` + and ``django.utils.cache.patch_response_headers()`` will no longer set ETags + when the deprecation ends. |
