Staging
v0.5.1
Revision 12c45efe828a90a2f2f58a1f95c85d792a0d9c0a authored by Miss Islington (bot) on 04 March 2020, 07:06:19 UTC, committed by GitHub on 04 March 2020, 07:06:19 UTC
* bpo-39389: gzip: fix compression level metadata (GH-18077)

As described in RFC 1952, section 2.3.1, the XFL (eXtra FLags) byte of a
gzip member header should indicate whether the DEFLATE algorithm was
tuned for speed or compression ratio. Prior to this patch, archives
emitted by the `gzip` module always indicated maximum compression.
(cherry picked from commit eab3b3f1c60afecfb4db3c3619109684cb04bd60)

Co-authored-by: William Chargin <wchargin@gmail.com>
1 parent 3eff46f
History
File Mode Size
Grammar -rw-r--r-- 6.3 KB

back to top