Re: [ppsp] Firefox ppsp URL support

Dave Cottlehuber <dch@skunkwerks.at> Mon, 10 March 2014 21:07 UTC

Return-Path: <dch@jsonified.com>
X-Original-To: ppsp@ietfa.amsl.com
Delivered-To: ppsp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA33B1A063C for <ppsp@ietfa.amsl.com>; Mon, 10 Mar 2014 14:07:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_PASS=-0.001] 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 MEMjP_IxZT8J for <ppsp@ietfa.amsl.com>; Mon, 10 Mar 2014 14:07:29 -0700 (PDT)
Received: from mail-ea0-x229.google.com (mail-ea0-x229.google.com [IPv6:2a00:1450:4013:c01::229]) by ietfa.amsl.com (Postfix) with ESMTP id BB4E61A04C5 for <ppsp@ietf.org>; Mon, 10 Mar 2014 14:07:28 -0700 (PDT)
Received: by mail-ea0-f169.google.com with SMTP id h14so4006188eaj.28 for <ppsp@ietf.org>; Mon, 10 Mar 2014 14:07:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jsonified.com; s=google; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:content-type:content-transfer-encoding :content-disposition; bh=Vt2BoUeNwnKiVHrk9Kp0w6JKeGozs2jifiqCXo79M3M=; b=JjzC4jSo+e4nUB4RH5x9yrhljQCI/xoVaY0wA+X6Hon8D5h15Kw9Um3CXf3xQuTLj0 qi7hj0p+359HINCYIlSSBuO6dYiP41YDvELPybvuF9RMhNGdre0tOh3U2dg9PvD8UU1o blhbjaAwsbivLzQFDhvHT7r5Ii+fjFAUtLDS8=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:message-id:in-reply-to :references:subject:mime-version:content-type :content-transfer-encoding:content-disposition; bh=Vt2BoUeNwnKiVHrk9Kp0w6JKeGozs2jifiqCXo79M3M=; b=HbJUCm5mHauuJ1zD9Lq/EnHrgM6T2vVlvb/mwP9ePYWouQAx8YpwN0aOV0aBVrX2+G 5uRhbjYEP2mljXEUlVkHXpom4hYcKAVzTTK8Dh695EIRAfDn5cd2Y3zWvMwX2xaunzVs veF4c6qN5ZYi70EHRsIElytBkjuqx/Bc2zK3WeDZibZJNvR6GqXrgDDOErz0y5sMAAMm 5TFiTbY93qMU1FPHAecpvZrsT41q3Ls5xaRWvDHYgePuNytiP093PxhLrHUvz2cauidW go86SLilMqjE081m1vyeVVttM0QiVmoXDyklaar8DpI3xHDfsTeSnJOCVPkIDu2nnN+v 8W0Q==
X-Gm-Message-State: ALoCoQkzrk3p9J/1pgsX6AeP/ritkX/RO+71rQz8LlQ0ETKtB+dgPP33KpTQKYLPpKnysYJu0L4j
X-Received: by 10.14.102.71 with SMTP id c47mr37477461eeg.19.1394485642626; Mon, 10 Mar 2014 14:07:22 -0700 (PDT)
Received: from akai.jsonified.com (chello084112019176.2.11.vie.surfer.at. [84.112.19.176]) by mx.google.com with ESMTPSA id w6sm49318745eex.9.2014.03.10.14.07.21 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Mar 2014 14:07:21 -0700 (PDT)
Sender: Dave Cottlehuber <dch@jsonified.com>
Date: Mon, 10 Mar 2014 22:07:20 +0100
From: Dave Cottlehuber <dch@skunkwerks.at>
To: "ppsp@ietf.org" <ppsp@ietf.org>
Message-ID: <etPan.531e2988.46e87ccd.4b0@akai.jsonified.com>
In-Reply-To: <531B4789.2000108@thefirst.org>
References: <etPan.53170ae3.327b23c6.13b40@akai.jsonified.com> <CAJYQ-fRK04u88g19EAG9TOSQFWN=tzCLxTacSbsiHzii+YWoSg@mail.gmail.com> <CAL+Y1nsniFo9-KFc63551fU+-eia46x8uKJ2A2WEBPKVq=W2sA@mail.gmail.com> <531B4789.2000108@thefirst.org>
X-Mailer: Airmail Beta (232)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Archived-At: http://mailarchive.ietf.org/arch/msg/ppsp/u3REeNfTQi1y1vQyt4XQA2Dfj1c
Subject: Re: [ppsp] Firefox ppsp URL support
X-BeenThere: ppsp@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: discussing to draw up peer to peer streaming protocol <ppsp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ppsp>, <mailto:ppsp-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ppsp/>
List-Post: <mailto:ppsp@ietf.org>
List-Help: <mailto:ppsp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ppsp>, <mailto:ppsp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Mar 2014 21:07:33 -0000

On 08. März 2014 at 17:38:46, Jeff Thompson (jeff@thefirst.org) wrote:
> On 2014-03-08 1:15, Dave Cottlehuber wrote:
> > For firefox it won't be a plugin, it will be native code + exposed js
> > api; there's no guarantee that this will be merged into the official
> > ff release though yet.
>  
> Hello Dave,
>  
> A related question. What are the plans for Firefox to support ppsp
> URLs, so that an HTML page can have, for example
>  
> and Firefox (or an extension) will use PPSP to fetch and display an
> image (or other content type)?
>  
> Thank you,
> - Jeff Thompson

Hey Jeff,

I would love to see this too. I had a brief chat with some IETF folk about the right way to organise this; it requires a bit of coordination across Mozilla, IANA, and a few other places. I’d love to have some help on this, atm I am still working on the Erlang peer before I get stuck into the javascript one. If there’s interest in doing this I am happy to give input based on what I’ve learned so far.

One of the other crazy ideas I had was that, as the leaf nodes don’t have to be identical chunk size, one could in theory cram an entire web site into a hash tree simply by putting the files into the appropriate lower level chunks with some structuring info, for example, I’m not sure how mime types etc would be transported, and there are a few other hitches, but in *theory* it’s all achievable :).

I would imagine it will need something like http://www.w3.org/TR/app-uri/ and these are defined by http://www.w3.org/TR/uri-clarification/ which refers to http://tools.ietf.org/html/rfc2717 and http://tools.ietf.org/html/rfc2718 ; I have had some offers of assistance in working through all this, with a recommendation that getting a few of the core browser developers onside with the proposal before doing all the paperwork.

Currently my priority is to finish the Erlang PPSP code first :-).

A+
--  
Dave Cottlehuber
Sent from my PDP11