Re: Magnus Westerlund's No Objection on draft-ietf-httpbis-client-hints-14: (with COMMENT)

Magnus Westerlund <magnus.westerlund@ericsson.com> Thu, 18 June 2020 08:38 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E4523A0FDB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Jun 2020 01:38:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.75
X-Spam-Level:
X-Spam-Status: No, score=-2.75 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 nRySwgGGO4-F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Jun 2020 01:38:57 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ECF993A0FDA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 18 Jun 2020 01:38:56 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jlq1s-0000wx-MV for ietf-http-wg-dist@listhub.w3.org; Thu, 18 Jun 2020 08:36:12 +0000
Resent-Date: Thu, 18 Jun 2020 08:36:12 +0000
Resent-Message-Id: <E1jlq1s-0000wx-MV@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <magnus.westerlund@ericsson.com>) id 1jlq1p-0000wC-V0 for ietf-http-wg@listhub.w3.org; Thu, 18 Jun 2020 08:36:09 +0000
Received: from mail-eopbgr00052.outbound.protection.outlook.com ([40.107.0.52] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <magnus.westerlund@ericsson.com>) id 1jlq1m-0003kM-1p for ietf-http-wg@w3.org; Thu, 18 Jun 2020 08:36:09 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Sjl6g8XSGAyOv2XAiCQsHfYQgsKH1IPaItEOD6mkrUODDxTK+1l9d90ugi4STfnS4cwRYtP3DN77aOM/VQW/PwsUYKZ5GxbOW+re6m3xjhkO9pwvSamyvnJYnVSt2xFXhFajM31EMDfGl4ucNln80mnVIS2rFDA/hh7L6cKcNnKxU8duX5pMkimQaWAEufQFWGk11j77vqYevmjWTfCbETYxqwVpPoUkl6+r2byG0NBfDh5i+GsQqmNnWdUeeoQZucA2NU5ui3ljupxKEQn8QCa4YXHk08kZM55SKjarSchoEoiGhZbE4Nw1ykrtKflAHj1uYz/Xmj7UzhRqdBps9A==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v6XCw772H/pld1B5lcEESbkC53D9slEZ26QARD9uVf0=; b=nnvLLKZZx8l5Px2H9KPX4kp+Dq7dJEss76btIAUYHrLMqUCRVG1CB0NICYGdhi6YakJgJBSD1wwqhHncRiLMd4k3CvhQ+Wl8QKJs1MMvmsbL0P0Z4fQHVmYglqhMDCp8J7RGbDfzTNGIxdi8ITBwhtn74FcBXqNIkfM3H3LAqoHlbhe16aWqVTNYDivV/Lxp1RiG3vsZbTcQyytcBeO0yyY6sqKcViJdL9oBzN3Nzyveh+/W0eIFP36YbLrX11Mrzqh+bhj3M5DzUkZBQoWo6rGTJSvEqCZYmidCPbdAIZl3kj2oEzkD9YNr831EmwnktpOhYD55uByTwfthTAaj5w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v6XCw772H/pld1B5lcEESbkC53D9slEZ26QARD9uVf0=; b=LgC9+dj3M/9rmbiIBw+ShPJi97lOc7krRKMB7E2gy/PryBIDAVa2iOBy02g7UcchwEq8rmbVoy/lXUjkJhFMq/iXWa2F4qMoKtDiMT6NGrbRuAozIfL8ZSywrNHxHk4wuivsquHP/qDDKSF/aBF78XVyxqKqHYSp1yM+HoBfio0=
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com (2603:10a6:7:8e::14) by HE1PR0701MB2460.eurprd07.prod.outlook.com (2603:10a6:3:70::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3109.7; Thu, 18 Jun 2020 08:35:53 +0000
Received: from HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::546c:3b3:9193:3351]) by HE1PR0702MB3772.eurprd07.prod.outlook.com ([fe80::546c:3b3:9193:3351%6]) with mapi id 15.20.3109.018; Thu, 18 Jun 2020 08:35:53 +0000
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: "yoav@yoav.ws" <yoav@yoav.ws>
CC: "httpbis-chairs@ietf.org" <httpbis-chairs@ietf.org>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, "iesg@ietf.org" <iesg@ietf.org>, "draft-ietf-httpbis-client-hints@ietf.org" <draft-ietf-httpbis-client-hints@ietf.org>, "mnot@mnot.net" <mnot@mnot.net>
Thread-Topic: Magnus Westerlund's No Objection on draft-ietf-httpbis-client-hints-14: (with COMMENT)
Thread-Index: AQHWL1TkNgvP4f+hxUKI54h1WmYB9qjcsUmAgAGG/4A=
Date: Thu, 18 Jun 2020 08:35:52 +0000
Message-ID: <eced190fd2ef0d008e6706a50a05369470c62585.camel@ericsson.com>
References: <159005445899.23374.13670236118157078353@ietfa.amsl.com> <CACj=BEgAPeeOPTZUUBp43C_4CuSEmnSjSC6T3wGZby55ECbuow@mail.gmail.com>
In-Reply-To: <CACj=BEgAPeeOPTZUUBp43C_4CuSEmnSjSC6T3wGZby55ECbuow@mail.gmail.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2
authentication-results: yoav.ws; dkim=none (message not signed) header.d=none;yoav.ws; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [176.10.164.117]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6967593d-2b31-4cd1-99a4-08d813629cc1
x-ms-traffictypediagnostic: HE1PR0701MB2460:
x-microsoft-antispam-prvs: <HE1PR0701MB2460C01D53F03B1265DED2F4959B0@HE1PR0701MB2460.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 0438F90F17
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: +hJCkLAq/z50KFq/CrCMR5iMMyUMVCcU11HLE7DvNw0+eebFXshFTWoJdb6GLG5aXN5eeE+L537XJzo2IByaGAmqzuG/vDgD01g+y5J/R0rH9V46zbKxvwJT3/h8jmZJpmKz5lCPixeO5tx+f5o+FzZWtcKc4BjQwwWGZNJ2LXIo3H7gieiGQD1rY9DHB41o1/DqlM8tIjzGzvXil9zRHnxGgFxDAWZtM4UEwh14kphPd6ZrchDpIYVlOie8c6BdKxsNAfOv4a6WWLT72ud7g7bZlC3tZL1q9+XK1BEDBBUHRGrCo467RVvof5+3HswzUZPd3b9oPQzuJ0DO4cvpM0msLcvbNAPLdtggJProDms3JUY1qf461clF9klRuzdDopJm7NTBOagNG/eYsENI6HfIrxJnSD2boARNeUbk7bzKKqAqJIEVWK6dcE/lV1k6JHV3ofUu/SsnLrbFfUJU4Q==
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0702MB3772.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(366004)(136003)(376002)(39860400002)(346002)(396003)(4326008)(478600001)(2616005)(83380400001)(44832011)(5660300002)(6916009)(316002)(66946007)(6512007)(76116006)(71200400001)(66476007)(66556008)(54906003)(86362001)(66446008)(64756008)(53546011)(966005)(26005)(2906002)(186003)(8936002)(8676002)(6486002)(36756003)(6506007)(99106002);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata: RvfzN9OILgRzrstWx2jkUdpAGqA6tr+Aa6urS5Bm3OyfGey4v3vfZHEEfgEzKOlicBXxX7e6hyH+bMSfSUiaHeSfCXvQ1TQXUmUMBS8xxAtQtydAxBrtRuJlCPHg6XKAa93sSS0T3/tfPbQzml6RlMUvEpal4RDxFR1LirRbsb0n8lZf4ze0ylA1Y4K0kJo7KsSuoKIzZzDwHtu81xMCWXTKaOWnH+nQFdiTV1d4hWsRQ5DEIQdlupx5wHqg9Px6UysWgUHVclHHHV01VNJRK/GCn5MEJYPKNrP9Tv7WpDhCDbu/L5JAVD98tmTI3yILz8MuANcQruZwDVY/lKp0kXSoMwzsgbxHEqotjhtLaAAOpmdmwYg9l+JQh+TGrWoYzVMPuotLdV8y+zVBsQcbsgUU7KBmNCwcdo36YFHZ+oFcgRIWJtZOkgdGHmJ4+nUGAQCY2bd6nlAB4Efu2+YJ1nX8/H83l7pFIK7lc833Vr83sytNErdamDXQbwXkyWXs
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <7FB321084E6D7348A72BC3AC68DB2018@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6967593d-2b31-4cd1-99a4-08d813629cc1
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2020 08:35:52.8982 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: zNRg2yls3PRwl6MLUtnHlvGmFag+POY07aP+MxzzQgSI+mFWFyHJpqlTj3nGybcZi3EXxMXKqMjVFK9OgcYn/FXTAGiPP7mIPHBYj+VZWnE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2460
Received-SPF: pass client-ip=40.107.0.52; envelope-from=magnus.westerlund@ericsson.com; helo=EUR02-AM5-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1jlq1m-0003kM-1p e19545ef54ae1d64d2fb13ea74e51462
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Magnus Westerlund's No Objection on draft-ietf-httpbis-client-hints-14: (with COMMENT)
Archived-At: <https://www.w3.org/mid/eced190fd2ef0d008e6706a50a05369470c62585.camel@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37786
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hi Yoav,



