Re: Structured Headers: URI type (#782)

Matthew Kerwin <matthew@kerwin.net.au> Fri, 03 May 2019 09:07 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 5EE6C1200D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 May 2019 02:07:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.9
X-Spam-Level:
X-Spam-Status: No, score=-2.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-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 O9-FF4FAepTM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 3 May 2019 02:07:48 -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 4BBB212006D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 3 May 2019 02:07: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 1hMU83-0002xz-9p for ietf-http-wg-dist@listhub.w3.org; Fri, 03 May 2019 09:05:15 +0000
Resent-Date: Fri, 03 May 2019 09:05:15 +0000
Resent-Message-Id: <E1hMU83-0002xz-9p@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 1hMU80-0002xB-Dr for ietf-http-wg@listhub.w3.org; Fri, 03 May 2019 09:05:12 +0000
Received: from mail-it1-f181.google.com ([209.85.166.181]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <phluid61@gmail.com>) id 1hMU7y-000290-Kv for ietf-http-wg@w3.org; Fri, 03 May 2019 09:05:12 +0000
Received: by mail-it1-f181.google.com with SMTP id u16so2791635itc.0 for <ietf-http-wg@w3.org>; Fri, 03 May 2019 02:04: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=sDeRRN6VBmRC4dQ9i+ZP42avNKn5rIu9ju67utgsNRU=; b=Z0vJw5bjMCKmsDAY3FRw0O9PrZmiRzGUzAGARBTOpAJaR0hH49mula7rVoOQHBsRnr drIpYFlKgVF0yCtygkvKWp5hhXZ3bJT0tVng8U+WxlZKAb/P+3dBL+6c1xuqT4lQSn1N Zz3k8beQyyYxTQvXGD+17EranoqHgEZ6RAUz0YDmCQpIic0bbftXmdq3BNKdBy7lNhVZ DqHc5qxpwtx/iaMTBvc7KmGbC5t52y64iSzHL1DiEweI4d2zljuEut46K1hnp1nZK4Jw lShVdgMKW4GMe/oSwlsapcEyGNZE6fX3PnADjK/Y9MzqypzuNodVnl9WFMt+K83JtpmY 45Dw==
X-Gm-Message-State: APjAAAWJHQtXNTlO7WzZ7g9sPLcr8gizTxouy18m30XnQb8VeKpmR6fL ZzkkquSl7VLwydChNdOIamT7XtNjV8i3x/G4TqE=
X-Google-Smtp-Source: APXvYqxgyPdoxYPj3FaVGdDt/LWHz1kFUge33qfybOOf/ndLAeDIOkp2kQeIIYGvaAarkTwiqwWg08tl9++NpcTmzIg=
X-Received: by 2002:a05:660c:b02:: with SMTP id f2mr6082234itk.36.1556874289537; Fri, 03 May 2019 02:04: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>
In-Reply-To: <34E2C344-88D7-41C4-B86F-45633B0A4C62@mnot.net>
From: Matthew Kerwin <matthew@kerwin.net.au>
Date: Fri, 03 May 2019 19:04:43 +1000
Message-ID: <CACweHNDz=yuK+-U_bNmucTGQgKqSWfew18RifWT83moq0S5WOw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "Julian F. Reschke" <julian.reschke@gmx.de>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>, Poul-Henning Kamp <phk@phk.freebsd.dk>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.166.181; envelope-from=phluid61@gmail.com; helo=mail-it1-f181.google.com
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: AWL=-1.072, BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.09, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1hMU7y-000290-Kv c0c92dcea1a03bb57fd3637bca4bb772
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Structured Headers: URI type (#782)
Archived-At: <https://www.w3.org/mid/CACweHNDz=yuK+-U_bNmucTGQgKqSWfew18RifWT83moq0S5WOw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36596
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 at 17:16, Mark Nottingham <mnot@mnot.net> wrote:
>
>
>
> > On 2 May 2019, at 5:55 pm, Julian Reschke <julian.reschke@gmx.de> wrote:
> >
> >>
> >> 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.
>
> 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.

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.

Cheers
-- 
  Matthew Kerwin
  https://matthew.kerwin.net.au/