ここへジャンプ:

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

The HTTP 101 Switching Protocols response code indicates the protocol the server is switching to as requested by a client which sent the message including the Upgrade request header.

The server includes in this response an Upgrade response header indicate the protocol it switched to. The process is described in detail in the article Protocol upgrade mechanism.

Status

101 Switching Protocols

Examples

Switching protocols might be used with WebSockets.

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

Specifications

Specification Title
RFC 7231, section 6.2.2: 101 Switching Protocol Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content

See also

ドキュメントのタグと貢献者

 このページの貢献者: amjad, Sheppy, solvaholic, teoli, fscholz
 最終更新者: amjad,