-
Notifications
You must be signed in to change notification settings - Fork 25
Description
GET of POST - create new graph and GET of POST - after noop access a location that can be incorrect. Indirect graph identification should be used instead of direct graph identification for these cases.
- The location of
POST - create new graphpoints to the graph store itself. The data is inserted into a new graph created by the store. The IRI of the new graph is returned in theLocationheader. GET of POST - create new graphandGET of POST - after noopretrieve the data from the newly created graph
Assume that the GSP endpoint of the graph store is available at http://example.com/http-graph-store/. As long as it is new there are no restrictions on what form the IRI of the new graph must satisfy by the standard. Let's assume it is http://example.com/internal-graphs/78123. $NEWPATH$ contains the IRI of this newly created graph as returned by the Location header. The problem now is that tests request GET $NEWPATH$ HTTP/1.1 which can be a path that is completely unrelated to GSP depending on the graph IRI. The current target only works if the created graph IRI is suitable for direct graph identification.
This could be fixed by using indirect graph identification for these tests: GET $GRAPHSTORE$?graph=$NEWPATH$ HTTP/1.1.