From 94d4d384db7fc06e1dcba42bec9d09cbd51f33cb Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 11 Aug 2012 15:52:15 +0200 Subject: added speedgraph --- module/web/middlewares.py | 1 + 1 file changed, 1 insertion(+) (limited to 'module/web/middlewares.py') 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 -- cgit v1.2.3