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

Craig Pratt <craig@ecaspia.com> Thu, 12 May 2016 02:23 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 7585E12D543 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 May 2016 19:23:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.917
X-Spam-Level:
X-Spam-Status: No, score=-7.917 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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=ecaspia-com.20150623.gappssmtp.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 daeUzBZRGVMY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 11 May 2016 19:23:51 -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 D40C912D0D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 11 May 2016 19:23:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1b0gE7-0003Df-TY for ietf-http-wg-dist@listhub.w3.org; Thu, 12 May 2016 02:19:47 +0000
Resent-Date: Thu, 12 May 2016 02:19:47 +0000
Resent-Message-Id: <E1b0gE7-0003Df-TY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <craig@caspiaconsulting.com>) id 1b0gE2-0003CG-Sg for ietf-http-wg@listhub.w3.org; Thu, 12 May 2016 02:19:42 +0000
Received: from mail-pf0-f173.google.com ([209.85.192.173]) by lisa.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <craig@caspiaconsulting.com>) id 1b0gE0-0003HG-EX for ietf-http-wg@w3.org; Thu, 12 May 2016 02:19:42 +0000
Received: by mail-pf0-f173.google.com with SMTP id c189so26023463pfb.3 for <ietf-http-wg@w3.org>; Wed, 11 May 2016 19:19:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ecaspia-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=6HuXTclkLikJ/Pt3DHe1kb+LxCm3gaOixxsJZo/kIZM=; b=bK+zvAKRfXWMTZGERjY96WnUqC3sTH0akifm2HjnwcKrP3G89d/ENcXEVs3DM2KrHf fHe7jK4PZh/cWZyCpvOoMN30Dy0Rzqtr4Qsrj4L6J/7ZIOhFi4v0Fvc5/kuJ2VEZQTM4 +MMwYUoFYBLjoRbJd/M7SQC5YEfIwqHf/kD3n3NgWFxkFRSmdVxCNqNy9n8HAzHkAvAv ubvL4vTvTdr7TcCqxyeIyOarygrgPVgZ5bW78xywStH2wrbarkJo4V5Hg0YwpmIFWyrw pT3ERcxcSdoE3kaik0r2IbZUpW1TA1jyqqmmcJNMzIwYSsnVnszu4NDpYSsv+fqonqqo YoOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=6HuXTclkLikJ/Pt3DHe1kb+LxCm3gaOixxsJZo/kIZM=; b=gyMy6xDpJ4VAPTsAafa1Wx8wlIcp8hveAHxVLG4ClCBIZmuCXQxxFHgzd2LS++OgI1 XDkDxDGq0vnY2n+8whlJG9SzERpJlqaIMhWXioSn63jh77YA3lvEDGwqPGycvFC6RtXO YHh35J9rNJqrg3nExMlSjBpw9+uBt+Hr+A7j2YphjntLiQ5Tw1046lSHJlSfsmQuUttQ xWzNNHnlsqrM5ZatduR+pKdp6HeUph4RYo9Mzj0Rclfn77go7xSuHpWjTk95axiCCIEf hX6hywnAMwxnLRZYCIF4keFv2oiKAiUAAM4fEkCMXS4vPaj4j0fnbBubl+EZsaoNmzfd nw1A==
X-Gm-Message-State: AOPr4FWXV1AF9CgOZhZed8FBeq5fIGLA0sNerqJxlPATX3lTlXxr9IAQcKCV/c+1GpdUNw==
X-Received: by 10.98.18.195 with SMTP id 64mr9921750pfs.152.1463019554341; Wed, 11 May 2016 19:19:14 -0700 (PDT)
Received: from [10.10.1.105] (50-193-209-61-static.hfc.comcastbusiness.net. [50.193.209.61]) by smtp.googlemail.com with ESMTPSA id hz10sm15294401pac.15.2016.05.11.19.19.13 for <ietf-http-wg@w3.org> (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 May 2016 19:19:13 -0700 (PDT)
To: ietf-http-wg@w3.org
References: <57102718.7010900@ecaspia.com> <0356EBBE092D394F9291DA01E8D28EC2021CEBE9AC@SEM001PD.sg.iaea.org> <5714A316.1080609@ecaspia.com> <9E953B010F1E974399030905C5DCB2E7183D2D4B@ESESSMB101.ericsson.se> <5715438F.4030100@ecaspia.com> <9E953B010F1E974399030905C5DCB2E7183D3011@ESESSMB101.ericsson.se> <57160081.9050307@ecaspia.com> <9E953B010F1E974399030905C5DCB2E7183D33A3@ESESSMB101.ericsson.se> <5716A8F8.6010208@ecaspia.com> <9E953B010F1E974399030905C5DCB2E7183D3DC4@ESESSMB101.ericsson.se> <5717C89C.1010601@ecaspia.com> <9E953B010F1E974399030905C5DCB2E7183D4070@ESESSMB101.ericsson.se> <CACweHNCFi_x5k6sZ0n3u3oNpa2rE7i-08fh9xtqfZFe4SfjSwA@mail.gmail.com> <5717EFB0.4050708@ecaspia.com> <5718466A.6010602@ecaspia.com> <0356EBBE092D394F9291DA01E8D28EC2022062FEF5@SEM002PD.sg.iaea.org> <7277CE69-0350-4AC2-81BB-61F911087E9D@cablelabs.com> <710FB0BE-8BD5-4F08-8BCC-A2C7F6CFE1E2@mnot.net> <CABkgnnU6nRBiVE9wXO4wgs1aL4QAo=g82U=3EN9fBsw93f_=3w@mail.gmail.com>
From: Craig Pratt <craig@ecaspia.com>
Organization: Caspia Consulting
Message-ID: <5733E820.60809@ecaspia.com>
Date: Wed, 11 May 2016 19:19:12 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <CABkgnnU6nRBiVE9wXO4wgs1aL4QAo=g82U=3EN9fBsw93f_=3w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=209.85.192.173; envelope-from=craig@caspiaconsulting.com; helo=mail-pf0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1b0gE0-0003HG-EX 10c5485ceaeb31e40cadcd910ce9a194
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/5733E820.60809@ecaspia.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/31636
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 5/11/16 6:40 PM, Martin Thomson wrote:
> On 12 May 2016 at 10:59, Mark Nottingham <mnot@mnot.net> wrote:
>> 1. Changing the 'bytes' range-unit to allow this use case
>> 2. Minting a new range-unit
> I suggested a third option: work around the limitation.  Was there a
> reason that isn't feasible?  (There are probably many, but I saw none
> offered.)
>
I'm definitely OK with a third option.

If no one thinks it's safe to define new Range Units, perhaps the 
"Range" and "Content-Range" ABNF can have the ability to express 
non-"bytes" Range Units removed and a new header can be defined which 
has the same semantics, produces a Partial Content response, references 
the Unit Range registry and won't hose up proxies and other entities 
that aren't coded to deal with something other than "bytes" or "none" in 
"Accept-Range"?

e.g. "Range-Units-Accepted" and "Range-Unit" headers could be defined...

cp


-- 

craig pratt

Caspia Consulting

craig@ecaspia.com

503.746.8008