Re: Resumable Uploads

Carsten Bormann <cabo@tzi.org> Mon, 22 April 2013 16:17 UTC

Return-Path: <ietf-http-wg-request@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 509B711E80A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Apr 2013 09:17:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.305
X-Spam-Level:
X-Spam-Status: No, score=-9.305 tagged_above=-999 required=5 tests=[AWL=0.994, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4NTz3Yegbgb2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Apr 2013 09:17:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D34A621F8E99 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Apr 2013 09:17:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UUJPw-0003z3-Vn for ietf-http-wg-dist@listhub.w3.org; Mon, 22 Apr 2013 16:16:37 +0000
Resent-Date: Mon, 22 Apr 2013 16:16:36 +0000
Resent-Message-Id: <E1UUJPw-0003z3-Vn@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1UUJPt-0003xx-7q for ietf-http-wg@listhub.w3.org; Mon, 22 Apr 2013 16:16:33 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1UUJPo-00036U-JV for ietf-http-wg@w3.org; Mon, 22 Apr 2013 16:16:33 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.4/8.14.4) with ESMTP id r3MGG2bG021479; Mon, 22 Apr 2013 18:16:02 +0200 (CEST)
Received: from [192.168.217.105] (p5489274E.dip0.t-ipconnect.de [84.137.39.78]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id E00C5321F; Mon, 22 Apr 2013 18:16:01 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
Content-Type: text/plain; charset="iso-8859-1"
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CADZbJ9fsJFkhpCHQ5QatFVTBRM5uyNb-vJRjJ3op73u-Dksc3A@mail.gmail.com>
Date: Mon, 22 Apr 2013 18:16:00 +0200
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <E3F70BA9-BF6E-45D2-A0FA-8B5646DB3873@tzi.org>
References: <CADZbJ9dYFGyrceh03M3B0KdKto7160Dis_geh9um0BhVe1re0g@mail.gmail.com> <alpine.DEB.2.00.1304182006001.21288@tvnag.unkk.fr> <29DE6A70-E3B9-4DCE-8C7E-506F6A0ADC92@gmail.com> <51706F32.5030108@panix.com> <5170E2A3.6010706@gmx.de> <CADZbJ9dGEVq-fQmhjRsddYdcg459r_zLfrOddkzHLOprZM0dNg@mail.gmail.com> <51712A49.6000901@gmx.de> <alpine.DEB.2.00.1304191335410.3525@tvnag.unkk.fr> <CADZbJ9d_9wirsYPt=1frY5UiaOnaaB1v=hGMuPR2e5yXV6m+NA@mail.gmail.com> <B641DA23-25B2-486F-BDED-4E671ABAFEFC@tzi.org> <CADZbJ9fhvqg_a5V5iRpe3LO0L0RXdxT2pSNTqwLQEqOK0YUa=Q@mail.gmail.com> <51751244.1090800@gmx.de> <CADZbJ9fsJFkhpCHQ5QatFVTBRM5uyNb-vJRjJ3op73u-Dksc3A@mail.gmail.com>
To: Felix Geisendörfer <felix@transloadit.com>
X-Mailer: Apple Mail (2.1503)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-1.914, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UUJPo-00036U-JV 9ba7174a2b354653e5c414d7ce4ebaf4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Resumable Uploads
Archived-At: <http://www.w3.org/mid/E3F70BA9-BF6E-45D2-A0FA-8B5646DB3873@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17471
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: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

> Put the offset:
> 
> -- in the URI:
>    PATCH /foo?at=0020 HTTP/1.1
> -- in the Content-Type:
>    Content-Type: application/byteslice; at=0020
> 
> Thanks for the suggestions. The querystring might be the best option for something the web can use today.

Actually, I think the content-type parameter is the winner.
This doesn't require limiting the URI space/design.
It does require access to the content-type both at the sending and receiving end; maybe I'm not aware of environments where that would be a problem.
(It doesn't work for CoAP, but we have our own way of doing this.)

> So if my concerns for portability were lifted, it seems that defining a PATCH format would be the best solution? Would this list still be the right place for carrying on this discussion, or would this be a separate RFC?

I thought we just designed a complete PATCH format for resuming uploads.  Aren't we done?

Grüße, Carsten