[
https://issues.apache.org/jira/browse/HTTPCLIENT-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCLIENT-1308.
-------------------------------------------
Resolution: Invalid
You are confusing HTTP protocol element encoding (used to encode HTTP message
heads) and content encoding. This should work as well
---
Executor executor = Executor.newInstance();
Request request = Request.Post("http://localhost");
request.bodyString("t\u00e9st\u2200", ContentType.create("text/plain",
Consts.UTF_8));
---
Oleg
> Request.elementCharset doesn't do anything
> ------------------------------------------
>
> Key: HTTPCLIENT-1308
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1308
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Components: Fluent HC
> Affects Versions: 4.2.2
> Reporter: Andrew Miller
>
> See the source. Request.elementCharset of the fluent API just puts something
> in a private map which is not used anywhere other than some method to remove
> an element from the map.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]