fullflash

Results 36 comments of fullflash

is there any fix or alternative plugin to avoid this warning from facebook ?

adding Accept parameter to header prevent adding json content type by gaxios. like "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.",

> How to clear a QueuedInterceptor's queue for cases when auth token unable to be refreshed? in 4.0.4 dio.clear() method are only clears lock's queue this case cannot be handled...

> @wendux > > > l. My code contains multiple dio instances, some of them are set up differently. At the moment I can decide which ones to lock/unlock etc....

@ipcjs but same situation can be happen on second dio instance also.

yes but wondering if there can be any leaking case. 🤔 on repeat request there might be also a token expiration very small chance but... there must be an error...

@ipcjs this is a good workaround. but i am still trying find a fix for QueuedInterceptor. there should be url mapping for overriding duplicate url request queues and that can...

@ipcjs our repeated request error bug is about QueuedInterceptors error handler. i came we this patch: to keep active processing que and force complete when same request path and data...

> Thank @ipcjs for your suggestion. > > About this sample [https://github.com/flutterchina/dio/blob/dfe102d5bed4da72e8f77f8f67395ba2b7d47b40/example/lib/queued_interceptor_crsftoken.dart](url) > > If you use another Dio instance to repeat the request (line 107 and line 83), everything...

not always but in some case we have facing similar issue. onRequest method of QueuedInterceptorsWrapper triggered but onError not.