[ https://issues.apache.org/jira/browse/CXF-8914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17761090#comment-17761090 ]
Andriy Redko commented on CXF-8914: ----------------------------------- Hey [~stephan.naecker] , in the upcoming 3.6.2 / 4.0.3 releases, a new Bus / system property "org.apache.cxf.transport.http.forceURLConnection" would allow to fallback to the old HttpConduit, see please [https://github.com/apache/cxf/commit/3d70de80fb60b74040c0214fc6a28774362556e4.] > No content-length header after upgrade CXF from 3.5.6 to 3.6.1 > -------------------------------------------------------------- > > Key: CXF-8914 > URL: https://issues.apache.org/jira/browse/CXF-8914 > Project: CXF > Issue Type: Bug > Affects Versions: 3.6.1 > Environment: SpringBoot 2.7.13 > Reporter: Stephan Näcker > Priority: Major > > After updating the CXF dependency in our application from 3.5.6 to 3.6.1 it > does not add a content-length header anymore, when doing a multipart request > for a file upload. > I didn't find any information, how to let CXF set the header. Is it just > dependent of chunking? > Actually the application sets "allow chunking" to false. But I'm not sure, > how I can test, if this really works. > Thanks in advance for your help. -- This message was sent by Atlassian Jira (v8.20.10#820010)