Re: Byte range PATCH

Julian Reschke <julian.reschke@gmx.de> Wed, 03 August 2022 09:31 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 86B8DC157B49 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 3 Aug 2022 02:31:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.961
X-Spam-Level:
X-Spam-Status: No, score=-4.961 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.248, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_MED=-2.3, 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); dkim=pass (1024-bit key) header.d=gmx.net
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 BETUQYaKef72 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 3 Aug 2022 02:31:29 -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 B1BD2C157B43 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 3 Aug 2022 02:31:29 -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 1oJAgC-00Fhep-Eh for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Aug 2022 09:28:40 +0000
Resent-Date: Wed, 03 Aug 2022 09:28:40 +0000
Resent-Message-Id: <E1oJAgC-00Fhep-Eh@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <julian.reschke@gmx.de>) id 1oJAgB-00Fhdr-Fe for ietf-http-wg@listhub.w3.org; Wed, 03 Aug 2022 09:28:38 +0000
Received: from mout.gmx.net ([212.227.17.21]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <julian.reschke@gmx.de>) id 1oJAg8-00AJOI-Ku for ietf-http-wg@w3.org; Wed, 03 Aug 2022 09:28:38 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1659518904; bh=HJcDECGt1xCvi8+n0nUQuEO9NzTSvkNJvCz6RqgIy4M=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=bEa2Is2MUAj8PHXeMrJOeode4JBjqoH4686OyJ3P40LmPTzEAJniSBixOAa9+zimm rxQ22Rg5T2VIfShDDoAL8+qHS16k09QTjwlWrgUAwlVecLJPYH07nXlcEFNsL4QK70 XO1JQ9TjpjcMau/HDM2yUBgMUjWgwoGczC6nAkwc=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.62] ([84.171.154.181]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MpDJX-1neGff1sat-00qf8h for <ietf-http-wg@w3.org>; Wed, 03 Aug 2022 11:28:24 +0200
Message-ID: <41c96787-7330-e9e0-da59-68c6dd197c58@gmx.de>
Date: Wed, 03 Aug 2022 11:28:21 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0
To: ietf-http-wg@w3.org
References: <E511F4BD-B422-46DA-8409-EBBD684098A6@bzfx.net>
From: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <E511F4BD-B422-46DA-8409-EBBD684098A6@bzfx.net>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:gKwOo1fDlWmGKxEaivcJWpjZqyDDkGreK41WZBK4IH6J3/oImVJ /TG7W0l/GDf44ywQiIU6JwsjSBZuFFBf5OI6frKnqpfTGneBUbyqCkN4+hirdAtwCiQjT51 2hiCSQHnVBMclVeWDqQZ8FZZnT9x+rSJBiH/+2pIp2JvbZcjPbaXHNtq76rd0RUleZ+PhbJ hcl1JT0qxpIBQjRWtK1rw==
X-UI-Out-Filterresults: notjunk:1;V03:K0:5A8AgWluPhA=:2/DJM9mREkLMOVv0LXuQWD CeU0MkbdJiqYCxITr103zgIRFOkxGvpCmMrbHrwWr2oAfWIcrCT2ukSHcqhB392uAF/8lnyM8 jHSwn6bme6W905SiTcN3B09qx+4bg874ScTp3qS3bO3x18rcbyB3SH4qVOq8+qJ8SC576NxMG ZjMV7lHdeAdVNUM+6otzKjkiqtyNTQPQGvS5PTTJRixXSPRolyLZ5gV8RhJV6txBbrXBeDCFK kRhnxaDu2TxdjcoQoGQFVk++1xb3V2xqiJxW58pJwqPrlL1kP6NPB8Kq0+dj5Ba78uAr6pRbG QFsEouQFrp3fVax8MAn80bYdsiXhYvvXJgTlkc4RkBrRtlpUePZbSyOs49Kac8rX/mSkN+wB6 halbPcf931O8+wjmIcsDV8mpjv5z8EF0gfVa9BU3QsK7qc8tVaHAiXoHGCH8I67iNRYu7I1vK ciBuGBr08PGTii42wlM7jD33/39YMvDPetPlO2HF60BSC0Ue740eovcFmp09MK0wop/hq+Nxz ipSkZ0Mc734LkSjqomrzezaKrNSGlN8bPmLt9IsCvOtnXg/AuVKi6bLY6xzlQ6e8/V+B/Y7ck 8Enz+wZdvk9p+4rP7Yf9B2A8kpC7hORVldnHe1qZhPzHSOFeuATg/Y+8wYq/gOJK33X1I0SYH t3YgDGqHm4DIoukDoW/gC7MH7msusDa9VoC48fHW/seg9OnSiOoz8daKbm45pAwlpUIiGtAD1 GW4hXQ5I7bxsFxtpcU2q95A309lw8ikxcoZkr2WYI5NYV0bN7EAvD+NQ/HP9WlOsxowG7o7CD rggdR9VFAeaY6UX5sU7YELrMts7VAXKICthwlyCGUwNWsE6W7CW5e/CjDIPe9PQVLNdicvX/j WjmjgkNlHyfy00wpdEPn4dLD3ILJPzg7Xz6mpUZQm5dTnFqLcseTSPgUJyz9CEUkCu5tlAt3s WOGP+1iiyQ9DslSEu2xaUCn4I6IvNyo+clWMy+Rf2BZ9ZI4HwQxy5iW8ZcldhtYBpN8IJ8gE/ LjsuMfIleppoC0x5uhXIl09G9DsS2msvuICGXecEhdREnuBQ0Spy26k2kJNY4JuL3nF5QyN3O IssmtyhyUiBhfa51e8WlSqINOQJ76UH7U9KyXzBL4s0QBqXpdR9Pqm6UQ==
Received-SPF: pass client-ip=212.227.17.21; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-DKIM-Status: validation passed: (address=julian.reschke@gmx.de domain=gmx.net), signature is good
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1oJAg8-00AJOI-Ku 1bbfce013e927fff3340e9c2df7ed9f6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Byte range PATCH
Archived-At: <https://www.w3.org/mid/41c96787-7330-e9e0-da59-68c6dd197c58@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40293
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>

Am 03.08.2022 um 01:11 schrieb Austin William Wright:
> Hello HTTP WG,
>
> I’m writing to pursue standardization of a PATCH media type to perform
> writes at specific offsets. This may be especially relevant to
> draft-tus-httpbis-resumable-uploads-protocol-02, if adopted. It can also
> serve as the foundation for other features, like segmented uploading,
> finishing indexes in video files, or other operations that require
> editing at specific positions in a file.
>
> I wrote and published draft-wright-http-patch-byterange-00
> <https://www.ietf.org/archive/id/draft-wright-http-patch-byterange-00.html> for
> your consideration. Please let me know your thoughts.
>
> Thanks,
>
> Austin.

Hi Austin,

it's a good idea to work on the media type for byte range patches.

That said, adding another text-based multipart format makes me shudder
due to all the inherent problems in parsing field names and choosing
separator lines.

I believe a simpler, binary format would be a better choice.

Best regards, Julian