comparison Core/HttpServer/HttpFileSender.h @ 1522:f938f7779bcb

fixes
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2015 15:37:42 +0200
parents 8bd0d897763f
children f9b0169eb6bb
comparison
equal deleted inserted replaced
1521:3606278d305e 1522:f938f7779bcb
51 const std::string& GetContentType() const 51 const std::string& GetContentType() const
52 { 52 {
53 return contentType_; 53 return contentType_;
54 } 54 }
55 55
56 void SetFilename(const std::string& filename); 56 void SetContentFilename(const std::string& filename);
57 57
58 const std::string& GetFilename() const 58 const std::string& GetContentFilename() const
59 { 59 {
60 return filename_; 60 return filename_;
61 } 61 }
62 62
63 63
64 /** 64 /**
65 * Implementation of the IHttpStreamAnswer interface. No 65 * Implementation of the IHttpStreamAnswer interface.
66 * compression is supported.
67 **/ 66 **/
68
69 virtual HttpCompression GetHttpCompression(bool /*gzipAllowed*/,
70 bool /*deflateAllowed*/)
71 {
72 return HttpCompression_None;
73 }
74 67
75 virtual bool HasContentFilename(std::string& filename); 68 virtual bool HasContentFilename(std::string& filename);
76 69
77 virtual std::string GetContentType(); 70 virtual std::string GetContentType();
78 }; 71 };