Function axum::routing::method_routing::head
source · pub fn head<H, T, S>(handler: H) -> MethodRouter<S, Infallible>
Expand description
Route HEAD
requests to the given handler.
See get
for an example.
pub fn head<H, T, S>(handler: H) -> MethodRouter<S, Infallible>
Route HEAD
requests to the given handler.
See get
for an example.