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
Transformer.isJsonMimeType
dio
5.4.3+1
Android, iOS, Web, MacOS, Linux, Windows
Default Dio
flutter doctor -v
[✓] Flutter (Channel stable, 3.19.6, on macOS 14.5 23F79 darwin-arm64 (Rosetta), locale zh-Hans-CN) • Flutter version 3.19.6 on channel stable at /Users/alex/dev/flutter-stable • Upstream repository https://github.com/flutter/flutter.git • Framework revision 54e66469a9 (10 weeks ago), 2024-04-17 13:08:03 -0700 • Engine revision c4cd48e186 • Dart version 3.3.4 • DevTools version 2.31.1
Dart 3.3.4
dio.get('https://nhrl6-qyaaa-aaaao-ae6kq-cai.raw.ic0.app/file/859.png');
Returns response without exceptions.
Error: Error on line 1, column 5: Invalid media type: expected "/". ╷ 1 │ .png;charset=utf-8 │ ^ ╵
The text was updated successfully, but these errors were encountered:
MediaType
🥅 Catch MediaType parse exception in Transformer.isJsonMimeType (#…
224db94
…2257) Resolve #2256
AlexV525
Successfully merging a pull request may close this issue.
Package
dio
Version
5.4.3+1
Operating-System
Android, iOS, Web, MacOS, Linux, Windows
Adapter
Default Dio
Output of
flutter doctor -v
Dart Version
Dart 3.3.4
Steps to Reproduce
Expected Result
Returns response without exceptions.
Actual Result
The text was updated successfully, but these errors were encountered: