Re: Structured Headers: URI type (#782)

Mark Nottingham <mnot@mnot.net> Thu, 13 June 2019 09:11 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 365CD1200CD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 13 Jun 2019 02:11:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.999
X-Spam-Level:
X-Spam-Status: No, score=-2.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=CEx/GR9B; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=0WoxVpcm
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 reqJH112C2gB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 13 Jun 2019 02:11:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (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 508CE1200C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 13 Jun 2019 02:11:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hbLk7-0006e5-Ib for ietf-http-wg-dist@listhub.w3.org; Thu, 13 Jun 2019 09:09:59 +0000
Resent-Date: Thu, 13 Jun 2019 09:09:59 +0000
Resent-Message-Id: <E1hbLk7-0006e5-Ib@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <mnot@mnot.net>) id 1hbLk5-0006cr-0z for ietf-http-wg@listhub.w3.org; Thu, 13 Jun 2019 09:09:57 +0000
Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <mnot@mnot.net>) id 1hbLk3-0000on-FW for ietf-http-wg@w3.org; Thu, 13 Jun 2019 09:09:56 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 276B375F; Thu, 13 Jun 2019 05:09:32 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 13 Jun 2019 05:09:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm2; bh=O Uy9ewA0WfZvI51F8mYB7VH653bNuiU6Tec5Ct57Vsg=; b=CEx/GR9BTblALaFir 06lCBrIndZo69I+VEyubU/XnM39GX61YGBElp6bPk4ONTlv58guGuWDKl2sdn7Bj MvxwO7q3YgQPe39ry1ESlkdV48/6ma6YkmQ0Rc8B0Dh2kbQoam6tfKoLHgVN3hnz LUG+ZS0WTTXNBT6zAfyNNR0XAcbndj/Ux7Sj+Ndmx6nuWGXQNe0tJCXYHpAvOz1I xX55z0HGPaqs/cJfKnPSSS8V9Fkw4cDmx7yjsYd/8biWKANDRk/4vhvIWthj9ApO SOsyF03+Pr8pSGAUrj+JRsqCpsJBBSXLFF8UzwR3Tk1iurHyEnSsUjH3SLPSayMe TlZBA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=OUy9ewA0WfZvI51F8mYB7VH653bNuiU6Tec5Ct57V sg=; b=0WoxVpcmqA2zCt1YH+cG2cxiqlYlf25bQxVE1zZn+Os8njYug0rn+Gi6z e7TnFsRo0PIyxAesJpQlIwpNecAdB9AMmGvBgsF6wVs7+JmG3nJaaFkKkL21LEXy cNj5VOgVIlwgc0Yl9m3+Y4E2ffW8b5cuuSj0WUWa1w27ReSIWX9l/v7opF4BJPem OSnSgHHZL3VJRIYdquvMZXvL4KKt6bIqxSafrH3nmqaCrUb5ZQ07keYORoTKFtET HxcF8uESarnjUqBQszj4dPjqLEPD5a+ytjPOo3w2sk0/AjjNFabA/WVQXwI2DXOH H35AXSJqSjAOKYa6FkdiUGByR4vpw==
X-ME-Sender: <xms:yhICXYfFhBphv_vqX9WvkB4ChB1Q7kCUQ_s2m1_WNKOIkVpbFkMSzg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudehledguddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffgffkfhfvofesthhqmhdthhdtvdenucfhrhhomhepofgrrhhk ucfpohhtthhinhhghhgrmhcuoehmnhhothesmhhnohhtrdhnvghtqeenucffohhmrghinh epmhhnohhtrdhnvghtnecukfhppedugeegrddufeeirddujeehrddvkeenucfrrghrrghm pehmrghilhhfrhhomhepmhhnohhtsehmnhhothdrnhgvthenucevlhhushhtvghrufhiii gvpedt
X-ME-Proxy: <xmx:yhICXRey6oXJFjXF0syNTng1fZiQ01VJaAkyVv3aEEG0l5mrFQN4Tw> <xmx:yhICXUbFojC2atHo_0X9Ba9ehWPPI3XpkPAq-o7spvua7_TTWcrWsA> <xmx:yhICXd5qfaLLZDF_YyQpEkkB_p3mxMTVM8Y56BosoMAE04u_Ixtr4Q> <xmx:yxICXWb4KTixD5qRFXqQFl9qyU5ogItYLnl8J2SfFVTHozVj3zsORg>
Received: from [192.168.7.11] (unknown [144.136.175.28]) by mail.messagingengine.com (Postfix) with ESMTPA id 9144E80061; Thu, 13 Jun 2019 05:09:28 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <8e82a039-adaf-8542-a8b5-ab76a5653797@gmx.de>
Date: Thu, 13 Jun 2019 19:09:25 +1000
Cc: Tommy Pauly <tpauly@apple.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Message-Id: <BCF9767B-4467-4789-A9A4-E6078B7474A8@mnot.net>
References: <31F60C8F-907A-44C4-B98E-3F49249A40B8@mnot.net> <84525629-553D-4D42-9FD4-36DD995710CA@apple.com> <B556DE53-9409-47CC-BB69-C38FFD973F1A@mnot.net> <8e82a039-adaf-8542-a8b5-ab76a5653797@gmx.de>
To: "Julian F. Reschke" <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.3445.104.11)
Received-SPF: pass client-ip=64.147.123.24; envelope-from=mnot@mnot.net; helo=wout1-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-6.3
X-W3C-Hub-Spam-Report: AWL=3.514, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1hbLk3-0000on-FW db8e47abd1a1e19df49f83d281fbc6aa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Structured Headers: URI type (#782)
Archived-At: <https://www.w3.org/mid/BCF9767B-4467-4789-A9A4-E6078B7474A8@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36712
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>


> On 13 Jun 2019, at 7:06 pm, Julian Reschke <julian.reschke@gmx.de> wrote:
> 
> On 13.06.2019 10:46, Mark Nottingham wrote:
>> Again, I hope we're not voting.
> 
> No, we are not.
> 
>> My argument: given that the whole point of SH is to have strongly interoperable, crisply defined data models, and that anything beyond "it's a string" is a minefield regarding URIs, the prudent thing to do here is to punt on this until we're more confident. It's entirely possible to do this in a future revision / extension, and we really need to ship this spec.
> 
> I'm not convinced that adding things later will work well.

Can you explain why?

> I also note
> that if we really need to ship this spec, we should try harder to finish
> it (this thread started four weeks ago).

I've been ready to close these issues for all of that time.

> Finally, I still think that allowing to map complex fields like "Link"
> to this syntax would be good in that it would encourage people to (a)
> include the generic SH parser and (b) actually use if for "Link".

That could be said for many headers, it's not clear why Link is special here (and it's the only existing header that would *potentially* be compatible with this; it's not at all clear that the error handling around Link would allow its use).

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