Re: draft-ietf-httpbis-jfv: what's next

"Poul-Henning Kamp" <phk@phk.freebsd.dk> Mon, 17 October 2016 20:58 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BB891299A9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 17 Oct 2016 13:58:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.332
X-Spam-Level:
X-Spam-Status: No, score=-7.332 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.431, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 QKTlgkcsscxG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 17 Oct 2016 13:58:27 -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 D732F1299A2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 17 Oct 2016 13:58:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bwEv8-0004K1-46 for ietf-http-wg-dist@listhub.w3.org; Mon, 17 Oct 2016 20:54:06 +0000
Resent-Date: Mon, 17 Oct 2016 20:54:06 +0000
Resent-Message-Id: <E1bwEv8-0004K1-46@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <phk@phk.freebsd.dk>) id 1bwEv4-0004Ij-HT for ietf-http-wg@listhub.w3.org; Mon, 17 Oct 2016 20:54:02 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.80) (envelope-from <phk@phk.freebsd.dk>) id 1bwEv1-0002tN-O4 for ietf-http-wg@w3.org; Mon, 17 Oct 2016 20:54:02 +0000
Received: from critter.freebsd.dk (unknown [192.168.55.3]) by phk.freebsd.dk (Postfix) with ESMTP id DE18727365; Mon, 17 Oct 2016 20:53:37 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.15.2/8.15.2) with ESMTP id u9HKrb07048286; Mon, 17 Oct 2016 20:53:37 GMT (envelope-from phk@phk.freebsd.dk)
To: Matt Menke <mmenke@google.com>
cc: HTTP working group mailing list <ietf-http-wg@w3.org>
In-reply-to: <CAEK7mvomoxSqTs5APVj=ZzG2wDz24PhJtsSibGQq2oGkv-zcLg@mail.gmail.com>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <CAEK7mvoXqyX3cADJytjU+C158EULgPLbzAb5kiUN=8WWxhi29Q@mail.gmail.com> <78301.1476524467@critter.freebsd.dk> <CAEK7mvomoxSqTs5APVj=ZzG2wDz24PhJtsSibGQq2oGkv-zcLg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <48284.1476737617.1@critter.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Date: Mon, 17 Oct 2016 20:53:37 +0000
Message-ID: <48285.1476737617@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-5.5
X-W3C-Hub-Spam-Report: AWL=-1.293, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.31, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1bwEv1-0002tN-O4 a4d29db81e78089848b4c23ec36740b0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-jfv: what's next
Archived-At: <http://www.w3.org/mid/48285.1476737617@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/32615
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>

--------
In message <CAEK7mvomoxSqTs5APVj=ZzG2wDz24PhJtsSibGQq2oGkv-zcLg@mail.gmail.com>
, Matt Menke writes:

>> I'm uncomfortable with a rule which says "just ignore", so I would
>> propose that failure to parse a the CS level should cause a 4xx
>> error, just like an ascii BEL in a HTTP1 header would.
>>
>> But please note that this is only at the CS level, how valid CS
>> which is semantically invalid (ie: "Content-Length: ABCD") should
>> be handled is outside the scope of this ID.  I'm not even sure
>> we can give a meaningful "default" rule.
>
>I don't think we want a 4xx error - with HTTP status error codes, browsers
>display the page contents of the error page, set cookies if needed, etc.  I
>think we'd want a hard failure here, more along what we do if we can't
>establish a network connection.

It's not clear to me what you consider a "hard failure" here ?

In my world this would be 400 like semantics, which I would consider
a "hard failure" ?


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.