Re: [dispatch] Potential incoming work: web push for IMAP, CalDAV and CardDAV

Ranjit Avasarala <ranjitkav12@gmail.com> Thu, 24 October 2019 12:32 UTC

Return-Path: <ranjitkav12@gmail.com>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C72441200FA for <dispatch@ietfa.amsl.com>; Thu, 24 Oct 2019 05:32:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.747
X-Spam-Level:
X-Spam-Status: No, score=-1.747 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 zSCebgaSnhl7 for <dispatch@ietfa.amsl.com>; Thu, 24 Oct 2019 05:32:37 -0700 (PDT)
Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) (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 53AEE1200E0 for <dispatch@ietf.org>; Thu, 24 Oct 2019 05:32:37 -0700 (PDT)
Received: by mail-wr1-x42f.google.com with SMTP id a11so9790903wra.6 for <dispatch@ietf.org>; Thu, 24 Oct 2019 05:32:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/qmyP0m78YUlwLZ0a3E0/xbBJg+L23mmeOUto+l7Ius=; b=Hj3JaPpL2V6bFUK/DlREI12DinKVqKxQQ2DyfLiABVKVyapg8ZXq3c8HE/pl7VkIGW FaSgGy5b8qkGc/oY4dJTDENUzqIubfEN5JnVfIT+7NNITc8PHLqWe7riuL/O9Dw1aKBB BB5UalQmIwJu5zKTdfQH7IXNeqVW3nmiorfG2xLwAB0yN02n/KAYb0rCvXMLn2QJ7TFy NDsh3xK5bCR6m9deZ/4VY+jRj6R/AEOhmg6YZ2lOfu2c1a5toD6VjaZJ5Q9YmosP27Yg xQVXo6eUKcGdhXhvSvRireV3GlENR+COsNtSi9LrKCEhok06n1tr0ltV6lGJrU1nF77U upTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/qmyP0m78YUlwLZ0a3E0/xbBJg+L23mmeOUto+l7Ius=; b=Ep3IzqdVCqvGWGQoQunLlbgAUkhCnn8BNgdK1GmdRDKNBlC9r51K/J4oVpi4x2REIE Z+WnjRDBU308YA8AGbV3rhCPNf7Z16mryNDoQ1uqfFX4lFgCIqnILjC9GmkviwLfhuX9 D1JSOKuDd4B2v2idHJN0r/k3zdxbC3wE/QzjaryQZxTi/AfaXQeicfK84/836rawsa8i DkcJppS3SWgJBgSZpAlvk0n9H/5wEFZO7msTgY0tTNt4Zx1yQAcjDg8WTCg40UjP8sUS PYPgnb4UW+UQlBZ38oah4zeoD1buvHin6eWIy6nIm5en4RuPLFPBu7nY4ToUTP4p4E/A TonA==
X-Gm-Message-State: APjAAAX7lq78bChbc0bTwqzbWoBY4oj8b6SYxrY/H7J3PFOhGdCOFDec 4A5HMvCf5WqUK2b+Qh+H9VR7b2mw5b0vwfCiCLY=
X-Google-Smtp-Source: APXvYqzjUJG6Z3J2cEwcZ8kB7WBZshtcM1l8KIuS9y4jN6HTMbg4Xy+9Jqw4cuCBUr6VNdk/az98zDrnNlAZLHmzCfE=
X-Received: by 2002:a5d:54c7:: with SMTP id x7mr3415599wrv.99.1571920355786; Thu, 24 Oct 2019 05:32:35 -0700 (PDT)
MIME-Version: 1.0
References: <290514e7-79ce-4852-bf05-a684e2e8d045@beta.fastmail.com> <DFC3797D-DA12-4470-9CBE-D7BD981DB6CE@gmail.com> <839ea4e5-db2d-8220-6058-93869a29c185@gmx.de> <82F33D05-D8BC-4F69-A198-677773F3427C@gmail.com> <11cabf2e-1550-53e5-60dd-7d1bdf65805a@gmx.de> <B1A18B63-B78A-4AE5-A164-A9CE0B13D326@gmail.com> <450f4113-7cdb-f65e-761d-9023e3d625bd@gmx.de> <CEECFFAD-ECAA-41FF-8817-4090DF694B27@gmail.com> <a89ee52b-306b-60ca-35a6-e912c2a2eb82@gmx.de> <34B388A2-50A7-4344-98B6-0D8B08E1277F@gmail.com> <cb2a76b8-90ae-ada1-5a9a-835bb812ccff@gmx.de> <086C29B2-00BC-403B-8080-1AAE3A99D382@gmail.com>
In-Reply-To: <086C29B2-00BC-403B-8080-1AAE3A99D382@gmail.com>
From: Ranjit Avasarala <ranjitkav12@gmail.com>
Date: Thu, 24 Oct 2019 07:32:24 -0500
Message-ID: <CAFXT-puGJHftEujXPVKT0XyHFY+W-EjydbJ1Gz40nU90EFPc8Q@mail.gmail.com>
To: Michael Toomim <toomim@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, dispatch@ietf.org, greg little <glittle@gmail.com>, Braid <braid-http@googlegroups.com>, Rafie Walker <slickytail.mc@gmail.com>, Seph Gentle <me@josephg.com>, Bryn Bellomy <bryn.bellomy@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000006c06a50595a73a8c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/07bHk4dQeMj-RVu7NU94uS063o0>
Subject: Re: [dispatch] Potential incoming work: web push for IMAP, CalDAV and CardDAV
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Oct 2019 12:32:39 -0000

why can't we use WebSockets which is based on HTTP and helps keep session
active?

On Thu, Oct 24, 2019 at 4:55 AM Michael Toomim <toomim@gmail.com> wrote:

> Julian:
>
> And the end of the day, this is still HTTP. The response needs a media
> type that describes the payload. You are defining a new payload format
> that can handle multiple resources, so you need a container-like format.
> multipart can do that, but I agree the mail format legacy with the
> boundary string is sub optimal.
>
>
> Ah, yes-- that *is* what we are doing.  Thank you for articulating it
> nicely!
>
> But then, sending Content-Length inside the payload is a bit weird as
> well; it defeats streaming the part; you may want to consider a binary
> container format instead (based on HTTP chunked, for instance).
>
>
> Ah, yes.  Well, you can still stream updates here by breaking up a single
> change into multiple patches.  Then each patch can occupy a different
> message.  You can make them as small as you'd like; you'll only face the
> overload of an extra frame header in http/2.
>
> I'm cc'ing the braid list, in case they are interested. [Thread link]
> <https://mailarchive.ietf.org/arch/msg/dispatch/gU2cWDGgxc-1O1xAubdIxNeeo58>
> _______________________________________________
> dispatch mailing list
> dispatch@ietf.org
> https://www.ietf.org/mailman/listinfo/dispatch
>