Re: Structured Headers: URI type (#782)

Mark Nottingham <mnot@mnot.net> Thu, 02 May 2019 05:47 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 849941200A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 1 May 2019 22:47:33 -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=M2l7/e2z; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=XM2O2JsC
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 MimyBmgi-Lod for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 1 May 2019 22:47:31 -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 5E99D120044 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 1 May 2019 22:47:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hM4XX-0008DR-3p for ietf-http-wg-dist@listhub.w3.org; Thu, 02 May 2019 05:45:51 +0000
Resent-Date: Thu, 02 May 2019 05:45:51 +0000
Resent-Message-Id: <E1hM4XX-0008DR-3p@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 1hM4XV-0008Cb-D3 for ietf-http-wg@listhub.w3.org; Thu, 02 May 2019 05:45:49 +0000
Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <mnot@mnot.net>) id 1hM4XT-0005Za-Rr for ietf-http-wg@w3.org; Thu, 02 May 2019 05:45:48 +0000
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D32CD231C6; Thu, 2 May 2019 01:45:25 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 02 May 2019 01:45:25 -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=X J981YOukHHNqV9fa+1jJv+UPjARjNhAY5ExM6FsWCY=; b=M2l7/e2z/k092Cx1s 1Ie6oWHMUe1WnzkWOELRfWmgYUzBv5nkSGakEaVquo0yVtWVNOubGy/YFMvBgc/k aDdatBKf4+3jaAoRrOtdvNzqadwmY/vnJb5G2NBlztfoxYxEPN4R7dYUV6DLWQGz o20HjmGRpCb2I3bBqCvFikEMWHV3DRM66emZCwOaXqnPBAzJdhB8DNp9gfJrGYHY TOYWr9sphTqXhHkBVf/awYsyZUEYyFFPuHlThcIfxk4K+VtLSTX0898vfOqMzQ6y 7kp78V43NmFAUwHcEGeKeEL5VNshI7Jx6JNL71JAg7q8x1+TlnhUFd5eTeytNgQ1 MdVcg==
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=fm2; bh=XJ981YOukHHNqV9fa+1jJv+UPjARjNhAY5ExM6FsW CY=; b=XM2O2JsCJM2VnKwK+nlPsdsFa/r0n2dafkVMHKIC2l+Bi9xm4qJgjeZGy J65joqI828UizfcRBPZBJQ9uObWDtTiBLonWbsTuFXs79tukCoAD6psr1gzkLSOo UUqvzW0mmRZl718hCn0XISTiEGYqsyJCCU5IyeL9OFtJg3rKwrCKAUov9hCu8aXM hTZ+eRRHZZL5qR09R8+EkRKdSxZ2OyIfqt3IbmNAjoZC/T+2n0lYx69WDBIir5oQ QrWvGczVWEN/TNsnSwJqDSFpHst2uYsgIj5fb6bPiPa3iklhn1wqAdpatu72k9TR YFmC6Iuwsl+6vo6daLNs/dojK+zyA==
X-ME-Sender: <xms:9IPKXNG6Y6WRv5nDd3KgxaQy6_nBUvz9NLiZ6TIJxj6e9tvI6IHpRA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrieekgdeltdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtggfuhfgjfffgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpeforghrkhcu pfhothhtihhnghhhrghmuceomhhnohhtsehmnhhothdrnhgvtheqnecuffhomhgrihhnpe hgihhthhhusgdrtghomhdpmhhnohhtrdhnvghtnecukfhppedugeegrddufeeirddujeeh rddvkeenucfrrghrrghmpehmrghilhhfrhhomhepmhhnohhtsehmnhhothdrnhgvthenuc evlhhushhtvghrufhiiigvpedt
X-ME-Proxy: <xmx:9IPKXOo9pT0uOWT_Vevko6-bVDD5qKjD3CD_wBmB2O7B6_m_C7kukg> <xmx:9IPKXB6issOHG83As2NRRJo1U03Bl_6-0slR4h-MD8SSrWAi2jnUvw> <xmx:9IPKXE6a8SDRU40CN1OpZbDCJuyoLrhRz3f14uuPwyvmiRmq2I994g> <xmx:9YPKXA_G0vCP-kHylE2Q-NvfXLqSnrTZ6w-sYspJIo8w6oztD1YBAA>
Received: from macbook-pro.mnot.net (unknown [144.136.175.28]) by mail.messagingengine.com (Postfix) with ESMTPA id CE489E442F; Thu, 2 May 2019 01:45:22 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <0bab4850-fbe6-a318-71b2-a0e89a74ae74@gmx.de>
Date: Thu, 02 May 2019 15:45:19 +1000
Cc: "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: <98A30D03-556A-4163-AE6B-E79760D34B2B@mnot.net>
References: <31F60C8F-907A-44C4-B98E-3F49249A40B8@mnot.net> <0bab4850-fbe6-a318-71b2-a0e89a74ae74@gmx.de>
To: "Julian F. Reschke" <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.3445.104.8)
Received-SPF: pass client-ip=66.111.4.28; envelope-from=mnot@mnot.net; helo=out4-smtp.messagingengine.com
X-W3C-Hub-Spam-Status: No, score=-6.3
X-W3C-Hub-Spam-Report: AWL=3.500, 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 1hM4XT-0005Za-Rr acb0159c1175c103a0f01bafd6b774bd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Structured Headers: URI type (#782)
Archived-At: <https://www.w3.org/mid/98A30D03-556A-4163-AE6B-E79760D34B2B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36572
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>

Could you explain why it's compelling?

It's already possible to map a link header to the existing data structures (there are a couple of ways you'd do it).  It's true that the syntax wouldn't be identical to a Link header, but that hasn't been a goal for other parts of SH; in this sort of situation, we've assumed that some mapping function would be necessary (e.g., negotiating to send the new header as SH-Link, or some other mechanism).

I'd be much more supportive of doing a URI type if we could get agreement for *and* implementation of a common data model for URIs in SH. However, it appears that there's disagreement about that; browser folks want to reuse the WHATWG URI specification (which is sensible, from their viewpoint), whereas others don't like that spec. Exposing it as just a string doesn't seem to add much at all.

We could talk about this a lot more, but I suspect it would take at least a few months to conclude the discussion. I'd rather ship the spec; if we can agree on a new type down the road, we can always add it with an update.

Cheers,



> On 2 May 2019, at 3:39 pm, Julian Reschke <julian.reschke@gmx.de> wrote:
> 
> On 02.05.2019 07:15, Mark Nottingham wrote:
>> (Editor hat on)
>> 
>> <https://github.com/httpwg/http-extensions/issues/782>
>> 
>> PHK and I have discussed this, and I think we agree that this issue should be closed without any change to the specification.
>> 
>> Any further discussion? We'd like to get this spec shipped.
> 
> I don't think that the discussion in the github issue really concluded.
> It would be nice if Poul-Henning would follow-up on my replies.
> 
> FWIW, my latest comment was: "I think the ability to apply this to the
> Link header field is pretty compelling.".
> 
> Best regards, Julian
> 

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