#?SuikaWiki/0.9 page-icon="HTTP" [[#comment]] * 仕様書から ** RFC 2068・2616 (HTTP/1.1) 10.1.2 101 Switching Protocols > The server understands and is willing to comply with the client's request, via the Upgrade message header field (section [DEL[14.41]] [INS[14.42]]), for a change in the application protocol being used on this connection. The server will switch protocols to those defined by the response's Upgrade header field immediately after the empty line which terminates the 101 response. サーバーは、この接続で使用する応用プロトコルの変更に関して、 [CODE(HTTP)[[[Upgrade]]]] メッセージ頭欄を通じたクライアントの要求を理解し、 それに従う意思があります。 サーバーは [CODE(HTTP)[101]] 応答の終端である空行の直後に応答の [CODE(HTTP)[Upgrade]] 頭欄で定義されたプロトコルに切り替えます。 > The protocol [DEL[should only be switched]] [INS[SHOULD be switched only]] when it is advantageous to do so. For example, switching to a newer version of HTTP is advantageous over older versions, and switching to a real-time, synchronous protocol [DEL[may]] [INS[might]] be advantageous when delivering resources that use such features. プロトコルの切り替えは、そうすることに利点がある場合にのみ行われる'''べきです'''。 例えば、新しい版の HTTP に切り替えることは古い版より有利ですし、 実時刻同期プロトコルに切り替えることはこの機能を使った資源を配送する時には有利です。 ** RFC の部分の License [[RFCのライセンス]] * メモ