summaryrefslogtreecommitdiff
path: root/cherrypy/lib/encoding.py
diff options
context:
space:
mode:
authorRick van Hattem <Wolph@wol.ph>2017-02-07 22:39:33 +0100
committerRick van Hattem <Wolph@wol.ph>2017-02-07 22:39:33 +0100
commit72d721885692df715b06cff770a88a78df53cf18 (patch)
tree70035978e2c308d530fea7e154ca4069d9247d0b /cherrypy/lib/encoding.py
parent3d9aaec64bdcd62547fa39a217f01db8db3c4faa (diff)
downloadcherrypy-git-72d721885692df715b06cff770a88a78df53cf18.tar.gz
fixed a bunch of documentation warnings
Diffstat (limited to 'cherrypy/lib/encoding.py')
-rw-r--r--cherrypy/lib/encoding.py6
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