public Task <IHttpResponse> HeadAsync(string relativeUrl, object segments = null) { var merged = BuildRelativeResource(relativeUrl, segments); var request = new HeadRequest(merged); return(RunAsync(request)); }
public Task <IHttpResponse> Head(string relativeUrl, object segments = null, CancellationToken cancellationToken = default(CancellationToken)) { var merged = BuildRelativeResource(relativeUrl, segments); var request = new HeadRequest(merged); return(Run(request, cancellationToken)); }