RE: Range Responses of Indeterminate Length: Draft

<K.Morgan@iaea.org> Tue, 13 October 2015 09:01 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 822E91A1B59 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 13 Oct 2015 02:01:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.911
X-Spam-Level:
X-Spam-Status: No, score=-6.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 J3KRsCp_nTZv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 13 Oct 2015 02:01:13 -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 869C51A1B5E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 13 Oct 2015 02:01:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZlvPM-0004jW-OS for ietf-http-wg-dist@listhub.w3.org; Tue, 13 Oct 2015 08:58:08 +0000
Resent-Date: Tue, 13 Oct 2015 08:58:08 +0000
Resent-Message-Id: <E1ZlvPM-0004jW-OS@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 <K.Morgan@iaea.org>) id 1ZlvPI-0004iR-SP for ietf-http-wg@listhub.w3.org; Tue, 13 Oct 2015 08:58:04 +0000
Received: from vs-m201.iaea.org ([161.5.6.178]) by lisa.w3.org with esmtp (Exim 4.80) (envelope-from <K.Morgan@iaea.org>) id 1ZlvPD-0004ia-DX for ietf-http-wg@w3.org; Tue, 13 Oct 2015 08:58:01 +0000
Received: from vs-m2.iaea.org (vs-mail2.iaea.org [172.24.1.27]) by vs-m201.iaea.org (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id t9D8vRJI026248; Tue, 13 Oct 2015 10:57:29 +0200
Received: from E2.iaea.org (e2.iaea.org [172.24.0.42]) by vs-m2.iaea.org (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id t9D8vR9K021452; Tue, 13 Oct 2015 10:57:27 +0200
X-Envelope-Sender: K.Morgan@iaea.org
Received: from SEM001PD.sg.iaea.org (161.5.105.92) by E2.iaea.org (172.24.0.42) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 13 Oct 2015 10:57:26 +0200
Received: from SEM002PD.sg.iaea.org ([169.254.2.245]) by SEM001PD.sg.iaea.org ([169.254.1.223]) with mapi id 14.03.0224.002; Tue, 13 Oct 2015 10:57:26 +0200
From: K.Morgan@iaea.org
To: rodger.combs@gmail.com, ietf-http-wg@w3.org
CC: mnot@mnot.net
Thread-Topic: Range Responses of Indeterminate Length: Draft
Thread-Index: AQHQ/KlA+GepYipkzkKsdaXj31qc/J5pKy3w
Date: Tue, 13 Oct 2015 08:57:25 +0000
Message-ID: <0356EBBE092D394F9291DA01E8D28EC201D254E3ED@SEM002PD.sg.iaea.org>
References: <F755B212-3186-493F-B298-E529A2502467@plex.tv> <DF498B3A-90B7-4D30-88EA-E312B06F9BC4@mnot.net> <55238972.3020108@it.aoyama.ac.jp> <11A96BCA-924D-45C3-B6CA-3653A3470077@mnot.net> <1F073ED1-5F84-4721-9D27-CC07FE0D457C@plexapp.com> <8D499A32-8141-484C-8E96-02222280C0B7@mnot.net> <3030B260-EAA0-4357-B9F6-3169001EF273@plexapp.com> <64571D1F-E12B-46D8-B95B-F296C642EE4C@mnot.net> <DEB8329F-C110-4CA5-82E1-49083B2C2ED2@plexapp.com> <B64E144F-1DB8-4A42-B059-A8455F01F6E0@mnot.net> <A991B779-9D08-4B04-AF37-FABD038D648B@plexapp.com> <6819E599-B029-4519-A4C3-C620CCE28403@plexapp.com>
In-Reply-To: <6819E599-B029-4519-A4C3-C620CCE28403@plexapp.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [161.5.105.94]
Content-Type: multipart/alternative; boundary="_000_0356EBBE092D394F9291DA01E8D28EC201D254E3EDSEM002PDsgiae_"
MIME-Version: 1.0
X-KLMS-Rule-ID: 1
X-KLMS-Message-Action: clean
X-KLMS-AntiSpam-Status: not scanned, disabled by settings
X-KLMS-AntiPhishing: Clean, 2015/10/12 14:36:13
X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.705, bases: 2015/10/13 03:46:00 #6632558; khse: 2014-03-12 13:55:01
X-KLMS-AntiVirus-Status: Clean, skipped
X-Scanned-By: MIMEDefang 2.73 on 172.24.1.27
Received-SPF: pass client-ip=161.5.6.178; envelope-from=K.Morgan@iaea.org; helo=vs-m201.iaea.org
X-W3C-Hub-Spam-Status: No, score=-5.3
X-W3C-Hub-Spam-Report: AWL=-1.546, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, W3C_NW=0.5
X-W3C-Scan-Sig: lisa.w3.org 1ZlvPD-0004ia-DX 8436019af60218ac3efcc1f2ebdd0441
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Range Responses of Indeterminate Length: Draft
Archived-At: <http://www.w3.org/mid/0356EBBE092D394F9291DA01E8D28EC201D254E3ED@SEM002PD.sg.iaea.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30359
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 Friday,02 October 2015 02:28, rodger.combs@gmail.com<mailto:rodger.combs@gmail.com> wrote:
>

> I've updated https://datatracker.ietf.org/doc/draft-combs-http-indeterminate-range/

> to address some minor formatting issues, and complete the IANA Considerations section.

> Does anyone have any input on this?



Sorry for the late and possibly ignorant response. Is what you’re trying to accomplish already possible with the use of multipart/byteranges?



e.g.

- Client requests stream starting from byte 0 of an unknown length.

- Server responds in N-KByte buffers (e.g. 1K) of data from a stream of unknown length (chunking not shown for brevity)

- Response ends at the end of stream or when the client closes the connection to seek to a new location





GET /path/file HTTP/1.1

Host: example.com

Range: bytes=0-





HTTP/1.1 206 Partial Content

Date: Wed, 15 Nov 1995 06:25:24 GMT

Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT

Transfer-Encoding: chunked

Content-Type: multipart/byteranges; boundary=THIS_STRING_SEPARATES



--THIS_STRING_SEPARATES

Content-Type: file/mimetype

Content-Range: bytes 0-1023/*



...the first range...

--THIS_STRING_SEPARATES

Content-Type: file/mimetype

Content-Range: bytes 1024-2047/*



...the second range...

--THIS_STRING_SEPARATES—

...





-keith



This email message is intended only for the use of the named recipient. Information contained in this email message and its attachments may be privileged, confidential and protected from disclosure. If you are not the intended recipient, please do not read, copy, use or disclose this communication to others. Also please notify the sender by replying to this message and then delete it from your system.