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.
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. |