- From: Luca Casonato <notifications@github.com>
- Date: Mon, 20 Jun 2022 01:56:07 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 20 June 2022 08:56:19 UTC
@lucacasonato commented on this pull request. We need to add a Request#duplex attribute too, otherwise the `new Response(resp.body, resp);` pattern breaks. > @@ -6880,7 +6882,15 @@ object), initially null. <dt>{{RequestInit/window}} <dd>Can only be null. Used to disassociate <var>request</var> from any {{Window}}. - </dl> + + <dt>{{RequestInit/duplex}} + <dd>"half" for initiating a half-duplex (i.e., the user agent send all the request content + before starting receiving the response) fetch, and "full" for initiating a full-duplex (i.e., + the user agent starts receiving the response before sending all the request content) fetch. + This needs to be set when {{RequestInit/body}} is a {{ReadableStream}}. <span class=note>The + semantics for "full" has not been specified yet. See ```suggestion semantics for "full" have not been specified yet. See ``` -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/pull/1457#pullrequestreview-1011921704 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/pull/1457/review/1011921704@github.com>
Received on Monday, 20 June 2022 08:56:19 UTC