Can okhttp response body data be read after the call was cancelled?

119 Views Asked by At

In okhttp interceptor code, is it possible, after a call was cancelled, to read whatever partial response data might have been returned by the server?

The end goal is to cache partial content so that we can later resume with an http range request.

1

There are 1 best solutions below

2
On

Use Network inspector to see it .

Please see the attached image .Hope you will get it