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

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

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

Comments

@wilkinsona
Copy link
Member

@wilkinsona wilkinsona commented Mar 17, 2022

No description provided.

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

@snicoll 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

@wilkinsona wilkinsona commented Mar 21, 2022

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 removed this from the 2.5.x milestone Mar 23, 2022
@wilkinsona wilkinsona added this to the 2.5.11 milestone Mar 23, 2022
@wilkinsona
Copy link
Member Author

@wilkinsona wilkinsona commented Mar 23, 2022

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
Projects
None yet
Development

No branches or pull requests

2 participants