Visitar URL original
Default value of spring.thymeleaf.reactive.media-types is not documented · Issue #30280 · spring-projects/spring-boot · GitHub
Skip to content

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

Closed

Description

@wilkinsona
No description provided.

Activity

  1. added this to the 2.5.x milestone on Mar 17, 2022
  2. snicoll commented on Mar 21, 2022

    @snicoll
    Member

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

  3. wilkinsona commented on Mar 21, 2022

    @wilkinsona
    MemberAuthor

    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.

  4. self-assigned this
    on Mar 23, 2022
  5. modified the milestones: 2.5.x, 2.5.11 on Mar 23, 2022
  6. wilkinsona commented on Mar 23, 2022

    @wilkinsona
    MemberAuthor

    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
  7. added a commit that references this issue on Mar 23, 2022
    d8cf332
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions