Downloading with lynx or w3m, how to download as is, without gratuitous gzip
Thomas Mueller
mueller6722 at twc.com
Sat Apr 29 03:38:50 UTC 2017
from Jason Harris:
> Some rationale for why gzip encoding is enabled:
> https://davidwalsh.name/check-gzip
> A look at the headers and how wget behaves:
> wget --no-check-certificate -S --header="Accept-Encoding: gzip" "https://svnweb.freebsd.org/ports/head/x11/xcb-proto/files/patch-xcbgen_align.py?revision=425597&view=co"
> What to add to your /usr/local/etc/lynx.cfg:
> PREFERRED_ENCODING:NONE
> HTH.
Yes, that worked, files in
https://svnweb.freebsd.org/ports/head/x11/xcb-proto/files
downloaded true, file sizes were correct, no gzip.
My thanks.
But this really needs to be better documented.
Tom
More information about the freebsd-ports
mailing list