ImagingDataCommons / dicomweb-client

Python client for DICOMweb RESTful services
https://dicomweb-client.readthedocs.io
MIT License
109 stars 38 forks source link

Query regarding the body of STOW-RS request #54

Closed lafith closed 2 years ago

lafith commented 2 years ago

I was trying to parse the byte array send by store request using this client and I am getting an EOF error of reading. I checked the content from the request body and reading the test dicom file directly and found some difference at the beginning.

hackermd commented 2 years ago

The request message has multipart content type. Therefore, the message body contains one or more DICOM data sets and encapsulation boundaries.

hackermd commented 2 years ago

See DICOM PS 3.18 Section 8.6