isahc

Function head

Source
pub fn head<U>(uri: U) -> Result<Response<Body>, Error>
where Uri: TryFrom<U>, <Uri as TryFrom<U>>::Error: Into<Error>,
Expand description

Send a HEAD request to the given URI.

The request is executed using a shared HttpClient instance. See HttpClient::head for details.