dbcls / LinkedData-Agora

4 stars 0 forks source link

The test for fetching VOID files should set accept headers #129

Closed JervenBolleman closed 4 years ago

JervenBolleman commented 6 years ago

Some providers will give HTML rendering instead (possibly with JSON-LD or RDFa). This makes the response marked as invalid but would have been marked valid if the accept headers for rdf/xml and turtle had been set.

yayamamo commented 6 years ago

Thank you for your suggestion. I'll ask an engineer.

yayamamo commented 6 years ago

Could you please let me know some examples?

JervenBolleman commented 6 years ago
 wget --header "accept:application/rdf+xml" "http://sparql.uniprot.org/.well-known/void" -O - |less

compared to

 wget --header "accept:*/*" "http://sparql.uniprot.org/.well-known/void" -O - |less

The second version is what is currently send by Umaka and the response we send in return is valid for that accept header.

yayamamo commented 6 years ago

Thank you, and we're working on this issue.

yayamamo commented 4 years ago

We're sorry for our late reply, and we adopted your suggestion. Thank you.