On 8/4/11 3:47 AM, Jan Algermissen wrote:
>
> On Aug 4, 2011, at 1:07 AM, Bill Burke wrote:
>
>> ARe there really any sophisticated REST client APIs for other languages? I guess what i'm saying is that Sergey has a point. While we can build in some nice client-side support for relative links, other languages might not have that capability and it would be easier for them to code against absolute links. What does it look look in Javascript? Can you take advantage of relative links easily there?
>
> What I do not really understand is how you can even think about implementing an HTTP client (which means essentially implementing RFC 2616 and RFC 3986) and not implement the handling of relative URTI references right in the core code? It is a core aspect of RFC 3986, the algorithm is written down in the RFC and it should take a decent programmer just a tiny fraction of the time it takes to implement the rest of the RFCs anyway.
>
I missed the argument. I thought it was whether absolute or relative
links should be provided by default or not. I vote absolute by default.
I also agree with you. Client "Link" framework should support
relative URLs.
But, you didn't answer my question.
Bill
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com