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

Let Wisdom determine which format need to be returned to the client #341

Closed
obigard opened this Issue Sep 11, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@obigard

obigard commented Sep 11, 2014

Right now, Wisdom forces to indicate the format of the response sent to the client (xml, json...). If not specified, Wisdom should just delegate to the right content serializer according to the ACCEPT header of the request.

Notice that the ACCEPT header have to be parsed and sorted (q sort) to determine client's preferences.

This change may impact both NETTY and VERTX engines.

@cescoffier cescoffier changed the title from Negociated Result (JSon vs. XML ...) to Let Wisdom determine which format need to be returned to the client Sep 12, 2014

@cescoffier cescoffier added this to the 0.7 milestone Sep 12, 2014

@cescoffier cescoffier modified the milestones: 0.6.4, 0.7 Sep 14, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment