diff Core/HttpServer/FilesystemHttpHandler.cpp @ 2908:9d277f8ad698

new enumeration: MimeType
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Oct 2018 16:16:07 +0100
parents 878b59270859
children c9c2faf76bec
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpHandler.cpp	Tue Oct 30 13:53:29 2018 +0100
+++ b/Core/HttpServer/FilesystemHttpHandler.cpp	Tue Oct 30 16:16:07 2018 +0100
@@ -107,7 +107,7 @@
     s += "  </body>";
     s += "</html>";
 
-    output.SetContentType("text/html");
+    output.SetContentType(MimeType_Html);
     output.Answer(s);
   }