W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > October to December 2012

Re: ACTION-667: Created initial draft of GSP test suite 'script'

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Tue, 16 Oct 2012 08:44:15 +0100
Message-ID: <507D104F.6080407@epimorphics.com>
To: public-rdf-dawg@w3.org
---- Request (POST - create  new graph) ----------
POST $GRAPHSTORE$ HTTP/1.1
Host: $HOST$
Content-Type: text/turtle
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix v: <http://www.w3.org/2006/vcard/ns#> .

[]  a foaf:Person;
     foaf:businessCard [
         a v:VCard;
         v:given-name "Alice"
     ]
------- Response ---------------------------------
201 Created
Location: $NEWPATH$
--------------------------------------------------

In
http://www.w3.org/2009/sparql/docs/http-rdf-update/#http-post

it says nothing about POSTing to the graph store itself.  That makes 
this test out of scope of GSP.

Other notes:

Test 1
- add trailing dot to produce valid Turtle
   (this is in several of the tests)

Test 2
- need blank line at end of header

Test 3
- Malformed request
- should be (or can be) 204 (No Content), not 200

	Andy
Received on Tuesday, 16 October 2012 07:44:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:49 GMT