Site icon EfmSoft

What does HTTP status 101 (Switch Protocols) mean?

 
Could be also:
ConstantTypeOS
ERROR_EXCL_SEM_ALREADY_OWNEDWin32 errorWindows
ENETUNREACHerrnoLinux
ETIMEerrnoMac
EADDRNOTAVAILerrnoWindows
MEMORY1_INITIALIZATION_FAILEDBugCheck CodeWindows
Previous Next
HTTP_STATUS_CONTINUE HTTP_STATUS_PROCESSING

HTTP_STATUS_SWITCH_PROTOCOLS

HTTP 101 is sent after a successful protocol upgrade, such as a WebSocket upgrade. The protocol change applies only to the current connection, starting after the response header section.

When diagnosing a failed upgrade, compare the client Upgrade and Connection headers with the server response and the server-side protocol configuration. A 101 response itself is success, not an error.

RFC 9110: HTTP Semantics

Operational meaning of HTTP 101 for HTTP_STATUS_SWITCH_PROTOCOLS

HTTP 101 (this result) is a informational response. AllStat records its meaning as “101 Switching Protocols”. Interpret it with the request method, selected representation, response headers, and the specification or product that defines the code; the number alone does not prove that application work completed.

Client and server handling

For telemetry, record HTTP 101, method, authority, route template rather than secrets, response headers relevant to caching or retry, latency, upstream identity, and whether the response originated at the application or an intermediary.


Looking for a different code? Search another status or error code.

Exit mobile version