dbpedia / archivo

DBpedia Archivo - Augmented Ontology Archive powered by Databus
https://archivo.dbpedia.org/
GNU Affero General Public License v3.0
20 stars 6 forks source link

5th Star suggestion: CORS compatibility #8

Open yum-yab opened 3 years ago

yum-yab commented 3 years ago

Using CORS compatibility for ontologies as the 5th star of archivo:

Proposed qualifying criteria for the 5th star:

As suggested in the forum.

berezovskyi commented 3 years ago

a CORS response allows to use a Content-Type header to preform content-negotiation in the browser RDF client.

Actually, I got this one wrong. We need it in our APIs because they are read/write, but generally you'd only need Accept header for this part of conneg and https://fetch.spec.whatwg.org/#cors-safelisted-request-header allows / and + by default.

berezovskyi commented 3 years ago

Also, suggested by @kurzum in another thread, it may be better to keep the number of passing checks separate from the number of stars awarded to keep it sane.