>_FoxiRef
1xx Informational responses

101Switching Protocols

Server is switching protocols

#When does this occur?

Returned when the client requests a protocol switch via the Upgrade header and the server accepts. (e.g., switching from HTTP to WebSocket)

#How to handle?

Protocol switch was successful. Start communicating using the new protocol (e.g., WebSocket).

#Example

HTTP Response
HTTP/1.1 101 Switching Protocols
Content-Type: application/json
Date: Tue, 10 Feb 2026 07:16:39 GMT

{
  "status": 101,
  "message": "Switching Protocols"
}

#Related Status Codes

이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다.

HTTP 101 Switching Protocols | Foxi Dev Reference