Skip to content

MappingJacksonHttpMessageConverter ignores supported media types property [SPR-6386] #11052

Closed
@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-6386 and commented

The MappingJacksonHttpMessageConverter getContentType() method always returns a media type of "application/json", which ignores the media types I may have set it up with via setSupportedMediaTypes (e.g. "application/vnd.stocks+json").


Affects: 3.0 RC2

Referenced from: commits 01ce468

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions