Re: Misc Comments on Layering layering work and sections 1-5.

Jeff Pinner <jpinner@twitter.com> Mon, 08 July 2013 17:54 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 CCC3721F9D90 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 8 Jul 2013 10:54:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.961
X-Spam-Level:
X-Spam-Status: No, score=-9.961 tagged_above=-999 required=5 tests=[AWL=0.015, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ANVLakVPrpQH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 8 Jul 2013 10:54:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 60B6F21F9C4B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 8 Jul 2013 10:54:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UwFbk-00008A-Qr for ietf-http-wg-dist@listhub.w3.org; Mon, 08 Jul 2013 17:52:16 +0000
Resent-Date: Mon, 08 Jul 2013 17:52:16 +0000
Resent-Message-Id: <E1UwFbk-00008A-Qr@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jpinner@twitter.com>) id 1UwFbc-00006d-1K for ietf-http-wg@listhub.w3.org; Mon, 08 Jul 2013 17:52:08 +0000
Received: from mail-ob0-f182.google.com ([209.85.214.182]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jpinner@twitter.com>) id 1UwFba-00006O-5b for ietf-http-wg@w3.org; Mon, 08 Jul 2013 17:52:07 +0000
Received: by mail-ob0-f182.google.com with SMTP id va7so5761698obc.41 for <ietf-http-wg@w3.org>; Mon, 08 Jul 2013 10:51:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=twitter.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3HYeAehM/ClcJ1G+NJm5VQkf09W/h1GXceXeanJgfJI=; b=L1j8OmT15yVpCr21V08+HKmdIW1ihnNgCv3G/72VSfMifxXOa1H5l5oCR/qAVRWU8s jl9ormEVyfC1PIL5B/FTwOzYHKZodyMdD894Ea2esQyAG2CAPfg64C1/9dqgU8LJt8jJ tR7cKWGARpQylDZUvrH7p8fn+rnHdSiUM3LvE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=3HYeAehM/ClcJ1G+NJm5VQkf09W/h1GXceXeanJgfJI=; b=JE8MkqjJdPGaZk464bj9GnOBAwnzzgtLOJ8Fl21abC2N9dTDGN6Nkd57Xj2ge9yYz/ APa6OrDVqL/Hy0i76KFpJzqmkMtJfEOQIIaD8ucQoJngmJP2sB/9Q2fjFVtxekLOB2u5 1aHaCTP5ZGinr+2XDQPQVUeYSHjHndG62lw2UaPV1T85WYvNCWISho8h5HXYKNAzgDmD OTuREq962AFs6wlq7G/3F0qCoblx9TOjd+bXBkS7vvPFuIafNfBQY2KXMjijyYDtP1Uq O1XDphh1xpsqvmBhhXsH/iRgY/lQrrsD4vQYTUa+iIHAu8eYXkjX5UQeQksftYF10TKO XtLw==
MIME-Version: 1.0
X-Received: by 10.182.119.229 with SMTP id kx5mr21128785obb.23.1373305900249; Mon, 08 Jul 2013 10:51:40 -0700 (PDT)
Received: by 10.182.7.37 with HTTP; Mon, 8 Jul 2013 10:51:40 -0700 (PDT)
In-Reply-To: <CABkgnnUGpZaAmuY0MshRCsJqtuGKjEDXtqQE+ybVmif0VriAAw@mail.gmail.com>
References: <CABaLYCsgQ2uP7VXE=KaHeMye0QFeFtTsBBgSfBSF6CgLfmjkbQ@mail.gmail.com> <51D6F010.2030502@treenet.co.nz> <CABaLYCvrNweLYCknwvy+5D2=9bsSybhthCA7=cUajsN88h4RKg@mail.gmail.com> <489C63A2-FFCE-440E-A639-5FF1035D64A1@apple.com> <CABaLYCvj1vuwMM2z7Pp3hLnR2zk-dE=tALJo8ifm8gwNXGzOnA@mail.gmail.com> <CABkgnnUGpZaAmuY0MshRCsJqtuGKjEDXtqQE+ybVmif0VriAAw@mail.gmail.com>
Date: Mon, 08 Jul 2013 10:51:40 -0700
Message-ID: <CA+pLO_h08K7GzwUtc-c0La0RJp8U5ZovZPsBtzR0qeGcPnQ25A@mail.gmail.com>
From: Jeff Pinner <jpinner@twitter.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Mike Belshe <mike@belshe.com>, Michael Sweet <msweet@apple.com>, Amos Jeffries <squid3@treenet.co.nz>, httpbis mailing list <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a11c2e3525a456e04e103b255"
X-Gm-Message-State: ALoCoQlRxaI5CJwQrf+02o1fcDDJM2OYyeW+31AIFm2SV65j+xtXNhB3DUEXJp9YnjNNQfZfAVGU
Received-SPF: pass client-ip=209.85.214.182; envelope-from=jpinner@twitter.com; helo=mail-ob0-f182.google.com
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: AWL=-3.100, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UwFba-00006O-5b 7aaa749152715b318a36011191d42159
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Misc Comments on Layering layering work and sections 1-5.
Archived-At: <http://www.w3.org/mid/CA+pLO_h08K7GzwUtc-c0La0RJp8U5ZovZPsBtzR0qeGcPnQ25A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18635
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>

Mike, thanks for looking over the draft. These suggestions mirror a few of
my own and seem mostly editorial.

I think the best way to address these at this point, and feel free to
disagree, is to merge streaming into master and release draft-04 for
implementation, then open these as new issues against draft-04.




On Fri, Jul 5, 2013 at 12:00 PM, Martin Thomson <martin.thomson@gmail.com>wrote:

> On 5 July 2013 11:48, Mike Belshe <mike@belshe.com> wrote:
> >> What if instead we had two frame types: REQUEST_HEADERS and
> >> RESPONSE_HEADERS?  Both would carry headers like the current HEADERS
> frame
> >> type, but the type of headers would be clearly defined by the frame
> type and
> >> perhaps be easier/less error prone to understand and implement.
>
> I don't see a real advantage to this.  An endpoint knows its role.  It
> can perform a lookup: initial_headers_table[myrole].
>
> A more advanced approach might be to use a setting to describe which
> initial headers table to use.  But I think that we've concluded that
> this is better negotiated during the TLS handshake (that is, negotiate
> a new protocol).
>
> > I realize
> > HTTP is request/response (push excluded), and we're not building a
> generic
> > framing layer.
>
> Push is really request/response too :)  The request is explicit too,
> it just doesn't originate at the client.
>
>