Re: Draft v1 Update for Resumable Uploads

Eric J Bowman <> Sun, 19 June 2022 10:44 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id BD093C15AADA for <>; Sun, 19 Jun 2022 03:44:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.756
X-Spam-Status: No, score=-2.756 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_DNSWL_BLOCKED=0.001, 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: (amavisd-new); domainkeys=pass (768-bit key); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id g_aG5-4R9VLa for <>; Sun, 19 Jun 2022 03:44:27 -0700 (PDT)
Received: from ( []) (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 (Postfix) with ESMTPS id EE98EC15AAD8 for <>; Sun, 19 Jun 2022 03:44:26 -0700 (PDT)
Received: from lists by with local (Exim 4.92) (envelope-from <>) id 1o2sMf-0006NR-2A for; Sun, 19 Jun 2022 10:41:09 +0000
Resent-Date: Sun, 19 Jun 2022 10:41:09 +0000
Resent-Message-Id: <>
Received: from ([]) by with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <>) id 1o2sMd-0006MW-Is for; Sun, 19 Jun 2022 10:41:07 +0000
Received: from ([]) by with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <>) id 1o2sMc-000kSz-1s for; Sun, 19 Jun 2022 10:41:07 +0000
ARC-Seal: i=1; a=rsa-sha256; t=1655635242; cv=none;; s=zohoarc; b=Z3JpNEH8aF+SrYIYJTSdx/vU9hFq4vnqXv0ifd4LtdQJHfT+MAEyIKzWTm3hwkJZd/iEhr4udqk0j/pMbrYeaS6Skfp6Y1XAbxLiG1p3wB3jksj4w1isu8tlAGilSzC/CLb8QVP106sDO/Lq6SWG+WW9Qgb10gyE9TLV0AITxOc=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=zohoarc; t=1655635242; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=OEWquNxfkvjaANQ0TdLTDPMk9ldmbDqfH9j1IuqqrsI=; b=e7w65LmJFMOp3uHxzKDbGOUjvmw9SYwn5GRvYynKPxqL69/32pJSp9iRObAcee4MvhfB2pnI2xKn8NUQO5t2Df/Y1eXtz+gRQolBmDC5BNDEQLJYoqMmQ11gWEWvxEpBsiFje1n+immwk5H0CNYvMW9j51NVCN1p70UHEvCOmL8=
ARC-Authentication-Results: i=1;; dkim=pass; spf=pass; dmarc=pass header.from=<>
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768;; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=rLcjOIjuErcFiNtnlCRbFLrSVIr2BL49/Q6CTZUHxkDn21oR8npX9qHjW0hLlnJPLH5P6u+WdsnV OTuVRkp4AywLei7sXqsNDtAVx49d3n59C+QmvRKYVVoZj6DZ8vo7
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1655635242; s=zm2022;;; 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=OEWquNxfkvjaANQ0TdLTDPMk9ldmbDqfH9j1IuqqrsI=; b=c9U7sSr1+kAkcp/3vWqJ1IMQ1r2rBRwQsSaEb7iUTlq/JEutUJ/Gm7NTZl+QlqbL FoaZJRp/bJGLG6+lxiCN1L6hOQ79u0tqlL30pOHv0s9NBfgb3HdoCLhTJBqOLHGPis8 QU/S3VE9Gb5ZbAJQayCc8eBskZhWabMS1tezXqi4=
Received: from by with SMTP id 1655635239406926.875840467191; Sun, 19 Jun 2022 03:40:39 -0700 (PDT)
Received: from [] by with HTTP;Sun, 19 Jun 2022 03:40:39 -0700 (PDT)
Date: Sun, 19 Jun 2022 03:40:39 -0700
From: Eric J Bowman <>
To: Guoye Zhang <>
Cc: gs-lists-ietf-http-wg <>, ietf-http-wg <>
Message-Id: <>
In-Reply-To: <>
References: <> <Yq67WGkb0LtJIAP9@xps13> <>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_Part_78719_1030436216.1655635239368"
Importance: Medium
User-Agent: Zoho Mail
X-Mailer: Zoho Mail
Feedback-ID: rr08011227ce736e3059bc4acbd7b4265d0000b7c21162bce4ef1394f9e9940cdb25b132eebb7fd03baca877:zu080112278a58305dcb2dc0a7477a423f00005b7e1a771ab136a320943469725b43bb997aeeaa57ad08c5cb:rf08011232e66044b9002458dea82a6d5200003fa5b41b3126b1fa6a0e9a55c8af6c1593bd6b0e8d2299c994ab96e39d40ef81f35deb75:ZohoMail
Received-SPF: pass client-ip=;;
X-W3C-Hub-DKIM-Status: validation passed: (, signature is good
X-W3C-Hub-DKIM-Status: validation passed: (, 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: 1o2sMc-000kSz-1s fb9ab9abee8eba5d149461c0c950df78
Subject: Re: Draft v1 Update for Resumable Uploads
Archived-At: <>
X-Mailing-List: <> archive/latest/40163
Precedence: list
List-Id: <>
List-Help: <>
List-Post: <>
List-Unsubscribe: <>


> Apple has a Feedback Assistant app which allows customers to

> file bug reports and upload device diagnostics. These diagnostics

> are usually hundreds of megabytes in size, and if interrupted, we

> have to upload them again from the beginning. This has been 

> one of the most common complains we receive.


FTP is your friend. Well, SFTP/FTPS anyway. If you can't tighten the screw with a hammer, maybe try a screwdriver.


> From my reading of the PATCH standard, media type should be the

> type of the content that we are trying to modify.


RFC 5789 states:

"The PATCH method requests that a set of changes described in the request entity be applied to the resource identified by the Request-URI. The set of changes is represented in a format called a 'patch document' identified by a media type."

Suggest brushing up on "media type". You're modifying a resource, not a type of content. A text/html representation of a CSV diagnostic file may be generated for rendering in a browser. Probably best to patch the resource by sending a snippet of CSV, as patching the HTML *representation* may inadvertently break the CSS. Not to mention needs reverse-transformed before applying to the resource.

You just need a "patch document" with a media type defining it as CSV, maybe even with line numbers.