-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Missing close status codes for websockets #5192
Copy link
Copy link
Closed
Labels
Description
🐞 Describe the bug
ref: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent
current: https://github.com/aio-libs/aiohttp/blob/707736b/aiohttp/http_websocket.py#L31-L42
The close code 1014, 1015 is missing, and one of my use case (websocket proxy) involves 1014,
which results in an unexpected error "Invalid close code: 1014".
I think we need to update the list.
Reactions are currently unavailable