Comment From: snicoll

This property does not have a default value AFAICS. Did you mean spring.thymeleaf.servlet.content-type?

Comment From: wilkinsona

There's a default in Framework – it's a list that contains only (text/html;charset=UTF-8) – but this isn't reflected in the metadata. I noticed it when adding spring.mustache.reactive.media-types which has the same inherited-from-Framework default value.

Comment From: wilkinsona

Framework's default is overridden by Thymeleaf. The default media types are:

  • text/html
  • application/xhtml+xml
  • application/xml
  • text/xml
  • application/rss+xml
  • application/atom+xml
  • application/javascript
  • application/ecmascript
  • text/javascript
  • text/ecmascript
  • application/json
  • text/css
  • text/plain
  • text/event-stream