W3C home > Mailing lists > Public > public-linked-json@w3.org > December 2014

Test suite not returning appropriate content-types

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Tue, 30 Dec 2014 15:58:05 -0800
Message-Id: <2AC3B157-17F0-4640-AF11-40216EDD7430@greggkellogg.net>
Cc: Dave Longley <dlongley@digitalbazaar.com>, Markus Lanthaler <markus.lanthaler@gmx.net>
To: Linked JSON <public-linked-json@w3.org>
After json-ld.org was re-hosted, we lost something. I'm failing some remote-doc tests, it looks like because some .json files are returning text/plain instead of application/json. For example:

curl -I http://json-ld.org/test-suite/tests/remote-doc-0002-in.json
HTTP/1.1 200 OK
Date: Tue, 30 Dec 2014 23:55:20 GMT
Content-Type: text/plain
Content-Length: 95
Connection: keep-alive
Set-Cookie: __cfduid=d59fecab8352cd6e9d166b0ab3a0085601419983720; expires=Wed, 30-Dec-15 23:55:20 GMT; path=/; domain=.json-ld.org; HttpOnly
Last-Modified: Tue, 23 Dec 2014 18:50:23 GMT
ETag: "f68539b-5f-50ae6a5c0b544"
Accept-Ranges: bytes
Vary: User-Agent
Server: cloudflare-nginx
CF-RAY: 1a122aea5dfd0296-SJC

There isn't a specific rule in the .htaccess for that directory, so it must have been an httpd.conf setting on the original server.

I get the errors specifically for remote-doc-0002-in.json, remote-doc-0010-in.json, and remote-doc-0012-in.json.

Gregg Kellogg
Received on Tuesday, 30 December 2014 23:58:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:43 UTC