I'm trying to send POST multipart request using WebClient (spring-web 5.2.9.RELEASE), but it is missing "Content-Length" header required by the API.
Is it possible to configure WebClient to include "Content-Length" header for MultipartHttpMessageWriter which using to write request with multipart/form-data media type?
I'm sending request in this way:
webClient.post().body(BodyInserters.fromMultipartData((MultiValueMap<String, HttpEntity<String>>)request)).exchange();