Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Last-Event-ID to CORS-safelisted request headers #1788

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rexxars
Copy link

@rexxars rexxars commented Nov 19, 2024

Since EventSource implementations in most environments already send this header without CORS preflight request, it makes sense to make it a safe-listed header.

See #568 for more background.

(See WHATWG Working Mode: Changes for more details.)


Preview | Diff

@annevk
Copy link
Member

annevk commented Nov 19, 2024

@yoichio @KershawChang @youennf any final thoughts?

@annevk annevk added addition/proposal New features or enhancements topic: cors labels Nov 19, 2024
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add your name to the Acknowledgments section! (Not required.)

Since EventSource implementations in most environments already send this header
without CORS preflight request, it makes sense to make it a safelisted header.

See whatwg#568
@rexxars rexxars force-pushed the feat/cors-safelist-last-event-id branch from 76fc1a2 to 7a0ead3 Compare November 19, 2024 16:07
@rexxars
Copy link
Author

rexxars commented Nov 19, 2024

Please add your name to the Acknowledgments section! (Not required.)

Thanks! Done :)

@annevk annevk added the agenda+ To be discussed at a triage meeting label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
addition/proposal New features or enhancements agenda+ To be discussed at a triage meeting topic: cors
Development

Successfully merging this pull request may close these issues.

2 participants