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

Re: Last-Event-ID in http://dev.w3.org/html5/eventsource/

From: Maciej Stachowiak <mjs@apple.com>
Date: Tue, 02 Mar 2010 10:11:58 -0800
Cc: "public-webapps@w3.org" <public-webapps@w3.org>
Message-id: <5C8101F0-48C3-41E9-A64F-165237225318@apple.com>
To: Julian Reschke <julian.reschke@gmx.de>

On Mar 2, 2010, at 4:07 AM, Julian Reschke wrote:

> On 02.03.2010 12:53, Maciej Stachowiak wrote:
>> Using If-None-Match this way seems like a bad fit in a couple of  
>> ways:
>> - Event IDs are not ETags at the HTTP level. It seems like a layering
>> violation to treat event IDs, or indeed anything in the response body
>> rather than in the ETag header, as entity tags.
> Event IDs *could* be used as ETags, in which case there wouldn't be  
> a layering violation.

How? The ETag is sent before the first event, as part of the HTTP  
headers. The server can't know the last event it will send, if the  
event stream is dynamically generated.

  - Maciej
Received on Tuesday, 2 March 2010 18:12:33 UTC

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