mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-09-04 00:29:45 +02:00
1.1 KiB
1.1 KiB
set | code | title | references | ||||
---|---|---|---|---|---|---|---|
1 | 101 | Switching Protocols |
|
The server understands and is willing to comply with the client's request, via the Upgrade header field1, for a change in the application protocol being used on this connection.
The server MUST generate an Upgrade header field in the response that indicates which protocol(s) will be switched to immediately after the empty line that terminates the 101 response.
It is assumed that the server will only agree to switch protocols when it is advantageous to do so. For example, switching to a newer version of HTTP might be advantageous over older versions, and switching to a real-time, synchronous protocol might be advantageous when delivering resources that use such features.
- 1 Upgrade RFC7230 Section 6.7
- Source: RFC7231 Section 6.2.2