#442: p1: BWS
Mark Nottingham <mnot@mnot.net> Fri, 19 April 2013 11:47 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 4475D21F958D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 Apr 2013 04:47:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.949
X-Spam-Level:
X-Spam-Status: No, score=-9.949 tagged_above=-999 required=5 tests=[AWL=0.650, 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 x7GXncM42nzA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 19 Apr 2013 04:47:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7FD5B21F958A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 19 Apr 2013 04:47:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UT9mo-0000yI-0J for ietf-http-wg-dist@listhub.w3.org; Fri, 19 Apr 2013 11:47:26 +0000
Resent-Date: Fri, 19 Apr 2013 11:47:26 +0000
Resent-Message-Id: <E1UT9mo-0000yI-0J@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1UT9ml-0000xd-CY for ietf-http-wg@listhub.w3.org; Fri, 19 Apr 2013 11:47:23 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1UT9mk-0002vX-DA for ietf-http-wg@w3.org; Fri, 19 Apr 2013 11:47:23 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.210.200]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id A987122E255 for <ietf-http-wg@w3.org>; Fri, 19 Apr 2013 07:47:00 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <DB8598D0-7AD8-4A90-806B-E4C7B65118D7@mnot.net>
Date: Fri, 19 Apr 2013 21:46:57 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <2C4151BE-A4A9-42F2-9970-4A0FDFAA6547@mnot.net>
References: <DB8598D0-7AD8-4A90-806B-E4C7B65118D7@mnot.net>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1503)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-3.373, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UT9mk-0002vX-DA 8b83b874be3015c19a2327c663fc29a4
X-Original-To: ietf-http-wg@w3.org
Subject: #442: p1: BWS
Archived-At: <http://www.w3.org/mid/2C4151BE-A4A9-42F2-9970-4A0FDFAA6547@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17361
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>
Tracking this in: http://trac.tools.ietf.org/wg/httpbis/trac/ticket/442 On 18/04/2013, at 11:18 AM, Mark Nottingham <mnot@mnot.net> wrote: > p1 3.2.3 says: > >> BWS is used where the grammar allows optional whitespace, for >> historical reasons, but senders SHOULD NOT generate it in messages; >> recipients MUST accept such bad optional whitespace and remove it >> before interpreting the field value or forwarding the message >> downstream. > > http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-22#section-3.2.3 > > Throughout our specs, BWS is used at the end of header fields: > header-field = field-name ":" OWS field-value BWS > > and in transfer-codings: > transfer-parameter = attribute BWS "=" BWS value > > and in Expect headers: > expectation = expect-name [ BWS "=" BWS expect-value] > *( OWS ";" [ OWS expect-param ] ) > expect-param = expect-name [ BWS "=" BWS expect-value ] > > and, finally, in auth-params on challenges and credentials: > auth-param = token BWS "=" BWS ( token / quoted-string ) > > Is this whitespace really "bad" enough to MUST-require that intermediaries (including load balancers and other hardware!) remove it before forwarding the message? > > Cheers, > > -- > Mark Nottingham http://www.mnot.net/ > > > > -- Mark Nottingham http://www.mnot.net/
- p1: BWS Mark Nottingham
- Re: p1: BWS Amos Jeffries
- Re: p1: BWS Willy Tarreau
- Re: p1: BWS Julian Reschke
- Re: p1: BWS Mark Nottingham
- Re: p1: BWS Mark Nottingham
- Re: p1: BWS Roberto Peon
- Re: p1: BWS Willy Tarreau
- Re: p1: BWS Roberto Peon
- Re: p1: BWS Julian Reschke
- Re: p1: BWS Mark Nottingham
- #442: p1: BWS Mark Nottingham
- Re: p1: BWS Julian Reschke
- Re: p1: BWS Amos Jeffries
- Re: p1: BWS Mark Nottingham