Re: 1xx response semantics

Bjoern Hoehrmann <derhoermi@gmx.net> Mon, 04 July 2011 23:52 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 911FB21F87D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 Jul 2011 16:52:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.266
X-Spam-Level:
X-Spam-Status: No, score=-7.266 tagged_above=-999 required=5 tests=[AWL=3.333, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rYuNHTieBEKS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 Jul 2011 16:52:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A60C921F87D7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 4 Jul 2011 16:52:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1QdsvJ-0001eD-5z for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jul 2011 23:51:29 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <derhoermi@gmx.net>) id 1Qdsv7-0001dK-NI for ietf-http-wg@listhub.w3.org; Mon, 04 Jul 2011 23:51:17 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1Qdsv6-0002GA-7a for ietf-http-wg@w3.org; Mon, 04 Jul 2011 23:51:17 +0000
Received: (qmail invoked by alias); 04 Jul 2011 23:50:49 -0000
Received: from dslb-094-223-185-199.pools.arcor-ip.net (EHLO HIVE) [94.223.185.199] by mail.gmx.net (mp029) with SMTP; 05 Jul 2011 01:50:49 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX18IuT8ZTGIIxRt7swk/O88GwPZGIGlBecgziFQnou 6Xjyb9W1sDyFht
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Mark Nottingham <mnot@mnot.net>
Cc: httpbis Group <ietf-http-wg@w3.org>
Date: Tue, 05 Jul 2011 01:50:57 +0200
Message-ID: <g4k417lg7j4qkpbdiihl1g45st4v2kc35i@hive.bjoern.hoehrmann.de>
References: <713362A0-3316-4B4C-B154-581CB32B8A9B@mnot.net>
In-Reply-To: <713362A0-3316-4B4C-B154-581CB32B8A9B@mnot.net>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=derhoermi@gmx.net; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Qdsv6-0002GA-7a 97a699db862a714122a92e410f0e3d65
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 1xx response semantics
Archived-At: <http://www.w3.org/mid/g4k417lg7j4qkpbdiihl1g45st4v2kc35i@hive.bjoern.hoehrmann.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/10881
X-Loop: ietf-http-wg@w3.org
Sender: ietf-http-wg-request@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>
Resent-Message-Id: <E1QdsvJ-0001eD-5z@frink.w3.org>
Resent-Date: Mon, 04 Jul 2011 23:51:29 +0000

* Mark Nottingham wrote:
>One (of many) of the issues with 1xx responses is that people don't know
>how to surface two responses to one request in APIs and tools. 
>
>I think we could make things a bit easier for folks if we stated that
>the headers in a 1xx response are semantically not significant; i.e.,
>it's OK for APIs, etc. to drop them on the floor, because the only
>information is in the status code.
>
>This would mean that people shouldn't put headers on a 1xx response and
>expect applications to see them -- which I think is already the case
>today.

The WebSocket protocol as currently proposed makes use of headers in the
101 Switching Protocols response and I suspect "Sec-WebSocket-Protocol"
will end up with the application somehow, but I haven't looked lately. I
also note that with protocol switches, you don't get two responses, just
the one and after that it's no longer HTTP, so maybe they can be special
under such a rule.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/