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

It's a great opportunity to make the web a bit more bidirectional.

ReadableStream means on-the-fly transformation, the first candidate being... encryption.
> `Use case`: I want to submit a form (to an openstack POST-handler) which contains attachments encrypted on-the-fly. In the current situation, **client memory is ~ twice the file size** what is unsuitable for multi-GB uploads.

The lack of ReadableStream upload incentives the use of chunking as an alternative (which has the additional benefit of being easily resumable).
Since I believe streams find their use for large data (unpredictable size), **reliability** (resumable/error-handing), if not directly involved, needs to at least be considered by implementations.

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

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

Received on Thursday, 12 May 2022 17:36:14 UTC