diff Core/HttpServer/FilesystemHttpSender.cpp @ 1113:ba5c0908600c

Refactoring of HttpOutput ("Content-Length" header is now always sent)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 02 Sep 2014 15:51:20 +0200
parents e078ea944089
children 6c5a77637b23
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpSender.cpp	Mon Sep 01 12:20:26 2014 +0200
+++ b/Core/HttpServer/FilesystemHttpSender.cpp	Tue Sep 02 15:51:20 2014 +0200
@@ -73,7 +73,7 @@
       }
       else
       {
-        output.SendBodyData(&buffer[0], nbytes);
+        output.SendBody(&buffer[0], nbytes);
       }
     }