You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Gary D. Gregory (Commented) (JIRA)" <ji...@apache.org> on 2012/04/16 17:20:17 UTC
[jira] [Commented] (HTTPCORE-297) Add StringEntity APIs that use
Charset instead of chaset name Strings
[ https://issues.apache.org/jira/browse/HTTPCORE-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13254752#comment-13254752 ]
Gary D. Gregory commented on HTTPCORE-297:
------------------------------------------
Looking at trunk now it seems that org.apache.http.entity.ContentType should track its charset as a Charset and not a String.
Are you interested in this direction? I'm not going to spend the time to provide a patch unless you think this is the way to go.
Thank you,
Gary
> Add StringEntity APIs that use Charset instead of chaset name Strings
> ---------------------------------------------------------------------
>
> Key: HTTPCORE-297
> URL: https://issues.apache.org/jira/browse/HTTPCORE-297
> Project: HttpComponents HttpCore
> Issue Type: Improvement
> Affects Versions: 4.1.2
> Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 03:44:56-0500)
> Maven home: C:\Java\apache-maven-3.0.4\bin\..
> Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
> Java home: C:\Program Files\Java\jdk1.6.0_31\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
> Reporter: Gary D. Gregory
>
> Add:
> - org.apache.http.entity.StringEntity.StringEntity(String, Charset)
> - org.apache.http.entity.StringEntity.StringEntity(String, String, Charset)
> To match the existing:
> - org.apache.http.entity.StringEntity.StringEntity(String, String)
> - org.apache.http.entity.StringEntity.StringEntity(String, String, String)
> Same idea for:
> - org.apache.http.nio.entity.NStringEntity
> - org.apache.http.nio.entity.StringNIOEntity
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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