101
Switching Protocols
Informational
Description
The requester has asked the server to switch protocols and the server has agreed to do so
Common Usage
Commonly used when upgrading to WebSocket connections
Example Response
How this status code appears in HTTP responses
HTTP Response Header
HTTP/1.1 101 Switching ProtocolscURL Example
curl -I https://example.com
# Returns: HTTP/1.1 101 Switching ProtocolsInformational Response
This is an informational response indicating that the request was received and understood.
Related Informational Codes
Other codes in the same category