Closed yanyongyu closed 2 years ago
According to asgi document, the websocket connection scheme should be ws or wss, but get http
ws
wss
http
This cause test failure for quart 0.15+/0.16+ (Error BadRequest)
0.15+
0.16+
BadRequest
https://github.com/vinissimus/async-asgi-testclient/blob/a86e5774af88a4918ef7b0e4874307e8e308d7e7/async_asgi_testclient/websocket.py#L115-L123
Reference: https://asgi.readthedocs.io/en/latest/specs/www.html#websocket-connection-scope
Fix released in v1.4.9
According to asgi document, the websocket connection scheme should be
ws
orwss
, but gethttp
This cause test failure for quart
0.15+
/0.16+
(ErrorBadRequest
)https://github.com/vinissimus/async-asgi-testclient/blob/a86e5774af88a4918ef7b0e4874307e8e308d7e7/async_asgi_testclient/websocket.py#L115-L123
Reference: https://asgi.readthedocs.io/en/latest/specs/www.html#websocket-connection-scope