DICOM PS3.18 2019e - Web Services

8.10.4.3 Response (Current)
Prev | 8.10.4 Open Notification Connection Transaction | Next

#### 8.10.4.3 Response

The response shall have the following syntax:

    version SP status-code SP reason-phrase CRLF

    Upgrade: "WebSocket" CRLF

    Connection: "Upgrade" CRLF

    Sec-WebSocket-Accept: response-key CRLF

    Sec-WebSocket-Protocol: protocol CRLF

    *(header-field CRLF)

    CRLF

##### 8.10.4.3.1 Status Codes

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

Table 8.10.4-2. Status Code Meaning

Status | Code | Meaning
--- | --- | ---
Success | 101 (Switching Protocols) | The protocol was successfully changed to WebSocket.
Failure | 400 (Bad Request) | There was a problem with the request.

Prev | Up | Next
8.10.4.2 Behavior | Home | 8.10.4.3.2 Response Header Fields

DICOM PS3.18 2019e - Web Services