- From: Khafra <notifications@github.com>
- Date: Thu, 25 Jul 2024 17:53:06 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 26 July 2024 00:53:10 UTC
### What is the issue with the Fetch Standard? When running `Response.redirect(null)`, different platforms give one of two results: - node, deno, and cloudflare workers throw an error - firefox and chrome pass (response.url is an empty string here) the webidl declaration for it is [[NewObject](https://webidl.spec.whatwg.org/#NewObject)] static [Response](https://fetch.spec.whatwg.org/#response) [redirect](https://fetch.spec.whatwg.org/#dom-response-redirect)([USVString](https://webidl.spec.whatwg.org/#idl-USVString) url, optional [unsigned short](https://webidl.spec.whatwg.org/#idl-unsigned-short) status = 302); I'm wondering which platforms are correct here? Thanks -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1764 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1764@github.com>
Received on Friday, 26 July 2024 00:53:10 UTC