-
Notifications
You must be signed in to change notification settings - Fork 161
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
create a document from a stream #520
Comments
No, this is out of scope for the streams specification, sorry you never got a response. The streams specification defines streams; it does not deal with how to create them from specific web platform objects. |
@domenic could you tell me on which repo this request belongs? The |
@annevk I have referenced 5 different issues on 4 repositories*; the community has spoken, something is missing. Could you fill the issue yourself? In layman's terms we need a builtin |
|
@annevk that means that users will have to handle response of type document in a separate path or extend Response with a custom method of their own. Is that really the best we can do? Even if json has clearly won the battle over xml in terms of usage, it doesn't mean that a dedicated method is not necessary. The parity with XHR should be of utmost importance IMHO. This common use case shouldn't involve hacks: it should be consistent. |
I guess we disagree on that. |
It's really hard to believe you. Who would want fetch to be lacking stuff that XHR could do? |
cf whatwg/fetch#16 (comment) by @annevk
references:
whatwg/fetch#151
whatwg/fetch#16
node-fetch/node-fetch#113
JakeChampion/fetch#204
w3c/ServiceWorker#462
The text was updated successfully, but these errors were encountered: