Bug #36028
Updated by Evgeni Golov about 2 years ago
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2166244 *Description of problem:* <pre> # curl -k -I -H "Accept-Encoding: gzip" https://localhost/webpack/vendor-950b729ed5965c2a80e1.js HTTP/2 200 date: Wed, 01 Feb 2023 09:10:12 GMT server: Apache last-modified: Tue, 24 Jan 2023 16:16:09 GMT etag: "a481-5f304d562e440" accept-ranges: bytes content-length: 42113 content-type: application/javascript </pre> *Version-Release number of selected component (if applicable):* 6.13.0 *How reproducible:* 100% *Steps to Reproduce:* 1. <code>curl curl -k -I -H "Accept-Encoding: gzip" <URL_of_asset></code> <URL_of_asset> *Actual results:* - No "content-encoding: gzip" header - content-length shows the "full" size of the file, not the gziped size *Expected results:* <pre> # curl -k -I -H "Accept-Encoding: gzip" https://localhost/webpack/vendor-950b729ed5965c2a80e1.js HTTP/2 200 date: Wed, 01 Feb 2023 09:12:25 GMT server: Apache vary: Accept-Encoding last-modified: Tue, 24 Jan 2023 16:16:09 GMT etag: "3748-5f304d562e440" accept-ranges: bytes content-length: 14152 content-encoding: gzip content-type: text/javascript </pre> *Additional info:*