Path: blob/main/files/en-us/web/http/status/101/index.md
6546 views
------{{HTTPSidebar}}
The HTTP 101 Switching Protocols response code indicates a protocol to which the server switches. The protocol is specified in the {{HTTPHeader("Upgrade")}} request header received from a client.
The server includes in this response an {{HTTPHeader("Upgrade")}} response header to indicate the protocol it switched to. The process is described in the following article: Protocol upgrade mechanism.
Status
Examples
Switching protocols might be used with WebSockets.
Specifications
{{Specifications}}
See also
{{HTTPHeader("Upgrade")}}
{{HTTPStatus("426")}}
Upgrade Required