>_

1xx Informational

101 Switching Protocols

The server is switching to the protocol the client asked for in the Upgrade header.

Most often seen when a WebSocket connection is established: the HTTP request is upgraded and the connection then speaks the WebSocket protocol.

Notes

Example response

HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Date: Thu, 22 Oct 2026 08:00:00 GMT

Check a URL’s status with curl -I https://example.com, which prints the status line and headers.

Related status codes

Related tools

curl to Code · LLM API Playground · LLM Stream Parser