Re: Design Issue: Separate HEADERS and PRIORITY Frames, Eliminate HEADERS+PRIORITY

William Chan (陈智昌) <willchan@chromium.org> Tue, 28 May 2013 19:45 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 BEF0711E80F6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 May 2013 12:45:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.676
X-Spam-Level:
X-Spam-Status: No, score=-9.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, 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 doN+0LTv6ACM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 28 May 2013 12:45:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 47C9821F9670 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 28 May 2013 12:45:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1UhPos-0007ph-75 for ietf-http-wg-dist@listhub.w3.org; Tue, 28 May 2013 19:44:30 +0000
Resent-Date: Tue, 28 May 2013 19:44:30 +0000
Resent-Message-Id: <E1UhPos-0007ph-75@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1UhPof-0007my-Kj for ietf-http-wg@listhub.w3.org; Tue, 28 May 2013 19:44:17 +0000
Received: from mail-qe0-f42.google.com ([209.85.128.42]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1UhPob-0005Zb-3O for ietf-http-wg@w3.org; Tue, 28 May 2013 19:44:17 +0000
Received: by mail-qe0-f42.google.com with SMTP id cz11so4661977qeb.1 for <ietf-http-wg@w3.org>; Tue, 28 May 2013 12:43:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=UnZqvmD+D/0egyPvVbGl4ulCnqI+KKCdW0LKATGpJdc=; b=JGpR/PM54cOrEiduv1gffuAjitL5lHftQr8BnE1ir67AwtuWlTNe0Qr2Cf2AhdAArR 3kGiY41VLE58z9h/Iqt56QfuPqilSvz5ojAuTbeejBAdLiczHFiivkFRmvZVzMA2aEBe qQaidg9Xtx9TFWSGXK9VhTLXZs/+eI7s91xJ1dlyALmXULHZClJqu620HbxlIV7mqysj 4gm9s7SvPoxm8reg1bIda+bGMqETO2fLTMzwrPoth54JxpMdsjzfNUbhmng8cdQX+5TQ JdfRjfXOYZW1omfX2Qm3gwRUw5Q3/NFo2TjGrm72qNLgI5S0YZbBIFA6s9HuS61cchKv 6RAw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=UnZqvmD+D/0egyPvVbGl4ulCnqI+KKCdW0LKATGpJdc=; b=Rw9vrVwPiNV5BVEUhNHcKD3v7cVNkG4BFfe6vdr/IKVoUnXe/B5hLYAw7VBd8ZhtKd oiGx8a8U5CjtVbnxdmiRnZwYpw+cylUbjcE6DpDJ2N+ZNMCQFAzCYCR+gyAk/aH5igkn L1ZDzO2dE/Uu7IIIB24b50PJkx04SFppbssyk=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=UnZqvmD+D/0egyPvVbGl4ulCnqI+KKCdW0LKATGpJdc=; b=c8l+vkf9ND9MOyH6UTi4hUHi/fipZA4ewwbQR6yjIhb1Rj0MJPOx7RZ0XrAmuANeb9 VvGMOKfB41AZALW+wzhNQ7sZkZVMaCV/W1n2FNKNNwXCCplgzOJJlDcuBuhsz+rQ1VxJ W7PbuUF2+pv8y82k8IVyEkReHfg9QFvqtLtoMspGAgNo6+/2v1NzOQP+DmIxMozypsgw AMBSHH3zrtKMwpJ1aQpuiLOnbsPPkn7ifXP5vg3cUWRHl9mZeIGA2EYcDsgvedXjOu1r HfX71BWYMTzdIn8MndYD4ym8OI6PU9B3LWJF15eRKlBlyLhDm77OVpSn6VAOaipZG1hL XWJA==
MIME-Version: 1.0
X-Received: by 10.229.207.129 with SMTP id fy1mr12656903qcb.77.1369770227396; Tue, 28 May 2013 12:43:47 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.62.133 with HTTP; Tue, 28 May 2013 12:43:47 -0700 (PDT)
In-Reply-To: <CA+pLO_iYO-12DaBfAqHJPzBR0hG3Qf7C+vFkRL3m+g7EHKtJfA@mail.gmail.com>
References: <CABP7RbfX_H_7dwM7ExL5qJgpV5JN1NYyv9tqnu_E23qGk63mWg@mail.gmail.com> <CAA4WUYhDhoS+BNknRnYLAOXfWzumcjkWnQnM=NkNM8oqqE=atw@mail.gmail.com> <CAOdDvNqkuY5qtOzFz5J0v1F1_n8HmFY9J==sXMs_9tDrTTE=cg@mail.gmail.com> <CAA4WUYhZb_ScYZ=F8ypGkXkX=3oK+4TnyWOtuN_FNkZqqhbZLQ@mail.gmail.com> <CABP7RbeAwrT15QKn5kL0=w+V0zBgObe_pOzT-NxbwSrZ_RyA+A@mail.gmail.com> <CAP+FsNd95pXcPM1OiG2qjOyXKV80noh2frdEbORwe6HxsgeK3Q@mail.gmail.com> <CABP7RbfOWdaOVeVSmnrqUtHM5F8=xjLauDBoRbpijWsWxyK+rw@mail.gmail.com> <CA+pLO_g892Cr1B8GtN01j1GArU0+Mkoya2UAAb893ZrfKdyeEA@mail.gmail.com> <CAP+FsNe4=hVsm3sNerAdELECHz_2m8aWOLK-Kif-JVz_G=HyKw@mail.gmail.com> <CA+pLO_jaDNWyZyxsWVQ2YuBG8kuZjo1KovmBVfa2d9vVYb56dg@mail.gmail.com> <CAP+FsNd0AZEDXvTD7uvEgFK-4GRShj9tEcam0C68t4S_ySTNUw@mail.gmail.com> <CA+pLO_i84tPbrVZgE-0uLeZs5UB0wY2PLn=R9V74ZUe+0TyfiA@mail.gmail.com> <CAP+FsNcWfdgtW+-6tpXgcAPZSNHOdBuoMXLY4nPyf4YoLTeotg@mail.gmail.com> <CA+pLO_gV4YS6FVMiQ0rzDEHCYnOJdeGftY4Z0nm18qfaQBdofA@mail.gmail.com> <CAP+FsNfBoh6wcqTUHfHPhbf8zZ4Vj=i2Lg4bEG5wcyuUwz60eQ@mail.gmail.com> <CA+pLO_j8CX9vddtogsjz80uN=kv6vE7V1dJqEuJdTtGO64PYyw@mail.gmail.com> <CABP7RbdUSLTN1YJDkigfqvMJw7hUh4Uv+CYSsFETn6N+EQ0NdA@mail.gmail.com> <CABkgnnXWZ3pGhOugkTBQG2=0J8PdTkeefqToCsrGGQVV=rv=gQ@mail.gmail.com> <CA+pLO_iYO-12DaBfAqHJPzBR0hG3Qf7C+vFkRL3m+g7EHKtJfA@mail.gmail.com>
Date: Tue, 28 May 2013 12:43:47 -0700
X-Google-Sender-Auth: ru0Gay62UwoNogWYPhjSMPj1Otw
Message-ID: <CAA4WUYh5ghPLBwHpezZ-dq7TjNXM2t+5oFppRaJ7eJ_M_Zd3BA@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Jeff Pinner <jpinner@twitter.com>
Cc: Martin Thomson <martin.thomson@gmail.com>, James M Snell <jasnell@gmail.com>, Roberto Peon <grmocg@gmail.com>, Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=089e01175e3dd4132404ddcc7b5d
X-Gm-Message-State: ALoCoQkaMfyYnTYDnOzh4cwiyJBcPB26Mxitz/+mrNZmFGZeUHXRYox9Rau89Lcp4l8/lUetTyBIdMUMq7n+T2MuT4kiVqxvHhXALbAzXmD+kZvzkoFd7wDYYHhMM99VVIrQ8/8DxVQv/HO0cnP7YzXLSCvpGyf4TbtQxmUYkx9gbcD2D38eBabsrTWswAANfe9BA42ZhQb7
Received-SPF: pass client-ip=209.85.128.42; envelope-from=willchan@google.com; helo=mail-qe0-f42.google.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-2.186, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.07, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1UhPob-0005Zb-3O 0ce201251c85f0212f287a0accda84be
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Design Issue: Separate HEADERS and PRIORITY Frames, Eliminate HEADERS+PRIORITY
Archived-At: <http://www.w3.org/mid/CAA4WUYh5ghPLBwHpezZ-dq7TjNXM2t+5oFppRaJ7eJ_M_Zd3BA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/18122
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>

I have feelings about this bike shed color, but I don't care enough to
argue why mine is the best color ever. I am satisfied that there is a way
to convey priority within the same frame as the headers.


On Tue, May 28, 2013 at 11:12 AM, Jeff Pinner <jpinner@twitter.com> wrote:

> At the time Roberto made the argument that the number of flags (8) was
> more sparse than the number of frame types (256), but IIRC this was based
> on the flags applying to all Control frames. At this point we have (at
> least implicitly) decided that flags are frame-type specific (see PONG
> flag), so I don't believe the argument is valid any more.
>
>
> On Tue, May 28, 2013 at 10:50 AM, Martin Thomson <martin.thomson@gmail.com
> > wrote:
>
>> I remember having almost this exact discussion in Tokyo.  The only
>> point that didn't come up this time was an argument Roberto made,
>> namely: "A frame type is cheaper (fewer bits) than a flag."
>>
>
>