draft-ietf-httpbis-header-structure-15, 2. Defining New Structured Headers

Kari Hurtta <hurtta-ietf@elmme-mailer.org> Wed, 29 January 2020 19:37 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 B3D6C120921 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Jan 2020 11:37:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.65
X-Spam-Level:
X-Spam-Status: No, score=-2.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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 5KUMjRuke1qZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 29 Jan 2020 11:37:16 -0800 (PST)
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 1C467120946 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 29 Jan 2020 11:36:27 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1iwt78-0001YK-MF for ietf-http-wg-dist@listhub.w3.org; Wed, 29 Jan 2020 19:35:02 +0000
Resent-Date: Wed, 29 Jan 2020 19:35:02 +0000
Resent-Message-Id: <E1iwt78-0001YK-MF@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 <khurtta@welho.com>) id 1iwt76-00014w-LW for ietf-http-wg@listhub.w3.org; Wed, 29 Jan 2020 19:35:00 +0000
Received: from welho-filter2.welho.com ([83.102.41.24]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <khurtta@welho.com>) id 1iwt74-0006L0-Ht for ietf-http-wg@w3.org; Wed, 29 Jan 2020 19:35:00 +0000
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 5F71D23882; Wed, 29 Jan 2020 21:34:55 +0200 (EET)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id Xbzx1mcOFvHp; Wed, 29 Jan 2020 21:34:55 +0200 (EET)
Received: from kasvihuone.keh.iki.fi (89-27-39-95.bb.dnainternet.fi [89.27.39.95]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPS id BC3402308; Wed, 29 Jan 2020 21:34:48 +0200 (EET)
In-Reply-To: <158028031175.4610.9085377324549619919@ietfa.amsl.com>
References: <158028031175.4610.9085377324549619919@ietfa.amsl.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Date: Wed, 29 Jan 2020 21:34:48 +0200
From: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
CC: Kari Hurtta <hurtta-ietf@elmme-mailer.org>, Mark Nottingham <mnot@mnot.net>, Poul-Henning Kamp <phk@varnish-cache.org>
X-Mailer: ELM [version ME+ 2.5 PLalpha50+]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20200129193455.5F71D23882@welho-filter2.welho.com>
Received-SPF: none client-ip=83.102.41.24; envelope-from=khurtta@welho.com; helo=welho-filter2.welho.com
X-W3C-Hub-Spam-Status: No, score=-5.3
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1iwt74-0006L0-Ht ec784f009d70081784b5c8a34e491c7c
X-Original-To: ietf-http-wg@w3.org
Subject: draft-ietf-httpbis-header-structure-15, 2. Defining New Structured Headers
Archived-At: <https://www.w3.org/mid/20200129193455.5F71D23882@welho-filter2.welho.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37318
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>

2.  Defining New Structured Headers
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-15#section-2


|   The following parameters are defined:
|   * A parameter whose name is "fooUrl", and whose value is a string
|     (Section Y.Y of [RFCxxxx]), conveying the Foo URLs
|     for the message. See below for processing requirements.
|
|   "fooUrl" contains a URI-reference (Section 4.1 of
|   [RFC3986], Section 4.1). If its value is not a valid URI-reference,
|   that URL MUST be ignored. If its value is a relative reference
|   (Section 4.2 of [RFC3986]), it MUST be resolved (Section 5 of
|   [RFC3986]) before being used.
|
|   For example:
|
|     Foo-Example: 2; foourl="https://foo.example.com/"


Example is fixed to use foourl, but text still uses "fooUrl" (uppercase letter).

3.1.2.  Parameters
https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-15#section-3.1.2

says that parameter name is lcalpha  -- therefore foourl

| The ABNF for parameters in HTTP headers is:
|
|   parameter     = ";" *SP param-name [ "=" param-value ]
|   param-name    = key
|   key           = lcalpha *( lcalpha / DIGIT / "_" / "-" / "." / "*" )
|   lcalpha       = %x61-7A ; a-z
|   param-value   = bare-item

/ Kari Hurtta