http_interceptor icon indicating copy to clipboard operation
http_interceptor copied to clipboard

A lightweight, simple plugin that allows you to intercept request and response objects and modify them if desired.

Results 14 http_interceptor issues
Sort by recently updated
recently updated
newest added

when I am trying to retry a request headers are not getting updated following is my interceptor ```dart class AuthorizationInterceptor extends InterceptorContract { @override Future interceptRequest({required BaseRequest request}) async {...

bug
question

This is a PR related to https://github.com/CodingAleCR/http_interceptor/issues/92 The goal is to limit the amount of simultaneous requests, and pause requests when a token is being updated. It is also possible...

feature

Send doesn't need to be used with a StreamedRequest. When it doesn't, the interceptor converts the StreamedResponse to a Response.

bug

Are there any plans for a new release version compatible with the http package >= 1.0.0?

question

**Is your feature request related to a problem? Please describe.** If a programmer wants to retry 3 times in case of '400' status error and 1 time in case of...

feature_request

Is it possible to retrieve the request body in the interceptRequest method with version 2.0.0-beta.7 ?

question

**Describe the bug** Hey guys, I'm using `^2.0.0-beta.7`. I have this error in two cases (100% of time): 1) Any time I use send method in the client (https://pub.dev/documentation/http/latest/http/Client/send.html) 2)...

bug

Hi , I call many api at same time , but I see when token expire I got 401 , so it's goes to refresh token and retry , but...

bug

Since the HTTP Response body is a getter, we need a way to modify the Response body after it's fetched. For example: ` class APIInterceptors extends InterceptorContract { @override Future...

feature_request

**Is your feature request related to a problem? Please describe.** The app I'm building can fire multiple requests at once. When one of the requests gets a 401 for an...

help wanted
feature_request