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

Submitter:  None
Submitted:  Tue 20 Feb 2018 09:59:54 AM UTC
Category:  Protocol Issue Severity:  3 - Normal
Priority:  5 - Normal Status:  Needs Discussion
Privacy:  Public Assigned to:  None
Originator Name:  Johan Vromans Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  1.19.1
Operating System:  GNU/Linux Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Tue 13 Nov 2018 12:13:22 AM UTC, comment #1: 

This has been fixed in a past update where we changed the default to not asking for gzip.

There are quite a few issues with various servers behaving differently and so we need a little time to figure out all these cases

Darshit Shah <darnir>
Project Administrator
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 Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by darnir (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-13 darnir StatusNone Needs Discussion
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.9