diff options
Diffstat (limited to 'django/middleware/http.py')
| -rw-r--r-- | django/middleware/http.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/django/middleware/http.py b/django/middleware/http.py index 84c5466bb6..72ef52a126 100644 --- a/django/middleware/http.py +++ b/django/middleware/http.py @@ -6,8 +6,9 @@ from django.utils.http import parse_http_date_safe class ConditionalGetMiddleware(MiddlewareMixin): """ Handle conditional GET operations. If the response has an ETag or - Last-Modified header and the request has If-None-Match or If-Modified-Since, - replace the response with HttpNotModified. Add an ETag header if needed. + Last-Modified header and the request has If-None-Match or + If-Modified-Since, replace the response with HttpNotModified. Add an ETag + header if needed. """ def process_response(self, request, response): |
