Re: [Bug-wget] Does `wget -q -O /dev/null -S -o- url` ignore response body?

2019-08-12 Thread Darshit Shah
That is precisely what the `--spider` option does. It sends a HEAD request. Just like the similarly named option in Curl. If you want it to be more explicit, you can use `--method=HEAD` instead. It will still do the same thing though. * Peng Yu [190812 20:56]: > curl has the --head option. Is

Re: [Bug-wget] Does `wget -q -O /dev/null -S -o- url` ignore response body?

2019-08-12 Thread Peng Yu
curl has the --head option. Is there a reason why wget doesn't have it? -I, --head (HTTP FTP FILE) Fetch the headers only! HTTP-servers feature the command HEAD which this uses to get nothing but the header of a document. When used on an FTP or FILE file,

[Bug-wget] retry when unable to establish SSL connection?

2019-08-12 Thread lilydjwg
I was using --retry-connrefused and --retry-on-host-error, however wget still exited on network issues with the above message. I'm wget'ing via a rather unstable route so I need wget to retry on these network issues but it didn't. (Well, I can retry the whole command outside wget, but isn't it