Re: [whatwg/fetch] Introduce RequestInit.duplex (PR #1457)

Thinking about that more, the pattern is currently unusable in runtimes that don't support stream request bodies. That means this would be a Deno specific issue (which will be addressed by us defaulting `RequestInit#duplex` to `"full"` for requests with `body: ReadableStream` for now).

Exposing `Request#duplex` would make this pattern work on the client too, like it already does for responses, so I think we should add it regardless.

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

Message ID: <whatwg/fetch/pull/1457/c1160212095@github.com>

Received on Monday, 20 June 2022 09:37:11 UTC