This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Add support for static Response.json
method #272
Closed
Description
This was recently added to the Workers runtime: https://community.cloudflare.com/t/2022-5-26-workers-runtime-release-notes/386584
Other references:
- Add
Response.json
static method whatwg/fetch#1392 - Updated spec: https://fetch.spec.whatwg.org/#response-class
undici
5.3.0 added support for this, so updating to the newer version of undici
may resolve this. I briefly attempted this but was met with about ~40 test failures that were a little beyond my scope of understanding for this repo. 😅
Metadata
Metadata
Assignees
Labels
No labels