Re: [hybi] CONNECT handshake text

Maciej Stachowiak <mjs@apple.com> Wed, 08 December 2010 22:39 UTC

Return-Path: <mjs@apple.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 678F13A698E for <hybi@core3.amsl.com>; Wed, 8 Dec 2010 14:39:59 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -107.275
X-Spam-Level:
X-Spam-Status: No, score=-107.275 tagged_above=-999 required=5 tests=[AWL=-0.676, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 4nn12vah6P+F for <hybi@core3.amsl.com>; Wed, 8 Dec 2010 14:39:58 -0800 (PST)
Received: from mail-out4.apple.com (mail-out.apple.com [17.254.13.23]) by core3.amsl.com (Postfix) with ESMTP id 950C43A686B for <hybi@ietf.org>; Wed, 8 Dec 2010 14:39:58 -0800 (PST)
Received: from relay16.apple.com (relay16.apple.com [17.128.113.55]) by mail-out4.apple.com (Postfix) with ESMTP id C14CDC279722 for <hybi@ietf.org>; Wed, 8 Dec 2010 14:41:25 -0800 (PST)
X-AuditID: 11807137-b7bafae00000075a-fb-4d0009951608
Received: from elliott.apple.com (elliott.apple.com [17.151.62.13]) by relay16.apple.com (Apple SCV relay) with SMTP id 69.DF.01882.599000D4; Wed, 8 Dec 2010 14:41:25 -0800 (PST)
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: text/plain; charset="us-ascii"
Received: from [17.72.146.59] by elliott.apple.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPSA id <0LD4005JRSCXIL80@elliott.apple.com> for hybi@ietf.org; Wed, 08 Dec 2010 14:41:25 -0800 (PST)
From: Maciej Stachowiak <mjs@apple.com>
In-reply-to: <1291841275.2315.2048.camel@ds9.ducksong.com>
Date: Wed, 08 Dec 2010 14:41:20 -0800
Message-id: <F0DD8214-57E8-446E-807B-413CEB73F9BD@apple.com>
References: <AANLkTinEXHBeaUPo4gK2CHbq7ZHYnY2PE3Vb+Oi+K1NM@mail.gmail.com> <op.vnd6ijrzidj3kv@dhcp-190.linkoping.osa> <AANLkTimWpLUFuNR62Titix5WyJumnJg7rKXty1yX7G6O@mail.gmail.com> <2AFC40EF-BC43-4709-8160-5476643CFC83@apple.com> <BB31C4AB95A70042A256109D4619912605839C55@XCH117CNC.rim.net> <1291841275.2315.2048.camel@ds9.ducksong.com>
To: "Pat McManus @Mozilla" <mcmanus@ducksong.com>
X-Mailer: Apple Mail (2.1082)
X-Brightmail-Tracker: AAAAAA==
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] CONNECT handshake text
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: Wed, 08 Dec 2010 22:39:59 -0000

On Dec 8, 2010, at 12:47 PM, Pat McManus @Mozilla wrote:

> On Wed, 2010-12-08 at 15:42 -0500, Joe Mason wrote:
> 
>> How about spelling that out specifically in the draft?  "The handshake
>> must send the following bytes, which form a valid HTTP request as
>> specified by [RFC2616]"
> 
> you can restrict what bytes the client can send, but you cannot say that
> it is exactly what the WS server will receive. While this is still HTTP,
> an HTTP intermediary can rearrange those bytes in any way that is HTTP
> compliant (and realistically, many that are not - but are normal
> expected uses of HTTP on today's Internet.).

The section we were discussing is the description of what the client must send. It doesn't talk at all about what the server should expect or how the server should process what it receives.

Regards,
Maciej