You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What information was incorrect, unhelpful, or incomplete?
The documentation for the body option lists ReadableStream objects as a valid source of the body contents, but this seems to be unimplemented in most browsers today.
It would perhaps make sense to put a note in the body option description, and maybe even track the support for this feature in a compat table entry?
Edit: As the related issue #13854 mentions, the support (or lack thereof) is correctly tracked on the Request page compat tables, so I believe this can be just resolved through getting a note into the main fetch() page.
What browsers does this problem apply to, if applicable?
That the documentation provides information whether ReadableStream objects can be used safely in browsers today to provide body content for fetch() requests.
What type of issue is this?
Missing compatibility data
What information was incorrect, unhelpful, or incomplete?
The documentation for the
body
option listsReadableStream
objects as a valid source of the body contents, but this seems to be unimplemented in most browsers today.It would perhaps make sense to put a note in thebody
option description, and maybe even track the support for this feature in a compat table entry?Edit: As the related issue #13854 mentions, the support (or lack thereof) is correctly tracked on the
Request
page compat tables, so I believe this can be just resolved through getting a note into the mainfetch()
page.What browsers does this problem apply to, if applicable?
Chromium (Chrome, Edge 79+, Opera, Samsung Internet), Firefox
What did you expect to see?
That the documentation provides information whether
ReadableStream
objects can be used safely in browsers today to providebody
content forfetch()
requests.Did you test this? If so, how?
Note that the posted data is the string
"[object ReadableStream]"
, and not the JSON data returned from the embedded fetch.Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/fetch
MDN metadata
MDN page report details
api.fetch
The text was updated successfully, but these errors were encountered: