W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

Re: Allow custom headers (Websocket API)

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 5 Feb 2015 14:41:58 +0100
Message-ID: <CADnb78j_qik1B8fePwgSr7s5ya_2KnawQT0D66_iBBjE9KzZpg@mail.gmail.com>
To: Florian Bösch <pyalot@gmail.com>
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, Michiel De Mey <de.mey.michiel@gmail.com>, WebApps WG <public-webapps@w3.org>
On Thu, Feb 5, 2015 at 2:39 PM, Florian Bösch <pyalot@gmail.com> wrote:
> On Thu, Feb 5, 2015 at 2:35 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
>> Wouldn't that require the endpoint to support two protocols? That
>> sounds suboptimal.
>
> CORS and Websockets are two separate protocols which each work off and by
> themselves, there is no change required to either to make one work with the
> other, and both adequately deal with non-implementation by the endpoint. A
> webserver with support for CORS and Websockets already implements both
> protocols, and so no additional burden is imposed regardless.

The protocols in question are HTTP and WebSocket... CORS is very much
unrelated to most of this. It's just the solution we have for HTTP at
the moment and WebSocket has something similar, just not for headers
and that is the problem.


-- 
https://annevankesteren.nl/
Received on Thursday, 5 February 2015 13:42:22 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:25 UTC