[Webpush] Deleting a subscription

Martin Thomson <martin.thomson@gmail.com> Fri, 03 June 2016 07:24 UTC

Return-Path: <martin.thomson@gmail.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 AD7CD12D164 for <webpush@ietfa.amsl.com>; Fri, 3 Jun 2016 00:24:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[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] 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 O5zlGVzPKjtR for <webpush@ietfa.amsl.com>; Fri, 3 Jun 2016 00:24:31 -0700 (PDT)
Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D39E12D16D for <webpush@ietf.org>; Fri, 3 Jun 2016 00:24:31 -0700 (PDT)
Received: by mail-qk0-x230.google.com with SMTP id n63so50512543qkf.0 for <webpush@ietf.org>; Fri, 03 Jun 2016 00:24:31 -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=9Y1o4nvm/Ucd4AFbgHKuPoxQFsttC/lblpoS13iPqbk=; b=WulwnDd4mB7zL/E60TfFisCAuHxJZCMPFdZke1Gs3ZbPMajfCZDCxjr8H5PNWZyZlw tiFMHv/kBgpN4Q4yYSQwrVfH6ziYm+Xbc/gW2h1QSDXzWzW6XQay2gbgxflHLBufJKOk 5T1i3/T6xwmOnu2pVs54sqttxUe+pkeQbeeI10Fa42bXS+hL9b3AjqI+s1bbNRR2BF7v Y0N2hDuNSSz9C36LNdToadHR5EVTUWmIl7trtuN0MSQYzk3TUokeyHltooaXn85uWMn2 ea+Aj0D+0wZrGVLsba8sXw/vTeiNulTd1/EY7xwYB+JYPpTUmWKow16NYnVR4FcPnMkZ Pn/Q==
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=9Y1o4nvm/Ucd4AFbgHKuPoxQFsttC/lblpoS13iPqbk=; b=B64yByfMUWdE7Tbtmw6ISwS8bVE+8vN8aJtuPSQywbVhmPO/cNf8crDInSbLTSNfSN HqIDguq6OOQ65ljf1aKOlXebOjHE6MqsNG+9wnB/DWe9n1X/qDNC+akwLpx1EpV8107E n+TadSs4wZRkw5xGytqjNNDBSFLVlxeH4VuJEifclGmijrRcYAkcCYvXCPKkoy7vG2gk +rP7it0PoRRgSTR3QxwW88K3LhxR4WP24LxxJZ2v+d5FLFDKF2jV+igwf1y1d4PwPq2T lIIrMAirFmY+SqiBOYoglPlrjGnvIUfIpAxqEs1DKxsLl5dC33avTKIVgtIs2CUMcYh5 9cFg==
X-Gm-Message-State: ALyK8tKSHqgGAj7b/u7NT1HzfRgNRrdg1igc/qDBG93gLlY3xZQIpRX1rmqvznTH/OAZ17GTDnqOxF8TOjLCGw==
X-Received: by 10.55.20.208 with SMTP id 77mr1832120qku.124.1464938670409; Fri, 03 Jun 2016 00:24:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.104.110 with HTTP; Fri, 3 Jun 2016 00:24:30 -0700 (PDT)
From: Martin Thomson <martin.thomson@gmail.com>
Date: Fri, 3 Jun 2016 17:24:30 +1000
Message-ID: <CABkgnnXXTLGTGr1h4qaPWszxAg8MANMCUsWxTL7m2z=ff7CeoQ@mail.gmail.com>
To: "webpush@ietf.org" <webpush@ietf.org>, Kit Cambridge <kcambridge@mozilla.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/ezXh6OBO0PCpvePZkcgjI1DDpIw>
Subject: [Webpush] Deleting a subscription
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 07:24:33 -0000

Kit said:
> In section 7.3.1, if the UA deletes a subscription that belongs to a subscription set, does it receive a 410 for the deleted subscription on the subscription set stream?

We haven't defined any way to learn about changes to subscriptions.
Since the UA is the one doing the deletion, I think that it shouldn't
need notification of it.  How about this:
  https://github.com/webpush-wg/webpush-protocol/pull/103