All HTTP status codes

HTTP 101 Switching Protocols

Informational

The server agrees to switch to the protocol the client requested in the Upgrade header — most commonly seen when establishing a WebSocket connection.

Defined in RFC 9110

Common causes

  • WebSocket handshake (Upgrade: websocket)
  • HTTP/1.1 to HTTP/2 cleartext upgrade (h2c)

How to fix it

  1. Nothing to fix on success

  2. If the upgrade fails instead, verify the proxy/load balancer forwards Upgrade and Connection headers

Want to explore status codes interactively? Try the free HTTP Status Code Reference — search, categories and example responses, right in your browser.