- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 21 Nov 2022 04:36:52 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1541@github.com>
This change makes several changes: * Makes "get, decode, and split" callable with a value. This is generally not advisable so this is not exported. * Generalizes forbidden header name to forbidden request-headers so it can target values for specific headers. * Takes advantage of that for X-HTTP-Method, X-HTTP-Method-Override, and X-Method-Override. Tests: WPT fetch/api/basic/request-forbidden-headers.any.js. XHR PR: TODO. <!-- Thank you for contributing to the Fetch Standard! Please describe the change you are making and complete the checklist below if your change is not editorial. --> - [x] At least two implementers are interested (and none opposed): * Already implemented. - [x] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at: * Already tested. - [x] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed: * Chromium: N/A * Gecko: N/A * WebKit: N/A * Deno (not for CORS changes): N/A? - [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: … (See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.) You can view, comment on, or merge this pull request online at: https://github.com/whatwg/fetch/pull/1541 -- Commit Summary -- * Refactor forbidden request-headers -- File Changes -- M fetch.bs (257) -- Patch Links -- https://github.com/whatwg/fetch/pull/1541.patch https://github.com/whatwg/fetch/pull/1541.diff -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1541 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1541@github.com>
Received on Monday, 21 November 2022 12:37:05 UTC