因为调用了response.body().string()两次;
导致第二次会出现这种错误。
删除一次即可。
在这里找到类似情况:
http://stackoverflow.com/questions/33089581/what-is-the-reason-of-this-error-java-io-ioexception-content-length-and-stream
因为调用了response.body().string()两次;
导致第二次会出现这种错误。
删除一次即可。
在这里找到类似情况:
http://stackoverflow.com/questions/33089581/what-is-the-reason-of-this-error-java-io-ioexception-content-length-and-stream