dbpedia / extraction-framework

The software used to extract structured data from Wikipedia
853 stars 269 forks source link

dief tools content type header #691

Open kurzum opened 3 years ago

kurzum commented 3 years ago

Where did the problem occur (e.g. dbpedia.org/sparql, lookup, spotlight)?

Please give the full URL, if possible

http://dief.tools.dbpedia.org/server/extraction/en/extract?title=United+States&revid=&format=turtle-triples&extractors=custom

Problem description

Please state the nature of your technical emergency.

curl -I
"http://dief.tools.dbpedia.org/server/extraction/en/extract?title=United+States&revid=&format=turtle-triples&extractors=custom"
HTTP/1.1 200 OK
Server: nginx/1.14.2
Date: Wed, 14 Apr 2021 19:14:16 GMT
Content-Type: text/plain; charset=UTF-8
Connection: keep-alive

Expected behaviour

What did you expect?

Content-Type: text/turtle; charset=UTF-8

Request/Reproduction

Give the link or request, so the problem can be reproduced. Ideally, this would be a unix curl command.

see above

github-actions[bot] commented 3 years ago

Branch issue-691-dief_tools_content_type_header created!

JJ-Author commented 3 years ago

should be fixed

Vehnem commented 3 years ago

Fix commit https://github.com/dbpedia/extraction-framework/commit/3a96d901d873bd144456db51e1170685cd16afff