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

[jsr339-experts] Re: Hypermedia - Take 2

From: Sergey Beryozkin <sberyozkin_at_talend.com>
Date: Wed, 3 Aug 2011 10:00:50 +0200

Hi Jan

I've said many times: relative links can be used effectively.
Do you think it is a design issue, how to set the default value for one of @Ref's properties ?
  
Thanks for the link though

Cheers, Sergey
________________________________________
From: Jan Algermissen [algermissen1971_at_me.com]
Sent: 02 August 2011 22:56
To: jsr339-experts_at_jax-rs-spec.java.net
Subject: [jsr339-experts] Re: Hypermedia - Take 2

On Aug 2, 2011, at 11:41 PM, Jan Algermissen wrote:

>> but in some case they won't and in some cases servers will forget providing
>> info such as xml:base, etc.
>
> And? You always have the proper context by definition through the request URI.


To provide some context for the discussion:

http://tools.ietf.org/html/rfc3986#section-5.1

Can't we reasonably expect clients of JAX-RS based servers to get RFCs 2616 and 3986 right? Not being able to turn a relative URI reference into an absolute one is just bogus and should not matter to our design decisions.

Jan