Server is switching protocols
Section: HTTP 1xx Informational Status Codes
HTTP 101 Switching Protocols
text
text
curl -i -N -H 'Connection: Upgrade' -H 'Upgrade: websocket' https://example.com/socketExplanation
Used when a client requests a protocol switch, such as upgrading to WebSocket.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing HTTP 1xx Informational Status Codes