charset=utf-8

This commit is contained in:
Дамјан Георгиевски 2018-07-04 23:31:02 +02:00
parent 95adb78666
commit a8fef98041

View file

@ -65,7 +65,7 @@ fn handle_directory<'a, 'b>(
}
}
s.push_str("</table><hr></body></html>");
Ok(HttpResponse::Ok().content_type("text/html").body(s))
Ok(HttpResponse::Ok().content_type("text/html; charset=utf-8").body(s))
}
fn handle_tar(req: &HttpRequest) -> Result<HttpResponse> {