6.5.5.2 Response
Prev | 6.5.5 WADO-RS - RetrieveBulkdata | Next

#### 6.5.5.2 Response

The Server shall provide the document(s) indicated in the request. In order to parse the bulk data items it is necessary to also retrieve the corresponding metadata for the specified Study, Series, or Instance.

The Server shall return the document(s) or an error code when the document(s) cannot be returned. If the server cannot encode the pixel data using any of the requested media types, then an error status shall be returned.

All response formats have a content type of multipart/related with a message boundary separator. The response format depends on the Accept header specified in the request.

##### 6.5.5.2.1 Bulk Data Response

- Content-Type:

  - multipart/related; type=application/octet-stream; boundary={MessageBoundary}

- The single item in the response is one of:

  - an uncompressed bulk data element encoded in Little Endian binary format with the following headers:

    - Content-Type: application/octet-stream

    - Content-Location: {BulkDataURL}

  - a compressed bulk data element from a SOP Instance encoded in a single-frame media type with the following headers:

    - Content-Type: {MediaType}

    - Content-Location: {BulkDataURL}

- If the Range header is specified in the request, the server shall return only the specified bytes of the bulk data object. See RFC 7230 Section 14.35.

Prev | Up | Next
6.5.5 WADO-RS - RetrieveBulkdata | Home | 6.5.6 WADO-RS - RetrieveMetadata