Mercurial > hg > orthanc
diff OrthancServer/ServerEnumerations.cpp @ 2908:9d277f8ad698
new enumeration: MimeType
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Oct 2018 16:16:07 +0100 |
parents | ae20fccdd867 |
children | 4e43e67f8ecf |
line wrap: on
line diff
--- a/OrthancServer/ServerEnumerations.cpp Tue Oct 30 13:53:29 2018 +0100 +++ b/OrthancServer/ServerEnumerations.cpp Tue Oct 30 16:16:07 2018 +0100 @@ -176,13 +176,13 @@ switch (type) { case FileContentType_Dicom: - return MIME_DICOM; + return EnumerationToString(MimeType_Dicom); case FileContentType_DicomAsJson: - return MIME_JSON; + return MIME_JSON_UTF8; default: - return MIME_BINARY; + return EnumerationToString(MimeType_Binary); } }