101 Switching Protocols
Informational
This code is sent in response to an Upgrade request header from the client and indicates the protocol the server is switching to.
Explanation
The 101 (Switching Protocols) status code indicates the server understands and is willing to comply with the client's request, via the Upgrade header field, for a change in the application protocol being used on this connection.
The server will switch protocols immediately after the empty line that terminates the 101 response. This is commonly used when upgrading from HTTP/1.1 to WebSocket, or to HTTP/2.0.
Example Response
HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade
Related Status Codes
Check where URLs redirect to with our free URL redirect checker.
Check URL Redirects