Skip to content

SSE: Handle request header names case-insensitively - #893

Open
arturobernalg wants to merge 1 commit into
apache:masterfrom
arturobernalg:sse_case-insensitive-headers
Open

arturobernalg wants to merge 1 commit into
apache:masterfrom
arturobernalg:sse_case-insensitive-headers

Conversation

@arturobernalg

Copy link
Copy Markdown
Member

HTTP field names are case-insensitive, and EventSource documents the same behavior for request headers.

Store SSE request headers using a case-insensitive map so that setting or removing a header works independently of the name casing.

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