任何人都可以通过以下代码告诉我什么是概率?
outputStream.writeBytes(twoHyphens + boundary + lineEnd);
outputStream.writeBytes("Content-Disposition: form-data; name=\"key\"" + lineEnd);
outputStream.writeBytes(lineEnd);
outputStream.writeBytes("test");
outputStream.writeBytes(twoHyphens + boundary + twoHyphens + lineEnd);
答案 0 :(得分:0)
尝试在最后添加outputStream.flush()