Re: Resumable Upload draft updates
Michael Toomim <toomim@gmail.com> Thu, 25 July 2024 11:26 UTC
Received: by ietfa.amsl.com (Postfix) id A9421C1CAE70; Thu, 25 Jul 2024 04:26:11 -0700 (PDT)
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 A8812C1CAE6F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Jul 2024 04:26:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.859
X-Spam-Level:
X-Spam-Status: No, score=-2.859 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, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="IFeBzofL"; dkim=pass (2048-bit key) header.d=w3.org header.b="kMUXWirJ"; dkim=pass (2048-bit key) header.d=gmail.com header.b="JZOe08hv"
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 wqwalKTzs97l for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Jul 2024 04:26:10 -0700 (PDT)
Received: from mab.w3.org (mab.w3.org [IPv6:2600:1f18:7d7a:2700:d091:4b25:8566:8113]) (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 BD490C180B5E for <httpbisa-archive-bis2Juki@ietf.org>; Thu, 25 Jul 2024 04:26:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:In-Reply-To:References:Cc:To:From:MIME-Version:Date: Message-ID:Content-Type:Reply-To; bh=Qn6HW0WuR72DsA5l6TB3DhHscwuy6IXtcerbjvqYbQ0=; b=IFeBzofLt868khTeuQw98KwuQ8 fUUDqw0qBWMaBEeBKVP/JABMwSbcdTP20IYS52c3iV7ZDjizYGNK0EIRc9pOrMaDXDqlUnffd7mGB 6sPkPkxJqDRKOWYZfyChRULWqd9XxJrN4gcQm1IW1KmovA42S7htBbnLwigTQNTZKZdBO0BSdtPCq 6wOJcJ/ZimttoAX0ZUPQL/2sI3cMeDRj421keqO4Upst9A/ixB08K28vZC2riuG8+g3G7A8KCrX/S 2R0gbIxBtb9Z07d0loP8bN2ODfcZTzWJK8hFD2TUOcJZzIGsGawbuu2wcDMFBdjsvn7aZysYw5x/8 fr8FWiUA==;
Received: from lists by mab.w3.org with local (Exim 4.96) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1sWwbJ-006qa8-1e for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Jul 2024 11:25:37 +0000
Resent-Date: Thu, 25 Jul 2024 11:25:37 +0000
Resent-Message-Id: <E1sWwbJ-006qa8-1e@mab.w3.org>
Received: from ip-10-0-0-144.ec2.internal ([10.0.0.144] helo=pan.w3.org) by mab.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from <toomim@gmail.com>) id 1sWwbH-006qZ7-2d for ietf-http-wg@listhub.w3.internal; Thu, 25 Jul 2024 11:25:35 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=In-Reply-To:References:Cc:To:From:Subject:MIME-Version:Date: Message-ID:Content-Type:Reply-To; bh=Qn6HW0WuR72DsA5l6TB3DhHscwuy6IXtcerbjvqYbQ0=; t=1721906735; x=1722770735; b=kMUXWirJeJf5u/69IvUhMkBDsTJod55iCjwjNbNiE7uAr7PKKNeHj5f3y6aL6x/6ED2evFF4Mk8 oyDjklnpBUm553EV6FzFqeIXwa5sMSCPR25ZXyGacUOJYqPc4R0cdcH36EEOFSjo5OrpZEJYIevZC +jE7yZxM/+04mwNsgoI4lw/O3B6eMh1gKxytOrkI37jbg8jFqGdJxdllgxiRZtQMu809Y3+Y4qnkF 2TDS+Cr4OE6Fr5vxQ2JIWApwemW4DjZlR6N4prLW77kD9rg5+srBHoRumnqKHcPOSDlGEiwMbUCtM N09c6e/j3JrVqBWH+YOQqHq/Lj/QEMs04fdw==;
Received-SPF: pass (pan.w3.org: domain of gmail.com designates 2607:f8b0:4864:20::52c as permitted sender) client-ip=2607:f8b0:4864:20::52c; envelope-from=toomim@gmail.com; helo=mail-pg1-x52c.google.com;
Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by pan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <toomim@gmail.com>) id 1sWwbH-00CmQh-0Y for ietf-http-wg@w3.org; Thu, 25 Jul 2024 11:25:35 +0000
Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-76cb5b6b3e4so554843a12.1 for <ietf-http-wg@w3.org>; Thu, 25 Jul 2024 04:25:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721906731; x=1722511531; darn=w3.org; h=in-reply-to:content-language:references:cc:to:from:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=Qn6HW0WuR72DsA5l6TB3DhHscwuy6IXtcerbjvqYbQ0=; b=JZOe08hvb3knsGJYlxboF3jys4paVsPYkFzYpVprVAWgsagDOntGJ4dVTvxqZcRkIc qXATJzz0V5KQO1rh4qzi+VXxhMCNXa9vG765u/X9z2MaUUPCc8eFD/cPGOZBp4yQB0yQ 4Q2qMcm04bqOvj6XFbxLXOdyPR0iF/9H3WeyTN/cR5In/pu5AiKMagPofJ5tE4e+JH5D JEkYs+LwwOGXHFUwHJ90/7jkFnPaozRjDVB1fT9EwN1hc/URlIJMzLuP8v38c+5OYkrc dPxZLKUkxnw6NxtMUArIeNWq1+UaVg8GnYEIWWZ6yuKlxaKwGD831fheHWm7UhCyMfeX ZLIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721906731; x=1722511531; h=in-reply-to:content-language:references:cc:to:from:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Qn6HW0WuR72DsA5l6TB3DhHscwuy6IXtcerbjvqYbQ0=; b=taYkz8Cy6Iz328raicygXC7tbdUBip9jDgDjtORsYRl+nk5J3jQKyKar+3KNJ7+IDl cyooougNco80ndaP21h5uY+2JF3VyBkvSfSrFBmKd+IEX+l+2kFTpdoc8NuuiYNJQgT8 sSZetPHSDjUMHWuRdhrk1u8w52PIEFsmA4RRIdg57Sd0KkRfIRSVZNf8TpCTegW06/Wz vQAOCTyJ4NvI4LcUBxYpZGl5IdaIybeBIkg2bQX4n2ig884lXBgmsEAToGBrGDOLqWPy H8TmPjIk7qLpWsBW1BpVf+Bhk/ue95bVCZnYzd6OHwIw1pCXmQiBAeV4PpXASme3Tc4J WnJw==
X-Gm-Message-State: AOJu0YyvDF9NL4dqTMQkdl0XrR0EWGC4wM+eFP4UDAa4inzgEiPPhuGC i++eQXim6WAdQMHiduJs2+n04PNxD6ArMGlUZvMA/eyhTGzZH9B/
X-Google-Smtp-Source: AGHT+IGOP9ZJrb6u+tQwI8bOHchtYWsh3wCF5mrVfvveaBYw50kYrVki1hgGG0yJabO9sG+nPl9STA==
X-Received: by 2002:a17:90a:d984:b0:2cb:4c06:8f11 with SMTP id 98e67ed59e1d1-2cf2ea0f2ecmr1564517a91.22.1721906730929; Thu, 25 Jul 2024 04:25:30 -0700 (PDT)
Received: from [172.31.7.130] ([207.194.231.35]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2cdb739114bsm3402679a91.2.2024.07.25.04.25.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Jul 2024 04:25:30 -0700 (PDT)
Content-Type: multipart/alternative; boundary="------------TvzJVyAbS023e4eoGGDzCeUB"
Message-ID: <139ef334-62df-49e1-8a3f-39effaee04dd@gmail.com>
Date: Thu, 25 Jul 2024 04:25:29 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: Michael Toomim <toomim@gmail.com>
To: Marius Kleidl <marius@transloadit.com>
Cc: ietf-http-wg@w3.org, Braid <braid-http@googlegroups.com>
References: <CANY19Ns76du=x04xtejdRrdNT2Lq_=5Huo5oH_KQ9qg5bAO89A@mail.gmail.com> <29911fc7-cfa3-4ea4-8ee0-822781060fa5@gmail.com> <CANY19Nt5XSjNguTY2poHvdLQF7p=TAEb1hX1p=ZS2siMCf-U0Q@mail.gmail.com> <efb367a4-2abe-4daa-b94c-f0a62a3415ae@gmail.com>
Content-Language: en-US
In-Reply-To: <efb367a4-2abe-4daa-b94c-f0a62a3415ae@gmail.com>
X-W3C-Hub-DKIM-Status: validation passed: (address=toomim@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-5.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, DMARC_PASS=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_WL=-1
X-W3C-Scan-Sig: pan.w3.org 1sWwbH-00CmQh-0Y c9524fadbfa7100673730e4e208a6774
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Resumable Upload draft updates
Archived-At: <https://www.w3.org/mid/139ef334-62df-49e1-8a3f-39effaee04dd@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/52135
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/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Toomim:
>> 1. What is the parent version of a resource that a client is
>> uploading to? Requests have to set this header to ensure they are
>> appending at the correct offset, but I am wondering what parent
>> version would be included in responses to HEAD requests. The example
>> responses in section 3.3 always use the 0 byte count.
>
> Ah, yes... Well, the parent header is actually redundant in that case—
> so I'm removing it from the example.
>
> There, I think this
> <https://github.com/braid-org/braid-spec/commit/9e9485cdd4d2adcb0e7898b13919b06dc12ec496>
> is clearer now. How about you?
>
Ohh... I think the reason for the parents header is actually to support
multiple uploaders at the same time.
Consider the case where Bill and Ted stream-upload themselves to
/phonebooth at the same time. In a sense, we can then consider
/phonebooth to have forked in time:
genesis
/ \
/ \
bill-0 ted-0
| |
bill-1 ted-1
| |
bill-2 ted-2
| |
... ...
Eventually, one or both of the streams will `end`, and then maybe one or
both will merge to master and become the official value of /phonebooth.
But in the meanwhile, while they are uploading, it's nice for the
clients and servers to keep track of which fork of time they are on.
That's why the client's HEAD request for "how much has been uploaded?"
specifically signals which parent it's concerned with:
HEAD /phonebooth
Parents: "ted-0"
This constrains the server to only give updates parented by the "ted-0"
line of history.
Very good questions to be asking!
Michael
- Resumable Upload draft updates Marius Kleidl
- Re: Resumable Upload draft updates Marius Kleidl
- Re: Resumable Upload draft updates Michael Toomim
- Re: Resumable Upload draft updates Michael Toomim
- Re: Resumable Upload draft updates Michael Toomim
- Re: Resumable Upload draft updates Marius Kleidl
- re: Resumable Upload draft updates Rob Sayre
- Re: Resumable Upload draft updates Marius Kleidl
- Re: Resumable Upload draft updates Rob Sayre
- Re: Resumable Upload draft updates Lucas Pardue
- Re: Resumable Upload draft updates Rob Sayre
- Re: Resumable Upload draft updates Rob Sayre