Re: WGLC: draft-ietf-appsawg-http-forwarded-02.txt - section 5.1

Julian Reschke <julian.reschke@gmx.de> Mon, 14 May 2012 21:56 UTC

Return-Path: <ietf-http-wg-request@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 67BAE21F88ED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 14 May 2012 14:56:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.863
X-Spam-Level:
X-Spam-Status: No, score=-6.863 tagged_above=-999 required=5 tests=[AWL=3.736, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G2zcW0sVIXjt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 14 May 2012 14:56:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E847221F88EB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 14 May 2012 14:56:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SU3FY-00035F-5b for ietf-http-wg-dist@listhub.w3.org; Mon, 14 May 2012 21:56:16 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SU3FP-000346-Im for ietf-http-wg@listhub.w3.org; Mon, 14 May 2012 21:56:07 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1SU3FM-0002I1-70 for ietf-http-wg@w3.org; Mon, 14 May 2012 21:56:05 +0000
Received: (qmail invoked by alias); 14 May 2012 21:55:37 -0000
Received: from p5DD978E6.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.120.230] by mail.gmx.net (mp027) with SMTP; 14 May 2012 23:55:37 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX199W2ozzI19BxHREAUKHB8enuJourPtEPsVCQ6wQq 8ru2LiJ0JYPxzH
Message-ID: <4FB17F56.2020609@gmx.de>
Date: Mon, 14 May 2012 23:55:34 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Willy Tarreau <w@1wt.eu>
CC: John Sullivan <jsullivan@velocix.com>, Andreas Petersson <andreas@sbin.se>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <4FA02AEA.1080407@isode.com> <0A15D230-F8D2-498F-894B-86A3C987C456@mnot.net> <aae9c9339c5d775b57e0371b609b9334@treenet.co.nz> <20120504113403.5a65e4ff@hetzer> <4FA5D74A.4020900@treenet.co.nz> <20120506055104.GB8105@1wt.eu> <20120514135554.551063c0@hetzer> <20120514123746.GJ1694@1wt.eu> <4FB10696.5040508@velocix.com> <20120514214840.GM1694@1wt.eu>
In-Reply-To: <20120514214840.GM1694@1wt.eu>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SU3FM-0002I1-70 80264fd4bf6793d7035884f6ca909b92
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC: draft-ietf-appsawg-http-forwarded-02.txt - section 5.1
Archived-At: <http://www.w3.org/mid/4FB17F56.2020609@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13541
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>
Resent-Message-Id: <E1SU3FY-00035F-5b@frink.w3.org>
Resent-Date: Mon, 14 May 2012 21:56:16 +0000

On 2012-05-14 23:48, Willy Tarreau wrote:
> ...
> OK in theory but in practice I'm fairly sure we'll see IPv6 addresses
> sent unquoted because a number of implementations will not have noticed
> they became mandatory. That's why sometimes widening a character set to
> better fit what it is supposed to represent makes a lot of sense. This
> can even be done by slightly extending the grammar :
>
>     Forwarded-v = 1#( token "=" ( ipv4 / ipv6 / token / quoted-string ) *( ";" ... ) )
> ...

The downside is that you can't use an off-the-shelf parser component, 
which I believe is a pretty big downside.

The HTTP community has been inventing new microsyntaxes for many years, 
and as far as I can tell, most header field parsers out there are broken 
beyond belief. We need less of them, even if this means that a few edge 
cases will be more verbose than necessary.

Best regards, Julian