pub fn html_response<T, S>(status_code: T, body: S) -> ResponseExpand description
Converts text to bytes (UTF8) and sends that as the body with that status_code and HTML
Content-Type header (text/html)
pub fn html_response<T, S>(status_code: T, body: S) -> ResponseConverts text to bytes (UTF8) and sends that as the body with that status_code and HTML
Content-Type header (text/html)