Skip to content

If controller method has produces="*/*" in 5.2.3 response is 500 instead of 406 #24466

@smaldini

Description

@smaldini

With the following commit, if a RequestMapping specifies produces="*/*and the request headers don't specify any accept, it will override the response with a 500 as the code below suggests :

34d3240#diff-24571dc5c7743b2a69f7a5df4f2109b2R316

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions