[ https://issues.apache.org/jira/browse/CXF-8931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17873283#comment-17873283 ]
John Tal edited comment on CXF-8931 at 8/13/24 7:26 PM: -------------------------------------------------------- [https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html] If the user explicitly calls setChunking(false), you can reset() the stream after you've read it to calculate the size, then send in the size after you have done inputStream.reset(). was (Author: JIRAUSER303766): [https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html] > 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)