-
Notifications
You must be signed in to change notification settings - Fork 22.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Request constructor duplex option #31735
Labels
area: Fetch/XMLHttpRequest
Content:WebAPI
Web API docs
goal: completeness
(Experiment label) Issues about content missing important/relevant details.
Comments
dcecile
added
the
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
label
Jan 16, 2024
Josh-Cena
added
area: Fetch/XMLHttpRequest
goal: completeness
(Experiment label) Issues about content missing important/relevant details.
and removed
needs triage
Triage needed by staff and/or partners. Automatically applied when an issue is opened.
labels
Jan 16, 2024
None of the browsers implement it yet. Check the browser bugs linked in whatwg/fetch#1493. |
Josh-Cena
added
the
waiting for implementations
Waiting for feature to be implemented in browsers
label
Jan 16, 2024
Josh-Cena
removed
the
waiting for implementations
Waiting for feature to be implemented in browsers
label
Jun 22, 2024
also, the |
I think this should start to add an entry in bcd first (like |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Fetch/XMLHttpRequest
Content:WebAPI
Web API docs
goal: completeness
(Experiment label) Issues about content missing important/relevant details.
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/Request/Request
What specific section or headline is this issue about?
Parameters
What information was incorrect, unhelpful, or incomplete?
The spec has a
duplex
option, but it's missing from the pageWhat did you expect to see?
A note about the parameter, and that it needs to be set to
"half"
when using aReadableStream
body.It would also be nice to have a row for browser compatibility.
Do you have any supporting links, references, or citations?
Spec: https://fetch.spec.whatwg.org/#request-class
Chrome docs (showing how to do half-duplex fetch): https://developer.chrome.com/docs/capabilities/web-apis/fetch-streaming-requests
Related web platform test: https://wpt.fyi/results/fetch/api/request/request-init-stream.any.html?label=master&label=experimental&aligned&q=request-init-stream
Do you have anything more you want to share?
The
Request
class itself also has aduplex
get-only property, so main page (https://developer.mozilla.org/en-US/docs/Web/API/Request) is affected and an instance property page is missing tooMDN metadata
Page report details
en-us/web/api/request
The text was updated successfully, but these errors were encountered: