- From: Riccardo Albertoni via GitHub <sysbot+gh@w3.org>
- Date: Fri, 31 Jan 2020 23:25:33 +0000
- To: public-dxwg-wg@w3.org
riccardoAlbertoni has just created a new issue for https://github.com/w3c/dxwg: == (dcat) Support the content negotiation for ld+json == Testing the content negotiations with the command lines: `curl -H "Accept: text/html" https://www.w3.org/ns/dcat` `curl -H "Accept: text/turtle" https://www.w3.org/ns/dcat` `curl -H "Accept: application/rdf+xml" https://www.w3.org/ns/dcat` `curl -H "Accept:application/ld+json" https://www.w3.org/ns/dcat` It works for `text/html` `text/turtle` and `application/rdf+xml`, but it seems to have problems with `ld+json` for which the server returns `<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>406 Not Acceptable</title></head><body><h1>Not Acceptable</h1><p>An appropriate representation of the requested resource could not be found on this server.</p>Available variants:<ul><li><a href="dcat.html">dcat.html</a> , type text/html</li><li><a href="dcat.rdf">dcat.rdf</a> , type application/rdf+xml</li><li><a href="dcat.ttl">dcat.ttl</a> , type text/turtle</li></ul></body></html>` I guess in the future, we would like to deploy the negotiation also for `jd+json` adding the `jd+json` serialization in the returned list of the appropriate representations that can be requested. Please view or discuss this issue at https://github.com/w3c/dxwg/issues/1215 using your GitHub account
Received on Friday, 31 January 2020 23:25:35 UTC