Code

Ticket #5898: middleware-docs.diff

File middleware-docs.diff, 637 bytes (added by arien <regexbot@…>, 6 years ago)
Line 
1Index: docs/middleware.txt
2===================================================================
3--- docs/middleware.txt (revision 6668)
4+++ docs/middleware.txt (working copy)
5@@ -104,8 +104,7 @@
6 ``Last-Modified`` header, and the request has ``If-None-Match`` or
7 ``If-Modified-Since``, the response is replaced by an HttpNotModified.
8 
9-Also removes the content from any response to a HEAD request and sets the
10-``Date`` and ``Content-Length`` response-headers.
11+Also sets the ``Date`` and ``Content-Length`` response-headers.
12 
13 django.middleware.http.SetRemoteAddrFromForwardedFor
14 ----------------------------------------------------