FormHttpMessageConverter should not have a dependency on the Jakarta Mail API #28392
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
When working with
multipartCharset
theFormHttpMessageConverter
uses theMimeUtility.encodeText
method.This forces a dependency for sending email inside a HTTP converter.
In our case, we now need to import
org.springframework.boot:spring-boot-starter-mail
to fix this dependency.Could an alternative import be used here to avoid such dependencies in the case of
Content-Type
multipart
?We found this issue when using a simple REST API.
The text was updated successfully, but these errors were encountered: