Re: Multi-GET, extreme compression?

Julian Reschke <julian.reschke@gmx.de> Wed, 27 February 2013 16:29 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 D0DD521F873D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Feb 2013 08:29:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.632
X-Spam-Level:
X-Spam-Status: No, score=-8.632 tagged_above=-999 required=5 tests=[AWL=1.967, 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 h9R7d9YEHBzR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Feb 2013 08:29:36 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2C58C21F847A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 27 Feb 2013 08:29:36 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UAjs8-0005KD-Af for ietf-http-wg-dist@listhub.w3.org; Wed, 27 Feb 2013 16:28:48 +0000
Resent-Date: Wed, 27 Feb 2013 16:28:48 +0000
Resent-Message-Id: <E1UAjs8-0005KD-Af@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1UAjrz-0005JC-3f for ietf-http-wg@listhub.w3.org; Wed, 27 Feb 2013 16:28:39 +0000
Received: from mout.gmx.net ([212.227.15.19]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1UAjry-0000f8-8d for ietf-http-wg@w3.org; Wed, 27 Feb 2013 16:28:39 +0000
Received: from mailout-de.gmx.net ([10.1.76.19]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0M9d2X-1TyL0G1mtb-00CyDD for <ietf-http-wg@w3.org>; Wed, 27 Feb 2013 17:28:11 +0100
Received: (qmail invoked by alias); 27 Feb 2013 16:28:11 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.102]) [217.91.35.233] by mail.gmx.net (mp019) with SMTP; 27 Feb 2013 17:28:11 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18h9OhG9tIh7Af2REu0juUMEQwnOm/De/q5ri43Uv 5TFXUO+gjbfVd+
Message-ID: <512E341A.8000809@gmx.de>
Date: Wed, 27 Feb 2013 17:28:10 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3
MIME-Version: 1.0
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
CC: ietf-http-wg@w3.org
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>
In-Reply-To: <512E324D.40802@gmx.de>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=212.227.15.19; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-3.409, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1UAjry-0000f8-8d e96535643b34819fca4a32039a41c6eb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Multi-GET, extreme compression?
Archived-At: <http://www.w3.org/mid/512E341A.8000809@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16881
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 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.

Best regards, Julian