diff options
Diffstat (limited to 'django/middleware/gzip.py')
-rw-r--r-- | django/middleware/gzip.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/middleware/gzip.py b/django/middleware/gzip.py index 201bec2000..cc8a68406c 100644 --- a/django/middleware/gzip.py +++ b/django/middleware/gzip.py @@ -4,7 +4,7 @@ from django.utils.cache import patch_vary_headers re_accepts_gzip = re.compile(r'\bgzip\b') -class GZipMiddleware: +class GZipMiddleware(object): """ This middleware compresses content if the browser allows gzip compression. It sets the Vary header accordingly, so that caches will base their storage |