diff options
| author | django-bot <ops@djangoproject.com> | 2025-07-22 20:41:41 -0700 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 20:17:55 -0300 |
| commit | 69a93a88edb56ba47f624dac7a21aacc47ea474f (patch) | |
| tree | f57507a4435d032493cae40e06ecb254790b67b2 /django/middleware/http.py | |
| parent | 55b0cc21310b76ce4018dd793ba50556eaf0af06 (diff) | |
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
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): |
