-
-
Notifications
You must be signed in to change notification settings - Fork 67
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
type 'Response' is not a subtype of type 'StreamedResponse' in type cast #134
Comments
I'll have to fork because of this. The |
I don't know how I missed this and it has stayed like this so long. Thank you for reporting it and for the subsequent comment that surfaced this. I'll look into it as soon as possible. PRs are welcomed in any case if you also find a fix for this. 🙏🏻 |
So, a bit of an insight for future me: Your |
I got a follow up question for you both @miguelruivo @antonshkurenko, what type of request are you sending into Another ask is if it's still happening on |
I'll add the PR for reference #132 |
Describe the bug
Hey guys, I'm using
^2.0.0-beta.7
. I have this error in two cases (100% of time):CacheManager
's config here: https://pub.dev/documentation/flutter_cache_manager/latest/flutter_cache_manager/HttpFileService/HttpFileService.htmlIt looks like it somehow just force casts and crashes every time here: https://github.com/CodingAleCR/http_interceptor/blob/main/lib/http/intercepted_client.dart#L222
Expected behavior
No crashes
Please complete the following information):
http_interceptor
Version: ^2.0.0-beta.7The text was updated successfully, but these errors were encountered: