keecode logokeecode
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 Protocols

cURL Example

curl -I https://example.com
# Returns: HTTP/1.1 101 Switching Protocols