... it is the recommendation of the Bottle project that Gzip compression is best handled by the WSGI server Bottle runs on top of. WSGI servers such as cherrypy provide a GzipFilter middleware that can be used to accomplish this.
However, there's no explanation of how this can actually be done using just bottle and cherrypy, and no one else seems to know either.
The docs say:
However, there's no explanation of how this can actually be done using just
bottle
andcherrypy
, and no one else seems to know either.Can a more detailed example be added to the docs?