commit | eab3b3f1c60afecfb4db3c3619109684cb04bd60 | [log] [tgz] |
---|---|---|
author | William Chargin <wchargin@gmail.com> | Tue Jan 21 03:25:24 2020 -0800 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Tue Jan 21 13:25:24 2020 +0200 |
tree | 311e513af209b2fa14f0d46720801aa4e1f02462 | |
parent | 85ead4fc62829cb7ef2eb0af1a2933282f58c629 [diff] |
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.