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 quentel
Recipients christian.heimes, martin.panter, quentel, r.david.murray, terry.reedy, v+python, vstinner
Date 2017-07-25.08:00:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500969641.81.0.422302965147.issue30576@psf.upfronthosting.co.za>
In-reply-to
Content
In the latest version of the Pull Request (https://github.com/python/cpython/pull/2078/commits/6466c93555bec521860c57e832b691fe7f0c6c20) :
- compression is disabled by default (compressed_types is set to [])
- as suggested by Chris Barker in the discussion on python-ideas, I added a list of commonly compressed types that can be used as the value of compressed_types in subclasses of SimpleHTTPRequestHandler. For want of official sources I took the list from https://github.com/h5bp/server-configs-apache.
- a command-line option --gzip has been introduced, when it is set, the list of commonly compressed types is used
- the implementation of compression for "big files" has been changed : as suggested by Victor and Christian, no more temporary file, compressed data is now sent as chunks using Chunked Transfer Encoding. The file object returned by send_head() is a generator that produces the chunks of compressed data
History
Date User Action Args
2017-07-25 08:00:41quentelsetrecipients: + quentel, terry.reedy, vstinner, christian.heimes, v+python, r.david.murray, martin.panter
2017-07-25 08:00:41quentelsetmessageid: <1500969641.81.0.422302965147.issue30576@psf.upfronthosting.co.za>
2017-07-25 08:00:41quentellinkissue30576 messages
2017-07-25 08:00:41quentelcreate