Re: HTTP DELETE operation

On Oct 20, 2010, at 11:03 AM, Chimezie Ogbuji wrote:

> Hey Kjetil.
> 
> On 10/20/10 10:48 AM, "Kjetil Kjernsmo" <kjetil@kjernsmo.net> wrote:
> 
>> 1) If the <graph_uri> does not exist before the deletion, do I have to
>> return a 404?
> 
> Yes.  The last paragraph of section 5 is meant to apply to all the
> operations regarding both 404 and 204:

Chime,

Section 5 says HTTP 404 SHOULD be returned, but section 5.2 suggests that HTTP 202 (Accepted) is an acceptable response to a DELETE operation. Am I right, then, in understanding that either 404 *or* 202 is acceptable in cases where the graph doesn't exist?

thanks,
.greg

Received on Friday, 29 October 2010 19:17:05 UTC