Project

General

Profile

Actions

Bug #36028

closed

assets are not compressed during delivery anymore

Added by Evgeni Golov over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:

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 #1

Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Assignee set to Evgeni Golov
  • Pull request https://github.com/theforeman/puppet-foreman/pull/1106 added
Actions #2

Updated by Evgeni Golov over 1 year ago

  • Subject changed from assets are not compressed during delivery anymore to assets are not compressed during delivery anymore
  • Description updated (diff)
Actions #3

Updated by Evgeni Golov over 1 year ago

  • Target version set to 3.5.2
  • Found in Releases 3.5.0, 3.5.1, 3.6.0 added
Actions #4

Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases 3.6.0 added
Actions #5

Updated by Evgeni Golov over 1 year ago

  • Status changed from Ready For Testing to Closed
Actions #6

Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/830 added
Actions #7

Updated by Evgeni Golov over 1 year ago

  • Fixed in Releases 3.5.2 added
Actions #8

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

  • Category set to Foreman modules
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF