You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2010/11/15 23:46:13 UTC

[jira] Created: (HTTPCLIENT-1021) getResponseCharSet cannot distinguish default from actual header

getResponseCharSet cannot distinguish default from actual header
----------------------------------------------------------------

                 Key: HTTPCLIENT-1021
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1021
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 3.1 Final
            Reporter: Benson Margulies


It was an unpleasant surprise to discover that HttpMethodBase.getResponseCharSet returns 'ISO-8859-1' when there is no charset at all in the header, and there is no provision in the API at all to indicate whether the return value is this default or an explicit value from a header.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (HTTPCLIENT-1021) getResponseCharSet cannot distinguish default from actual header

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-1021.
-------------------------------------------

    Resolution: Won't Fix

Benson

HttpClient 3.1 is EOL and is no longer being actively developed or even maintained. Please consider upgrading to HttpClient 4.0 or 4.1.

Oleg

> getResponseCharSet cannot distinguish default from actual header
> ----------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1021
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1021
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 3.1 Final
>            Reporter: Benson Margulies
>
> It was an unpleasant surprise to discover that HttpMethodBase.getResponseCharSet returns 'ISO-8859-1' when there is no charset at all in the header, and there is no provision in the API at all to indicate whether the return value is this default or an explicit value from a header.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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