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

Media-types with suffixes for response bodies #290

Open
danielcompton opened this issue May 6, 2019 · 0 comments
Open

Media-types with suffixes for response bodies #290

danielcompton opened this issue May 6, 2019 · 0 comments

Comments

@danielcompton
Copy link
Contributor

This is implemented now in 1.3.0-alpha10, but only for response representations, not for request bodies. That said, this feels like 95% of use-cases so worth closing this issue. Feel free to raise a new issue for request bodies if you have a need.

Originally posted by @malcolmsparks in #188 (comment)

I think JSON:API would be a use-case for this? The JSON:API spec says:

Servers MUST send all JSON:API data in response documents with the header Content-Type: application/vnd.api+json without any media type parameters.

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