Mercurial > hg > orthanc
diff Core/HttpServer/FilesystemHttpHandler.cpp @ 1517:4f8c8ef114db
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 11 Aug 2015 10:32:34 +0200 |
parents | c94353fbd4e9 |
children | 8bd0d897763f |
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpHandler.cpp Tue Aug 11 08:53:47 2015 +0200 +++ b/Core/HttpServer/FilesystemHttpHandler.cpp Tue Aug 11 10:32:34 2015 +0200 @@ -56,8 +56,6 @@ { namespace fs = boost::filesystem; - output.SetContentType("text/html"); - std::string s; s += "<html>"; s += " <body>"; @@ -105,7 +103,8 @@ s += " </body>"; s += "</html>"; - output.SendBody(s, IHttpHandler::GetPreferredCompression(headers, s.size())); + output.SetContentType("text/html"); + output.SendBody(s); }