HTTP 101 Switching Protocols
The server is switching to the protocol specified in the client's Upgrade request header. This response is sent in reply to an Upgrade request header from the client and indicates the protocol the server is switching to. The most common use case is upgrading an HTTP connection to WebSocket: the client sends Upgrade: websocket along with a Sec-WebSocket-Key, and the server replies with 101 and the computed Sec-WebSocket-Accept. After the 101, the TCP connection is no longer HTTP — it becomes a full-duplex WebSocket channel. HTTP/2 uses a similar mechanism via ALPN negotiation at the TLS layer.
Part of GalacticaSuite Cosmos — open the API client to test requests.