pub fn html_response(html: String) -> Response {
    let mut res = Response::new(Body::from(html));
    res.typed_header(ContentType::html());
    res
}
/// Create a response with an HTML body.
Create a response with an HTML body.
Create a response with an HTML body .
pub fn html_response(html: String) -> Response {
    let mut res = Response::new(Body::from(html));
    res.typed_header(ContentType::html());
    res
}
pub fn html_response ( html : String ) -> Response { let mut res = Response :: new ( Body :: from ( html ) ) ; res . typed_header ( ContentType :: html ( ) ) ; res }
Create a response with an HTML body.
Create a response with an HTML body .
html
String
html
String