[
https://issues.apache.org/jira/browse/HTTPCLIENT-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17742856#comment-17742856
]
Oleg Kalnichevski commented on HTTPCLIENT-2283:
-----------------------------------------------
[~morvael] Please see:
[https://github.com/apache/httpcomponents-client/blob/master/httpclient5/src/test/java/org/apache/hc/client5/http/examples/ClientConfiguration.java#L138]
Oleg
> Missing option to configure charset for classic CloseableHttpClient
> -------------------------------------------------------------------
>
> Key: HTTPCLIENT-2283
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2283
> Project: HttpComponents HttpClient
> Issue Type: Improvement
> Components: HttpClient (classic)
> Affects Versions: 5.2.1
> Reporter: Dominik Derwiński
> Priority: Major
>
> In http client 4 I could use ConnectionConfig.custom().setCharset &
> BasicHttpClientConnectionManager.setConnectionConfig (or
> PoolingHttpClientConnectionManager.setDefaultConnectionConfig) &
> HttpClients.custom().setConnectionManager.
> In http client 5 for async client I can use
> CharCodingConfig.custom().setCharset &
> HttpAsyncClients.custom().setCharCodingConfig.
> I don't see an option to set this for
> org.apache.hc.client5.http.impl.classic.CloseableHttpClient in
> HttpClients.custom() or elsewhere.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]