Re: Facebook Linked Data

On 23 Sep 2011, at 15:11, Tim rdf wrote:
> Why does <http://graph.facebook.com/24407945#> not resolve to anything,
> 
> bash-3.2$ curl -H 'Accept: text/turtle' http://graph.facebook.com/24407945#

Hash URIs are resolved by stripping the hash off the URI first. The hash and anything behind it is never sent to the server.

Stripping off the hash is the responsibility of the client.

Curl, for some reason that's beyond me, doesn't strip off the hash and sends it to the server, violating the URI spec.

So, to resolve a hash URI with curl, you have to remove the hash and anything behind it yourself before making the curl request.

Best,
Richard

Received on Friday, 23 September 2011 14:56:14 UTC