HTTPError.net

The fastest way to diagnose, understand, and fix any HTTP status code

101 Switching Protocols

Fault: Neither
TL;DR

The server understands and is willing to comply with the client's request to switch protocols.

The server is switching protocols as requested by the client.

What HTTP 101 Switching Protocols Means

The server is switching protocols as requested by the client.

The server understands and is willing to comply with the client's request to switch protocols.

Common Causes

How to Fix It (For Visitors)

How to Fix It (For Developers/Admins)

Frequently Asked Questions

What does HTTP 101 Switching Protocols mean?

The server understands and is willing to comply with the client's request to switch protocols. In short: The server is switching protocols as requested by the client.

How should I handle an HTTP 101 Switching Protocols response?

Ensure proper WebSocket handshake implementation. Handle protocol upgrades correctly.

Official Specification

The 101 Switching Protocols status code is defined in RFC 7231 Section 6.2.2.

View the IANA HTTP Status Code Registry →