diff options
author | visteya <none@none> | 2009-03-18 05:02:37 +0000 |
---|---|---|
committer | visteya <none@none> | 2009-03-18 05:02:37 +0000 |
commit | 75c4ed9244734590a90a00cd11b538868b94862d (patch) | |
tree | c9ed79b690e0244d8401b8b6c79aba638a2cbb48 /cherrypy/lib/encoding.py | |
parent | b8f0c9881ea9d85536c292db84d4345390b32f03 (diff) | |
download | cherrypy-git-75c4ed9244734590a90a00cd11b538868b94862d.tar.gz |
change gzip() compress_level default value from 9 to 5
Diffstat (limited to 'cherrypy/lib/encoding.py')
-rw-r--r-- | cherrypy/lib/encoding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/lib/encoding.py b/cherrypy/lib/encoding.py index 94dc908e..c8ed91dd 100644 --- a/cherrypy/lib/encoding.py +++ b/cherrypy/lib/encoding.py @@ -208,7 +208,7 @@ def decompress(body): return data -def gzip(compress_level=9, mime_types=['text/html', 'text/plain']): +def gzip(compress_level=5, mime_types=['text/html', 'text/plain']): """Try to gzip the response body if Content-Type in mime_types. cherrypy.response.headers['Content-Type'] must be set to one of the |