Re: [core] HTTP 418 response code ("I'm a teapot")

Carsten Bormann <cabo@tzi.org> Thu, 11 June 2020 07:19 UTC

Return-Path: <cabo@tzi.org>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 671813A0F53; Thu, 11 Jun 2020 00:19:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kw3uMONF6ozO; Thu, 11 Jun 2020 00:19:32 -0700 (PDT)
Received: from gabriel-vm-2.zfn.uni-bremen.de (gabriel-vm-2.zfn.uni-bremen.de [134.102.50.17]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 147413A0F56; Thu, 11 Jun 2020 00:19:32 -0700 (PDT)
Received: from [172.16.42.112] (p5089ae91.dip0.t-ipconnect.de [80.137.174.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-vm-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 49jFbj6LFMzyV5; Thu, 11 Jun 2020 09:19:29 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <24632_1591859597_5EE1D98D_24632_38_1_787AE7BB302AE849A7480A190F8B9330314DC182@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
Date: Thu, 11 Jun 2020 09:19:29 +0200
Cc: "core@ietf.org" <core@ietf.org>, "draft-bosh-core-new-block@ietf.org" <draft-bosh-core-new-block@ietf.org>
X-Mao-Original-Outgoing-Id: 613552769.509469-481f06f64c6c29958b7f138f164a7b26
Content-Transfer-Encoding: quoted-printable
Message-Id: <34FE583E-813A-4A0C-A470-BF780B7CB071@tzi.org>
References: <6FE20960-D10C-4394-8334-B1C2D0FE06D2@tzi.org> <24632_1591859597_5EE1D98D_24632_38_1_787AE7BB302AE849A7480A190F8B9330314DC182@OPEXCAUBMA2.corporate.adroot.infra.ftgroup>
To: mohamed.boucadair@orange.com
X-Mailer: Apple Mail (2.3608.80.23.2.2)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/ljE82MffDCORvZ6UwOzpUHOlUsQ>
Subject: Re: [core] HTTP 418 response code ("I'm a teapot")
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jun 2020 07:19:35 -0000

On 2020-06-11, at 09:13, <mohamed.boucadair@orange.com> <mohamed.boucadair@orange.com> wrote:
> 
> Hi Carsten, 
> 
> Thank you for the note. 
> 
> FWIW, as there is no existing code that can be mapped to what we are doing in the block draft, we just picked the first available value in https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml#http-status-codes-1 and cross check with https://www.iana.org/assignments/core-parameters/core-parameters.xhtml#response-codes, hence 4.18. 
> 
> We can change to 4.19.

Yes.  The more interesting question is whether 4.xx is the right group.
We already have 2.31 for “continue”, i.e. a provisional result that asks to go on.
I’m wondering whether that can be used (with the new payload), or whether a 2.xx would be right in general, as we are not trying to tell the client they have made a mistake and the processing of the request is over.

Grüße, Carsten