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