W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2007

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

From: Yaron Goland <yarong@microsoft.com>
Date: Thu, 23 Aug 2007 09:40:06 -0700
To: Henrik Nordstrom <henrik@henriknordstrom.net>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <AE9A8CBCE1A9744D975A9FBBF822DD785FC10AB189@NA-EXMSG-C102.redmond.corp.microsoft.com>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 April 2012 06:50:15 GMT