diff OrthancServer/OrthancRestApi/OrthancRestArchive.cpp @ 3161:5cf29046c159

removed misleading warning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Jan 2019 16:16:56 +0100
parents beeeb6096f27
children 6fd38327e777
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestArchive.cpp	Thu Jan 24 10:55:19 2019 +0100
+++ b/OrthancServer/OrthancRestApi/OrthancRestArchive.cpp	Thu Jan 24 16:16:56 2019 +0100
@@ -144,8 +144,7 @@
           (publicContent, job.release(), priority))
       {
         // The archive is now created: Prepare the sending of the ZIP file
-        FilesystemHttpSender sender(tmp->GetPath());
-        sender.SetContentType(MimeType_Gzip);
+        FilesystemHttpSender sender(tmp->GetPath(), MimeType_Zip);
         sender.SetContentFilename(filename);
 
         // Send the ZIP