diff options
Diffstat (limited to 'cherrypy/lib/encoding.py')
-rw-r--r-- | cherrypy/lib/encoding.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cherrypy/lib/encoding.py b/cherrypy/lib/encoding.py index dc93d990..ad435ea4 100644 --- a/cherrypy/lib/encoding.py +++ b/cherrypy/lib/encoding.py @@ -321,9 +321,9 @@ def gzip(compress_level=5, mime_types=['text/html', 'text/plain'], values in the mime_types arg before calling this function. The provided list of mime-types must be of one of the following form: - * type/subtype - * type/* - * type/*+subtype + * `type/subtype` + * `type/*` + * `type/*+subtype` No compression is performed if any of the following hold: * The client sends no Accept-Encoding request header |