summaryrefslogtreecommitdiffstats
path: root/module/web/middlewares.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/middlewares.py')
-rw-r--r--module/web/middlewares.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/web/middlewares.py b/module/web/middlewares.py
index c4c2e3c2b..3cf49a8fc 100644
--- a/module/web/middlewares.py
+++ b/module/web/middlewares.py
@@ -94,6 +94,7 @@ class GzipResponse(object):
and 'zip' not in ct and 200 < cl < 1024*1024:
self.compressible = True
headers.append(('content-encoding', 'gzip'))
+ headers.append(('vary', 'Accept-Encoding'))
remove_header(headers, 'content-length')
self.headers = headers