Re: [dispatch] Proposal for Per Resource Events Protocol
Kévin Dunglas <kevin@dunglas.fr> Thu, 02 November 2023 17:13 UTC
Return-Path: <kevin@dunglas.fr>
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 D9ECEC1519BE for <dispatch@ietfa.amsl.com>; Thu, 2 Nov 2023 10:13:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.905
X-Spam-Level:
X-Spam-Status: No, score=-1.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=dunglas-fr.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3ATmE1YvORy7 for <dispatch@ietfa.amsl.com>; Thu, 2 Nov 2023 10:13:39 -0700 (PDT)
Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0821EC151062 for <dispatch@ietf.org>; Thu, 2 Nov 2023 10:13:32 -0700 (PDT)
Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-53e70b0a218so2075604a12.2 for <dispatch@ietf.org>; Thu, 02 Nov 2023 10:13:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunglas-fr.20230601.gappssmtp.com; s=20230601; t=1698945211; x=1699550011; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dudHaWxfXaV+tM33txma3oe0yikbs4IUHoL0y764nVI=; b=c/zwcfWuE2/MC1EacqSDPHeSn8LE6S+GELqG0KJwtKoqt7/GQAoUOUA12AEXFarbUz rcud9hPKAoRDlJvIHhDhoAOx+XVVKhExRJMIQ983F6CX1bI0o3dmvlHxMNXMzq4AzRp+ QQkVfP5gSP8w4AhPgRUPkMwFEnS1T2mU6ta5RJqxYFAlQ+KHWCaFiqusu50vJVXIzEXO WQHEqnjZ7NqAIjwPBdrtHy1PxEvWnpNmSb2T7r8+i6p1JgmvPRoQD1B+wIo+kEf6OJjd PH216Drvy5rmUCxQNKnTQARkZQn0Kq6bMVjxmzkrSSgaD/Ik6BAj9RudkPXDIPw7j+X+ lAzw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698945211; x=1699550011; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dudHaWxfXaV+tM33txma3oe0yikbs4IUHoL0y764nVI=; b=oXhUzNrS6w19E3XsXRoLlbmawGJ63OjAcg+V3JefoNSPbJgQZwOENvQyKu7+9NeKY5 a/Zui1UFsiJ+GqHEIAKWe2n25fHg9Qh1/K81ygE92eGdBTQ6Bde4yg1d5axHRJgz2vr9 nxDeM9Qe0FqUC2xXOmyJhxsNIdgPPrenT5QOzjQM1llsnADv78Ly/JdndKlI6TgiTAhY tcS5ziD+GWKHCBWkbfSImugcqDVT/wYIwJUGxbdA1o/1Y3QHeCFCgv62zkLZWovGR3e3 MvoV7IfbGNYyhUIr5MVafCQ5N2qKfP2iDqPQcQS7hPOcNqQEjGP4BwSkPKvVD2Yr2FA3 CtFA==
X-Gm-Message-State: AOJu0YzDG5asho4f3pdcAdnTYy2bZhOq3G1oA3a2y4bvVVk32n4S6sUA B/ToeRCyg1J3o1D+O4EFmmJ4ozIALzpHovPeDcOsNKegjv4X+fM1ekpD6w==
X-Google-Smtp-Source: AGHT+IHFd/OHr+lTyirW/rdckzREbKeXUN7jbumuSa/tpvJ1/a9mU0wtwyw1qhg13suOQFG4kuCjk/uvv+y+71gPKVg=
X-Received: by 2002:a50:bb0e:0:b0:542:f328:5671 with SMTP id y14-20020a50bb0e000000b00542f3285671mr10977809ede.31.1698945211081; Thu, 02 Nov 2023 10:13:31 -0700 (PDT)
MIME-Version: 1.0
References: <87lebuz6nh.fsf@hobgoblin.ariadne.com> <o_LYdaByeDM_mxWhT6OO5PR8fya6PrYRVXreGZ8Ks6ncDUVOlZa-q7JnIHISCwrJucrxxQm0fgJBS9Fbg0HNfwZXQwBXhhSf3lsbXwcTuPQ=@protonmail.com>
In-Reply-To: <o_LYdaByeDM_mxWhT6OO5PR8fya6PrYRVXreGZ8Ks6ncDUVOlZa-q7JnIHISCwrJucrxxQm0fgJBS9Fbg0HNfwZXQwBXhhSf3lsbXwcTuPQ=@protonmail.com>
From: Kévin Dunglas <kevin@dunglas.fr>
Date: Thu, 02 Nov 2023 18:13:19 +0100
Message-ID: <CADU7aotY+EL8vJYZAXAUrubfOCUJbWYUzYUGB+HmeyJyupYUyw@mail.gmail.com>
To: Rahul Gupta <cxres=40protonmail.com@dmarc.ietf.org>
Cc: worley@ariadne.com, dispatch@ietf.org
Content-Type: multipart/alternative; boundary="000000000000ccbcdf06092e8185"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/PENl03brX8UJI4Rcam3ZPYnf5kI>
Subject: Re: [dispatch] Proposal for Per Resource Events Protocol
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.39
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, 02 Nov 2023 17:13:44 -0000
Hi Rahul, Our team has been working for several years on a very similar protocol called Mercure: * Up-to-date spec: https://mercure.rocks/spec * Older I-D: https://www.ietf.org/archive/id/draft-dunglas-mercure-06.html The main difference is that we basically "ported" and extended the WebSub protocol (https://www.w3.org/TR/websub/) ro work over SSE. This approach has the benefits of working everywhere (even in HTTP/1.1 contexts), to be easy to make compatible with environments not able to maintain persistent connections (PHP, serverless, CGI etc) and to be very easy to implement (no code nor SDK required client-side). Also, Mercure is already implemented and used in the wild by a lot of existing apps, and free software tools (including the popular Symfony web framework): https://mercure.rocks/spec#implementation-status It also a very dynamic community on GitHub: https://github.com/dunglas/mercure Our previous attempt to "promote" the spec as a RFC didn't get much feedback ( https://lists.w3.org/Archives/Public/ietf-http-wg/2020JulSep/0020.html) so we are in the process of submitting the spec as independent submission. I'm glad to see that there seems to be a desire to standardize something on this subject (PREP, Braid...). Would you and Michael be available to discuss how both specs can work together? Best regards, On Mon, Oct 23, 2023 at 7:30 AM Rahul Gupta <cxres= 40protonmail.com@dmarc.ietf.org> wrote: > Dale, > > Thank you (again!) for your interest and feedback. See responses > interleaved! > > BR/Rahul > > ------- Original Message ------- > On Monday, October 23rd, 2023 at 3:00 AM, worley@ariadne.com < > worley@ariadne.com> wrote: > > > > Rahul Gupta cxres=40protonmail.com@dmarc.ietf.org writes: > > > > > I have submitted my proposal for the Per Resource Events > > > https://github.com/CxRes/prep Protocol as an > > > Internet-Draft > > > > https://datatracker.ietf.org/doc/draft-gupta-httpbis-per-resource-events/ > > > > > > A few bits: > > > > - Section 5.1 seems to introduce "event fields" but it doesn't provide > > any description of what they are. This is particularly treacherous > > because the use of "fields" in "event fields" evidently does not mean > > exactly the same thing as "header fields" (as event fields aren't > > header fields), but are likely to have the same names as header > > fields, and event fields have values in some (different) way, which > > values have similar semantics to the corresponding header field > > values. > > I do explicitly define "event fields" in 3.5 Terminology. > > Would you like me to expand on it or put it in a different manner? Or > would you like a more explicit link back on first use in each major section? > > > > > - A few fairly complete examples would help. In particular, I think > > that the concept is that PREP is started by the client sending a GET > > containing the appropriate headers, then the server sends the header > > of a response containing the appropriate headers, then the first part > > of a multipart body and the first body part (containing the current > > state of the resource), then a multipart divider ... then possibly a > > delay ... then a second body part (containing the first update), then > > a multipart divider ... then possibly a delay ... But I don't think > > this is stated clearly near the beginning, nor is a complete example > > given. > > Given that you seem to describe PREP so well, it feels like the situation > is pretty good ;). There is also a cultural aspect here, I am still > relatively unfamiliar with the expectations of IETF/RFC readers. So, let me > ask you how you might approach this… > > 1. Would you like a complete example, say as an unnumbered section at the > end (linked from the introduction)? > 2. Do you want me to expand "1.2 How it works" a bit? > > > > > - Do you have an initial application? It always helps to get traction > > if you have an existing need that can be satisfied, or better, two or > > three. > > There is interest in Solid community to implement this (This work as I > stated in my original post came about because of my work on Solid > Notifications Protocol. The community has a real desire in Solid for a > simpler notifications system). There is a (public) expression of interest > from a private server developer and discussions with open source server > implementers. This was held back in part because I only last night released > the companion specification that links Solid and PREP, conveniently called > Solid-PREP <https://cxres.github.io/solid-prep/protocol/>. So > implementations are likely to come online more in time for IETF 119, > unfortunately. > > > > > - There's some sort of index at the end, but it's difficult to read, and > > it appears to only be a list of places where specified terms appear. > > This doesn't add much value, since every tool a person might use to > > look at draft-gupta-httpbis-per-resource-events has a string-search > > capability. > > > > This index is auto generated by RFC tooling (I only mark words that I want > indexed, because I want them recorded as significant terms in the XML). I > find the generated index unintuitive too. Please complain loudly :P to the > RFC tooling folks as this affects every I-D! > > > Dale > > > > _______________________________________________ > > dispatch mailing list > > dispatch@ietf.org > > https://www.ietf.org/mailman/listinfo/dispatch > _______________________________________________ > dispatch mailing list > dispatch@ietf.org > https://www.ietf.org/mailman/listinfo/dispatch >
- [dispatch] Proposal for Per Resource Events Proto… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- [dispatch] Fw: Re: Proposal for Per Resource Even… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Fw: Re: Proposal for Per Resource … Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… Tim Bray
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… worley
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Kévin Dunglas
- Re: [dispatch] Proposal for Per Resource Events P… Rahul Gupta
- Re: [dispatch] Proposal for Per Resource Events P… Michael Toomim
- Re: [dispatch] Proposal for Per Resource Events P… Kévin Dunglas