diff OrthancServer/OrthancRestApi/OrthancRestArchive.cpp @ 2908:9d277f8ad698

new enumeration: MimeType
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Oct 2018 16:16:07 +0100
parents 251614c2edac
children 10c610e80b15
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi/OrthancRestArchive.cpp	Tue Oct 30 13:53:29 2018 +0100
+++ b/OrthancServer/OrthancRestApi/OrthancRestArchive.cpp	Tue Oct 30 16:16:07 2018 +0100
@@ -84,7 +84,7 @@
     {
       // The archive is now created: Prepare the sending of the ZIP file
       FilesystemHttpSender sender(tmp->GetPath());
-      sender.SetContentType("application/zip");
+      sender.SetContentType(MimeType_Gzip);
       sender.SetContentFilename(filename);
 
       // Send the ZIP