The gnu wget in spider mode shows "Length: 122 [text/html]" even without
-S. Actually the -S just shows headers.
BTW for a less code and more clearness instead of the spider option wget
may just send a HEAD request with --method=HEAD. In conjunction with recent
patch with -post-data this will allo
I think what you get may depend on what version of BusyBox you are
using. I check 3 different versions I happen to have. v1.24.0.git shows
only "-s|--spider" and seems to give no output except its return code.
v1.27.2 shows "--spider" as well as "-S|--server-response."
Using v1.27.2,
busybox w
Hi Ercolino,
This is due to --spider issuing a GET request instead of a HEAD request.
I submitted a patch on 7th August for this. Details and patch copied here:
In GNU wget[1], `--spider' first issues a HEAD request, then iff HEAD fails,
issues a GET request. In Busybox wget, only a GET request
Thanks Nicholas
I sort of got to the same conclusion that -S is somehow referring to
--spider or a sort of alias to it.
There is one thing that puzzles me though, the -S will show the Server
response indeed but also download the file. This latter action defeats
the concept for my purpose (ch