charset=utf-8
This commit is contained in:
parent
95adb78666
commit
a8fef98041
1 changed files with 1 additions and 1 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Reference in a new issue