- From: Noam Rosenthal <notifications@github.com>
- Date: Wed, 06 Oct 2021 10:23:42 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 6 October 2021 17:23:55 UTC
> @noamr maybe that one isn't needed. I was thinking that step 3 needed to start with "If response is a network error or response’s body is null" to ensure we don't end up reading a network error, but by definition a network error has no body so it should already do the right thing. In the case I was concerned with (CORS error) I forgot that we end up returning a new network error) and basically forget (and don't invoke callbacks) about the network response. If you could double check that I'd appreciate it though. I double checked, a network error's body is always null, that's explicit in the definition of `network error`. -- 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-936736418
Received on Wednesday, 6 October 2021 17:23:55 UTC