Hi, On 29/11/16 22:26, ilf wrote: > Tim Rühsen: >>> --no-hsts works as an interactive option, but not in wgetrc. >> hsts=0 > > Thanks, that works! > > 1. Why is this hsts=0 instead of hsts=off? Are there more possible > values than boolean? >
hsts=off and hsts=no work as well
> 2. All other options I use are identical arguments on command-line and
> in wgetrc. Why is this different? How about adding a note to the
> man-page like "use --no-hsts or hsts=0"?
What to you mean? To my understanding, the HSTS options are not
different from the others.
It's the same pattern as with the rest of the options:
--hsts: enable HSTS (enabled by default so no need to specify it)
--no-hsts: disable HSTS
And in .wgetrc:
hsts=1/on/yes: same as --hsts
hsts=0/off/no: same as --no-hsts
This is all explained in the wget(1) man page (doc/wget.texi in the
source tree), in the section "Option syntax".
>
> Thanks, and keep up the good work!
>
0xD2438B33.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
