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

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 UTC