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] [Updated] (HTTPCLIENT-1512) Please add org.apache.http.client.fluent.Content.asString(Charset)
Date Fri, 23 May 2014 15:41:02 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jochen Kemnade updated HTTPCLIENT-1512:
---------------------------------------

    Description: 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.  (was: 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 char[] that is already there.)

> 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
>
> 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
(v6.2#6252)

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


Mime
View raw message