Skip to content
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by findleyr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants