Skip to content
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

Accessing partial download data via StreamedRequest does not seem to work on web #631

Closed
BananaNeil opened this issue Oct 19, 2021 · 1 comment

Comments

@BananaNeil
Copy link

BananaNeil commented Oct 19, 2021

I implemented the code in this Stackoverflow answer: https://stackoverflow.com/a/61021018/937841

And on the web, I found that _response = await http.Client().send('GET", ...) seems to download the entire file before advancing.

The callback passed to _response.stream.listen( ... ) only gets called once with the entire file downloaded, and then onDone is called immediately - this makes it impossible to add a progress loader with incremental download percentages.

On macos, I see the incremental download percentages with no issue.

@natebosch
Copy link
Member

Feature request for supporting streaming downloads on the web is at #595

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants