draft-kamp-httpbis-structure | Re: draft-ietf-httpbis-jfv: what's next

Kari Hurtta <hurtta-ietf@elmme-mailer.org> Sat, 15 October 2016 07:11 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 4747C1294F0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 15 Oct 2016 00:11:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.897
X-Spam-Level:
X-Spam-Status: No, score=-9.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-2.996, SPF_HELO_PASS=-0.001, 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 LNfWQaTg235H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 15 Oct 2016 00:11:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id ED18612947F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 15 Oct 2016 00:11:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bvJ4D-0004Tq-Vn for ietf-http-wg-dist@listhub.w3.org; Sat, 15 Oct 2016 07:07:38 +0000
Resent-Date: Sat, 15 Oct 2016 07:07:37 +0000
Resent-Message-Id: <E1bvJ4D-0004Tq-Vn@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <khurtta@welho.com>) id 1bvJ49-0004T9-O7 for ietf-http-wg@listhub.w3.org; Sat, 15 Oct 2016 07:07:33 +0000
Received: from welho-filter2.welho.com ([83.102.41.24]) by maggie.w3.org with esmtp (Exim 4.80) (envelope-from <khurtta@welho.com>) id 1bvJ47-00084F-DW for ietf-http-wg@w3.org; Sat, 15 Oct 2016 07:07:33 +0000
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 792DC138A6; Sat, 15 Oct 2016 10:07:04 +0300 (EEST)
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 e8-8Az0wfnKF; Sat, 15 Oct 2016 10:07:04 +0300 (EEST)
Received: from hurtta09lk.keh.iki.fi (89-27-35-245.bb.dnainternet.fi [89.27.35.245]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPS id F41C92313; Sat, 15 Oct 2016 10:07:03 +0300 (EEST)
In-Reply-To: <CAEK7mvoXqyX3cADJytjU+C158EULgPLbzAb5kiUN=8WWxhi29Q@mail.gmail.com>
References: <CAEK7mvoXqyX3cADJytjU+C158EULgPLbzAb5kiUN=8WWxhi29Q@mail.gmail.com>
To: HTTP working group mailing list <ietf-http-wg@w3.org>
Date: Sat, 15 Oct 2016 10:07:03 +0300 (EEST)
Sender: hurtta@hurtta09lk.keh.iki.fi
From: Kari Hurtta <hurtta-ietf@elmme-mailer.org>
CC: Matt Menke <mmenke@google.com>, Kari Hurtta <hurtta-ietf@elmme-mailer.org>, Poul-Henning Kamp <phk@varnish-cache.org>
X-Mailer: ELM [version ME+ 2.5 PLalpha42]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="US-ASCII"
Message-Id: <20161015070704.792DC138A6@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.2
X-W3C-Hub-Spam-Report: AWL=-0.859, BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.425, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1bvJ47-00084F-DW d2d1b0b5eec18cc47d15f03507b2d27e
X-Original-To: ietf-http-wg@w3.org
Subject: draft-kamp-httpbis-structure | Re: draft-ietf-httpbis-jfv: what's next
Archived-At: <http://www.w3.org/mid/20161015070704.792DC138A6@welho-filter2.welho.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32593
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

> The token rule in RFC7230 already includes asterisks, so I don't think identifier or token_or_asterix 
> is needed.

Yes. 

3.2.6.  Field Value Components
https://tools.ietf.org/html/rfc7230#section-3.2.6

|     token          = 1*tchar
|
|     tchar          = "!" / "#" / "$" / "%" / "&" / "'" / "*"
|                    / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
|                    / DIGIT / ALPHA
|                    ; any VCHAR, except delimiters

> On single/multiple headers: The draft has a comment about this, but it doesn't really comment on 
> whether the following is legal:
> 
> Foo: >bar<
> Foo: >baz<
> 
> Or:
> 
> Foo: >bar<, >baz<

3.  HTTP/1 serialization of HTTP header Common Structure
https://tools.ietf.org/html/draft-kamp-httpbis-structure-00#section-3

seems NOT accept later (this is problem)

|       h1_common-structure-header =
|               ( field-name ":" OWS ">" h1_common_structure "<" )
|                       # Self-identifying HTTP headers
|               ( field-name ":" OWS h1_common_structure ) /
|                       # legacy HTTP headers on white-list, see {{iana}}

But 

Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing
https://tools.ietf.org/html/rfc7230

says

3.2.2.  Field Order
https://tools.ietf.org/html/rfc7230#section-3.2.2

|   A recipient MAY combine multiple header fields with the same field
|   name into one "field-name: field-value" pair, without changing the
|   semantics of the message, by appending each subsequent field value to
|   the combined field value in order, separated by a comma. 

/ Kari Hurtta