W3C home > Mailing lists > Public > public-lod@w3.org > December 2009

Re: [pedantic-web] Re: quick advice on content negotiation

From: Mark Baker <mark@coactus.com>
Date: Tue, 8 Dec 2009 13:05:26 -0500
Message-ID: <e9dffd640912081005v32bb90f1gd536d0be5cc06ce6@mail.gmail.com>
To: nathan@webr3.org
Cc: pedantic-web@googlegroups.com, "kidehen@openlinksw.com" <kidehen@openlinksw.com>, Linked Data community <public-lod@w3.org>
On Tue, Dec 8, 2009 at 12:33 PM, Nathan <nathan@webr3.org> wrote:
> actually.. how about this..

Expressing the links in HTML is fine too.

> GET /user/23 HTTP/1.1
> Host: example.org
> Accept: application/rdf+xml
>
> -->
>
> HTTP/1.1 200 Ok
> Content-Type: application/rdf+xml
> Link: <http://example.org/user/23>; rel="alternate"; type="text/rdf+n3"
> Link: <http://example.org/user/23>; rel="alternate";
> type="application/rdf+json"
>
> and so forth.. note the URI never changes only the type..

You really need the specific URIs otherwise it defeats the point of
Link header and your use of file extension convention remains hidden
from the world.

Mark.
Received on Tuesday, 8 December 2009 18:06:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 December 2009 18:06:01 GMT