cornerstonejs / cornerstoneWADOImageLoader

[DEPRECATED] DICOM WADO Image Loader for the cornerstone library
MIT License
280 stars 267 forks source link

Non compliant media type encoding #530

Closed Cadda closed 8 months ago

Cadda commented 1 year ago

Hello,

I'm currently experiencing an issue as our server is not able to parse the following provided media type: multipart/related; type=application/octet-stream; transfer-syntax=* from loadImage.js

According to the official documentation, header with specific (delimiters) characters should be escaped using double quotes. https://datatracker.ietf.org/doc/html/rfc7230#section-3.2.6

Would you agree to make the following change ? multipart/related; type="application/octet-stream"; transfer-syntax="*"

Kind regards,

Cédric

NikGurev commented 11 months ago

Hello Cédric, I had similar problem and resolved in OHIFv2 earlier: https://github.com/cornerstonejs/cornerstoneWADOImageLoader/pull/517

Hope that's what you need