Ian Dickinson created JENA-717:
----------------------------------
Summary: Fuseki2 delete dataset not working
Key: JENA-717
URL: https://issues.apache.org/jira/browse/JENA-717
Project: Apache Jena
Issue Type: Bug
Components: Fuseki
Reporter: Ian Dickinson
Attempting to delete a dataset with an HTTP DELETE request gives a 400 error.
Probably pilot error, but I'm not sure what I'm doing wrong:
{code}
ian@ian-desktop $ curl -i 'http://localhost:3030/$/datasets/foo'
HTTP/1.1 200 OK
Fuseki-Request-ID: 10
Access-Control-Allow-Origin: *
Server: Fuseki (2.0.0.M2-SNAPSHOT)
Vary: Accept,Accept-Encoding,Accept-Charset
Content-Type: application/json
Transfer-Encoding: chunked
{
"ds.name" : "/foo" ,
"ds.services" : [
{
"srv.endpoints" : [ "get" ] ,
"srv.type" : "graph store protocol (Read)"
} ,
{
"srv.endpoints" : [ "update" ] ,
"srv.type" : "update"
} ,
{
"srv.endpoints" : [ "" ] ,
"srv.type" : "Quads"
} ,
{
"srv.endpoints" : [ "data" ] ,
"srv.type" : "graph store protocol"
} ,
{
"srv.endpoints" : [
"sparql" ,
"query"
] ,
"srv.type" : "query"
} ,
{
"srv.endpoints" : [ "upload" ] ,
"srv.type" : "upload"
}
]
}
[~/workspace/jena-fuseki2]
ian@ian-desktop $ curl -i -X DELETE http://localhost:3030/$/datasets/foo
HTTP/1.1 400 Failed to find dataset for '/foo'
Fuseki-Request-ID: 11
Access-Control-Allow-Origin: *
Server: Fuseki (2.0.0.M2-SNAPSHOT)
Content-Length:
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)