whatwg / fetch

Fetch Standard
https://fetch.spec.whatwg.org/
Other
2.12k stars 332 forks source link

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

Open rexxars opened 1 week ago

rexxars commented 1 week ago

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 commented 1 week ago

@yoichio @KershawChang @youennf any final thoughts?

rexxars commented 1 week ago

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

Thanks! Done :)