1. Because the transfer size of the stream is inconsistent with the actual write size.
2. When using httppost to pass a stream other than a file stream, the value obtained by using is.available() is always 0. It is necessary to convert the byte stream through the file method into a file stream.
3. It is recommended to use the okhttps tool for file upload and stream upload.
insufficient data written error
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326442857&siteId=291194637
Recommended
Ranking