W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Re: Value of Server-Sent Events

From: Maciej Stachowiak <mjs@apple.com>
Date: Sun, 25 Oct 2009 14:17:01 -0700
Cc: Ian Hickson <ian@hixie.ch>, Jonas Sicking <jonas@sicking.cc>, Arthur Barstow <art.barstow@nokia.com>, public-webapps <public-webapps@w3.org>
Message-id: <A1490CC0-B7C7-4FA3-86DC-76888277A7C8@apple.com>
To: Michael Nordman <michaeln@google.com>

On Oct 25, 2009, at 9:57 AM, Michael Nordman wrote:

> Perhaps some scoping of how widely "shareable" a stream is could  
> make sense...
> // the one defined for non-shareable streams
> Content-Type: application/event-stream
> // can be shared by everyone (network appliances could mux these  
> streams)
> Content-Type: application/event-stream-universally-shareable
> // can only be shared within a particular session
> Content-Type: application/event-stream-session-shareable
> The latter could be useful for event-streams that contain data  
> specific to a particular authenticated user.

I'm not sure Content-Type is the right way to indicate these  
differences. All of these kinds of streams should continue to work as  
they do today in clients that only known the "application/event- 
stream" Content-Type, because the data format is the same and the  
processing is consistent. The difference between -universally- 
shareable and -session-shareable is in particular a difference of  
access control, not processing.

It's also not clear to me why opting in to this behavior on the server  
is better than doing so on the client.

Received on Sunday, 25 October 2009 21:17:36 UTC

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