Re: Resumable Uploads

Carsten Bormann <cabo@tzi.org> Mon, 22 April 2013 08:10 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 97BF821F8C55 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Apr 2013 01:10:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.114
X-Spam-Level:
X-Spam-Status: No, score=-9.114 tagged_above=-999 required=5 tests=[AWL=1.185, 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 BHx5gygTHwSv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Apr 2013 01:10:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7CE0A21F8A53 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Apr 2013 01:09:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UUBog-0001oE-1v for ietf-http-wg-dist@listhub.w3.org; Mon, 22 Apr 2013 08:09:38 +0000
Resent-Date: Mon, 22 Apr 2013 08:09:38 +0000
Resent-Message-Id: <E1UUBog-0001oE-1v@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1UUBoc-0001lI-Fn for ietf-http-wg@listhub.w3.org; Mon, 22 Apr 2013 08:09:34 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1UUBoY-0001sL-15 for ietf-http-wg@w3.org; Mon, 22 Apr 2013 08:09:34 +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 r3M895Br017483; Mon, 22 Apr 2013 10:09:05 +0200 (CEST)
Received: from [192.168.217.105] (p54890A03.dip0.t-ipconnect.de [84.137.10.3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 7C2A23C8C; Mon, 22 Apr 2013 10:09:05 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
Content-Type: text/plain; charset=windows-1252
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CADZbJ9d_9wirsYPt=1frY5UiaOnaaB1v=hGMuPR2e5yXV6m+NA@mail.gmail.com>
Date: Mon, 22 Apr 2013 10:09:04 +0200
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B641DA23-25B2-486F-BDED-4E671ABAFEFC@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>
To: =?windows-1252?Q?Felix_Geisend=F6rfer?= <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.6
X-W3C-Hub-Spam-Report: AWL=-2.300, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UUBoY-0001sL-15 368d443c74f0cfffe9baefbaf7aa2845
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Resumable Uploads
Archived-At: <http://www.w3.org/mid/B641DA23-25B2-486F-BDED-4E671ABAFEFC@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/17466
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>

On Apr 19, 2013, at 17:13, Felix Geisendörfer <felix@transloadit.com> wrote:

> "patch document",

How about an application/bytes-at like this:

-- Starts with an 8-byte binary unsigned integer (network byte order) giving the position at which these data are to be written
-- the data follow

Makes you independent from intermediaries bashing headers.

(A potential application/append-bytes, without a position, would be bad, because part of your old PUT could still be in a TCP retransmission queue somewhere, creating a race condition.)

Grüße, Carsten