Downloading with lynx or w3m, how to download as is, without gratuitous gzip

Herbert J. Skuhra herbert at mailbox.org
Tue Apr 25 10:33:21 UTC 2017


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


More information about the freebsd-ports mailing list