This doesn't set the response header has text/html
let res = Response::new(StatusCode::Ok)
.set_header("content-type".parse().unwrap(), "text/html;charset=utf-8")
.body_string("Hello<br/>".to_owned());
This one does set it correctly.
let res = Response::new(StatusCode::Ok)
.body_string("Hello<br/>".to_owned())
.set_header("content-type".parse().unwrap(), "text/html;charset=utf-8");
tide = "0.8.0"