Re: [whatwg/fetch] Fetch body streams are not full duplex (#1254)

> [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