HTTP

101 Switching Protocols

The server understands the Upgrade header field request and indicates which protocol it is switching to.

当您看到此代码时

When upgrading from HTTP/1.1 to WebSocket, or to HTTP/2.

如何修复

This is normal behavior during protocol upgrades. Ensure your client supports the target protocol.

规范

查看 RFC / 规范 →

指南

术语表