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

RUELLAN Herve <Herve.Ruellan@crf.canon.fr> Thu, 02 June 2016 08:04 UTC

Return-Path: <Herve.Ruellan@crf.canon.fr>
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 944F312D0F5 for <webpush@ietfa.amsl.com>; Thu, 2 Jun 2016 01:04:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.326
X-Spam-Level:
X-Spam-Status: No, score=-3.326 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-1.426] autolearn=ham autolearn_force=no
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 6vMwr_6ZLkhL for <webpush@ietfa.amsl.com>; Thu, 2 Jun 2016 01:04:37 -0700 (PDT)
Received: from inari-msr.crf.canon.fr (inari-msr.crf.canon.fr [194.2.158.67]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5492C12D12A for <webpush@ietf.org>; Thu, 2 Jun 2016 01:04:34 -0700 (PDT)
Received: from mir-msr.corp.crf.canon.fr (mir-msr.corp.crf.canon.fr [172.19.77.98]) by inari-msr.crf.canon.fr (8.13.8/8.13.8) with ESMTP id u5284WxW013237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Jun 2016 10:04:32 +0200
Received: from Antiope.crf.canon.fr (antiope.fesl2.crf.canon.fr [172.19.70.56]) by mir-msr.corp.crf.canon.fr (8.13.8/8.13.8) with ESMTP id u5284VVi000850; Thu, 2 Jun 2016 10:04:31 +0200
Received: from Antiope.crf.canon.fr (172.19.70.62) by Antiope.crf.canon.fr (172.19.70.62) with Microsoft SMTP Server (TLS) id 15.0.995.29; Thu, 2 Jun 2016 10:04:31 +0200
Received: from Antiope.crf.canon.fr ([fe80::5c25:f890:ae73:d15a]) by Antiope.crf.canon.fr ([fe80::5c25:f890:ae73:d15a%12]) with mapi id 15.00.0995.032; Thu, 2 Jun 2016 10:04:31 +0200
From: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
To: "martin.thomson@gmail.com" <martin.thomson@gmail.com>
Thread-Topic: [Webpush] Non-blocking comments on -05
Thread-Index: AQHRu3RPtv1gb54CNUWyRYz7Gkh/JZ/UfYOQgADSzoCAAGICAA==
Date: Thu, 2 Jun 2016 08:04:30 +0000
Message-ID: <1464854666.5342.6.camel@crf.canon.fr>
References: <CALt3x6=_yc9TegOut_g+6W5fvhP7sfW+_gwRZnEVFA5PNgER6Q@mail.gmail.com> <6af49c2baf1b4e4f884b812d573b947e@Antiope.crf.canon.fr> <CABkgnnWebfxnPOLMXK+n+2G=c8DOG4Eb4AWMsWXJmmdnE4pUwg@mail.gmail.com>
In-Reply-To: <CABkgnnWebfxnPOLMXK+n+2G=c8DOG4Eb4AWMsWXJmmdnE4pUwg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Evolution 3.12.11 (3.12.11-1.fc21)
x-originating-ip: [172.20.5.129]
Content-Type: text/plain; charset="utf-8"
Content-ID: <9A86621614E27C46BDE5911E699109B8@crf.canon.fr>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/BN_mdDjnKDbrX9-6POT7G6ag8W4>
Cc: "webpush@ietf.org" <webpush@ietf.org>, "beverloo@google.com" <beverloo@google.com>
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: Thu, 02 Jun 2016 08:04:39 -0000

On Wed, 2016-06-01 at 23:34 +0000, Brian Raymor wrote:
> 2. What does a push server that receives a request for a push message
with "Prefer: respond-async"
> > but doesn't want to provide a receipt subscription, or doesn't
support providing receipts? Is this allowed in the first place?
> 
> The push service is required to support receipt subscriptions. 
> 
>    The push service MUST also provide a URI for the receipt 
>     subscription resource in a link relation of type 
>   "urn:ietf:params:push:receipt". 
> 

This sentence could be interpreted either as making support for receipt
subscriptions mandatory or as being a mandatory part of the 202
(Accepted) response, implying that the push service can also respond
with a 201 (Created) even when the Prefer header field is present.

On Thu, 2016-06-02 at 12:13 +1000, Martin Thomson wrote:
> On 1 June 2016 at 21:46, RUELLAN Herve <Herve.Ruellan@crf.canon.fr> wrote:
> > 2. What does a push server that receives a request for a push message with "Prefer: respond-async" but doesn't want to provide a receipt subscription, or doesn't support providing receipts? Is this allowed in the first place?
> 
> This is handled in RFC7240.  It ignores the Prefer header.  I believe
> that existing implementations do this very well :)

As two authors of the spec have divergent opinions, I think that a clear
statement would be helpful ;-).
I've created a pull request stating that support for push receipts is
not mandatory, but I've not strong opinion on the subject.

https://github.com/webpush-wg/webpush-protocol/pull/95

Hervé