json-schema-spec icon indicating copy to clipboard operation
json-schema-spec copied to clipboard

Schema negotiation with HTTP Prefer

Open handrews opened this issue 7 years ago • 0 comments

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.

handrews avatar May 28 '18 17:05 handrews