GoogleCloudPlatform / healthcare-api-dicom-viewer

Tool to view DICOM data served by Google Cloud Healthcare API
Apache License 2.0
15 stars 8 forks source link

Investigate optimal accept header for compressed vs. uncompressed DICOM instances #11

Open Alex979 opened 4 years ago

Alex979 commented 4 years ago

Currently I'm defaulting to an accept header of multipart/related; type="application/dicom"; transfer-syntax=1.2.840.10008.1.2.1, but I'll need to investigate the possibility of using a different accept header for compressed files as forcing gzip might not be the best use-case for already compressed files.

Alex979 commented 4 years ago

This relates to https://github.com/GoogleCloudPlatform/healthcare-api-dicom-viewer/issues/25 as currently compressed DICOM instances such as JPEG formats aren't supported, but could potentially yield some performance benefits if support for this is added.