101 Switching Protocols
Server confirms protocol switch requested by the client via the Upgrade header — typically to WebSocket or HTTP/2.
Definition (RFC 9110)
HTTP status code 101 101 Switching Protocols is defined in RFC 9110 (HTTP Semantics), Section 15.2.2 — the current authoritative specification for HTTP semantics, published June 2022, which obsoletes the older RFC 7231 and RFC 2616.
Description
The 101 Switching Protocols response indicates that the server accepts the client's request to switch protocols. This is commonly seen during WebSocket upgrades.
The server sends this response with an Upgrade header indicating the protocol it's switching to.
Common Causes
How to Fix
Check your website's HTTP status code
Check now →