diff options
| author | Adam Malinowski <me@adammalinowski.co.uk> | 2016-11-05 12:39:46 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-11-05 22:24:54 +0100 |
| commit | 37809b891eae2e73c7e80fbf5d8b9a7e86e82b54 (patch) | |
| tree | c6d6f8713b130da71389d3bcb80889b4a20778b0 /docs/ref | |
| parent | c7dddc01d6ca8d8d89f84d26123ecb021aa2a108 (diff) | |
Fixed #27346 -- Stopped setting the Content-Length header in ConditionalGetMiddleware.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/middleware.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt index 71e888e928..e118bf14ce 100644 --- a/docs/ref/middleware.txt +++ b/docs/ref/middleware.txt @@ -181,12 +181,10 @@ header, the middleware adds one if needed. If the response has a ``ETag`` or ``If-Modified-Since``, the response is replaced by an :class:`~django.http.HttpResponseNotModified`. -Also sets ``Content-Length`` response-header. - .. versionchanged:: 1.11 - In older versions, the middleware set the ``Date`` header and didn't set - the ``ETag`` header. + In older versions, the middleware set the ``Content-Length`` and ``Date`` + headers and didn't set the ``ETag`` header. Locale middleware ----------------- |
