Re: Issue with "bytes" Range Unit and live streaming

Martin Thomson <martin.thomson@gmail.com> Wed, 20 April 2016 13:16 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 5494212DDBE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Apr 2016 06:16:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.017
X-Spam-Level:
X-Spam-Status: No, score=-8.017 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.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.996, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id piiF-zdahQsP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Apr 2016 06:16:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C46EF12DD26 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Apr 2016 06:16:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1asrvL-0003vL-7F for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Apr 2016 13:12:07 +0000
Resent-Date: Wed, 20 Apr 2016 13:12:07 +0000
Resent-Message-Id: <E1asrvL-0003vL-7F@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1asrvG-0003ue-EG for ietf-http-wg@listhub.w3.org; Wed, 20 Apr 2016 13:12:02 +0000
Received: from mail-ig0-f169.google.com ([209.85.213.169]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1asrvA-0005qz-S0 for ietf-http-wg@w3.org; Wed, 20 Apr 2016 13:12:01 +0000
Received: by mail-ig0-f169.google.com with SMTP id f1so127627774igr.1 for <ietf-http-wg@w3.org>; Wed, 20 Apr 2016 06:11:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=nf1//+8xSE07dTbKWKtQ9iMnVAEEFP62sUfahsnY1cU=; b=AbzavlHmPXdG4NWBU4gF3FyOSDLdbCr1IvhL2vybIje+hY+JV1urRTJIPrmz6fwCVH w5eKs3EuqvT9I3zYWMv+QWGbh6Cg4xLPvlD8tiR3/aIi+zSdzOF2PyCOpoczuwP1A/E7 3LN4OClnRWSriUh4QJgW16+cNgjHIOFw19QrWJ0E/DBqZkZu3KYSzDFTya5DO/PSeKTf 7RudanhkDBY+aO3S9hobmdFN8jfswFr3WS31AqvAnilbl6/tHmH11f1VrJzVPh9BJ3qA bxEljZuBMLGKeDPbnAe8mYnnN36vrLhGoVylUzb/ZL5zbA5Cw0HgeXpvwbyIk/7oPGOW phCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=nf1//+8xSE07dTbKWKtQ9iMnVAEEFP62sUfahsnY1cU=; b=YCONMb+TwHxS5LuoBfBwqsjQMmqmNm9XDcKnln8YZxkvvPibgC44CO18NYz06Ilb1h 51AfzkY9FsdOixG22n5hAlxB0jXNPHue04Jl4+jDpb/Gjnd/wgc82jh55qx9iAsf9AM4 DIZsYMbqQLy3fbOkbB2rzX4XO0LvBqYHStVdpY6YtR3VUKp90CrRU9DS8J4TkWOsrSN4 /Zxwdx3vhtyZAKhxf7EncKFBtJkL8O4RuqPR6JkO/MHD910bEpU9QnzNflvg3hWqowYP 4Pgxj52FP7Lo6TxTJQIGhqu+IwupwVy+feuqC2o+mWJNKvpSGPPOCih5vQ3VcQlcyrO7 EKcQ==
X-Gm-Message-State: AOPr4FWcP3SpJZMuOEJmrzZ7rGX6SIjJaxvXMMg3Lvxlog1GfwfuCls56XCkcyl4GgoJWEnAyIgPeqP6q7qh3A==
MIME-Version: 1.0
X-Received: by 10.50.30.73 with SMTP id q9mr3722383igh.77.1461157891011; Wed, 20 Apr 2016 06:11:31 -0700 (PDT)
Received: by 10.36.43.82 with HTTP; Wed, 20 Apr 2016 06:11:30 -0700 (PDT)
In-Reply-To: <7B9F91C2-E152-49A1-A762-215CB1534DB2@mnot.net>
References: <57102718.7010900@ecaspia.com> <432331E0-4FD1-44E6-8F50-C12BF1852192@mnot.net> <5716019B.4030104@ecaspia.com> <7B9F91C2-E152-49A1-A762-215CB1534DB2@mnot.net>
Date: Wed, 20 Apr 2016 23:11:30 +1000
Message-ID: <CABkgnnUtBy7DLzTMMhS3X-u9rYndQOcKcj3QdJ1_HUy+MGaG_g@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Craig Pratt <craig@ecaspia.com>, IETF HTTP BIS <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.213.169; envelope-from=martin.thomson@gmail.com; helo=mail-ig0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-7.9
X-W3C-Hub-Spam-Report: AWL=1.834, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1asrvA-0005qz-S0 7b911ca1582e56628048bb3d91fe1ac6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Issue with "bytes" Range Unit and live streaming
Archived-At: <http://www.w3.org/mid/CABkgnnUtBy7DLzTMMhS3X-u9rYndQOcKcj3QdJ1_HUy+MGaG_g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31521
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 20 April 2016 at 17:50, Mark Nottingham <mnot@mnot.net> wrote:
>> How about "b-live"?
>
> Better. If we choose to mint a new range-unit, it might be an opportunity to make other changes too, in which case it might be more generic; that would imply a different, more general name. But we're not there yet.

Maybe I'm not 100% across the constraints that we're operating with
here, but is there some way to achieve the basic goal here without
committing to changes to the protocol?

I ask because we have exactly one use of ranges in HTTP and that makes
me highly skeptical that this particular extension point is actually
extensible.  As noted up-thread, many implementations make
assumptions.  That makes the chances that we can successfully make
changes to the protocol quite slim, or at the very least they could be
expensive.

If we were to, say, accept that Range is how it is, and concentrated
on using the protocol as it is to solve the problem, could that work,
or is there some aspect to the problem that I'm missing?

For example...

If I were to request Range: 123456-* and that resulted in me receiving
an entirely different response (maybe via redirect) that included the
requested content with a "This-Is-Part-Of: <that other URL>;
from=123456", would that work?  Or, and I hesitate to suggest this,
but it does avoid the extra request... Vary: Range.