rightsstatements / rights-app

Web application to serve the rightsstatements.org vocabulary
http://rightsstatements.org/vocab/1.0/
European Union Public License 1.1
1 stars 3 forks source link

Set Content-Location & Link headers when GET on /data URI, requesting RDF #24

Closed acka47 closed 8 years ago

acka47 commented 8 years ago

When a client does a GET on a /data URI, requesting RDF, it is served with a Content-Location header pointing to the location with .ttl/.jsonld file extension.

Acceptance criteria:

For the following example request:

server responds:

200 OK
Content-Type: text/turtle
Content-Location: http://rightsstatements.org/data/InC/1.0.ttl
Link: <http://rightsstatements.org/data/InC/1.0/>; rel=derivedfrom