Re: [hybi] #1: HTTP Compliance

Bjoern Hoehrmann <derhoermi@gmx.net> Mon, 17 May 2010 21:37 UTC

Return-Path: <derhoermi@gmx.net>
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 C538F3A6AE0 for <hybi@core3.amsl.com>; Mon, 17 May 2010 14:37:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level:
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[BAYES_50=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 LAnOuXbkwGZz for <hybi@core3.amsl.com>; Mon, 17 May 2010 14:37:39 -0700 (PDT)
Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by core3.amsl.com (Postfix) with SMTP id 71C593A6B50 for <hybi@ietf.org>; Mon, 17 May 2010 14:37:33 -0700 (PDT)
Received: (qmail invoked by alias); 17 May 2010 21:37:24 -0000
Received: from dslb-094-222-156-193.pools.arcor-ip.net (EHLO hive) [94.222.156.193] by mail.gmx.net (mp008) with SMTP; 17 May 2010 23:37:24 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX18hKLMSA0khQK1GcZBiy/M7PsYL1pOfyv1V/xKNwI S2ixp8pyVxCvw7
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Maciej Stachowiak <mjs@apple.com>
Date: Mon, 17 May 2010 23:37:31 +0200
Message-ID: <bbb3v5lmk3s450nt6qcmmvli2kmhjpmg4m@hive.bjoern.hoehrmann.de>
References: <068.d07026741c6694cd80652d2a7d34f236@tools.ietf.org> <4BF106AD.6020506@webtide.com> <A42E692A-7210-4FF1-AB4F-CFB3E8C38756@apple.com> <4BF116A8.4080501@webtide.com> <9CFFE5E7-305E-4FDA-A14D-1616FE2E7D8A@apple.com>
In-Reply-To: <9CFFE5E7-305E-4FDA-A14D-1616FE2E7D8A@apple.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] #1: HTTP Compliance
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, 17 May 2010 21:37:41 -0000

* Maciej Stachowiak wrote:
>True. If someone comes up with a proposal to solve the same problem in a
>way that doesn't technically violate HTTP, that would be great, and we
>can consider it. What if there isn't? Do we give up and leave the
>protocol less effective than it could be for the sake of purity?
>
>I can see how the idea of HTTP compliance should be a preference, but I
>don't see how it can be a hard requirement, if it turns out that we can
>make the protocol work better only by violating.

I do not think the requirement here is useful as sending only proper
HTTP messages over what is assumed to be a HTTP connection is a matter
of course and not some self-imposed requirement; there is no need to
spell that out. If you want an option to violate the HTTP protocol if
deemed beneficial, you would have to argue for putting that option into
the document and not have others argue why underlying specifications
should be adhered to.

However, as we have a requirement to be able for HTTP and Websocket
implementations to share a port, the option would be in conflict with
that requirement (consider an intrusion detection system; it receives a
packet for port 80, analyzes it and finds it has a HTTP request followed
by rubbish where another request is expected; it then rejects the whole
thing). Note that Ian's draft actually argues that port sharing is en-
abled by following the HTTP protocol during the handshake.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/