From a8fef98041c646f156137d612fc79b8f57b7c27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BC=D1=98=D0=B0=D0=BD=20=D0=93=D0=B5=D0=BE?= =?UTF-8?q?=D1=80=D0=B3=D0=B8=D0=B5=D0=B2=D1=81=D0=BA=D0=B8?= Date: Wed, 4 Jul 2018 23:31:02 +0200 Subject: [PATCH] charset=utf-8 --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bf421b5..b42f722 100644 --- a/src/main.rs +++ b/src/main.rs @@ -65,7 +65,7 @@ fn handle_directory<'a, 'b>( } } s.push_str("
"); - 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 {