Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default value of spring.thymeleaf.reactive.media-types is not documented #30280

Closed
wilkinsona opened this issue Mar 17, 2022 · 3 comments
Closed
Assignees
Labels
type: documentation A documentation update
Milestone

Comments

@wilkinsona
Copy link
Member

No description provided.

@wilkinsona wilkinsona added the type: documentation A documentation update label Mar 17, 2022
@wilkinsona wilkinsona added this to the 2.5.x milestone Mar 17, 2022
@snicoll
Copy link
Member

snicoll commented Mar 21, 2022

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

@wilkinsona
Copy link
Member Author

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.

@wilkinsona wilkinsona self-assigned this Mar 23, 2022
@wilkinsona wilkinsona modified the milestones: 2.5.x, 2.5.11 Mar 23, 2022
@wilkinsona
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

No branches or pull requests

2 participants