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

another content negotiation question

From: Juan Sequeda <juanfederico@gmail.com>
Date: Wed, 15 Jul 2009 15:43:52 +0200
Message-ID: <f914914c0907150643r6936d98u1d7786d2bb8bf8ed@mail.gmail.com>
To: public-lod <public-lod@w3.org>
and the objective is not to start another long philosophical thread :P and
it may be a very dumb question

What are the drawbacks of this simple solution.

in PHP for example:

if($_SERVER['HTTP_ACCEPT'] == "application/rdf+xml" ){
    header('Content-type: application/rdf+xml');
    echo "......."
    echo "...."

I did this at http://www.juansequeda.com/id/

However, there is a difference when it is /id and /id/. When I dereference
http://www.juansequeda.com/id I get a 301 (Moved Permanently) but with
http://www.juansequeda.com/id/ I get 200 (and everything validated by

As this ever been discussed? I can obviously see the drawback of having /id/
vs /id .


Juan Sequeda, Ph.D Student
Dept. of Computer Sciences
The University of Texas at Austin
Received on Wednesday, 15 July 2009 13:44:27 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:29:44 UTC