HTTP

101 Switching Protocols

The server understands the Upgrade header field request and indicates which protocol it is switching to.

When You See This Code

When upgrading from HTTP/1.1 to WebSocket, or to HTTP/2.

How to Fix

This is normal behavior during protocol upgrades. Ensure your client supports the target protocol.

Specification

View RFC / Specification →