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 Issue Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Johan Vromans Originator Email:  -email is unavailable-
Open/Closed:  Open 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

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.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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 None (Submitted the item)
  •  

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.3