comparison Core/Enumerations.cpp @ 1548:e9325f3ac496

Bypass zlib uncompression if "StorageCompression" is enabled and HTTP client supports deflate
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 14 Aug 2015 11:52:03 +0200
parents fbe40117eb21
children d6a93e12b1c1
comparison
equal deleted inserted replaced
1547:5e65349c896b 1548:e9325f3ac496
672 672
673 default: 673 default:
674 return "application/octet-stream"; 674 return "application/octet-stream";
675 } 675 }
676 } 676 }
677
678
679 const char* GetFileExtension(FileContentType type)
680 {
681 switch (type)
682 {
683 case FileContentType_Dicom:
684 return ".dcm";
685
686 case FileContentType_DicomAsJson:
687 return ".json";
688
689 default:
690 // Unknown file type
691 return "";
692 }
693 }
677 } 694 }