Re: Draft for Resumable Uploads

Julian Reschke <julian.reschke@gmx.de> Tue, 12 April 2022 05:49 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 96B693A0404 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Apr 2022 22:49:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.661
X-Spam-Level:
X-Spam-Status: No, score=-2.661 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GqFVbTWRF7E6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Apr 2022 22:49:11 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6C92A3A040B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Apr 2022 22:49:09 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ne9OY-0005rF-Nh for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Apr 2022 05:48:54 +0000
Resent-Date: Tue, 12 Apr 2022 05:48:54 +0000
Resent-Message-Id: <E1ne9OY-0005rF-Nh@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 1ne9OW-0005pl-MU for ietf-http-wg@listhub.w3.org; Tue, 12 Apr 2022 05:48:52 +0000
Received: from mout.gmx.net ([212.227.17.21]) by titan.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <julian.reschke@gmx.de>) id 1ne9OV-0005bC-81 for ietf-http-wg@w3.org; Tue, 12 Apr 2022 05:48:52 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1649742517; bh=mXhHwhM+OtPvhT4hHwEXNlj+7KeGDurXbFsFQw4rsyw=; h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To; b=fnoqg2uVCaGgx2tKIkj+SakwDuacv4YLPIEnnG5/R6g+Tg1qU1ZsSJz/7IgHVpCL+ zEh9Vi0gMlKVWJD2B91boSsn7tui0qXAC5FUoq02FR6vrwQSdOenPV4c+qXxtmgxd+ Xs9EnEhstBXbesE5j/iMdottAc1HafN96Vd1ZhIQ=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [172.17.18.158] ([89.245.148.220]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MPokN-1nITfa2vAJ-00MxAY for <ietf-http-wg@w3.org>; Tue, 12 Apr 2022 07:48:37 +0200
Message-ID: <5ae62ba2-39d0-84e1-3733-992bd3aa4d64@gmx.de>
Date: Tue, 12 Apr 2022 07:48:36 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0
To: ietf-http-wg@w3.org
References: <CANY19NvMcPQaHRamFe-yy-E38xKo2XrmFCKVRoPbyBMQhoY6vA@mail.gmail.com> <EA8A9F25-D49F-41DE-B98E-A013E1E68CAF@apple.com> <6e64f598-e82b-bff5-5ed9-c3c3f4b01439@gmx.de> <C6907036-146C-4FAB-938E-238473CB42B4@apple.com> <17ff7558cda.10ad81f8113705.2829201994677815148@zoho.com> <2FADC394-0954-4AA2-8F55-6CDF88833CB3@apple.com> <17ff85458eb.119b6ffbd16630.2281063094525551184@zoho.com> <a0670d54-d999-807c-23e2-95e357e73104@gmx.de> <17ff868f14e.d111a4c016833.788757655885004970@zoho.com> <4c1aabee-bc23-6d19-2e5d-8fdf3b3532ad@gmx.de> <892B7A86-57D0-4B21-9899-65EF3FA84A12@bzfx.net> <17ffd4d64d2.c4f12f9734385.3620821323075353432@zoho.com> <904B5382-ADCA-461F-B47C-583874D4FB55@bzfx.net> <17ffe8ddd90.1257859fc38181.7721145847915462132@zoho.com> <54BB33F9-DF98-48DB-BA2B-C8A63208BA21@bzfx.net> <1800309bddc.ec99308354061.3626360867795203460@zoho.com> <FB7AE0DD-0245-45F2-A728-0F72F5651C8D@bzfx.net> <1801b08e175.b02a17bb122378.8946410549355222536@zoho.com>
From: Julian Reschke <julian.reschke@gmx.de>
In-Reply-To: <1801b08e175.b02a17bb122378.8946410549355222536@zoho.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:V9pr6HBy6f6qkLW7u2PXFrT8t/B/xgcR4eTogBQvB2Eaur9VFyR a8x77111o9iBB/6WuNs3enI2/LUihkRl1j7QHlctisOrRvdcpcvQsShV11o6dFrnado7Z4s 2eGVbFR4nZRX95XTdPjcUEqVAJh7t8h1srpVPA2z+fuH6XyF2zTx37oawtbB2uaiMUTET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RTkR+HmS5H/6vYrJ7dcCoGdM9yGp8w9kRalJTDw3a0w dvEHKGsthWjErSBR43Laidzak8DBKBX4vIXhzeKLb7FIsczZSlHAqN9NoGDX6BN+kHOYLdAnx HzkSofGVFGkkhI=
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=-7.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-1.622, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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 1ne9OV-0005bC-81 9e4ea1c8197c733030c38a08ff187d13
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Draft for Resumable Uploads
Archived-At: <https://www.w3.org/mid/5ae62ba2-39d0-84e1-3733-992bd3aa4d64@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/39993
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 12.04.2022 um 01:50 schrieb Eric J Bowman:
> All snark aside (sorry about that, Austin, all)...
>
>  >
>  >-----------------
> PATCH (RFC 5789) specifically permits resource creation
> <https://httpwg.org/specs/rfc5789.html#patch>:
>
>
>         If the Request-URI does not point to an existing resource, the
>         server MAY create a new resource, depending on the patch
>         document type (whether it can logically modify a null resource)
>         and permissions, etc.
>
>
>     So as long as the PATCH media type can describe creating a resource
>     (which this does), PATCH can create resources.
>      >-----------------
>      >
>
>
> The reason I think this is bad protocol design to the point it makes my
> brain explode, is it introduces the notion that method semantics vary by
> media type. The interface is now resource-specific, rather than generic.
> Transparency is lost because the message is not self-descriptive, e.g.
> intermediaries would require a lookup table of media types in order to
> determine method semantics.

Not really. The semantics of PATCH is "apply the payload as patch to
whatever the current representation of the resource is". That includes
resources with no current representation.

Best regards, Julian