Re: [whatwg/fetch] Streaming upload (Issue #1438)

yuta, a `fullDuplex: true` flag would not solve the problem that I mentioned for upload, whereas @lucacasonato 's suggestion solves both problems at once, is straight-forward, and matches the download stream API. For download streams, the connection and streaming body are 2 separate steps, which can be awaited separately. The same would make sense for upload. It makes for a more natural API for single-duplex upload, and solves full-duplex.

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

Message ID: <whatwg/fetch/issues/1438/1154012740@github.com>

Received on Monday, 13 June 2022 14:43:37 UTC