Re: Multi-GET, extreme compression?

"Nicolas Mailhot" <nicolas.mailhot@laposte.net> Wed, 27 February 2013 16:47 UTC

Return-Path: <ietf-http-wg-request@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 43EED21F8667 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Feb 2013 08:47:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fn8+A6ATJPZN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Feb 2013 08:47:03 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 94CA421F862B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 27 Feb 2013 08:47:03 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UAk8i-0002lT-Oe for ietf-http-wg-dist@listhub.w3.org; Wed, 27 Feb 2013 16:45:56 +0000
Resent-Date: Wed, 27 Feb 2013 16:45:56 +0000
Resent-Message-Id: <E1UAk8i-0002lT-Oe@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1UAk8V-0002kb-2r for ietf-http-wg@listhub.w3.org; Wed, 27 Feb 2013 16:45:43 +0000
Received: from smtpout2.laposte.net ([193.253.67.227] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1UAk8S-0006p1-GE for ietf-http-wg@w3.org; Wed, 27 Feb 2013 16:45:43 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8504-out with ME id 5UlD1l0074WQcrc03UlDtG; Wed, 27 Feb 2013 17:45:13 +0100
Received: from localhost (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 263BE2E734C; Wed, 27 Feb 2013 17:45:13 +0100 (CET)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yGsemF-8D9P0; Wed, 27 Feb 2013 17:45:11 +0100 (CET)
Received: from arekh.dyndns.org (localhost [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Wed, 27 Feb 2013 17:45:11 +0100 (CET)
Received: from 163.116.6.10 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Wed, 27 Feb 2013 17:45:11 +0100
Message-ID: <a7b4621650fc52f6715fde44e77cf568.squirrel@arekh.dyndns.org>
In-Reply-To: <512E341A.8000809@gmx.de>
References: <CAMm+LwiF6EM8_aQgUm=nPS5XqaG25iRGNke_rnHTM1vTGMXdfg@mail.gmail.com> <A6A82B6EF92590887D2A23D5@cyrus.local> <D9118B58-F53F-4F75-8292-2B990172E234@opengroupware.org> <CABP7RbcX2OqttZuYeuYxhyOgE_ax0M67L1ywPy_VDpW1upM69Q@mail.gmail.com> <CAP+FsNeWDBTBYJ0P-URbO5avbUno5etKid10RM+dRwDWAUys2w@mail.gmail.com> <CABP7RbfVvZnYPPsRvzmC0BtCiPBxQmYXHTRKtq8XE7Z2wY2EfA@mail.gmail.com> <CAA4WUYioRAOEbjU32yEaJuWDAySiZF=OfKXcF-8esqTP0uqwtQ@mail.gmail.com> <968F329C-B6CF-4129-B816-DC56C834A4A4@opengroupware.org> <CAA4WUYgGiJmtbswzmXWi-Ob+1HmoGnMhwr+9j9b5KS5OVQQdjQ@mail.gmail.com> <2DA0834D-C0B7-4A26-B6AD-B5789D0CFA3B@opengroupware.org> <999F9463-660A-42FC-A11C-39CDE95CC616@mnot.net> <D70BFCAB-D2C1-4C66-994F-0C53F6C66581@opengroupware.org> <CABP7RbeiwjGXSO2F4BAc-MjnpRRzBddzP4Sm=Z15meaODQb4bQ@mail.g mail.com> <loom.20130227T111123-907@post.gmane.org> <512DE10E.4090200@gmx.de> <loom.20130227T162930-922@post.gmane.org> <512E324D.40802@gmx.de> <512E341A.8000809@gmx.de>
Date: Wed, 27 Feb 2013 17:45:11 +0100
From: Nicolas Mailhot <nicolas.mailhot@laposte.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Nicolas Mailhot <nicolas.mailhot@laposte.net>, ietf-http-wg@w3.org
User-Agent: SquirrelMail/1.4.22-10.fc19
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.227; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.703, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UAk8S-0006p1-GE d7d0f5da67e2ecb527d5019c27826df1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Multi-GET, extreme compression?
Archived-At: <http://www.w3.org/mid/a7b4621650fc52f6715fde44e77cf568.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16882
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>

Le Mer 27 février 2013 17:28, Julian Reschke a écrit :
> On 2013-02-27 17:20, Julian Reschke wrote:
>> On 2013-02-27 16:40, Nicolas Mailhot wrote:
>>> Julian Reschke <julian.reschke@...> writes:
>>>
>>>>
>>>> On 2013-02-27 11:16, Nicolas Mailhot wrote:
>>>>> James M Snell <jasnell@...> writes:
>>>>>
>>>>>
>>>>>> Fair enough
>>>>>
>>>>> There is a similar need for mput/mpost, the fact current web apps
>>>>> require
>>>>> a separate user sequence for each file a user wants to
>>>>> publish/attach to a
>>>>> message is one of the few remaining use-cases where they suck
>>>>> compared to
>>>>> local apps.
>>>>
>>>> But that's UI (HTML/JS), not protocol, right? Also, that's solvable; I
>>>> happen to be in a project where our web app supports bulk upload of
>>>> files by drag & drop to the browser window...
>>>
>>> That's just another workaround, where you paper over the missing
>>> feature with
>>> gobs of site-specific javascript and by pretending the average user
>>> drag-and-drops files in apps. I've seen the same demoware years ago it
>>> does not
>>> work out in real life.
>>>
>>> The average user does not drag and drop he uses the file selector,
>>> that maps to
>>> standard html forms, that maps to what the protocol knows to do (one
>>> element at
>>> a time). In browsers the file selector is restricted to single file
>>> selection to
>>> respect what non-js-extended http/html ecosystem allows.
>>>
>>> And, lastly, most web app developpers will not bother with loads of
>>> feel-good js
>>> workarounds since what the users want is their default file selector,
>>> not some
>>> kind of js emulation.
>>
>> I still don't understand what the constraints of the browsers have to do
>> with the protocol. Browsers use multipart uploads, and those allow
>> multiple files already. What am I missing?
>>
>> Best regards, Julian
>
> Also, see
> <http://www.w3.org/TR/html-markup/input.file.html#input.file.attrs.multiple>.
> No JS needed at all.

Ah, nice, someone finally noticed this part was broken. Pity it's not
deployed yet.
Though the html5 element would still map naturally to an http/2 mput :)

Thanks for the pointer!

-- 
Nicolas Mailhot