users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] Re: Link toString method

From: Santiago Pericas-Geertsen <Santiago.PericasGeertsen_at_oracle.com>
Date: Thu, 14 Feb 2013 08:57:14 -0500

On Feb 14, 2013, at 6:01 AM, Sergey Beryozkin <sberyozkin_at_talend.com> wrote:

> Hi,
>
> The documentation for Link.toString says all parameter values have to be quoted, while RFC 5988 allows for some of them, like 'rel' and 'type' have no quotes,
>
> I don't mind much whether Link.toString() quotes all parameter values or not, but would to clarify if it is expected indeed as one might imagine some of Link consumers failing to read say a quoted 'rel' value...

 I'm not sure I follow. Shouldn't a consumer of this grammar support both quoted and unquoted flavors to be compliant?

-- Santiago