这是代码:
//OkHttpClient client = new OkHttpClient();
OkHttpClient client = new OkHttpClient.Builder()
.retryOnConnectionFailure(true)
.build();
MediaType mediaType = MediaType.parse("application/x-www-form-urlencoded");
RequestBody body = RequestBody.create(mediaType, "username=tokenaccess&password=test123");
产生错误:
java.io.IOException:okhttp3.Address@46888237上意外的流结束