Re: p1: BWS

Mark Nottingham <mnot@mnot.net> Thu, 18 April 2013 22:58 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 A1E8621F892B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Apr 2013 15:58:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8
X-Spam-Level:
X-Spam-Status: No, score=-8 tagged_above=-999 required=5 tests=[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 aR2LMeg5Ii4g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Apr 2013 15:58:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D80D321F8842 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 18 Apr 2013 15:58:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1USxJ5-0004a0-M1 for ietf-http-wg-dist@listhub.w3.org; Thu, 18 Apr 2013 22:27:55 +0000
Resent-Date: Thu, 18 Apr 2013 22:27:55 +0000
Resent-Message-Id: <E1USxJ5-0004a0-M1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1USxJ0-0004ZE-KO for ietf-http-wg@listhub.w3.org; Thu, 18 Apr 2013 22:27:50 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1USxIz-00081O-NR for ietf-http-wg@w3.org; Thu, 18 Apr 2013 22:27:50 +0000
Received: from [192.168.1.80] (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 A4A3722E2CB; Thu, 18 Apr 2013 18:27:26 -0400 (EDT)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAP+FsNdrf-7h=8+68AirD8jJRvhBXf-1uxmXc_3R80418yW2uA@mail.gmail.com>
Date: Fri, 19 Apr 2013 08:27:21 +1000
Cc: Willy Tarreau <w@1wt.eu>, Amos Jeffries <squid3@treenet.co.nz>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D258E088-782D-4E16-976C-235F94520964@mnot.net>
References: <DB8598D0-7AD8-4A90-806B-E4C7B65118D7@mnot.net> <516F76CB.20406@treenet.co.nz> <20130418060211.GC13063@1wt.eu> <468FAE72-012D-43EB-A5A7-EAA137687F87@mnot.net> <CAP+FsNdrf-7h=8+68AirD8jJRvhBXf-1uxmXc_3R80418yW2uA@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
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.359, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1USxIz-00081O-NR b6387769071bd555566f38f4d58488c3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p1: BWS
Archived-At: <http://www.w3.org/mid/D258E088-782D-4E16-976C-235F94520964@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17350
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>

We can either:

- make it a MUST
- document what the exceptional circumstances are that cause the SHOULD (but I don't think it's that kind of SHOULD)
- downgrade it to an "ought to"

I do note that we say "generate" there (which I missed before, sorry); in our terminology, that means you DON'T need to fix it up when forwarding it; it's only when you're actually creating the element that this applies.

So, I'd suggest we make it a MUST, and change the language slightly to clarify:

"...but it MUST NOT be generated in messages..."

Also, in p2, I'd note that we do NOT allow BWS inside of media type parameters:
  https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#media.type

AIUI (thanks, Julian), this is because many implementations don't accept whitespace there at all. It might be worth noting in the text that this parameter construct is different in that aspect.

Cheers,


On 19/04/2013, at 8:17 AM, Roberto Peon <grmocg@gmail.com> wrote:

> As an implementer having written code to handle this, I don't see a lot of value in making it a MUST, when I'll need to have my servers handle it anyway, in the off-chance that the load-balancer is changed or is not there.
> It is really a nice-to-have kind of thing.
> -=R
> 
> 
> On Thu, Apr 18, 2013 at 5:25 AM, Mark Nottingham <mnot@mnot.net> wrote:
> 
> On 18/04/2013, at 4:02 PM, Willy Tarreau <w@1wt.eu> wrote:
> >
> > Agreed, but on the other hand, requiring that some intermediaries that do
> > not even use these fields to fix them can increase the risk of breaking
> > something between the client and the server. And since many of them will
> > not do it anyway, we'll end up with another MUST that is not respected,
> > so probably a SHOULD would be more appropriate ?
> 
> 
> A SHOULD is not a MUST that we sort-of mean. At least, that's not what we say, even if it is how we tend to use it sometimes (more feedback forthcoming).
> 
> Cheers,
> 
> --
> Mark Nottingham   http://www.mnot.net/
> 
> 
> 
> 
> 

--
Mark Nottingham   http://www.mnot.net/