Re: Byte range PATCH

Eric J Bowman <mellowmutt@zoho.com> Wed, 10 August 2022 21:13 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1FDAFC138FA2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 Aug 2022 14:13:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.759
X-Spam-Level:
X-Spam-Status: No, score=-2.759 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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); domainkeys=pass (768-bit key) header.from=mellowmutt@zoho.com header.d=zoho.com; dkim=pass (1024-bit key) header.d=zoho.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 0oPFyFq7K9cp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 10 Aug 2022 14:13:04 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0CB1C13D06E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 10 Aug 2022 14:13:03 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1oLsyA-003ug1-A3 for ietf-http-wg-dist@listhub.w3.org; Wed, 10 Aug 2022 21:10:26 +0000
Resent-Date: Wed, 10 Aug 2022 21:10:26 +0000
Resent-Message-Id: <E1oLsyA-003ug1-A3@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <mellowmutt@zoho.com>) id 1oLsy9-003uf4-9F for ietf-http-wg@listhub.w3.org; Wed, 10 Aug 2022 21:10:25 +0000
Received: from sender4-pp-o91.zoho.com ([136.143.188.91]) by mimas.w3.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <mellowmutt@zoho.com>) id 1oLsy6-00BcL7-VL for ietf-http-wg@w3.org; Wed, 10 Aug 2022 21:10:24 +0000
ARC-Seal: i=1; a=rsa-sha256; t=1660165809; cv=none; d=zohomail.com; s=zohoarc; b=KGwcR63a5m1O8Mwy6gCgLO0gw2o4i9Kw0o68Nkc9tc5e5L8sJTmC+KRUZAQdNHafuwx7/i74azPMeuvexLkozuSwWi7+RCpL7v2FTnZU/oMwCARWJE9X/rRlg5ag5QRcFR2YrCF+bBC8fFD+7LhUpzwSk08BxqLatqg4A1UynYk=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1660165809; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=N/SCjvWpz+BXOh92jubjsxxzY3lKcsPxGyi6m/XYLgA=; b=NWPLuHVabvUoQ1NmBgTS2qMFroMZgTYuK1TXBwcINKkLcQYUC6mSFTdZDIBbpq2u8s3QH5xy5GWjeZiZDjiNNAOVzKr0QcywO+hg+48e2HIkmjJ/smkRTiAabhr6RgUjxm8iobT0rIWx/AZ0tHPRkF/UUV8giPsfCHRl4lBvPns=
ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=mellowmutt@zoho.com; dmarc=pass header.from=<mellowmutt@zoho.com>
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=It33fCpQuAvbu6wCDmXgfx1ApK3rOZtKe5fea1J9YkuYqaNjycwxe/8DaAu0Fbq4KQJC349xE91b PdjG7PnqKjQnEsZPPm+R3LzK4MUoqHUqLXdZ/Im/onL3tnMhShZj
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1660165809; s=zm2022; d=zoho.com; i=mellowmutt@zoho.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-Id:Message-Id:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Feedback-ID:Reply-To; bh=N/SCjvWpz+BXOh92jubjsxxzY3lKcsPxGyi6m/XYLgA=; b=UxpvSPYaoAroJUQQN17NqAtSUPOsCIjTWF6bsRQRErhKwfG2aGkFKt3TcJpywuOb 10hiB6zUtmj+UB0CBu2S6X0rW3xiEqSWtR0zq/PL8/lhgfADxfja5Nrfe66wXtwjlX0 rsa/VV7+OwmQuBZBDrA82sK6tJv2jNxZvExmF48Y=
Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1660165807119831.3068297999827; Wed, 10 Aug 2022 14:10:07 -0700 (PDT)
Received: from [65.117.211.248] by mail.zoho.com with HTTP;Wed, 10 Aug 2022 14:10:07 -0700 (PDT)
Date: Wed, 10 Aug 2022 14:10:07 -0700
From: Eric J Bowman <mellowmutt@zoho.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: ietf-http-wg <ietf-http-wg@w3.org>
Message-Id: <1828997dbf3.c7d184ab100344.6497204837664726716@zoho.com>
In-Reply-To: <2f7d835d-dfcf-1571-28a1-19a328f99fd1@gmx.de>
References: <E511F4BD-B422-46DA-8409-EBBD684098A6@bzfx.net> <CAP9qbHWtNL+U1XBHi5566S54wV2iazk2TnwZSKA5NtRVswkd=w@mail.gmail.com> <1828086138e.d0af5fbd69268.3210279692370972800@zoho.com> <734BB380-2BA8-45C2-BECB-2C33129FB168@bzfx.net> <1828133d77b.10112854770874.8646090352104563359@zoho.com> <7271e385-3ea5-ca02-dbbc-7604cdcfb1ad@gmx.de> <18281ac68ff.b2d702d272003.1146421763870752425@zoho.com> <2f7d835d-dfcf-1571-28a1-19a328f99fd1@gmx.de>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_251124_1735055775.1660165807091"
Importance: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
Feedback-ID: rr08011227f3bf24589111907aaba8841c0000e94e84ab46d798d3025b94e08e3901772c87bca1f75126d365:zu08011227ace5b262df76dd10e349857a00001bbc95e55b102ec66053dde79e44b7d41af05ef1a12f5ba87c:rf080112326df4e58372099617f7ed7cda0000e1b39dad2986fced31a539e0de0c475fdd4c828d2754b960b3c4ff1cdda3d7a95057bb43:ZohoMail
Received-SPF: pass client-ip=136.143.188.91; envelope-from=mellowmutt@zoho.com; helo=sender4-pp-o91.zoho.com
X-W3C-Hub-DKIM-Status: validation passed: (address=mellowmutt@zoho.com domain=zoho.com), signature is good
X-W3C-Hub-DKIM-Status: validation passed: (address=mellowmutt@zoho.com domain=mellowmutt@zoho.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-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, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1oLsy6-00BcL7-VL 10faddd46d32ad1910b2b7fddafabc3a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Byte range PATCH
Archived-At: <https://www.w3.org/mid/1828997dbf3.c7d184ab100344.6497204837664726716@zoho.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40329
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Julian Reschke wrote ---



 >
> Yes, there is at least one more (SEARCH).
 >



lol, you just made me scour the IANA registry trying to figure out what method you meant



>
 >>
>> not being in the core spec? Can we revisit that decision? Or if not, can 
 >>
>
> No.
 >



OK. If the solution to my PATCH issues is to define a new method POOCH, I just don't want to be told it isn't core, or have the rug pulled because we've decided standalone method definitions have to relate to something larger i.e. WebDAV or other historical usage.
 


>

>>
>> we revisit the definition of PATCH to decouple it from applying to a 
>> single target resource, to allow patch files to be first-class resources 
>> in their own right? 
 >>
>

> I don't understand what you're trying to say here. Maybe an example 
> would help.
 >



Googly-eyed Hitler cats:



[link] https://lists.w3.org/Archives/Public/ietf-http-wg/2022AprJun/0252.html



I built up to that by describing how RFC 5789 is diff/patch/filesystem-centric, and how I want it to be copacetic with DARCS patch theory. It's hard to revert a patch that only ephemerally existed as an HTTP request entity-body. The subtle difference is moving forward in time with a reverted representation, vs. rolling a resource back to a previous temporal state.



So DARCS considers patches to be first-order resources. In HTTP, this means we *ought* to be able to link to them in a PATCH request. A find/replace across a project, may be the same actual instructions applied to 1+n files. Or a stored procedure, i.e. apply googly-eye filter to a collection of 1+n Hitler kitties.

-Eric