W3C home > Mailing lists > Public > public-rww@w3.org > November 2012

WAC w/ content-negotiation

From: Joe Presbrey <presbrey@csail.mit.edu>
Date: Thu, 1 Nov 2012 14:07:56 -0400
Message-ID: <CAM=5c-d7qg77gJ41-zdjd8zqKb1ML_4ozAiNRNqj3Fu+1SCLzA@mail.gmail.com>
To: "public-rww@w3.org" <public-rww@w3.org>
Here's a sample rule from the wiki:

[acl:accessTo <card.rdf>; acl:mode acl:Read, acl:agentClass foaf:Agent].

Quick question with regard to acl:accessTo <card.rdf>:

Many LD servers I see also serve the same graph at <card.ttl>,
<card.json>, <card?format=json>, and/or <card> (w/ Accept: */format).

We can't expect users to enumerate all these in their rules. Does
anyone have an example implementation of one of these kinds of
servers?

Should we drop the type suffix (.rdf) from the wiki examples? eg. the
rule should be simply acl:accessTo <card>, and apply to all content
negotiations for the same graph.

Best regards,

--
Joe Presbrey
Received on Thursday, 1 November 2012 18:08:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 1 November 2012 18:08:44 GMT