101Switching Protocols
The server is agreeing to change protocol on this connection, almost always from HTTP to WebSocket.
Browse all HTTP status codesWhen you see it
This is the handshake that opens a WebSocket. The client sends an Upgrade header asking to switch, and 101 is the server saying yes. From that point the connection is no longer speaking HTTP, which is why you see 101 once at the start of a live connection and never again.
If a WebSocket connection is failing and you never see a 101, the request is being blocked before it reaches the application. A proxy or load balancer that does not forward the Upgrade header is the usual cause.
Look up another one
Open
Type a code, a partial code like 40, or any word from a name or description. Everything runs in your browser.
69 of 69 codes. Click a row to copy it.