Re: [Technical Errata Reported] RFC7230 (4189)
Willy Tarreau <w@1wt.eu> Wed, 22 April 2015 04:36 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 653E41A8868 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Apr 2015 21:36:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 pWw-LU3nHwX7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 21 Apr 2015 21:36:09 -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 99D251A8892 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 21 Apr 2015 21:36:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1YkmKb-0002Pk-JZ for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Apr 2015 04:32:13 +0000
Resent-Date: Wed, 22 Apr 2015 04:32:13 +0000
Resent-Message-Id: <E1YkmKb-0002Pk-JZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <w@1wt.eu>) id 1YkmKU-0002Ou-PO for ietf-http-wg@listhub.w3.org; Wed, 22 Apr 2015 04:32:06 +0000
Received: from wtarreau.pck.nerim.net ([62.212.114.60] helo=1wt.eu) by lisa.w3.org with esmtp (Exim 4.80) (envelope-from <w@1wt.eu>) id 1YkmKT-0003dX-On for ietf-http-wg@w3.org; Wed, 22 Apr 2015 04:32:06 +0000
Received: (from willy@localhost) by pcw.home.local (8.14.3/8.14.3/Submit) id t3M4VPHt023775; Wed, 22 Apr 2015 06:31:25 +0200
Date: Wed, 22 Apr 2015 06:31:25 +0200
From: Willy Tarreau <w@1wt.eu>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, "Roy T. Fielding" <fielding@gbiv.com>, Barry Leiba <barryleiba@computer.org>, RFC Errata System <rfc-editor@rfc-editor.org>, Pete Resnick <presnick@qti.qualcomm.com>, Mark Nottingham <mnot@mnot.net>, Simon Schüppel <simon.schueppel@googlemail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <20150422043125.GC23762@1wt.eu>
References: <20141126195639.B3D5C181CE7@rfc-editor.org> <5476D0BC.70905@greenbytes.de> <CALaySJJh-9w2mnT9fV9dxaOJ_Tq=ipvV7nbNbEqY+g_6ppJjTg@mail.gmail.com> <723A86CD-6369-4A8A-B277-CBDA4439DCE9@gbiv.com> <55364CFE.1000007@gmx.de> <CACuKZqEUtPmph1QFgS8HAOvnxtpYm7eBNra9TwCCrOuNy0xGTg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CACuKZqEUtPmph1QFgS8HAOvnxtpYm7eBNra9TwCCrOuNy0xGTg@mail.gmail.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=-4.0
X-W3C-Hub-Spam-Report: AWL=-2.023, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1YkmKT-0003dX-On 848b6c22b29afdf0ec7cd24937869609
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC7230 (4189)
Archived-At: <http://www.w3.org/mid/20150422043125.GC23762@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29368
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>
On Tue, Apr 21, 2015 at 10:24:47AM -0500, Zhong Yu wrote: > Another question about obs-fold before we proceed with the formal > definitions. Consider the following example > > foo: bar<CRLF> > <SP><CRLF> > ... > > It won't be surprising if some parser mistakes the 2nd line as an > "empty line" that terminates the headers. Visually it *is* an empty > line. > > In spirit, obs-fold should be followed by visible chars, otherwise > it's very confusing and problematic. I disagree, a parser doesn't "see" characters, it consumes them. Here you have a space after a CRLF, so it's a continuation of a folded header, that's as simple as that. And it's important that it's properly defined so that it's not abused by senders trying to put parsers in a situation which is not well defined. > RFC 822 $3.2 appears to suggest the same thing, that obs-fold can only > appear between two non-empty segments. And what is the parser supposed to do if it receives something which does not match this rule ? That's always the problem when adding exceptions to well-defined rules, it requires more work on the recipient side to properly handle the situation. In short, it *adds* more risks of confusion. Regards, Willy
- [Technical Errata Reported] RFC7230 (4189) RFC Errata System
- Re: [Technical Errata Reported] RFC7230 (4189) Julian Reschke
- Re: [Technical Errata Reported] RFC7230 (4189) Zhong Yu
- Re: [Technical Errata Reported] RFC7230 (4189) Barry Leiba
- Re: [Technical Errata Reported] RFC7230 (4189) Roy T. Fielding
- Re: [Technical Errata Reported] RFC7230 (4189) Barry Leiba
- Re: [Technical Errata Reported] RFC7230 (4189) Zhong Yu
- Re: [Technical Errata Reported] RFC7230 (4189) Barry Leiba
- Re: [Technical Errata Reported] RFC7230 (4189) Julian Reschke
- Re: [Technical Errata Reported] RFC7230 (4189) Julian Reschke
- Re: [Technical Errata Reported] RFC7230 (4189) Julian Reschke
- Re: [Technical Errata Reported] RFC7230 (4189) Amos Jeffries
- Re: [Technical Errata Reported] RFC7230 (4189) Zhong Yu
- Re: [Technical Errata Reported] RFC7230 (4189) Zhong Yu
- Re: [Technical Errata Reported] RFC7230 (4189) Willy Tarreau
- Re: [Technical Errata Reported] RFC7230 (4189) Zhong Yu
- Re: [Technical Errata Reported] RFC7230 (4189) Barry Leiba
- [Errata Held for Document Update] RFC7230 (4189) RFC Errata System
- Re: [Technical Errata Reported] RFC7230 (4189) Willy Tarreau
- Re: [Technical Errata Reported] RFC7230 (4189) Walter H.
- Re: [Technical Errata Reported] RFC7230 (4189) Julian Reschke