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

testing FilesystemHttpSender
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2015 16:09:00 +0200
parents 8bd0d897763f
children f9b0169eb6bb
line wrap: on
line diff
--- a/Core/HttpServer/IHttpStreamAnswer.h	Tue Aug 11 15:37:42 2015 +0200
+++ b/Core/HttpServer/IHttpStreamAnswer.h	Tue Aug 11 16:09:00 2015 +0200
@@ -44,8 +44,9 @@
     {
     }
 
-    virtual HttpCompression GetHttpCompression(bool gzipAllowed,
-                                               bool deflateAllowed) = 0;
+    // This is the first method to be called
+    virtual HttpCompression SetupHttpCompression(bool gzipAllowed,
+                                                 bool deflateAllowed) = 0;
 
     virtual bool HasContentFilename(std::string& filename) = 0;