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

Martin Panter report at bugs.python.org
Fri Sep 29 20:31:20 EDT 2017


Martin Panter <vadmium+py at gmail.com> added the comment:

Regarding the compressed data generator, it would be better if there were no restrictions on the generator yielding empty chunks. This would match how the upload “body” parameter for HTTPConnection.request can be an iterator without worrying about empty chunks. IMO a chunked encoder should skip empty chunks and add the trailer itself, rather than exposing these special requirements to higher levels.

----------

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


More information about the Python-bugs-list mailing list