HTTP 101

HTTP 101 Switching Protocols โ€” Meaning, Causes & How to Fix

The server agrees to switch protocols as requested by the client in an Upgrade header.

Code
101
Name
Switching Protocols
Class
1xx Informational
Specification
RFC 9110 ยง15.2.2
Cacheable by default
Not applicable (interim response)

What HTTP 101 means

101 Switching Protocols means the server accepts the clientโ€™s Upgrade request and, right after this response, the connection speaks a different protocol. Its most common use today is opening a WebSocket connection from an HTTP/1.1 request.

Common causes

How to fix it

For site owners

For visitors & developers

SEO impact

No SEO impact. Crawlers do not open WebSocket connections; pages should not depend on them for indexable content.

Example 101 response

HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo=

Related status codes

100 ยท Continue103 ยท Early Hints400 ยท Bad Request102 ยท Processing

Check or look up another code

Search and filter every code in the HTTP Status Codes tool, browse the full list by class, or read HTTP status codes explained: the complete developer guide.

Open HTTP Status Codes tool โ†’All status codes

Frequently asked questions

What does HTTP 101 mean?

HTTP 101 Switching Protocols is a 1xx Informational status code. The server agrees to switch protocols as requested by the client in an Upgrade header.

Does HTTP/2 use 101 Switching Protocols?

No. HTTP/2 does not allow the 101 mechanism; it is an HTTP/1.1 feature. WebSockets over HTTP/2 use a different method (extended CONNECT, RFC 8441).

Which specification defines 101?

It is defined in RFC 9110 ยง15.2.2.

Is a 101 response cacheable?

No. 101 is an interim (1xx) response; only the final response that follows can be cached.

More PAYATE tools