Skip to main content

101 Switching Protocols

The server agrees to switch the connection to the protocol named in the request's Upgrade header. After this response, the connection no longer speaks HTTP/1.1.

1xx · Informational

Typical causes

A WebSocket handshake (Upgrade: websocket) that succeeded. A proxy that strips the Upgrade or Connection header prevents it.

Defined in RFC 9110, §15.2.2