WebSocket transport doesn't work with URI whose authority has no trailing slash and query is not empty #6

Closed
flowersinthesand opened this Issue May 30, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@flowersinthesand
Member

flowersinthesand commented May 30, 2015

That means ws://localhost:1234 and ws://localhost:1234/?foo=bar do work fine but ws://localhost:1234?foo=bar doesn't work. I don't think URI's authority should have a trailing slash regardless of query string but am not quite sure in terms of specification. (However even Node.js's url module doesn't add a trailing slash to authority when formatting a url object.)

Anyway, ws 0.7.2 requires to do that and we need to work around it. The issue is reported to websockets/ws#258 and websockets/ws#386

@flowersinthesand flowersinthesand added this to the 1.0.0-Alpha2 milestone May 30, 2015

@flowersinthesand flowersinthesand self-assigned this Feb 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment