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

"Stream" response type not working on Flutter Web #966

Closed
now-hivesey opened this issue Oct 20, 2020 · 4 comments
Closed

"Stream" response type not working on Flutter Web #966

now-hivesey opened this issue Oct 20, 2020 · 4 comments

Comments

@now-hivesey
Copy link

New Issue Checklist

  • [Y ] I have searched for a similar issue in the project and found none

Issue Info

"Stream" response type is not working on Flutter web; the below code works fine on mobile platform but the request posted to the server is never returned on web.

Response rs = await Dio().get(url,
options: Options(responseType: ResponseType.stream), // set responseType to stream
);

@stale
Copy link

stale bot commented Nov 21, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions.

@stale stale bot added the stale label Nov 21, 2020
@stale stale bot closed this as completed Nov 28, 2020
@renenucci
Copy link

Hi guys, have some news into this? I'm facing the same issue with flutter 2 SDK.
the await never returns after the request is send (only in web). Android and iOS works fine.

[]s

@mrsrmn
Copy link

mrsrmn commented Jun 23, 2024

this issue is still happening.

@kuhnroyal
Copy link
Member

This will never work with current XHR based implementation. Generally please don't comment on issues that have been closed 4 years ago.

@cfug cfug locked as resolved and limited conversation to collaborators Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants