Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hecail opened this issue Dec 15, 2020 · 1 comment
Open

Comments

@hecail
Copy link

hecail commented Dec 15, 2020

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

@yanzhenjie
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants