Re: Structured Headers: URI type (#782)

Michael Sweet <msweet@apple.com> Thu, 09 May 2019 11:40 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 52FD912013F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 9 May 2019 04:40:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.01
X-Spam-Level:
X-Spam-Status: No, score=-3.01 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.com
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 UZZwkhqVnHVc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 9 May 2019 04:40:15 -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 6F0E2120134 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 9 May 2019 04:40:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hOhN6-0000ep-CD for ietf-http-wg-dist@listhub.w3.org; Thu, 09 May 2019 11:37:56 +0000
Resent-Date: Thu, 09 May 2019 11:37:56 +0000
Resent-Message-Id: <E1hOhN6-0000ep-CD@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 <msweet@apple.com>) id 1hOhN3-0000e4-CX for ietf-http-wg@listhub.w3.org; Thu, 09 May 2019 11:37:53 +0000
Received: from nwk-aaemail-lapp03.apple.com ([17.151.62.68]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <msweet@apple.com>) id 1hOhMz-0003q5-G4 for ietf-http-wg@w3.org; Thu, 09 May 2019 11:37:53 +0000
Received: from pps.filterd (nwk-aaemail-lapp03.apple.com [127.0.0.1]) by nwk-aaemail-lapp03.apple.com (8.16.0.27/8.16.0.27) with SMTP id x49Bb1IZ028769 for <ietf-http-wg@w3.org>; Thu, 9 May 2019 04:37:28 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=mime-version : content-transfer-encoding : content-type : sender : subject : from : in-reply-to : date : message-id : references : to; s=20180706; bh=M7/08Z/ZE6fppBjVQPDJ/yPC9GTCq9r4emz/a+wPmuQ=; b=LPAZ9i0ABiNv//UMbnRaizgQyOqYzV9KaYHs6vVvuJDrYyn4sN0k7FRW7nq2e65OlkWX Wr60rMv4DvO/XHFKPhdqgcx8v3kJwfaC+IQItE1dsFex8F7687RleQN5gkREoaRlzZrM dSOl7ZbC93Mi1cc6hgyd7dYBhAOhvsc9oMBTrzKTdn3M2g4jH1o4hW2mzh9vvjcq0KHd RftNSs9OSy0a2GvfY8OcbX/w91WZabYLcxeAgFe4Ot5iMTbjQNPJ6woVxV2vfsDPqxDX Cn6BOIntRbgpcUj8QvEHo/BJ0rzy2h7OamMhRptwefKg1DfG6oyCeGrUo0gpr6Zr2So0 mg==
Received: from ma1-mtap-s02.corp.apple.com (ma1-mtap-s02.corp.apple.com [17.40.76.6]) by nwk-aaemail-lapp03.apple.com with ESMTP id 2s9tymddqd-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for <ietf-http-wg@w3.org>; Thu, 09 May 2019 04:37:28 -0700
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: text/plain; CHARSET="US-ASCII"
Received: from nwk-mmpp-sz10.apple.com (nwk-mmpp-sz10.apple.com [17.128.115.122]) by ma1-mtap-s02.corp.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) with ESMTPS id <0PR8000KPIYDF990@ma1-mtap-s02.corp.apple.com> for ietf-http-wg@w3.org; Thu, 09 May 2019 04:37:26 -0700 (PDT)
Received: from process_milters-daemon.nwk-mmpp-sz10.apple.com by nwk-mmpp-sz10.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) id <0PR800500IWRNP00@nwk-mmpp-sz10.apple.com>; Thu, 09 May 2019 04:37:25 -0700 (PDT)
X-Va-A:
X-Va-T-CD: aeebd4fdd5963ddcce0b17227227efb6
X-Va-E-CD: d604d433feca095f369c4d5dd9c88153
X-Va-R-CD: e599e99a50c83720afa2e331331725ff
X-Va-CD: 0
X-Va-ID: 9aa489ad-6891-4e1c-b617-13784ee60ec7
X-V-A:
X-V-T-CD: aeebd4fdd5963ddcce0b17227227efb6
X-V-E-CD: d604d433feca095f369c4d5dd9c88153
X-V-R-CD: e599e99a50c83720afa2e331331725ff
X-V-CD: 0
X-V-ID: 09b1aa74-1937-4a2b-b8e3-4553c9673902
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-05-09_02:,, signatures=0
Received: from [17.235.22.160] (unknown [17.235.22.160]) by nwk-mmpp-sz10.apple.com (Oracle Communications Messaging Server 8.0.2.3.20181024 64bit (built Oct 24 2018)) with ESMTPSA id <0PR800HXSIVKHT40@nwk-mmpp-sz10.apple.com>; Thu, 09 May 2019 04:35:45 -0700 (PDT)
Sender: msweet@apple.com
From: Michael Sweet <msweet@apple.com>
In-reply-to: <43350.1557381777@critter.freebsd.dk>
Date: Thu, 09 May 2019 07:35:43 -0400
Message-id: <1D648FDA-3FE8-40B0-BFA5-5C3400E8C885@apple.com>
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> <CACweHNCFSj-zGO-O=U4CZYBfqL-5FcnwmMZeB-oih7w1nAFC0g@mail.gmail.com> <43350.1557381777@critter.freebsd.dk>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.3445.104.8)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-05-09_02:, , signatures=0
Received-SPF: pass client-ip=17.151.62.68; envelope-from=msweet@apple.com; helo=nwk-aaemail-lapp03.apple.com
X-W3C-Hub-Spam-Status: No, score=-6.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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 1hOhMz-0003q5-G4 075f9ef4e342046c5c5b40a0da7db36f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Structured Headers: URI type (#782)
Archived-At: <https://www.w3.org/mid/1D648FDA-3FE8-40B0-BFA5-5C3400E8C885@apple.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36621
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 May 9, 2019, at 2:02 AM, Poul-Henning Kamp <phk@phk.freebsd.dk> wrote:
> ...
> PS: Reminds me: Why does ABNF not have an 'import' facility ?
> 
> This would be much clearer:
> 
> 	import token68 from [RFC7235]
> 
> Than (from 7540):
> 
> 	The ABNF [RFC5234] production for "token68" is defined in
> 	Section 2.1 of [RFC7235].

I've often wondered why the IETF doesn't publish the ABNF for RFCs someplace, e.g., "https://tools.ietf.org/abnf/rfcNNNN", so that such imports are not only possible but then automated tools can pull an official ABNF (with any typographical corrections applied that might slip through the RFC publication process) for use in validation, etc.

We started doing that for IPP specifications several years ago and it has been very useful in validating attribute values, etc.

_________________________________________________________
Michael Sweet, Senior Printing System Engineer