Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

subprotocol is not returned in WebSocket Upgrade / Accept Response #240

Closed
@Tratcher

Description

@Tratcher

From @rposener on April 27, 2016 20:51

the following JS:
var exampleSocket = new WebSocket("ws://" + window.location.host, "test");
when accepted by:
WebSocket webSocket = await httpContext.WebSockets.AcceptWebSocketAsync("test");
does not include the header value:
Sec-WebSocket-Protocol:test

even though it should per spec.

Copied from original issue: aspnet/WebSockets#79

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions