Proposing Status Codes

Mark Nottingham <mnot@mnot.net> Mon, 11 June 2012 23:51 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE70311E80AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 16:51:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.872
X-Spam-Level:
X-Spam-Status: No, score=-9.872 tagged_above=-999 required=5 tests=[AWL=0.727, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DbqzfmDEGKML for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 16:51:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4901611E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 16:51:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeEMt-00030S-3L for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 23:49:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SeEMe-0002zb-L0 for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 23:49:40 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SeEMc-0005Br-37 for ietf-http-wg@w3.org; Mon, 11 Jun 2012 23:49:39 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 71FDA509EB for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 19:49:15 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 12 Jun 2012 09:49:12 +1000
Message-Id: <AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SeEMc-0005Br-37 f6b7610798fc4264c49b15cec4c4cdf0
X-Original-To: ietf-http-wg@w3.org
Subject: Proposing Status Codes
Archived-At: <http://www.w3.org/mid/AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13750
X-Loop: ietf-http-wg@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-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeEMt-00030S-3L@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 23:49:55 +0000

One of the things that has bothered me for a while is that status codes are a scarce resource, and making a "I have an idea" proposal effectively consumes one, at least for a while.

E.g., my proposal for 430 Would Block in draft-nottingham-http-pipeline had us using 431 for Request Header Fields Too Large, even though 430 might not see the light of day.

I think we might improve this by adding something like:

"""
Proposals for new status codes that are not yet widely deployed SHOULD NOT specify a specific code until there is clear consensus to register it; instead, early drafts can use notation such as "4xx" to indicate the class of the proposed status code, without consuming one prematurely.
"""

to <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#considerations.for.new.status.codes>.

Thoughts?


--
Mark Nottingham   http://www.mnot.net/