[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [bug #53191] wget doesn't unzip data even with an Encoding:gz
From: |
anonymous |
Subject: |
[Bug-wget] [bug #53191] wget doesn't unzip data even with an Encoding:gzip header |
Date: |
Tue, 20 Feb 2018 04:59:55 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0 |
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: address@hidden
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-wget] [bug #53191] wget doesn't unzip data even with an Encoding:gzip header,
anonymous <=