Open liuchong opened 3 years ago
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.
WebSocketBaseClient
Host
In
WebSocketBaseClient
, there is a hardcodedHost
header. This pull request will let it useHost
in the passed in extra headers, and if it is not exists in extra headers, will use the origin logic to setHost
.