Skip to content

Quilt does not accept "application/rdf+json" #52

@cgueret

Description

@cgueret

See

guerec01@MC-S103185:~$ curl -L -H "Accept: application/rdf+json"  "http://acropolis.org.uk/?q=stonehenge&for=any"
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>Not acceptable</title>
	</head>
	<body>
		<h1>Not acceptable</h1>
		<p>The resource is not available in the requested serialisation.</p>
	</body>
</html>

But this works:

guerec01@MC-S103185:~$ curl -L -H "Accept: application/json"  "http://acropolis.org.uk/?q=stonehenge&for=any"

{
  "http://acropolis.org.uk/" : {
    "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" : [ {
        "value" : "http://rdfs.org/ns/void#Dataset",
        "type" : "uri"
        }

      ],
    "http://www.w3.org/2000/01/rdf-schema#label" : [ {
        "value" : "Everything",
        "lang" : "en-gb",
        "type" : "literal"
        }

      ]
    }
  ,
[...]

and that does too:

guerec01@MC-S103185:~$ curl "http://acropolis.org.uk/index.rj?q=stonehenge&for=any"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions