Skip to content

Support additional mime types in MediaType class [SPR-13873] #18446

Closed
@spring-projects-issues

Description

Sachin Walia opened SPR-13873 and commented

Following mime types are common place in web environment. However Spring MVC MediaType class just throws exception if we try to use their correct mime type. Moreover using application/octet-stream is also not an acceptable solution

  1. SVG: image/svg+xml
  2. WEBP: image/webp

Moreover there should be some way to define custom media type for any additional mime types.


No further details from SPR-13873

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)in: webIssues in web modules (web, webmvc, webflux, websocket)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions