It appears that the Orthanc-web plugin returns the dicom file wrapped in a MIME header. When I query a couple other DICOM servers I receive the raw DICOM file.
Is this a standard? Are DICOM clients going to expect/handle the MIME file?
Yes, according to the DICOMweb specification, all the WADO-RS primitives return multipart answers (except the “WADO-RS - Retrieve Rendered Transaction” endpoint, but the latter cannot be used to retrieve the raw DICOM instances).
However, I have indeed forgotten to mention the fact that WADO-URI can be used to retrieve the DICOM instances. WADO-URI is also implemented by the Orthanc DICOMweb plugin. Here is a working example:
Note that other DICOMweb servers than Orthanc might require you to provide the “studyUID” and “seriesUID” arguments as well, that respectively correspond to the “StudyInstanceUID” and “SeriesInstanceUID” tags of the instance of interest.