jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: Link toString method

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: Thu, 14 Feb 2013 13:18:25 +0100

On 2013-02-14 12:01, Sergey Beryozkin 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...

A revision of RFC 5988 will likely state that all parameters can be
either token or quoted-string (see
<http://www.rfc-editor.org/errata_search.php?rfc=5988>).

Best regards, Julian