[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13564698#comment-13564698
 ] 

Andrew Miller commented on HTTPCLIENT-1308:
-------------------------------------------

This works fine though:
        Executor executor = Executor.newInstance();
        Request request = Request.Post("http://localhost";);
        request.body(new StringEntity("t\u00e9st\u2200", 
Charset.forName("UTF-8")));
        System.out.println("'" + 
executor.execute(request).returnContent().asString() + "'");

                
> 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]

Reply via email to