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

send resp_headers with websocket responses #998

Merged
merged 1 commit into from
Aug 12, 2016
Merged

Conversation

camshaft
Copy link
Contributor

@camshaft camshaft commented Jun 25, 2016

This fix is needed to support subprotocol negotiation (with the Sec-WebSocket-Protocol header) and sending cookies (with the Cookie header) in websockets as outlined in the spec, section 1.3. It looks like it was supported in Cowboy v1, according to #672.

@essen
Copy link
Member

essen commented Jun 25, 2016

Thanks! Looks like it got removed by mistake indeed. Please add a test to ws_SUITE so it doesn't happen again.

@camshaft
Copy link
Contributor Author

Alright. Let me know if that looks ok.

@essen
Copy link
Member

essen commented Jun 27, 2016

Thanks, will try to remember this PR tomorrow. :-)

@essen essen merged commit e09a856 into ninenines:master Aug 12, 2016
@essen
Copy link
Member

essen commented Aug 12, 2016

Merged with tweaks, thanks!

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

Successfully merging this pull request may close these issues.

2 participants