-
-
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
Can it be used with MultipartRequest? #95
Comments
Hi, this is not yet supported in the library. However, there's an open PR so hopefully it's coming soon. |
Hey, we have a beta version that supports |
Yep, I'm so excited, thanks for developing "HTTP interceptor", I will try it later. |
Hi, i'm trying the http interceptor for multi part seems still not working.
|
I will take a look at it closely and fix it for 2.0.0-beta.3. Thank you for trying out the library and specially for trying out the beta version 🎊 |
I sent pr to fix the problem, tested in my project. working well now. |
Thank you! I will Review it during the weekend and if all looks good then create a new prerelease |
Hi @CodingAleCR, I need this functionality in my project, please, when will you accept this pull request? Thanks in advance. |
Hey, @jsanz1209, the PR should be accepted and a new version before the weekend. Sorry for the delay! Happy Holidays! |
Hi @CodingAleCR, Thanks for your support. Is this hasn't been uploaded to pub.dev yet, right? Greetings! |
Hey @jsanz1209, I completely missed the It should be fixed now in a new |
Using the beta.4 and trying to implement retry policy + jwt access token on a MultiPart request. Thanks! |
That seems like an issue on the library itself, at least it has been on the past. I'll take a look and get back to you as soon as I can |
Thanks! |
Hi just an update, the library does have issues on this front. It seems we need to copy all Now this type of issues should only be appearing on "retried" requests. If everything is fine and the request does not need retrying then the library should work as expected ;] |
yep, of course we should find a way to make it work on retried calls too. thanks |
I wish I could still set the retry policy independent of the constructor. |
Like having a global retry policy? |
How did you use multipart request using interceptor, i cant using interceptor with MultipartRequest() ?
final http = InterceptedHttp.build(interceptors: [Interceptor(),]);
var request = http.MultipartRequest("POST", uri);
The method 'MultipartRequest' isn't defined for the type 'InterceptedHttp'. (Documentation)
The text was updated successfully, but these errors were encountered: