W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2011

Re: Indicating a resource does not exist

From: Joe Gregorio <joe@bitworking.org>
Date: Thu, 20 Jan 2011 09:39:39 -0500
Message-ID: <AANLkTimTsGA0sNhx_xMSumTrNnV_fWjy7oBw4mQTj2WP@mail.gmail.com>
To: nathan@webr3.org
Cc: HTTP Working Group <ietf-http-wg@w3.org>
On Thu, Jan 20, 2011 at 9:31 AM, Nathan <nathan@webr3.org> wrote:
> Joe Gregorio wrote:
>>
>> What's wrong with 404 Not Found?
>
>   404 Not Found
>   ...
>   The server has not found anything matching the effective request URI.
>   No indication is given of whether the condition is temporary or
>   permanent ...
>
> The best you can conclude from that is "don't know" the state of the
> resource, or if there is one.

OK, so 410 Gone if you want to indicate it is permanent.

  -joe

>
>> On Thu, Jan 20, 2011 at 7:51 AM, Nathan <nathan@webr3.org> wrote:
>>>
>>> Hi Again,
>>>
>>> I've analysed all the HTTP status codes in combination with different
>>> methods and response headers, and I can't find a way for a server to
>>> indicate that a resource /does not/ exist.
>>>
>>> Can anybody suggest a way of indicating this? or is there scope for a 4xx
>>> No
>>> Such Resource status (or similar)?
>>>
>>> Cheers,
>>>
>>> Nathan
>>>
>>>
>>
>>
>>
>
>



-- 
Joe Gregorio        http://bitworking.org
Received on Thursday, 20 January 2011 14:40:12 GMT

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