Re: [whatwg/fetch] Response body being null on 204/205/304 etc doesn't match any implementation (Issue #1779)

> It's unfortunate to not reflect the actual HTTP semantics, but it's probably okay? We do return null in certain cases though (`new Response().body`), so it's a bit weird.

Yea thinking to spec it so that an http null body status would end up  with an empty stream, but Response.body would still account for null like today.

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

Message ID: <whatwg/fetch/issues/1779/2434524440@github.com>

Received on Thursday, 24 October 2024 07:38:37 UTC