- From: Nicolò Ribaudo <notifications@github.com>
- Date: Tue, 25 Jul 2023 05:44:06 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <whatwg/fetch/pull/1691@github.com>
The import attributes TC39 proposal has been updated so that HTML can use the expected type (unspecified, `json`, `css`) to affect the fetch request. This PR introduces the `"json"` destination, that will be used to fetch `import "..." with { type: "json" }`.
Ref https://github.com/whatwg/html/pull/9486#discussion_r1273195679, https://github.com/whatwg/html/issues/7233
- [ ] At least two implementers are interested (and none opposed):
* …
* …
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
* …
- [ ] [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: …
(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/1691
-- Commit Summary --
* Add `"json"` destination, for JSON modules
-- File Changes --
M fetch.bs (14)
-- Patch Links --
https://github.com/whatwg/fetch/pull/1691.patch
https://github.com/whatwg/fetch/pull/1691.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1691
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1691@github.com>
Received on Tuesday, 25 July 2023 12:44:12 UTC