Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can test this websocket from website #308

Open
eighteen-k-gold-malow opened this issue Jul 24, 2024 · 2 comments
Open

can test this websocket from website #308

eighteen-k-gold-malow opened this issue Jul 24, 2024 · 2 comments

Comments

@eighteen-k-gold-malow
Copy link

website: here

url

wss://score-p.599.com/scorepush/football

request body

GET /scorepush/football HTTP/1.1
Host: score-p.599.com
Connection: Upgrade
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0
Upgrade: websocket
Origin: https://www.599.com
Sec-WebSocket-Version: 13
Accept-Encoding: gzip, deflate, br, zstd
Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
Sec-WebSocket-Key: 6fz//POPcqh0m1vM3ibmjg==
Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
@eighteen-k-gold-malow
Copy link
Author

I test this websocket from wireshark,I copy it all, but except the extensions order diffrent, failed to pass the test

@LifeActor
Copy link

我用wireshark测试了这个websocket,我把所有东西都复制过来了,但是除了扩展顺序不同,其他都无法通过测试

直接用websocket模块建立连接就可以了,不用这么麻烦,协议头都是通用的 那个key是随机生成的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants