Skip to content

Schema negotiation with HTTP Prefer #601

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

Open
handrews opened this issue May 28, 2018 · 0 comments
Open

Schema negotiation with HTTP Prefer #601

handrews opened this issue May 28, 2018 · 0 comments

Comments

@handrews
Copy link
Contributor

Media type parameters are problematic due to requiring the media type to agree to and register the parameter. Media types such as application/json are reluctant to do so (e.g. refusing the consider the "profile" media type parameter despite an effort to get it into RFC 8259).

The HTTP Prefer header is a much more lightweight and flexible system for negotiating aspects of responses. We should investigate whether and how to add Prefer-based negotiation to the core spec.

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

No branches or pull requests

1 participant