[
https://issues.apache.org/jira/browse/CXF-8931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872975#comment-17872975
]
Andriy Redko commented on CXF-8931:
-----------------------------------
[~bodhione] [~jhack] so here is the thing with chunking (which applies to all
clients): the chunked setting is a hint only. Even if chunked is false,
`HttpClient` must use chunk coding if the entity content length is unknown
(-1). In this regards, if the size of the payload is not known (InputStream,
etc), the `HttpClient` will be using chunked transfer encoding at the moment.
> HttpClientHTTPConduit can't disable the http chunk mode
> -------------------------------------------------------
>
> Key: CXF-8931
> URL: https://issues.apache.org/jira/browse/CXF-8931
> Project: CXF
> Issue Type: Bug
> Reporter: Jim Ma
> Assignee: Andriy Redko
> Priority: Major
> Fix For: 4.1.0, 3.6.5, 4.0.6
>
>
> This works with URLConnectionHttpConduit, but this doesn't work with the new
> HttpClientHTTPConduit. When set the HttpClientPolicy.setAllowChunking(false)
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)