mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #27346 -- Stopped setting the Content-Length header in ConditionalGetMiddleware.
This commit is contained in:
committed by
Tim Graham
parent
c7dddc01d6
commit
37809b891e
@@ -579,8 +579,10 @@ Miscellaneous
|
||||
* In the admin templates, ``<p class="help">`` is replaced with a ``<div>`` tag
|
||||
to allow including lists inside help text.
|
||||
|
||||
* ``ConditionalGetMiddleware`` no longer sets the ``Date`` header as Web
|
||||
servers set that header.
|
||||
* :class:`~django.middleware.http.ConditionalGetMiddleware` no longer sets the
|
||||
``Date`` header as Web servers set that header. It also no longer sets the
|
||||
``Content-Length`` header as this is now done by
|
||||
:class:`~django.middleware.common.CommonMiddleware`.
|
||||
|
||||
* :meth:`~django.apps.AppConfig.get_model` and
|
||||
:meth:`~django.apps.AppConfig.get_models` now raise
|
||||
|
||||
Reference in New Issue
Block a user