RE: trailers and pseudo-headers

<K.Morgan@iaea.org> Wed, 02 July 2014 13:38 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 6F3BA1A00E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 2 Jul 2014 06:38:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.552
X-Spam-Level:
X-Spam-Status: No, score=-7.552 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, 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 P5EhPtEXfR8D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 2 Jul 2014 06:38:05 -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 6EC8E1A00C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 2 Jul 2014 06:38:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1X2Kgw-0000tO-19 for ietf-http-wg-dist@listhub.w3.org; Wed, 02 Jul 2014 13:35:18 +0000
Resent-Date: Wed, 02 Jul 2014 13:35:18 +0000
Resent-Message-Id: <E1X2Kgw-0000tO-19@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <K.Morgan@iaea.org>) id 1X2Kgm-0000sY-G3 for ietf-http-wg@listhub.w3.org; Wed, 02 Jul 2014 13:35:08 +0000
Received: from vs-m201.iaea.org ([161.5.6.178]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <K.Morgan@iaea.org>) id 1X2Kgh-0007k5-JF for ietf-http-wg@w3.org; Wed, 02 Jul 2014 13:35:08 +0000
Received: from vs-m1.iaea.org (vs-mail1.iaea.org [172.24.1.26]) by vs-m201.iaea.org (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id s62DYRdC028549; Wed, 2 Jul 2014 15:34:29 +0200
Received: from E1.iaea.org (e1.iaea.org [172.24.0.41]) by vs-m1.iaea.org (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id s62DYQQj000667; Wed, 2 Jul 2014 15:34:27 +0200
X-Envelope-Sender: K.Morgan@iaea.org
Received: from SEM001PD.sg.iaea.org (161.5.105.92) by E1.iaea.org (172.24.0.41) with Microsoft SMTP Server (TLS) id 14.1.438.0; Wed, 2 Jul 2014 15:34:25 +0200
Received: from SEM002PD.sg.iaea.org ([169.254.2.20]) by sem001pd.sg.iaea.org ([161.5.105.94]) with mapi id 14.01.0438.000; Wed, 2 Jul 2014 15:34:26 +0200
From: K.Morgan@iaea.org
To: julian.reschke@gmx.de, phk@phk.freebsd.dk
CC: msweet@apple.com, mnot@mnot.net, ietf-http-wg@w3.org
Thread-Topic: trailers and pseudo-headers
Thread-Index: AQHPlb/06an3SpyJ40ewAQ3AvZ9nnZuMNnkAgAACIgCAAArQAIAAAkeAgAA6W4CAAA55gIAAAWIAgAAEaACAADMygA==
Date: Wed, 02 Jul 2014 13:34:24 +0000
Message-ID: <0356EBBE092D394F9291DA01E8D28EC2011870478D@sem002pd>
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> <E6C630F0-92C4-4B42-8133-7C2D7745440B@apple.com> <53B3F54D.6070009@gmx.de> <21751.1404302966@critter.freebsd.dk> <53B3FA28.7000002@gmx.de>
In-Reply-To: <53B3FA28.7000002@gmx.de>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [161.5.105.94]
Content-Type: multipart/alternative; boundary="_000_0356EBBE092D394F9291DA01E8D28EC2011870478Dsem002pd_"
MIME-Version: 1.0
X-TM-AS-Product-Ver: SMEX-10.0.0.1412-7.000.1014-20792.007
X-TM-AS-Result: No-1.155300-0.000000-31
X-TM-AS-User-Approved-Sender: Yes
X-TM-AS-User-Blocked-Sender: No
X-KLMS-Rule-ID: 1
X-KLMS-Message-Action: clean
X-KLMS-AntiSpam-Status: not scanned, disabled by settings
X-KLMS-AntiPhishing: Clean, 2014/07/02 10:00:39
X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.705, bases: 2014/07/02 06:05:00 #8264995; khse: 2014-03-12 13:55:01
X-KLMS-AntiVirus-Status: Clean, skipped
X-Scanned-By: MIMEDefang 2.73
Received-SPF: permerror client-ip=161.5.6.178; envelope-from=K.Morgan@iaea.org; helo=vs-m201.iaea.org
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: AWL=-2.273, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1X2Kgh-0007k5-JF 6760f9411eed032224b3df7db6caeb80
X-Original-To: ietf-http-wg@w3.org
Subject: RE: trailers and pseudo-headers
Archived-At: <http://www.w3.org/mid/0356EBBE092D394F9291DA01E8D28EC2011870478D@sem002pd>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/25138
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>

>>>There are many cases where a server would say "200", and then start a

>>>complicated process that might fail half-way. In HTTP/1.1, signalling

>>>an error in this situation is hard (abort the chunked transfer or close

>>>the connection). It would be good if HTTP/2 can do better here.



I agree.



>> I thought that was what RST_STREAM was for ?

>

> Well, yes, we can say "something went wrong", but that's all.



Technically you can "say" 12 different "wrongs" with the error codes [1] (and one "no wrong").



Why not have an optional error message like the "additional debug data" in GOAWAY?



e.g.



  0                   1                   2                   3

  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

|                        Error Code (32)                        |

+---------------------------------------------------------------+

|                  Additional Error Data (*)                    |

+---------------------------------------------------------------+





[1] http://http2.github.io/http2-spec/#ErrorCodes





This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system.