Issue96

Title DICOMWeb Plugin: WADO-RS RetrieveFrames rejects valid accept headers
Priority feature Status resolved
Superseder Nosy List admin
Assigned To
Keywords Plugin - DICOMweb

Created on 2018-07-19.18:24:35 by admin, last changed by admin.

Messages
msg445 (view) Author: admin Date: 2018-07-19.18:24:35
[BitBucket user: Erik Ziegler]
[BitBucket date: 2018-07-19.16:24:35]

Hello!

I am having a small issue with Accept header that is used in WADO-RS RetrieveFrames. 
It seems that the endpoint will function fine when the Accept header value is:

multipart/related; type=application/octet-stream

but will fail when the value is:

multipart/related; type="application/octet-stream"

The version with quotes is what is specified in the standard (http://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_6.5.4).

I get the error: [... PluginsManager.cpp:164] DICOMweb RetrieveFrames: Transfer syntax "" is incompatible with media type ""application/octet-stream""

We are using the Cornerstone WADO Image Loader, which includes the quotes here: https://github.com/cornerstonejs/cornerstoneWADOImageLoader/blob/a461c7518bfc7c80b3b092a6ef0303df04a67428/src/imageLoader/wadors/loadImage.js#L49

There is a workaround: use WADO-URI, so it's not critical.

Thanks!
msg446 (view) Author: admin Date: 2018-11-27.09:08:17
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2018-11-27.08:08:17]

Please would you kindly migrate this issue to the [issue tracker dedicated to DICOMweb](https://bitbucket.org/sjodogne/orthanc-dicomweb/issues?status=new&status=open)? Thanks in advance!
msg447 (view) Author: admin Date: 2019-01-25.09:54:35
[BitBucket user: Sébastien Jodogne]
[BitBucket date: 2019-01-25.08:54:35]

Migrated to: https://bitbucket.org/sjodogne/orthanc-dicomweb/issues/5/dicomweb-plugin-wado-rs-retrieveframes
History
Date User Action Args
2026-07-29 15:51:22admincreate