Re: Structured Headers: URI type (#782)

Julian Reschke <julian.reschke@gmx.de> Thu, 02 May 2019 07:58 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 DF9CA1202FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 2 May 2019 00:58:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.899
X-Spam-Level:
X-Spam-Status: No, score=-2.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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 (1024-bit key) header.d=gmx.net
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 E7jdqwkUEKMl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 2 May 2019 00:58:47 -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 CEEB1120145 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 2 May 2019 00:58:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hM6aP-0000e3-1Q for ietf-http-wg-dist@listhub.w3.org; Thu, 02 May 2019 07:56:57 +0000
Resent-Date: Thu, 02 May 2019 07:56:57 +0000
Resent-Message-Id: <E1hM6aP-0000e3-1Q@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 <julian.reschke@gmx.de>) id 1hM6aN-0000dD-3v for ietf-http-wg@listhub.w3.org; Thu, 02 May 2019 07:56:55 +0000
Received: from mout.gmx.net ([212.227.17.21]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <julian.reschke@gmx.de>) id 1hM6aL-0000IP-H0 for ietf-http-wg@w3.org; Thu, 02 May 2019 07:56:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1556783732; bh=7iKSRdcTOxRk723ZVDCs8qA/SZPyjMy8v6uADeR86mA=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=CnHXOKK3FRORMk90FATnvSQukMDcf3JWPkhPBHDRbnnEUeCqkvRlFkmTfXYwVlRcJ sCptY0WDkI706D5isyVveYLUmbSeC8ogEaoCxJ1ddtSk/jEhuqKWENWoEoiezoF4Bj xxeUlHucEMZMSy2y3z3kHoTvoGEoLnQrgrsT8tjc=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.124] ([84.171.156.16]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MryXN-1h1Kev1srF-00o226; Thu, 02 May 2019 09:55:32 +0200
To: Matthew Kerwin <matthew@kerwin.net.au>, Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <31F60C8F-907A-44C4-B98E-3F49249A40B8@mnot.net> <CACweHNCOwhhZ55=zB_vcVRosSMaoOcAauqiPjma1J0JKPZwQtA@mail.gmail.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <b2a4196f-7b07-9373-1892-671d739c629b@gmx.de>
Date: Thu, 02 May 2019 09:55:27 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <CACweHNCOwhhZ55=zB_vcVRosSMaoOcAauqiPjma1J0JKPZwQtA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:d2Q9BsZIEAoE0ABDYy4k1UmZkAjWq2PQXvz3Vj2LO6hxK2brR4e GyCBTFybPUJDn9yc73B/fvVP4ZmHmmiZjPKGjdODDF7eJLrFQ9uShY44EJXBG6+2RH3uhcG 4yBrJDPmSNOK6DesMpYsglotMdCdB7m73a/VjtlV1o4LpzxkAE3rAPpt5G1HM1xyT4Pw4i8 x+0E4sqC35Edtrfqd8xcg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:n0/HImnzjA0=:88N4XIAIjtNdAjc6cikLUX ngpplmf6AlZFUdtjUGEkNIKN7GXAx6bZPaUGp16QxXMUDc6+uaVD8l667ffQ3bwPohOe6oFS6 nb9591QZlk4+VB9KA5IbDMmbJQDYYDUUMU3WVkSEWY33rcHuGBRmBsOPpLj01dtANUlCCjuzL 5F4c1Tk5s7ohYpZpBgQX4+D11R1qFM5PDA5BG9IdQnbDlyp2djoCAmRxbhp0DSR0P7x99nNBR jVO3rGYuLff3vOfjUmXl0xzMlWa2O5z72FNakmMB0fLQgPoMkrXkt2ts6qfP4fiso71duZ8jr zDarBdRwxAT8Mz5+0K4bX0iQUk06lqRubo7X1LDny14zFVJIaY6nIUNO/PNWM1K1u4moIfyY6 xjj5lIAj8cyuGdEJ0GRjqjhh9uE5VmgXygoSr5U0L7UmZQAt4CeLnkfGN+8iO6qtxUToMQhbr hy+OwLaiyncumWOhBrcynVbvl1SjUXcD2cCZHcDueHymtQd8orJa2CyMO8HyC1vujXcNm38KM hBXzVLh182hrbtL+dlA469tJPCf5pJ7TIwhz8iFxZS5NlNi8TK+byoLY+leJUxaX40xSOolO7 BKHq8W3CelH4VnliP5Qak5i2wY1rbdMukIU1jljr1e3xOClEkC/1rHKz3X4bQOo5GtaPW/act 7puC1/wlacJc9gJcOsEYtwodVYq7UgprKQLR1YeRUsWATWF7WL8DTsRi96icS5dQQzcN3SwBN RAVAiMQWvmqWSfuDq4BAlCMyxtmM+Sc2mZXDr9wWx2KM8WVvP0fhrPBH5ATdv+VlfMW6Lri+W SHIMw+VViJdEB0MUs0w7TOHulKxLcTG/rXLjmIpMtNCMmwTQ4oG5caymhNbeeGY35BWfvQseY PaIMRC7MaBXcXErg1Mi9Q0PlccBPqbh2awyVsQltR2S/HlRYJ7tknZh97QbQUwp7wVBHftMA8 z05YQJKPBDg==
Received-SPF: pass client-ip=212.227.17.21; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: AWL=1.763, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1hM6aL-0000IP-H0 588b2c68d591145fa8f930a5beaab02f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Structured Headers: URI type (#782)
Archived-At: <https://www.w3.org/mid/b2a4196f-7b07-9373-1892-671d739c629b@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36584
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 02.05.2019 09:25, Matthew Kerwin wrote:
> On Thu, 2 May 2019 at 15:23, Mark Nottingham <mnot@mnot.net> 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.
>>
>> Thanks,
>>
>
> For what it's worth, I'm still recovering from my ordeal with file://
> so the thought of touching URLs again is unappealing.  The simplest
> thing to do (aside from "nothing") would be to use whatever already
> exists.  So if we were to define a URI type I would recommend using
> whatever "Link:" already uses.  Looking at RFC 8288, that's
> "URI-Reference" from 3986.

I would be ok with that, but I would also agree to just allow anything,
and to delegate error handling up one layer.

> However, I think Link is a bad example to build off because it is a
> "parameterised" thingy, but we've already restricted the set of
> parameterisable thingies in SH to just sh-tokens.  So we couldn't
> recreate Link in SH even if we wanted to, without even more work.  So
> why bother adding a new type for it?  And we don't need a structured
> type for Location, because that's not structured per se.
>
> So I'm for closing with no action.
> ...

That's actually a good point, but then there's the recent
<https://github.com/httpwg/http-extensions/issues/797>:

> in Signed Exchanges, @jyasskin asks about having Parameterised Lists whose parameterised identifiers are things other than Tokens.

Best regards, Julian