W3C home > Mailing lists > Public > public-lod@w3.org > September 2011

Re: Facebook Linked Data

From: Richard Cyganiak <richard@cyganiak.de>
Date: Fri, 23 Sep 2011 15:55:44 +0100
Cc: Jesse Weaver <weavej3@rpi.edu>, semantic-web@w3.org, public-lod@w3.org
Message-Id: <0B98069C-E340-4652-979D-F8365173D192@cyganiak.de>
To: Tim rdf <timrdf@gmail.com>
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

This archive was generated by hypermail 2.3.1 : Sunday, 31 March 2013 14:24:35 UTC