mirror of
https://github.com/django/django.git
synced 2025-11-03 05:13:23 +00:00
Fixed #30812 -- Made ConditionalGetMiddleware set ETag only for responses with non-empty content.
This commit is contained in:
parent
3cd3bebe89
commit
ee6b17187f
3 changed files with 11 additions and 1 deletions
|
|
@ -248,6 +248,10 @@ Miscellaneous
|
|||
``/`` if not set). This change should not affect settings set to valid URLs
|
||||
or absolute paths.
|
||||
|
||||
* :class:`~django.middleware.http.ConditionalGetMiddleware` no longer adds the
|
||||
``ETag`` header to responses with an empty
|
||||
:attr:`~django.http.HttpResponse.content`.
|
||||
|
||||
.. _deprecated-features-3.1:
|
||||
|
||||
Features deprecated in 3.1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue