Re: [hybi] #1: HTTP Compliance

Greg Wilkins <gregw@webtide.com> Mon, 17 May 2010 12:27 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 A196C3A69B7 for <hybi@core3.amsl.com>; Mon, 17 May 2010 05:27:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.251
X-Spam-Level:
X-Spam-Status: No, score=-0.251 tagged_above=-999 required=5 tests=[AWL=-0.252, 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 NdRz53OgrnzO for <hybi@core3.amsl.com>; Mon, 17 May 2010 05:27:08 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 175CF3A6B8A for <hybi@ietf.org>; Mon, 17 May 2010 05:16:04 -0700 (PDT)
Received: by wyb42 with SMTP id 42so2525153wyb.31 for <hybi@ietf.org>; Mon, 17 May 2010 05:15:53 -0700 (PDT)
Received: by 10.227.127.85 with SMTP id f21mr4741229wbs.115.1274098064770; Mon, 17 May 2010 05:07:44 -0700 (PDT)
Received: from [192.168.0.100] (host116-234-static.43-88-b.business.telecomitalia.it [88.43.234.116]) by mx.google.com with ESMTPS id z33sm40323520wbd.7.2010.05.17.05.07.43 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 17 May 2010 05:07:44 -0700 (PDT)
Message-ID: <4BF1318D.6040301@webtide.com>
Date: Mon, 17 May 2010 14:07:41 +0200
From: Greg Wilkins <gregw@webtide.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4
MIME-Version: 1.0
To: "hybi@ietf.org" <hybi@ietf.org>
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-Enigmail-Version: 1.0.1
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
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 12:27:09 -0000

On 17/05/10 12:35, 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.

I have given several such proposals.

The simplest was just to leave out the random bytes after the handshake
request, but to include them after the handshake response.

This is compliant and will still test if intermediaries forward non-HTTP
content.

There is no extra RTT over the current handshake as the client already
cannot send any messages until the bytes after the 101 are received


> 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.

When operating in a standards based environment, the assumption should
be that standards are respected.

If there is a reason to violate the self evident truth that messages
should be HTTP on a HTTP connection, then I think those that
want to violate should make the case that violation is needed.

Then effort should be expended to see of the violated standard
can be improved.

Only then should a violation of an established standard be
contemplated... and then it would have to be for a very very
good reason and I'm not sure that an imperfect fast fail
mechanism is such a good reason.

Regardless, it should be the violators obligation to make
their case.

It should not be necessary for those that wish to respect
and existing standard to defend the need to respect it.
Unfortunately this is what is occurring because the
editor has included a mechanism in the draft that
did not have consensus.


regards