HEADERS in idle

Martin Thomson <martin.thomson@gmail.com> Thu, 26 March 2015 19:32 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 6D5921B2B17 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Mar 2015 12:32:01 -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 VX98EJlf5dzi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 26 Mar 2015 12:31:59 -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 E90191B29F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 26 Mar 2015 12:31:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1YbDRo-00027Q-C1 for ietf-http-wg-dist@listhub.w3.org; Thu, 26 Mar 2015 19:28:08 +0000
Resent-Date: Thu, 26 Mar 2015 19:28:08 +0000
Resent-Message-Id: <E1YbDRo-00027Q-C1@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1YbDRd-00025O-Vf for ietf-http-wg@listhub.w3.org; Thu, 26 Mar 2015 19:27:57 +0000
Received: from mail-oi0-f43.google.com ([209.85.218.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1YbDRS-0004mN-V0 for ietf-http-wg@w3.org; Thu, 26 Mar 2015 19:27:57 +0000
Received: by oigz129 with SMTP id z129so13420596oig.1 for <ietf-http-wg@w3.org>; Thu, 26 Mar 2015 12:27:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=lsVE/L1f5UWXGnwdV7MOmyq0ibCO+IrpOQJjhNEK1kQ=; b=CyJPA4jueZvTvlP+F5QFBfVP1Q0tA+fOuAwRsaCXKx23rc/6zfJDZzz0o3jyzHp4Wp h0J/DICFNJ8nCIGEOMgIVkjykz14G9E+9/Onvv3I+U1CGkoLHAl5v9JIkj9FK6M55aoE nAeYEAUG4ufsiRGZizoFtm64AhrN2Dd5whDv1+2vYyGjH3ZULGeFrtCeSANw2Vx3zxsR D10xdb8lUtMnRJtrXSppSrB3Myt3lk7G9goM1V2YXGa2p7lHlG/QO6/8ci/QBm24tafH MmpDaczBtzYL0UsjQvMR0qHB+jiHcmn8wIzp7Z1X5b2fzntt+rm+1KuGZbAlTUvUulRC 9RVA==
MIME-Version: 1.0
X-Received: by 10.182.39.195 with SMTP id r3mr13468666obk.44.1427398040989; Thu, 26 Mar 2015 12:27:20 -0700 (PDT)
Received: by 10.202.48.151 with HTTP; Thu, 26 Mar 2015 12:27:20 -0700 (PDT)
Date: Thu, 26 Mar 2015 14:27:20 -0500
Message-ID: <CABkgnnViFwTFws1jpf3mCU_6dGGO=pnLvFktf_NXrumeyZhY8g@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.218.43; envelope-from=martin.thomson@gmail.com; helo=mail-oi0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: AWL=0.897, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1YbDRS-0004mN-V0 a025d11f54fabfedd2f42b66f4966897
X-Original-To: ietf-http-wg@w3.org
Subject: HEADERS in idle
Archived-At: <http://www.w3.org/mid/CABkgnnViFwTFws1jpf3mCU_6dGGO=pnLvFktf_NXrumeyZhY8g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/29028
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>

https://github.com/http2/http2-spec/pull/734/files

I am going to propose this to the RFC editor during AUTH-48.  i.e., very soon.

This fixes what is a pretty silly bug:, namely that sending HEADERS
was disallowed in the "idle" or "reserved (local)" states by the
original text.  Clearly, you have to be able to send HEADERS in that
state to actually cause the stream to open.

Thanks to @daurminator for identifying the problem and Hervé for
noticing that I missed the push case.