Function kvarn::prelude::utils::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.