About Stream resumption #92
Answered
by
findleyr
dugenkui03
asked this question in
Q&A
-
Pre-submission Checklist
Question Category
Your QuestionQuestiondifferent sdk has different last event value, some of them are Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
findleyr
Jul 10, 2025
Replies: 1 comment
-
The correct spelling is Last-Event-Id: https://html.spec.whatwg.org/multipage/server-sent-events.html#the-last-event-id-header But for go's net/http package (and I'm assuming other languages), header keys are canonicalized, and header APIs are case insensitive, so it's OK if other SDKs say 'last-event-id'. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
findleyr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The correct spelling is Last-Event-Id: https://html.spec.whatwg.org/multipage/server-sent-events.html#the-last-event-id-header
But for go's net/http package (and I'm assuming other languages), header keys are canonicalized, and header APIs are case insensitive, so it's OK if other SDKs say 'last-event-id'.
https://pkg.go.dev/net/http#Header