W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > August 2011

Re: What to do if no payload

From: Chime Ogbuji <chimezie@gmail.com>
Date: Sat, 20 Aug 2011 18:52:20 -0400
To: public-rdf-dawg-comments@w3.org, Kjetil Kjernsmo <kjetil@kjernsmo.net>
Message-ID: <A399B6A27D5A42959BC82D3467DCCB20@gmail.com>
Hello, Kjetil.
The most recent publication has added text in the POST and PUT sections regarding behavior when the payload is empty:
In 5.4 HTTP POST: "if the request body is empty, the implementation SHOULD respond with 204 No Content"
5.2 HTTP PUT: "if the request body is empty and there is sufficient authorization to create a new named graph with an IRI of that indicated by the request URI, then an empty graph would need to be created."
Chimezie
on behalf of the SPARQL Working Group

> On Monday, Nov 1, 2010, Kjetil Kjernsmo wrote:
> Hi! More implementation details with the RESTful spec: What should be returned if a POST or PUT comes with no payload?
> 

-- 
Chime Ogbuji
Sent with Sparrow
Received on Saturday, 20 August 2011 22:52:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 August 2011 22:52:56 GMT