pub fn body_from_parts(
parts: &mut Parts,
status_code: StatusCode,
message: &str,
headers: Option<Vec<(HeaderName, HeaderValue)>>,
) -> BytesExpand description
Construct a response body from Parts, status code, message and headers