Mercurial > hg > orthanc
diff OrthancServer/OrthancRestApi2.cpp @ 217:1ac3aacd10a5
simplifications
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 29 Nov 2012 12:22:23 +0100 |
parents | e5d5d4a9a326 |
children | 0200cd330582 |
line wrap: on
line diff
--- a/OrthancServer/OrthancRestApi2.cpp Thu Nov 29 11:57:35 2012 +0100 +++ b/OrthancServer/OrthancRestApi2.cpp Thu Nov 29 12:22:23 2012 +0100 @@ -158,7 +158,7 @@ assert(compressionType == CompressionType_None); FilesystemHttpSender sender(context.GetFileStorage(), fileUuid); - sender.SetFilename(fileUuid + ".dcm"); + sender.SetDownloadFilename(fileUuid + ".dcm"); sender.SetContentType("application/dicom"); call.GetOutput().AnswerFile(sender); }