Re: [Webpush] Non-blocking comments on -05

Brian Raymor <Brian.Raymor@microsoft.com> Fri, 03 June 2016 03:58 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 9D3DC12D655 for <webpush@ietfa.amsl.com>; Thu, 2 Jun 2016 20:58:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.696
X-Spam-Level:
X-Spam-Status: No, score=-0.696 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, TRACKER_ID=1.306] autolearn=no 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 KHxUEq7OsB-5 for <webpush@ietfa.amsl.com>; Thu, 2 Jun 2016 20:58:52 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0712.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:712]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A7D4912D658 for <webpush@ietf.org>; Thu, 2 Jun 2016 20:58:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=RmMLI8LdJiH/YnK3a1a48zckr3YzBQovpsJ9ntkFF8M=; b=TRMAGsDMV1gfRh7rQc8a1ycVh8Up54AMI/F/bwaEJzv4F1yFIQcLmR3Qor7DyMBUIwQgEFO8FQtZ1rpsSCEpr8x2EzO0vKJsTLyPnmXoYqnEZOJN+0Hg4x6Y26hIMEcqVxNev534YvHpWPuonXFcG4ZdQHDb8X6pf/f50saiFd8=
Received: from CO2PR03MB2407.namprd03.prod.outlook.com (10.166.93.137) by CO2PR03MB2405.namprd03.prod.outlook.com (10.166.93.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.506.9; Fri, 3 Jun 2016 03:58:35 +0000
Received: from CO2PR03MB2407.namprd03.prod.outlook.com ([10.166.93.137]) by CO2PR03MB2407.namprd03.prod.outlook.com ([10.166.93.137]) with mapi id 15.01.0506.011; Fri, 3 Jun 2016 03:58:35 +0000
From: Brian Raymor <Brian.Raymor@microsoft.com>
To: Kit Cambridge <kcambridge@mozilla.com>, Martin Thomson <martin.thomson@gmail.com>
Thread-Topic: [Webpush] Non-blocking comments on -05
Thread-Index: AQHRu3RQwDJq8LaJ6EaFkMQ0Dd4KCZ/Uf30AgADyW4CAAFBvAIABWfHA
Date: Fri, 3 Jun 2016 03:58:35 +0000
Message-ID: <CO2PR03MB24075B68BA33CD0C3D2D9A4A83590@CO2PR03MB2407.namprd03.prod.outlook.com>
References: <CALt3x6=_yc9TegOut_g+6W5fvhP7sfW+_gwRZnEVFA5PNgER6Q@mail.gmail.com> <6af49c2baf1b4e4f884b812d573b947e@Antiope.crf.canon.fr> <CABkgnnWebfxnPOLMXK+n+2G=c8DOG4Eb4AWMsWXJmmdnE4pUwg@mail.gmail.com> <989D9268-BE9A-47F7-9181-C0F323D1DA1F@mozilla.com>
In-Reply-To: <989D9268-BE9A-47F7-9181-C0F323D1DA1F@mozilla.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: mozilla.com; dkim=none (message not signed) header.d=none;mozilla.com; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [24.16.23.27]
x-ms-office365-filtering-correlation-id: 2e91db40-9cc8-4ab9-bcd9-08d38b635660
x-microsoft-exchange-diagnostics: 1; CO2PR03MB2405; 5:oUaZ+OJTymEHhKwxdkQ7/PqH8eSRyaJ+v3+zuhZrd9LcZEjXzxA+d4YNN9/Q3QYfQGIlYwniDcSoJow0FC8njIvkvursXVhch3Z082ygt+vhHk+n0r8NfdrYLCKEGVN57lbQXP9c990kg2khxCQjLg==; 24:K+aoSsC7Hi0H/bbrV+TMc4yhvzYpxcJhZfCgV4FMbcdB72T5j+XxjdYof0biXvQYICakoKO0HI+zuayKrrMWP6O9ZSKHV3qdktZ0m9SP/Go=; 7:JQK2kHtT62VbAQS4w0sX56ss9+EsQyo4BZ052dzIMX+II2myga+nkSOBOPMT455Zazjk7GoDQx3YNemBgY13IoaSsj/lTixagOhGNdsluHuxZC+9pjd/vjW4ueF5MQrFkCwo+xo8YNseE/i6vaQy8QVGlNwZhYXRszbB8RnVikLxB1YS/elOTKcOvfOMVGtyH81zkBw7gA7JNO4gOJ7VhSfPMHvzaGD1bSmVIXQdmN1oQSnXplvSnURh7vahZtjX
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CO2PR03MB2405;
x-microsoft-antispam-prvs: <CO2PR03MB2405A93A3ABD464D43ED8D7A83590@CO2PR03MB2405.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(166708455590820);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(61426038)(61427038); SRVR:CO2PR03MB2405; BCL:0; PCL:0; RULEID:; SRVR:CO2PR03MB2405;
x-forefront-prvs: 0962D394D2
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(24454002)(11100500001)(5002640100001)(10090500001)(19580395003)(92566002)(2950100001)(122556002)(5003600100002)(106116001)(5005710100001)(99286002)(8676002)(8936002)(5008740100001)(5004730100002)(10400500002)(87936001)(19580405001)(5001770100001)(10290500002)(86362001)(189998001)(81166006)(575784001)(77096005)(15975445007)(76176999)(33656002)(54356999)(66066001)(3280700002)(50986999)(76576001)(6116002)(102836003)(93886004)(2906002)(3846002)(4326007)(9686002)(2900100001)(74316001)(586003)(3660700001)(19627235001); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR03MB2405; H:CO2PR03MB2407.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en;
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jun 2016 03:58:35.4075 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR03MB2405
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/K4ChcZPCqiK5vHO_Shc_cyW4Ex4>
Cc: Peter Beverloo <beverloo@google.com>, "webpush@ietf.org" <webpush@ietf.org>, RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
Subject: Re: [Webpush] Non-blocking comments on -05
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: Fri, 03 Jun 2016 03:58:54 -0000

On Thursday, June 2, 2016 12:02 AM, Kit Cambridge <kcambridge@mozilla.com> wrote:

> In section 5.1...

> * It might help to include the `Link: </r/3ZtI4YVNBnUUZhuoChl6omUvG4ZM>; rel="urn:ietf:params:push:receipt"` header in the `POST` example.
> The prose suggests a symmetry with subscription sets, but I was confused how the app server specifies the receipt subscription URL on the first reading.

To be clear, you're requesting a new example for subsequent POSTS that pass the push:receipt which would be similar to the example for subscription sets in section 4.1.1?

Something like:

For subsequent receipt requests to the same origin [RFC6454], the
application server SHOULD include the returned receipt subscription
in a link relation of type "urn:ietf:params:push:receipt". This
gives the push service an option to aggregate the receipts.

POST /push/JzLQ3raZJfFBR0aqvOMsLrt54w4rJUsV HTTP/1.1
Host: push.example.net
Prefer: respond-async
Link: </receipt-subscription/3ZtI4YVNBnUUZhuoChl6omUvG4ZM>;
rel="urn:ietf:params:push:receipt"
TTL: 15
Content-Type: text/plain;charset=utf8
Content-Length: 36

iChYuI3jMzt3ir20P8r_jgRR-dSuN182x7iB


The push service SHOULD return the same receipt subscription in its response,
although it MAY return a new receipt subscription if it is unable to
reuse the one provided by the application server.

HTTP/1.1 202 Accepted
Date: Thu, 11 Dec 2014 24:56:55 GMT
Link: </receipt-subscription/3ZtI4YVNBnUUZhuoChl6omUvG4ZM>;
rel="urn:ietf:params:push:receipt"
Location: https://push.example.net/message/xDIYHNcfAIPP_5ITvURr-d6BGt


> * I agree with Peter that clarifying whether receipts are sent for TTL=0 messages would be nice.

See the discussion in https://github.com/webpush-wg/webpush-protocol/pull/91

We've iterated on zero TTL quite a bit. Do you have any suggestions on how to further clarify:

A Push message with a zero TTL is immediately delivered if the user
agent is available to receive the message. After delivery, the push
service is permitted to immediately remove a push message with a zero
TTL. This might occur before the user agent acknowledges receipt of
the message by performing a HTTP DELETE on the push message resource.
Consequently, an application server cannot rely on receiving
acknowledgement receipts for zero TTL push messages.