Mercurial > hg > orthanc
diff OrthancFramework/Sources/HttpServer/HttpFileSender.h @ 5406:aaf7c49a9ddc am-http-compression
tentative to implement smart HTTP compression with detection of transfer syntax
author | Alain Mazy <am@osimis.io> |
---|---|
date | Sat, 04 Nov 2023 13:42:30 +0100 |
parents | 0ea402b4d901 |
children |
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/HttpFileSender.h Tue Oct 17 15:06:11 2023 +0200 +++ b/OrthancFramework/Sources/HttpServer/HttpFileSender.h Sat Nov 04 13:42:30 2023 +0100 @@ -32,6 +32,7 @@ { private: std::string contentType_; + ContentCompression contentCompression_; std::string filename_; public: @@ -39,8 +40,12 @@ void SetContentType(const std::string& contentType); + void SetContentCompression(ContentCompression contentCompression); + const std::string& GetContentType() const; + ContentCompression GuessContentCompression() const; + void SetContentFilename(const std::string& filename); const std::string& GetContentFilename() const;