Re: trailers and pseudo-headers

"Poul-Henning Kamp" <phk@phk.freebsd.dk> Wed, 02 July 2014 09: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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 590001B27E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 2 Jul 2014 02:58:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.553
X-Spam-Level:
X-Spam-Status: No, score=-7.553 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.651, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] 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 pz296Ku1A8tj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 2 Jul 2014 02:58:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 300BB1B27E0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 2 Jul 2014 02:58:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1X2HHd-0006Bi-1i for ietf-http-wg-dist@listhub.w3.org; Wed, 02 Jul 2014 09:56:57 +0000
Resent-Date: Wed, 02 Jul 2014 09:56:57 +0000
Resent-Message-Id: <E1X2HHd-0006Bi-1i@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1X2HHU-00069S-UO for ietf-http-wg@listhub.w3.org; Wed, 02 Jul 2014 09:56:48 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1X2HHT-00027Z-RH for ietf-http-wg@w3.org; Wed, 02 Jul 2014 09:56:48 +0000
Received: from critter.freebsd.dk (unknown [192.168.60.3]) by phk.freebsd.dk (Postfix) with ESMTP id D4DB81598; Wed, 2 Jul 2014 09:56:25 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.9/8.14.9) with ESMTP id s629uOV0020860; Wed, 2 Jul 2014 09:56:24 GMT (envelope-from phk@phk.freebsd.dk)
To: "Eric J. Bowman" <eric@bisonsystems.net>
cc: Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
In-reply-to: <20140702034611.2dd18217cd132f02ab3bf24f@bisonsystems.net>
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
References: <53B3A631.80907@gmx.de> <0A3A3665-FEBD-467D-857A-6D1E61C83056@mnot.net> <53B3AD3A.8020307@gmx.de> <19984.1404286540@critter.freebsd.dk> <53B3B835.80807@gmx.de> <20154.1404288175@critter.freebsd.dk> <53B3BF49.9030207@gmx.de> <20291.1404289079@critter.freebsd.dk> <20140702034611.2dd18217cd132f02ab3bf24f@bisonsystems.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <20858.1404294984.1@critter.freebsd.dk>
Content-Transfer-Encoding: quoted-printable
Date: Wed, 02 Jul 2014 09:56:24 +0000
Message-ID: <20859.1404294984@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=-3.4
X-W3C-Hub-Spam-Report: AWL=-3.407, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1X2HHT-00027Z-RH 87626899f0ee03c8ed93ba0fa150701c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: trailers and pseudo-headers
Archived-At: <http://www.w3.org/mid/20859.1404294984@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/25101
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 <20140702034611.2dd18217cd132f02ab3bf24f@bisonsystems.net>, "Eric J. Bowman" writes:
>"Poul-Henning Kamp" wrote:
>>
>> >Hm? That would imply buffering all responses before displaying them?
>> 
>> Exactly...  :status must be final and definitive before the client
>> can decide how to present or process the body.
>
>I'm not sure how to interpret your position here PHK, but this would be
>a major step backwards for the Web.

My position is that :status can *never* go into trailers (which I think
should be unsupported btw.)

HTTP/1 has always worked this way:  The first thing the server tells
you is the status code, and there is no way it can change that
subsequently:  Once you've seen 200, 301, 404 or 502, you know what
use the object body can be to you and dispatch accordingly.

-- 
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.