Re: [Technical Errata Reported] RFC7230 (4189)

"Walter H." <Walter.H@mathemainzel.info> Wed, 22 April 2015 19:46 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 DAAB71B3896 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Apr 2015 12:46:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.012
X-Spam-Level:
X-Spam-Status: No, score=-7.012 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 adoaN52GXP_i for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 22 Apr 2015 12:46:30 -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 93E821B2A2C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 22 Apr 2015 12:46:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Yl0XI-0003cl-0v for ietf-http-wg-dist@listhub.w3.org; Wed, 22 Apr 2015 19:42:16 +0000
Resent-Date: Wed, 22 Apr 2015 19:42:16 +0000
Resent-Message-Id: <E1Yl0XI-0003cl-0v@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <Walter.H@mathemainzel.info>) id 1Yl0XB-0003bb-Qn for ietf-http-wg@listhub.w3.org; Wed, 22 Apr 2015 19:42:09 +0000
Received: from mx13lb.world4you.com ([81.19.149.123]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from <Walter.H@mathemainzel.info>) id 1Yl0XA-00060Q-79 for ietf-http-wg@w3.org; Wed, 22 Apr 2015 19:42:09 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mathemainzel.info; s=dkim11; h=Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=O7t1YeSkzoVArL9XYUbu6erN0mabnM0mJYIUAbdleb4=; b=xBAnM/jnb7FN/ZLG/4bA5CMDvQmEUgtzLJ51beM9OfYDVqciNJZ6P5twVdQgKMqBt1Ke1OuwnMdqwyC+9u3GEEuHoHm0+go+kwIVIVz61p8mx1r6/6Pv4ogLeeBQ9LFknDvOw/TKv664TJibJQNSQQUc5tHaYIXVIiMNBSGIRyM=;
Received: from [90.146.128.86] (helo=outgoing.router) by mx13lb.world4you.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from <Walter.H@mathemainzel.info>) id 1Yl0Wm-00086O-7T; Wed, 22 Apr 2015 21:41:44 +0200
Received: <hidden>
Received: <hidden>
Received: <hidden>
Message-ID: <5537F977.2080108@mathemainzel.info>
Date: Wed, 22 Apr 2015 21:41:43 +0200
From: "Walter H." <Walter.H@mathemainzel.info>
Organization: Home
X-Mailer: Mozilla/5.0 (UNIX; U; Cray X-MP/48; en-US; rv:2.70) Gecko/20110929 Communicator/7.20
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
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> <20150422043125.GC23762@1wt.eu> <CACuKZqGWi5A_nGxU2L+T3rZGEM6yx5XzwUtP=r2qQ128jkHkCQ@mail.gmail.com>
In-Reply-To: <CACuKZqGWi5A_nGxU2L+T3rZGEM6yx5XzwUtP=r2qQ128jkHkCQ@mail.gmail.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="------------ms050205050207010302050205"
X-SA-Do-Not-Run: Yes
X-AV-Do-Run: Yes
X-SA-Exim-Connect-IP: 90.146.128.86
X-SA-Exim-Mail-From: Walter.H@mathemainzel.info
X-SA-Exim-Scanned: No (on mx13lb.world4you.com); SAEximRunCond expanded to false
Received-SPF: pass client-ip=81.19.149.123; envelope-from=Walter.H@mathemainzel.info; helo=mx13lb.world4you.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: AWL=-3.638, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, W3C_NW=1
X-W3C-Scan-Sig: lisa.w3.org 1Yl0XA-00060Q-79 f74767a0d4a9f3065398c22c7efde13f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [Technical Errata Reported] RFC7230 (4189)
Archived-At: <http://www.w3.org/mid/5537F977.2080108@mathemainzel.info>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29373
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 22.04.2015 15:55, Zhong Yu wrote:
> Out of curiosity, I constructed the following response, and tested on
> 5 major browsers
>
> HTTP/1.1 200 OK\r\n
> Connection: close\r\n
> Content-Type: text/plain;charset=UTF-8\r\n
> <SP>\r\n
> Server: test-folding\r\n
> \r\n
> 123456789
>
> IE displays the response as
>
> Server: test-folding\r\n
> \r\n
> 123456789
>
> That doesn't seem right.
>
always think of what is expected;
maybe the browser (in this case IE) expected nothing, because the
HTTP reply header

HTTP/1.1 200 OK\r\n
Connection: close\r\n
Content-Type: text/plain;charset=UTF-8\r\n
\r\n

would be a complete header;

try different browsers by sending just this "mistake" reply

HTTP/1.1 200 OK\r\n
<SP>\r\n
Connection: close\r\n
Content-Type: text/plain;charset=UTF-8\r\n
Server: test-folding\r\n
\r\n
123456789

I'd say just this HTTP reply header

HTTP/1.1 200 OK\r\n\r\n

is not complete ...