You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Automatically set the right content type in BodyInserters#fromResource() [SPR-14905] #19471
Activity
spring-projects-issues commentedon Nov 15, 2016
Sébastien Deleuze commented
See this code for an example of the boilerplate I would like to avoid.
spring-projects-issues commentedon Nov 15, 2016
Arjen Poutsma commented
Including the context-support module on the classpath fixed this issue.
However, this issue does show that the experience of serving Resources can be improved: see #19474.