We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ResponseType.stream
dio
5.4.3+1
Web
Default Dio
flutter doctor -v
[✓] Flutter (Channel stable, 3.22.2, on macOS 14.5 23F79 darwin-arm64, locale tr-TR) • Flutter version 3.22.2 on channel stable at /Users/emirs/Downloads/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 761747bfc5 (3 weeks ago), 2024-06-05 22:15:13 +0200 • Engine revision edd8546116 • Dart version 3.4.3 • DevTools version 2.34.3 [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at /Users/emirs/Library/Android/sdk • Platform android-34, build-tools 34.0.0 • Java binary at: /Users/emirs/Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 15.4) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 15F31d • CocoaPods version 1.13.0 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 2024.1) • Android Studio at /Users/emirs/Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11609105) [✓] IntelliJ IDEA Ultimate Edition (version 2024.1.3) • IntelliJ at /Users/emirs/Applications/IntelliJ IDEA Ultimate.app • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart [✓] Connected device (4 available) • Emir’s iPhone (mobile) • 00008101-000A58240A98001E • ios • iOS 17.5.1 21F90 • macOS (desktop) • macos • darwin-arm64 • macOS 14.5 23F79 darwin-arm64 • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin • macOS 14.5 23F79 darwin-arm64 • Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.63 [✓] Network resources • All expected network resources are available. • No issues found!
3.4.3
POST
responseType
return the stream, as it does on other platforms.
instead of a stream, it directly gives the response body as one when the stream finishes.
The text was updated successfully, but these errors were encountered:
Streaming response is unavailable on the Web platform with XHR-based implementations. dart-lang/http#593
Sorry, something went wrong.
No branches or pull requests
Package
dio
Version
5.4.3+1
Operating-System
Web
Adapter
Default Dio
Output of
flutter doctor -v
Dart Version
3.4.3
Steps to Reproduce
POST
request with theresponseType
set asResponseType.stream
Expected Result
return the stream, as it does on other platforms.
Actual Result
instead of a stream, it directly gives the response body as one when the stream finishes.
The text was updated successfully, but these errors were encountered: