Re: Upgrade: tokens

"Roy T. Fielding" <fielding@gbiv.com> Mon, 21 September 2015 22:08 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B9EC1AC444 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 21 Sep 2015 15:08:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.012
X-Spam-Level:
X-Spam-Status: No, score=-7.012 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 St7ts2E_q3rb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 21 Sep 2015 15:08:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 31F451AC43C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 21 Sep 2015 15:08:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Ze9Cm-0000wK-3A for ietf-http-wg-dist@listhub.w3.org; Mon, 21 Sep 2015 22:05:00 +0000
Resent-Date: Mon, 21 Sep 2015 22:05:00 +0000
Resent-Message-Id: <E1Ze9Cm-0000wK-3A@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <fielding@gbiv.com>) id 1Ze9Cg-0000vd-Hl for ietf-http-wg@listhub.w3.org; Mon, 21 Sep 2015 22:04:54 +0000
Received: from sub4.mail.dreamhost.com ([69.163.253.135] helo=homiemail-a86.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.80) (envelope-from <fielding@gbiv.com>) id 1Ze9Cf-0006Oh-1G for ietf-http-wg@w3.org; Mon, 21 Sep 2015 22:04:53 +0000
Received: from homiemail-a86.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a86.g.dreamhost.com (Postfix) with ESMTP id DCF113600EE; Mon, 21 Sep 2015 15:04:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=RSPpKQLzaarQvzxn5x4LY0dizPk=; b=OvLhPeFZZo87rvcnfcNCV5CKuq13 fTaS5FDSd4jgmI4v2DSfONmp9D4p9AMuge+g7KnCPlysvp9lmvq5vlR8kLjIcU8l 8hgGQNh27umSeyeWpjpgxEPKuTY/b6WxU5vdjOakr3/zyXXqCzWWr4R7dspMqNMn N0XdfZrvUncMplA=
Received: from [192.168.1.2] (ip68-228-83-124.oc.oc.cox.net [68.228.83.124]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a86.g.dreamhost.com (Postfix) with ESMTPSA id 30527360087; Mon, 21 Sep 2015 15:04:29 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\))
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <157437BA-E7E3-4617-8F40-6836628EAA61@greenbytes.de>
Date: Mon, 21 Sep 2015 15:04:27 -0700
Cc: Group HTTP Working <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <45A461F7-72A1-4D1C-AEDA-E517B6CDB4F1@gbiv.com>
References: <157437BA-E7E3-4617-8F40-6836628EAA61@greenbytes.de>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
X-Mailer: Apple Mail (2.2104)
Received-SPF: none client-ip=69.163.253.135; envelope-from=fielding@gbiv.com; helo=homiemail-a86.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-8.2
X-W3C-Hub-Spam-Report: AWL=1.535, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1Ze9Cf-0006Oh-1G 6b762ae66b1266a094f78ff8c16841eb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Upgrade: tokens
Archived-At: <http://www.w3.org/mid/45A461F7-72A1-4D1C-AEDA-E517B6CDB4F1@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30255
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>

> On Sep 21, 2015, at 5:06 AM, Stefan Eissing <stefan.eissing@greenbytes.de> wrote:
> 
> Implemenation raised the question if tokens in Upgrade headers are to be treated case sensitive or not (for ALPN it is clearly defined). The current status
> 
> - rfc7230 does not explicitly say so, but for other headers it does. So, one could say that Upgrade values are case-sensitive

They are case-sensitive.

> - rfc7230 reserves tokens of flavor "HTTP*" for itself and future versions
> - the ALPN value "http/1.1" is seen in the wild

ALPN has nothing to do with it.

> - WebSocket RFC explicitly defines its token as case-insensitive

And yet only registers one token.

> I see only interop problems should HTTP insist on case sensitive values. Does 7230 need a fix here?

No, interop problems will only occur when a string other than the
registered token is sent.  We should not encourage variations.

....Roy