估计是没答案的,但是还是问一下,万一有人知道呢。

用 WebClient post multipartData 时怎么拿到并且设置 content-length?

restTemplate 可以 但是这个是 blocking,不到万不得已还是希望用 WebClient.

至于为什么一定要用 content-length,因为某些狗血的服务端非得要求这个 header…