tqsdk-python icon indicating copy to clipboard operation
tqsdk-python copied to clipboard

Websocket handshake response header is wrong

Open knat opened this issue 7 months ago • 0 comments

wss://free-api.shinnytech.com/t/nfmd/front/mobile建立websocket连接,服务器返回如下头信息:

Sec-Websocket-Extensions: permessage-deflate; server_max_window_bits="15"

根据 https://datatracker.ietf.org/doc/html/rfc7692#section-7.1.2.1

server-max-window-bits = 1*DIGIT

"15"是错误的,应该15

knat avatar Jun 14 '25 13:06 knat