Resolves #28758
Comment From: sdeleuze
Thanks for this contribution, merged via 411b355f2c47c5835329225032645f4b2ee40f9d and refined via 3ccbe3d1cba54840a8f7beb22f911ac3eb94e683.
Comment From: Pro456458
Hi I come across to this issue 26489 "Spring WebClient multipart/form-data does not include a content length" . Provided solution working fine and inside ExchangeFilterFunction, content-length is well calculated in case of uploading file in a single chunk. But in case of uploading file in multiple chunk (for large size) it started failing and giving exception {The length of the file input stream does not match the provided length. Expected: X, Actual (approximate): 'Y' "} Could @sdeleuze @spring-projects-issues @Nheyll @nertzy any one help me to provide the solution how to calculate the content for each chunk