RE: Should a DELETE against a non-existent resource return a 2xx code?

Yeah it seems pretty clear now that 404 is the right answer. I think my internal spec lawyer just went looney.

> -----Original Message-----
> From: Henrik Nordstrom [mailto:henrik@henriknordstrom.net]
> Sent: Wednesday, August 22, 2007 4:12 PM
> To: Yaron Goland
> Cc: ietf-http-wg@w3.org
> Subject: Re: Should a DELETE against a non-existent resource return a
> 2xx code?
>
> On mån, 2007-08-20 at 10:05 -0700, Yaron Goland wrote:
>
> > What’s the opinion of the working group?
>
> I would prefer 404. It's quite likely useful to the client to know that
> the object wasn't found by the server.
>
> 404 is also in line with how servers respond to other requests for
> non-existing resources.
>
> Regards
> Henrik

Received on Thursday, 23 August 2007 16:40:18 UTC