Re: [Webpush] status code for messages dropped before TTL expiration

Martin Thomson <martin.thomson@gmail.com> Wed, 11 November 2015 21:23 UTC

Return-Path: <martin.thomson@gmail.com>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 602561B3A5B for <webpush@ietfa.amsl.com>; Wed, 11 Nov 2015 13:23:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 ximKFoTsw-OQ for <webpush@ietfa.amsl.com>; Wed, 11 Nov 2015 13:23:00 -0800 (PST)
Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 B7E5D1B3A5A for <webpush@ietf.org>; Wed, 11 Nov 2015 13:23:00 -0800 (PST)
Received: by ioir85 with SMTP id r85so5595126ioi.1 for <webpush@ietf.org>; Wed, 11 Nov 2015 13:23:00 -0800 (PST)
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:content-type; bh=JKfodbaL/f5ynFo0zQKzdxCaawSSFOFtkbIm+lM+C0U=; b=W0oTV9ZPHLWvtMTteZl5pjegeSTX+GgRkYmx3koFpv8WQndZ7HGlsQGKVATTYKB5Ij +bntFt2mpo+nmGiYLyTwR0nBVfqj43CUHEhzpO5TGIMN0ElpReXGbp41UY+LtQXJXZ4w j1wFpE/yCKJOkJ2Lo57suRTuEzOnmW6epKLxttZymBK56O5Ep7R4iKX4NZh5Bu6EkrB9 nLeLiIGF3Jksz2pVxL4+6d8BpA+VsxYiXQwUr1qw42w9JyQoHc+XWyAIKk9I1A9UAx4Q J6R+KGuweWU3/YCSLw+BC7ZN3phfHQIWZphniNJTkrZ5zgib5r848j37jxw6NLA7SzTA bn/Q==
MIME-Version: 1.0
X-Received: by 10.107.33.203 with SMTP id h194mr6157507ioh.108.1447276980213; Wed, 11 Nov 2015 13:23:00 -0800 (PST)
Received: by 10.36.155.139 with HTTP; Wed, 11 Nov 2015 13:23:00 -0800 (PST)
In-Reply-To: <D2689DC3.5815%d.thakore@cablelabs.com>
References: <D2689DC3.5815%d.thakore@cablelabs.com>
Date: Wed, 11 Nov 2015 13:23:00 -0800
Message-ID: <CABkgnnVEFxWdqstffvbivhOXoE7JR3O7Z5pNfu19QhVA=qrKWA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Darshak Thakore <d.thakore@cablelabs.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/oVOAfN3oTUq33w68253JvhuEyBg>
Cc: "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] status code for messages dropped before TTL expiration
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.15
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, 11 Nov 2015 21:23:02 -0000

Generally, I think that we wanted to ask http(bis) for opinions.  But
your suggestion here prompted a thought...

On 11 November 2015 at 12:26, Darshak Thakore <d.thakore@cablelabs.com> wrote:
> Alternately we can define a new header (and carry the TTL as one of the
> tokens in the header) and a corresponding status code (preferably a 5XX
> code) that is in the same vein as the Expect header with the 417 code.

Maybe we can just use TTL.  If it is present (and therefore non-zero)
then it's an indication that the TTL hasn't run out, even though the
message resource is Not Found/Gone.