see https://github.com/spring-projects/spring-framework/issues/33342
Comment From: sdeleuze
I understand the ask and thanks for providing a PR, but it is hard to argue why we should add this one and many others, + there is also setContentDispositionFormData()
, so I think I would recommend to just use headers(Consumer<HttpHeaders> headersConsumer)
for that need. As a consequence, I am going to decline this PR.