Update to latest jsonld.js.
--- a/playground/jsonld.js Mon Mar 03 13:30:10 2014 -0500
+++ b/playground/jsonld.js Mon Mar 03 16:10:21 2014 -0500
@@ -1379,6 +1379,9 @@
}
request({
url: url,
+ headers: {
+ 'Accept': 'application/ld+json, application/json'
+ },
strictSSL: true,
followRedirect: false
}, function(err, res, body) {
@@ -1533,6 +1536,8 @@
{contextUrl: null, documentUrl: url, document: null});
};
req.open('GET', url, true);
+ req.setRequestHeader('Accept', 'application/ld+json, application/json');
+ req.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
req.send();
};