head method

Future head(
  1. String? url
)

Performs a HTTP HEAD operation, the URL is conditioned and the current database added.

Implementation

Future<dynamic> head(String? url) {
  final url1 = _conditionUrl(url);
  if (url1 == WiltException.noDatabaseSpecified) {
    return _raiseException(WiltException.noDatabaseSpecified);
  }

  // Perform the head
  return _httpRequest(headd, url1);
}