hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HTTPCLIENT-1512) Please add org.apache.http.client.fluent.Content.asString(Charset)
Date Mon, 26 May 2014 08:18:01 GMT

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

Jochen Kemnade edited comment on HTTPCLIENT-1512 at 5/26/14 8:16 AM:

Patch against {{4.3.x}} branch, I'd be glad if this could be included in a 4.3.x release.

was (Author: jkemnade):
Patch against {{4.3.x}} branch

> Please add org.apache.http.client.fluent.Content.asString(Charset)
> ------------------------------------------------------------------
>                 Key: HTTPCLIENT-1512
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1512
>             Project: HttpComponents HttpClient
>          Issue Type: Wish
>          Components: Fluent HC
>    Affects Versions: 4.3.3
>            Reporter: Jochen Kemnade
>             Fix For: 4.4 Final
>         Attachments: 0001-HTTPCLIENT-1512-add-org.apache.http.client.fluent.Co.patch
> The content from a request can be returned as a String but that uses the Encoding as
specified in the content type. Sometimes (if it is not given or even wrong) you want to be
able to override it. But currently you cannot create a String with a desired encoding that
is backed by the {{byte[]}} that is already there.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message