Test if an HTTP(S) URL is available by performing a HEAD request.
The URL to test.
Optional
An optional AbortSignal to cancel the request.
A promise that resolves to true if the URL is available, false otherwise.
true
false
Test if an HTTP(S) URL is available by performing a HEAD request.