You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2019/04/18 10:09:00 UTC
[jira] [Assigned] (CXF-8018) setAllowChunking and
org.apache.cxf.jaxrs.client.WebClient
[ https://issues.apache.org/jira/browse/CXF-8018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh reassigned CXF-8018:
----------------------------------------
Assignee: Colm O hEigeartaigh
> setAllowChunking and org.apache.cxf.jaxrs.client.WebClient
> ----------------------------------------------------------
>
> Key: CXF-8018
> URL: https://issues.apache.org/jira/browse/CXF-8018
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.3.1
> Reporter: Eric Schwarzenbach
> Assignee: Colm O hEigeartaigh
> Priority: Major
>
> Given a org.apache.cxf.jaxrs.client.WebClient object, created like
> WebClient client = WebClient.create(extSysUrl);
> executing
> HTTPClientPolicy clientPolicy = WebClient.getConfig(client).getHttpConduit().getClient()
> clientPolicy.setAllowChunking(false);
> does not seem to work. Immediately after this calling
> clientPolicy.isSetAllowChunking() returns true.
> Calling
> clientPolicy.unsetAllowChunking();
> seems to have somewhat more effect as after this
> clientPolicy.isSetAllowChunking() returns false.
> However the Response received after calling client.invoke() has a header of "transfer-encoding" set to "chunked" leading me to doubt that chunking is actually disabled.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)