0

谁能告诉我以下代码的问题是什么?

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);
4

1 回答 1

0

尝试outputStream.flush()在最后添加

于 2012-10-07T19:00:29.193 回答