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
目前使用的Cache lib https://github.com/hurshi/dio-http-cache 並不能全部支援dio: ^4.0.0
https://github.com/hurshi/dio-http-cache
dio: ^4.0.0
導致無法正確cache Uint8List (Raw response body) 再導致無法使用clearTransEncoding
Uint8List
clearTransEncoding
Dio官方有新增Cache方法的interceptor
https://github.com/flutterchina/dio/blob/master/example/custom_cache_interceptor.dart
可以從這邊替代
dio-http-cache
或是
讓學校把他不合RFC規範的__東西移除掉,把Transfer-Encoding 不合時宜的東西拔了
The text was updated successfully, but these errors were encountered:
目前使用的Cache lib https://github.com/hurshi/dio-http-cache 並不能全部支援dio: ^4.0.0 導致無法正確cache Uint8List (Raw response body) 再導致無法使用clearTransEncoding Dio官方有新增Cache方法的interceptor https://github.com/flutterchina/dio/blob/master/example/custom_cache_interceptor.dart 可以從這邊替代 改進方向 使用Dio官方的Cache interceptor example 替換原有的dio-http-cache 或是 改用Hive 或其他資料庫,直接Cache結果 或是 讓學校把他不合RFC規範的__東西移除掉,把Transfer-Encoding 不合時宜的東西拔了
dio 官方的新路徑 https://github.com/flutterchina/dio/blob/master/example/lib/custom_cache_interceptor.dart
Sorry, something went wrong.
No branches or pull requests
目前使用的Cache lib
https://github.com/hurshi/dio-http-cache
並不能全部支援
dio: ^4.0.0
導致無法正確cache
Uint8List
(Raw response body)再導致無法使用
clearTransEncoding
Dio官方有新增Cache方法的interceptor
https://github.com/flutterchina/dio/blob/master/example/custom_cache_interceptor.dart
可以從這邊替代
改進方向
dio-http-cache
或是
或是
讓學校把他不合RFC規範的__東西移除掉,把Transfer-Encoding 不合時宜的東西拔了The text was updated successfully, but these errors were encountered: