head
inline suspend fun <R> HttpFetcher.head(resource: String, headers: Map<String, Any>? = FetchDefaults.Headers, redirect: RequestRedirect? = FetchDefaults.Redirect, abortController: AbortController? = null, responseDeserializer: DeserializationStrategy<R> = serializer()): R(source)
Call HEAD on a target resource with R as the expected return type.
See also tryHead, which will return null if the request fails for any reason.