Version: v0.7.0 - Beta.  We welcome contributors & feedback.

Net.httpHead

Net.httpHead($url, $requestHeaders={}) -> list

Description

Send an HTTP HEAD request and return a list of response headers.

$url must be a URL TypeString.

Net.httpHead(url'https://example.com')
//= 200

Net.httpHead(url'https://example.com/bad-path')
//= 404

Net.httpHead(url'https://badhost.blah')
//= 0