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

`Patrick, the question is can we support chunked encoding uploads without a known fixed size? I thought you had told me this was only possible in h2.`

h2 only supports streamed bodies (true of both directions) - it doesn't call them chunked, but that's effectively what they are.

h1 only reliably supports chunk downstream on the Internet, though 1.1 specifies it in both directions so you could try it as long as you're willing to tolerate the errors which will come in a variety of forms (early, late, hangs, etc..).. this is really an e2e problem, so you'll still get some errors even if you apriori know the server deals with chunked uploads, or that you are speaking h2 (because those properties might not be true e2e).

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

Received on Tuesday, 15 August 2017 13:55:28 UTC