headAjax function
Sends an Ajax request to the given url using the HEAD method.
Implementation
Future<List<int>?> headAjax(Uri url, {
Map<String, String>? headers,
bool? Function(HttpClientResponse response)? onResponse,
Duration? timeout})
=> ajax(url, method: "HEAD",
headers: headers, onResponse: onResponse, timeout: timeout);