HTTP 101 Switching Protocols Explained
Informational1xx informational
Overview
HTTP 101 Switching Protocols indicates the server is changing protocols as requested by the client.
Key Details
- Status: 101 Switching Protocols
- Category: 1xx Informational
- Server agrees to switch protocols
- Common with WebSocket upgrades
Common Causes
- Client requested protocol upgrade via Upgrade header
- WebSocket connection handshake
- HTTP/2 upgrade from HTTP/1.1
- Server agrees to the protocol change
Steps
- 1Usually seen during WebSocket connections
- 2Verify Upgrade header is set correctly
- 3Check that server supports the requested protocol
- 4Monitor WebSocket connection establishment
Tags
http-status1xx-informationalhttp-101httpstatus-code
More in 1xx Informational
http-100-continueHTTP 100 Continue — What It Means & How to Fix It
Informationalhttp-101-switching-protocolsHTTP 101 Switching Protocols — What It Means & How to Fix It
Informationalhttp-102-processingHTTP 102 Processing — What It Means & How to Fix It
Informationalhttp-103-early-hintsHTTP 103 Early Hints — What It Means & How to Fix It
Informationalhttp-100HTTP 100 Continue — What It Means
Informationalhttp-102HTTP 102 Processing — WebDAV Status
InformationalFrequently Asked Questions
Most commonly during WebSocket connection upgrades from HTTP.