Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate custom headers #14

Open
FlorianCassayre opened this issue Feb 12, 2018 · 0 comments
Open

Duplicate custom headers #14

FlorianCassayre opened this issue Feb 12, 2018 · 0 comments

Comments

@FlorianCassayre
Copy link

A quick inspection in Wireshark revealed that the custom headers appeared twice in the request.

This sample code

val client = WebsocketClient(uri, protocolHandler, Map("test" -> "value"))
val ws = client.open()

produces the following request

GET / HTTP/1.1
upgrade: websocket
connection: upgrade
sec-websocket-key: [...]
host: [...]
sec-websocket-origin: [...]
sec-websocket-version: 13
test: value
test: value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant