You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Dominik Derwiński (Jira)" <ji...@apache.org> on 2023/07/14 05:50:00 UTC

[jira] [Comment Edited] (HTTPCLIENT-2283) Missing option to configure charset for classic CloseableHttpClient

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

Dominik Derwiński edited comment on HTTPCLIENT-2283 at 7/14/23 5:49 AM:
------------------------------------------------------------------------

What about BasicHttpClientConnectionManager? It has no builder, nor options to set connection factory? As can be seen old version had this for both Basic and Pooling.


was (Author: morvael):
What about BasicHttpClientConnectionManager? It has no builder, nor options to set connection factory?

> 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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org