This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

101 Switching Protocols

HTTP 101 Switching Protocols 응답 코드는 서버가 전환되는 프로토콜을 가리킵니다. 프로토콜은 클라이언트로부터 받은 Upgrade 헤더에 명시되어 있습니다.

서버는 이 응답에 전환된 프로토콜을 나타내는 Upgrade 헤더를 포함합니다. 이 절차는 프로토콜 업그레이드 메커니즘 문서에 설명되어 있습니다.

상태

http
101 Switching Protocols

예제

전환되는 프로토콜은 WebSockets와 함께 사용할 수 있습니다.

http
HTTP/1.1 101 Switching Protocols
Upgrade: websocket
Connection: Upgrade

명세서

Specification
HTTP Semantics
# status.101

같이 보기