comparison 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
comparison
equal deleted inserted replaced
1522:f938f7779bcb 1523:c388502a066d
42 public: 42 public:
43 virtual ~IHttpStreamAnswer() 43 virtual ~IHttpStreamAnswer()
44 { 44 {
45 } 45 }
46 46
47 virtual HttpCompression GetHttpCompression(bool gzipAllowed, 47 // This is the first method to be called
48 bool deflateAllowed) = 0; 48 virtual HttpCompression SetupHttpCompression(bool gzipAllowed,
49 bool deflateAllowed) = 0;
49 50
50 virtual bool HasContentFilename(std::string& filename) = 0; 51 virtual bool HasContentFilename(std::string& filename) = 0;
51 52
52 virtual std::string GetContentType() = 0; 53 virtual std::string GetContentType() = 0;
53 54