[whatwg/fetch] Add `Last-Event-ID` to CORS-safelisted request headers (PR #1788)

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.

- [ ] At least two implementers are interested (and none opposed):
   * …
   * …
- [x] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * https://github.com/web-platform-tests/wpt/pull/49257
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chromium: …
   * Gecko: …
   * WebKit: …
   * Deno (not for CORS changes): …
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …
- [x] The top of this comment includes a [clear commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md) to use. 

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://whatpr.org/fetch/1788.html" title="Last updated on Nov 19, 2024, 4:23 AM UTC (76fc1a2)">Preview</a> | <a href="https://whatpr.org/fetch/1788/bdb452e...76fc1a2.html" title="Last updated on Nov 19, 2024, 4:23 AM UTC (76fc1a2)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/1788

-- Commit Summary --

  * Add `last-event-id` to CORS-safelisted request headers

-- File Changes --

    M fetch.bs (1)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1788.patch
https://github.com/whatwg/fetch/pull/1788.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1788
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1788@github.com>

Received on Tuesday, 19 November 2024 04:24:16 UTC