Re: Draft for Resumable Uploads

Eric J Bowman <mellowmutt@zoho.com> Tue, 12 April 2022 00:42 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 4404C3A02BC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Apr 2022 17:42:28 -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_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); 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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id flTTfNoEp0VP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Apr 2022 17:42:23 -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 600D63A02D0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Apr 2022 17:42:22 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ne4ZV-0002Gx-Gs for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Apr 2022 00:39:53 +0000
Resent-Date: Tue, 12 Apr 2022 00:39:53 +0000
Resent-Message-Id: <E1ne4ZV-0002Gx-Gs@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mellowmutt@zoho.com>) id 1ne4ZT-0002Fo-IY for ietf-http-wg@listhub.w3.org; Tue, 12 Apr 2022 00:39:51 +0000
Received: from sender4-pp-o91.zoho.com ([136.143.188.91]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <mellowmutt@zoho.com>) id 1ne4ZS-0008N3-4U for ietf-http-wg@w3.org; Tue, 12 Apr 2022 00:39:51 +0000
ARC-Seal: i=1; a=rsa-sha256; t=1649723973; cv=none; d=zohomail.com; s=zohoarc; b=kG8fKnEaru3JVNaUolVwQBmzzgE0xLuxJeeMI3wUQn2hocAOp8nm4nXGGVX0Fl8DI1T/jiaNUxWEqvSefnIgQ4A5d9Er7VpShsSP8DSzFov0hmKQp82wkKnWHa8H0NUrDuzN/PsU0e8k/HPFtB8clRjZtim1DQXyWeeuKCnQZok=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1649723973; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=XddPcG4MKigoXml4gPLO332OFHL3cXHO4SfooSpZhPc=; b=J2Eub1rqdo9lndfsO62R1nWTaiE1s4sNEZj35R28fJDjV1k8VoRIrZsXBpvcwybsY/LaLmet26WZ1ME+VRw3lBxOEKgIIxMmo5U38iwu71yWpbgUu5Xtnkce1gKxelUMHMxzQLcPKqiezU2WgYWq1j3iRuHU120JJiXBNrfEhSQ=
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=JcvwS5LGYdWMRVcF3If9p81qMMUuKIz0LHXc1ApxM85i0ih/m3jHUBNdZYV5FyQgRdbWmqEDZOAc tZami7F1f5P5ma7NVGImNuN7EiSVTbckOHWE3IyUGPB+oQZCxlPI
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1649723973; 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:Reply-To; bh=XddPcG4MKigoXml4gPLO332OFHL3cXHO4SfooSpZhPc=; b=ZkGV8pQ9FJxblyPkF4FO5ALhKMi5HpYdbgVRnZXCXYVi5Tza6/ny26h/xEtLygIm C7fxiC+jd87yLOH5HQY/EdOEVI2eK4fOaohNQwwUkjnRnbWQV1XGXr0acf4gnZhxS3M 5cbeNDEto2yAkZa/kJQKxo/RoOozQqSsu0UOreZY=
Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1649723972706134.67011205760662; Mon, 11 Apr 2022 17:39:32 -0700 (PDT)
Received: from [65.117.211.248] by mail.zoho.com with HTTP;Mon, 11 Apr 2022 17:39:32 -0700 (PDT)
Date: Mon, 11 Apr 2022 17:39:32 -0700
From: Eric J Bowman <mellowmutt@zoho.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Austin William Wright <aaa@bzfx.net>, Guoye Zhang <guoye_zhang@apple.com>, ietf-http-wg <ietf-http-wg@w3.org>
Message-Id: <1801b361c47.db210b21123021.8993280150669755607@zoho.com>
In-Reply-To: <48744eb6-4437-508c-f61c-06918839e858@gmx.de>
References: <CANY19NvMcPQaHRamFe-yy-E38xKo2XrmFCKVRoPbyBMQhoY6vA@mail.gmail.com> <82FAD6B4-F72F-42E0-A72D-4BFAAB9668FD@gbiv.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> <48744eb6-4437-508c-f61c-06918839e858@gmx.de>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_306983_901455471.1649723972679"
Importance: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
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 1ne4ZS-0008N3-4U 440cf5d435a05b7638269fc814eb29e5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Draft for Resumable Uploads
Archived-At: <https://www.w3.org/mid/1801b361c47.db210b21123021.8993280150669755607@zoho.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/39991
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>

>

 >>
>> A resource has to exist first, before it can support PATCH. 
>>
 >
> Says who?
>


Common sense? Clearly-defined method semantics is part-and-parcel of a uniform interface. If we're going to muddy the waters by allowing partial PUT (or PUT no content to DELETE), and PATCH to create a primary resource (not sayin' PATCH can't result in a /previous-version resource being minted), then I guess HTML was right all along to only bother defining GET and POST in forms.



>

> Some origin servers support use of the Content-Range header field

> (Section 14.4) as a request modifier to perform a partial PUT, as

> described in Section 14.5.

>



Ugh. There's some wording above that, about how a service SHOULD use POST instead of PUT; I'd suggest (sometime in the future if PATCH is ever officially added) similar wording about SHOULD use PATCH. Some origin servers treat a zero-payload PUT as a removal request; similarly, some wording about SHOULD use DELETE could clarify.



I managed to watch a lot of golf this weekend while reviewing the latest HTTP drafts. Aside from the above, the only other editorial suggestion I have would be to add "8.4.1.4 Brotli Coding".



-Eric