1xx InformationalHTTP Status Code Reference
HTTP 101 Switching Protocols— What It Means, Causes & How to Fix It
The server is switching protocols as requested by the client via an Upgrade header. This is commonly used when upgrading an HTTP connection to WebSocket.
Live URL Status Checker
Enter any URL to see its real HTTP response code
Common Causes
- WebSocket connection upgrade request
- HTTP/2 upgrade negotiation
- Protocol switch requested via Upgrade header
How to Fix
- 1No fix needed — this is expected during protocol upgrades
- 2Ensure both client and server support the target protocol
- 3Verify the Upgrade header specifies a valid protocol
Example
HTTP 101 Switching Protocols
GET /chat HTTP/1.1 Upgrade: websocket Connection: Upgrade → Server responds 101 Switching Protocols
Related Informational Codes
Commonly Referenced Status Codes
The most frequently searched HTTP status codes