HTTP Priority - proposal to support headers and frames

Lucas Pardue <lucaspardue.24.7@gmail.com> Mon, 04 May 2020 16:06 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 (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D43A43A0BF6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 May 2020 09:06:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.751
X-Spam-Level:
X-Spam-Status: No, score=-2.751 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 fV-sTMAXdyZe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 4 May 2020 09:06:47 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 52FAE3A0BEE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 4 May 2020 09:06:46 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1jVdYh-00077k-EN for ietf-http-wg-dist@listhub.w3.org; Mon, 04 May 2020 16:03:08 +0000
Resent-Date: Mon, 04 May 2020 16:03:07 +0000
Resent-Message-Id: <E1jVdYh-00077k-EN@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <lucaspardue.24.7@gmail.com>) id 1jVdYe-0006ud-Bd for ietf-http-wg@listhub.w3.org; Mon, 04 May 2020 16:03:04 +0000
Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by mimas.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from <lucaspardue.24.7@gmail.com>) id 1jVdYc-0001RI-8S for ietf-http-wg@w3.org; Mon, 04 May 2020 16:03:04 +0000
Received: by mail-wr1-x430.google.com with SMTP id d15so21623169wrx.3 for <ietf-http-wg@w3.org>; Mon, 04 May 2020 09:03:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xTpvZzIfEeptqczswa4yfNX3vMxIfA3aq1wDJ8uw/Po=; b=t2H0PDgImOZH0wxUvIGfrxF8jBPcqtHRXYg2SmAi7cTiuOtL7UHEYfwaq7EXKBKtAU ureXbKD6kYy5awdRPd0PFsf0BMtPsuliT7LTXld/RQW5vdlKr7SDnd9ZIPpxzqeq6R5B 0Einapwuh/gVK4SPDTdg6xzdrhrFL23pThKTsaEFYXu+S+rluJs0X6QqRB1Yjl6kd90k viLoKSmsV7EtSCU/GkI9dkOV/GprzbjqlDGgkfiWLkxjpNp8TSkySuSKhQE1aIOkqJ4N eTdi1g3Tbxddgf7oqyajHM1w10hcpAZhF/mekBYaNIqREGutWT5WVpXs29pcxMcgw/8w CtXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xTpvZzIfEeptqczswa4yfNX3vMxIfA3aq1wDJ8uw/Po=; b=UonzoRus4ccMKu5BiaB0pcH3f2y2Byx/RrIQzDlz5A1eFoAvvz1a89IaM6IAnxZ1cs /XFnWGPQCftNHwnZgshphCTICMPV7nQPy90m2TpOiZH1U10BtN1mi0UBYGQrp0RBrLMC WTmG+3Bh6ptCJutEraBEtsN+GQz/Okj5InGXSDZYOuUaHsY/nvnG5y95bu1wzIszgPVL WPaHFXG/sr3pcDBenSWfmGU4s2WBO74avwNWXJFfUAi5nC6b5nAPQGNzqo402Q0VezqZ /jFC6Y6kKfE9tDZayusHT39yhn6iV928hbvipAiTfVRV116zdJf93VCoQap0Lxn4k0Tm /s7w==
X-Gm-Message-State: AGi0PuaNTo3WxnpxTz9vxMVBNlLH5CNNku8aInRl5mg2CB6/Xyz6k3OT rZ0olJy3TGFiFhXqjq9pbll5iu5ZgTVsRjEowAMWOBG+
X-Google-Smtp-Source: APiQypK6cnxy0uJk9qf6J2sQEeH6hOBKLH8kcNl274F+GeThqud6C8T44KhhX1RsrVrnkaiDvCfL4hbTU4OrPSKth5Y=
X-Received: by 2002:adf:b1d1:: with SMTP id r17mr19044793wra.85.1588608170281; Mon, 04 May 2020 09:02:50 -0700 (PDT)
MIME-Version: 1.0
From: Lucas Pardue <lucaspardue.24.7@gmail.com>
Date: Mon, 4 May 2020 17:02:39 +0100
Message-ID: <CALGR9ob6uU6QtSJA2_7O8PdkAz15Y3kZ1ORoCCfqqRWAU-cuhA@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000ad4ec105a4d4a9ca"
Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=lucaspardue.24.7@gmail.com; helo=mail-wr1-x430.google.com
X-W3C-Hub-Spam-Status: No, score=-7.8
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1jVdYc-0001RI-8S 0df5e5aa6ae95f9058dfdc4bc10ff621
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP Priority - proposal to support headers and frames
Archived-At: <https://www.w3.org/mid/CALGR9ob6uU6QtSJA2_7O8PdkAz15Y3kZ1ORoCCfqqRWAU-cuhA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/37562
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: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hello WG,

If you recall, in March we published draft-ietf-http-priority-00, which
fixed a few issues that we gave an overview on the mailing list [1].

One of the remaining issues is concerned about the use of headers vs
frames. Tracking the range of different threads, the answer seems to having
an ability to use either.

PR 1167 is a proposal that tweaks the PRIORITY_UPDATE frame in a few ways.
The most interesting tweak is to make it more explicit that the frame can
be used to signal the initial priority of a request [2], this frame can
only be sent on stream 0 / control stream. This reflects my understanding
of how Chrome is using the PRIORITY_UPDATE frame today.

This proposal avoids sending a new priority frame on the request stream.
Doing that adds some complication for H2. Further, H3 would have to deal
with the possibility of out-of-order delivery anyway, so having another
frame does not help it.

We welcome comments on the issue, the PR or in this thread.

Cheers
Lucas

[1] - https://lists.w3.org/Archives/Public/ietf-http-wg/2020JanMar/0171.html
[2] - https://github.com/httpwg/http-extensions/pull/1167