List supported media types in HttpMediaTypeNotSupportedException when given invalid input media types #28062
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
If I pass an unknown value in the
Content-Type
header (like e.g.This string
) thegetSupportedMediaTypes()
returns falsely an empty list. If I don't pass this header (in case it is needed) the method works fine. Same when I pass a known value like e.g.application/xml
. Can you fix that, please?The text was updated successfully, but these errors were encountered: