Re: Draft v1 Update for Resumable Uploads

Eric J Bowman <mellowmutt@zoho.com> Mon, 20 June 2022 04:43 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 A05C4C15D889 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 19 Jun 2022 21:43:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.76
X-Spam-Level:
X-Spam-Status: No, score=-2.76 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.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H2=-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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NV_wbqg8vcbc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 19 Jun 2022 21:43:32 -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 14171C14F72A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 19 Jun 2022 21:43:31 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1o39D2-0002sv-Kq for ietf-http-wg-dist@listhub.w3.org; Mon, 20 Jun 2022 04:40:20 +0000
Resent-Date: Mon, 20 Jun 2022 04:40:20 +0000
Resent-Message-Id: <E1o39D2-0002sv-Kq@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 <mellowmutt@zoho.com>) id 1o39D0-0002rZ-MQ for ietf-http-wg@listhub.w3.org; Mon, 20 Jun 2022 04:40:18 +0000
Received: from sender4-pp-o91.zoho.com ([136.143.188.91]) by titan.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 1o39Cy-0011nf-SE for ietf-http-wg@w3.org; Mon, 20 Jun 2022 04:40:18 +0000
ARC-Seal: i=1; a=rsa-sha256; t=1655699990; cv=none; d=zohomail.com; s=zohoarc; b=Ou73dtdGRVV4QxX77PLO7d8kALhy/nIbabizB47q8L1I7ZjzGwUwHt6GtMLoOIDbElUR5QLJrwhgfLQPKQbBezCptkyrskgRAEumq8LJO0vmV2vYOBe+SHZGWjpPmOepkHb5+6bRlWDuHenc5me62WYAvIEChe4ljIWMVNwn2bQ=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1655699990; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=f9KVNfKwbpgOQR/ETPVNvaXoGLYBZkbjJoPqkedBz8s=; b=C+QE2Y9OGxCKduM8eDuIJWvhXtx6E3+lbQ0q7P6DZZM8iusuQddUZ0Z5wTitd2lSIcCfU5IOrCmuhKg1qifgJExYPUCKR7DdrUgNMZ8tnaMJOQ2znS+GBcFe9mWqyVLxnmmME6CIypvNwlwUUJ+aboDKQSQ05eHgbPNoARSGrz0=
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=gCFTFmfmfvMPwxree7hpg4a+fFi1Ghk09y5bdtWeP/NRCVuRMuLudSceEQBf5CkoK6iLE9N6TkDb TfGHAqXFXtbzyGk3uDfMWypBIjlYDQR1Cg/NuSbflmNXVt3b5vjQ
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1655699990; 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=f9KVNfKwbpgOQR/ETPVNvaXoGLYBZkbjJoPqkedBz8s=; b=UZ5b/VmpF7WCtPrVktDlfzaHcbn/TpBIPQ39eo7/l0vD+mlihEAzrsOFUSoDIcE0 qP2FUxYIJ+zjL9cOpAZnOb95X5gCj01OQ2NWba32ro1h+Zn+89kYh0zcxM5I/NPUJ1j riOXz9doo7aaal3x8Bnyn5Q0RF8el+FkzxEkB6Ng=
Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1655699988949479.4117300833004; Sun, 19 Jun 2022 21:39:48 -0700 (PDT)
Received: from [65.117.211.248] by mail.zoho.com with HTTP;Sun, 19 Jun 2022 21:39:48 -0700 (PDT)
Date: Sun, 19 Jun 2022 21:39:48 -0700
From: Eric J Bowman <mellowmutt@zoho.com>
To: Guoye Zhang <guoye_zhang@apple.com>
Cc: Glenn Strauss <gs-lists-ietf-http-wg@gluelogic.com>, ietf-http-wg <ietf-http-wg@w3.org>
Message-Id: <1817f68e1bc.b0da438140687.4010670760181959722@zoho.com>
In-Reply-To: <1A0308B7-266A-4E12-BC6C-6D321BAFC3D3@apple.com>
References: <BED5A5BC-3F7F-47E2-815E-DC0483328DFD@apple.com> <Yq67WGkb0LtJIAP9@xps13> <D149DCFE-A5C9-418D-80B4-3B5F138AA497@apple.com> <Yq/mYB6FMLWn/7Oj@xps13> <1A0308B7-266A-4E12-BC6C-6D321BAFC3D3@apple.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_99442_2018931893.1655699988924"
Importance: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
Feedback-ID: rr080112271d1b45c8758cc6e8455b389500000847e913e8daba7a991df58eb614b36d6b3bc1502f302dd5ee:zu080112276918fdc73c060859c89e86a3000018c795e5adbb814ca5670de38b97b31bc37d75fd0e7ea80a78:rf080112327c3ea2181f7c59d7041b4ca30000551ab8e3406d1894bd9c3d8dace9bb033bc64d90c103f77205793ed464e0b3c7d87b4dd6: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: titan.w3.org 1o39Cy-0011nf-SE 181f8979b33a69b997b4b4055ae27d25
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Draft v1 Update for Resumable Uploads
Archived-At: <https://www.w3.org/mid/1817f68e1bc.b0da438140687.4010670760181959722@zoho.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40179
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>

>

 >>
>> PATCH with media-type application/tus-v2 may be a better solution 
>> as you can define the body any way that you like, which may include a 
>> custom (header) section in the body containing metadata such as the 
>> information you can not currently describe in Content-Range.
 >>

>

>

> Content-Range requires the range to include the end offset which is not 

> always available. We need something like “Content-Range: 42-/*” ...

> 





Suggest multipart/vnd.tus, pending registration of multipart/tus after receiving feedback, as a PATCH media type. Multipart explicitly allows "42-/*" as a boundary, however you want to define it within your media type. No custom headers needed. If, of course, you insist on not just using FTP or WebDAV. ;)



-Eric