Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for media types with +json suffix #74

Open
jonlindop opened this issue Jun 8, 2018 · 0 comments
Open

Support for media types with +json suffix #74

jonlindop opened this issue Jun 8, 2018 · 0 comments

Comments

@jonlindop
Copy link

Hi,

With reference to issue #52 I am getting the same issue when using media types with the +json suffix.

As per https://tools.ietf.org/html/rfc6839 section 3:

[RFC4627] defines the "application/json" media type. The suffix
"+json" MAY be used with any media type whose representation follows
that established for "application/json".

Could this simply allow matches on mediaType.getSubtype().endsWith("+json") for example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant