diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-08-11 15:52:15 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2012-08-11 15:52:15 +0200 |
commit | 94d4d384db7fc06e1dcba42bec9d09cbd51f33cb (patch) | |
tree | b203d9e2e343c3c21c68ed0ea903018dfad4594c /module/web/middlewares.py | |
parent | show footer at bottom (diff) | |
download | pyload-94d4d384db7fc06e1dcba42bec9d09cbd51f33cb.tar.xz |
added speedgraph
Diffstat (limited to 'module/web/middlewares.py')
-rw-r--r-- | module/web/middlewares.py | 1 |
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 |