Re: Indicating a resource does not exist

Robert Sanderson <azaroth42@gmail.com> Thu, 20 January 2011 15:45 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 34D763A713B for <ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com>; Thu, 20 Jan 2011 07:45:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level:
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q7jQnwVGqcft for <ietfarch-httpbisa-archive-bis2Juki@core3.amsl.com>; Thu, 20 Jan 2011 07:45:21 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by core3.amsl.com (Postfix) with ESMTP id 2C8A03A6FB7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 20 Jan 2011 07:45:21 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1PfwjU-0003f6-Iq for ietf-http-wg-dist@listhub.w3.org; Thu, 20 Jan 2011 15:47:32 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <azaroth42@gmail.com>) id 1PfwiQ-0003Ym-Nu for ietf-http-wg@listhub.w3.org; Thu, 20 Jan 2011 15:46:26 +0000
Received: from mail-iy0-f171.google.com ([209.85.210.171]) by lisa.w3.org with esmtp (Exim 4.69) (envelope-from <azaroth42@gmail.com>) id 1PfwiO-0000q5-Rs for ietf-http-wg@w3.org; Thu, 20 Jan 2011 15:46:26 +0000
Received: by iyj21 with SMTP id 21so818060iyj.2 for <ietf-http-wg@w3.org>; Thu, 20 Jan 2011 07:45:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cQKBXC7XWvVjen8vwQG6QNaf0wu3je7gxGjSkSk8tkY=; b=wLSNEYaq0gNZ1Onl9IizX/i7jV3dRoDabgyuk6TMKkIn4mKCKad9TfQ2JMkV8W5Ymi kIRPGzsFgM1SjD1Ctz2Ub3Ayh9ALe064cVwCumOX0zFjS5pZppbqM5h0vARDJ71FAXwV aoa5J0qMwzMfu/11gvDmHWDjjW0zdtkujqvZ8=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=DJfIPBFxw9YkB39me+wvrlexAMkyNNiCndUvI2+xyFmsUyGCBELqbN/LsbwwTl03EE mxSQtmqsQX4KXFSODVhUQvwvMMOxaN7F1UWx5oP3qfz+yVr/x5yQEHwF2Lxwe7TWtVtk UaPDjV12ktuq6nbzBojxxZ++PC9YbWZIpl3DQ=
MIME-Version: 1.0
Received: by 10.231.35.204 with SMTP id q12mr2671644ibd.191.1295537619798; Thu, 20 Jan 2011 07:33:39 -0800 (PST)
Received: by 10.231.143.74 with HTTP; Thu, 20 Jan 2011 07:33:39 -0800 (PST)
In-Reply-To: <AANLkTi=vUZax4CX28763DHyVTsc-9WhgSrvZ8ya+msZg@mail.gmail.com>
References: <4D382FED.4080004@webr3.org> <AANLkTi=6L7YZP=qjyUXoBYyO-Cgwkkfe1ytNLGjYxH7-@mail.gmail.com> <4D384740.3080706@webr3.org> <AANLkTi=vUZax4CX28763DHyVTsc-9WhgSrvZ8ya+msZg@mail.gmail.com>
Date: Thu, 20 Jan 2011 08:33:39 -0700
Message-ID: <AANLkTikb6ypYn7sNQzB6c-=YOhaREEB1_GXqyimTAwMT@mail.gmail.com>
From: Robert Sanderson <azaroth42@gmail.com>
To: Tim Williams <williamstw@gmail.com>
Cc: nathan@webr3.org, Joe Gregorio <joe@bitworking.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="0022150490779f0aa6049a48dbb2"
Received-SPF: pass
X-SPF-Guess: pass
X-W3C-Hub-Spam-Status: No, score=-3.6
X-W3C-Hub-Spam-Report: BAYES_00=-2.599, DKIM_SIGNED=0.001, DKIM_VERIFIED=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1PfwiO-0000q5-Rs 742e485d5cd3185e6eace09a78f7892a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Indicating a resource does not exist
Archived-At: <http://www.w3.org/mid/AANLkTikb6ypYn7sNQzB6c-=YOhaREEB1_GXqyimTAwMT@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/10061
X-Loop: ietf-http-wg@w3.org
Sender: ietf-http-wg-request@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1PfwjU-0003f6-Iq@frink.w3.org>
Resent-Date: Thu, 20 Jan 2011 15:47:32 +0000

Which is surely all that the server can say?  The resource might exist in
the future. It may have existed in the past, but when in the past? Certainly
not before 1994...

A server that supported Memento [1] might be able to say that it *didn't*
exist at a particular time, but that's not the same as "doesn't,didn't and
never will exist".

Given the lack of the time dimension in HTTP without Memento, 404 seems the
correct status code.

Rob Sanderson
Los Alamos National Laboratory

1: https://datatracker.ietf.org/doc/draft-vandesompel-memento/


On Thu, Jan 20, 2011 at 8:19 AM, Tim Williams <williamstw@gmail.com> wrote:

> On Thu, Jan 20, 2011 at 9:31 AM, Nathan <nathan@webr3.org> wrote:
> > Joe Gregorio wrote:
> >> What's wrong with 404 Not Found?
>
> > The best you can conclude from that is "don't know" the state of the
> > resource, or if there is one.
>
> It's not clear why you think that's all you can conclude.  I would
> have concluded that the origin server couldn't find a resource by that
> identifier at the time of the request. Maybe I'm not understanding the
> nuance of "doesn't exist" vs. "not found".  404 is saying it doesn't
> exist *at the time of this request*, right?
>
> --tim
>
>