Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2017 12:33:10 +0200
From:      "Herbert J. Skuhra" <herbert@mailbox.org>
To:        freebsd-ports@freebsd.org
Subject:   Re: Downloading with lynx or w3m, how to download as is, without gratuitous gzip
Message-ID:  <86inls4w0p.wl-herbert@mailbox.org>
In-Reply-To: <69.B4.29375.516BDF85@dnvrco-omsmta02>
References:  <69.B4.29375.516BDF85@dnvrco-omsmta02>

next in thread | previous in thread | raw e-mail | index | archive | help
Thomas Mueller skrev:
> 
> Documentation on Lynx and w3m are awful hard to find!
> 
> I couldn't find anything on auto_uncompress or anything else that might be put in ~/.w3m/config.
> 
> If the file on the server is already compressed, for instance a tarball, then I want to download it that way.
> 
> But a browser/downloader has no proper business compressing a file to be downloaded.

For w3m you can set accept_encoding. Default is

accept_encoding gzip, compress, bzip, bzip2, deflate

Try to remove gz, bzip, bzip2 or set it to "".

If you think this is a bug you should report it upstream:

https://github.com/tats/w3m

--
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86inls4w0p.wl-herbert>