- From: Noam Rosenthal <notifications@github.com>
- Date: Wed, 06 Oct 2021 10:17:09 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 6 October 2021 17:17:21 UTC
> > * Finalize response is called too soon in fetch finale. The other callbacks need to happen first. > > It's there on purpose. I want to make sure `processResposeDone` is always called before the other ones for network errors, so that reporting etc. would happen before any `onerror` events. Though I guess perhaps it would more sense to call `done` after, and to use the `process response` and `process response end-of-body` callbacks in the HTML spec callers. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1311#issuecomment-936724881
Received on Wednesday, 6 October 2021 17:17:21 UTC