bugGNU Wget - Bugs: bug #53191, wget doesn't unzip data even with...


bug #53191: wget doesn't unzip data even with an Encoding:gzip header

Submitted by:  None
Submitted on:  Tue 20 Feb 2018 09:59:54 AM UTC  
Category: Protocol IssueSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: Johan VromansOriginator Email: -unavailable-
Open/Closed: OpenRelease: 1.19.1
Operating System: GNU/LinuxReproducibility: Every Time
Fixed Release: NonePlanned Release: None
Regression: NoneWork Required: None
Patch Included: None

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Tue 20 Feb 2018 09:59:54 AM UTC, original submission:

When wget retrieves data it passes (by default) an 'Accept-Encoding:gzip' header. This requests the web server to gzip the data. If the server gzipped the data, it will add an 'Encoding:gzip' header.

Upon receipt wget then unzips the data. However, it makes an exception for gzipped Content-Types (e.g., application/x-gzip).

I think this exception is incorrect. If a web server adds Encoding:gzip, it explicitly indicates that it did a gzip on the data, and that the received data should be gunzipped regardless of Content-Type.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by None (Submitted the item)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1