尤其是因为JavaScript代码无法控制Sec-WebSocket-Key1等。
"Sec-WebSocket-Key": "notbase64", }, }, { name: "badHTTPVersion", h: map[string]string{ "Connection": "Upgrade", "Upgrade": "websocket", "Sec-WebSocket-Version": "13", "Sec-WebSocket-Key": "meow123", "Sec-WebSocket-Key": xrand.Base64(16), }, http1: true, }, @@ -207...