Skip to content

GSP Test DELETE - existing graph has wrong expected result #248

@Qup42

Description

@Qup42

The SPARQL Graph Store Protocol Test DELETE - existing graph has an incorrect expected result. The standard states If there is no such RDF graph content in the Graph Store, the server MUST respond with a 404 Not Found response code. The graph being deleted - <http://$HOST/$GRAPHSTORE$/person/2.ttl> - does not exist so the correct response should be 404 Not Found like it is for DELETE - non-existent graph.

The intent is clear though: a graph that exists and is DELETEd should result in response code 200 or 204. The interesting questions seems to me how to best resolve this. <http://$HOST$/$GRAPHSTORE$/person/1.ttl> is still required later on. So I see two ways to resolve this:

  • Create a graph for this test to drop it
  • Drop the default graph which is only used before this test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions