Re: [whatwg/fetch] Allow a ReadableByteStream in `fetch({body: <body>})` (#577)

You should be able to use fixed sized bodies (string, blob, etc) for upload streams today.  So if you did an XHR thing I think you should be able to do the same with fetch().

Note, there is a limitation on what servers will support streamed uploaded.  It requires chunked encoding which pretty much limits it to h2.  (You can't negotiate chunked encoding in h1.1 until after request has been sent, which is too late.)

-- 
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/issues/577#issuecomment-322264890

Received on Monday, 14 August 2017 18:09:21 UTC