From 801aa6bcd99b13e436a8054d7932e27d93fb1f89 Mon Sep 17 00:00:00 2001 From: Darshit Maniar Date: Thu, 16 Feb 2023 15:50:14 +0530 Subject: [PATCH 1/3] Allow DCM format --- db.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/db.json b/db.json index 966b7f43..b5073102 100644 --- a/db.json +++ b/db.json @@ -428,7 +428,9 @@ "compressible": true }, "application/dicom": { - "source": "iana" + "source": "iana", + "compressible": true, + "extensions": ["dcm"] }, "application/dicom+json": { "source": "iana", From bb96226c2b9ef5e9fff8c0e3d54978fe307a7614 Mon Sep 17 00:00:00 2001 From: Darshit Maniar Date: Fri, 17 Feb 2023 16:58:10 +0530 Subject: [PATCH 2/3] update types file for dicom format --- db.json | 4 +--- src/custom-types.json | 7 +++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/db.json b/db.json index b5073102..966b7f43 100644 --- a/db.json +++ b/db.json @@ -428,9 +428,7 @@ "compressible": true }, "application/dicom": { - "source": "iana", - "compressible": true, - "extensions": ["dcm"] + "source": "iana" }, "application/dicom+json": { "source": "iana", diff --git a/src/custom-types.json b/src/custom-types.json index f95ffdfc..8c2a550f 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -501,6 +501,13 @@ "application/zip": { "compressible": false }, + "application/dicom": { + "source": [ + "https://en.wikipedia.org/wiki/DICOM#" + ], + "compressible": true, + "extensions": ["dcm"] + }, "audio/3gpp": { "compressible": false, "extensions": ["3gpp"] From 7085c075e25b6151dbf0142cb9dbc762089e4a6b Mon Sep 17 00:00:00 2001 From: Darshit Maniar Date: Mon, 20 Feb 2023 16:27:28 +0530 Subject: [PATCH 3/3] update source --- src/custom-types.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/custom-types.json b/src/custom-types.json index 8c2a550f..4cdf33d0 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -503,9 +503,8 @@ }, "application/dicom": { "source": [ - "https://en.wikipedia.org/wiki/DICOM#" + "https://en.wikipedia.org/wiki/DICOM" ], - "compressible": true, "extensions": ["dcm"] }, "audio/3gpp": {