Open
Description
Currently, my interceptResponse looks like:
@override
Future<ResponseData> interceptResponse({required ResponseData data}) async {
if (kDebugMode) {
print("-- RESPONSE --");
print(data.body);
}
RequestExceptionCatcher.checkRequestResponse(
data.statusCode,
);
data.body = utf8.decode(data.bodyBytes);
return data;
}
The problem is that the response body are not changing. Even when i manually set the body value to an empty string, the response.body outside of the intercepter is not changing.