Skip to content

Improved support for HttpMessageConverters #87

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

Closed
dschulten opened this issue Jun 16, 2013 · 1 comment
Closed

Improved support for HttpMessageConverters #87

dschulten opened this issue Jun 16, 2013 · 1 comment

Comments

@dschulten
Copy link
Contributor

Currently we respond with Content-Type: application/json for HAL. That does not seem quite right, but I am not sure how to fix that.

Normally one would have a HttpMessageConverter for a mime type. But since we tweak Jackson to produce HAL over MappingJacksonXXXHttpMessageConverter, things are more difficult. I am also not sure if that is a good approach in the long run.

It might be more appropriate to have a HalMappingJackson2HttpMessageConverter and a HalMappingJacksonHttpMessageConverter which could be configured like any other message converter if you want HAL support. That MessageConverter should do the Jackson tweaking internally.
If you agreee, I could look into that.

@gregturn
Copy link
Contributor

gregturn commented Mar 5, 2019

Superseded by #833.

@gregturn gregturn closed this as completed Mar 5, 2019
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