WebSocket-for-Python
WebSocket-for-Python copied to clipboard
Fix passing host to in headers
In WebSocketBaseClient, there is a hardcoded Host header. This pull request will let it use Host in the passed in extra headers, and if it is not exists in extra headers, will use the origin logic to set Host.