Expose request duplex
The Request object should expose "duplex"[1], given our support for
streaming requests. Since it doesn't, requests with a body currently
cannot be used to construct other requests.
This CL fixes that by exposing a fixed-value duplex of "half" (as
specified).
PSA: https://groups.google.com/a/chromium.org/g/blink-dev/c/HPhATidOhuw
[1] https://fetch.spec.whatwg.org/#dom-request-duplex
Bug: 40237822
Change-Id: I1fedecf912a8f327da6c63bcb0801796e3961640
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5872928
Commit-Queue: Yoav Weiss (@Shopify) yoavweiss@chromium.org
Reviewed-by: Kouhei Ueno kouhei@chromium.org
Cr-Commit-Position: refs/heads/main@{#1358031}