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

text/x-json not recognized as a valid media type #40

Closed
kdeenanauth opened this issue Jan 28, 2014 · 2 comments
Closed

text/x-json not recognized as a valid media type #40

kdeenanauth opened this issue Jan 28, 2014 · 2 comments
Milestone

Comments

@kdeenanauth
Copy link

Receiving a response web service which, although unpopular, responds with Content-type: text/x-json

It appears the code at

protected boolean hasMatchingMediaType(MediaType mediaType)

will not recognize text/x-json as a valid type.

Work around is to deserialize via ObjectMapper yourself.

@cowtowncoder
Copy link
Member

Hmmh. Interesting. Sounds like an odd type but should be possible to support.

@cowtowncoder
Copy link
Member

Implemented for 2.3.2.

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

2 participants