Skip to content

Default MIME mappings are not loaded unless additional mappings are configured #40860

@stefanbrenner

Description

@stefanbrenner

Spring Boot version: 3.3.0-RC1

In my TomcatEmbeddedContext none of the default MIME mappings are available.

This problem exists since commit 038ea2c. I commented my findings on this commit: 038ea2c#diff-68bf6ea3051d79bb9131d951d76a3a2e1e4dbe117a7ea545f28e59f68e7acc82R98

If I add

server.mime-mappings: "js": "text/javascript" 

to my application.yml, all default mappings are loaded correctly.

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions