Re: Draft v1 Update for Resumable Uploads

Julian Reschke <julian.reschke@gmx.de> Mon, 20 June 2022 06:50 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 A6D57C136064 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 19 Jun 2022 23:50:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.537
X-Spam-Level:
X-Spam-Status: No, score=-4.537 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-1.876, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 Uq-ChiJ6FfuX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 19 Jun 2022 23:50:34 -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 92931C136061 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 19 Jun 2022 23:50:34 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1o3BBy-0006Ni-PL for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Jun 2022 06:47:22 +0000
Resent-Date: Mon, 20 Jun 2022 06:47:22 +0000
Resent-Message-Id: <E1o3BBy-0006Ni-PL@lyra.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <julian.reschke@gmx.de>) id 1o3BBw-0006Mo-Sq for ietf-http-wg@listhub.w3.org; Mon, 20 Jun 2022 06:47:20 +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 1o3BBs-0017Do-0P for ietf-http-wg@w3.org; Mon, 20 Jun 2022 06:47:20 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1655707622; bh=Bucqqvh3x16P8DL/8iwo63H/0ojNaMHuyov91pfMhSc=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=CJQIaHV+Qv0K7I9Mv5IvpQw6Kyl8aDVAPG1OOYEEv/uEWvqEqwYDpMPBKDXZDA7CZ g52ZBO6lLvO9hJyZUDP6lhWtVDn5Kwe/5F9mOhYy3leMvi4kR3DEQalu+At6ve3n5J XbPyg9VuY24/TW67TqBN66n7Z+83gw84bqYocLTQ=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.182] ([217.251.130.199]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MTiTt-1oFexM47cz-00U4uA for <ietf-http-wg@w3.org>; Mon, 20 Jun 2022 08:47:02 +0200
Message-ID: <8458ef7d-8858-98a6-08c7-c6a8b54eed35@gmx.de>
Date: Mon, 20 Jun 2022 08:46:59 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
To: ietf-http-wg@w3.org
References: <BED5A5BC-3F7F-47E2-815E-DC0483328DFD@apple.com> <Yq67WGkb0LtJIAP9@xps13> <D149DCFE-A5C9-418D-80B4-3B5F138AA497@apple.com> <1817b8ce1c8.12200c57b32105.652822867537979220@zoho.com> <AB2CA3AA-FB53-4B3B-BC96-A87C175D19EE@apple.com> <1817e85940f.12286c1b038392.8521566759651991951@zoho.com> <ba538274-790a-b902-ac48-e99fc982bc3a@gmx.de> <1817fb7a714.f44d90b041228.231509017811561647@zoho.com>
From: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <1817fb7a714.f44d90b041228.231509017811561647@zoho.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:T7qgZKBMFyfBhWHKF2y3aJv2ZyJwmpKMuFDaMJAvCYMRLhxEBzg 6xwBm+/duSMqoUISFOTeL/VmUJXHcaM+s1yWwP5QbjDrAWXvaNCSDiVwLoeSgMvTBWR2+Pv okoaNoYyFQJyM3pZbKki4KjVgkqzIqaGZe/uZYNbievHgbUo39O0oo+XQGUxb3IEqHpu5nq IaRJwedhrztUeauTpvWZg==
X-UI-Out-Filterresults: notjunk:1;V03:K0:Pa4bNZ9AQzA=:WNRbH4QIHgXH9NHpSA4CKo v+ozva8jFV2+6q+SwgBoAjAMC8Td5uL/op4rbpHF/9DRi5H59L6aY45Yy9kuWSC1jIb7QBm3a VMSynkvXf6gxROjyRFyYr+WCB5Bk2T1IvoJ7COGk4UWEBjl25+9Llp28gX8f5pAbOxSnDUDcY /TYSRpWcl9mAOH5aDLDYb2Zkj43dhd9knEVN+lYSyI0/tsniIDrzBbMIASkm9Jzap2OM3Qx1Z dck7GJ2lc1g9Wxz2SvZQtIjPFi100ofeXdat7ZjO3Hdb+GVaSzRqSbvnZRBmM6dU90H1b1yo5 GXWfu5TCnIGdPk794d0NXelqZJerChsdeegrG7X/JmcrWxMuqs0dy+vmM2L5Vn7wXEyyWfvIY qSMYfM3y4Wv5ym5CzN8L1RRGeRbTo5mS3aseRAsc/RZPMLlM6iXlgOzkDPKmaGpPTh1PlfEK6 jcFwf1CnDH/oMCdQKMbL75ss6H7ZlIh+uLvzzuF/NeLEszuU5tkD2M19JllZyVn+WAUm9Cs2v 7DcRXbyA5vvoVVGhXdu2nbgRqJStxwCKyMqNZ/r5fNU6O8jzxMqrukOGG5h/WBq5damtqhYYJ ySKLGDamw8DGdEA7wh+Kvj4EcBR13Zjj6sP5cnvfJYmuHB2UGmVAO+Cq8hE2z40v+t/da5nOv H+oU10BktjPi1b8GZd2LBAmWB5qxWJaG5WdyAI2weSKAxrNrobnQdmbRjFL5UaZnlOdg4rOkY 1uLpHlE+yiknsQJ+w0BjqFqM08JuJl9u7UPDiRwI661NPmb+9Fa2wXdY/M8YteU2SXKGwVQeY ijW8jfzrA9IxtLh+xXqv8lBrvS80yWQgmTZNmjVljAUrwPB+AITqbcKCRVkWFBcBKfcOfy/Yc wdLAJnnwskNnAAUs+q/uI/9bEZz0VEPwx1ETNzmJmGSzbQ/ahyyOGcsmZCLwMrpM1OEeyaLR+ PcWdHt2NF7npiHdUB/sj5Qr5l1aI6N200v/0/xy1WBdNMYAxXcclpjpwVgI7pZyK5SpeEujR3 KQX9lkP54H6y0W5EYM+KgG1u6eHNvG27XB82ApxiYd55KTmJxfD4aEGKC1t/Z4/WVGJqOVBAJ Ot+YeaHQgV2poAJP+F4YjKYkuLf4sK96UnEdg0wbd8QqoiFtoaYIdYmkQ==
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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1o3BBs-0017Do-0P 9ff728fd7ded511be1a1e0f4b75acb89
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Draft v1 Update for Resumable Uploads
Archived-At: <https://www.w3.org/mid/8458ef7d-8858-98a6-08c7-c6a8b54eed35@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40187
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 20.06.2022 um 08:05 schrieb Eric J Bowman:
>  >
>  >> ...
>  >> I was trying to help you understand the resource/representation
>  >> dichotomy of HTTP, particularly regarding PATCH, irrespective of the
>  >> nature of your resource. There is not, and cannot be, any "generic"
>  >> media type for the method in question, even if you're only appending --
>  >> application/octet-stream works for PUT. Not PATCH. Not in any way I can
>  >> grok.
>  >>
>  > ...
>  >
>  > I disagree.
>  >
>  > You can easily avoid this issue by enforcing that the uploaded resource
>  > has a single representation.
>  >
>
> Why I suggested FTP. But accepting what you said, wouldn't you also have
> to enforce PATCH = append to use application/octet-stream?

I think it would be clearer to use a new type.

Best regards, Julian