Re: [whatwg/fetch] Should `processResponse` also receive the internal response, similar to `processResponseConsumeBody`? (Issue #1664)

I discussed part of this with @awesomekling and @noamr yesterday in WHATWG Chat and created #1661. (Review appreciated!)

For the specific scenario of the HTML media elements I think they need to be updated to poke at the internal response.

The main reason `processResponseConsumeBody` pokes at the internal response for you is because there's no way for the second argument to work otherwise. But as per #1661 the first argument doesn't have to be the internal response.

cc @domenic 

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

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

Received on Friday, 26 May 2023 14:23:08 UTC