Re: [Webpush] Receipt subscription follow-up

Martin Thomson <martin.thomson@gmail.com> Wed, 27 April 2016 04:21 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 0C19912D59F for <webpush@ietfa.amsl.com>; Tue, 26 Apr 2016 21:21:23 -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 pDnuj8qYbQVf for <webpush@ietfa.amsl.com>; Tue, 26 Apr 2016 21:21:21 -0700 (PDT)
Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 CE71012B05F for <webpush@ietf.org>; Tue, 26 Apr 2016 21:21:20 -0700 (PDT)
Received: by mail-io0-x235.google.com with SMTP id u185so41521648iod.3 for <webpush@ietf.org>; Tue, 26 Apr 2016 21:21:20 -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=nXeW0B89/pDPQT5pcrySlankF/o096yG+gXad5aDe/4=; b=PxxV4+/2mPx/W3qv0Ermfwwow6kDhUBODyQplEISAWcPDJ65BJ3FErAi07fn8Tjq0U HJsLD0RWNOJzjnmBoC1+vuRm+JzfuwIk3wF6HqrYQSVNcsmiT3Pfk6UWp9/gzUGg3lVv Ndm6LszK/+zcoLwYKnt8FzNF6IRtd8W+kVahbPdb5jAIppupwxGZHHcjdqym/vZnuO7x xDCNoxyAAncU5dWGBIfowCDA8U0kJzkwg32N8eJx1NgSv3mTBQe2/OsiS+dWep4aIbYw P12L/LMD/I0zWFrAXW9Xf7KpN2Ge422DF2JVpWQXrGM7HOM9uqCo5DrpEU9UrI2GYtBZ qipA==
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=nXeW0B89/pDPQT5pcrySlankF/o096yG+gXad5aDe/4=; b=mX0p/psi2sKqBsfq/n5z88Frj9PudUYhHWysEnSxUrP7wD2qN0v3NdbKGlvnXneXvw Jhr1iWKrbvP9i5fY68T7tUeB+kNuKpBKsHV9X++ak2o7TBw9/FnJVxgKxn3xoS1F5Wa9 GmNWLsB8Tgk/4QAYgp9yYxnZ38C8gXz78cGg6BXMNrWXT7WG0VycGEnGWPx/sm/q1tUg iuIOJH/v+B6/Vv0J4ESRcd9RN9AvdrpBR/ienKT1g+M2ZskCi9q9SsvZSFe40m1i99xH yvBBa9sdCXE/K4hQKKEJLvr+cFfRnQib6zshg4/V0HkPuaRmBQnsCztrMTJfkDZRDRFM Onug==
X-Gm-Message-State: AOPr4FU/DcRkgEEoK6Z9wIUkB4I7/v2hqrZ45zTDL/7pSZvGy80ziqSzrRp/W5ewSBXEt4iZRZp+SjX2qG6yLQ==
MIME-Version: 1.0
X-Received: by 10.107.59.85 with SMTP id i82mr6947298ioa.108.1461730880190; Tue, 26 Apr 2016 21:21:20 -0700 (PDT)
Received: by 10.36.43.82 with HTTP; Tue, 26 Apr 2016 21:21:20 -0700 (PDT)
In-Reply-To: <CAP8-Fqk8p1HkbJkB60UoE=jeQPa9CKorgc8kqSF7sUMS3FcAfQ@mail.gmail.com>
References: <CABkgnnXKDZvLWxkhFP0R4jW=ZyFwqiqQREFA5BFKH9i4PQCmyA@mail.gmail.com> <CO2PR03MB24076724ECF95BDBB9B83E0F83640@CO2PR03MB2407.namprd03.prod.outlook.com> <CAP8-Fqk8p1HkbJkB60UoE=jeQPa9CKorgc8kqSF7sUMS3FcAfQ@mail.gmail.com>
Date: Wed, 27 Apr 2016 14:21:20 +1000
Message-ID: <CABkgnnU_jnSuUX7TC+qy2SwteU1tW9DEAb0uoHmhOcYNQaYuvw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Costin Manolache <costin@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/5Zxm8vGuED69ZG2uiqm51aJWsA0>
Cc: Brian Raymor <Brian.Raymor@microsoft.com>, "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Receipt subscription follow-up
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: Wed, 27 Apr 2016 04:21:23 -0000

On 27 April 2016 at 14:12, Costin Manolache <costin@gmail.com> wrote:
> How does the PS know that AS can accept more receipts, and how does it know
> a receipt has been accepted by the AS ?

There is no explicit h2-layer acknowledgment of a push.  That all
happens implicitly with TCP acks and maybe with flow control acks.  In
HTTP, a server usually doesn't get to learn if its response made it
until the client acts on the response in some way.

However, in this case, can we request that the application server
DELETE (just like the client uses DELETE to acknowledge)?