Discussion:
[Bug-wget] [bug #53191] wget doesn't unzip data even with an
anonymous
2018-02-20 09:59:55 UTC
Permalink
URL:
<http://savannah.gnu.org/bugs/?53191>

Summary: wget doesn't unzip data even with an Encoding:gzip
header
Project: GNU Wget
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: ***@squirrel.nl
Open/Closed: Open
Discussion Lock: Any
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

_______________________________________________________

Details:

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.




_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?53191>

_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
Darshit Shah
2018-11-13 00:13:23 UTC
Permalink
Update of bug #53191 (project wget):

Status: None => Needs Discussion
Open/Closed: Open => Closed

_______________________________________________________

Follow-up 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

_______________________________________________________

Reply to this item at:

<https://savannah.gnu.org/bugs/?53191>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Loading...