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

Michael Toomim <toomim@gmail.com> Thu, 24 October 2019 09:55 UTC

Return-Path: <toomim@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 C4FD612007A for <dispatch@ietfa.amsl.com>; Thu, 24 Oct 2019 02:55:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 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_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 G4Lr9-MwXbn1 for <dispatch@ietfa.amsl.com>; Thu, 24 Oct 2019 02:55:41 -0700 (PDT)
Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (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 5DE50120024 for <dispatch@ietf.org>; Thu, 24 Oct 2019 02:55:41 -0700 (PDT)
Received: by mail-pf1-x436.google.com with SMTP id q7so14810373pfh.8 for <dispatch@ietf.org>; Thu, 24 Oct 2019 02:55:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=IWud95icTFamCB4g1K4TET6Pg+6YkkO+A0enn+Oakig=; b=pyHfy8W2+XRaNrGP4t2F1y79uvlRCZ55YPFdKSQH3/rQr8t7O2NEwWAnVh9WFNB5uR xfccQB3nOtO68JOy2pUX8b2y1xtVTJTbfhh6k4NPe42A5ogrIsUleuMClQrN5X86oU9D LIUs0zRqmi35RDJAeRS6phf1rxKJIa4CuyRroh8TEUrUZuejHMSZZdY1Vv6ap0ok6gvp 5AAYloQ2CGqVXqwaC4AMMxreVI+fIOWc3nh39u8NF37ISpZNAlpLgxu91FLW+yJHhApR dlue+1pFB1uBQtGCIK4lPSAupMec72uS9+MKn77b3anXZUufQQ7lria5x2OBk+ChVQuF N2fQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=IWud95icTFamCB4g1K4TET6Pg+6YkkO+A0enn+Oakig=; b=SXYV4zPPIXvMRp8pzwRGGpaLdbsSDnho0izK2aryJX76zTjV8Ldkxq1KWZtUW1P+0a SgUEzRtawHG+XU7jjh3VSpEo3G8x/o2xY/WC3bboF9r3Xmrdwd7vzX7P01vWRkb1I9H4 QsXDeEB/sJuGKbllZ42UvD1mEbOzdR+5mzoaqWyGnkuBD6XNKASMDkmOt9h6EWy8Rxhh Cf2PlcvmotdLSHXX650IyFtdeE4gyZwDeeYepvThcg4ktBQCCGI2Okizg9mtDQr2etDv MLPCtNndP5pDBc0HLhJOWmJbKTbh9wDVV5qkq9nOXQhbr3dW0QQbeiHrg/8aWxg2kfj9 NJPg==
X-Gm-Message-State: APjAAAUKYGbFrLgQ8DdYP2j3yW4ODQZFk/gwaj/rHzVsjhdwdkDcHI3I 6Zvff6yc06eECKZ0Cjr7Xx0=
X-Google-Smtp-Source: APXvYqw9b+skhO62nnQmuKEo+reE9kxanV5Cm/RsjNwZ3Do2sDUlszTOmHl59IAMfqoJTrXX298uPQ==
X-Received: by 2002:a17:90a:fe04:: with SMTP id ck4mr5960408pjb.90.1571910940308; Thu, 24 Oct 2019 02:55:40 -0700 (PDT)
Received: from [192.168.42.3] (135-180-2-130.static.sonic.net. [135.180.2.130]) by smtp.gmail.com with ESMTPSA id d10sm25208890pfh.8.2019.10.24.02.55.39 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Oct 2019 02:55:39 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_5FDF5B8A-375B-4D3C-B34D-0219494C477F"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Michael Toomim <toomim@gmail.com>
In-Reply-To: <cb2a76b8-90ae-ada1-5a9a-835bb812ccff@gmx.de>
Date: Thu, 24 Oct 2019 02:55:38 -0700
Cc: Bron Gondwana <brong@fastmailteam.com>, dispatch@ietf.org, Seph Gentle <me@josephg.com>, Rafie Walker <slickytail.mc@gmail.com>, Bryn Bellomy <bryn.bellomy@gmail.com>, greg little <glittle@gmail.com>, Braid <braid-http@googlegroups.com>
Message-Id: <086C29B2-00BC-403B-8080-1AAE3A99D382@gmail.com>
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>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.3124)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/7-XaCUwsoA8E0y-zMtbX4QRKu2Y>
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 09:55:43 -0000

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>