I only need to know whether a specific call returns 200
but:
URLFetch[
"http://exampledata.wolfram.com/10mb.dat"
, "StatusCode"
] // AbsoluteTiming
{15.141, 200}
So it clearly downloads whole 10MB. Similar curl
command returns almost instantaneously:
curl -I http://exampledata.wolfram.com/10mb.dat
so it is clearly possible. How to do this so it will work on every V10+ installation?