- From: Noam Rosenthal <notifications@github.com>
- Date: Wed, 23 Oct 2024 10:39:52 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 23 October 2024 17:39:56 UTC
### What is the issue with the Fetch Standard? As per the standard, `Response.body` returns null if the body is null, https://fetch.spec.whatwg.org/#dom-body-body and https://fetch.spec.whatwg.org/#ref-for-null-body-status. However, no browser implements this. In all the implementations, a 204/205/304 response etc. would result in a `Response.body` of an empty stream. Perhaps the fetch spec should be fixed to reflect implemented reality? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1779 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1779@github.com>
Received on Wednesday, 23 October 2024 17:39:56 UTC