Re: Structured Headers: URI type (#782)

Julian Reschke <julian.reschke@gmx.de> Thu, 13 June 2019 09:18 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 7D0B9120169 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 13 Jun 2019 02:18:44 -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 fHevfsrXgKrC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 13 Jun 2019 02:18:42 -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 CC3EE12015D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 13 Jun 2019 02:18:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hbLqk-0006dt-Mt for ietf-http-wg-dist@listhub.w3.org; Thu, 13 Jun 2019 09:16:50 +0000
Resent-Date: Thu, 13 Jun 2019 09:16:50 +0000
Resent-Message-Id: <E1hbLqk-0006dt-Mt@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 1hbLqh-0006d4-Uv for ietf-http-wg@listhub.w3.org; Thu, 13 Jun 2019 09:16:47 +0000
Received: from mout.gmx.net ([212.227.17.22]) 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 1hbLqg-00013k-Es for ietf-http-wg@w3.org; Thu, 13 Jun 2019 09:16:47 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1560417376; bh=cDIF0m4d9vFrG1359buT0QPmQpwOoiGKiuCFLzAA678=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=Sm4Bna5ybfHBECs8aoVHdI3X38p6iTAw8j8CwcfRFi64pxfGbe4FrKIyEBg1gmKJF 3Na4TYLlugwvnbzYGv0GGs2E8K5ShMd2/qVBc4AWxy6fUyLu2vJpzbgVxsIuc/C3xY QbJWxwrZtrmEjsK4Vn0Oj7tr982Sk4mj45pfM20w=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.34] ([217.91.35.233]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MH4Os-1ho1Hm0c2U-00DrMI; Thu, 13 Jun 2019 11:16:16 +0200
To: Mark Nottingham <mnot@mnot.net>
Cc: Tommy Pauly <tpauly@apple.com>, "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> <84525629-553D-4D42-9FD4-36DD995710CA@apple.com> <B556DE53-9409-47CC-BB69-C38FFD973F1A@mnot.net> <8e82a039-adaf-8542-a8b5-ab76a5653797@gmx.de> <BCF9767B-4467-4789-A9A4-E6078B7474A8@mnot.net>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <f8069ff4-2d32-79ce-534b-c39ad19a50fe@gmx.de>
Date: Thu, 13 Jun 2019 11:16:16 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0
MIME-Version: 1.0
In-Reply-To: <BCF9767B-4467-4789-A9A4-E6078B7474A8@mnot.net>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:KDrq87ZMlQfjWGri559d7kSOD1RFZcxaxizocIwUGX10scXgof3 pep6G+fRAxxPXKEA6rFiy/6fnDAVOf+O0H0f2R/nC3yQpE3RJ8Ip2VGsBWqrWa21LM9vpNl EQxk+SanVjxcL0klufFkxBKtXOIo32OHgZ5NxnfXP/Ukx0hWA7iFaKpzcLZC9HSCCOgTrMH vy2/3lgMHMTzDSV39WvNw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:dD/gjgVUYIo=:1mZRD6ZNHyaS+XxgHzaCWA i7QLroA6nSaWvmQawB0vLchRuOn5g2DyWz5adOKVKRiaBTgj4A9vvkP6GX8++ZtZrx69KBLGf 872vRGxj2RIWivUjQfVl+OrchkSpWyKjvv6mcvJ4qvUELdnQEuQy1sy8qNH4rdaa3NXXIyWyU LEZS44ZWc6Z822sXOkwejwHAJZreOH7Qk7SY2ElZimWGgClO+LRCl3U9Ez4amLbLoNmH4/Znb JV/MaHLuBb5juajn99fPyESiOlNxVOjIW6+i+VcwcElTHEUj89k0gtpP1VgqgoRznPJ2C5kFR 3A7VLniAeVZgA/MPdSJguQPQp0Z7sqofexTwPn1qurkWHQhWpU5aHzfV8lgWULenssdoUMteD Hm7jiQLHUPPl5CtKzHsBqgqBZ5elmM2AsXWWepUeSRJi2+B7FGfhMk9HAEtsfdTH9pM5HiWJt ImXMcdqf6rhAcT6pIZrvMncKHiqX5Qof6buj9sL3T0fZMpnkmQ13PguSjQCb9CEd4Yfs33QUw eNXqsAdHJVDLr7DBE2ssCFZjs1mfyaK9rT/wiPec13fnr3RLGme3bBfi7GK/0UUG61i0ESbpc 4b7nNSd2GY4xg18OMoVMkoT+vjz3uk5J1tWPqlWjNBR6GTT7Cu5hsrzZGKljQK3I0MlDgVFRW ocwGOsWNYRFv+Pf8aW9aNRESrayutLI+WUxtXrWLTYdCjr7/gRSQpFtzYClDm2O1eml1KsysM 9FBQ9M2qFICY8dxHARC0a6d55MVTBJ6BbZnoUcwqaN359t4BiBBJdGB6YLx+3cHG2iQrsbUxh xSLshe8/vEv9enENtcOB4/JI8RqRqvzP/KmXUaSh5rWu8GVWuor5chEOzeTjfGLlLNRTcLo88 8lqpfpTvk6T7i2WInN0E0JP1cHwom8DP+iHb4qB7AnAdc+wob36Co3Q/evBWlchvGKNOcqLU4 egkeJrXKN6hcZwufhHug2JX9cR/1HfSy8RwCSIJV1azTWoEsXdgEX
Received-SPF: pass client-ip=212.227.17.22; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=-0.002, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1hbLqg-00013k-Es 6a7dc32547cf717c562a28717eed0572
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Structured Headers: URI type (#782)
Archived-At: <https://www.w3.org/mid/f8069ff4-2d32-79ce-534b-c39ad19a50fe@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36713
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.06.2019 11:09, Mark Nottingham wrote:
>
>
>> 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?

My impression is that we'd see exactly the same pusback for an extension
spec (or a revision).

>> 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).

Link isn't special; it just happens to be a header field with relatively
complex syntax.

You mention error handling: do you have something specific in mind?

Best regards, Julian