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