Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.

WebSocket headers are case insensitive #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nxg
Copy link

@nxg nxg commented Feb 13, 2019

WebSocket headers should be matched case insensitively (cf RFC 6455, p19), but rxws.py matched the upgrade header exactly. Chrome at least seems to send this header as WebSocket, causing the handshake to fail.

While examining this, I adjusted the WebSocketException exception so that it passed some useful information back to the exception handler.

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

Successfully merging this pull request may close these issues.

None yet

1 participant