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

Willy Tarreau <w@1wt.eu> Tue, 15 May 2012 12:35 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 B6D8921F8979 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 15 May 2012 05:35:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.072
X-Spam-Level:
X-Spam-Status: No, score=-10.072 tagged_above=-999 required=5 tests=[AWL=0.527, 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 6oOER8d44hoX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 15 May 2012 05:35:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 68FE321F8976 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 15 May 2012 05:35:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SUGvu-0007qc-1J for ietf-http-wg-dist@listhub.w3.org; Tue, 15 May 2012 12:32:54 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1SUGvj-0007o2-SI for ietf-http-wg@listhub.w3.org; Tue, 15 May 2012 12:32:43 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SUGvb-0005ph-Qc for ietf-http-wg@w3.org; Tue, 15 May 2012 12:32:41 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q4FCUDvY011109; Tue, 15 May 2012 14:30:13 +0200
Date: Tue, 15 May 2012 14:30:13 +0200
From: Willy Tarreau <w@1wt.eu>
To: John Sullivan <jsullivan@velocix.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Andreas Petersson <andreas@sbin.se>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20120515123013.GC9796@1wt.eu>
References: <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> <4FB17F56.2020609@gmx.de> <4FB23AB6.4070701@velocix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <4FB23AB6.4070701@velocix.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SUGvb-0005ph-Qc df92d5e47df1198e9387cf7523b07d88
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/20120515123013.GC9796@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13545
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: <E1SUGvu-0007qc-1J@frink.w3.org>
Resent-Date: Tue, 15 May 2012 12:32:54 +0000

On Tue, May 15, 2012 at 12:15:02PM +0100, John Sullivan wrote:
> Julian Reschke wrote:
> > 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.
> 
> This. Each new syntax risks getting it wrong (even if in this case
> it ought to be fairly safe) - just look at the horrible horrible
> mess that is the history of Set-Cookie.
> 
> In addition to the headers I pointed out yesterday that use
> close variations on the theme, the definition of Expect appears
> to be almost *exactly* this syntax - except that it makes the
> value part ( "=" ( token / quoted-string ) ) optional. This allows
> for the sending of value-less flags without having to use the
> somewhat grotty flag="" construct. Perhaps adopting that syntax
> verbatim would be a good idea?

I too think so, it can be useful for boolean attributes (eg: 'secure'
instead of 'secure="yes"' or things like this).
 
Regards,
Willy