2014-12-02 9:46 GMT+01:00 Mark Thomas <ma...@apache.org>:

> Assuming that this is coming from testing with the TCK, I'd like to see
> the results of challenging the affected tests (ideally with the
> discussion on the EG as a result of that challenge) before making any
> final decision on what the behaviour should be regarding the creation of
> a default origin header.
>
> No, of course it is not a TCK test, I made it up myself. That was funny :)
So the assertion is that the TCK indeed seems to require a default origin
header. Websockets spec docs seems to indicate the origin header is part of
the standard, so that's probably why these tests were added:
http://en.wikipedia.org/wiki/WebSocket#WebSocket_protocol_handshake

My opnion: it is more consistent and since the client does it, it doesn't
have a very large cost. Thus, I'm not very motivated to bring it to the EG,
but you can do it since the issue is simple to describe.

Rémy

Reply via email to