You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/04/04 10:16:00 UTC
[jira] [Created] (JAMES-3531) JMAP RFC-8620 SSE transport should
manage Last-Event-Id
Benoit Tellier created JAMES-3531:
-------------------------------------
Summary: JMAP RFC-8620 SSE transport should manage Last-Event-Id
Key: JAMES-3531
URL: https://issues.apache.org/jira/browse/JAMES-3531
Project: James Server
Issue Type: Sub-task
Components: JMAP
Affects Versions: 3.6.0
Reporter: Benoit Tellier
Assignee: Antoine Duprat
According to https://jmap.io/spec-core.html#event-source
{code:java}
The server SHOULD also send a new event id that encodes the entire server state visible to
the user immediately after sending a state event. When a new connection is made to the
event-source endpoint, a client following the server-sent events specification will send a
Last-Event-ID HTTP header field with the last id it saw, which the server can use to work
out whether the client has missed some changes. If so, it SHOULD send these changes
immediately on connection.
{code}
This is currently not implemented.
This enable re-synchronization in the face of intermittent network connection using only SSE, without API calls.
This is somehow equivalent to RFC-8887 (JMAP over websocket) `pushState` mechanism. See https://tools.ietf.org/html/rfc8887.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org