Re: [Webpush] Prefer: wait=0 for Receiving Push Message Receipts
Idel Pivnitskiy <idel.pivnitskiy@gmail.com> Fri, 10 June 2016 18:59 UTC
Return-Path: <idel.pivnitskiy@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 8C06212D62A
for <webpush@ietfa.amsl.com>; Fri, 10 Jun 2016 11:59:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, HTML_MESSAGE=0.001,
RCVD_IN_DNSWL_NONE=-0.0001, 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 ntr48BdpGlzs for <webpush@ietfa.amsl.com>;
Fri, 10 Jun 2016 11:59:15 -0700 (PDT)
Received: from mail-it0-x234.google.com (mail-it0-x234.google.com
[IPv6:2607:f8b0:4001:c0b::234])
(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 8B6E012D52D
for <webpush@ietf.org>; Fri, 10 Jun 2016 11:59:15 -0700 (PDT)
Received: by mail-it0-x234.google.com with SMTP id h190so2747645ith.1
for <webpush@ietf.org>; Fri, 10 Jun 2016 11:59:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
bh=RHFFHRjxfkrdqm1u2HklAWWBI+1lXB1R0oDfkd0rW3Y=;
b=Apbp7bfHl7wDmlK8jHZYXqnPHRE8fwccPnafrzDZNRRUzRnDP/xewmmjH84f7bQVDl
fwJNGP9+k1tRdxVIRTA6ze5Uz1FVLkJ77IuBfE4e4uVZ/9vJKGPCN4rw/5gDESgYcsXd
IcN8pmxQIdn1muCtiemTNFZzaJ5kXaT2Vs4J6bNEnlSBXT+KBgjvv7E1Kvegvz7/o22r
fdruVUDdfh56a5JaWwlzsNbT2Y+lyov0CcmyjPoLu6wi+LVJSKLAPZMo6DWckoBr5+Yy
wjzv1DQNc512qV2vog1fwqy+36e91VW9jDxG7qy8p60mu0qWAx8NNueEoMhGFz6mESGb
mLJQ==
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:from:date
:message-id:subject:to;
bh=RHFFHRjxfkrdqm1u2HklAWWBI+1lXB1R0oDfkd0rW3Y=;
b=KZqjut03CKE+Z2KWVr6pZiab4L2ChzY5ltdm23MWvqfGFshZDSFCAzqL0vzIc/3df0
kTPGavbvc3ezQpo5sM9jZpAnbkW/sNI/rCo6x+e5OCFk6uH/+IjyGy1dtgALGcDqkC/d
3hD7ECxRISZN8jjE0cdl5ATx/ClkhmSAnwyeowoa+v1fRfR2MCyKdnyVNo0QKcq2JkRI
r+U9LXSdn2K0Pmk0ngQkhxH+TObJ1eAEt+6juzK7nCgCqIyHfMg8D9S2gCRovLAiEVGR
fSAnNvyyBIXNkFYhtXTLxtQilsfWrlxqfkNNLE9B8SkJFA9MM6gtCN2/zsnEspoHh0Lp
R1wg==
X-Gm-Message-State: ALyK8tIphieFd3zTnkpw6gm2IsVDPvHfm5FQJZ7xZhUrScJyD3wTB6Ia8OxgT3GZzHWL3Q48cpHyDQsyrFE+rA==
X-Received: by 10.36.94.68 with SMTP id h65mr968972itb.45.1465585154816; Fri,
10 Jun 2016 11:59:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.36.152.131 with HTTP; Fri, 10 Jun 2016 11:58:35 -0700 (PDT)
In-Reply-To: <CO2PR03MB240716255D037CD89F1E9BC6835F0@CO2PR03MB2407.namprd03.prod.outlook.com>
References: <CO2PR03MB240716255D037CD89F1E9BC6835F0@CO2PR03MB2407.namprd03.prod.outlook.com>
From: Idel Pivnitskiy <idel.pivnitskiy@gmail.com>
Date: Fri, 10 Jun 2016 21:58:35 +0300
Message-ID: <CAN+BUJrBD=kMGJGL-nUbVGv3nM3VJ=sUaaZHk634=8+GY13HFw@mail.gmail.com>
To: "webpush@ietf.org" <webpush@ietf.org>
Content-Type: multipart/alternative; boundary=001a11448a968aa20b0534f122bb
Archived-At: <https://mailarchive.ietf.org/arch/msg/webpush/LMN3TXlvIoQC8UF7lv2eSLoHF_E>
Subject: Re: [Webpush] Prefer: wait=0 for Receiving Push Message Receipts
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, 10 Jun 2016 18:59:17 -0000
Thanks Brian, Yes, as a design of receiving push messages and push message receipt is the similar and they are both use server pushes, will not be a problem to reuse already implemented code base to allow this feature for an AS too. Advantages: - More flexible logic for AS (it could choose how it will request receipts); - Possibility to reduce number of always opened connections to the PS, because if a UA may be unavailable most of the time we can not say the same about an AS. It's online most of the time, but can request push message delivery rarely. Previously Kit also considered to add this feature: https://github.com/webpush-wg/webpush-protocol/issues/18#issuecomment-97478621 Best regards, Idel Pivnitskiy -- Twitter: @idelpivnitskiy <https://twitter.com/idelpivnitskiy> GitHub: @idelpivnitskiy <https://github.com/idelpivnitskiy> On Fri, Jun 10, 2016 at 1:19 AM, Brian Raymor <Brian.Raymor@microsoft.com> wrote: > > https://github.com/webpush-wg/webpush-protocol/issues/113 > > Idel has suggested the addition of the Prefer: wait=0 option to section > 6.3. Receiving Push Message Receipts to allow application servers > to have the same option for immediately checking/receiving receipts as > user agents have for immediately checking/receiving messages. > > I'd appreciate broader review and comments about whether this is a useful > feature. > > The addition to 6.3. Receiving Push Message Receipts would be: > > > An application server can also request the contents of the receipt > subscription resource immediately by including a Prefer header field > [RFC7240] > with a "wait" preference set to "0". In response to this request, the push > service MUST generate a server push for all receipts that have not yet been > delivered. > > A 204 (No Content) status code with no associated server pushes indicates > that no new receipts are presently available. > > > > > _______________________________________________ > Webpush mailing list > Webpush@ietf.org > https://www.ietf.org/mailman/listinfo/webpush >
- [Webpush] Prefer: wait=0 for Receiving Push Messa… Brian Raymor
- Re: [Webpush] Prefer: wait=0 for Receiving Push M… Idel Pivnitskiy
- Re: [Webpush] Prefer: wait=0 for Receiving Push M… Brian Raymor