Re: Recursive HTTP/2 Push

Patrick McManus <pmcmanus@mozilla.com> Mon, 08 February 2016 19:41 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 7311C1A1A5F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 8 Feb 2016 11:41:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.28
X-Spam-Level:
X-Spam-Status: No, score=-6.28 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001, 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 7cEj4mHJPl2I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 8 Feb 2016 11:41:20 -0800 (PST)
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 F18ED1A1A5A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 8 Feb 2016 11:41:19 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1aSrd6-0007BJ-NV for ietf-http-wg-dist@listhub.w3.org; Mon, 08 Feb 2016 19:37:48 +0000
Resent-Date: Mon, 08 Feb 2016 19:37:48 +0000
Resent-Message-Id: <E1aSrd6-0007BJ-NV@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <pmcmanus@mozilla.com>) id 1aSrd0-0007AX-N8 for ietf-http-wg@listhub.w3.org; Mon, 08 Feb 2016 19:37:42 +0000
Received: from www.ducksong.com ([192.155.95.102] helo=linode64.ducksong.com) by lisa.w3.org with esmtp (Exim 4.80) (envelope-from <pmcmanus@mozilla.com>) id 1aSrcz-0002RR-78 for ietf-http-wg@w3.org; Mon, 08 Feb 2016 19:37:42 +0000
Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com [209.85.220.172]) by linode64.ducksong.com (Postfix) with ESMTPSA id 0093B3A026 for <ietf-http-wg@w3.org>; Mon, 8 Feb 2016 14:37:16 -0500 (EST)
Received: by mail-qk0-f172.google.com with SMTP id o6so62760265qkc.2 for <ietf-http-wg@w3.org>; Mon, 08 Feb 2016 11:37:16 -0800 (PST)
X-Gm-Message-State: AG10YOSfwTmmJMKeV97UpXCpfFuJya7P4LHEdQNLc+sjZbl+mQ91SujE2SSJR4gCVF68K/syVntlhZp0QEyb0Q==
MIME-Version: 1.0
X-Received: by 10.55.74.141 with SMTP id x135mr36424878qka.20.1454960236797; Mon, 08 Feb 2016 11:37:16 -0800 (PST)
Received: by 10.140.103.148 with HTTP; Mon, 8 Feb 2016 11:37:16 -0800 (PST)
Date: Mon, 08 Feb 2016 14:37:16 -0500
X-Gmail-Original-Message-ID: <CAOdDvNo55LmT5eCS13VnuLpJDJ0eryvLTaoCy40Vpd3mq7b0LA@mail.gmail.com>
Message-ID: <CAOdDvNo55LmT5eCS13VnuLpJDJ0eryvLTaoCy40Vpd3mq7b0LA@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Simone Bordet <simone.bordet@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a114a7c6e13ab66052b4754c8"
Received-SPF: softfail client-ip=192.155.95.102; envelope-from=pmcmanus@mozilla.com; helo=linode64.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: AWL=-1.398, BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1aSrcz-0002RR-78 2ca8f96371138281c01ad63ffa1268bd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Recursive HTTP/2 Push
Archived-At: <http://www.w3.org/mid/CAOdDvNo55LmT5eCS13VnuLpJDJ0eryvLTaoCy40Vpd3mq7b0LA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31052
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 Sun, Feb 7, 2016 at 1:12 PM, Simone Bordet <simone.bordet@gmail.com>
wrote:

> The reason is to respect the shape of the resource tree: recursive.png
> depends on recursive.css.
> If the client directly asks for recursive.css, then it should get
> recursive.png pushed.
>


I guess I would say that the spec is pretty clear when it says peer
initiated - it means to forbid this. OTOH I think you make a good argument
about the resource tree. I think we need a bullpen for issues like this for
the next revision. You could certainly overload it with an extension if you
think it is important enough.

The spec is clear the server must not send. In general that doesn't create
a requirement on the peer to throw a protocol_error when receiving.

I'll consider changing to refuse this.