-
Notifications
You must be signed in to change notification settings - Fork 56
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
fetch() upload streaming #434
Comments
Hi @yoichio thanks for this - is there an explainer that we can look at? |
No explainer for this. Here is brief description why we want to implement this:
Code sample: const stream = new ReadableStream({start: controller => {
controller.enqueue("f");
controller.enqueue("bar");
controller.close();
}});
let response = await fetch("http://example.com/", {method:"POST", body: stream});
let text = await response.text();
console.log(`Server responded "${text}"`); |
I wonder if it might be a bit early to ask for review. There's a number of open issues that need to be addressed, right? https://github.com/whatwg/fetch/labels/topic%3A%20streams whatwg/fetch#538 in particular seems concerning and without a good conclusion, though I haven't reviewed all in detail. |
Ping @yutakahirano and @domenic ? |
Thank you. I think not all of them are blocking, so I created a new label "upload-streaming-blocking", labeled whatwg/fetch#538. https://github.com/whatwg/fetch/labels/upload-streaming-blocking |
Ok we are happy to do a review but please confirm back to us that things are ready? Until then I'm going to close. |
@torgo FWIW, I think we're in a better state now with those issues and whatwg/fetch#966 might be of interest to the TAG at some level. |
Hello TAG!
I'm requesting a TAG review of:
Further details:
We'd prefer the TAG provide feedback as (please select one):
The text was updated successfully, but these errors were encountered: