Re: [whatwg/fetch] Add `Response.json` static method (PR #1392)

> It's a bit unfortunate JSON ended up with application/json rather than text/json. Most other web text formats use text/.

The platform acks that `appliction/json` is the commonly used JSON mime type already though: https://mimesniff.spec.whatwg.org/#json-mime-type (even if it never directly exposes this string). Some WICG work does make use of this content type too (both questionably relevant though):

- https://wicg.github.io/media-feeds/#retrieval-of-media-feeds
- https://wicg.github.io/conversion-measurement-api/#create-report-request

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

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

Received on Friday, 13 May 2022 08:58:07 UTC