Re: [hybi] Additional HTTP headers on upgrade request?

Greg Wilkins <gregw@webtide.com> Mon, 26 July 2010 00:29 UTC

Return-Path: <gregw@webtide.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E8D2A3A6861 for <hybi@core3.amsl.com>; Sun, 25 Jul 2010 17:29:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.567
X-Spam-Level:
X-Spam-Status: No, score=-0.567 tagged_above=-999 required=5 tests=[AWL=-1.005, BAYES_40=-0.185, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6+WzWvgwJahr for <hybi@core3.amsl.com>; Sun, 25 Jul 2010 17:29:21 -0700 (PDT)
Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by core3.amsl.com (Postfix) with ESMTP id DF8B53A6846 for <hybi@ietf.org>; Sun, 25 Jul 2010 17:29:20 -0700 (PDT)
Received: by fxm1 with SMTP id 1so6465678fxm.31 for <hybi@ietf.org>; Sun, 25 Jul 2010 17:29:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.111.137 with SMTP id s9mr5696485fap.30.1280104180769; Sun, 25 Jul 2010 17:29:40 -0700 (PDT)
Received: by 10.223.112.129 with HTTP; Sun, 25 Jul 2010 17:29:40 -0700 (PDT)
In-Reply-To: <Pine.LNX.4.64.1007222049510.7242@ps20323.dreamhostps.com>
References: <n2s188fcbce1005071111kd19e6f41m861eaeb593d88475@mail.gmail.com> <4BE5994E.4010701@webtide.com> <u2n188fcbce1005092125veaf94306u249a225bdd3925ca@mail.gmail.com> <B8058102-9589-4663-976D-217B939667DD@apple.com> <Pine.LNX.4.64.1007210038520.7242@ps20323.dreamhostps.com> <20100721011221.GC27243@shareable.org> <20100721051910.GH26999@1wt.eu> <20100721231308.GD14589@shareable.org> <Pine.LNX.4.64.1007222049510.7242@ps20323.dreamhostps.com>
Date: Mon, 26 Jul 2010 10:29:40 +1000
Message-ID: <AANLkTim9yRrFGN=tqYgEgiGDwO+ZCNd_3r=L+hGdUp9k@mail.gmail.com>
From: Greg Wilkins <gregw@webtide.com>
To: hybi@ietf.org
Content-Type: multipart/alternative; boundary="001636e0a749f865ca048c3f7a34"
Subject: Re: [hybi] Additional HTTP headers on upgrade request?
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jul 2010 00:29:23 -0000

On 23 July 2010 06:55, Ian Hickson <ian@hixie.ch> wrote:

> Writing a server for Web Sockets is trivial enough that I really don't see
> why that needs to be the case.
>
>
Ian,

It is not an issue of triviality.  It is an issue of security,
maintainability, traceability, software engineering, software reuse and
living in the real world.

I have never worked in an environment where it would be acceptable for an
application to crack open any port on the internet (let alone port 80) and
start sending/receiving arbitrary bytes.

These "in the future there will be no monolithic servers" and "everything
will be implemented by the same developers" arguments are adjuncts to the
"amateur programmers" one.  They've been responsible for much stonewalling
and endless iterations in this WG.     It's really great that you have a
vision for the future of web application development, but I do not see that
using the  websocket protocol as a vehicle to advance your architectural
agenda is appropriate.      If you want to advance your architectural ideas,
I suggest implementing some non-trivial solutions using them and then seeing
if others will follow your example.

I do not believe it is acceptable to have any solution in this space that
requires intimate implementation details to be shared between the server,
the server-side application and the client side application.   It is not
acceptable to continue to say things like: "they will know the binary frame
is B67 encoded ISO-12345-37 because the same developers will write the
client application, the server application and the server itself".