draft-ruellan-http-accept-push-policy-02 comments

Martin Thomson <martin.thomson@gmail.com> Wed, 13 July 2016 05:19 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 3CD0412D094 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jul 2016 22:19:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.097
X-Spam-Level:
X-Spam-Status: No, score=-8.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.287, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (body has been altered)" 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 taORCDnqDYBW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jul 2016 22:19:20 -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 98B1612B05A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jul 2016 22:19:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1bNCVz-0002ZI-Se for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jul 2016 05:15:19 +0000
Resent-Date: Wed, 13 Jul 2016 05:15:19 +0000
Resent-Message-Id: <E1bNCVz-0002ZI-Se@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1bNCVw-0002Pl-Gl for ietf-http-wg@listhub.w3.org; Wed, 13 Jul 2016 05:15:16 +0000
Received: from mail-qk0-f180.google.com ([209.85.220.180]) by maggie.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1bNCVt-0007Vz-HE for ietf-http-wg@w3.org; Wed, 13 Jul 2016 05:15:15 +0000
Received: by mail-qk0-f180.google.com with SMTP id s63so34135118qkb.2 for <ietf-http-wg@w3.org>; Tue, 12 Jul 2016 22:14:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=pQlIDmpGxAw9VgKhLJXBoDXScGpGZhbyvjIfL+fBcp0=; b=JnZSnut9oIIECXib3SPeTYUISVU7QNsMbAojFrnjgusEeQxXtqJcWVMnm3lsixEvqW EEsh7Wh4tKyu0Ng3PIDPDCIVzpRc14cFjRspPVnAdW1nqrrPjDg7r3aKCxA+dXCSBapz A3VvpbnURYAPdB9DTbqxGik1m1pOUKy1FojpebLahzTQxTrVPCfIPn+m5bGFEU1lp7od v5sVSYmu4kCr4EyRwydDtEBlWUFh1nNbcCi2GhEYmXLY6rXGz6swHNlIc+sDcD7irWNg 02PALnxuSvMFdu5Oa+wzDx+BhJVh5kh3Qm9rihYwlumnJe3yNmcCMGWZNruWGVGJY0xt 8IVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=pQlIDmpGxAw9VgKhLJXBoDXScGpGZhbyvjIfL+fBcp0=; b=BCLIVGgN8ZoFyJGhOJ5ai/hg0ovmwOgHF9VFezV2EO6DsUR3kRrdtIBNmFnbIYufR+ bcnrqDFo4g1kw/iPF52cJ7DR2aXKaadHb8Vlu+DaZyv3ooYlQpOLVjyDse2hA6YXv6M4 UvQK/wFK7ju1O8q3RGjbJ+64FF4Ft5TLBeV0GFAfNYtK4BwD9DtcrJ/ZyyDEiXweW/lL PtF+5n3B83zoBXFhTsd7bRIC8kv/kqIGtvkEI0T7lIHn04ZpxfnGj/7nuDK2UL44auOq TEqpVLjk5VrCztJnJaFOBJkV12a3So6mRdPd3cGyXqqNiRGnwq4cHZlMvFchY5ftUhj3 mmMg==
X-Gm-Message-State: ALyK8tKUIvEFNSZ/kIRXLyZ7nd/sFZHZm211cy/p4SOU49ytTlqJxaXQ6XMKoVakc0MzARpZx4agVuxSV+X7iw==
X-Received: by 10.55.78.146 with SMTP id c140mr8275623qkb.48.1468386887367; Tue, 12 Jul 2016 22:14:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.22.38 with HTTP; Tue, 12 Jul 2016 22:14:46 -0700 (PDT)
From: Martin Thomson <martin.thomson@gmail.com>
Date: Wed, 13 Jul 2016 15:14:46 +1000
Message-ID: <CABkgnnVWz-MVW=C9cSpjCOuKe8g5dy=XGk5juFsT4ntv-s5EsA@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.220.180; envelope-from=martin.thomson@gmail.com; helo=mail-qk0-f180.google.com
X-W3C-Hub-Spam-Status: No, score=-7.9
X-W3C-Hub-Spam-Report: AWL=1.828, BAYES_00=-1.9, 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: maggie.w3.org 1bNCVt-0007Vz-HE a03ece2dc43430bec2a2d14fa2b44587
X-Original-To: ietf-http-wg@w3.org
Subject: draft-ruellan-http-accept-push-policy-02 comments
Archived-At: <http://www.w3.org/mid/CABkgnnVWz-MVW=C9cSpjCOuKe8g5dy=XGk5juFsT4ntv-s5EsA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31944
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>

I think that this is a promising avenue of exploration for server
push.  Clients clearly don't have enough ways to influence how the
server pushes content.

I'm almost tempted to suggest that it be made experimental rather than
proposed standard.  We yet really understand how push is going to be
deployed enough to settle on a sensible set of policies.  The set of
policies in the document seem reasonable, but we won't know until they
are deployed in a range of places.

I am also unconvinced by the use of two header fields.  The
Accept-Push-Policy header field is the only one that seems to have a
real use.  Knowing what the server understands is of relatively little
use.  More so given the nebulous nature of what is pushed when you
consider cache-digest and other improvements.

>From what I can see, the most direct response to seeing that a value
isn't supported is that a client would omit the header (or values from
it) on subsequent requests.  But there is no real harm in repetition,
especially when you would probably save more bytes by leaving the
header unchanged and relying on header compression.

I think that Accept-Push-Policy needs to have a different name.  Right
now, it implies content negotiation, but it's a bit of a stretch for
me to imagine using it in a Vary header field.  If you remove the
server's use of Push-Policy, then that's a better name for the request
header field.