DICOM PS3.18 2021b - Web Services

8.9.3 Response (Current)
Prev | 8.9 Retrieve Capabilities Transaction | Next

### 8.9.3 Response

The format of the response is as follows:

    version SP status-code SP reason-phrase CRLF

    [Content-Type: media-type CRLF]

    [(Content-Length: uint) / (Content-Encoding: encoding) CRLF]

    *(header-field CRLF)

    CRLF

    [payload / status-report]

#### 8.9.3.1 Status Codes

Table 8.9.3-1 shows some common status codes corresponding to this transaction. See also Section 8.5 for additional status codes.

Table 8.9.3-1. Status Code Meaning

Status | Code | Meaning
--- | --- | ---
Success | 200 (OK) | All Instances were successfully retrieved.
304 (Not Modified) | The user agent's current representation is up to date, so no payload was returned. This status code shall only be returned for a conditional request containing an If-None-Match header field.
Failure | 400 (Bad Request) | There was a problem with the request.

##### 8.9.3.1.1 Response Header Fields

Table 8.9.3-2. Response Header Fields

Name | Value | Origin Server Usage | Description
--- | --- | --- | ---
Content-Type | dicom-media-type | M | The media-type of the payload
Content-Length | uint | C | Shall be present if a content encoding has not been applied to the payload
Content-Encoding | encoding | C | Shall be present if a content encoding has been applied to the payload

See also Section 8.4.

Prev | Up | Next
8.9.2 Behavior | Home | 8.9.3.2 Response Payload

DICOM PS3.18 2021b - Web Services