hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1308) Request.elementCharset doesn't do anything
Date Mon, 28 Jan 2013 22:41:13 GMT

     [ 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));

> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message