diff Core/HttpServer/FilesystemHttpSender.h @ 1523:c388502a066d

testing FilesystemHttpSender
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2015 16:09:00 +0200
parents f938f7779bcb
children f9b0169eb6bb
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpSender.h	Tue Aug 11 15:37:42 2015 +0200
+++ b/Core/HttpServer/FilesystemHttpSender.h	Tue Aug 11 16:09:00 2015 +0200
@@ -80,13 +80,10 @@
      * Implementation of the IHttpStreamAnswer interface.
      **/
 
-    virtual HttpCompression GetHttpCompression(bool /*gzipAllowed*/, 
-                                               bool /*deflateAllowed*/);
+    virtual HttpCompression SetupHttpCompression(bool /*gzipAllowed*/, 
+                                                 bool /*deflateAllowed*/);
 
-    virtual uint64_t GetContentLength()
-    {
-      return size_;
-    }
+    virtual uint64_t GetContentLength();
 
     virtual bool ReadNextChunk();