[jax-rs-spec users] [jsr339-experts] Re: Re: Re: Link 'produces' and 'consumes' parameters

From: Santiago Pericas-Geertsen <>
Date: Mon, 20 Aug 2012 20:22:53 -0400

On Aug 20, 2012, at 5:22 PM, Bill Burke wrote:

>>> I wonder if we should just limit the support of media types to the
>>> 'type' attribute and postpone the support for multiple
>>> produces/consumes types when we have some realistic cases
>> Perhaps, but people that have extended JAX-RS with hyperlinks have
>> found this additional meta-data to be useful.
> In my experience, this type of metadata is rarely used as machine-based clients are just looking for the rel and the href. Even so, "rel" attribute is enough self-describing metadata for the client to know what to do as its either registered with IANA, or a URL you can query.

 Perhaps we should stick to the standard attributes but leave the capability to define extensions (not unlike arbitrary HTTP headers) and let them worry about their syntax? I'd rather us not over-specify things here; I'm on the fence with the attribute 'method', though.

-- Santiago