diff OrthancFramework/Sources/HttpServer/FilesystemHttpHandler.cpp @ 5407:3206537cbb56

HttpCompression: now disabled by default + only compress known compressible content types
author Alain Mazy <am@osimis.io>
date Sat, 04 Nov 2023 14:46:38 +0100
parents 0ea402b4d901
children 48b8dae6dc77
line wrap: on
line diff
--- a/OrthancFramework/Sources/HttpServer/FilesystemHttpHandler.cpp	Tue Oct 17 15:06:11 2023 +0200
+++ b/OrthancFramework/Sources/HttpServer/FilesystemHttpHandler.cpp	Sat Nov 04 14:46:38 2023 +0100
@@ -153,7 +153,7 @@
     {
       FilesystemHttpSender sender(p);
       sender.SetContentType(SystemToolbox::AutodetectMimeType(p.string()));
-      output.Answer(sender);   // TODO COMPRESSION
+      output.Answer(sender);
     }
     else if (listDirectoryContent_ &&
              fs::exists(p) &&