diff options
| author | Anton Samarchyan <anton.samarchyan@savoirfairelinux.com> | 2017-01-24 15:37:33 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-03-04 10:02:06 -0500 |
| commit | 86de930f413e0ad902e11d78ac988e6743202ea6 (patch) | |
| tree | 790dcc4c38125b619ffee76b5531155d0d8232f4 /django/middleware/gzip.py | |
| parent | 6ae1b04fb584db0fdb22b8e287784c4ed3ac62ac (diff) | |
Refs #27656 -- Updated remaining docstring verbs according to PEP 257.
Diffstat (limited to 'django/middleware/gzip.py')
| -rw-r--r-- | django/middleware/gzip.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/middleware/gzip.py b/django/middleware/gzip.py index d6e2134f17..0c3905c959 100644 --- a/django/middleware/gzip.py +++ b/django/middleware/gzip.py @@ -9,8 +9,8 @@ re_accepts_gzip = re.compile(r'\bgzip\b') class GZipMiddleware(MiddlewareMixin): """ - This middleware compresses content if the browser allows gzip compression. - It sets the Vary header accordingly, so that caches will base their storage + Compress content if the browser allows gzip compression. + Set the Vary header accordingly, so that caches will base their storage on the Accept-Encoding header. """ def process_response(self, request, response): |
