kvarn::prelude::fs::prelude::utils

Function empty_clone_request

source
pub fn empty_clone_request<T>(request: &Request<T>) -> Request<()>
Expand description

Clones a Request, discarding the body.

Use Request::map() to add a body.