On Thu, Feb 5, 2015 at 10:57 PM, Anne van Kesteren <ann...@annevk.nl> wrote:
> On Thu, Feb 5, 2015 at 2:48 PM, Bjoern Hoehrmann <derhoe...@gmx.net> > wrote: > > A Websocket connection is established by making a HTTP Upgrade request, > > and the protocol is HTTP unless and until the connection is upgraded. > > Sure, but the server can get away with supporting a very limited > subset of HTTP, no? Anyway, perhaps a combination of a CORS preflight > followed by the HTTP Upgrade that then includes the headers is the > answer, would probably be best to ask some WebSocket library > developers what they think. > Agreed. Even if we don't make any change on the existing specs, we need to standardize (or just announce to developers) that they need to make servers understand that combination if they want to develop apps that uses custom headers. Then, client vendors could implement that.