Support additional mime types in MediaType class [SPR-13873] #18446
Closed
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
- SVG: image/svg+xml
- 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