Re: Structured Headers: URI type (#782)

Matthew Kerwin <matthew@kerwin.net.au> Wed, 08 May 2019 23:52 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 4D648120243 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 8 May 2019 16:52:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.898
X-Spam-Level:
X-Spam-Status: No, score=-2.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 5StqpyvrZdY1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 8 May 2019 16:52:50 -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 E2A69120227 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 8 May 2019 16:52:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hOWLG-0006d8-0k for ietf-http-wg-dist@listhub.w3.org; Wed, 08 May 2019 23:51:18 +0000
Resent-Date: Wed, 08 May 2019 23:51:18 +0000
Resent-Message-Id: <E1hOWLG-0006d8-0k@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 <phluid61@gmail.com>) id 1hOWLC-0006cL-FI for ietf-http-wg@listhub.w3.org; Wed, 08 May 2019 23:51:14 +0000
Received: from mail-it1-f175.google.com ([209.85.166.175]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <phluid61@gmail.com>) id 1hOWL9-0006FC-Er for ietf-http-wg@w3.org; Wed, 08 May 2019 23:51:14 +0000
Received: by mail-it1-f175.google.com with SMTP id o190so524171itc.1 for <ietf-http-wg@w3.org>; Wed, 08 May 2019 16:50:50 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=V9TNDozejbdDQhECkhpue0WwluU9iOg7/LKirYzkjeQ=; b=R6zUgXEt/d8RFwz2T1sAs/rdvBvBtUBvftBCH6T8JrvnEv5+GEAm35b2IRVFH/+zKq fdgyPwSm48PeMfz0z5itKpU8Jv33RkhBU6NEaJ6xpUmZlYXJSKHoS+JdLlBSUXUd0osQ 2Jt7bYx37VQMYK9DLsgmevIlMv49LDviR+0ZBzXcRjL3D8GnLvzLqZ2qmCcsAptB0r+S bl1OTuSLP7GdV4yKv18rozDWIjWKhZ8YVeqgFIh/t7feNxPvyxJdla6nipaqBA6SzUf/ S8L+N0bKefnS0ZHV9pEBetLeaqxO29lIKxV/Xe0LJWaJT8UHTjt92WKNv1DO4nwfPGSh BjdQ==
X-Gm-Message-State: APjAAAVAq20nRsGJGC08+B1/RRrgJDRPuvipylqI8J/IhWfVmQhyEXn/ ulyib+jDYeJmSWa+cN06ABy6KYPvNnxoR2XKZnWegA==
X-Google-Smtp-Source: APXvYqyoU/x5g0+aOHigXLiv9un/ytvFXQW6RHbnDKKH7l7u9RdXQHOAO60dXdKBLAKEpnrXS1FT2bPF5i1lyuIIS7c=
X-Received: by 2002:a02:a812:: with SMTP id f18mr726107jaj.31.1557359449963; Wed, 08 May 2019 16:50:49 -0700 (PDT)
MIME-Version: 1.0
References: <31F60C8F-907A-44C4-B98E-3F49249A40B8@mnot.net> <CACweHNCOwhhZ55=zB_vcVRosSMaoOcAauqiPjma1J0JKPZwQtA@mail.gmail.com> <b2a4196f-7b07-9373-1892-671d739c629b@gmx.de> <34E2C344-88D7-41C4-B86F-45633B0A4C62@mnot.net> <CACweHNDz=yuK+-U_bNmucTGQgKqSWfew18RifWT83moq0S5WOw@mail.gmail.com> <c3f528c0-2562-f6f6-4fc1-6052c7b42e99@gmx.de>
In-Reply-To: <c3f528c0-2562-f6f6-4fc1-6052c7b42e99@gmx.de>
From: Matthew Kerwin <matthew@kerwin.net.au>
Date: Thu, 09 May 2019 09:50:39 +1000
Message-ID: <CACweHNCFSj-zGO-O=U4CZYBfqL-5FcnwmMZeB-oih7w1nAFC0g@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>
Content-Type: multipart/alternative; boundary="000000000000cd869705886900f7"
Received-SPF: pass client-ip=209.85.166.175; envelope-from=phluid61@gmail.com; helo=mail-it1-f175.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.191, BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.232, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.095, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1hOWL9-0006FC-Er 65164ff8c9313274b65ec5a8b8e13bf8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Structured Headers: URI type (#782)
Archived-At: <https://www.w3.org/mid/CACweHNCFSj-zGO-O=U4CZYBfqL-5FcnwmMZeB-oih7w1nAFC0g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36619
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 Fri., 3 May 2019, 20:40 Julian Reschke, <julian.reschke@gmx.de> wrote:
>
> On 03.05.2019 11:04, Matthew Kerwin wrote:
> > ...
> >>> 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.
> >>
> >> I don't see the connection.
> >>
> >
> > 'Link' is a parameterised list of URI references.  If we add a URI
> > reference type, and param-list is extended to allow URI references
> > alongside tokens, then it could maybe fit.
>
> Right,
>
> > Though then there are "what to do if you receive a Link header value
> > with parameterised tokens instead of parameterised URI references"
> > stuff, which is why I'm still not 100% sold.
>
> Why would that be a problem? It's just another error condition.
>
> Best regards, Julian
>

That's fair.

I keep thinking about, like, schemas or profiles or Java generics. I wonder
if there's some sort of extension or informational document to write that
could help, or at least offer guidance.

Cheers
-- 
Matthew Kerwin