You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[✓] Flutter (Channel stable, 3.7.7, on Microsoft Windows [Version 10.0.22621.1413], locale zh-CN)
• Flutter version 3.7.7 on channel stable at E:\sdk\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 2ad6cd72c0 (11 days ago), 2023-03-08 09:41:59 -0800
• Engine revision 1837b5be5f
• Dart version 2.19.4
• DevTools version 2.20.1
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Windows Version (Installed version of Windows is version 10 or higher)
Dart Version
2.19.4
Steps to Reproduce
import 'package:dio/dio.dart';
void main() async {
var dio = Dio();
final rsp = await dio.get('https://httpbin.org/stream/2');
print(rsp.data);
}
Expected Result
Returns 200, but with an illegal json.
Because the server returned 200 ok, this request should be completed.
Error handling should be my own responsibility.
Package
dio
Version
5.0.3
Output of
flutter doctor -v
Dart Version
2.19.4
Steps to Reproduce
Expected Result
Returns 200, but with an illegal json.
Because the server returned 200 ok, this request should be completed.
Error handling should be my own responsibility.
Actual Result
The text was updated successfully, but these errors were encountered: