WebSocket-for-Python icon indicating copy to clipboard operation
WebSocket-for-Python copied to clipboard

Fix passing host to in headers

Open liuchong opened this issue 4 years ago • 0 comments

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.

liuchong avatar Apr 07 '21 08:04 liuchong