Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[K8s] Sparql endpoint to support CORS headers #4

Open
ioggstream opened this issue Sep 6, 2022 · 0 comments
Open

[K8s] Sparql endpoint to support CORS headers #4

ioggstream opened this issue Sep 6, 2022 · 0 comments
Assignees
Labels

Comments

@ioggstream
Copy link
Contributor

Description

Reproduce

  1. execute
curl  https://www.schema.gov.it/sparql -ki -H accept:text/turtle | grep -i Access-Control-Allow-Origin

I expect

The ouput to include

Access-Control-Allow-Origin: *

Instead

None

Note

The output is

HTTP/1.1 200 OK
server: Virtuoso/07.20.3233 (Linux) x86_64-pc-linux-gnu
date: Tue, 06 Sep 2022 09:50:24 GMT
accept-ranges: bytes
content-disposition: filename=sparql_2022-09-06_09-50-24Z.ttl
content-type: text/turtle; charset=UTF-8
content-length: 572
set-cookie: 1936a7f4250efc65a475b6eae6a9a1b5=6ca3d1eae9bf0e6c1896b20bb0561c02; path=/; HttpOnly; Secure; SameSite=None
cache-control: private

@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ns1:    <http://localhost:8890/> .
@prefix sd:     <http://www.w3.org/ns/sparql-service-description#> .
ns1:sparql      rdf:type        sd:Service ;
        sd:endpoint     ns1:sparql ;
        sd:feature      sd:UnionDefaultGraph ,
                sd:DereferencesURIs .
@prefix ns3:    <http://www.w3.org/ns/formats/> .
ns1:sparql      sd:resultFormat ns3:RDF_XML ,
                ns3:SPARQL_Results_CSV ,
                ns3:SPARQL_Results_JSON ,
                ns3:SPARQL_Results_XML ,
                ns3:RDFa ,
                ns3:N-Triples ,
                ns3:N3 ,
                ns3:Turtle ;
        sd:supportedLanguage    sd:SPARQL10Query ;
        sd:url  ns1:sparql .
@Clou-dia Clou-dia changed the title Sparql endpoint to support CORS headers [K8s] Sparql endpoint to support CORS headers Nov 2, 2023
@Clou-dia Clou-dia removed the prod label Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🆕 New
Development

No branches or pull requests

3 participants