[issue30576] http.server should support HTTP compression (gzip)

Pierre Quentel report at bugs.python.org
Sat Jun 10 09:18:04 EDT 2017


Pierre Quentel added the comment:

The compression is done on the fly : if compression criteria are satisfied, the original content is gzipped, either in memory or on a temporary file on disk, depending on the file size.

The gzipped content is not cached, but since the server now supports browser cache, on the next requests for the same file a 304 response will be sent.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30576>
_______________________________________


More information about the Python-bugs-list mailing list