diff Core/HttpServer/FilesystemHttpHandler.cpp @ 330:78a8eaa5f30b

cookies
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Jan 2013 11:41:13 +0100
parents 64925c94825c
children 753e69f9326e
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpHandler.cpp	Tue Jan 08 14:56:10 2013 +0100
+++ b/Core/HttpServer/FilesystemHttpHandler.cpp	Wed Jan 09 11:41:13 2013 +0100
@@ -54,10 +54,7 @@
   {
     namespace fs = boost::filesystem;
 
-    HttpHandler::Arguments header;
-    header["Content-Type"] = "text/html";
-    output.SendOkHeader(header);
-
+    output.SendOkHeader("text/html", false, 0, NULL);
     output.SendString("<html>");
     output.SendString("  <body>");
     output.SendString("    <h1>Subdirectories</h1>");