6.9.10.3 Response
Prev | 6.9.10 OpenEventChannel | Next

#### 6.9.10.3 Response

##### 6.9.10.3.1 Response Status Line

The Service shall return an HTTP/1.1 status line, including a status code and associated reason phrase.

If the request was successful, the Service shall return an HTTP/1.1 "101 - Switching Protocols" response code.

If the request fails, the Service shall return an appropriate failure status line with a response code from Table 6.9.10-1, “Status Codes”.

Table 6.9.10-1. Status Codes

HTTP/1.1 Code | Reason Phrase | Description
--- | --- | ---
101 | Switching Protocols | The WebSocket connection was established.
400 | Bad Request | The UPS-RS Origin-Server was unable to understand the request
401 | Unauthorized | The UPS-RS Origin-Server refused to accept the request because the client is not authenticated.
403 | Forbidden | The UPS-RS Origin-Server understood the request, but is refusing to perform the query (e.g., an authenticated user with insufficient privileges).
503 | Busy | Service is unavailable.

Prev | Up | Next
6.9.10.2 Behavior | Home | 6.9.10.3.2 Response Message Body