Skip to content

Support "application/*+x-ndjson" mime type in Jackson codecs #36121

@nlescure-pictet

Description

@nlescure-pictet

Hi there,

Following on #26817, a webclient call will crash with a org.springframework.web.reactive.function.UnsupportedMediaTypeException when deserializing a response with a content-type header such as application/my.company.v1+x-ndjson.

Constant org.springframework.http.codec.json.Jackson2CodecSupport#defaultMimeTypes already supports generic json mime type application/*+json. Shouldn't it contain the ndjson generic one application/*+x-ndjson as well.

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions