zng::task::http

Function head

source
pub async fn head(uri: impl TryUri) -> Result<Response, Error>
Expand description

Send a HEAD request to the uri.

The default_client is used to send the request.