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

Cors does not work with `accept` header set #50

Open GordianDziwis opened 2 months ago

GordianDziwis commented 2 months ago

When doing a CORS request against:

"https://archivo.dbpedia.org/download?o=http://xmlns.com/foaf/0.1/&f=nt"

It does not work with a

Accept: application/n-triples, application/rdf+xml, text/turtle

header, but:

Accept: */*

works.

JJ-Author commented 1 month ago

prepared a commit for this https://github.com/dbpedia/archivo/commit/f298068e4e16773c2e8f2887f6de7545b6acad6f can be tested on archivo.tools.dbpedia.org

I am preparing a major release of archivo (dev running on the tools server) that is using Databus 2.0. So that is why it will still need some weeks until the fix will end up with this major release on the production deployment.