EventSource icon indicating copy to clipboard operation
EventSource copied to clipboard

set 'Last-Event-ID' header

Open mucer opened this issue 7 years ago • 0 comments

Currently the lastEventId is set as query parameter. But it should also set the header field 'Last-Event-ID'

https://html.spec.whatwg.org/multipage/iana.html#last-event-id

Its already in the code, but commented: https://github.com/sguiheux/EventSource/blob/eb04814bc359ac5811094d4aa91447b502316c22/eventsource.js#L572

mucer avatar Dec 20 '18 14:12 mucer