Skip to content

Duplicate custom headers #14

@FlorianCassayre

Description

@FlorianCassayre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions