jira-importer opened a new issue, #1444: URL: https://github.com/apache/httpcomponents-core/issues/1444
**[Gerald Turner](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=gturner)** opened **[HTTPCORE-204](https://issues.apache.org/jira/browse/HTTPCORE-204?redirect=false)** and commented Wishlist request to add an additional constructor to StringEntity which takes the MIME-type portion of the Content-Type. Without additional constructor: StringEntity entity = new StringEntity(xml, "UTF-8"); entity.setContentType("text/xml; charset=UTF-8"); With additional constructor: StringEntity entity = new StringEntity(xml, "text/xml", "UTF-8"); --- **Affects:** 4.0.1 **Attachments:** - [StringEntity.patch](https://issues.apache.org/jira/secure/attachment/12418536/StringEntity.patch) (_2.45 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]
