Re: Structured Headers: URI type (#782)

Matthew Kerwin <matthew@kerwin.net.au> Thu, 02 May 2019 07:28 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 AA1E01202FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 2 May 2019 00:28:03 -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, HEADER_FROM_DIFFERENT_DOMAINS=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 QXFflxtj1z2C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 2 May 2019 00:28:01 -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 9AAED1202F9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 2 May 2019 00:28:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hM66F-0003sQ-OS for ietf-http-wg-dist@listhub.w3.org; Thu, 02 May 2019 07:25:47 +0000
Resent-Date: Thu, 02 May 2019 07:25:47 +0000
Resent-Message-Id: <E1hM66F-0003sQ-OS@frink.w3.org>
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <phluid61@gmail.com>) id 1hM66D-0003qp-J1 for ietf-http-wg@listhub.w3.org; Thu, 02 May 2019 07:25:45 +0000
Received: from mail-it1-f176.google.com ([209.85.166.176]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <phluid61@gmail.com>) id 1hM66B-00006p-Nk for ietf-http-wg@w3.org; Thu, 02 May 2019 07:25:45 +0000
Received: by mail-it1-f176.google.com with SMTP id k64so1683829itb.5 for <ietf-http-wg@w3.org>; Thu, 02 May 2019 00:25:23 -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=JXGT9k+BUkCqaZ8pT65o26p3dlH0N9eWi0DWdE36nKE=; b=cuJxk6ZfUUI3iiuGVOkqvOz7rwYBptrgeO9FIR+PV23moGcNn/45Wg+leZ00me+mho hdtrgubU4ZuMv/7MIF7FcA8Fv5ou2s7km3fQlOBcSmOx9W1vwRGClLJPzeOfgRgmcuM5 Hac8FTD+c7KO4Yf7MmZBhXJ2ab4iOWjzHmKz3dxtdlu0WRE/UM3g45ZUIHZASRZWLwfy KhSuwyBfO3WATsfXIGnWff0gDG00l1CvVaK2eExinf/jJ4S+axPdQPl69psXLPuCSsuG emQatzSVk/x/desGdV5uZ+ytMqxjx455zMpNwA/knO5fUiTwxpj8bJiReUHeC7hKtl/y fxGA==
X-Gm-Message-State: APjAAAVhlPgGF6YXrsfhQlbzvyVPYN9n92Ph8n9kcY7rV82Q74V6lgw5 h+KINxH83iXzfDDi2tkbeYdpSJ+gmDkEuTqsPuU=
X-Google-Smtp-Source: APXvYqxIimM9TAXylL8QBsc25EAFEbxAla2dhfSGRV3XiatOfMI83jiywW57LsEmo4yJHgwFKX+WBRaNRx9R5FLVI8Q=
X-Received: by 2002:a24:32cb:: with SMTP id j194mr1115201ita.168.1556781922492; Thu, 02 May 2019 00:25:22 -0700 (PDT)
MIME-Version: 1.0
References: <31F60C8F-907A-44C4-B98E-3F49249A40B8@mnot.net>
In-Reply-To: <31F60C8F-907A-44C4-B98E-3F49249A40B8@mnot.net>
From: Matthew Kerwin <matthew@kerwin.net.au>
Date: Thu, 02 May 2019 17:25:08 +1000
Message-ID: <CACweHNCOwhhZ55=zB_vcVRosSMaoOcAauqiPjma1J0JKPZwQtA@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "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.176; envelope-from=phluid61@gmail.com; helo=mail-it1-f176.google.com
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: AWL=-1.089, BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.124, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1hM66B-00006p-Nk 2d0db34e00617cdc06123ad558364ce1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Structured Headers: URI type (#782)
Archived-At: <https://www.w3.org/mid/CACweHNCOwhhZ55=zB_vcVRosSMaoOcAauqiPjma1J0JKPZwQtA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36581
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 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.

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.

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