Connected: An Internet Encyclopedia
10.1.2 101 Switching Protocols

Up: Connected: An Internet Encyclopedia
Up: Requests For Comments
Up: RFC 2068
Up: 10 Status Code Definitions
Up: 10.1 Informational 1xx
Prev: 10.1.1 100 Continue
Next: 10.2 Successful 2xx

10.1.2 101 Switching Protocols

10.1.2 101 Switching Protocols

The server understands and is willing to comply with the client's request, via the Upgrade message header field (section 14.41), for a change in the application protocol being used on this connection. The server will switch protocols to those defined by the response's Upgrade header field immediately after the empty line which terminates the 101 response.

The protocol should only be switched when it is advantageous to do so. For example, switching to a newer version of HTTP is advantageous over older versions, and switching to a real-time, synchronous protocol may be advantageous when delivering resources that use such features.


Next: 10.2 Successful 2xx

Connected: An Internet Encyclopedia
10.1.2 101 Switching Protocols