Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/Core/HttpServer/HttpFileSender.h Tue Aug 11 13:37:24 2015 +0200 +++ b/Core/HttpServer/HttpFileSender.h Tue Aug 11 15:37:42 2015 +0200 @@ -53,25 +53,18 @@ return contentType_; } - void SetFilename(const std::string& filename); + void SetContentFilename(const std::string& filename); - const std::string& GetFilename() const + const std::string& GetContentFilename() const { return filename_; } /** - * Implementation of the IHttpStreamAnswer interface. No - * compression is supported. + * Implementation of the IHttpStreamAnswer interface. **/ - virtual HttpCompression GetHttpCompression(bool /*gzipAllowed*/, - bool /*deflateAllowed*/) - { - return HttpCompression_None; - } - virtual bool HasContentFilename(std::string& filename); virtual std::string GetContentType();