head method
Performs a HEAD request to the specified url, adding the authorization token.
If no token already exists, or if it is expired, a new one is requested.
Implementation
Future<http.Response> head(String url,
    {Map<String, String>? headers,
    dynamic body,
    http.Client? httpClient}) async {
  return _request('HEAD', url, headers: headers, httpClient: httpClient);
}