Function kvarn::prelude::utils::empty_clone_response

source ยท
pub fn empty_clone_response<T>(response: &Response<T>) -> Response<()>
Expand description

Clones a Response, discarding the body.

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