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

Re: TAC + roles + resource access control = UAC

From: bergi <bergi@axolotlfarm.org>
Date: Sat, 01 Sep 2012 00:09:58 +0200
Message-ID: <50413636.3080800@axolotlfarm.org>
To: Dominik Tomaszuk <ddooss@wp.pl>
CC: Read-Write-Web <public-rww@w3.org>
Am 31.08.2012 23:55, schrieb Dominik Tomaszuk:
> On 31.08.2012 21:14, bergi wrote:
>> The RDFS/OWL is now available in RDF/XML and Turtle format.
> In what MIME do you serve it?
> I try curl -H "Accept: application/xml" -H "Content-Type:
> application/xml" -X GET "http://ns.bergnet.org/uac/0.1/"
> and I get HTML.

I'm using the namespace [1], so you have to use the full URL. OWLDoc
generates an index.html file. I didn't not want to break any URLs so I
left it like it is. That's the reason why the / URL delivers the HTML.

Here the curl command for RDF/XML:
curl -H "Accept: application/rdf+xml"
http://ns.bergnet.org/uac/0.1/universal-access-control

Here the curl command for Turtle:
curl -H "Accept: text/turtle"
http://ns.bergnet.org/uac/0.1/universal-access-control

[1] http://ns.bergnet.org/uac/0.1/universal-access-control#
Received on Friday, 31 August 2012 22:10:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 31 August 2012 22:10:17 GMT