kvarn::prelude::utils

Function split_response

source
pub fn split_response<T>(response: Response<T>) -> (Response<()>, T)
Expand description

Splits a Response into a empty Response and it’s body.