Hi,
the new "wget" release 1.19.2 has got a new feature:
"gzip Content-Encoding decompression"
But that feature - at least for my self-conmpiled binary - leads to a
problem if one downloads gzip-compressed tarballs from sites that send for
e.g. an HTTP response header containing lines like
Content-Type: application/x-tar
Content-Encoding: gzip
In that cases wget saves a downloaded gzip-compressed tarball now
decompressed (!) what probably breaks a lot of scripts. Additionally the
tarball is saved nevertheless under a filename with the "tar.gz" extension
and not with the "tar" extension.
Solutions/workarounds may be on affected servers the delivering of an
alternative HTTP header like
Content-Type: application/x-gzip
(or Content-Type: application/octet-stream)
or on the client side the use of the new "wget" option
--compression=none
But maybe it would be better if for such cases wget would revert its
default behaviour to the old one. Or is the described behaviour the
expected one?
Regards
Jens