From: Rutger V. <rut...@gm...> - 2010-06-04 15:44:22
|
On Thu, Jun 3, 2010 at 6:54 PM, Hilmar Lapp <hl...@ne...> wrote: > > On Jun 3, 2010, at 1:36 PM, Rutger Vos wrote: > >>> Going from a canonical URI to the implementation URL sounds like a 302 to >>> me, not a 303. >> >> Really? I interpret the examples I've seen as 303, not 302. > > > I think the examples you've seen are for going from the thing URI to the > information about the thing URL. Mmmm... yeah, I guess you're right about that. > So for example, accessing http://treebase.org/phylows/tree/16354 would > return a 303, with either http://treebase.org/phylows/tree/16354?format=rdf > or http://treebase.org/phylows/tree/16354?format=html as the Location > parameter, determined by content negotiation. This one can't be a 301 or > 302. Right. > But why can't the redirection from > http://purl.org/phylo/treebase/phylows/tree/16354 to > http://treebase.org/phylows/tree/16354 be a 301 or a 302? They should > probably also be connected by owl:sameAs. In fact, because they are > owl:sameAs, shouldn't they be redirected through 301 or 302, because 303 > says "See also". But this is not seeAlso - they are owl:sameAs! Eh, ok, where would we make that owl:sameAs statement? > Conversely, going from http://purl.org/phylo/treebase/phylows/tree/16354 to > http://purl.org/phylo/treebase/phylows/tree/16354?format=rdf would have to > be a 303, as would going to > http://treebase.org/phylows/tree/16354?format=rdf have to be - but purl.org > doesn't actually support those redirects. It just goes to another site, not > to another representation, or to a site with information "about" the URI > being redirected. Sure, but http://purl.org/phylo/treebase/phylows/tree/16354 would be redirected to the PhyloWSController, which could do the conneg and 303 redirect the client to http://purl.org/phylo/treebase/phylows/tree/16354?format=rdf, except the hops from purl to the PhyloWSController wouldn't be 303s. -- Dr. Rutger A. Vos School of Biological Sciences Philip Lyle Building, Level 4 University of Reading Reading RG6 6BX United Kingdom Tel: +44 (0) 118 378 7535 http://www.nexml.org http://rutgervos.blogspot.com |