Function choices::warp::filters::method::head [−][src]
pub fn head() -> impl Filter + Copy
Create a Filter
that requires the request method to be HEAD
.
Example
use warp::Filter; let head_only = warp::head().map(warp::reply);