diff OrthancServer/ServerContext.cpp @ 1772:53e045b5a8ec

MIME content type can be associated to custom attachments (cf. "UserContentType")
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Nov 2015 14:36:27 +0100
parents 318c2e83c2bd
children 776573e592da
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp	Tue Nov 10 17:18:42 2015 +0100
+++ b/OrthancServer/ServerContext.cpp	Thu Nov 12 14:36:27 2015 +0100
@@ -318,7 +318,7 @@
     }
 
     StorageAccessor accessor(area_);
-    accessor.AnswerFile(output, attachment);
+    accessor.AnswerFile(output, attachment, GetFileContentMime(content));
   }