Re: HTTP/2 Upgrade with content?

"Jason T. Greene" <jason.greene@redhat.com> Fri, 13 March 2015 13:14 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ietf.org@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 6BACC1A1B48 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Mar 2015 06:14:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.912
X-Spam-Level:
X-Spam-Status: No, score=-6.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 CI0fHNuygnuC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 13 Mar 2015 06:14:00 -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 E92651A1B0D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 13 Mar 2015 06:13:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1YWPLm-0007iD-1S for ietf-http-wg-dist@listhub.w3.org; Fri, 13 Mar 2015 13:10:02 +0000
Resent-Date: Fri, 13 Mar 2015 13:10:02 +0000
Resent-Message-Id: <E1YWPLm-0007iD-1S@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.80) (envelope-from <jgreene@redhat.com>) id 1YWPLe-0007OJ-Hz for ietf-http-wg@listhub.w3.org; Fri, 13 Mar 2015 13:09:54 +0000
Received: from mx3-phx2.redhat.com ([209.132.183.24]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <jgreene@redhat.com>) id 1YWPLc-0005tO-Gu for ietf-http-wg@w3.org; Fri, 13 Mar 2015 13:09:54 +0000
Received: from zmail15.collab.prod.int.phx2.redhat.com (zmail15.collab.prod.int.phx2.redhat.com [10.5.83.17]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id t2DD9Ddg003098; Fri, 13 Mar 2015 09:09:13 -0400
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
From: "Jason T. Greene" <jason.greene@redhat.com>
MIME-Version: 1.0
Message-Id: <6E036F2D-AED0-4323-ACCB-D8036168E6C1@redhat.com>
Date: Fri, 13 Mar 2015 09:09:12 -0400
References: <CAH_y2NF3iwND1ttQDY98KC_u=OZj5aqEABmXHKObMgqPH1npLg@mail.gmail.com> <BL2PR03MB1323474B977B051738AD09187060@BL2PR03MB132.namprd03.prod.outlook.com> <CAH_y2NFV=Z7hqbtWTdiePRwUnhhRjiP8R_Ua7kmpZEkwXtxgEA@mail.gmail.com> <B5C01B7A-9215-4268-B189-E6281F425BF7@greenbytes.de> <alpine.DEB.2.11.1503130833190.13706@tvnag.unkk.fr>
To: Daniel Stenberg <daniel@haxx.se>
In-Reply-To: <alpine.DEB.2.11.1503130833190.13706@tvnag.unkk.fr>
Cc: Stefan Eissing <stefan.eissing@greenbytes.de>, Greg Wilkins <gregw@intalio.com>, Mike Bishop <Michael.Bishop@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Zimbra 8.0.6_GA_5922 (MobileSync - Apple-iPhone7C1/1202.466)
Thread-Topic: HTTP/2 Upgrade with content?
Thread-Index: S1hC9+dWma+JWFrQOS1pfdjQpLch2g==
Received-SPF: pass client-ip=209.132.183.24; envelope-from=jgreene@redhat.com; helo=mx3-phx2.redhat.com
X-W3C-Hub-Spam-Status: No, score=-5.9
X-W3C-Hub-Spam-Report: AWL=-0.916, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001
X-W3C-Scan-Sig: lisa.w3.org 1YWPLc-0005tO-Gu 6abfa43f74871122b61e19fc5082d1cd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP/2 Upgrade with content?
Archived-At: <http://www.w3.org/mid/6E036F2D-AED0-4323-ACCB-D8036168E6C1@redhat.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/28960
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>

> On Mar 13, 2015, at 2:44 AM, Daniel Stenberg <daniel@haxx.se> wrote:
> 
> $ curl --http2 -d lotsofdata [URL]
> 
> which will make a POST with an Upgrade: h2c header and Expect: 100-continue.

Why not attempt a PRI with the explicit http2 option?