Re: What to do if no payload

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 UTC