Closed
Description
Chris DaMour opened SPR-14802 and commented
When Spring MVC works with a controller result that ends up with rendering a view, the Dispatch servlet sets the locale on the response, which in turn sets the contentLanguage and thus the response Content-Language header. at this line
The same thing does not happen when returning something that is handled by a MessageConverter as there is now mv by the time it gets to
Seems like this should be set somewhere during the processing of the http message converter.
Affects: 4.2.7
Issue Links:
- Add HttpHeaders getter and setter for Content-Language [SPR-14536] #19105 Add HttpHeaders getter and setter for Content-Language