1
0
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:
Adam Malinowski
2016-11-05 12:39:46 +01:00
committed by Tim Graham
parent c7dddc01d6
commit 37809b891e
5 changed files with 7 additions and 35 deletions

View File

@@ -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