Re: [media-types] Feedback on a potential media type for upload chunks

Paul Libbrecht <paul@hoplahup.net> Thu, 29 February 2024 10:16 UTC

Return-Path: <paul@hoplahup.net>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A7082C151071 for <media-types@ietfa.amsl.com>; Thu, 29 Feb 2024 02:16:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_FAIL=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=hoplahup.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 awRry8IyVToE for <media-types@ietfa.amsl.com>; Thu, 29 Feb 2024 02:16:48 -0800 (PST)
Received: from pechora1.lax.icann.org (pechora1.icann.org [192.0.33.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C9F79C14CF12 for <media-types@ietf.org>; Thu, 29 Feb 2024 02:16:48 -0800 (PST)
Received: from smtp-42aa.mail.infomaniak.ch (smtp-42aa.mail.infomaniak.ch [IPv6:2001:1600:4:17::42aa]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pechora1.lax.icann.org (Postfix) with ESMTPS id 07F9D70000CE for <media-types@iana.org>; Thu, 29 Feb 2024 10:16:47 +0000 (UTC)
Received: from smtp-4-0001.mail.infomaniak.ch (unknown [10.7.10.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TlnDz5ch5zMqH24; Thu, 29 Feb 2024 11:16:19 +0100 (CET)
Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4TlnDz0yDjz1C2L; Thu, 29 Feb 2024 11:16:19 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hoplahup.net; s=20220216; t=1709201779; bh=qxq80b90pCfllz5l7qb2J17W3o6NY51XchnX/A2mavw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VIe4P97SWID+huubdHi8f+F+7+LHpaEtBlkRh3mT5jG/bb12WPpsHexXkTNNk3030 XayPJIirZDD5AUMlJQozXsSRT109a64hkJYtruHr2i5/o97jMXcLIvA1cXzMBOWt2n 7sJ/pBhz3PO12jtcCuiM7Xkl5HSRBZRE7PSfcGls=
From: Paul Libbrecht <paul@hoplahup.net>
To: Marius Kleidl <marius=40transloadit.com@dmarc.ietf.org>
Cc: media-types@iana.org
Date: Thu, 29 Feb 2024 11:16:18 +0100
X-Mailer: MailMate (1.14r5964)
Message-ID: <C14DCB56-278C-49D0-9EE2-E9754E804CB2@hoplahup.net>
In-Reply-To: <CANY19Nuq1NROzfOytcVJFBMN5cSisPzt_YH6NxRRinjwLg1rkg@mail.gmail.com>
References: <CANY19Nuq1NROzfOytcVJFBMN5cSisPzt_YH6NxRRinjwLg1rkg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_MailMate_FBACCCEC-D038-43CC-86F3-D844A66CC790_="
Embedded-HTML: [{"plain":[283, 1658], "uuid":"43E55B10-4AC8-48E7-9277-C4D7285DAEAD"}]
X-Infomaniak-Routing: alpha
Archived-At: <https://mailarchive.ietf.org/arch/msg/media-types/myAxPpo5KT_KY-upi-M8vZohMVg>
Subject: Re: [media-types] Feedback on a potential media type for upload chunks
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/media-types/>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 29 Feb 2024 10:16:53 -0000

Hello Marius,

I am wondering if the partial downloads that are sometimes produced by 
browsers would be concerned by this proposal. For example, on macOS, 
folder with a particular extension (`.part`) have this function.

Thanks

Paul

On 26 Feb 2024, at 20:01, Marius Kleidl wrote:

> Dear working group,
>
> in the HTTP working group, we are discussing a draft for resumable 
> uploads
> over HTTP (
> https://datatracker.ietf.org/doc/draft-ietf-httpbis-resumable-upload/).
> Essentially, for each file that should be uploaded, a new upload 
> resource
> is created on the server. The client can then append data to this 
> upload
> resource by sending a PATCH request. If the transfer gets interrupted, 
> the
> client can query the upload resource's current offset and then resume 
> the
> upload by appending the remaining data using another PATCH request.
>
> As required by RFC 5789, PATCH requests must include a media type to
> describe the message content. In the case of resumable uploads, the 
> content
> is just a partial chunk from the file to be uploaded without any 
> additional
> data included in the message content (no offset or length value). This
> chunk might be textual or binary depending on the file that should be
> uploaded (e.g. text file or video).
>
> I didn't find a registered media type in the standards tree which 
> matches
> those semantics. However, the vendor tree includes
> application/vnd.adobe.partial-upload (
> https://www.iana.org/assignments/media-types/application/vnd.adobe.partial-upload),
> which was registered by Adobe in 2009 for uploads in their web
> applications. Its intention seems to align with the content included 
> in
> PATCH requests for resumable uploads.
>
> Therefore, I am thinking about a standardized media type to describe
> partial chunks from an upload, such as application/partial-upload or
> application/upload-chunk and would love any feedback on that idea.
>
> Best regards
> Marius Kleidl

> _______________________________________________
> media-types mailing list
> media-types@ietf.org
> https://www.ietf.org/mailman/listinfo/media-types