RE: representing hypermedia controls in RDF

On Thursday, November 21, 2013 5:06 PM, Kingsley Idehen wrote:
> On 11/21/13 7:33 AM, Markus Lanthaler wrote:
> > Sure.. it's included at the end of the spec [1 above] and also available
> >  as standalone JSON-LD file:
> >
> >   http://purl.org/hydra/core
>
> Note, there's a content negotiation problem here, as shown by:
>
> curl -ILH "Accept: text/turtle"  http://purl.org/hydra/core
> HTTP/1.1 302 Moved Temporarily
> Date: Thu, 21 Nov 2013 16:04:32 GMT
> Server: 1060 NetKernel v3.3 - Powered by Jetty
> Location: http://www.markus-lanthaler.com/hydra/core
> Content-Type: text/html; charset=iso-8859-1

Yeah I don't have control over purl so it will return text/html by default
to render the redirect message

> X-Purl: 2.0; http://localhost:8080
> Expires: Thu, 01 Jan 1970 00:00:00 GMT
> Content-Length: 275
>
> HTTP/1.1 200 OK
> Server: cloudflare-nginx
> Date: Thu, 21 Nov 2013 16:04:33 GMT
> Content-Type: application/ld+json

All fine at my end though so everything should work. Or did I miss
something? Please note that there's no turtle serialization available atm so
I return JSON-LD instead.



--
Markus Lanthaler
@markuslanthaler

Received on Thursday, 21 November 2013 17:47:04 UTC