Skip to content

uvicorn doesn't seem to pass websocket 'subprotocol' correctly back to client #1777

Answered by Kludex
villekr asked this question in Potential Issue
Discussion options

You must be logged in to vote

You aren't supposed to send the Sec-Websocket-Protocol yourself.

The server should be in charge of doing it. It's the subprotocol the server is able to use from the list the client proposed.

Replies: 1 comment

Comment options

Kludex
Nov 27, 2022
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants