- From: Ben Bucksch <notifications@github.com>
- Date: Mon, 13 Jun 2022 07:25:29 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 13 June 2022 14:25:41 UTC
> [Problem:] the promise returned from fetch does not resolve until the entire request body stream has been sent and closed. > The solution here would be to resolve the Promise<Response> returned from fetch before the request body stream has completed Agreed. That would also be the expected behavior for on-duplex upload-only. I want to know whether the connection is properly established, the promise to resolve, and then start streaming. I.e. I would expect the promise to resolve in the exact moment when the upload stream can start. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1254#issuecomment-1153990917 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1254/1153990917@github.com>
Received on Monday, 13 June 2022 14:25:41 UTC