[whatwg/fetch] The end of fetch response handover needs to operate on the internal response (Issue #1512)

Steps 5-7 of https://fetch.spec.whatwg.org/#fetch-finale don't work for opaque responses. We want to actually give a signal after the entire body is read which if we're just looking at the filtered response wouldn't work because body would be null. And despite it being somewhat unsafe, I think @domenic also expressed that he would expect callers of "process response consume body" to get all the bytes of an opaque response without ceremony.

Found as part of #1509. Should maybe be fixed together with #1511.

cc @noamr 

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

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

Received on Monday, 24 October 2022 09:59:41 UTC