From 5d55147b58eb7ab6406e08628191a4267e462679 Mon Sep 17 00:00:00 2001 From: Ghazi Majdoub Date: Mon, 21 Sep 2020 10:12:10 -0400 Subject: [PATCH] fixes issue #30 --- src/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api.js b/src/api.js index c0b48c8..2ac38fe 100644 --- a/src/api.js +++ b/src/api.js @@ -1492,7 +1492,7 @@ class DICOMwebClient { const { data, boundary } = multipartEncode(options.datasets); const headers = { - "Content-Type": `multipart/related; type=application/dicom; boundary=${boundary}` + "Content-Type": `multipart/related; type="application/dicom"; boundary="${boundary}"` }; return this._httpPost(url, headers, data, options.progressCallback);