Re: The use of binary data in any part of HTTP 2.0 is not good

David Morris <dwm@xpasc.com> Sun, 20 January 2013 23:16 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 C363E21F8803 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 20 Jan 2013 15:16:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8
X-Spam-Level:
X-Spam-Status: No, score=-8 tagged_above=-999 required=5 tests=[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 gxJexo1tbrUi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 20 Jan 2013 15:16:30 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 18F4B21F87FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 20 Jan 2013 15:16:30 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Tx47b-0000vQ-Gh for ietf-http-wg-dist@listhub.w3.org; Sun, 20 Jan 2013 23:16:15 +0000
Resent-Date: Sun, 20 Jan 2013 23:16:15 +0000
Resent-Message-Id: <E1Tx47b-0000vQ-Gh@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1Tx47W-0000te-EO for ietf-http-wg@listhub.w3.org; Sun, 20 Jan 2013 23:16:10 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1Tx47V-0008RO-7o for ietf-http-wg@w3.org; Sun, 20 Jan 2013 23:16:10 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 05C223FC14 for <ietf-http-wg@w3.org>; Sun, 20 Jan 2013 23:15:42 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id r0KNFfGv016504 for <ietf-http-wg@w3.org>; Sun, 20 Jan 2013 15:15:41 -0800
Date: Sun, 20 Jan 2013 15:15:41 -0800
From: David Morris <dwm@xpasc.com>
Reply-To: 'HTTP Working Group' <ietf-http-wg@w3.org>
cc: 'HTTP Working Group' <ietf-http-wg@w3.org>
In-Reply-To: <20130120223022.GQ6838@1wt.eu>
Message-ID: <alpine.LRH.2.01.1301201514090.15390@egate.xpasc.com>
References: <CAAZO4q4vEiYhH5FaX2XCxXox9jkf4dLTy8coQZiE+CYHA-QzBg@mail.gmail.com> <20130120223022.GQ6838@1wt.eu>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
X-Milter-Version: master.1+13-gbab1945
X-AV-Type: clean
X-AV-Accuracy: exact
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.com
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: AWL=-3.010, BAYES_00=-1.9, MISSING_HEADERS=1.021, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Tx47V-0008RO-7o f22dc9eb67e9c2ef4db914c35abbd2a9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: The use of binary data in any part of HTTP 2.0 is not good
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1301201514090.15390@egate.xpasc.com>
To: ietf-http-wg@w3.org
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/16051
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 Sun, 20 Jan 2013, Willy Tarreau wrote:

> Hi Pablo,
> 
> On Sun, Jan 20, 2013 at 07:20:25PM -0300, Pablo wrote:
> > Hello,
> > 
> >    I have readed this document
> > http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft1 today [1].
> > 
> > I just wanted to say that I think that the use of any binary data (framing,
> > header compression, etc.) in any place of the "header" part of HTTP
> > protocol is not good; so, please only use plaintext for HTTP 2.0 because,
> > otherwise, that will make very difficult to "see" the headers's protocol :)
> > 
> > Thats all,
> > Thanks for reading this few lines, sorry for my basic English, and I hope
> > that you can re-think all this of using binary data in any part of HTTP X.X
> > (ej: session layer).
> 
> As much as I love to read HTTP protocol in network traces or in programs,
> I must say that we (humans) are very rare HTTP readers. I suspect that only
> something like 1 request on 1 billion is read by a human. This is not a great
> enough ratio for keeping an ambiguous, complex, and sometimes even insecure
> protocol to parse.
> 
> I too tried as much as I could to see what would be achievable with a text
> based protocol, but I finally admitted it was a dead end. At the moment the
> challenges consist in feeding requests as fast as possible over high latency
> connections and processing them as fast as possible on load balancers and
> caches in order to maintain a scalable internet. Humans are very incapable
> devices there.

It won't be rocket science to create a plugin for Wireshark/etherial and
other network tools which can format the binary data for those cases where
humans need to do that for debugging.