Re: [Webpush] Spencer Dawkins' No Objection on draft-ietf-webpush-protocol-11: (with COMMENT)
Brian Raymor <Brian.Raymor@microsoft.com> Thu, 13 October 2016 04:02 UTC
Return-Path: <Brian.Raymor@microsoft.com>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 0F0A6129815;
Wed, 12 Oct 2016 21:02:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.003
X-Spam-Level:
X-Spam-Status: No, score=-2.003 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_NONE=-0.0001,
RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001]
autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
header.d=microsoft.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 KUq-q3AXG-Kq; Wed, 12 Oct 2016 21:02:35 -0700 (PDT)
Received: from NAM03-DM3-obe.outbound.protection.outlook.com
(mail-dm3nam03on0133.outbound.protection.outlook.com [104.47.41.133])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id 521BD129811;
Wed, 12 Oct 2016 21:02:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version;
bh=yO91xfGY6z7EINGr/5KIlG3fPysIZqdM7IQYVqN8wiM=;
b=KqBZKlk+tFSTnlPlGzRKjjC10gWZtIWlwYqhs9Osq9hNx+zItAJKItrPYrSz4xmbCFVk1XINn5kC0ICrfINSK/a2ndejuklWnMj7Ydfpd+qdpIb3Q2Zn3VDa7aMhfWQpSIyznCoHwYBNHbZeH6WbrUa561vdV4ePjVziAKOq5/M=
Received: from CY1PR03MB2380.namprd03.prod.outlook.com (10.167.8.6) by
CY1PR03MB2380.namprd03.prod.outlook.com (10.167.8.6) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id
15.1.659.11; Thu, 13 Oct 2016 04:02:33 +0000
Received: from CY1PR03MB2380.namprd03.prod.outlook.com ([10.167.8.6]) by
CY1PR03MB2380.namprd03.prod.outlook.com ([10.167.8.6]) with mapi id
15.01.0659.020; Thu, 13 Oct 2016 04:02:33 +0000
From: Brian Raymor <Brian.Raymor@microsoft.com>
To: Spencer Dawkins <spencerdawkins.ietf@gmail.com>, The IESG <iesg@ietf.org>
Thread-Topic: Spencer Dawkins' No Objection on draft-ietf-webpush-protocol-11:
(with COMMENT)
Thread-Index: AQHSJMm4b3FeCiphYkefyY+63mvTsaClpngQ
Date: Thu, 13 Oct 2016 04:02:33 +0000
Message-ID: <CY1PR03MB2380390F94CEC6B64D1CDFC883DC0@CY1PR03MB2380.namprd03.prod.outlook.com>
References: <147630518735.6397.5697353632878943065.idtracker@ietfa.amsl.com>
In-Reply-To: <147630518735.6397.5697353632878943065.idtracker@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is )
smtp.mailfrom=Brian.Raymor@microsoft.com;
x-originating-ip: [174.61.159.182]
x-ms-office365-filtering-correlation-id: 04affb6d-011d-4ac8-ac9e-08d3f31dc2d7
x-microsoft-exchange-diagnostics: 1; CY1PR03MB2380;
7:xtP/CVuF8yr2iVx+hQxt63mT4Mz/RpYPnH/v6Fdd1z6LwpNZsdvMd8Yp8pyN5UAB1kQOudf8NHt7rrjSnfNX3lrOaTHxCCCLx+qF8HCVZpQa90xalT34CuTRTem0lfw5MOhzSBekpGi8BaPkAIKXterfHLbl0NOv8c6FpTaJBSTVmqKeTy+HRULGIYmjSAaqLCcltCFPHQwDJbKukD4HrCogfqBYUSJMDtHmZZN6WIvMZrrciea2k8kec3hK1e82TD9Ij4vOGao3nf8M+7Xyz1PMUZi9eYPKGlZPezhzfnSYCf4FjO5S9DDTMMQvCqT1KWQw4TOba20NRptxsEyMYa53giOIxIj9XThotXZvuNX9BztPt4PVozOb93epJkgm
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB2380;
x-microsoft-antispam-prvs: <CY1PR03MB238071A825B0BEA201DBEBA783DC0@CY1PR03MB2380.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(278428928389397)(72170088055959);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0;
RULEID:(61425038)(6040176)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(61426038)(61427038);
SRVR:CY1PR03MB2380; BCL:0; PCL:0; RULEID:; SRVR:CY1PR03MB2380;
x-forefront-prvs: 0094E3478A
x-forefront-antispam-report: SFV:NSPM;
SFS:(10019020)(6009001)(7916002)(60444003)(189002)(54094003)(199003)(76176999)(11100500001)(122556002)(105586002)(86362001)(86612001)(305945005)(2950100002)(7846002)(7736002)(97736004)(2900100001)(106356001)(99286002)(106116001)(33656002)(19580395003)(3660700001)(5001770100001)(15975445007)(87936001)(74316002)(230783001)(7696004)(8936002)(5660300001)(92566002)(3280700002)(8676002)(9686002)(10090500001)(2906002)(54356999)(68736007)(66066001)(586003)(4326007)(102836003)(5005710100001)(101416001)(3846002)(76576001)(6116002)(10400500002)(189998001)(5002640100001)(10290500002)(81166006)(81156014)(77096005)(8990500004)(50986999);
DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR03MB2380;
H:CY1PR03MB2380.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords;
MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate
permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2016 04:02:33.4724 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR03MB2380
Archived-At: <https://mailarchive.ietf.org/arch/msg/webpush/nWmCaGK_c_KcLnYjuPxHAx_OJys>
Cc: "draft-ietf-webpush-protocol@ietf.org"
<draft-ietf-webpush-protocol@ietf.org>, "shida@ntt-at.com" <shida@ntt-at.com>,
"webpush-chairs@ietf.org" <webpush-chairs@ietf.org>,
"webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Spencer Dawkins' No Objection on
draft-ietf-webpush-protocol-11: (with COMMENT)
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussion of potential IETF work on a web push protocol
<webpush.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webpush>,
<mailto:webpush-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webpush/>
List-Post: <mailto:webpush@ietf.org>
List-Help: <mailto:webpush-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webpush>,
<mailto:webpush-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Oct 2016 04:02:38 -0000
Hi Spencer,
> I noticed that
>
> push message subscription: This resource provides read and delete
> access for a message subscription. A user agent receives push
> messages (Section 6) using a push message subscription. Every
> push message subscription has exactly one push resource associated
> with it.
> and
> push message: The push service creates a push message resource to
> identify push messages that have been accepted for delivery
> (Section 5). The push message resource is also deleted by the
> user agent to acknowledge receipt (Section 6.2) of a push message.
> don't say "A link relation of type ..." about the resource being defined,
> but
> push message subscription set: This resource provides read and
> delete access for a collection of push message subscriptions. A
> user agent receives push messages (Section 6.1) for all the push
> message subscriptions in the set. A link relation of type
> "urn:ietf:params:push:set" identifies a push message subscription
> set.
> push: An application server requests the delivery (Section 5) of a
> push message using a push resource. A link relation of type
> "urn:ietf:params:push" identifies a push resource.
> and
> receipt subscription: An application server receives delivery
> confirmations (Section 5.1) for push messages using a receipt
> subscription. A link relation of type
> "urn:ietf:params:push:receipt" identifies a receipt subscription.
> do. Is that intentional? Or would link relation indentification not be
> useful for these resources (if you told me that, I'd believe you).
It is intentional. Both the push message subscription and the push message
resources are returned in the Location: header in the 201 (Created) response
and don't require a redundant link relation.
For example:
https://tools.ietf.org/html/draft-ietf-webpush-protocol-11#section-4
A 201 (Created) response indicates that the push subscription was
created. A URI for the push message subscription resource that was
created in response to the request MUST be returned in the Location
header field.
> I see that Topic: has no semantics, but I wonder if the example use of
> Topic in Section 5.4 might be clearer if a different Topic was used -
> "Topic: upd" looks like "upd" would have semantic meaning, on first
> reading.
I'm open to suggestions, but I don't know that a change would enhance
clarity.
> I wondered why the use of subscription sets in
> There are minor differences between receiving push messages for a
> subscription and a subscription set. If a subscription set is
> available, the user agent SHOULD use the subscription set to monitor
> for push messages rather than individual push message subscriptions.
> was a SHOULD, and not a MUST. Is this just an efficiency thing, or is it
> something else? It would be helpful to explain this.
Subscription sets evolved over time as we explored appropriate models
such as "push service decides" or "user agent decides". In the end, we needed to
ensure that the subscription set design was flexible enough to address a
broad range of scenarios, including a late-breaking one from Canon:
https://www.ietf.org/mail-archive/web/webpush/current/msg00357.html
which resulted in "user agent decides" + "push service encourages".
Subscription sets are included for efficiency as described:
https://tools.ietf.org/html/draft-ietf-webpush-protocol-11#section-4.1
Collecting multiple push message subscriptions into a subscription
set can represent a significant efficiency improvement for push
services and user agents. The push service MAY provide a URI for a
subscription set resource in a link relation of type
"urn:ietf:params:push:set".
When a subscription set is returned in a push message subscription
response, the user agent SHOULD include this subscription set in a
link relation of type "urn:ietf:params:push:set" in subsequent
requests to create new push message subscriptions.
This was added for Herve's scenario:
A user agent MAY omit the subscription set if it is unable to receive
push messages in an aggregated way for the lifetime of the
subscription. This might be necessary if the user agent is
monitoring subscriptions on behalf of other push message receivers.
> Is there any guidance you could give about the retry mechanism described
> in this text? How many times, how often, etc.
> If the push service does not receive the acknowledgement within a
> reasonable amount of time, then the message is considered to be not
> yet delivered. The push service SHOULD continue to retry delivery of
> the message until its advertised expiration.
There's no general guidance. The policy would be specific to a push service.
> I'm guessing that
> A push service that does not support reliable delivery over
> intermittent network connections or failing applications on devices,
> forces the device to acknowledge receipt directly to the application
> server, incurring additional power drain in order to establish
> (usually secure) connections to the individual application servers.
> isn't just about "establish", but "establish and maintain"?
That would be more precise. Updating.
- [Webpush] Spencer Dawkins' No Objection on draft-… Spencer Dawkins
- Re: [Webpush] Spencer Dawkins' No Objection on dr… Brian Raymor
- Re: [Webpush] Spencer Dawkins' No Objection on dr… Spencer Dawkins at IETF