On Wed, 2020-06-17 at 11:16 +0200, Yoav Weiss wrote:
> Thanks for reviewing! Apologies for the late reply... :/
> 
> On Thu, May 21, 2020 at 11:47 AM Magnus Westerlund via Datatracker <
> noreply@ietf.org> wrote:
> > Magnus Westerlund has entered the following ballot position for
> > draft-ietf-httpbis-client-hints-14: No Objection
> > 
> > When responding, please keep the subject line intact and reply to all
> > email addresses included in the To and CC lines. (Feel free to cut this
> > introductory paragraph, however.)
> > 
> > 
> > Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
> > for more information about IESG DISCUSS and COMMENT positions.
> > 
> > 
> > The document, along with other ballot positions, can be found here:
> > https://datatracker.ietf.org/doc/draft-ietf-httpbis-client-hints/
> > 
> > 
> > 
> > ----------------------------------------------------------------------
> > COMMENT:
> > ----------------------------------------------------------------------
> > 
> > I have no significant concern here, but I would appreciate an answer if I
> > understand the situation correctly.
> > 
> > The Accept-CH header value is  structure header value and uses sh-token
> > which
> > has a more restrictive syntax than the HTTP specifications token used for
> > header field names. However, this restriction is not of any real practical
> > concern as all registered HTTP headers starts with an ALPHA. I did notice
> > that
> > the new HTTP semantics documents proposed new registry was not mandating but
> > strongly recommending to keep within what sh-token can except. Thus, do I
> > assume correctly that this issue has been sufficiently discussed in the WG?
> 
> I'm not sure I properly understand the issue you're referring to. Would you
> like to see a stronger restriction than sh-token?

No, I am simply noting that by using structured field values your implicitly
restriciting the syntax from what RFC 7230 allows for field names, which is:

header-field   = field-name ":" OWS field-value OWS
field-name     = token
where token is:

     token          = 1*tchar

     tchar          = "!" / "#" / "$" / "%" / "&" / "'" / "*"
                    / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
                    / DIGIT / ALPHA
                    ; any VCHAR, except delimiters


However Structure field's token definition is this:


   sf-token = ( ALPHA / "*" ) *( tchar / ":" / "/" )

Thus, Client hints will not be able to do express all possible field-names that
may exist in HTTP. 

From that I was asking: 

Where there any discussion of this restriction? 
Where there any concerns raised with this, or are all okay with it? 

I personally don't have an issue with it as all registered HTTP headers will
fitt in this more restricted syntax. 

So all I am asking for is an honest answer of the above questions.


In addition when you update the draft, please fix the fact that draft-ietf-
httpbis-header-structure-19 has changed the prefix for its ABNF constructs from
"sh-" to "sf-".


Cheers

Magnus Westerlund 


----------------------------------------------------------------------
Networks, Ericsson Research
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Torshamnsgatan 23           | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------