Kalle icon indicating copy to clipboard operation
Kalle copied to clipboard

拦截器打印response.body().string()之后就拿不到响应内容

Open hecail opened this issue 4 years ago • 1 comments

写一个拦截器,在里面打印了response.body().string()后就拿不到响应了

hecail avatar Dec 15 '20 09:12 hecail

那是的了,这样就把流读出来了,再不能读了,你可以再塞进去一遍;看看demo里面有这样的例子;

yanzhenjie avatar Jan 18 '21 09:01 yanzhenjie