101 Switching Protocols - HTTP 编辑
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 to 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
- Protocol upgrade mechanism
- WebSockets
Upgrade
426
Upgrade Required
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论