Actions
Bug #36028
closedassets are not compressed during delivery anymore
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2166244
Description of problem:
# 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
Version-Release number of selected component (if applicable):
6.13.0
How reproducible:
100%
Steps to Reproduce:
1. curl -k -I -H "Accept-Encoding: gzip" <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:
# 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
Additional info:
Actions