This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients christian.heimes, martin.panter, quentel, r.david.murray, terry.reedy, v+python, vstinner
Date 2017-09-30.00:31:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506731480.16.0.213398074469.issue30576@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-09-30 00:31:20martin.pantersetrecipients: + martin.panter, terry.reedy, vstinner, christian.heimes, v+python, r.david.murray, quentel
2017-09-30 00:31:20martin.pantersetmessageid: <1506731480.16.0.213398074469.issue30576@psf.upfronthosting.co.za>
2017-09-30 00:31:20martin.panterlinkissue30576 messages
2017-09-30 00:31:19martin.pantercreate