
From nobody Fri Dec  5 05:32:47 2014
Return-Path: <daniel.bevenius@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 1C4701A0371 for <webpush@ietfa.amsl.com>; Fri,  5 Dec 2014 05:32:38 -0800 (PST)
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, 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 97gxJg4oSgNN for <webpush@ietfa.amsl.com>; Fri,  5 Dec 2014 05:32:34 -0800 (PST)
Received: from mail-ig0-x235.google.com (mail-ig0-x235.google.com [IPv6:2607:f8b0:4001:c05::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E277C1A0367 for <webpush@ietf.org>; Fri,  5 Dec 2014 05:32:33 -0800 (PST)
Received: by mail-ig0-f181.google.com with SMTP id l13so748936iga.2 for <webpush@ietf.org>; Fri, 05 Dec 2014 05:32:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=KSBvLXjUY796u9NrNdzXKKVglzlZ4om9LzC4kJMICkY=; b=y1JpF4/dy2Bha6t9f05OFgfajlwFR/JRARjtSYkkRZc6I1O3IM5x7D9ZlJiHjS5Pne 824spNHrZGPNBuCQ9dj9gCHK+YQRrht1hYQBYskfaeY9HF6fdBoZklOx82M9qRr0z2I2 kdku3wER2h/cJ6q7l+I5//PDJ0BjZz5ex1AFdv1Fgp9K1SlZgZnLNFKHT3KNWNOZIT2r KlyinO5q69HjIyJa4TBLDdxOqFr2T8nw4CoQA8Bql7279P2dKlfq6HxG1O2B5bQe8O3r lcY/Maa3gJ60r8hQf3nxaW6/+zdoZrjvwKW88RHs6wmgI/VbPBkIwVG9QxIy0goLjCVr E6mQ==
MIME-Version: 1.0
X-Received: by 10.50.43.225 with SMTP id z1mr2320596igl.29.1417786353165; Fri, 05 Dec 2014 05:32:33 -0800 (PST)
Received: by 10.64.78.98 with HTTP; Fri, 5 Dec 2014 05:32:33 -0800 (PST)
Date: Fri, 5 Dec 2014 14:32:33 +0100
Message-ID: <CAFJm-3EpwQqNfO5GB7sCGXOapN2YdR5Pnt=Bf4YM_Q9hh5Pquw@mail.gmail.com>
From: Daniel Bevenius <daniel.bevenius@gmail.com>
To: webpush@ietf.org
Content-Type: multipart/alternative; boundary=089e010d8dd6f2ab870509781bda
Archived-At: http://mailarchive.ietf.org/arch/msg/webpush/QiGDIxY7TX6fQp7as0SUveLaNfQ
Subject: [Webpush] Channel status question
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: <http://www.ietf.org/mail-archive/web/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, 05 Dec 2014 13:32:38 -0000

--089e010d8dd6f2ab870509781bda
Content-Type: text/plain; charset=UTF-8

I was wondering about what should be included in the returned status for a
channel, mentioned in section 6 [1]:
"Clients can check the status of individual channels by sending GET
requests to the channel URI."

Is this a simple return status code of 200/404, or should there be other
information included like when the channel expires?

Thanks,

/Daniel


[1] https://tools.ietf.org/html/draft-thomson-webpush-http2-01#section-6

--089e010d8dd6f2ab870509781bda
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I was wondering about what should be included in the =
returned status for a channel, mentioned in section 6 [1]:</div><div>&quot;=
Clients can check the status of individual channels by sending GET requests=
 to the channel URI.&quot;</div><div><br></div><div>Is this a simple return=
 status code of 200/404, or should there be other information included like=
 when the channel expires?</div><div><br></div><div>Thanks,</div><div><br><=
/div><div>/Daniel</div><div><br></div><div><br></div><div>[1]=C2=A0<a href=
=3D"https://tools.ietf.org/html/draft-thomson-webpush-http2-01#section-6">h=
ttps://tools.ietf.org/html/draft-thomson-webpush-http2-01#section-6</a></di=
v></div>

--089e010d8dd6f2ab870509781bda--


From nobody Fri Dec  5 09:52:28 2014
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 EB23E1AD4A4 for <webpush@ietfa.amsl.com>; Fri,  5 Dec 2014 09:52:26 -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 xOP0J-ou5tGk for <webpush@ietfa.amsl.com>; Fri,  5 Dec 2014 09:52:23 -0800 (PST)
Received: from mail-ob0-x22b.google.com (mail-ob0-x22b.google.com [IPv6:2607:f8b0:4003:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E3941AD4A1 for <webpush@ietf.org>; Fri,  5 Dec 2014 09:52:23 -0800 (PST)
Received: by mail-ob0-f171.google.com with SMTP id uz6so894425obc.30 for <webpush@ietf.org>; Fri, 05 Dec 2014 09:52:22 -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=J1VE8CJ273rCCZpXAY/3N/1sml8O78K3hTneEOQipn0=; b=qeR649EMlCIa9l2u7PYfLSTgInJfYpW+rbt7YxN8f0Xgaiy1e140z7QPbR4BlPb9KN W9kpP3Skk2MTIEK/ps8z7dUdqbJyqef0ka4rHnsvtjsTFFsiFxpGsAWpsDQ3+XWGAG0A MfNJqZD1NxSOFNzL/kITKuqCQBlXv4DWlri0ogj7hXgERlvpT5xeIOb1fXG0kXtVHGBi 180jsjAV/r4wrrdStWOCnO1xxMpLX/8OMPEtiq6ky7ixXJjMaO75SCQAA16VMq56x0jK SbUazMxG4wsoDujHUVrpxi1amDS1uvsmO/oNepwg6f4JG6aXBTXRFJk5QG/B4Y+KQjl/ FXcg==
MIME-Version: 1.0
X-Received: by 10.202.44.213 with SMTP id s204mr10579365ois.77.1417801942636;  Fri, 05 Dec 2014 09:52:22 -0800 (PST)
Received: by 10.202.115.4 with HTTP; Fri, 5 Dec 2014 09:52:22 -0800 (PST)
In-Reply-To: <CAFJm-3EpwQqNfO5GB7sCGXOapN2YdR5Pnt=Bf4YM_Q9hh5Pquw@mail.gmail.com>
References: <CAFJm-3EpwQqNfO5GB7sCGXOapN2YdR5Pnt=Bf4YM_Q9hh5Pquw@mail.gmail.com>
Date: Fri, 5 Dec 2014 09:52:22 -0800
Message-ID: <CABkgnnVMVz9LZcj9=XDcJVwP950aBgZGHxW9befOGmGeqO+iHw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Daniel Bevenius <daniel.bevenius@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/webpush/9V8eVCvUxrHtDYeidnyPRc-l2vw
Cc: "webpush@ietf.org" <webpush@ietf.org>
Subject: Re: [Webpush] Channel status question
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: <http://www.ietf.org/mail-archive/web/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, 05 Dec 2014 17:52:27 -0000

On 5 December 2014 at 05:32, Daniel Bevenius <daniel.bevenius@gmail.com> wrote:
> Is this a simple return status code of 200/404, or should there be other
> information included like when the channel expires?

The idea here is that the client can request the last message that was
sent on that channel.  That definitely needs work.


From nobody Fri Dec 12 16:01:33 2014
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 7E3621A1AB9 for <webpush@ietfa.amsl.com>; Fri, 12 Dec 2014 16:01:31 -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 bLmSA7nHl2lJ for <webpush@ietfa.amsl.com>; Fri, 12 Dec 2014 16:01:30 -0800 (PST)
Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F29CA1A1A9F for <webpush@ietf.org>; Fri, 12 Dec 2014 16:01:29 -0800 (PST)
Received: by mail-ob0-f176.google.com with SMTP id vb8so10712245obc.7 for <webpush@ietf.org>; Fri, 12 Dec 2014 16:01:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:date:message-id:subject:from:to:content-type; bh=p65GnonkodZTeAlaL9HVPXRWmbejd8K5EzDwAyMHL7A=; b=XbEVWvZJkMzUxAPK1K0FPyvDBfv3M1PXTD2uWVxDMKyo+6YuG1PPYbwFK4Iyn6Yecl A8UBeMZOzoYcHIqD5l/jj1HqJT25174C2cfYO6SVZUXi6d8w04y1eIclJ60EF2Dh7uEr 1atWt4OmGrJgMwCw+ToEu7wypqg9ZX5LsLpjTmS+rE6bOGgN1ab34EHlj2MDIASYOewY HoSsZUYmmWP6mmf4+p+4xo2ldlGyBURQ+7PYchjN8ze6txAbvdmE9ITMpZgZM3sv5irA BSMVBCQTMxq2AB+2IA/mNSRcVIkz/DZ4qKdjLLj+gD/U5MLry7UR0wwxbnuFfskMAG7c pa9Q==
MIME-Version: 1.0
X-Received: by 10.202.51.8 with SMTP id z8mr11205111oiz.77.1418428889186; Fri, 12 Dec 2014 16:01:29 -0800 (PST)
Received: by 10.202.107.19 with HTTP; Fri, 12 Dec 2014 16:01:29 -0800 (PST)
Date: Fri, 12 Dec 2014 16:01:29 -0800
Message-ID: <CABkgnnUxA0uOCF3TqUkfv2hjJnKfyKyR+EVai8Ag060p6KBgug@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: "webpush@ietf.org" <webpush@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: http://mailarchive.ietf.org/arch/msg/webpush/AO_qTvcM6o5ZuiD4PGQpotop44A
Subject: [Webpush] webpush for http2 -02
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: <http://www.ietf.org/mail-archive/web/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: Sat, 13 Dec 2014 00:01:32 -0000

I've revised the protocol proposal for web push.

https://datatracker.ietf.org/doc/draft-thomson-webpush-http2/

A more readable HTML version is here, though this will be updated as I
make changes:

https://martinthomson.github.io/drafts/draft-thomson-webpush-http2.html

This includes some fairly significant changes to incorporate the
feedback I've received from various corners.  I haven't prepared a
change log, but I believe that this covers at least the high points of
what was discussed at the meeting:

 - names of everything have changed
 - I've added examples and expanded the explanatory text throughout
 - removed use of 202 due to a privacy concern (thanks to Robert
Sparks for sharing his experience with this)
 - significantly expanded the operational considerations regarding
load distribution and message retention
 - minimum message size of 4k added

