Skip to content

SSE: Update Last-Event-ID independently of event dispatch - #892

Open
arturobernalg wants to merge 1 commit into
apache:masterfrom
arturobernalg:sse_last-event-id
Open

arturobernalg wants to merge 1 commit into
apache:masterfrom
arturobernalg:sse_last-event-id

Conversation

@arturobernalg

@arturobernalg arturobernalg commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

According to the WHATWG SSE processing model, the last event ID is updated during the dispatch step before checking whether the data buffer is empty.

Update the SSE consumers to preserve Last-Event-ID even when no event is dispatched, and omit the Last-Event-ID request header when the value has been reset to an empty string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant