bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] wgetrc: "no-hsts" fails


From: Ander Juaristi
Subject: Re: [Bug-wget] wgetrc: "no-hsts" fails
Date: Tue, 29 Nov 2016 23:28:06 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0

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!
> 

Attachment: 0xD2438B33.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]