- From: Luca Casonato <notifications@github.com>
- Date: Wed, 16 Jun 2021 05:53:02 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 16 June 2021 12:53:36 UTC
> so if you could elaborate on what prohibits it that would help `fetch` does not complete until the entire `request.body` ReadableStream has been read and uploaded. This is fundamentally incompatible with duplex streaming, as you can not get a handle to the `response.body` until you close `request.body`. These tests demonstrate that issue: https://github.com/web-platform-tests/wpt/blob/master/fetch/api/basic/request-upload.any.js. It is expected that the promise returned from `fetch` rejects if a chunk that is pulled off the `request.body` is not a `Uint8Array`. -- 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/1254#issuecomment-862353899
Received on Wednesday, 16 June 2021 12:53:36 UTC