Hi I noticed the InputStreamEntity.writeTo doesn't close the InputStream when writing is done. Compare to FileEntity which closed the FileInputStream in final block.
Does this closed/handled elsewhere? Or I have to handle it myself? If I have to close it myself, how do I know when the transfer is completed? Example, I can use the FileInputStream with InputStreamEntity: InputStream is = new FileInputStream(myFile); HttpEntity entity = new InputStreamEntity(is, myFile.size()); response.setEntity(entity); Then how do I close the InputStream properly. Thanks LongkerDandy
