W3C home > Mailing lists > Public > ietf-http-wg@w3.org > January to March 2020

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

From: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
Date: Wed, 29 Jan 2020 21:34:48 +0200 (EET)
To: HTTP Working Group <ietf-http-wg@w3.org>
CC: Kari Hurtta <hurtta-ietf@elmme-mailer.org>, Mark Nottingham <mnot@mnot.net>, Poul-Henning Kamp <phk@varnish-cache.org>
Message-Id: <20200129193455.5F71D23882@welho-filter2.welho.com>
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
Received on Wednesday, 29 January 2020 19:35:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 29 January 2020 19:35:01 UTC