jira-importer opened a new issue, #1229: URL: https://github.com/apache/httpcomponents-core/issues/1229
**[John McCarthy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=jmsignup)** opened **[HTTPCORE-330](https://issues.apache.org/jira/browse/HTTPCORE-330?redirect=false)** and commented When creating an InputStreamEntity, content length may not be known. (Also, it may be desired to create an entity that will be read until fully consumed without specifying a content length.) From what I see in the writeTo() method source, you may specify a number less than zero for the length parameter in the constructor if the length is not known. Please clarify this in the javadoc. Also, because is length is optional, perhaps corresponding constructors should be added that don't require this parameter. --- **Affects:** 4.2.3 **Attachments:** - [httpcore - InputStreamEntity unknown length.patch](https://issues.apache.org/jira/secure/attachment/12565357/httpcore+-+InputStreamEntity+unknown+length.patch) (_7.55 kB_) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
