Re: [Webpush] Proposal: different push message resource URIs for AS and UA

Martin Thomson <martin.thomson@gmail.com> Thu, 02 June 2016 02:11 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 1D88612D63B for <webpush@ietfa.amsl.com>; Wed, 1 Jun 2016 19:11:42 -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 jv3LxiJRZH-4 for <webpush@ietfa.amsl.com>; Wed, 1 Jun 2016 19:11:40 -0700 (PDT)
Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (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 6E7B712D582 for <webpush@ietf.org>; Wed, 1 Jun 2016 19:11:40 -0700 (PDT)
Received: by mail-qg0-x22c.google.com with SMTP id p34so47504355qgp.1 for <webpush@ietf.org>; Wed, 01 Jun 2016 19:11:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=7xuaodf9nKTq0de/kb+dD2FjaQEUVXIKe4733QPkK9E=; b=f02TN/XNmH5/VLVHJmL8ySwiM8c2UUSSmlfYTScb02XNqVQXsFKLiC7/VZcqphk+Hf mRfI8NByHdmBXSyU6aD4zleXATNpgae31OSer74zWgHUXcYrUEzGGIX1tq2s3rZlXW7F zAJi6QB4LcEWHszHAg8Uh9dw5H2GM3sWYaBp31eJO9BCCl9p9VkxLZe2FomytfkXnba9 UrwdMAa0/wYSu1HjAc15OCZq3fwitLiYk9FbjSWbF/eNqT3pcqa9piQjYVBEYYaxLUgb rpF6rDeAOTRHTPrdgBB3oPJVpQvX5wSLco4uE4yJXH/lhlyxgT2Iml1mPwhmJwpj7rt3 V0Ng==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=7xuaodf9nKTq0de/kb+dD2FjaQEUVXIKe4733QPkK9E=; b=b64P5b0fRT35qskFyyB+Vx9pSktm3nVQSwuyVlz7YDAPcNr0n0QJxhhI7NLFadP/fc eHv4PyR4WW0GPx049IsRwBG9XYcSkgPbUhTTFaSBxyBNCguFn42wRrIRn3aNh35j7zU6 Mi+lwpMDW6zvrxyLlACH2phgI9II0zTmNIFDqpcW+HTKFGOvwK9HUjJPyWhL9+NkALBG duO1hiH1Nsw4W2sYIqh8H1s2JRVcEovt8MyKkLvS/DEAJNySy43DE53laAP41iKkFtwh BMleQ5xU7MLoiY7ROtWJPO7mL4xmaoeTxG5B6X3S6MknWM/dJySEZ4R1cgDhCtZ6xiy8 iq0A==
X-Gm-Message-State: ALyK8tLPdEFGjZe36JOhk98f54hkr4wU4CMnFKJkx/oL6IcJR6h5dMjVkU1UFOW+yO3eJ+w4VsdbHn0Tfp3wfQ==
MIME-Version: 1.0
X-Received: by 10.140.32.198 with SMTP id h64mr38267782qgh.53.1464833499555; Wed, 01 Jun 2016 19:11:39 -0700 (PDT)
Received: by 10.140.104.110 with HTTP; Wed, 1 Jun 2016 19:11:39 -0700 (PDT)
In-Reply-To: <CAN+BUJp8CK-wBHqCf9sen042eJ4PA0JmoLoT07oqr755q6aZRg@mail.gmail.com>
References: <CAN+BUJp8CK-wBHqCf9sen042eJ4PA0JmoLoT07oqr755q6aZRg@mail.gmail.com>
Date: Thu, 2 Jun 2016 12:11:39 +1000
Message-ID: <CABkgnnVGXivVLZFoFT7sxh4T1oMrNZOBL+nGD7TNnZWL8t6H6Q@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Idel Pivnitskiy <idel.pivnitskiy@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/tatBJMyQULpPLZ9jyvqoctVxcSY>
Cc: "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Proposal: different push message resource URIs for AS and UA
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, 02 Jun 2016 02:11:42 -0000

On 2 June 2016 at 05:51, Idel Pivnitskiy <idel.pivnitskiy@gmail.com> wrote:
> It gets ability for an AS to send DELETE request to this URI. Consequently,
> it may cause acknowledgement for a PS and sending a push message delivery
> receipt to the AS.

I think that this is a feature, not a bug.  If the AS wants to abandon
a push message, this gives it a way.

The other feature that a single URI provides is the fact that UA and
AS can agree about the identity of a push message if that is ever
needed.  (We don't expose this in the push API, so it's not useful in
that context, of course.)