W3C home > Mailing lists > Public > semantic-web@w3.org > October 2020

Re: JSON-LD responses for core ontologies don't contain CORS headers; limits browser clients

From: Alex Kreidler <alexkreidler2020@gmail.com>
Date: Sat, 24 Oct 2020 20:25:46 -0400
Message-ID: <CABRqtpi8T51T-DRJwKbD6TLzB58SfZ2FzUuih12zrQORX-2O2g@mail.gmail.com>
To: semantic-web@w3.org, public-linked-json@w3.org
Sorry, just noticed that the link I provided auto-deletes after 24 hours.

I've included the full output of the issue below, along with via another
pastebin: https://pastebin.com/Jf3K7DW7

$ http HEAD http://www.w3.org/1999/02/22-rdf-syntax-ns#type "Accept:
application/ld+json"
HTTP/1.1 200 OK
accept-ranges: bytes
access-control-allow-credentials: true
access-control-allow-headers: Link, Location, Content-Type, Accept, Vary
access-control-allow-methods: GET, HEAD, OPTIONS
access-control-expose-headers: Location, Link, Vary, Last-Modified,
ETag, Allow, Content-Length, Accept
cache-control: max-age=21600
content-length: 9198
content-location: 22-rdf-syntax-ns.jsonld
content-type: application/ld+json
date: Sun, 25 Oct 2020 00:08:07 GMT
etag: "23ee-599d39942e300;599d3996211bf"
expires: Sun, 25 Oct 2020 06:08:07 GMT
last-modified: Mon, 16 Dec 2019 15:09:32 GMT
tcn: choice
vary: negotiate,accept,accept-charset,upgrade-insecure-requests



$ http HEAD http://www.w3.org/1999/02/22-rdf-syntax-ns#type
HTTP/1.1 200 OK
accept-ranges: bytes
access-control-allow-credentials: true
access-control-allow-headers: Link, Location, Content-Type, Accept, Vary
access-control-allow-methods: GET, HEAD, OPTIONS
access-control-allow-origin: *
access-control-expose-headers: Location, Link, Vary, Last-Modified,
ETag, Allow, Content-Length, Accept
cache-control: max-age=21600
content-length: 6004
content-location: 22-rdf-syntax-ns.ttl
content-type: text/turtle; charset=utf-8
date: Sun, 25 Oct 2020 00:08:13 GMT
etag: "1774-599d39942e300;599d3996204ea"
expires: Sun, 25 Oct 2020 06:08:13 GMT
last-modified: Mon, 16 Dec 2019 15:09:32 GMT
tcn: choice
vary: negotiate,accept,accept-charset,upgrade-insecure-requests



$ http HEAD https://www.w3.org/2000/01/rdf-schema#range "Accept:
application/ld+json"
HTTP/1.1 200 OK
accept-ranges: bytes
cache-control: max-age=21600
content-length: 5604
content-location: rdf-schema.jsonld
content-security-policy: upgrade-insecure-requests
content-type: application/ld+json
date: Sun, 25 Oct 2020 00:08:54 GMT
etag: "15e4-586929c3ace00;586929c7c4f1d"
expires: Sun, 25 Oct 2020 06:08:54 GMT
last-modified: Mon, 15 Apr 2019 14:38:48 GMT
strict-transport-security: max-age=15552000; includeSubdomains; preload
tcn: choice
vary: negotiate,accept,accept-charset



$ http HEAD https://www.w3.org/2000/01/rdf-schema#range
HTTP/1.1 200 OK
accept-ranges: bytes
access-control-allow-origin: *
cache-control: max-age=21600
content-length: 3812
content-location: rdf-schema.ttl
content-security-policy: upgrade-insecure-requests
content-type: text/turtle; charset=utf-8
date: Sun, 25 Oct 2020 00:09:03 GMT
etag: "ee4-4f33230d4a800;586929c6c4edd"
expires: Sun, 25 Oct 2020 06:09:03 GMT
last-modified: Tue, 25 Feb 2014 02:53:20 GMT
strict-transport-security: max-age=15552000; includeSubdomains; preload
tcn: choice
vary: negotiate,accept,accept-charset
Received on Sunday, 25 October 2020 00:26:12 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:42:12 UTC