You can use setResponseIsReady to set whether the resource response data is ready. For example, after data is asynchronously obtained, you need to call setResponseIsReady(true) to notify the system that the response data is ready. For details, see onInterceptRequest.