
From ietf-http-wg-request@listhub.w3.org  Mon Oct  1 09:53:14 2012
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 B681711E814B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 Oct 2012 09:53:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.477
X-Spam-Level: 
X-Spam-Status: No, score=-6.477 tagged_above=-999 required=5 tests=[AWL=3.500, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H-WxmQRF0zgL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 Oct 2012 09:53:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 960F011E8143 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  1 Oct 2012 09:53:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TIjCB-0002D7-Fv for ietf-http-wg-dist@listhub.w3.org; Mon, 01 Oct 2012 16:50:15 +0000
Resent-Date: Mon, 01 Oct 2012 16:50:15 +0000
Resent-Message-Id: <E1TIjCB-0002D7-Fv@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1TIjC8-0002CS-Rj for ietf-http-wg@listhub.w3.org; Mon, 01 Oct 2012 16:50:12 +0000
Received: from mail-oa0-f43.google.com ([209.85.219.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <gregw@intalio.com>) id 1TIjC4-0003JV-L3 for ietf-http-wg@w3.org; Mon, 01 Oct 2012 16:50:12 +0000
Received: by oagk1 with SMTP id k1so5613858oag.2 for <ietf-http-wg@w3.org>; Mon, 01 Oct 2012 09:49:42 -0700 (PDT)
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 :content-type:x-gm-message-state; bh=RKtSlbHgw4uGgWdpu4PRBGltff/fgMaKa1Y7q3WqBFI=; b=IiL3Mr0GXNSoaTH8w+oehui1RYY6O2OMg/WiULzndkIeHUk95cmCUO8y3TvkUuAPt9 jPKh46Nqa5oo4fhYgF9hSUfRee7rQoyHKk67/lGy0xprAl0QB/R2Q4Q7d6yfz+ALnZsp Vkc9byUlS+IH33dCSj3421jYiv6aA1MGwMtFBVcu6CFVSf+mzh0jpIkjQoeiMEL7m0o4 laLIQ/OdX+1q15t/vNr9whw16Wu0iGrKw351tYZC1806/6VmbbM7X2GawptxdFoNp21e 6VeW5cWSzYqKHoGcnKifdCYNnYBJ4fRVbdQlhnpnsLD3kZnGcd2LVYc2di36Y6LSI3o5 2fuA==
MIME-Version: 1.0
Received: by 10.60.171.169 with SMTP id av9mr1917206oec.139.1349110182476; Mon, 01 Oct 2012 09:49:42 -0700 (PDT)
Received: by 10.76.114.198 with HTTP; Mon, 1 Oct 2012 09:49:42 -0700 (PDT)
In-Reply-To: <1345470312.2877.55.camel@ds9>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com> <20120820085917.GC11752@1wt.eu> <1345470312.2877.55.camel@ds9>
Date: Mon, 1 Oct 2012 09:49:42 -0700
Message-ID: <CAH_y2NEv8CEBzQcWaCBZuZr_Ry1EO1nKzStjgEuhG6uS09TNJQ@mail.gmail.com>
From: Greg Wilkins <gregw@intalio.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmzAotjRnD/orssMIzhxQ/U31YywJKB/8hGhd8jZqsO7pfjr0H0QruBFA+TEj14pT+jMg0K
Received-SPF: pass client-ip=209.85.219.43; envelope-from=gregw@intalio.com; helo=mail-oa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TIjC4-0003JV-L3 91dc12643e30368232996ffb907bf7c8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/CAH_y2NEv8CEBzQcWaCBZuZr_Ry1EO1nKzStjgEuhG6uS09TNJQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15267
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>

Patrick,

this is a good analysis, but my main quibble is that case 3b should be
renumbered to be case 0

Connecting to port 80 and upgrading to the protocol/version that you
want to use should be the basically defined way that a http semantic
connection is established, regardless of wire protocol and version
used.  All other mechanisms (NPN on 443, DNS SRV, cached redirection
to known HTTP/2.0 ports) should all be considered as optimisations of
the basic case.

Saving round trips is important and I'm all for optimisations for that
- but I think it is a MUST that HTTP/2.0 will work in an environment
where there is only port 80 and the ability to make a single
connection.

So I guess that means I support both  3a and 3b.

cheers

PS.  Does upgrade really mean an extra round trip?  Can't we pipeline
HTTP/2.0 request behind the upgrade request if we are confident of
success?






On 20 August 2012 06:45, Patrick McManus <pmcmanus@mozilla.com> wrote:
> In vancouver we agreed not to slaughter too many bytes over mandatory
> TLS; but we also talked about the need to describe how HTTP/2 binds to
> TLS. I'm going to narrowly scope this email to the issues involved with
> those situations and how the upgrade should, imo, work without getting
> into every detail:
>
> Case 1: https:// scheme - go to the port in the url (default 443) and
> use NPN to select http/2 or http/1 (default is http/1 in the case NPN is
> not implemented on the server)
>
> Case 2: http:// scheme with default port - optimistically consult DNS
> SRV looking for either http2-tls or http2-plaintext depending on what
> the client wants. If you get a SRV result back "quickly" go to the host
> and port provided and start speaking http2 over tls or plaintext as
> appropriate. No extra indirections, no use of http/1. Reasonable server
> implementations are forseeable.
>
> Case 3: http:// scheme with an explicit port or lack of SRV information.
> This is where we need to bootstrap from HTTP/1. AFAICT people want two
> different patterns:
>
> Case 3a: Direct the traffic to another location like Alternate-Protocol
> does... basically bundling srv information with an http/1 response..
> "here is the answer to your http/1 request and btw over on port 443 we
> speak http2-tls and on port 8080 we speak http2-plaintext".. clients can
> decide whether they want to jump over there right away or overlap some
> more http/1 transactions with the handshake on the other port.. its
> probably not important for http/2 to define exactly what happens other
> than the lifespan of that alternate-protocol announcement.
>
> Case 3b: transform the current connection into an http/2 connection
> (possibly even adding in tls the same way CONNECT does) with http/1
> upgrade roughly like websockets does.
>
> Does that framing seem reasonable?
>
> Does anyone want to make an argument for having both? I'd prefer not to
> at this stage but the question seems worth asking.
>
> In favor of 3a - 1] the results are cached and future connections are
> pure http/2 without bootstrapping them each time. 2] It also can move
> http/2 to a non-port-80 location which alleviates concerns about
> transparent proxies being confused.
>
> In favor of 3b - 1] it doesn't require another connection as the current
> one is transformed in place. 2] it sidesteps issues about caching the
> discovery information of alternate-protocol and its scope and maybe even
> security considerations with it. 3] websockets uses port 80 and I'm not
> overwhelemed with bug reports about unreachable services due to the http
> proxy problem, though the amount of use of websockets is tiny compared
> to http and many websockets applications have comet/etc fallbacks just
> to support browsers without a ws implementation - so the truth here
> might not yet be known.
>
> Mostly I favor 3a because the caching reduces the need for latency
> inducing bootstraps while maximizing the amount of http/2 that is used.
> I don't constantly like redoing that bootstrap. It also dovetails nicely
> with the srv approach as it basically tunnels the srv into http/1.
>
> -Patrick
>
>
>



-- 
Greg Wilkins <gregw@intalio.com>
http://www.webtide.com
Developer advice and support from the Jetty & CometD experts.


From ietf-http-wg-request@listhub.w3.org  Mon Oct  1 10:05:13 2012
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 B83D31F0D17 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 Oct 2012 10:05:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.68
X-Spam-Level: 
X-Spam-Status: No, score=-8.68 tagged_above=-999 required=5 tests=[AWL=1.919, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hbo-S412OAyy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  1 Oct 2012 10:05:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2F7691F0CCD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  1 Oct 2012 10:05:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TIjPN-0000eH-At for ietf-http-wg-dist@listhub.w3.org; Mon, 01 Oct 2012 17:03:53 +0000
Resent-Date: Mon, 01 Oct 2012 17:03:53 +0000
Resent-Message-Id: <E1TIjPN-0000eH-At@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TIjPK-0000dT-OU for ietf-http-wg@listhub.w3.org; Mon, 01 Oct 2012 17:03:50 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TIjPJ-0004Cm-CH for ietf-http-wg@w3.org; Mon, 01 Oct 2012 17:03:50 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q91H3Od3025374; Mon, 1 Oct 2012 19:03:24 +0200
Date: Mon, 1 Oct 2012 19:03:24 +0200
From: Willy Tarreau <w@1wt.eu>
To: Greg Wilkins <gregw@intalio.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20121001170324.GJ23395@1wt.eu>
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com> <20120820085917.GC11752@1wt.eu> <1345470312.2877.55.camel@ds9> <CAH_y2NEv8CEBzQcWaCBZuZr_Ry1EO1nKzStjgEuhG6uS09TNJQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAH_y2NEv8CEBzQcWaCBZuZr_Ry1EO1nKzStjgEuhG6uS09TNJQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RP_MATCHES_RCVD=-2.144, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TIjPJ-0004Cm-CH ea55672dccbfa2883bee3b350b355241
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/20121001170324.GJ23395@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15268
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>

Hi Greg,

On Mon, Oct 01, 2012 at 09:49:42AM -0700, Greg Wilkins wrote:
> Patrick,
> 
> this is a good analysis, but my main quibble is that case 3b should be
> renumbered to be case 0
> 
> Connecting to port 80 and upgrading to the protocol/version that you
> want to use should be the basically defined way that a http semantic
> connection is established, regardless of wire protocol and version
> used.  All other mechanisms (NPN on 443, DNS SRV, cached redirection
> to known HTTP/2.0 ports) should all be considered as optimisations of
> the basic case.
> 
> Saving round trips is important and I'm all for optimisations for that
> - but I think it is a MUST that HTTP/2.0 will work in an environment
> where there is only port 80 and the ability to make a single
> connection.
> 
> So I guess that means I support both  3a and 3b.
> 
> cheers
> 
> PS.  Does upgrade really mean an extra round trip?  Can't we pipeline
> HTTP/2.0 request behind the upgrade request if we are confident of
> success?

There are possibilities for this that we discussed in the network-friendly
draft, basically pass a few URIs in a dedicated header field that the server
is free to consider or not.

Willy



From ietf-http-wg-request@listhub.w3.org  Tue Oct  2 05:52:14 2012
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 2079121F880D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 Oct 2012 05:52:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PFGHP1wujLAE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 Oct 2012 05:52:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4742B21F86DB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  2 Oct 2012 05:52:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJ1vM-0000QX-1b for ietf-http-wg-dist@listhub.w3.org; Tue, 02 Oct 2012 12:50:08 +0000
Resent-Date: Tue, 02 Oct 2012 12:50:08 +0000
Resent-Message-Id: <E1TJ1vM-0000QX-1b@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1TJ1v7-0007Zt-Er for ietf-http-wg@listhub.w3.org; Tue, 02 Oct 2012 12:49:53 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1TJ1v0-000655-Uy for ietf-http-wg@w3.org; Tue, 02 Oct 2012 12:49:53 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q92CnIow006109 for <ietf-http-wg@w3.org>; Tue, 2 Oct 2012 14:49:18 +0200
X-CheckPoint: {506AE1B6-0-1B221DC2-2FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 2 Oct 2012 14:49:17 +0200
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Tue, 2 Oct 2012 14:49:18 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Tue, 2 Oct 2012 14:49:21 +0200
Thread-Topic: HTTPAuth BoF in Atlanta
Thread-Index: Ac2gnFUMu2vJkcuQTqKAV3BWXubuCQ==
Message-ID: <F69197FA-D9C1-4465-9CD5-489F2B518271@checkpoint.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-9.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-2.144, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJ1v0-000655-Uy 508aa1365198546c9faf4526fd19f845
X-Original-To: ietf-http-wg@w3.org
Subject: HTTPAuth BoF in Atlanta
Archived-At: <http://www.w3.org/mid/F69197FA-D9C1-4465-9CD5-489F2B518271@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15269
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>

Hi all

In Vancouver, this working group declined to adopt any of the proposed auth=
entication schemes.=20

In the coming IETF meeting, the security area is going to have a BoF with t=
he intention of forming a working group to create a bunch of experimental R=
FCs for new authentication methods in HTTP.

There are quite a few proposed methods. Follow this URL to see a list: http=
://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals

If you are interested in this topic, we'd be happy to see you in the BoF.  =
One thing that I think is missing from the discussion is the UI implication=
s of authentication at the HTTP layer. It has been suggested that UI issues=
 are the reason for the relatively sparse deployment of HTTP layer authenti=
cation, but I don't think the current discussion has been informed by UI ex=
perts who could tell us what future authentication methods should do in ter=
ms of UI to gain meaningful deployment. If you or someone you know has such=
 expertise and would be willing to speak at the Atlanta BoF, please contact=
 Derek Atkins and me offline.

Yoav Nir
(with BoF chair hat on)=


From ietf-http-wg-request@listhub.w3.org  Tue Oct  2 09:00:31 2012
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 F417421F8539 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 Oct 2012 09:00:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.849
X-Spam-Level: 
X-Spam-Status: No, score=-6.849 tagged_above=-999 required=5 tests=[AWL=3.750, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IOxnCiMdDU84 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 Oct 2012 09:00:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1767D21F8532 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  2 Oct 2012 09:00:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJ4ro-00072D-4Y for ietf-http-wg-dist@listhub.w3.org; Tue, 02 Oct 2012 15:58:40 +0000
Resent-Date: Tue, 02 Oct 2012 15:58:40 +0000
Resent-Message-Id: <E1TJ4ro-00072D-4Y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <iesg-secretary@ietf.org>) id 1TJ4rk-00071Y-Ua for ietf-http-wg@listhub.w3.org; Tue, 02 Oct 2012 15:58:36 +0000
Received: from mail.ietf.org ([64.170.98.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <iesg-secretary@ietf.org>) id 1TJ4rf-00059s-Uh for ietf-http-wg@w3.org; Tue, 02 Oct 2012 15:58:36 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC26C21F853B for <ietf-http-wg@w3.org>; Tue,  2 Oct 2012 08:58:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K1ThXwHsyyfI; Tue,  2 Oct 2012 08:58:04 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D600D21F8532; Tue,  2 Oct 2012 08:58:04 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: IETF-Announce <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 4.34
Cc: httpbis WG <ietf-http-wg@w3.org> 
Message-ID: <20121002155804.18187.22684.idtracker@ietfa.amsl.com>
Date: Tue, 02 Oct 2012 08:58:04 -0700
Received-SPF: pass client-ip=64.170.98.30; envelope-from=iesg-secretary@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RP_MATCHES_RCVD=-2.144, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJ4rf-00059s-Uh a4db3ffb4e208a2e17831a7db1a9e7f7
X-Original-To: ietf-http-wg@w3.org
Subject: WG Action: Rechartered Hypertext Transfer Protocol Bis (httpbis)
Archived-At: <http://www.w3.org/mid/20121002155804.18187.22684.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15270
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>

The Hypertext Transfer Protocol Bis (httpbis) working group in the
Applications Area of the IETF has been rechartered. For additional
information please contact the Area Directors or the WG Chair.

Hypertext Transfer Protocol Bis (httpbis)
------------------------------------------------
Current Status: Active Working Group

Chairs:
  Mark Nottingham <mnot@pobox.com>

Assigned Area Director:
  Barry Leiba <barryleiba@computer.org>

Mailing list
  Address: ietf-http-wg@w3.org
  To Subscribe: ietf-http-wg-request@w3.org
  Archive: http://lists.w3.org/Archives/Public/ietf-http-wg/

Charter of Working Group:

This Working Group is charged with maintaining and developing the "core"
specifications for HTTP.

The Working Group's specification deliverables are:
* A document (or set of documents) that is suitable to supersede RFC 2616 as
  the definition of HTTP/1.1 and move RFC 2817 to Historic status
* A document cataloguing the security properties of HTTP/1.1
* A document (or set of documents) that specifies HTTP/2.0, an improved
  binding of HTTP's semantics to an underlying transport.

HTTP/1.1
--------

HTTP/1.1 is one of the most successful and widely-used protocols on the
Internet today. However, its specification has several editorial issues.
Additionally, after years of implementation and extension, several ambiguities
have become evident, impairing interoperability and the ability to easily
implement and use HTTP.

The working group will refine RFC2616 to:
* Incorporate errata and updates (e.g., references, IANA registries, ABNF)
* Fix editorial problems which have led to misunderstandings of the
  specification
* Clarify conformance requirements
* Remove known ambiguities where they affect interoperability
* Clarify existing methods of extensibility
* Remove or deprecate those features that are not widely implemented and
  also unduly affect interoperability
* Where necessary, add implementation advice
* Document the security properties of HTTP and its associated mechanisms
  (e.g., Basic and Digest authentication, cookies, TLS) for common
  applications

It will also incorporate the generic authentication framework from RFC
2617, without obsoleting or updating that specification's definition of
the Basic and Digest schemes.

Finally, it will incorporate relevant portions of RFC 2817 (in
particular, the CONNECT method and advice on the use of Upgrade), so
that that specification can be moved to Historic status.

In doing so, it should consider:
* Implementer experience
* Demonstrated use of HTTP
* Impact on existing implementations and deployments

HTTP/2.0
--------

There is emerging implementation experience and interest in a protocol that
retains the semantics of HTTP without the legacy of HTTP/1.x message
framing and syntax, which have been identified as hampering performance
and encouraging misuse of the underlying transport.

The Working Group will produce a specification of a new expression of HTTP's
current semantics in ordered, bi-directional streams. As with HTTP/1.x, 
the primary target transport is TCP, but it should be possible to use
other transports.

Work will begin using draft-mbelshe-httpbis-spdy-00 as a starting point;
proposals are to be expressed in terms of changes to that document. Note that
consensus is required both for changes to the document and anything that
remains in the document.  In particular, because something is in the initial
document does not imply that there is consensus around the feature or how
it is specified.  The deliverable of the WG is HTTP/2.0, and there is no
consideration of preserving backwards compatibility with the initial
starting point.

As part of the HTTP/2.0 work, the following issues are explicitly called
out for consideration:
* A negotiation mechanism that is capable of not only choosing between
  HTTP/1.x and HTTP/2.x, but also for bindings of HTTP URLs to other
  transports (for example).
* Header compression (which may encompass header encoding or tokenisation)
* Server push (which may encompass pull or other techniques)

It is expected that HTTP/2.0 will:
* Substantially and measurably improve end-user perceived latency in most
  cases, over HTTP/1.1 using TCP.
* Address the "head of line blocking" problem in HTTP.
* Not require multiple connections to a server to enable parallelism, thus
  improving its use of TCP, especially regarding congestion control.
* Retain the semantics of HTTP/1.1, leveraging existing documentation (see
  above), including (but not limited to) HTTP methods, status codes, URIs, and
  where appropriate, header fields.
* Clearly define how HTTP/2.0 interacts with HTTP/1.x, especially in
  intermediaries (both 2->1 and 1->2).
* Clearly identify any new extensibility points and policy for their 
  appropriate use.

The resulting specification(s) are expected to meet these goals for common
existing deployments of HTTP; in particular, Web browsing (desktop and
mobile), non-browsers ("HTTP APIs"), Web serving (at a variety of scales), and
intermediation (by proxies, corporate firewalls, "reverse" proxies and Content
Delivery Networks). Likewise, current and future semantic extensions to
HTTP/1.x (e.g., headers, methods, status codes, cache directives) should be
supported in the new protocol.

Note that this does not include uses of HTTP where non-specified behaviours
are relied upon (e.g., connection state such as timeouts or client affinity,
and "interception" proxies); these uses may or may not be enabled by the final
product.

Explicitly out-of-scope items include:
* Specifying the use of alternate transport-layer protocols. Note that it
  is expected that the Working Group will work with the TLS working group
  to define how the protocol is used with the TLS Protocol; any revisions to
  RFC 2818 will be done in the TLS working group.
* Specifying how the HTTP protocol is to be used or presented in a specific
  use case (e.g., in Web browsers).

The Working Group will coordinate this item with:
* The TLS Working Group, regarding use of TLS.
* The Transport Area, regarding impact on and interaction with transport
  protocols.
* The HYBI Working Group, regarding the possible future extension of HTTP/2.0
  to carry WebSockets semantics.
    
The Working Group will give priority to HTTP/1.1 work until that work is
complete.

Other HTTP-Related Work
-----------------------

The Working Group may define additional extensions to HTTP as work items,
provided that:
* The Working Group Chairs judge that there is consensus to take on the item
  and believe that it will not interfere with the work described above, and
* The Area Directors approve the addition and add corresponding milestones.

Additionally, the Working Group will not start work on any extensions that 
are specific to HTTP/2.0 until the HTTP/2.0 work is completed.


Milestones:
  Done     - First HTTP/1.1 Revision Internet Draft
  Done     - First HTTP Security Properties Internet Draft
  Done     - Call for Proposals for HTTP/2.0
  Sep 2012 - Working Group Last Call for HTTP/1.1 Revision
  Oct 2012 - Working Group Last Call for HTTP Security Properties
  Oct 2012 - First WG draft of HTTP/2.0, based upon draft-mbelshe-httpbis-spdy-00
  Nov 2012 - Submit HTTP/1.1 Revision to IESG for consideration as a Proposed Standard 
  Nov 2012 - Submit HTTP Security Properties to IESG for consideration as Informational RFC
  Apr 2014 - Working Group Last call for HTTP/2.0
  Nov 2014 - Submit HTTP/2.0 to IESG for consideration as a Proposed Standard




From ietf-http-wg-request@listhub.w3.org  Tue Oct  2 09:50:04 2012
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 9F9DF21F8543 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 Oct 2012 09:50:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0xo8ZfboP2KC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 Oct 2012 09:50:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B8B1221F8539 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  2 Oct 2012 09:50:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJ5eA-0003h0-9b for ietf-http-wg-dist@listhub.w3.org; Tue, 02 Oct 2012 16:48:38 +0000
Resent-Date: Tue, 02 Oct 2012 16:48:38 +0000
Resent-Message-Id: <E1TJ5eA-0003h0-9b@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TJ5e7-0003gJ-Rm for ietf-http-wg@listhub.w3.org; Tue, 02 Oct 2012 16:48:35 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TJ5e6-0002SF-KH for ietf-http-wg@w3.org; Tue, 02 Oct 2012 16:48:35 +0000
Received: from [192.168.49.211] (unknown [212.159.33.27]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DC09F50A6C for <ietf-http-wg@w3.org>; Tue,  2 Oct 2012 12:48:10 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <5A3E0D69-857B-4B72-818B-C7E96A817B07@mnot.net>
Date: Tue, 2 Oct 2012 17:48:06 +0100
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\))
X-Mailer: Apple Mail (2.1498)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJ5e6-0002SF-KH 60390193cd1baa9b32f9c7150bc77e26
X-Original-To: ietf-http-wg@w3.org
Subject: Getting (Officially) Started on HTTP/2.0
Archived-At: <http://www.w3.org/mid/5A3E0D69-857B-4B72-818B-C7E96A817B07@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15271
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>

As you may have seen, our re-charter has been approved by the IESG.=20

If you aren't familiar with the final text, please take a moment and =
carefully read it:
  http://datatracker.ietf.org/wg/httpbis/charter/

First and foremost, we will continue working on the revision of the =
HTTP/1.1 specification. Roy has recently finished his work on p1, and =
should finish p2 soon. As such, we'll be entering WGLC on these =
documents and prioritising any discussion on them until finished. Stay =
tuned for details.

Work on HTTP/2.0 will start by creating draft-ietf-httpbis-http2-00, =
based upon draft-mbelshe-httpbis-spdy-00. That draft will list Mike =
Belshe and Roberto Peon as authors, to acknowledge their contribution.

However, we will have a separate editorial team in charge of the Working =
Group's drafts. After extensive discussions and consultation with our =
AD, I've asked Julian Reschke, Alexey Melnikov and Martin Thomson to =
serve as editors of the HTTP/2.0 draft.

Concurrently, we should start gathering issues against the draft for =
discussion; just as with the previous work, I'd like to structure as =
much of our discussion as possible around concretely identified issues.=20=


I'll kick that process off by nominating obvious discussion points like =
the upgrade mechanism, header compression, intermediaries, and server =
push, but of course anyone can raise a new issue, using the guidelines =
on our wiki page <http://trac.tools.ietf.org/wg/httpbis/trac/wiki>.

There are two things that we need to settle fairly quickly:

1. How we identify the protocol on the wire. It's likely that we're =
going to have a few different revisions of what we specify implemented =
as we move along, and I want us to be crystal-clear about how that will =
be managed, so we're not stuck with interop problems down the road.

2. What requirements we have for negotiation of HTTP2 within TLS. As you =
should have seen, that portion of the work has been given to the TLS =
Working Group, and we need to give them some guidance about what we =
need.

Following that, I suspect it'll be most useful to work on the upgrade =
mechanism (which will also help with #1 above). Patrick sent out what I =
think most people agree is a good starting point for that discussion =
here: <http://www.w3.org/mid/1345470312.2877.55.camel@ds9>.=20

We'll start these discussions soon, using the Atlanta meeting as a =
checkpoint for the work. If its' going well by then (i.e., we have a =
good set of issues and some healthy discussion, ideally with some data =
starting to emerge), I'd expect us to schedule an interim meeting =
sometime early next year, to have more substantial discussion.

More details to follow. Thanks to everybody for helping get us this far, =
as well as to Martin, Alexey and Julian for volunteering their time.

Regards,

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Tue Oct  2 18:57:44 2012
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 7BB2521F8608 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 Oct 2012 18:57:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CqXpcqJxYKzl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 Oct 2012 18:57:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 870FD21F85F4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  2 Oct 2012 18:57:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJEBE-0007Bq-Kv for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 01:55:20 +0000
Resent-Date: Wed, 03 Oct 2012 01:55:20 +0000
Resent-Message-Id: <E1TJEBE-0007Bq-Kv@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TJEBA-0007AT-JI for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 01:55:16 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TJEB8-0006mE-Og for ietf-http-wg@w3.org; Wed, 03 Oct 2012 01:55:16 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 2BD63E732D; Wed,  3 Oct 2012 13:54:48 +1200 (NZST)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 03 Oct 2012 14:54:47 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <5A3E0D69-857B-4B72-818B-C7E96A817B07@mnot.net>
References: <5A3E0D69-857B-4B72-818B-C7E96A817B07@mnot.net>
Message-ID: <17228897d7ad76df18fbb2a8378230e1@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJEB8-0006mE-Og f1d7a26af04a55b7611ae3392d56f19a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Getting (Officially) Started on HTTP/2.0
Archived-At: <http://www.w3.org/mid/17228897d7ad76df18fbb2a8378230e1@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15272
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>

On 03.10.2012 05:48, Mark Nottingham wrote:
> As you may have seen, our re-charter has been approved by the IESG.
>
> If you aren't familiar with the final text, please take a moment and
> carefully read it:
>   http://datatracker.ietf.org/wg/httpbis/charter/
>
> First and foremost, we will continue working on the revision of the
> HTTP/1.1 specification. Roy has recently finished his work on p1, and
> should finish p2 soon. As such, we'll be entering WGLC on these
> documents and prioritising any discussion on them until finished. 
> Stay
> tuned for details.
>
> Work on HTTP/2.0 will start by creating draft-ietf-httpbis-http2-00,
> based upon draft-mbelshe-httpbis-spdy-00. That draft will list Mike
> Belshe and Roberto Peon as authors, to acknowledge their 
> contribution.
>
> However, we will have a separate editorial team in charge of the
> Working Group's drafts. After extensive discussions and consultation
> with our AD, I've asked Julian Reschke, Alexey Melnikov and Martin
> Thomson to serve as editors of the HTTP/2.0 draft.
>
> Concurrently, we should start gathering issues against the draft for
> discussion; just as with the previous work, I'd like to structure as
> much of our discussion as possible around concretely identified
> issues.
>
> I'll kick that process off by nominating obvious discussion points
> like the upgrade mechanism, header compression, intermediaries, and
> server push, but of course anyone can raise a new issue, using the
> guidelines on our wiki page
> <http://trac.tools.ietf.org/wg/httpbis/trac/wiki>.
>
> There are two things that we need to settle fairly quickly:
>
> 1. How we identify the protocol on the wire. It's likely that we're
> going to have a few different revisions of what we specify 
> implemented
> as we move along, and I want us to be crystal-clear about how that
> will be managed, so we're not stuck with interop problems down the
> road.
>
> 2. What requirements we have for negotiation of HTTP2 within TLS. As
> you should have seen, that portion of the work has been given to the
> TLS Working Group, and we need to give them some guidance about what
> we need.
>

3) The explicit session frames setup/teardown is a bit of unnecessary 
verbose state and bandwidth. Potentially adding extra RTT at times. 
There is no need for request and session setup to be different frames 
unless you want to throw away the stateless nature of HTTP. We can have 
A-to-B sessions[1] for free with per-hop request/flow ID and connection 
pinning support in the implementations. We can have client to origin 
session with negotiated headers.

Where the client assigns a connection-specific ID and the server uses 
that to construct any session ID needed at its end. This was discussed 
by the WG earlier. Similar (but not the same) as described in 
network-friendly draft. WG discussion, and development since the drafts 
were submitted has led to a some significant improvements on this over 
what network-friendly and WebSockets use, and shown that it allows for 
seamless use of HTTP/2 as stateless or stateful flows with both server- 
or client-push as optional extensions.
  eg we can write server-push as a separate (new) part-N section draft 
with the core pt1-2 HTTP/2 draft(s) containing a framing structure and 
flow control which are able to support server-push for when it is needed 
without breaking the HTTP/1 semantics requirements.

I would like to propose an updated frame layout pulling in the best 
framing details of the WebSockets, network-friendly, and speed+mobility 
proposals. This is almost ready for WG discussion, given a few more days 
to work the wording of it into the draft-mbelshe-httpbis-spdy-00 texts. 
This also proposes a few details for your (1) below.


4) I'll stick my neck out and voice it. Cross-request LZ compression 
needs to go.

The other drafts proposed a few alternative options there, per-header 
differential add/replace/remove flags.
IIRC Robert was working on something there as well?


> Following that, I suspect it'll be most useful to work on the upgrade
> mechanism (which will also help with #1 above). Patrick sent out what
> I think most people agree is a good starting point for that 
> discussion
> here: <http://www.w3.org/mid/1345470312.2877.55.camel@ds9>.
>
> We'll start these discussions soon, using the Atlanta meeting as a
> checkpoint for the work. If its' going well by then (i.e., we have a
> good set of issues and some healthy discussion, ideally with some 
> data
> starting to emerge), I'd expect us to schedule an interim meeting
> sometime early next year, to have more substantial discussion.
>
> More details to follow. Thanks to everybody for helping get us this
> far, as well as to Martin, Alexey and Julian for volunteering their
> time.
>
> Regards,
>
> --
> Mark Nottingham
> http://www.mnot.net/


AYJ



From ietf-http-wg-request@listhub.w3.org  Tue Oct  2 23:32:52 2012
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 9EA7D21F8615 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 Oct 2012 23:32:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.799
X-Spam-Level: 
X-Spam-Status: No, score=-10.799 tagged_above=-999 required=5 tests=[AWL=-0.200, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gPKyJLFzZOKa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  2 Oct 2012 23:32:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 02DB121F86B2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  2 Oct 2012 23:32:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJITT-0007q9-8A for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 06:30:27 +0000
Resent-Date: Wed, 03 Oct 2012 06:30:27 +0000
Resent-Message-Id: <E1TJITT-0007q9-8A@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1TJITP-0007pU-FI for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 06:30:23 +0000
Received: from mtv-iport-1.cisco.com ([173.36.130.12]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1TJITK-0005p3-Qw for ietf-http-wg@w3.org; Wed, 03 Oct 2012 06:30:23 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=836; q=dns/txt; s=iport; t=1349245818; x=1350455418; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=xagw+KRYkbEnl6z5mQgldsCBe7hTGQDlyRb+fdlOzL8=; b=TcVVuJ6qheSAb9+3UkTEyKeg7o4fzy7+tMyLB23+HTnNeUr+IGdf2IK+ nkAy7MwM2fjryFlc9Tb4eT04sJ3OfF/1O1CmwyNK8Zmq/x4sIX2fJj992 H7gGShkburx+c4n4DbFyXcSSjetWIZCZJLmtVMkMf9pOYLcOg0OfD7k/h 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFACHba1CrRDoH/2dsb2JhbABFhg24ZIEIgiABAQEEEgEQVQEQCw4KAgIFFgsCAgkDAgECAUUGDQEHAQEeh2KYJI0bkm+BIY8qgRIDlWmOQoFpgmk
X-IronPort-AV: E=Sophos;i="4.80,527,1344211200";  d="scan'208";a="57188673"
Received: from mtv-core-2.cisco.com ([171.68.58.7]) by mtv-iport-1.cisco.com with ESMTP; 03 Oct 2012 06:29:49 +0000
Received: from elear-mac.local ([10.21.73.128]) by mtv-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id q936TkAY004973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 3 Oct 2012 06:29:48 GMT
Message-ID: <506BDB5A.3050406@cisco.com>
Date: Wed, 03 Oct 2012 08:29:46 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <5A3E0D69-857B-4B72-818B-C7E96A817B07@mnot.net> <17228897d7ad76df18fbb2a8378230e1@treenet.co.nz>
In-Reply-To: <17228897d7ad76df18fbb2a8378230e1@treenet.co.nz>
X-Enigmail-Version: 1.4.4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=173.36.130.12; envelope-from=lear@cisco.com; helo=mtv-iport-1.cisco.com
X-W3C-Hub-Spam-Status: No, score=-16.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-2.144, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1TJITK-0005p3-Qw e675cc5c220b5507392fd8c20fac6353
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Getting (Officially) Started on HTTP/2.0
Archived-At: <http://www.w3.org/mid/506BDB5A.3050406@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15273
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>

Amos,

On 10/3/12 3:54 AM, Amos Jeffries wrote:
>
> 4) I'll stick my neck out and voice it. Cross-request LZ compression
> needs to go.
>
> The other drafts proposed a few alternative options there, per-header
> differential add/replace/remove flags.
> IIRC Robert was working on something there as well?

I don't think you're sticking your neck out very far ;-)  Mike had sent
a message to this list about this issue on the 14th of September.  While
I could see some small potential for abuse within the same security
context, I would be more concerned if a dictionary were shared across
contexts, where one might have different properties or the risk of MITM
is elevated for one reason or another.  I didn't think either of these
scenarios was seriously considered in SPDY.  Am I not being paranoid enough?

Eliot



From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 00:17:20 2012
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 7068C21F86B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 00:17:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.298
X-Spam-Level: 
X-Spam-Status: No, score=-10.298 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_63=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BfVYzQU0NMbY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 00:17:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C89F121F86AB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 00:17:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJJBN-0003pO-Td for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 07:15:49 +0000
Resent-Date: Wed, 03 Oct 2012 07:15:49 +0000
Resent-Message-Id: <E1TJJBN-0003pO-Td@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TJJBK-0003od-4r for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 07:15:46 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TJJBH-00033B-Jb for ietf-http-wg@w3.org; Wed, 03 Oct 2012 07:15:46 +0000
Received: by mail-wi0-f169.google.com with SMTP id hq4so1764578wib.2 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 00:15:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2/7I2PefwaGoY98CsEqEn2kkonBmmNBcY4icFzXG6Bk=; b=z1/daQDuCb2ruwt/ALxk4ipJxZbs2gzag4RyVyJOiFM8dQwYiX0K+3anB9PniFhVcd 3kWIzB5w5Gk+nmC5PbTrpkXZtD0lgm0XlzxXG3W7moIuRCb0Ood7YN7f5nl5PV5FxTTX N6gyr/7D2eul2aXqyvxVgD62zCDFL2swcJzLGx7saAygtNWU7k0oq0JtDWA1n9peSIJz fnGUEtKFPZ23axkEKoxoyjx1ooEjh1Wq//mDI+IWyskc2ZFqJzDDLu/p0vy/QtiLNB6t S2QQAS7ATvxJazrXPQI5yhBlmg4I1UjHtvXrHnyQXS53cEaSi6S3VYcBwGedh6RTZmzS GYOg==
MIME-Version: 1.0
Received: by 10.180.82.34 with SMTP id f2mr25671153wiy.17.1349248517099; Wed, 03 Oct 2012 00:15:17 -0700 (PDT)
Received: by 10.194.33.72 with HTTP; Wed, 3 Oct 2012 00:15:17 -0700 (PDT)
In-Reply-To: <17228897d7ad76df18fbb2a8378230e1@treenet.co.nz>
References: <5A3E0D69-857B-4B72-818B-C7E96A817B07@mnot.net> <17228897d7ad76df18fbb2a8378230e1@treenet.co.nz>
Date: Wed, 3 Oct 2012 00:15:17 -0700
Message-ID: <CAP+FsNcvDfs1C0j=6BGBT32bxQFJx7Cm-rhajB4JKfjRgZNSCQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d044289f69351f504cb2266a5
Received-SPF: pass client-ip=209.85.212.169; envelope-from=grmocg@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJJBH-00033B-Jb 27e9599b7d890be3f35660f08d9d8c3f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Getting (Officially) Started on HTTP/2.0
Archived-At: <http://www.w3.org/mid/CAP+FsNcvDfs1C0j=6BGBT32bxQFJx7Cm-rhajB4JKfjRgZNSCQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15274
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>

--f46d044289f69351f504cb2266a5
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Oct 2, 2012 at 6:54 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 03.10.2012 05:48, Mark Nottingham wrote:
>
>> As you may have seen, our re-charter has been approved by the IESG.
>>
>> If you aren't familiar with the final text, please take a moment and
>> carefully read it:
>>   http://datatracker.ietf.org/**wg/httpbis/charter/<http://datatracker.ietf.org/wg/httpbis/charter/>
>>
>> First and foremost, we will continue working on the revision of the
>> HTTP/1.1 specification. Roy has recently finished his work on p1, and
>> should finish p2 soon. As such, we'll be entering WGLC on these
>> documents and prioritising any discussion on them until finished. Stay
>> tuned for details.
>>
>> Work on HTTP/2.0 will start by creating draft-ietf-httpbis-http2-00,
>> based upon draft-mbelshe-httpbis-spdy-00. That draft will list Mike
>> Belshe and Roberto Peon as authors, to acknowledge their contribution.
>>
>> However, we will have a separate editorial team in charge of the
>> Working Group's drafts. After extensive discussions and consultation
>> with our AD, I've asked Julian Reschke, Alexey Melnikov and Martin
>> Thomson to serve as editors of the HTTP/2.0 draft.
>>
>> Concurrently, we should start gathering issues against the draft for
>> discussion; just as with the previous work, I'd like to structure as
>> much of our discussion as possible around concretely identified
>> issues.
>>
>> I'll kick that process off by nominating obvious discussion points
>> like the upgrade mechanism, header compression, intermediaries, and
>> server push, but of course anyone can raise a new issue, using the
>> guidelines on our wiki page
>> <http://trac.tools.ietf.org/**wg/httpbis/trac/wiki<http://trac.tools.ietf.org/wg/httpbis/trac/wiki>
>> >.
>>
>> There are two things that we need to settle fairly quickly:
>>
>> 1. How we identify the protocol on the wire. It's likely that we're
>> going to have a few different revisions of what we specify implemented
>> as we move along, and I want us to be crystal-clear about how that
>> will be managed, so we're not stuck with interop problems down the
>> road.
>>
>> 2. What requirements we have for negotiation of HTTP2 within TLS. As
>> you should have seen, that portion of the work has been given to the
>> TLS Working Group, and we need to give them some guidance about what
>> we need.
>>
>>
> 3) The explicit session frames setup/teardown is a bit of unnecessary
> verbose state and bandwidth. Potentially adding extra RTT at times. There
> is no need for request and session setup to be different frames unless you
> want to throw away the stateless nature of HTTP. We can have A-to-B
> sessions[1] for free with per-hop request/flow ID and connection pinning
> support in the implementations. We can have client to origin session with
> negotiated headers.
>
> Where the client assigns a connection-specific ID and the server uses that
> to construct any session ID needed at its end. This was discussed by the WG
> earlier. Similar (but not the same) as described in network-friendly draft.
> WG discussion, and development since the drafts were submitted has led to a
> some significant improvements on this over what network-friendly and
> WebSockets use, and shown that it allows for seamless use of HTTP/2 as
> stateless or stateful flows with both server- or client-push as optional
> extensions.
>  eg we can write server-push as a separate (new) part-N section draft with
> the core pt1-2 HTTP/2 draft(s) containing a framing structure and flow
> control which are able to support server-push for when it is needed without
> breaking the HTTP/1 semantics requirements.
>
> I would like to propose an updated frame layout pulling in the best
> framing details of the WebSockets, network-friendly, and speed+mobility
> proposals. This is almost ready for WG discussion, given a few more days to
> work the wording of it into the draft-mbelshe-httpbis-spdy-00 texts. This
> also proposes a few details for your (1) below.
>
>
> 4) I'll stick my neck out and voice it. Cross-request LZ compression needs
> to go.
>
> The other drafts proposed a few alternative options there, per-header
> differential add/replace/remove flags.
> IIRC Robert was working on something there as well?


Yep-- what I've been doing is whole-key or whole-value delta-encoding with
static huffman coding, with an LRU of key-value pairs. A set of headers is
thus simply a set of references to the items in the LRU.
The set of operations is:
  add a new hey-value line into the LRU by specifying a new key-value
      this looks like:  {opcode: KVStore, string key, string val}.
  add a new key-value line into the LRU by referencing a previous
key-value, copying the key from it and adding the specified new value
      this looks like:  {opcode: Mutate,int lru_index, string val}.
  toggle visibility for a particular LRU entry for a particular header set
      this looks like:  {opcode: Toggle,int lru_index}.
  toggle visibility for a contiguous range of LRU entries for a particular
header set
      this looks like:  {opcode: Toggle,int lru_index_start, int
lru_index_end}.

Note that the actual format of the operations isn't exactly like what I'm
describing above- I'm just trying to indicate generally what is involved.

The resulting compression is a bit worse than gzip (with large window size)
on my current test corpus, but compares pretty well with gzip in the Chrome
implementation of SPDY.
It has CPU advantages in that the huffman encoding is static, thus for
proxies there is no re-encoding necessary. Additionally, much or all of the
decompressor state can be shared with a compressor (if proxying, for
instance).
Finally, I expect (though I've yet to prove it yet, as I'm still doing the
c++ implementation) that the compression is more CPU efficient than gzip.
Decompression should be similar... but.. much of the time you need not
reconstitute an entire set of headers-- instead, since we're sending deltas
anyway, you simply ammend your state based on what changed and thus become
more efficient there as well.

If clients/servers were a bit more naive in terms of when they
added/removed headers, the delta-coding would be more efficient and it'd
approach or exceed gzip compression.. at least I think so :)
As far as I (or thusfar anyone with whom I've spoken) can tell, the
approach here does not allow probing of the compression context, and is
thus robust in the face of known attacks.

Anyway, that is what I've been working on.
-=R



>
>
>
>  Following that, I suspect it'll be most useful to work on the upgrade
>> mechanism (which will also help with #1 above). Patrick sent out what
>> I think most people agree is a good starting point for that discussion
>> here: <http://www.w3.org/mid/**1345470312.2877.55.camel@ds9<http://www.w3.org/mid/1345470312.2877.55.camel@ds9>
>> >.
>>
>> We'll start these discussions soon, using the Atlanta meeting as a
>> checkpoint for the work. If its' going well by then (i.e., we have a
>> good set of issues and some healthy discussion, ideally with some data
>> starting to emerge), I'd expect us to schedule an interim meeting
>> sometime early next year, to have more substantial discussion.
>>
>> More details to follow. Thanks to everybody for helping get us this
>> far, as well as to Martin, Alexey and Julian for volunteering their
>> time.
>>
>> Regards,
>>
>> --
>> Mark Nottingham
>> http://www.mnot.net/
>>
>
>
> AYJ
>
>
>

--f46d044289f69351f504cb2266a5
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Oct 2, 2012 at 6:54 PM, Amos Jef=
fries <span dir=3D"ltr">&lt;<a href=3D"mailto:squid3@treenet.co.nz" target=
=3D"_blank">squid3@treenet.co.nz</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5">On 03.10.2012 05:48, Mark Nottingha=
m wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
As you may have seen, our re-charter has been approved by the IESG.<br>
<br>
If you aren&#39;t familiar with the final text, please take a moment and<br=
>
carefully read it:<br>
=A0 <a href=3D"http://datatracker.ietf.org/wg/httpbis/charter/" target=3D"_=
blank">http://datatracker.ietf.org/<u></u>wg/httpbis/charter/</a><br>
<br>
First and foremost, we will continue working on the revision of the<br>
HTTP/1.1 specification. Roy has recently finished his work on p1, and<br>
should finish p2 soon. As such, we&#39;ll be entering WGLC on these<br>
documents and prioritising any discussion on them until finished. Stay<br>
tuned for details.<br>
<br>
Work on HTTP/2.0 will start by creating draft-ietf-httpbis-http2-00,<br>
based upon draft-mbelshe-httpbis-spdy-00. That draft will list Mike<br>
Belshe and Roberto Peon as authors, to acknowledge their contribution.<br>
<br>
However, we will have a separate editorial team in charge of the<br>
Working Group&#39;s drafts. After extensive discussions and consultation<br=
>
with our AD, I&#39;ve asked Julian Reschke, Alexey Melnikov and Martin<br>
Thomson to serve as editors of the HTTP/2.0 draft.<br>
<br>
Concurrently, we should start gathering issues against the draft for<br>
discussion; just as with the previous work, I&#39;d like to structure as<br=
>
much of our discussion as possible around concretely identified<br>
issues.<br>
<br>
I&#39;ll kick that process off by nominating obvious discussion points<br>
like the upgrade mechanism, header compression, intermediaries, and<br>
server push, but of course anyone can raise a new issue, using the<br>
guidelines on our wiki page<br>
&lt;<a href=3D"http://trac.tools.ietf.org/wg/httpbis/trac/wiki" target=3D"_=
blank">http://trac.tools.ietf.org/<u></u>wg/httpbis/trac/wiki</a>&gt;.<br>
<br>
There are two things that we need to settle fairly quickly:<br>
<br>
1. How we identify the protocol on the wire. It&#39;s likely that we&#39;re=
<br>
going to have a few different revisions of what we specify implemented<br>
as we move along, and I want us to be crystal-clear about how that<br>
will be managed, so we&#39;re not stuck with interop problems down the<br>
road.<br>
<br>
2. What requirements we have for negotiation of HTTP2 within TLS. As<br>
you should have seen, that portion of the work has been given to the<br>
TLS Working Group, and we need to give them some guidance about what<br>
we need.<br>
<br>
</blockquote>
<br></div></div>
3) The explicit session frames setup/teardown is a bit of unnecessary verbo=
se state and bandwidth. Potentially adding extra RTT at times. There is no =
need for request and session setup to be different frames unless you want t=
o throw away the stateless nature of HTTP. We can have A-to-B sessions[1] f=
or free with per-hop request/flow ID and connection pinning support in the =
implementations. We can have client to origin session with negotiated heade=
rs.<br>

<br>
Where the client assigns a connection-specific ID and the server uses that =
to construct any session ID needed at its end. This was discussed by the WG=
 earlier. Similar (but not the same) as described in network-friendly draft=
. WG discussion, and development since the drafts were submitted has led to=
 a some significant improvements on this over what network-friendly and Web=
Sockets use, and shown that it allows for seamless use of HTTP/2 as statele=
ss or stateful flows with both server- or client-push as optional extension=
s.<br>

=A0eg we can write server-push as a separate (new) part-N section draft wit=
h the core pt1-2 HTTP/2 draft(s) containing a framing structure and flow co=
ntrol which are able to support server-push for when it is needed without b=
reaking the HTTP/1 semantics requirements.<br>

<br>
I would like to propose an updated frame layout pulling in the best framing=
 details of the WebSockets, network-friendly, and speed+mobility proposals.=
 This is almost ready for WG discussion, given a few more days to work the =
wording of it into the draft-mbelshe-httpbis-spdy-00 texts. This also propo=
ses a few details for your (1) below.<br>

<br>
<br>
4) I&#39;ll stick my neck out and voice it. Cross-request LZ compression ne=
eds to go.<br>
<br>
The other drafts proposed a few alternative options there, per-header diffe=
rential add/replace/remove flags.<br>
IIRC Robert was working on something there as well?</blockquote><div><br></=
div><div>Yep-- what I&#39;ve been doing is whole-key or whole-value delta-e=
ncoding with static huffman coding, with an LRU of key-value pairs. A set o=
f headers is thus simply a set of references to the items in the LRU.</div>
<div>The set of operations is:</div><div>=A0 add a new hey-value line into =
the LRU by specifying a new key-value</div><div>=A0 =A0 =A0 this looks like=
: =A0{opcode: KVStore, string key, string val}.</div><div>=A0 add a new key=
-value line into the LRU by referencing a previous key-value, copying the k=
ey from it and adding the specified new value</div>
<div><div>=A0 =A0 =A0 this looks like: =A0{opcode: Mutate,int lru_index, st=
ring val}.</div></div><div>=A0 toggle visibility for a particular LRU entry=
 for a particular header set</div><div><div>=A0 =A0 =A0 this looks like: =
=A0{opcode: Toggle,int lru_index}.</div>
</div><div><div>=A0 toggle visibility for a contiguous range of LRU entries=
 for a particular header set</div></div><div><div>=A0 =A0 =A0 this looks li=
ke: =A0{opcode: Toggle,int lru_index_start, int lru_index_end}.</div><div><=
/div></div>
<div><br></div><div>Note that the actual format of the operations isn&#39;t=
 exactly like what I&#39;m describing above- I&#39;m just trying to indicat=
e generally what is involved.</div><div><br></div><div>The resulting compre=
ssion is a bit worse than gzip (with large window size) on my current test =
corpus, but compares pretty well with gzip in the Chrome implementation of =
SPDY.</div>
<div>It has CPU advantages in that the huffman encoding is static, thus for=
 proxies there is no re-encoding necessary. Additionally, much or all of th=
e decompressor state can be shared with a compressor (if proxying, for inst=
ance).</div>
<div>Finally, I expect (though I&#39;ve yet to prove it yet, as I&#39;m sti=
ll doing the c++ implementation) that the compression is more CPU efficient=
 than gzip. Decompression should be similar... but.. much of the time you n=
eed not reconstitute an entire set of headers-- instead, since we&#39;re se=
nding deltas anyway, you simply ammend your state based on what changed and=
 thus become more efficient there as well.</div>
<div><br></div><div>If clients/servers were a bit more naive in terms of wh=
en they added/removed headers, the delta-coding would be more efficient and=
 it&#39;d approach or exceed gzip compression.. at least I think so :)</div=
>
<div>As far as I (or thusfar anyone with whom I&#39;ve spoken) can tell, th=
e approach here does not allow probing of the compression context, and is t=
hus robust in the face of known attacks.</div><div><br></div><div>Anyway, t=
hat is what I&#39;ve been working on.</div>
<div>-=3DR</div><div><br></div><div>=A0</div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
><div class=3D"im"><br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Following that, I suspect it&#39;ll be most useful to work on the upgrade<b=
r>
mechanism (which will also help with #1 above). Patrick sent out what<br>
I think most people agree is a good starting point for that discussion<br>
here: &lt;<a href=3D"http://www.w3.org/mid/1345470312.2877.55.camel@ds9" ta=
rget=3D"_blank">http://www.w3.org/mid/<u></u>1345470312.2877.55.camel@ds9</=
a>&gt;.<br>
<br>
We&#39;ll start these discussions soon, using the Atlanta meeting as a<br>
checkpoint for the work. If its&#39; going well by then (i.e., we have a<br=
>
good set of issues and some healthy discussion, ideally with some data<br>
starting to emerge), I&#39;d expect us to schedule an interim meeting<br>
sometime early next year, to have more substantial discussion.<br>
<br>
More details to follow. Thanks to everybody for helping get us this<br>
far, as well as to Martin, Alexey and Julian for volunteering their<br>
time.<br>
<br>
Regards,<br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
</blockquote>
<br>
<br></div>
AYJ<br>
<br>
<br>
</blockquote></div><br>

--f46d044289f69351f504cb2266a5--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 00:18:32 2012
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 5558D21F84DE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 00:18:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JsGbBH8MhXXL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 00:18:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0533C21F84D4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 00:18:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJJDW-000442-2V for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 07:18:02 +0000
Resent-Date: Wed, 03 Oct 2012 07:18:02 +0000
Resent-Message-Id: <E1TJJDW-000442-2V@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TJJDT-00043N-9B for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 07:17:59 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TJJDR-0007Kg-R1 for ietf-http-wg@w3.org; Wed, 03 Oct 2012 07:17:59 +0000
Received: by wgbdq12 with SMTP id dq12so5242831wgb.26 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 00:17:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rtuZduRmw1CNB1e2whjiGPc7T8hUPcfzpy7xRWdCRMU=; b=EoCytd009l4eG6Gszt5sps1TdJV1/2QXAINwf3F6yL/NG5/MVJgkOZgT52RQD6HaD2 qVe2apeKeYZufnreFfrV8nFY904nLBpmSAUSwX610+BIo8Dtn9tTmnkR3qXMHbJDgpdE xlayF9hoazDzYKY37p3fejSlW+67FW4JDeiOAOaAlunGnIDujx/UZ3ESJ4B9yVPAdlp+ x6eGcv0IHV+vtGycAIZuvNbmouBT8g3YPTDFJv5W2iaqS0s8PpOYrpOJ0DuXweueZClN P+vCE3rwHxsvbpey74KOuwNaEHfUorPr25fDcjYwbWlH334mCgy2An6CoDWv/q30rUdN xK7w==
MIME-Version: 1.0
Received: by 10.180.105.6 with SMTP id gi6mr2864019wib.4.1349248651187; Wed, 03 Oct 2012 00:17:31 -0700 (PDT)
Received: by 10.194.33.72 with HTTP; Wed, 3 Oct 2012 00:17:31 -0700 (PDT)
In-Reply-To: <17228897d7ad76df18fbb2a8378230e1@treenet.co.nz>
References: <5A3E0D69-857B-4B72-818B-C7E96A817B07@mnot.net> <17228897d7ad76df18fbb2a8378230e1@treenet.co.nz>
Date: Wed, 3 Oct 2012 00:17:31 -0700
Message-ID: <CAP+FsNfkT63qvXASUG-CN0NDUBvbrodWmgOBjJdQeobbiyE_Dw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04428cc89155f604cb226e0d
Received-SPF: pass client-ip=74.125.82.45; envelope-from=grmocg@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJJDR-0007Kg-R1 a0b10c6efc2a1d7da3415f6baf7eebe9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Getting (Officially) Started on HTTP/2.0
Archived-At: <http://www.w3.org/mid/CAP+FsNfkT63qvXASUG-CN0NDUBvbrodWmgOBjJdQeobbiyE_Dw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15275
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>

--f46d04428cc89155f604cb226e0d
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Oct 2, 2012 at 6:54 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 03.10.2012 05:48, Mark Nottingham wrote:
>
>> As you may have seen, our re-charter has been approved by the IESG.
>>
>> If you aren't familiar with the final text, please take a moment and
>> carefully read it:
>>   http://datatracker.ietf.org/**wg/httpbis/charter/<http://datatracker.ietf.org/wg/httpbis/charter/>
>>
>> First and foremost, we will continue working on the revision of the
>> HTTP/1.1 specification. Roy has recently finished his work on p1, and
>> should finish p2 soon. As such, we'll be entering WGLC on these
>> documents and prioritising any discussion on them until finished. Stay
>> tuned for details.
>>
>> Work on HTTP/2.0 will start by creating draft-ietf-httpbis-http2-00,
>> based upon draft-mbelshe-httpbis-spdy-00. That draft will list Mike
>> Belshe and Roberto Peon as authors, to acknowledge their contribution.
>>
>> However, we will have a separate editorial team in charge of the
>> Working Group's drafts. After extensive discussions and consultation
>> with our AD, I've asked Julian Reschke, Alexey Melnikov and Martin
>> Thomson to serve as editors of the HTTP/2.0 draft.
>>
>> Concurrently, we should start gathering issues against the draft for
>> discussion; just as with the previous work, I'd like to structure as
>> much of our discussion as possible around concretely identified
>> issues.
>>
>> I'll kick that process off by nominating obvious discussion points
>> like the upgrade mechanism, header compression, intermediaries, and
>> server push, but of course anyone can raise a new issue, using the
>> guidelines on our wiki page
>> <http://trac.tools.ietf.org/**wg/httpbis/trac/wiki<http://trac.tools.ietf.org/wg/httpbis/trac/wiki>
>> >.
>>
>> There are two things that we need to settle fairly quickly:
>>
>> 1. How we identify the protocol on the wire. It's likely that we're
>> going to have a few different revisions of what we specify implemented
>> as we move along, and I want us to be crystal-clear about how that
>> will be managed, so we're not stuck with interop problems down the
>> road.
>>
>> 2. What requirements we have for negotiation of HTTP2 within TLS. As
>> you should have seen, that portion of the work has been given to the
>> TLS Working Group, and we need to give them some guidance about what
>> we need.
>>
>>
> 3) The explicit session frames setup/teardown is a bit of unnecessary
> verbose state and bandwidth. Potentially adding extra RTT at times. There
> is no need for request and session setup to be different frames unless you
> want to throw away the stateless nature of HTTP. We can have A-to-B
> sessions[1] for free with per-hop request/flow ID and connection pinning
> support in the implementations. We can have client to origin session with
> negotiated headers.
>
> Where the client assigns a connection-specific ID and the server uses that
> to construct any session ID needed at its end. This was discussed by the WG
> earlier. Similar (but not the same) as described in network-friendly draft.
> WG discussion, and development since the drafts were submitted has led to a
> some significant improvements on this over what network-friendly and
> WebSockets use, and shown that it allows for seamless use of HTTP/2 as
> stateless or stateful flows with both server- or client-push as optional
> extensions.
>  eg we can write server-push as a separate (new) part-N section draft with
> the core pt1-2 HTTP/2 draft(s) containing a framing structure and flow
> control which are able to support server-push for when it is needed without
> breaking the HTTP/1 semantics requirements.
>
> I would like to propose an updated frame layout pulling in the best
> framing details of the WebSockets, network-friendly, and speed+mobility
> proposals. This is almost ready for WG discussion, given a few more days to
> work the wording of it into the draft-mbelshe-httpbis-spdy-00 texts. This
> also proposes a few details for your (1) below.
>

Sorry for splitting this up into a separate email, but I figure these will
end up as separate conversations.
I've also reworked the framing used in SPDY, which was not as regular as it
could be (and thus annoyed me a bit).
I'll present that here soon as well.

-=R


>
>
> 4) I'll stick my neck out and voice it. Cross-request LZ compression needs
> to go.
>
> The other drafts proposed a few alternative options there, per-header
> differential add/replace/remove flags.
> IIRC Robert was working on something there as well?
>
>
>
>  Following that, I suspect it'll be most useful to work on the upgrade
>> mechanism (which will also help with #1 above). Patrick sent out what
>> I think most people agree is a good starting point for that discussion
>> here: <http://www.w3.org/mid/**1345470312.2877.55.camel@ds9<http://www.w3.org/mid/1345470312.2877.55.camel@ds9>
>> >.
>>
>> We'll start these discussions soon, using the Atlanta meeting as a
>> checkpoint for the work. If its' going well by then (i.e., we have a
>> good set of issues and some healthy discussion, ideally with some data
>> starting to emerge), I'd expect us to schedule an interim meeting
>> sometime early next year, to have more substantial discussion.
>>
>> More details to follow. Thanks to everybody for helping get us this
>> far, as well as to Martin, Alexey and Julian for volunteering their
>> time.
>>
>> Regards,
>>
>> --
>> Mark Nottingham
>> http://www.mnot.net/
>>
>
>
> AYJ
>
>
>

--f46d04428cc89155f604cb226e0d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Tue, Oct 2, 2012 at 6:54 PM, Amos Jef=
fries <span dir=3D"ltr">&lt;<a href=3D"mailto:squid3@treenet.co.nz" target=
=3D"_blank">squid3@treenet.co.nz</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5">On 03.10.2012 05:48, Mark Nottingha=
m wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
As you may have seen, our re-charter has been approved by the IESG.<br>
<br>
If you aren&#39;t familiar with the final text, please take a moment and<br=
>
carefully read it:<br>
=A0 <a href=3D"http://datatracker.ietf.org/wg/httpbis/charter/" target=3D"_=
blank">http://datatracker.ietf.org/<u></u>wg/httpbis/charter/</a><br>
<br>
First and foremost, we will continue working on the revision of the<br>
HTTP/1.1 specification. Roy has recently finished his work on p1, and<br>
should finish p2 soon. As such, we&#39;ll be entering WGLC on these<br>
documents and prioritising any discussion on them until finished. Stay<br>
tuned for details.<br>
<br>
Work on HTTP/2.0 will start by creating draft-ietf-httpbis-http2-00,<br>
based upon draft-mbelshe-httpbis-spdy-00. That draft will list Mike<br>
Belshe and Roberto Peon as authors, to acknowledge their contribution.<br>
<br>
However, we will have a separate editorial team in charge of the<br>
Working Group&#39;s drafts. After extensive discussions and consultation<br=
>
with our AD, I&#39;ve asked Julian Reschke, Alexey Melnikov and Martin<br>
Thomson to serve as editors of the HTTP/2.0 draft.<br>
<br>
Concurrently, we should start gathering issues against the draft for<br>
discussion; just as with the previous work, I&#39;d like to structure as<br=
>
much of our discussion as possible around concretely identified<br>
issues.<br>
<br>
I&#39;ll kick that process off by nominating obvious discussion points<br>
like the upgrade mechanism, header compression, intermediaries, and<br>
server push, but of course anyone can raise a new issue, using the<br>
guidelines on our wiki page<br>
&lt;<a href=3D"http://trac.tools.ietf.org/wg/httpbis/trac/wiki" target=3D"_=
blank">http://trac.tools.ietf.org/<u></u>wg/httpbis/trac/wiki</a>&gt;.<br>
<br>
There are two things that we need to settle fairly quickly:<br>
<br>
1. How we identify the protocol on the wire. It&#39;s likely that we&#39;re=
<br>
going to have a few different revisions of what we specify implemented<br>
as we move along, and I want us to be crystal-clear about how that<br>
will be managed, so we&#39;re not stuck with interop problems down the<br>
road.<br>
<br>
2. What requirements we have for negotiation of HTTP2 within TLS. As<br>
you should have seen, that portion of the work has been given to the<br>
TLS Working Group, and we need to give them some guidance about what<br>
we need.<br>
<br>
</blockquote>
<br></div></div>
3) The explicit session frames setup/teardown is a bit of unnecessary verbo=
se state and bandwidth. Potentially adding extra RTT at times. There is no =
need for request and session setup to be different frames unless you want t=
o throw away the stateless nature of HTTP. We can have A-to-B sessions[1] f=
or free with per-hop request/flow ID and connection pinning support in the =
implementations. We can have client to origin session with negotiated heade=
rs.<br>

<br>
Where the client assigns a connection-specific ID and the server uses that =
to construct any session ID needed at its end. This was discussed by the WG=
 earlier. Similar (but not the same) as described in network-friendly draft=
. WG discussion, and development since the drafts were submitted has led to=
 a some significant improvements on this over what network-friendly and Web=
Sockets use, and shown that it allows for seamless use of HTTP/2 as statele=
ss or stateful flows with both server- or client-push as optional extension=
s.<br>

=A0eg we can write server-push as a separate (new) part-N section draft wit=
h the core pt1-2 HTTP/2 draft(s) containing a framing structure and flow co=
ntrol which are able to support server-push for when it is needed without b=
reaking the HTTP/1 semantics requirements.<br>

<br>
I would like to propose an updated frame layout pulling in the best framing=
 details of the WebSockets, network-friendly, and speed+mobility proposals.=
 This is almost ready for WG discussion, given a few more days to work the =
wording of it into the draft-mbelshe-httpbis-spdy-00 texts. This also propo=
ses a few details for your (1) below.<br>
</blockquote><div><br></div><div>Sorry for splitting this up into a separat=
e email, but I figure these will end up as separate conversations.</div><di=
v>I&#39;ve also reworked the framing used in SPDY, which was not as regular=
 as it could be (and thus annoyed me a bit).</div>
<div>I&#39;ll present that here soon as well.</div><div><br></div><div>-=3D=
R</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
4) I&#39;ll stick my neck out and voice it. Cross-request LZ compression ne=
eds to go.<br>
<br>
The other drafts proposed a few alternative options there, per-header diffe=
rential add/replace/remove flags.<br>
IIRC Robert was working on something there as well?<div class=3D"im"><br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Following that, I suspect it&#39;ll be most useful to work on the upgrade<b=
r>
mechanism (which will also help with #1 above). Patrick sent out what<br>
I think most people agree is a good starting point for that discussion<br>
here: &lt;<a href=3D"http://www.w3.org/mid/1345470312.2877.55.camel@ds9" ta=
rget=3D"_blank">http://www.w3.org/mid/<u></u>1345470312.2877.55.camel@ds9</=
a>&gt;.<br>
<br>
We&#39;ll start these discussions soon, using the Atlanta meeting as a<br>
checkpoint for the work. If its&#39; going well by then (i.e., we have a<br=
>
good set of issues and some healthy discussion, ideally with some data<br>
starting to emerge), I&#39;d expect us to schedule an interim meeting<br>
sometime early next year, to have more substantial discussion.<br>
<br>
More details to follow. Thanks to everybody for helping get us this<br>
far, as well as to Martin, Alexey and Julian for volunteering their<br>
time.<br>
<br>
Regards,<br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
</blockquote>
<br>
<br></div>
AYJ<br>
<br>
<br>
</blockquote></div><br>

--f46d04428cc89155f604cb226e0d--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 07:29:53 2012
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 0092921F859C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 07:29:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d4WcUHXya-js for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 07:29:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6E95021F84F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 07:29:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJPvL-0007Pj-03 for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 14:27:43 +0000
Resent-Date: Wed, 03 Oct 2012 14:27:43 +0000
Resent-Message-Id: <E1TJPvL-0007Pj-03@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <murch@andrew.cmu.edu>) id 1TJPvJ-0007P4-93 for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 14:27:41 +0000
Received: from smtp.andrew.cmu.edu ([128.2.11.61]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <murch@andrew.cmu.edu>) id 1TJPvF-00081E-DM for ietf-http-wg@w3.org; Wed, 03 Oct 2012 14:27:41 +0000
Received: from ksm-t3400.murch.local (cpe-76-180-159-91.buffalo.res.rr.com [76.180.159.91]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.14.4/8.14.4) with ESMTP id q93ERACF030177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Wed, 3 Oct 2012 10:27:11 -0400
Message-ID: <506C4B3D.6030806@andrew.cmu.edu>
Date: Wed, 03 Oct 2012 10:27:09 -0400
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Version: 5.5.9.388399, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.3.18.170322
X-SMTP-Spam-Clean: 8% ( BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1100_1199 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, RDNS_GENERIC_POOLED 0, RDNS_POOLED 0, RDNS_RESIDENTIAL 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, RDNS_SUSP_SPECIFIC 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __RATWARE_X_MAILER_CS_B 0, __RDNS_POOLED_2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __USER_AGENT 0)
X-SMTP-Spam-Score: 8%
X-Scanned-By: MIMEDefang 2.60 on 128.2.11.61
Received-SPF: none client-ip=128.2.11.61; envelope-from=murch@andrew.cmu.edu; helo=smtp.andrew.cmu.edu
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=-0.280, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-2.142
X-W3C-Scan-Sig: lisa.w3.org 1TJPvF-00081E-DM 61cb9746816f67d380e9492ce73db017
X-Original-To: ietf-http-wg@w3.org
Subject: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/506C4B3D.6030806@andrew.cmu.edu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15276
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>

Hello,

I'm working on draft draft-murchison-webdav-prefer which describes how 
the return-minimal and return-representation apply to WebDAV/CalDAV 
methods.  My work is primarily CalDAV-centric but we are trying to make 
it generic to WebDAV and its derivatives.

One of the issues that keeps coming up is a way for the client to 
differentiate between two  cases:

- the server doesn't return a representation because it ignored or 
doesn't support the return-representation preference

- the server understood the preference but didn't return a 
representation because it didn't change from what was in the request

One possible solution is for the server to return a Vary: Prefer header 
to indicate that the server understood the preference, thereby allowing 
the client to infer what the lack of a representation in the response means.

The next question is, does any such mandate or recommendation, if 
required, belong in my webdav-prefer draft or in the base Prefer spec?

Thoughts?

-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 08:05:03 2012
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 F3F4421F8673 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 08:05:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.004
X-Spam-Level: 
X-Spam-Status: No, score=-7.004 tagged_above=-999 required=5 tests=[AWL=3.594, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3M6StAKzR1Z3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 08:05:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 46DD321F84CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 08:05: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 1TJQUD-0005Bi-78 for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 15:03:45 +0000
Resent-Date: Wed, 03 Oct 2012 15:03:45 +0000
Resent-Message-Id: <E1TJQUD-0005Bi-78@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJQUA-00059K-W6 for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 15:03:43 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJQU2-0000jn-Jn for ietf-http-wg@w3.org; Wed, 03 Oct 2012 15:03:42 +0000
Received: by wibhq7 with SMTP id hq7so2062659wib.8 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 08:03:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=kicGdipKVmsxRLNJ+gOVvULzZmbhurv0BUu8jf7+oR0=; b=hSdrnTFW+tfS43g6768KZFP/yMijwEN9IPp4W2JGKmNLG6kEkIdDddXR+kMzZAB/RO TTGlr+/kdSxVQ8oqsaYXh7giY4XzkEsxR25fOc2GHb22R+ELQsbwZBFdKMddL0US8w5s 98UVR8jgcOxA+hpJkWQSTmqgoQ3apZ8vw4EGcJC23O1MQGrUUojaSrQQXCXfUd/S4UJz IPLWKLk/U8CxAFXOTtPBR0V/s1pGMS6NIK+txk1ebPrcUWhDaUZf1oL3zhsr1BMjpAEd i3uFJQCn+0+uXJNFkPZNboXh7pp04pZFAjOkQ9C/lbJbiO+49GBLRctPMJKnRMrasJn0 hU7A==
Received: by 10.180.79.103 with SMTP id i7mr5580733wix.13.1349276588025; Wed, 03 Oct 2012 08:03:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Wed, 3 Oct 2012 08:02:47 -0700 (PDT)
In-Reply-To: <506C4B3D.6030806@andrew.cmu.edu>
References: <506C4B3D.6030806@andrew.cmu.edu>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 3 Oct 2012 08:02:47 -0700
Message-ID: <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04182518bba7b904cb28ef7d
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJQU2-0000jn-Jn b50e0f68a4236fd34b1298a1d6efa1f5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15277
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>

--f46d04182518bba7b904cb28ef7d
Content-Type: text/plain; charset=UTF-8

A much older version of the specification included an optional
Preference-Applied response header that could explicitly indicate whether a
particular preference was applied, but after lots of feedback that "I
wasn't going to need it", I pulled it back out (largely against my better
judgement). I'm thinking that perhaps it needs to be added back in.

- James

On Wed, Oct 3, 2012 at 7:27 AM, Ken Murchison <murch@andrew.cmu.edu> wrote:

> Hello,
>
> I'm working on draft draft-murchison-webdav-prefer which describes how the
> return-minimal and return-representation apply to WebDAV/CalDAV methods.
>  My work is primarily CalDAV-centric but we are trying to make it generic
> to WebDAV and its derivatives.
>
> One of the issues that keeps coming up is a way for the client to
> differentiate between two  cases:
>
> - the server doesn't return a representation because it ignored or doesn't
> support the return-representation preference
>
> - the server understood the preference but didn't return a representation
> because it didn't change from what was in the request
>
> One possible solution is for the server to return a Vary: Prefer header to
> indicate that the server understood the preference, thereby allowing the
> client to infer what the lack of a representation in the response means.
>
> The next question is, does any such mandate or recommendation, if
> required, belong in my webdav-prefer draft or in the base Prefer spec?
>
> Thoughts?
>
> --
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>
>

--f46d04182518bba7b904cb28ef7d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">A much older version of the specificat=
ion included an optional Preference-Applied response header that could expl=
icitly indicate whether a particular preference was applied, but after lots=
 of feedback that &quot;I wasn&#39;t going to need it&quot;, I pulled it ba=
ck out (largely against my better judgement). I&#39;m thinking that perhaps=
 it needs to be added back in.=C2=A0</font><div>

<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">- James<br></font><div><br><div class=3D"gmail_quote=
">On Wed, Oct 3, 2012 at 7:27 AM, Ken Murchison <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:murch@andrew.cmu.edu" target=3D"_blank">murch@andrew.cmu.edu</=
a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hello,<br>
<br>
I&#39;m working on draft draft-murchison-webdav-prefer which describes how =
the return-minimal and return-representation apply to WebDAV/CalDAV methods=
. =C2=A0My work is primarily CalDAV-centric but we are trying to make it ge=
neric to WebDAV and its derivatives.<br>


<br>
One of the issues that keeps coming up is a way for the client to different=
iate between two =C2=A0cases:<br>
<br>
- the server doesn&#39;t return a representation because it ignored or does=
n&#39;t support the return-representation preference<br>
<br>
- the server understood the preference but didn&#39;t return a representati=
on because it didn&#39;t change from what was in the request<br>
<br>
One possible solution is for the server to return a Vary: Prefer header to =
indicate that the server understood the preference, thereby allowing the cl=
ient to infer what the lack of a representation in the response means.<br>


<br>
The next question is, does any such mandate or recommendation, if required,=
 belong in my webdav-prefer draft or in the base Prefer spec?<br>
<br>
Thoughts?<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
-- <br>
Kenneth Murchison<br>
Principal Systems Software Engineer<br>
Carnegie Mellon University<br>
<br>
</font></span></blockquote></div><br></div></div>

--f46d04182518bba7b904cb28ef7d--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 08:16:25 2012
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 577E221F8624 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 08:16:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hzvcEQYjEvy7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 08:16:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CA21E21F8667 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 08:16:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJQfP-0004yB-8Q for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 15:15:19 +0000
Resent-Date: Wed, 03 Oct 2012 15:15:19 +0000
Resent-Message-Id: <E1TJQfP-0004yB-8Q@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <murch@andrew.cmu.edu>) id 1TJQfI-00048n-M3 for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 15:15:12 +0000
Received: from smtp.andrew.cmu.edu ([128.2.11.61]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <murch@andrew.cmu.edu>) id 1TJQfH-00012P-Ov for ietf-http-wg@w3.org; Wed, 03 Oct 2012 15:15:12 +0000
Received: from ksm-t3400.murch.local (cpe-76-180-159-91.buffalo.res.rr.com [76.180.159.91]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.14.4/8.14.4) with ESMTP id q93FEiBc010891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 3 Oct 2012 11:14:45 -0400
Message-ID: <506C5664.8060808@andrew.cmu.edu>
Date: Wed, 03 Oct 2012 11:14:44 -0400
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: ietf-http-wg@w3.org
References: <506C4B3D.6030806@andrew.cmu.edu> <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com>
In-Reply-To: <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Version: 5.5.9.388399, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.3.18.170322
X-SMTP-Spam-Clean: 8% ( BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1900_1999 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, RDNS_GENERIC_POOLED 0, RDNS_POOLED 0, RDNS_RESIDENTIAL 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, RDNS_SUSP_SPECIFIC 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __RATWARE_X_MAILER_CS_B 0, __RDNS_POOLED_2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __USER_AGENT 0)
X-SMTP-Spam-Score: 8%
X-Scanned-By: MIMEDefang 2.60 on 128.2.11.61
Received-SPF: none client-ip=128.2.11.61; envelope-from=murch@andrew.cmu.edu; helo=smtp.andrew.cmu.edu
X-W3C-Hub-Spam-Status: No, score=-6.5
X-W3C-Hub-Spam-Report: AWL=-0.186, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-2.142
X-W3C-Scan-Sig: lisa.w3.org 1TJQfH-00012P-Ov c2a9463c9438cb2b5897afe323ec2c1e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/506C5664.8060808@andrew.cmu.edu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15278
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>

Hi James,

That would obviously work.  Is reusing the Vary header not a good idea?


James M Snell wrote:
> A much older version of the specification included an optional 
> Preference-Applied response header that could explicitly indicate 
> whether a particular preference was applied, but after lots of feedback 
> that "I wasn't going to need it", I pulled it back out (largely against 
> my better judgement). I'm thinking that perhaps it needs to be added 
> back in. 
> 
> - James
> 
> On Wed, Oct 3, 2012 at 7:27 AM, Ken Murchison <murch@andrew.cmu.edu 
> <mailto:murch@andrew.cmu.edu>> wrote:
> 
>     Hello,
> 
>     I'm working on draft draft-murchison-webdav-prefer which describes
>     how the return-minimal and return-representation apply to
>     WebDAV/CalDAV methods.  My work is primarily CalDAV-centric but we
>     are trying to make it generic to WebDAV and its derivatives.
> 
>     One of the issues that keeps coming up is a way for the client to
>     differentiate between two  cases:
> 
>     - the server doesn't return a representation because it ignored or
>     doesn't support the return-representation preference
> 
>     - the server understood the preference but didn't return a
>     representation because it didn't change from what was in the request
> 
>     One possible solution is for the server to return a Vary: Prefer
>     header to indicate that the server understood the preference,
>     thereby allowing the client to infer what the lack of a
>     representation in the response means.
> 
>     The next question is, does any such mandate or recommendation, if
>     required, belong in my webdav-prefer draft or in the base Prefer spec?
> 
>     Thoughts?
> 
>     -- 
>     Kenneth Murchison
>     Principal Systems Software Engineer
>     Carnegie Mellon University
> 
> 


-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 08:42:44 2012
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 E673B21F8555 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 08:42:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GKDNIDpSNmHf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 08:42:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0FAB121F84EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 08:42:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJR4r-0001co-Cn for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 15:41:37 +0000
Resent-Date: Wed, 03 Oct 2012 15:41:37 +0000
Resent-Message-Id: <E1TJR4r-0001co-Cn@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TJR4o-0001bz-NO for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 15:41:34 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TJR4k-0001x6-JZ for ietf-http-wg@w3.org; Wed, 03 Oct 2012 15:41:34 +0000
Received: from [10.204.17.196] (unknown [86.189.0.207]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 94D9D50A73; Wed,  3 Oct 2012 11:41:07 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <506C5664.8060808@andrew.cmu.edu>
Date: Wed, 3 Oct 2012 16:41:02 +0100
Cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <E407DC0F-921E-42BE-8AD1-B0D03C08F933@mnot.net>
References: <506C4B3D.6030806@andrew.cmu.edu> <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com> <506C5664.8060808@andrew.cmu.edu>
To: Ken Murchison <murch@andrew.cmu.edu>
X-Mailer: Apple Mail (2.1498)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJR4k-0001x6-JZ a9138bb786f3e74dab3ff1827fef8f99
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/E407DC0F-921E-42BE-8AD1-B0D03C08F933@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15279
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>

If the response has changed based upon the Prefer header, you really =
need to include Vary: prefer.

If you can infer from that what the server did, there's no need for a =
separate header.

Cheers,


On 03/10/2012, at 4:14 PM, Ken Murchison <murch@andrew.cmu.edu> wrote:

> Hi James,
>=20
> That would obviously work.  Is reusing the Vary header not a good =
idea?
>=20
>=20
> James M Snell wrote:
>> A much older version of the specification included an optional =
Preference-Applied response header that could explicitly indicate =
whether a particular preference was applied, but after lots of feedback =
that "I wasn't going to need it", I pulled it back out (largely against =
my better judgement). I'm thinking that perhaps it needs to be added =
back in. - James
>> On Wed, Oct 3, 2012 at 7:27 AM, Ken Murchison <murch@andrew.cmu.edu =
<mailto:murch@andrew.cmu.edu>> wrote:
>>    Hello,
>>    I'm working on draft draft-murchison-webdav-prefer which describes
>>    how the return-minimal and return-representation apply to
>>    WebDAV/CalDAV methods.  My work is primarily CalDAV-centric but we
>>    are trying to make it generic to WebDAV and its derivatives.
>>    One of the issues that keeps coming up is a way for the client to
>>    differentiate between two  cases:
>>    - the server doesn't return a representation because it ignored or
>>    doesn't support the return-representation preference
>>    - the server understood the preference but didn't return a
>>    representation because it didn't change from what was in the =
request
>>    One possible solution is for the server to return a Vary: Prefer
>>    header to indicate that the server understood the preference,
>>    thereby allowing the client to infer what the lack of a
>>    representation in the response means.
>>    The next question is, does any such mandate or recommendation, if
>>    required, belong in my webdav-prefer draft or in the base Prefer =
spec?
>>    Thoughts?
>>    --     Kenneth Murchison
>>    Principal Systems Software Engineer
>>    Carnegie Mellon University
>=20
>=20
> --=20
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>=20

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 08:47:48 2012
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 BADEA21F8568 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 08:47:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.215
X-Spam-Level: 
X-Spam-Status: No, score=-7.215 tagged_above=-999 required=5 tests=[AWL=3.383, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J7I5sRS08MQ1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 08:47:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F2DDD21F8554 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 08:47:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJRAG-0006qG-PC for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 15:47:12 +0000
Resent-Date: Wed, 03 Oct 2012 15:47:12 +0000
Resent-Message-Id: <E1TJRAG-0006qG-PC@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJRAA-0006pb-U4 for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 15:47:06 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJRA4-0006Zu-QQ for ietf-http-wg@w3.org; Wed, 03 Oct 2012 15:47:06 +0000
Received: by mail-wi0-f169.google.com with SMTP id hq4so2300246wib.2 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 08:46:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=FNeXculHDEzpGZBiDZ3tYZXaCi6b7gYro6ZmUMnfdEE=; b=rWbX8+8qoPwiiqUy8vwr+hAoQr6uBe42WOAPyYslhXNn69xzSaHHJQBoVJAsu0f6v/ 2Zw7+p8jdhmGMWz7UnJG83qLAlI2bSWEz9wiyhysSNTm/sHVXZXgi8IrRipeCv1rEW3J C84UOAHMwNGbo9v5EPpOQlHXrXTPq0FwFKhbkwc9XNzsEWFGR6/NDcRtdv1DCM046nZS KgHYjjeXZ/RuGsBDyuGItrlE3+8WQX6m7l+Bd0n6wOwFuEoYAYje39/ywJLUwPPz5MaX nWSeXwSzwqunMshe7X8tX5XnLM5oljXP+ssdwirMozFBUChePrXxpT83XnIWjMeVKuEI lH7w==
Received: by 10.180.79.103 with SMTP id i7mr5840171wix.13.1349279194106; Wed, 03 Oct 2012 08:46:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Wed, 3 Oct 2012 08:46:13 -0700 (PDT)
In-Reply-To: <506C5664.8060808@andrew.cmu.edu>
References: <506C4B3D.6030806@andrew.cmu.edu> <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com> <506C5664.8060808@andrew.cmu.edu>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 3 Oct 2012 08:46:13 -0700
Message-ID: <CABP7Rbc2_VF05kjqh1FkYS8vwN-GpLwwC8SCPKXckoLVR6GRxA@mail.gmail.com>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04182518114bb004cb298b6f
Received-SPF: pass client-ip=209.85.212.169; envelope-from=jasnell@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJRA4-0006Zu-QQ 7b75fcc0faa18058dba604858a2c0c0b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/CABP7Rbc2_VF05kjqh1FkYS8vwN-GpLwwC8SCPKXckoLVR6GRxA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15280
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>

--f46d04182518114bb004cb298b6f
Content-Type: text/plain; charset=UTF-8

Given the specific mechanisms of the how your webdav-prefer is defined, you
really should have a Vary: Prefer in your responses anyway since the
application of the Prefer header will lead to variations in the specific
entity returned. Accordingly, if Vary: Prefer is always present, you'll
either need some separate mechanism to indicate that a specific Preference
was applied or, as Mark suggests, apply some heuristics to infer what the
server did.

- James

On Wed, Oct 3, 2012 at 8:14 AM, Ken Murchison <murch@andrew.cmu.edu> wrote:

> Hi James,
>
> That would obviously work.  Is reusing the Vary header not a good idea?
>
>
> James M Snell wrote:
>
>> A much older version of the specification included an optional
>> Preference-Applied response header that could explicitly indicate whether a
>> particular preference was applied, but after lots of feedback that "I
>> wasn't going to need it", I pulled it back out (largely against my better
>> judgement). I'm thinking that perhaps it needs to be added back in.
>> - James
>>
>> On Wed, Oct 3, 2012 at 7:27 AM, Ken Murchison <murch@andrew.cmu.edu<mailto:
>> murch@andrew.cmu.edu>> wrote:
>>
>>     Hello,
>>
>>     I'm working on draft draft-murchison-webdav-prefer which describes
>>     how the return-minimal and return-representation apply to
>>     WebDAV/CalDAV methods.  My work is primarily CalDAV-centric but we
>>     are trying to make it generic to WebDAV and its derivatives.
>>
>>     One of the issues that keeps coming up is a way for the client to
>>     differentiate between two  cases:
>>
>>     - the server doesn't return a representation because it ignored or
>>     doesn't support the return-representation preference
>>
>>     - the server understood the preference but didn't return a
>>     representation because it didn't change from what was in the request
>>
>>     One possible solution is for the server to return a Vary: Prefer
>>     header to indicate that the server understood the preference,
>>     thereby allowing the client to infer what the lack of a
>>     representation in the response means.
>>
>>     The next question is, does any such mandate or recommendation, if
>>     required, belong in my webdav-prefer draft or in the base Prefer spec?
>>
>>     Thoughts?
>>
>>     --     Kenneth Murchison
>>     Principal Systems Software Engineer
>>     Carnegie Mellon University
>>
>>
>>
>
> --
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>

--f46d04182518114bb004cb298b6f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Given the specific mechanisms of the h=
ow your webdav-prefer is defined, you really should have a Vary: Prefer in =
your responses anyway since the application of the Prefer header will lead =
to variations in the specific entity returned. Accordingly, if Vary: Prefer=
 is always present, you&#39;ll either need some separate mechanism to indic=
ate that a specific Preference was applied or, as Mark suggests, apply some=
 heuristics to infer what the server did.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James=C2=A0<br></font><br><div class=3D"gmail_quote"=
>On Wed, Oct 3, 2012 at 8:14 AM, Ken Murchison <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:murch@andrew.cmu.edu" target=3D"_blank">murch@andrew.cmu.edu</a=
>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi James,<br>
<br>
That would obviously work. =C2=A0Is reusing the Vary header not a good idea=
?<br>
<br>
<br>
James M Snell wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">
A much older version of the specification included an optional Preference-A=
pplied response header that could explicitly indicate whether a particular =
preference was applied, but after lots of feedback that &quot;I wasn&#39;t =
going to need it&quot;, I pulled it back out (largely against my better jud=
gement). I&#39;m thinking that perhaps it needs to be added back in. <br>


- James<br>
<br></div><div><div class=3D"h5">
On Wed, Oct 3, 2012 at 7:27 AM, Ken Murchison &lt;<a href=3D"mailto:murch@a=
ndrew.cmu.edu" target=3D"_blank">murch@andrew.cmu.edu</a> &lt;mailto:<a hre=
f=3D"mailto:murch@andrew.cmu.edu" target=3D"_blank">murch@andrew.cmu.edu</a=
>&gt;&gt; wrote:<br>


<br>
=C2=A0 =C2=A0 Hello,<br>
<br>
=C2=A0 =C2=A0 I&#39;m working on draft draft-murchison-webdav-prefer which =
describes<br>
=C2=A0 =C2=A0 how the return-minimal and return-representation apply to<br>
=C2=A0 =C2=A0 WebDAV/CalDAV methods. =C2=A0My work is primarily CalDAV-cent=
ric but we<br>
=C2=A0 =C2=A0 are trying to make it generic to WebDAV and its derivatives.<=
br>
<br>
=C2=A0 =C2=A0 One of the issues that keeps coming up is a way for the clien=
t to<br>
=C2=A0 =C2=A0 differentiate between two =C2=A0cases:<br>
<br>
=C2=A0 =C2=A0 - the server doesn&#39;t return a representation because it i=
gnored or<br>
=C2=A0 =C2=A0 doesn&#39;t support the return-representation preference<br>
<br>
=C2=A0 =C2=A0 - the server understood the preference but didn&#39;t return =
a<br>
=C2=A0 =C2=A0 representation because it didn&#39;t change from what was in =
the request<br>
<br>
=C2=A0 =C2=A0 One possible solution is for the server to return a Vary: Pre=
fer<br>
=C2=A0 =C2=A0 header to indicate that the server understood the preference,=
<br>
=C2=A0 =C2=A0 thereby allowing the client to infer what the lack of a<br>
=C2=A0 =C2=A0 representation in the response means.<br>
<br>
=C2=A0 =C2=A0 The next question is, does any such mandate or recommendation=
, if<br>
=C2=A0 =C2=A0 required, belong in my webdav-prefer draft or in the base Pre=
fer spec?<br>
<br>
=C2=A0 =C2=A0 Thoughts?<br>
<br>
=C2=A0 =C2=A0 -- =C2=A0 =C2=A0 Kenneth Murchison<br>
=C2=A0 =C2=A0 Principal Systems Software Engineer<br>
=C2=A0 =C2=A0 Carnegie Mellon University<br>
<br>
<br>
</div></div></blockquote><div class=3D"HOEnZb"><div class=3D"h5">
<br>
<br>
-- <br>
Kenneth Murchison<br>
Principal Systems Software Engineer<br>
Carnegie Mellon University<br>
</div></div></blockquote></div><br></div>

--f46d04182518114bb004cb298b6f--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 08:51:40 2012
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 74FD321F84F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 08:51:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F+rPQZ+oBjRP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 08:51:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD37A21F84F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 08:51:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJRE7-0000HO-Ag for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 15:51:11 +0000
Resent-Date: Wed, 03 Oct 2012 15:51:11 +0000
Resent-Message-Id: <E1TJRE7-0000HO-Ag@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <murch@andrew.cmu.edu>) id 1TJRE5-0000Fu-A2 for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 15:51:09 +0000
Received: from smtp.andrew.cmu.edu ([128.2.11.61]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <murch@andrew.cmu.edu>) id 1TJRDz-0006jI-Fk for ietf-http-wg@w3.org; Wed, 03 Oct 2012 15:51:09 +0000
Received: from ksm-t3400.murch.local (cpe-76-180-159-91.buffalo.res.rr.com [76.180.159.91]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.14.4/8.14.4) with ESMTP id q93FoZ6U019223 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 3 Oct 2012 11:50:36 -0400
Message-ID: <506C5ECB.8040505@andrew.cmu.edu>
Date: Wed, 03 Oct 2012 11:50:35 -0400
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: ietf-http-wg@w3.org
References: <506C4B3D.6030806@andrew.cmu.edu> <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com> <506C5664.8060808@andrew.cmu.edu> <CABP7Rbc2_VF05kjqh1FkYS8vwN-GpLwwC8SCPKXckoLVR6GRxA@mail.gmail.com>
In-Reply-To: <CABP7Rbc2_VF05kjqh1FkYS8vwN-GpLwwC8SCPKXckoLVR6GRxA@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Version: 5.5.9.388399, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.3.18.170322
X-SMTP-Spam-Clean: 8% ( BODY_SIZE_3000_3999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, RDNS_GENERIC_POOLED 0, RDNS_POOLED 0, RDNS_RESIDENTIAL 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, RDNS_SUSP_SPECIFIC 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __RATWARE_X_MAILER_CS_B 0, __RDNS_POOLED_2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __URI_NS , __USER_AGENT 0)
X-SMTP-Spam-Score: 8%
X-Scanned-By: MIMEDefang 2.60 on 128.2.11.61
Received-SPF: none client-ip=128.2.11.61; envelope-from=murch@andrew.cmu.edu; helo=smtp.andrew.cmu.edu
X-W3C-Hub-Spam-Status: No, score=-6.6
X-W3C-Hub-Spam-Report: AWL=-0.280, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-2.142
X-W3C-Scan-Sig: maggie.w3.org 1TJRDz-0006jI-Fk b116067717b1319736559202a4b11f39
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/506C5ECB.8040505@andrew.cmu.edu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15281
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>

Yes.  Our application of return-minimal and our newly defined 
depth-noroot to PROPFIND and REPORT should include Vary: Prefer and I 
will mention that in my draft.

Should I also mention the same thing in regards to 
return-representation, or would that belong in your draft?


James M Snell wrote:
> Given the specific mechanisms of the how your webdav-prefer is defined, 
> you really should have a Vary: Prefer in your responses anyway since the 
> application of the Prefer header will lead to variations in the specific 
> entity returned. Accordingly, if Vary: Prefer is always present, you'll 
> either need some separate mechanism to indicate that a specific 
> Preference was applied or, as Mark suggests, apply some heuristics to 
> infer what the server did.
> 
> - James 
> 
> On Wed, Oct 3, 2012 at 8:14 AM, Ken Murchison <murch@andrew.cmu.edu 
> <mailto:murch@andrew.cmu.edu>> wrote:
> 
>     Hi James,
> 
>     That would obviously work.  Is reusing the Vary header not a good idea?
> 
> 
>     James M Snell wrote:
> 
>         A much older version of the specification included an optional
>         Preference-Applied response header that could explicitly
>         indicate whether a particular preference was applied, but after
>         lots of feedback that "I wasn't going to need it", I pulled it
>         back out (largely against my better judgement). I'm thinking
>         that perhaps it needs to be added back in.
>         - James
> 
>         On Wed, Oct 3, 2012 at 7:27 AM, Ken Murchison
>         <murch@andrew.cmu.edu <mailto:murch@andrew.cmu.edu>
>         <mailto:murch@andrew.cmu.edu <mailto:murch@andrew.cmu.edu>>> wrote:
> 
>             Hello,
> 
>             I'm working on draft draft-murchison-webdav-prefer which
>         describes
>             how the return-minimal and return-representation apply to
>             WebDAV/CalDAV methods.  My work is primarily CalDAV-centric
>         but we
>             are trying to make it generic to WebDAV and its derivatives.
> 
>             One of the issues that keeps coming up is a way for the
>         client to
>             differentiate between two  cases:
> 
>             - the server doesn't return a representation because it
>         ignored or
>             doesn't support the return-representation preference
> 
>             - the server understood the preference but didn't return a
>             representation because it didn't change from what was in the
>         request
> 
>             One possible solution is for the server to return a Vary: Prefer
>             header to indicate that the server understood the preference,
>             thereby allowing the client to infer what the lack of a
>             representation in the response means.
> 
>             The next question is, does any such mandate or
>         recommendation, if
>             required, belong in my webdav-prefer draft or in the base
>         Prefer spec?
> 
>             Thoughts?
> 
>             --     Kenneth Murchison
>             Principal Systems Software Engineer
>             Carnegie Mellon University
> 
> 
> 
> 
>     -- 
>     Kenneth Murchison
>     Principal Systems Software Engineer
>     Carnegie Mellon University
> 
> 


-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 10:10:26 2012
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 9BA4921F86B7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 10:10:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.403
X-Spam-Level: 
X-Spam-Status: No, score=-7.403 tagged_above=-999 required=5 tests=[AWL=3.195, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WUtgL6Q5Dcdp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 10:10:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 68F3E21F86B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 10:10:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJSRC-00083E-CS for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 17:08:46 +0000
Resent-Date: Wed, 03 Oct 2012 17:08:46 +0000
Resent-Message-Id: <E1TJSRC-00083E-CS@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJSRA-00082U-PZ for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 17:08:44 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJSR7-0005GW-ND for ietf-http-wg@w3.org; Wed, 03 Oct 2012 17:08:44 +0000
Received: by mail-wi0-f173.google.com with SMTP id hm4so2294944wib.8 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 10:08:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=u5EXRpoJgOGTxdEhnVkywzKTkf4sgV1k/SJVw+xqWD0=; b=OQoRKQE91+ZqnEvqM802e4mmSXc1GQMXOUMpnofphMVAO5ZXsLm7sPBAJMYquO94nf UxpI8pTiuXrs5m2l8KhFDNwKIl0FE24xXEEFv7WIhK0+QHvYlsa8etWKV1t46qBbTICc d7wft0pzyI2/UkpQqWo9d7mbl+p0tYOk9A8kfCADLppFFLwkkuWjg/i2WxAonjykXyle wiEojItlVCqcbLGDpdOOjvmXvV0mchZlc2DS6JHoqyPSkSgAXGEIotunLMQC0HrkoyiK xMPG7rw24G1FObqd0fH8Z0KBG0p8QUG9+vmuX1pR0AlhXis282cIX23Km4GQr1aas6mM 1TaA==
Received: by 10.180.87.230 with SMTP id bb6mr13501900wib.6.1349284095125; Wed, 03 Oct 2012 10:08:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Wed, 3 Oct 2012 10:07:54 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Wed, 3 Oct 2012 10:07:54 -0700
Message-ID: <CABP7Rbfkvc_gsSESd2mHiLaYO5Ng2g0JZ4VYB2kYQcY2OX+aLg@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0444e97b30e8bd04cb2aaf33
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJSR7-0005GW-ND 967fdad81b762665a872dc64ca8941b1
X-Original-To: ietf-http-wg@w3.org
Subject: Updated Binary Optimized Header Encoding Draft
Archived-At: <http://www.w3.org/mid/CABP7Rbfkvc_gsSESd2mHiLaYO5Ng2g0JZ4VYB2kYQcY2OX+aLg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15282
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>

--f46d0444e97b30e8bd04cb2aaf33
Content-Type: text/plain; charset=UTF-8

FYI.. I have submitted an updated draft for the proposed Binary Optimized
Header Encoding mechanism for the http2 effort.

  http://www.ietf.org/id/draft-snell-httpbis-bohe-01.txt

A number of fairly significant changes have been made:

  1. The codepage identifier for registered header tokens has been removed.
  2. The Per-header flags field has been removed and replaced with specific
individual bits to indicate character-based values and multiple values
  3. Value lengths have been increased from max 16-bit length to a max
22-bit length.

The encoding itself remains just as compact with these changes. With the
http version header field, for example, requiring no more than 6
uncompressed bytes to represent.

As always, feedback is more than welcome.

- James

--f46d0444e97b30e8bd04cb2aaf33
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">FYI.. I have submitted an updated draf=
t for the proposed Binary Optimized Header Encoding mechanism for the http2=
 effort.=C2=A0</font><div><font face=3D"courier new,monospace"><br></font><=
/div><div>

<font face=3D"courier new,monospace">=C2=A0=C2=A0</font><font face=3D"couri=
er new, monospace"><a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bo=
he-01.txt">http://www.ietf.org/id/draft-snell-httpbis-bohe-01.txt</a></font=
></div><div>

<font face=3D"courier new, monospace"><br></font></div><div><font face=3D"c=
ourier new, monospace">A number of fairly significant changes have been mad=
e:</font></div><div><font face=3D"courier new, monospace"><br></font></div>=
<div>

<font face=3D"courier new, monospace">=C2=A0 1. The codepage identifier for=
 registered header tokens has been removed.</font></div><div><font face=3D"=
courier new, monospace">=C2=A0 2. The Per-header flags field has been remov=
ed and replaced with specific individual bits to indicate character-based v=
alues and multiple values</font></div>

<div><font face=3D"courier new, monospace">=C2=A0 3. Value lengths have bee=
n increased from max 16-bit length to a max 22-bit length.=C2=A0</font></di=
v><div><br></div><div><font face=3D"courier new, monospace">The encoding it=
self remains just as compact with these changes. With the http version head=
er field, for example, requiring no more than 6 uncompressed bytes to repre=
sent.</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">As always, feedback is more than welcome.</font=
></div><div><font face=3D"courier new, monospace"><br></font></div><div><fo=
nt face=3D"courier new, monospace">- James</font></div>


--f46d0444e97b30e8bd04cb2aaf33--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 13:22:50 2012
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 DC5471F0C3A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 13:22:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.517
X-Spam-Level: 
X-Spam-Status: No, score=-6.517 tagged_above=-999 required=5 tests=[AWL=3.481, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_63=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aDg+DxLRkWBj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 13:22:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A60791F042B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 13:22:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJVQE-0001Qq-45 for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 20:19:58 +0000
Resent-Date: Wed, 03 Oct 2012 20:19:58 +0000
Resent-Message-Id: <E1TJVQE-0001Qq-45@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJVQB-0001Ol-F3 for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 20:19:55 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJVQ9-0006U6-P2 for ietf-http-wg@w3.org; Wed, 03 Oct 2012 20:19:55 +0000
Received: by wgbdq12 with SMTP id dq12so5806353wgb.26 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 13:19:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=en7UMFdi40358stDxsM52DfJntgJymS3VBeUPca6pZ0=; b=jyplOXG+vXtizaLv1ZBgDtXZQnL4SuMINj0gtjL1h701A4KuhEPutPzvHOh8WavJD3 PFTSdKhOF2BZH6hzVxuVJv5jkgaFOiKqtdunPZyVFDauKdSXH97RxMJ4rO3JVaBpDSoZ PujhyAdBEY4Apb4FGdLFSj2VtObWynNt2BlFmXG46bPKlenaKlGXIE0r7AG4skTR9Lx8 mtqgCahQO7BJpEXcZH3K9+6RP7vN70nWdK2ybx9gv5mgEyx5t1NxKaboEllX3VBeyDsS MZWx42lk9PfIaKmHTOJavcUgw1j86db0vYD6XZMEqosMTK7tuakQ6RVgGhvcb99ikPS0 06Tg==
Received: by 10.216.204.139 with SMTP id h11mr1870063weo.128.1349295567142; Wed, 03 Oct 2012 13:19:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Wed, 3 Oct 2012 13:19:06 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Wed, 3 Oct 2012 13:19:06 -0700
Message-ID: <CABP7Rbd5CPVM0xxBeiq8Mympi5eUNmU66iBWQUOWcLTogzxSgQ@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6d589e1f9ff8f04cb2d5a97
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJVQ9-0006U6-P2 ba4e581eacc722d9eb46e86b58372bb1
X-Original-To: ietf-http-wg@w3.org
Subject: Headers and Compression [was: Re: Getting (Officially) Started on HTTP/2.0]
Archived-At: <http://www.w3.org/mid/CABP7Rbd5CPVM0xxBeiq8Mympi5eUNmU66iBWQUOWcLTogzxSgQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15283
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>

--0016e6d589e1f9ff8f04cb2d5a97
Content-Type: text/plain; charset=UTF-8

On Wed, Oct 3, 2012 at 12:15 AM, Roberto Peon <grmocg@gmail.com> wrote:

>
> [snip]
> Yep-- what I've been doing is whole-key or whole-value delta-encoding with
> static huffman coding, with an LRU of key-value pairs. A set of headers is
> thus simply a set of references to the items in the LRU.
> The set of operations is:
>   add a new hey-value line into the LRU by specifying a new key-value
>       this looks like:  {opcode: KVStore, string key, string val}.
>   add a new key-value line into the LRU by referencing a previous
> key-value, copying the key from it and adding the specified new value
>       this looks like:  {opcode: Mutate,int lru_index, string val}.
>   toggle visibility for a particular LRU entry for a particular header set
>       this looks like:  {opcode: Toggle,int lru_index}.
>   toggle visibility for a contiguous range of LRU entries for a particular
> header set
>       this looks like:  {opcode: Toggle,int lru_index_start, int
> lru_index_end}.
>
> Note that the actual format of the operations isn't exactly like what I'm
> describing above- I'm just trying to indicate generally what is involved.
>
>
It would definitely be helpful to have descriptive write up on this,
perhaps submitted as an I-D, that we can review.

Putting aside, for a moment, the contentious and controversial history of
discussions around websocket... could we not address the CRIME issue by
randomly salting and masking individual frames within the stream? Yes,
there is an obvious negative impact to deflate encoding, but if we utilize
tokenization (ala my bohe draft) then we would achieve a significant level
of compression naturally through the encoding. I have not yet fully tested
it, but the combination of that, the randomized salting, and the tls
encryption should be not be subject to CRIME type attacks. Just a thought.

- James


> The resulting compression is a bit worse than gzip (with large window
> size) on my current test corpus, but compares pretty well with gzip in the
> Chrome implementation of SPDY.
> It has CPU advantages in that the huffman encoding is static, thus for
> proxies there is no re-encoding necessary. Additionally, much or all of the
> decompressor state can be shared with a compressor (if proxying, for
> instance).
> Finally, I expect (though I've yet to prove it yet, as I'm still doing the
> c++ implementation) that the compression is more CPU efficient than gzip.
> Decompression should be similar... but.. much of the time you need not
> reconstitute an entire set of headers-- instead, since we're sending deltas
> anyway, you simply ammend your state based on what changed and thus become
> more efficient there as well.
>
> If clients/servers were a bit more naive in terms of when they
> added/removed headers, the delta-coding would be more efficient and it'd
> approach or exceed gzip compression.. at least I think so :)
> As far as I (or thusfar anyone with whom I've spoken) can tell, the
> approach here does not allow probing of the compression context, and is
> thus robust in the face of known attacks.
>
> Anyway, that is what I've been working on.
>  -=R
>
>
>
>>
>>
>>
>>  Following that, I suspect it'll be most useful to work on the upgrade
>>> mechanism (which will also help with #1 above). Patrick sent out what
>>> I think most people agree is a good starting point for that discussion
>>> here: <http://www.w3.org/mid/**1345470312.2877.55.camel@ds9<http://www.w3.org/mid/1345470312.2877.55.camel@ds9>
>>> >.
>>>
>>> We'll start these discussions soon, using the Atlanta meeting as a
>>> checkpoint for the work. If its' going well by then (i.e., we have a
>>> good set of issues and some healthy discussion, ideally with some data
>>> starting to emerge), I'd expect us to schedule an interim meeting
>>> sometime early next year, to have more substantial discussion.
>>>
>>> More details to follow. Thanks to everybody for helping get us this
>>> far, as well as to Martin, Alexey and Julian for volunteering their
>>> time.
>>>
>>> Regards,
>>>
>>> --
>>> Mark Nottingham
>>> http://www.mnot.net/
>>>
>>
>>
>> AYJ
>>
>>
>>
>

--0016e6d589e1f9ff8f04cb2d5a97
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Wed, Oct 3, 2012 at 12:15 AM, Roberto Peon <span dir=3D"ltr">&lt;<a =
href=3D"mailto:grmocg@gmail.com" target=3D"_blank">grmocg@gmail.com</a>&gt;=
</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>[snip]<br><div class=3D"gmail_quote"><di=
v>Yep-- what I&#39;ve been doing is whole-key or whole-value delta-encoding=
 with static huffman coding, with an LRU of key-value pairs. A set of heade=
rs is thus simply a set of references to the items in the LRU.</div>


<div>The set of operations is:</div><div>=C2=A0 add a new hey-value line in=
to the LRU by specifying a new key-value</div><div>=C2=A0 =C2=A0 =C2=A0 thi=
s looks like: =C2=A0{opcode: KVStore, string key, string val}.</div><div>=
=C2=A0 add a new key-value line into the LRU by referencing a previous key-=
value, copying the key from it and adding the specified new value</div>


<div><div>=C2=A0 =C2=A0 =C2=A0 this looks like: =C2=A0{opcode: Mutate,int l=
ru_index, string val}.</div></div><div>=C2=A0 toggle visibility for a parti=
cular LRU entry for a particular header set</div><div><div>=C2=A0 =C2=A0 =
=C2=A0 this looks like: =C2=A0{opcode: Toggle,int lru_index}.</div>


</div><div><div>=C2=A0 toggle visibility for a contiguous range of LRU entr=
ies for a particular header set</div></div><div><div>=C2=A0 =C2=A0 =C2=A0 t=
his looks like: =C2=A0{opcode: Toggle,int lru_index_start, int lru_index_en=
d}.</div><div></div>

</div>
<div><br></div><div>Note that the actual format of the operations isn&#39;t=
 exactly like what I&#39;m describing above- I&#39;m just trying to indicat=
e generally what is involved.</div><div><br></div></div></blockquote><div>

<br></div><div>It would definitely be helpful to have descriptive write up =
on this, perhaps submitted as an I-D, that we can review.</div><div><br></d=
iv><div>Putting aside, for a moment, the contentious and controversial hist=
ory of discussions around websocket... could we not address the CRIME issue=
 by randomly salting and masking individual frames within the stream? Yes, =
there is an obvious negative impact to deflate encoding, but if we utilize =
tokenization (ala my bohe draft) then we would achieve a significant level =
of compression naturally through the encoding. I have not yet fully tested =
it, but the combination of that, the randomized salting, and the tls encryp=
tion should be not be subject to CRIME type attacks. Just a thought.</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div class=3D"gmail_quote"><div></div><div>The resulting compression =
is a bit worse than gzip (with large window size) on my current test corpus=
, but compares pretty well with gzip in the Chrome implementation of SPDY.<=
/div>


<div>It has CPU advantages in that the huffman encoding is static, thus for=
 proxies there is no re-encoding necessary. Additionally, much or all of th=
e decompressor state can be shared with a compressor (if proxying, for inst=
ance).</div>


<div>Finally, I expect (though I&#39;ve yet to prove it yet, as I&#39;m sti=
ll doing the c++ implementation) that the compression is more CPU efficient=
 than gzip. Decompression should be similar... but.. much of the time you n=
eed not reconstitute an entire set of headers-- instead, since we&#39;re se=
nding deltas anyway, you simply ammend your state based on what changed and=
 thus become more efficient there as well.</div>


<div><br></div><div>If clients/servers were a bit more naive in terms of wh=
en they added/removed headers, the delta-coding would be more efficient and=
 it&#39;d approach or exceed gzip compression.. at least I think so :)</div=
>


<div>As far as I (or thusfar anyone with whom I&#39;ve spoken) can tell, th=
e approach here does not allow probing of the compression context, and is t=
hus robust in the face of known attacks.</div><div><br></div><div>Anyway, t=
hat is what I&#39;ve been working on.</div>

<span class=3D"HOEnZb"><font color=3D"#888888">
<div>-=3DR</div></font></span><div class=3D"im"><div><br></div><div>=C2=A0<=
/div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><div><br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Following that, I suspect it&#39;ll be most useful to work on the upgrade<b=
r>
mechanism (which will also help with #1 above). Patrick sent out what<br>
I think most people agree is a good starting point for that discussion<br>
here: &lt;<a href=3D"http://www.w3.org/mid/1345470312.2877.55.camel@ds9" ta=
rget=3D"_blank">http://www.w3.org/mid/<u></u>1345470312.2877.55.camel@ds9</=
a>&gt;.<br>
<br>
We&#39;ll start these discussions soon, using the Atlanta meeting as a<br>
checkpoint for the work. If its&#39; going well by then (i.e., we have a<br=
>
good set of issues and some healthy discussion, ideally with some data<br>
starting to emerge), I&#39;d expect us to schedule an interim meeting<br>
sometime early next year, to have more substantial discussion.<br>
<br>
More details to follow. Thanks to everybody for helping get us this<br>
far, as well as to Martin, Alexey and Julian for volunteering their<br>
time.<br>
<br>
Regards,<br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
</blockquote>
<br>
<br></div>
AYJ<br>
<br>
<br>
</blockquote></div></div><br>
</blockquote></div><br>

--0016e6d589e1f9ff8f04cb2d5a97--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 14:46:11 2012
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 A82EA11E80D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 14:46:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.298
X-Spam-Level: 
X-Spam-Status: No, score=-10.298 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_63=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KhwdKhK51GHW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 14:46:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AA67E11E80E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 14:46:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJWj1-0002ob-RL for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 21:43:27 +0000
Resent-Date: Wed, 03 Oct 2012 21:43:27 +0000
Resent-Message-Id: <E1TJWj1-0002ob-RL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TJWiy-0002nh-Lt for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 21:43:24 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TJWiw-0000Cj-QS for ietf-http-wg@w3.org; Wed, 03 Oct 2012 21:43:24 +0000
Received: by weys43 with SMTP id s43so4670150wey.2 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 14:42:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Ipzyox8KyEnS0XdNAKUHhKU9WtvRl/HrR2WoAEJbEHA=; b=Mi/ZxbyktjKuWdmv0TvlKEtw3dtmJ9q9pJjLQpHDUQXTHVINK6x08eZf2F0/g1XfH0 WoPbfENxrXEOhBCnORcI+lxzf4AQrPr27M/YkBwN7COJivGsYDnWiyaUGuY6CRMB5vOV /HB34MStEjY0K9qLUggnIs3G1K8Oy9jRyzKFSw+O7tqdPEv/iRA/UA6IqnJQGiCTpvJf 8RZy8L7J8wne/LsXpF43FAvJXScvNw1XmrtMjYKWUIm3JQxRatcR2uraD3FlOb+Rnorq Opyqdr9RpmKNvKKs04S2PIhxI3RksxRydsZ+Gqj2taKxO6ecbKwI52JKQ/ddg8evOW3v 4XIw==
MIME-Version: 1.0
Received: by 10.216.237.193 with SMTP id y43mr2076069weq.75.1349300571909; Wed, 03 Oct 2012 14:42:51 -0700 (PDT)
Received: by 10.194.33.72 with HTTP; Wed, 3 Oct 2012 14:42:51 -0700 (PDT)
In-Reply-To: <CABP7Rbd5CPVM0xxBeiq8Mympi5eUNmU66iBWQUOWcLTogzxSgQ@mail.gmail.com>
References: <CABP7Rbd5CPVM0xxBeiq8Mympi5eUNmU66iBWQUOWcLTogzxSgQ@mail.gmail.com>
Date: Wed, 3 Oct 2012 14:42:51 -0700
Message-ID: <CAP+FsNcLv2hxMpDtA4DE=rpsH6rLg+7XsD3QEd9tyrbtHfo_Sw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0015175774fe48ad5204cb2e85c3
Received-SPF: pass client-ip=74.125.82.171; envelope-from=grmocg@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJWiw-0000Cj-QS 5c1856edaf252158a2720e4beae4e80d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Headers and Compression [was: Re: Getting (Officially) Started on HTTP/2.0]
Archived-At: <http://www.w3.org/mid/CAP+FsNcLv2hxMpDtA4DE=rpsH6rLg+7XsD3QEd9tyrbtHfo_Sw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15284
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>

--0015175774fe48ad5204cb2e85c3
Content-Type: text/plain; charset=ISO-8859-1

CRIME works by observing the size of the resultant packet stream.
Thus, if the plaintext is ever compressed within the same stream context as
user-controlled plaintext, then the can learn something about what is going
on, regardless of output salting, encryption, etc.

With the compression that I'm proposing, you only learn something when
you've guessed the entire plaintext for that field, verbatim, at which
point you're just as well off by sending the data to the server directly.
I'll be writing it up shortly.

-=R

On Wed, Oct 3, 2012 at 1:19 PM, James M Snell <jasnell@gmail.com> wrote:

>
>
> On Wed, Oct 3, 2012 at 12:15 AM, Roberto Peon <grmocg@gmail.com> wrote:
>
>>
>> [snip]
>> Yep-- what I've been doing is whole-key or whole-value delta-encoding
>> with static huffman coding, with an LRU of key-value pairs. A set of
>> headers is thus simply a set of references to the items in the LRU.
>> The set of operations is:
>>   add a new hey-value line into the LRU by specifying a new key-value
>>       this looks like:  {opcode: KVStore, string key, string val}.
>>   add a new key-value line into the LRU by referencing a previous
>> key-value, copying the key from it and adding the specified new value
>>       this looks like:  {opcode: Mutate,int lru_index, string val}.
>>   toggle visibility for a particular LRU entry for a particular header set
>>       this looks like:  {opcode: Toggle,int lru_index}.
>>   toggle visibility for a contiguous range of LRU entries for a
>> particular header set
>>       this looks like:  {opcode: Toggle,int lru_index_start, int
>> lru_index_end}.
>>
>> Note that the actual format of the operations isn't exactly like what I'm
>> describing above- I'm just trying to indicate generally what is involved.
>>
>>
> It would definitely be helpful to have descriptive write up on this,
> perhaps submitted as an I-D, that we can review.
>
> Putting aside, for a moment, the contentious and controversial history of
> discussions around websocket... could we not address the CRIME issue by
> randomly salting and masking individual frames within the stream? Yes,
> there is an obvious negative impact to deflate encoding, but if we utilize
> tokenization (ala my bohe draft) then we would achieve a significant level
> of compression naturally through the encoding. I have not yet fully tested
> it, but the combination of that, the randomized salting, and the tls
> encryption should be not be subject to CRIME type attacks. Just a thought.
>
> - James
>
>
>> The resulting compression is a bit worse than gzip (with large window
>> size) on my current test corpus, but compares pretty well with gzip in the
>> Chrome implementation of SPDY.
>> It has CPU advantages in that the huffman encoding is static, thus for
>> proxies there is no re-encoding necessary. Additionally, much or all of the
>> decompressor state can be shared with a compressor (if proxying, for
>> instance).
>> Finally, I expect (though I've yet to prove it yet, as I'm still doing
>> the c++ implementation) that the compression is more CPU efficient than
>> gzip. Decompression should be similar... but.. much of the time you need
>> not reconstitute an entire set of headers-- instead, since we're sending
>> deltas anyway, you simply ammend your state based on what changed and thus
>> become more efficient there as well.
>>
>> If clients/servers were a bit more naive in terms of when they
>> added/removed headers, the delta-coding would be more efficient and it'd
>> approach or exceed gzip compression.. at least I think so :)
>> As far as I (or thusfar anyone with whom I've spoken) can tell, the
>> approach here does not allow probing of the compression context, and is
>> thus robust in the face of known attacks.
>>
>> Anyway, that is what I've been working on.
>>  -=R
>>
>>
>>
>>>
>>>
>>>
>>>  Following that, I suspect it'll be most useful to work on the upgrade
>>>> mechanism (which will also help with #1 above). Patrick sent out what
>>>> I think most people agree is a good starting point for that discussion
>>>> here: <http://www.w3.org/mid/**1345470312.2877.55.camel@ds9<http://www.w3.org/mid/1345470312.2877.55.camel@ds9>
>>>> >.
>>>>
>>>> We'll start these discussions soon, using the Atlanta meeting as a
>>>> checkpoint for the work. If its' going well by then (i.e., we have a
>>>> good set of issues and some healthy discussion, ideally with some data
>>>> starting to emerge), I'd expect us to schedule an interim meeting
>>>> sometime early next year, to have more substantial discussion.
>>>>
>>>> More details to follow. Thanks to everybody for helping get us this
>>>> far, as well as to Martin, Alexey and Julian for volunteering their
>>>> time.
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Mark Nottingham
>>>> http://www.mnot.net/
>>>>
>>>
>>>
>>> AYJ
>>>
>>>
>>>
>>
>

--0015175774fe48ad5204cb2e85c3
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>CRIME works by observing the size of the resultant packet stream.</div=
><div>Thus, if the plaintext is ever compressed within the same stream cont=
ext as user-controlled plaintext, then the can learn something about what i=
s going on, regardless of output salting, encryption, etc.</div>
<div><br></div><div>With the compression that I&#39;m proposing, you only l=
earn something when you&#39;ve guessed the entire plaintext for that field,=
 verbatim, at which point you&#39;re just as well off by sending the data t=
o the server directly.</div>
<div>I&#39;ll be writing it up shortly.</div><span class=3D"HOEnZb"><font c=
olor=3D"#888888"></font></span><div><br></div><div>-=3DR</div><br><div clas=
s=3D"gmail_quote">On Wed, Oct 3, 2012 at 1:19 PM, James M Snell <span dir=
=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell=
@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new,monospace"><br></f=
ont><br><div class=3D"gmail_quote">On Wed, Oct 3, 2012 at 12:15 AM, Roberto=
 Peon <span dir=3D"ltr">&lt;<a href=3D"mailto:grmocg@gmail.com" target=3D"_=
blank">grmocg@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>[snip]<br><div class=3D"gmail_quote"><di=
v>Yep-- what I&#39;ve been doing is whole-key or whole-value delta-encoding=
 with static huffman coding, with an LRU of key-value pairs. A set of heade=
rs is thus simply a set of references to the items in the LRU.</div>



<div>The set of operations is:</div><div>=A0 add a new hey-value line into =
the LRU by specifying a new key-value</div><div>=A0 =A0 =A0 this looks like=
: =A0{opcode: KVStore, string key, string val}.</div><div>=A0 add a new key=
-value line into the LRU by referencing a previous key-value, copying the k=
ey from it and adding the specified new value</div>



<div><div>=A0 =A0 =A0 this looks like: =A0{opcode: Mutate,int lru_index, st=
ring val}.</div></div><div>=A0 toggle visibility for a particular LRU entry=
 for a particular header set</div><div><div>=A0 =A0 =A0 this looks like: =
=A0{opcode: Toggle,int lru_index}.</div>



</div><div><div>=A0 toggle visibility for a contiguous range of LRU entries=
 for a particular header set</div></div><div><div>=A0 =A0 =A0 this looks li=
ke: =A0{opcode: Toggle,int lru_index_start, int lru_index_end}.</div><div><=
/div>


</div>
<div><br></div><div>Note that the actual format of the operations isn&#39;t=
 exactly like what I&#39;m describing above- I&#39;m just trying to indicat=
e generally what is involved.</div><div><br></div></div></blockquote><div>


<br></div><div>It would definitely be helpful to have descriptive write up =
on this, perhaps submitted as an I-D, that we can review.</div><div><br></d=
iv><div>Putting aside, for a moment, the contentious and controversial hist=
ory of discussions around websocket... could we not address the CRIME issue=
 by randomly salting and masking individual frames within the stream? Yes, =
there is an obvious negative impact to deflate encoding, but if we utilize =
tokenization (ala my bohe draft) then we would achieve a significant level =
of compression naturally through the encoding. I have not yet fully tested =
it, but the combination of that, the randomized salting, and the tls encryp=
tion should be not be subject to CRIME type attacks. Just a thought.</div>


<div><br></div><div>- James</div><div>=A0</div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><div class=3D"gmail_quote"><div></div><div>The resulting compression is =
a bit worse than gzip (with large window size) on my current test corpus, b=
ut compares pretty well with gzip in the Chrome implementation of SPDY.</di=
v>



<div>It has CPU advantages in that the huffman encoding is static, thus for=
 proxies there is no re-encoding necessary. Additionally, much or all of th=
e decompressor state can be shared with a compressor (if proxying, for inst=
ance).</div>



<div>Finally, I expect (though I&#39;ve yet to prove it yet, as I&#39;m sti=
ll doing the c++ implementation) that the compression is more CPU efficient=
 than gzip. Decompression should be similar... but.. much of the time you n=
eed not reconstitute an entire set of headers-- instead, since we&#39;re se=
nding deltas anyway, you simply ammend your state based on what changed and=
 thus become more efficient there as well.</div>



<div><br></div><div>If clients/servers were a bit more naive in terms of wh=
en they added/removed headers, the delta-coding would be more efficient and=
 it&#39;d approach or exceed gzip compression.. at least I think so :)</div=
>



<div>As far as I (or thusfar anyone with whom I&#39;ve spoken) can tell, th=
e approach here does not allow probing of the compression context, and is t=
hus robust in the face of known attacks.</div><div><br></div><div>Anyway, t=
hat is what I&#39;ve been working on.</div>


<span><font color=3D"#888888">
<div>-=3DR</div></font></span><div><div><br></div><div>=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex"><div><br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Following that, I suspect it&#39;ll be most useful to work on the upgrade<b=
r>
mechanism (which will also help with #1 above). Patrick sent out what<br>
I think most people agree is a good starting point for that discussion<br>
here: &lt;<a href=3D"http://www.w3.org/mid/1345470312.2877.55.camel@ds9" ta=
rget=3D"_blank">http://www.w3.org/mid/<u></u>1345470312.2877.55.camel@ds9</=
a>&gt;.<br>
<br>
We&#39;ll start these discussions soon, using the Atlanta meeting as a<br>
checkpoint for the work. If its&#39; going well by then (i.e., we have a<br=
>
good set of issues and some healthy discussion, ideally with some data<br>
starting to emerge), I&#39;d expect us to schedule an interim meeting<br>
sometime early next year, to have more substantial discussion.<br>
<br>
More details to follow. Thanks to everybody for helping get us this<br>
far, as well as to Martin, Alexey and Julian for volunteering their<br>
time.<br>
<br>
Regards,<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
</font></span></blockquote><span class=3D"HOEnZb"><font color=3D"#888888">
<br>
<br></font></span></div><span class=3D"HOEnZb"><font color=3D"#888888">
AYJ<br>
<br>
<br>
</font></span></blockquote></div></div><span class=3D"HOEnZb"><font color=
=3D"#888888"><br>
</font></span></blockquote></div><br>
</blockquote></div><br>

--0015175774fe48ad5204cb2e85c3--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 14:52:12 2012
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 00D8D21F8498 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 14:52:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.637
X-Spam-Level: 
X-Spam-Status: No, score=-6.637 tagged_above=-999 required=5 tests=[AWL=3.361, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_63=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N8rbvYDTw3ym for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 14:51:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 712E221F8484 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 14:51:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJWpX-0000eH-9i for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 21:50:11 +0000
Resent-Date: Wed, 03 Oct 2012 21:50:11 +0000
Resent-Message-Id: <E1TJWpX-0000eH-9i@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJWpU-0000dY-DL for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 21:50:08 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJWpS-0000Nk-7t for ietf-http-wg@w3.org; Wed, 03 Oct 2012 21:50:08 +0000
Received: by weys43 with SMTP id s43so4673550wey.2 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 14:49:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=441FILX88+cXcW0TLd4mIcX0X0h2lkRDgyZID9zVtCA=; b=szThFlOk9hiNGIvq8KRcDz4CArb7Nxd4XLfKxjxXLStRP/9gQXZWkUJOhs4L5Nmfrq qWhlOG0ZgYRp1aBEr2Loldmq9CZMQzQclG2hDKI8yRpcRuDlBJc/NQZWFymVT+uzTMTi zITyu1WmiYxRu+piDPv5Pf9T09B7+a/f1sdgFBxsN6HESChp+JIrjroto2YeyrJh4D8+ NANScBcPV+UEt4yqqKxdfXvcafBD8HdzNlZG8K3jkEkHlbMMFvXrzxbx0+PRGRSd2L5L cylce0Ao604q3pyfEI/+QtV5KbG0U9a5NegMoYOJCKwbR0+Dur6Kp6WQp+QkMXLILdc8 ZdGQ==
Received: by 10.216.135.148 with SMTP id u20mr1871221wei.137.1349300979546; Wed, 03 Oct 2012 14:49:39 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Wed, 3 Oct 2012 14:49:19 -0700 (PDT)
In-Reply-To: <CAP+FsNcLv2hxMpDtA4DE=rpsH6rLg+7XsD3QEd9tyrbtHfo_Sw@mail.gmail.com>
References: <CABP7Rbd5CPVM0xxBeiq8Mympi5eUNmU66iBWQUOWcLTogzxSgQ@mail.gmail.com> <CAP+FsNcLv2hxMpDtA4DE=rpsH6rLg+7XsD3QEd9tyrbtHfo_Sw@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 3 Oct 2012 14:49:19 -0700
Message-ID: <CABP7RbeGmyYy7rvVhjOymrcUFhns5Nf4D9ahyP0-NqFcZiEDew@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6dd992094bbd604cb2e9d7f
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJWpS-0000Nk-7t 1cbc79325f9c56b27b0c1dfecf18a03b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Headers and Compression [was: Re: Getting (Officially) Started on HTTP/2.0]
Archived-At: <http://www.w3.org/mid/CABP7RbeGmyYy7rvVhjOymrcUFhns5Nf4D9ahyP0-NqFcZiEDew@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15285
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>

--0016e6dd992094bbd604cb2e9d7f
Content-Type: text/plain; charset=UTF-8

On Wed, Oct 3, 2012 at 2:42 PM, Roberto Peon <grmocg@gmail.com> wrote:

> CRIME works by observing the size of the resultant packet stream.
> Thus, if the plaintext is ever compressed within the same stream context
> as user-controlled plaintext, then the can learn something about what is
> going on, regardless of output salting, encryption, etc.
>
>
Ok, got it..


> With the compression that I'm proposing, you only learn something when
> you've guessed the entire plaintext for that field, verbatim, at which
> point you're just as well off by sending the data to the server directly.
> I'll be writing it up shortly.
>
>
Will definitely be looking forward to seeing that. I'd like to explore
whether the new mechanism is going to be efficiently compatible with
bohe-like tokenization to see if it still makes sense to head down that
path.

- James


> -=R
>
> On Wed, Oct 3, 2012 at 1:19 PM, James M Snell <jasnell@gmail.com> wrote:
>
>>
>>
>> On Wed, Oct 3, 2012 at 12:15 AM, Roberto Peon <grmocg@gmail.com> wrote:
>>
>>>
>>> [snip]
>>> Yep-- what I've been doing is whole-key or whole-value delta-encoding
>>> with static huffman coding, with an LRU of key-value pairs. A set of
>>> headers is thus simply a set of references to the items in the LRU.
>>> The set of operations is:
>>>   add a new hey-value line into the LRU by specifying a new key-value
>>>       this looks like:  {opcode: KVStore, string key, string val}.
>>>   add a new key-value line into the LRU by referencing a previous
>>> key-value, copying the key from it and adding the specified new value
>>>       this looks like:  {opcode: Mutate,int lru_index, string val}.
>>>   toggle visibility for a particular LRU entry for a particular header
>>> set
>>>       this looks like:  {opcode: Toggle,int lru_index}.
>>>   toggle visibility for a contiguous range of LRU entries for a
>>> particular header set
>>>       this looks like:  {opcode: Toggle,int lru_index_start, int
>>> lru_index_end}.
>>>
>>> Note that the actual format of the operations isn't exactly like what
>>> I'm describing above- I'm just trying to indicate generally what is
>>> involved.
>>>
>>>
>> It would definitely be helpful to have descriptive write up on this,
>> perhaps submitted as an I-D, that we can review.
>>
>> Putting aside, for a moment, the contentious and controversial history of
>> discussions around websocket... could we not address the CRIME issue by
>> randomly salting and masking individual frames within the stream? Yes,
>> there is an obvious negative impact to deflate encoding, but if we utilize
>> tokenization (ala my bohe draft) then we would achieve a significant level
>> of compression naturally through the encoding. I have not yet fully tested
>> it, but the combination of that, the randomized salting, and the tls
>> encryption should be not be subject to CRIME type attacks. Just a thought.
>>
>> - James
>>
>>
>>> The resulting compression is a bit worse than gzip (with large window
>>> size) on my current test corpus, but compares pretty well with gzip in the
>>> Chrome implementation of SPDY.
>>> It has CPU advantages in that the huffman encoding is static, thus for
>>> proxies there is no re-encoding necessary. Additionally, much or all of the
>>> decompressor state can be shared with a compressor (if proxying, for
>>> instance).
>>> Finally, I expect (though I've yet to prove it yet, as I'm still doing
>>> the c++ implementation) that the compression is more CPU efficient than
>>> gzip. Decompression should be similar... but.. much of the time you need
>>> not reconstitute an entire set of headers-- instead, since we're sending
>>> deltas anyway, you simply ammend your state based on what changed and thus
>>> become more efficient there as well.
>>>
>>> If clients/servers were a bit more naive in terms of when they
>>> added/removed headers, the delta-coding would be more efficient and it'd
>>> approach or exceed gzip compression.. at least I think so :)
>>> As far as I (or thusfar anyone with whom I've spoken) can tell, the
>>> approach here does not allow probing of the compression context, and is
>>> thus robust in the face of known attacks.
>>>
>>> Anyway, that is what I've been working on.
>>>  -=R
>>>
>>>
>>>
>>>>
>>>>
>>>>
>>>>  Following that, I suspect it'll be most useful to work on the upgrade
>>>>> mechanism (which will also help with #1 above). Patrick sent out what
>>>>> I think most people agree is a good starting point for that discussion
>>>>> here: <http://www.w3.org/mid/**1345470312.2877.55.camel@ds9<http://www.w3.org/mid/1345470312.2877.55.camel@ds9>
>>>>> >.
>>>>>
>>>>> We'll start these discussions soon, using the Atlanta meeting as a
>>>>> checkpoint for the work. If its' going well by then (i.e., we have a
>>>>> good set of issues and some healthy discussion, ideally with some data
>>>>> starting to emerge), I'd expect us to schedule an interim meeting
>>>>> sometime early next year, to have more substantial discussion.
>>>>>
>>>>> More details to follow. Thanks to everybody for helping get us this
>>>>> far, as well as to Martin, Alexey and Julian for volunteering their
>>>>> time.
>>>>>
>>>>> Regards,
>>>>>
>>>>> --
>>>>> Mark Nottingham
>>>>> http://www.mnot.net/
>>>>>
>>>>
>>>>
>>>> AYJ
>>>>
>>>>
>>>>
>>>
>>
>

--0016e6dd992094bbd604cb2e9d7f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Wed, Oct 3, 2012 at 2:42 PM, Roberto Peon=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:grmocg@gmail.com" target=3D"_blank=
">grmocg@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>CRIME works by observing the size of the resultant packet stream.</div=
><div>Thus, if the plaintext is ever compressed within the same stream cont=
ext as user-controlled plaintext, then the can learn something about what i=
s going on, regardless of output salting, encryption, etc.</div>

<div class=3D"im">
<div><br></div></div></blockquote><div><br></div><div><span style=3D"font-f=
amily:&#39;courier new&#39;,monospace">Ok, got it..=C2=A0</span></div><div>=
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im"><div></div><div>With the compression that I&#39;m proposi=
ng, you only learn something when you&#39;ve guessed the entire plaintext f=
or that field, verbatim, at which point you&#39;re just as well off by send=
ing the data to the server directly.</div>


</div><div>I&#39;ll be writing it up shortly.</div><span class=3D"HOEnZb"><=
font color=3D"#888888"><span><font color=3D"#888888"></font></span><div><br=
></div></font></span></blockquote><div><br></div><div><font face=3D"courier=
 new, monospace">Will definitely be looking forward to seeing that. I&#39;d=
 like to explore whether the new mechanism is going to be efficiently compa=
tible with bohe-like tokenization to see if it still makes sense to head do=
wn that path.=C2=A0</font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">- James</font></div><div>=C2=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">

<span class=3D"HOEnZb"><font color=3D"#888888"><div></div><div>-=3DR</div><=
br></font></span><div class=3D"gmail_quote"><div class=3D"im">On Wed, Oct 3=
, 2012 at 1:19 PM, James M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:ja=
snell@gmail.com" target=3D"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<=
br>


</div><div><div class=3D"h5"><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face=3D"c=
ourier new,monospace"><br></font><br><div class=3D"gmail_quote">On Wed, Oct=
 3, 2012 at 12:15 AM, Roberto Peon <span dir=3D"ltr">&lt;<a href=3D"mailto:=
grmocg@gmail.com" target=3D"_blank">grmocg@gmail.com</a>&gt;</span> wrote:<=
br>




<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>[snip]<br><div class=3D"gmail_quote"><di=
v>Yep-- what I&#39;ve been doing is whole-key or whole-value delta-encoding=
 with static huffman coding, with an LRU of key-value pairs. A set of heade=
rs is thus simply a set of references to the items in the LRU.</div>





<div>The set of operations is:</div><div>=C2=A0 add a new hey-value line in=
to the LRU by specifying a new key-value</div><div>=C2=A0 =C2=A0 =C2=A0 thi=
s looks like: =C2=A0{opcode: KVStore, string key, string val}.</div><div>=
=C2=A0 add a new key-value line into the LRU by referencing a previous key-=
value, copying the key from it and adding the specified new value</div>





<div><div>=C2=A0 =C2=A0 =C2=A0 this looks like: =C2=A0{opcode: Mutate,int l=
ru_index, string val}.</div></div><div>=C2=A0 toggle visibility for a parti=
cular LRU entry for a particular header set</div><div><div>=C2=A0 =C2=A0 =
=C2=A0 this looks like: =C2=A0{opcode: Toggle,int lru_index}.</div>





</div><div><div>=C2=A0 toggle visibility for a contiguous range of LRU entr=
ies for a particular header set</div></div><div><div>=C2=A0 =C2=A0 =C2=A0 t=
his looks like: =C2=A0{opcode: Toggle,int lru_index_start, int lru_index_en=
d}.</div><div></div>




</div>
<div><br></div><div>Note that the actual format of the operations isn&#39;t=
 exactly like what I&#39;m describing above- I&#39;m just trying to indicat=
e generally what is involved.</div><div><br></div></div></blockquote><div>




<br></div><div>It would definitely be helpful to have descriptive write up =
on this, perhaps submitted as an I-D, that we can review.</div><div><br></d=
iv><div>Putting aside, for a moment, the contentious and controversial hist=
ory of discussions around websocket... could we not address the CRIME issue=
 by randomly salting and masking individual frames within the stream? Yes, =
there is an obvious negative impact to deflate encoding, but if we utilize =
tokenization (ala my bohe draft) then we would achieve a significant level =
of compression naturally through the encoding. I have not yet fully tested =
it, but the combination of that, the randomized salting, and the tls encryp=
tion should be not be subject to CRIME type attacks. Just a thought.</div>




<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div class=3D"gmail_quote"><div></div><div>The resulting compression =
is a bit worse than gzip (with large window size) on my current test corpus=
, but compares pretty well with gzip in the Chrome implementation of SPDY.<=
/div>





<div>It has CPU advantages in that the huffman encoding is static, thus for=
 proxies there is no re-encoding necessary. Additionally, much or all of th=
e decompressor state can be shared with a compressor (if proxying, for inst=
ance).</div>





<div>Finally, I expect (though I&#39;ve yet to prove it yet, as I&#39;m sti=
ll doing the c++ implementation) that the compression is more CPU efficient=
 than gzip. Decompression should be similar... but.. much of the time you n=
eed not reconstitute an entire set of headers-- instead, since we&#39;re se=
nding deltas anyway, you simply ammend your state based on what changed and=
 thus become more efficient there as well.</div>





<div><br></div><div>If clients/servers were a bit more naive in terms of wh=
en they added/removed headers, the delta-coding would be more efficient and=
 it&#39;d approach or exceed gzip compression.. at least I think so :)</div=
>





<div>As far as I (or thusfar anyone with whom I&#39;ve spoken) can tell, th=
e approach here does not allow probing of the compression context, and is t=
hus robust in the face of known attacks.</div><div><br></div><div>Anyway, t=
hat is what I&#39;ve been working on.</div>




<span><font color=3D"#888888">
<div>-=3DR</div></font></span><div><div><br></div><div>=C2=A0</div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex"><div><br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Following that, I suspect it&#39;ll be most useful to work on the upgrade<b=
r>
mechanism (which will also help with #1 above). Patrick sent out what<br>
I think most people agree is a good starting point for that discussion<br>
here: &lt;<a href=3D"http://www.w3.org/mid/1345470312.2877.55.camel@ds9" ta=
rget=3D"_blank">http://www.w3.org/mid/<u></u>1345470312.2877.55.camel@ds9</=
a>&gt;.<br>
<br>
We&#39;ll start these discussions soon, using the Atlanta meeting as a<br>
checkpoint for the work. If its&#39; going well by then (i.e., we have a<br=
>
good set of issues and some healthy discussion, ideally with some data<br>
starting to emerge), I&#39;d expect us to schedule an interim meeting<br>
sometime early next year, to have more substantial discussion.<br>
<br>
More details to follow. Thanks to everybody for helping get us this<br>
far, as well as to Martin, Alexey and Julian for volunteering their<br>
time.<br>
<br>
Regards,<span><font color=3D"#888888"><br>
<br>
--<br>
Mark Nottingham<br>
<a href=3D"http://www.mnot.net/" target=3D"_blank">http://www.mnot.net/</a>=
<br>
</font></span></blockquote><span><font color=3D"#888888">
<br>
<br></font></span></div><span><font color=3D"#888888">
AYJ<br>
<br>
<br>
</font></span></blockquote></div></div><span><font color=3D"#888888"><br>
</font></span></blockquote></div><br>
</blockquote></div></div></div><br>
</blockquote></div><br>

--0016e6dd992094bbd604cb2e9d7f--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 15:16:58 2012
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 7594111E8091 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 15:16:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.049
X-Spam-Level: 
X-Spam-Status: No, score=-7.049 tagged_above=-999 required=5 tests=[AWL=3.549, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7CRSOOTdKJ+L for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 15:16:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5B8A511E8099 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 15:16:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJXDY-0002Gr-EF for ietf-http-wg-dist@listhub.w3.org; Wed, 03 Oct 2012 22:15:00 +0000
Resent-Date: Wed, 03 Oct 2012 22:15:00 +0000
Resent-Message-Id: <E1TJXDY-0002Gr-EF@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJXDV-0002G9-OQ for ietf-http-wg@listhub.w3.org; Wed, 03 Oct 2012 22:14:57 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJXDU-0005Ed-LW for ietf-http-wg@w3.org; Wed, 03 Oct 2012 22:14:57 +0000
Received: by wgbdq12 with SMTP id dq12so5885140wgb.26 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 15:14:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=r876yika01y84QnDJjTMrXi8kr5DufAmXUKrYzBK4y4=; b=KYnAqL3IeQruVn3ucoYbPKlXXTDPlbLvEq54OkkVIxFZboqOfpwoSkpKCBjtwctq8U Qf3NI8yRrQj0trEbCkXOHRyB1ZCAWJjTPzLZ/78POdU7DHlcVFwYPL7zzvl87w34QH16 XqyGM1rXFQU7nClYD32jKz4vNzi16hFxBxwctk4s8B7NpGFA7DsVUnPlTIRLlPPCp6NY 0VG/N5/TK2Be71oNI/ybG5Yhs6UO8gO6kRNxOMYUUdEBvVjTsJJnS10rEgl4EJ6kk8pW RvYc/cjDpD9xNFisOclNihCiYPRWBmMOTSROBy9/+HgtgJcWTNvXC+7JUc5n3K7CHbjK k+QQ==
Received: by 10.216.243.74 with SMTP id j52mr1871862wer.108.1349302469633; Wed, 03 Oct 2012 15:14:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Wed, 3 Oct 2012 15:14:09 -0700 (PDT)
In-Reply-To: <506C5ECB.8040505@andrew.cmu.edu>
References: <506C4B3D.6030806@andrew.cmu.edu> <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com> <506C5664.8060808@andrew.cmu.edu> <CABP7Rbc2_VF05kjqh1FkYS8vwN-GpLwwC8SCPKXckoLVR6GRxA@mail.gmail.com> <506C5ECB.8040505@andrew.cmu.edu>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 3 Oct 2012 15:14:09 -0700
Message-ID: <CABP7RbeMBOiA9FnQ-2F5AfB9aVnDcwdX4Xd0wCPs87YR78WRng@mail.gmail.com>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e0cb4e43cf1f65a54904cb2ef600
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJXDU-0005Ed-LW 1a7b4a97bb25e86acf16fa1ccb3493ee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/CABP7RbeMBOiA9FnQ-2F5AfB9aVnDcwdX4Xd0wCPs87YR78WRng@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15286
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>

--e0cb4e43cf1f65a54904cb2ef600
Content-Type: text/plain; charset=UTF-8

There is already mention of Vary in the current Prefer draft. Essentially,
it says that if the application of a preference could alter the cacheing of
a response, the response MUST contain Vary: Prefer. It wouldn't hurt to
reinforce that in your draft.

- James

On Wed, Oct 3, 2012 at 8:50 AM, Ken Murchison <murch@andrew.cmu.edu> wrote:

> Yes.  Our application of return-minimal and our newly defined depth-noroot
> to PROPFIND and REPORT should include Vary: Prefer and I will mention that
> in my draft.
>
> Should I also mention the same thing in regards to return-representation,
> or would that belong in your draft?
>
>
> James M Snell wrote:
>
>> Given the specific mechanisms of the how your webdav-prefer is defined,
>> you really should have a Vary: Prefer in your responses anyway since the
>> application of the Prefer header will lead to variations in the specific
>> entity returned. Accordingly, if Vary: Prefer is always present, you'll
>> either need some separate mechanism to indicate that a specific Preference
>> was applied or, as Mark suggests, apply some heuristics to infer what the
>> server did.
>>
>> - James
>> On Wed, Oct 3, 2012 at 8:14 AM, Ken Murchison <murch@andrew.cmu.edu<mailto:
>> murch@andrew.cmu.edu>> wrote:
>>
>>     Hi James,
>>
>>     That would obviously work.  Is reusing the Vary header not a good
>> idea?
>>
>>
>>     James M Snell wrote:
>>
>>         A much older version of the specification included an optional
>>         Preference-Applied response header that could explicitly
>>         indicate whether a particular preference was applied, but after
>>         lots of feedback that "I wasn't going to need it", I pulled it
>>         back out (largely against my better judgement). I'm thinking
>>         that perhaps it needs to be added back in.
>>         - James
>>
>>         On Wed, Oct 3, 2012 at 7:27 AM, Ken Murchison
>>         <murch@andrew.cmu.edu <mailto:murch@andrew.cmu.edu>
>>         <mailto:murch@andrew.cmu.edu <mailto:murch@andrew.cmu.edu>>**>
>> wrote:
>>
>>             Hello,
>>
>>             I'm working on draft draft-murchison-webdav-prefer which
>>         describes
>>             how the return-minimal and return-representation apply to
>>             WebDAV/CalDAV methods.  My work is primarily CalDAV-centric
>>         but we
>>             are trying to make it generic to WebDAV and its derivatives.
>>
>>             One of the issues that keeps coming up is a way for the
>>         client to
>>             differentiate between two  cases:
>>
>>             - the server doesn't return a representation because it
>>         ignored or
>>             doesn't support the return-representation preference
>>
>>             - the server understood the preference but didn't return a
>>             representation because it didn't change from what was in the
>>         request
>>
>>             One possible solution is for the server to return a Vary:
>> Prefer
>>             header to indicate that the server understood the preference,
>>             thereby allowing the client to infer what the lack of a
>>             representation in the response means.
>>
>>             The next question is, does any such mandate or
>>         recommendation, if
>>             required, belong in my webdav-prefer draft or in the base
>>         Prefer spec?
>>
>>             Thoughts?
>>
>>             --     Kenneth Murchison
>>             Principal Systems Software Engineer
>>             Carnegie Mellon University
>>
>>
>>
>>
>>     --     Kenneth Murchison
>>     Principal Systems Software Engineer
>>     Carnegie Mellon University
>>
>>
>>
>
> --
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>

--e0cb4e43cf1f65a54904cb2ef600
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">There is already mention of Vary in th=
e current Prefer draft. Essentially, it says that if the application of a p=
reference could alter the cacheing of a response, the response MUST contain=
 Vary: Prefer. It wouldn&#39;t hurt to reinforce that in your draft.</font>=
<div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James<br></font><br><div class=3D"gmail_quote">On We=
d, Oct 3, 2012 at 8:50 AM, Ken Murchison <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:murch@andrew.cmu.edu" target=3D"_blank">murch@andrew.cmu.edu</a>&gt;<=
/span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Yes. =C2=A0Our application of return-minimal=
 and our newly defined depth-noroot to PROPFIND and REPORT should include V=
ary: Prefer and I will mention that in my draft.<br>


<br>
Should I also mention the same thing in regards to return-representation, o=
r would that belong in your draft?<br>
<br>
<br>
James M Snell wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">
Given the specific mechanisms of the how your webdav-prefer is defined, you=
 really should have a Vary: Prefer in your responses anyway since the appli=
cation of the Prefer header will lead to variations in the specific entity =
returned. Accordingly, if Vary: Prefer is always present, you&#39;ll either=
 need some separate mechanism to indicate that a specific Preference was ap=
plied or, as Mark suggests, apply some heuristics to infer what the server =
did.<br>


<br>
- James <br></div><div class=3D"im">
On Wed, Oct 3, 2012 at 8:14 AM, Ken Murchison &lt;<a href=3D"mailto:murch@a=
ndrew.cmu.edu" target=3D"_blank">murch@andrew.cmu.edu</a> &lt;mailto:<a hre=
f=3D"mailto:murch@andrew.cmu.edu" target=3D"_blank">murch@andrew.cmu.edu</a=
>&gt;&gt; wrote:<br>


<br>
=C2=A0 =C2=A0 Hi James,<br>
<br>
=C2=A0 =C2=A0 That would obviously work. =C2=A0Is reusing the Vary header n=
ot a good idea?<br>
<br>
<br>
=C2=A0 =C2=A0 James M Snell wrote:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 A much older version of the specification inclu=
ded an optional<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Preference-Applied response header that could e=
xplicitly<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 indicate whether a particular preference was ap=
plied, but after<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 lots of feedback that &quot;I wasn&#39;t going =
to need it&quot;, I pulled it<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 back out (largely against my better judgement).=
 I&#39;m thinking<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 that perhaps it needs to be added back in.<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 - James<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 On Wed, Oct 3, 2012 at 7:27 AM, Ken Murchison<b=
r>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;<a href=3D"mailto:murch@andrew.cmu.edu" tar=
get=3D"_blank">murch@andrew.cmu.edu</a> &lt;mailto:<a href=3D"mailto:murch@=
andrew.cmu.edu" target=3D"_blank">murch@andrew.cmu.edu</a>&gt;<br></div><di=
v><div class=3D"h5">
=C2=A0 =C2=A0 =C2=A0 =C2=A0 &lt;mailto:<a href=3D"mailto:murch@andrew.cmu.e=
du" target=3D"_blank">murch@andrew.cmu.edu</a> &lt;mailto:<a href=3D"mailto=
:murch@andrew.cmu.edu" target=3D"_blank">murch@andrew.cmu.edu</a>&gt;&gt;<u=
></u>&gt; wrote:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Hello,<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 I&#39;m working on draft draft-mu=
rchison-webdav-prefer which<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 describes<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 how the return-minimal and return=
-representation apply to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 WebDAV/CalDAV methods. =C2=A0My w=
ork is primarily CalDAV-centric<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 but we<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 are trying to make it generic to =
WebDAV and its derivatives.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 One of the issues that keeps comi=
ng up is a way for the<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 client to<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 differentiate between two =C2=A0c=
ases:<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - the server doesn&#39;t return a=
 representation because it<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ignored or<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 doesn&#39;t support the return-re=
presentation preference<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 - the server understood the prefe=
rence but didn&#39;t return a<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 representation because it didn&#3=
9;t change from what was in the<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 request<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 One possible solution is for the =
server to return a Vary: Prefer<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 header to indicate that the serve=
r understood the preference,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 thereby allowing the client to in=
fer what the lack of a<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 representation in the response me=
ans.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 The next question is, does any su=
ch mandate or<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 recommendation, if<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 required, belong in my webdav-pre=
fer draft or in the base<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 Prefer spec?<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Thoughts?<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- =C2=A0 =C2=A0 Kenneth Murchiso=
n<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Principal Systems Software Engine=
er<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Carnegie Mellon University<br>
<br>
<br>
<br>
<br>
=C2=A0 =C2=A0 -- =C2=A0 =C2=A0 Kenneth Murchison<br>
=C2=A0 =C2=A0 Principal Systems Software Engineer<br>
=C2=A0 =C2=A0 Carnegie Mellon University<br>
<br>
<br>
</div></div></blockquote><div class=3D"HOEnZb"><div class=3D"h5">
<br>
<br>
-- <br>
Kenneth Murchison<br>
Principal Systems Software Engineer<br>
Carnegie Mellon University<br>
</div></div></blockquote></div><br></div>

--e0cb4e43cf1f65a54904cb2ef600--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 21:06:22 2012
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 728C221F8592 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 21:06:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GELJkOhrYdgX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 21:06:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 52F0D21F858E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 21:06:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJceC-000876-QV for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 04:02:52 +0000
Resent-Date: Thu, 04 Oct 2012 04:02:52 +0000
Resent-Message-Id: <E1TJceC-000876-QV@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <J.deBorst@F5.com>) id 1TJce8-000860-1v for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 04:02:48 +0000
Received: from mail.f5.com ([208.85.209.139]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <J.deBorst@F5.com>) id 1TJce6-0005X6-FO for ietf-http-wg@w3.org; Thu, 04 Oct 2012 04:02:48 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=f5.com; i=J.deBorst@f5.com; q=dns/txt; s=seattle; t=1349323366; x=1380859366; h=from:to:subject:date:message-id:references:in-reply-to: mime-version; bh=0dqztDrg4EJgZTgoR+SQsBJd/ZqfaTuL0kTm20MwdHw=; b=M/x/hKJcqzHrJctp8WU42JbbTizUsNoei1sFiuT7k4lOqL3lb6MAsgX4 ee68mBef1j3qT1Zgl/cKATJUY/+OgtZ9dhaPoyYTp8DIXDfOfO2TDPbhe L+jJjpkTigbD8/0UdYWi6NjaTYptzMK2ED5dV/sXmJizngJ+14FZKoJ1t 0=;
X-IronPort-AV: E=Sophos;i="4.80,531,1344211200";  d="scan'208,217";a="54053050"
Received: from unknown (HELO exchmail.f5net.com) ([192.168.10.240]) by mail.f5.com with ESMTP/TLS/AES128-SHA; 04 Oct 2012 04:02:17 +0000
Received: from SEAEMBX01.olympus.F5Net.com ([fe80::3440:4256:38f6:d3a0]) by seaecas02.olympus.F5Net.com ([::1]) with mapi id 14.02.0283.003; Wed, 3 Oct 2012 21:02:16 -0700
From: Jeroen de Borst <J.deBorst@F5.com>
To: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Updated Binary Optimized Header Encoding Draft
Thread-Index: AQHNoYn9V16Z4Yd5UEuvcq0EfC94IJeohv7Q
Date: Thu, 4 Oct 2012 04:02:16 +0000
Message-ID: <445F70104F72BC4CBF0FBDE14145833F51A2D82D@SEAEMBX01.olympus.F5Net.com>
References: <CABP7Rbfkvc_gsSESd2mHiLaYO5Ng2g0JZ4VYB2kYQcY2OX+aLg@mail.gmail.com>
In-Reply-To: <CABP7Rbfkvc_gsSESd2mHiLaYO5Ng2g0JZ4VYB2kYQcY2OX+aLg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.168.16.250]
Content-Type: multipart/alternative; boundary="_000_445F70104F72BC4CBF0FBDE14145833F51A2D82DSEAEMBX01olympu_"
MIME-Version: 1.0
Received-SPF: pass client-ip=208.85.209.139; envelope-from=J.deBorst@F5.com; helo=mail.f5.com
X-W3C-Hub-Spam-Status: No, score=-9.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-2.142, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJce6-0005X6-FO 447a8abc264a2460a7909dc9b5597c7a
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Updated Binary Optimized Header Encoding Draft
Archived-At: <http://www.w3.org/mid/445F70104F72BC4CBF0FBDE14145833F51A2D82D@SEAEMBX01.olympus.F5Net.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15287
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>

--_000_445F70104F72BC4CBF0FBDE14145833F51A2D82DSEAEMBX01olympu_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

VGhpcyBpcyB2ZXJ5IHNpbWlsYXIgdG8gd2hhdCB3YXMgZG9uZSBpbiBXQVAgKFdTUCAxLnggc3Bl
Y2lmaWNhbGx5KS4NCg0KU2VlIHNlY3Rpb24gOC40IGluIGh0dHA6Ly93d3cud2FwZm9ydW0ub3Jn
L3RlY2gvZG9jdW1lbnRzL1dBUC0yMDMtV1NQLTIwMDAwNTA0LWEucGRmDQoNCkRvZXMgdGhpcyBo
YXZlIHRvIGJlIHJlLWludmVudGVkPyBBcmUgdGhlcmUgc2lnbmlmaWNhbnQgYmVuZWZpdHM/DQoN
ClRoYW5rcywNCkplcm9lbg0KDQoNCkZyb206IEphbWVzIE0gU25lbGwgW21haWx0bzpqYXNuZWxs
QGdtYWlsLmNvbV0NClNlbnQ6IFdlZG5lc2RheSwgT2N0b2JlciAwMywgMjAxMiAxMDowOCBBTQ0K
VG86IGlldGYtaHR0cC13Z0B3My5vcmcNClN1YmplY3Q6IFVwZGF0ZWQgQmluYXJ5IE9wdGltaXpl
ZCBIZWFkZXIgRW5jb2RpbmcgRHJhZnQNCg0KRllJLi4gSSBoYXZlIHN1Ym1pdHRlZCBhbiB1cGRh
dGVkIGRyYWZ0IGZvciB0aGUgcHJvcG9zZWQgQmluYXJ5IE9wdGltaXplZCBIZWFkZXIgRW5jb2Rp
bmcgbWVjaGFuaXNtIGZvciB0aGUgaHR0cDIgZWZmb3J0Lg0KDQogIGh0dHA6Ly93d3cuaWV0Zi5v
cmcvaWQvZHJhZnQtc25lbGwtaHR0cGJpcy1ib2hlLTAxLnR4dA0KDQpBIG51bWJlciBvZiBmYWly
bHkgc2lnbmlmaWNhbnQgY2hhbmdlcyBoYXZlIGJlZW4gbWFkZToNCg0KICAxLiBUaGUgY29kZXBh
Z2UgaWRlbnRpZmllciBmb3IgcmVnaXN0ZXJlZCBoZWFkZXIgdG9rZW5zIGhhcyBiZWVuIHJlbW92
ZWQuDQogIDIuIFRoZSBQZXItaGVhZGVyIGZsYWdzIGZpZWxkIGhhcyBiZWVuIHJlbW92ZWQgYW5k
IHJlcGxhY2VkIHdpdGggc3BlY2lmaWMgaW5kaXZpZHVhbCBiaXRzIHRvIGluZGljYXRlIGNoYXJh
Y3Rlci1iYXNlZCB2YWx1ZXMgYW5kIG11bHRpcGxlIHZhbHVlcw0KICAzLiBWYWx1ZSBsZW5ndGhz
IGhhdmUgYmVlbiBpbmNyZWFzZWQgZnJvbSBtYXggMTYtYml0IGxlbmd0aCB0byBhIG1heCAyMi1i
aXQgbGVuZ3RoLg0KDQpUaGUgZW5jb2RpbmcgaXRzZWxmIHJlbWFpbnMganVzdCBhcyBjb21wYWN0
IHdpdGggdGhlc2UgY2hhbmdlcy4gV2l0aCB0aGUgaHR0cCB2ZXJzaW9uIGhlYWRlciBmaWVsZCwg
Zm9yIGV4YW1wbGUsIHJlcXVpcmluZyBubyBtb3JlIHRoYW4gNiB1bmNvbXByZXNzZWQgYnl0ZXMg
dG8gcmVwcmVzZW50Lg0KDQpBcyBhbHdheXMsIGZlZWRiYWNrIGlzIG1vcmUgdGhhbiB3ZWxjb21l
Lg0KDQotIEphbWVzDQo=

--_000_445F70104F72BC4CBF0FBDE14145833F51A2D82DSEAEMBX01olympu_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTQgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxl
PjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
Q2FsaWJyaTsNCglwYW5vc2UtMToyIDE1IDUgMiAyIDIgNCAzIDIgNDt9DQpAZm9udC1mYWNlDQoJ
e2ZvbnQtZmFtaWx5OlRhaG9tYTsNCglwYW5vc2UtMToyIDExIDYgNCAzIDUgNCA0IDIgNDt9DQov
KiBTdHlsZSBEZWZpbml0aW9ucyAqLw0KcC5Nc29Ob3JtYWwsIGxpLk1zb05vcm1hbCwgZGl2Lk1z
b05vcm1hbA0KCXttYXJnaW46MGluOw0KCW1hcmdpbi1ib3R0b206LjAwMDFwdDsNCglmb250LXNp
emU6MTIuMHB0Ow0KCWZvbnQtZmFtaWx5OiJUaW1lcyBOZXcgUm9tYW4iLCJzZXJpZiI7fQ0KYTps
aW5rLCBzcGFuLk1zb0h5cGVybGluaw0KCXttc28tc3R5bGUtcHJpb3JpdHk6OTk7DQoJY29sb3I6
Ymx1ZTsNCgl0ZXh0LWRlY29yYXRpb246dW5kZXJsaW5lO30NCmE6dmlzaXRlZCwgc3Bhbi5Nc29I
eXBlcmxpbmtGb2xsb3dlZA0KCXttc28tc3R5bGUtcHJpb3JpdHk6OTk7DQoJY29sb3I6cHVycGxl
Ow0KCXRleHQtZGVjb3JhdGlvbjp1bmRlcmxpbmU7fQ0Kc3Bhbi5FbWFpbFN0eWxlMTcNCgl7bXNv
LXN0eWxlLXR5cGU6cGVyc29uYWwtcmVwbHk7DQoJZm9udC1mYW1pbHk6IkNhbGlicmkiLCJzYW5z
LXNlcmlmIjsNCgljb2xvcjojMUY0OTdEO30NCi5Nc29DaHBEZWZhdWx0DQoJe21zby1zdHlsZS10
eXBlOmV4cG9ydC1vbmx5Ow0KCWZvbnQtZmFtaWx5OiJDYWxpYnJpIiwic2Fucy1zZXJpZiI7fQ0K
QHBhZ2UgV29yZFNlY3Rpb24xDQoJe3NpemU6OC41aW4gMTEuMGluOw0KCW1hcmdpbjoxLjBpbiAx
LjBpbiAxLjBpbiAxLjBpbjt9DQpkaXYuV29yZFNlY3Rpb24xDQoJe3BhZ2U6V29yZFNlY3Rpb24x
O30NCi0tPjwvc3R5bGU+PCEtLVtpZiBndGUgbXNvIDldPjx4bWw+DQo8bzpzaGFwZWRlZmF1bHRz
IHY6ZXh0PSJlZGl0IiBzcGlkbWF4PSIxMDI2IiAvPg0KPC94bWw+PCFbZW5kaWZdLS0+PCEtLVtp
ZiBndGUgbXNvIDldPjx4bWw+DQo8bzpzaGFwZWxheW91dCB2OmV4dD0iZWRpdCI+DQo8bzppZG1h
cCB2OmV4dD0iZWRpdCIgZGF0YT0iMSIgLz4NCjwvbzpzaGFwZWxheW91dD48L3htbD48IVtlbmRp
Zl0tLT4NCjwvaGVhZD4NCjxib2R5IGxhbmc9IkVOLVVTIiBsaW5rPSJibHVlIiB2bGluaz0icHVy
cGxlIj4NCjxkaXYgY2xhc3M9IldvcmRTZWN0aW9uMSI+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48
c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1
b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+VGhpcyBpcyB2ZXJ5IHNp
bWlsYXIgdG8gd2hhdCB3YXMgZG9uZSBpbiBXQVAgKFdTUCAxLnggc3BlY2lmaWNhbGx5KS48bzpw
PjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9u
dC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZxdW90O3NhbnMt
c2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+PG86cD4mbmJzcDs8L286cD48L3NwYW4+PC9wPg0K
PHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1m
YW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMx
RjQ5N0QiPlNlZSBzZWN0aW9uIDguNCBpbg0KPGEgaHJlZj0iaHR0cDovL3d3dy53YXBmb3J1bS5v
cmcvdGVjaC9kb2N1bWVudHMvV0FQLTIwMy1XU1AtMjAwMDA1MDQtYS5wZGYiPmh0dHA6Ly93d3cu
d2FwZm9ydW0ub3JnL3RlY2gvZG9jdW1lbnRzL1dBUC0yMDMtV1NQLTIwMDAwNTA0LWEucGRmPC9h
PjxvOnA+PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxl
PSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7
c2Fucy1zZXJpZiZxdW90Oztjb2xvcjojMUY0OTdEIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48
L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtm
b250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29s
b3I6IzFGNDk3RCI+RG9lcyB0aGlzIGhhdmUgdG8gYmUgcmUtaW52ZW50ZWQ/IEFyZSB0aGVyZSBz
aWduaWZpY2FudCBiZW5lZml0cz88bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNv
Tm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtD
YWxpYnJpJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+PG86cD4m
bmJzcDs8L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9
ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtz
YW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5N0QiPlRoYW5rcyw8bzpwPjwvbzpwPjwvc3Bhbj48
L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtm
b250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29s
b3I6IzFGNDk3RCI+SmVyb2VuPG86cD48L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05v
cm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2Fs
aWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5N0QiPjxvOnA+Jm5i
c3A7PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJm
b250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fu
cy1zZXJpZiZxdW90Oztjb2xvcjojMUY0OTdEIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+
DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48Yj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjEwLjBwdDtm
b250LWZhbWlseTomcXVvdDtUYWhvbWEmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90OyI+RnJv
bTo8L3NwYW4+PC9iPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTAuMHB0O2ZvbnQtZmFtaWx5OiZx
dW90O1RhaG9tYSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7Ij4gSmFtZXMgTSBTbmVsbCBb
bWFpbHRvOmphc25lbGxAZ21haWwuY29tXQ0KPGJyPg0KPGI+U2VudDo8L2I+IFdlZG5lc2RheSwg
T2N0b2JlciAwMywgMjAxMiAxMDowOCBBTTxicj4NCjxiPlRvOjwvYj4gaWV0Zi1odHRwLXdnQHcz
Lm9yZzxicj4NCjxiPlN1YmplY3Q6PC9iPiBVcGRhdGVkIEJpbmFyeSBPcHRpbWl6ZWQgSGVhZGVy
IEVuY29kaW5nIERyYWZ0PG86cD48L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1h
bCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHls
ZT0iZm9udC1mYW1pbHk6JnF1b3Q7Q291cmllciBOZXcmcXVvdDsiPkZZSS4uIEkgaGF2ZSBzdWJt
aXR0ZWQgYW4gdXBkYXRlZCBkcmFmdCBmb3IgdGhlIHByb3Bvc2VkIEJpbmFyeSBPcHRpbWl6ZWQg
SGVhZGVyIEVuY29kaW5nIG1lY2hhbmlzbSBmb3IgdGhlIGh0dHAyIGVmZm9ydC4mbmJzcDs8L3Nw
YW4+PG86cD48L286cD48L3A+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJz
cDs8L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBz
dHlsZT0iZm9udC1mYW1pbHk6JnF1b3Q7Q291cmllciBOZXcmcXVvdDsiPiZuYnNwOyZuYnNwOzxh
IGhyZWY9Imh0dHA6Ly93d3cuaWV0Zi5vcmcvaWQvZHJhZnQtc25lbGwtaHR0cGJpcy1ib2hlLTAx
LnR4dCI+aHR0cDovL3d3dy5pZXRmLm9yZy9pZC9kcmFmdC1zbmVsbC1odHRwYmlzLWJvaGUtMDEu
dHh0PC9hPjwvc3Bhbj48bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJN
c29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9
Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtZmFtaWx5OiZxdW90O0NvdXJpZXIgTmV3JnF1
b3Q7Ij5BIG51bWJlciBvZiBmYWlybHkgc2lnbmlmaWNhbnQgY2hhbmdlcyBoYXZlIGJlZW4gbWFk
ZTo8L3NwYW4+PG86cD48L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9y
bWFsIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29O
b3JtYWwiPjxzcGFuIHN0eWxlPSJmb250LWZhbWlseTomcXVvdDtDb3VyaWVyIE5ldyZxdW90OyI+
Jm5ic3A7IDEuIFRoZSBjb2RlcGFnZSBpZGVudGlmaWVyIGZvciByZWdpc3RlcmVkIGhlYWRlciB0
b2tlbnMgaGFzIGJlZW4gcmVtb3ZlZC48L3NwYW4+PG86cD48L286cD48L3A+DQo8L2Rpdj4NCjxk
aXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1mYW1pbHk6JnF1b3Q7
Q291cmllciBOZXcmcXVvdDsiPiZuYnNwOyAyLiBUaGUgUGVyLWhlYWRlciBmbGFncyBmaWVsZCBo
YXMgYmVlbiByZW1vdmVkIGFuZCByZXBsYWNlZCB3aXRoIHNwZWNpZmljIGluZGl2aWR1YWwgYml0
cyB0byBpbmRpY2F0ZSBjaGFyYWN0ZXItYmFzZWQgdmFsdWVzIGFuZCBtdWx0aXBsZSB2YWx1ZXM8
L3NwYW4+PG86cD48L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFs
Ij48c3BhbiBzdHlsZT0iZm9udC1mYW1pbHk6JnF1b3Q7Q291cmllciBOZXcmcXVvdDsiPiZuYnNw
OyAzLiBWYWx1ZSBsZW5ndGhzIGhhdmUgYmVlbiBpbmNyZWFzZWQgZnJvbSBtYXggMTYtYml0IGxl
bmd0aCB0byBhIG1heCAyMi1iaXQgbGVuZ3RoLiZuYnNwOzwvc3Bhbj48bzpwPjwvbzpwPjwvcD4N
CjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9w
Pg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQt
ZmFtaWx5OiZxdW90O0NvdXJpZXIgTmV3JnF1b3Q7Ij5UaGUgZW5jb2RpbmcgaXRzZWxmIHJlbWFp
bnMganVzdCBhcyBjb21wYWN0IHdpdGggdGhlc2UgY2hhbmdlcy4gV2l0aCB0aGUgaHR0cCB2ZXJz
aW9uIGhlYWRlciBmaWVsZCwgZm9yIGV4YW1wbGUsIHJlcXVpcmluZyBubyBtb3JlIHRoYW4gNiB1
bmNvbXByZXNzZWQgYnl0ZXMgdG8gcmVwcmVzZW50Ljwvc3Bhbj48bzpwPjwvbzpwPjwvcD4NCjwv
ZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0K
PC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtZmFt
aWx5OiZxdW90O0NvdXJpZXIgTmV3JnF1b3Q7Ij5BcyBhbHdheXMsIGZlZWRiYWNrIGlzIG1vcmUg
dGhhbiB3ZWxjb21lLjwvc3Bhbj48bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNs
YXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAg
Y2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtZmFtaWx5OiZxdW90O0NvdXJpZXIg
TmV3JnF1b3Q7Ij4tIEphbWVzPC9zcGFuPjxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8L2Rpdj4N
CjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_445F70104F72BC4CBF0FBDE14145833F51A2D82DSEAEMBX01olympu_--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 22:07:41 2012
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 47CC721F8606 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 22:07:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JDJ3aGTVDWA4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 22:07:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2C88221F8582 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 22:07:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJdca-0002fd-4v for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 05:05:16 +0000
Resent-Date: Thu, 04 Oct 2012 05:05:16 +0000
Resent-Message-Id: <E1TJdca-0002fd-4v@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ashokkumar.j@gmail.com>) id 1TJdcX-0002eu-It for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 05:05:13 +0000
Received: from mail-ie0-f171.google.com ([209.85.223.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ashokkumar.j@gmail.com>) id 1TJdcW-0007Sl-6I for ietf-http-wg@w3.org; Thu, 04 Oct 2012 05:05:13 +0000
Received: by mail-ie0-f171.google.com with SMTP id s9so198389iec.2 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 22:04:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=82lFv9+LfjREOHdUgMUA5p95BlEWhM3sx4PpG8OuNS4=; b=QinhL+WQ9QpJAX84+2F2qyZz5ceJwox52K8Nva95YhKh1T21q7488jKBU6FpYQdoeD wm6FRNVTtzhdgcXwWauJLpQ0tbC2ZYXoQX8PS/F3sChy3voAo18qxNUh/3Z51R6HMrqn uDWzwA7ltCnLip/+SSivvYWCx7pm9fUY7aIJx2LYcHTSjpzG2t4WCNHYN3rSuLVx+/TS 9CqyW3i4lmXql63S+W4+18rxF13hkzWCN82zQh7PKYdA1OrPydeIx6imGw/pyafMfqkY c46H/zR0G9gbFSCXw9HK+t93wPZI8Ngu6cVdSLxcicA9+rNMVi0jIaP5OvlQ98cHZC+I JPCQ==
MIME-Version: 1.0
Received: by 10.42.129.83 with SMTP id p19mr3457330ics.9.1349327086427; Wed, 03 Oct 2012 22:04:46 -0700 (PDT)
Received: by 10.231.220.76 with HTTP; Wed, 3 Oct 2012 22:04:46 -0700 (PDT)
In-Reply-To: <445F70104F72BC4CBF0FBDE14145833F51A2D82D@SEAEMBX01.olympus.F5Net.com>
References: <CABP7Rbfkvc_gsSESd2mHiLaYO5Ng2g0JZ4VYB2kYQcY2OX+aLg@mail.gmail.com> <445F70104F72BC4CBF0FBDE14145833F51A2D82D@SEAEMBX01.olympus.F5Net.com>
Date: Thu, 4 Oct 2012 10:34:46 +0530
Message-ID: <CAOeYYRdHo7AuWGOpn1xQ4fwcMR6DFOm92bdFsb=F2z1S0pEPCg@mail.gmail.com>
From: Ashok Kumar <ashokkumar.j@gmail.com>
To: Jeroen de Borst <J.deBorst@f5.com>
Cc: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf300e4e81ac1c8304cb34b117
Received-SPF: pass client-ip=209.85.223.171; envelope-from=ashokkumar.j@gmail.com; helo=mail-ie0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJdcW-0007Sl-6I 782f06416ae9c0d09ac9f01220984371
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Updated Binary Optimized Header Encoding Draft
Archived-At: <http://www.w3.org/mid/CAOeYYRdHo7AuWGOpn1xQ4fwcMR6DFOm92bdFsb=F2z1S0pEPCg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15289
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>

--20cf300e4e81ac1c8304cb34b117
Content-Type: text/plain; charset=ISO-8859-1

So according to this, if you need multiple binary encoded values, then the
values themselves can't contain NUL. If they do, then does framing layer
take responsibility of escaping it or base-64 encode the entire value?

Also, since its very common that clients get updated/upgraded almost (or
should I say atleast) once a month, and servers/proxies get upgraded only
when there are some critical patches, how do the two agree on registered
headers? (this example may be wrong, but let's say, x-forwarded-for becomes
Forwarded), What is the behavior if the client/server is sending an ID
which is beyond what the host knows?

On Thu, Oct 4, 2012 at 9:32 AM, Jeroen de Borst <J.deBorst@f5.com> wrote:

>  This is very similar to what was done in WAP (WSP 1.x specifically).****
>
> ** **
>
> See section 8.4 in
> http://www.wapforum.org/tech/documents/WAP-203-WSP-20000504-a.pdf****
>
> ** **
>
> Does this have to be re-invented? Are there significant benefits?****
>
> ** **
>
> Thanks,****
>
> Jeroen****
>
> ** **
>
> ** **
>
> *From:* James M Snell [mailto:jasnell@gmail.com]
> *Sent:* Wednesday, October 03, 2012 10:08 AM
> *To:* ietf-http-wg@w3.org
> *Subject:* Updated Binary Optimized Header Encoding Draft****
>
> ** **
>
> FYI.. I have submitted an updated draft for the proposed Binary Optimized
> Header Encoding mechanism for the http2 effort. ****
>
> ** **
>
>   http://www.ietf.org/id/draft-snell-httpbis-bohe-01.txt****
>
> ** **
>
> A number of fairly significant changes have been made:****
>
> ** **
>
>   1. The codepage identifier for registered header tokens has been removed.
> ****
>
>   2. The Per-header flags field has been removed and replaced with
> specific individual bits to indicate character-based values and multiple
> values****
>
>   3. Value lengths have been increased from max 16-bit length to a max
> 22-bit length. ****
>
> ** **
>
> The encoding itself remains just as compact with these changes. With the
> http version header field, for example, requiring no more than 6
> uncompressed bytes to represent.****
>
> ** **
>
> As always, feedback is more than welcome.****
>
> ** **
>
> - James****
>



-- 
.- ... .... --- -.-

--20cf300e4e81ac1c8304cb34b117
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

So according to this,=A0if you need multiple binary encoded values, then th=
e values themselves can&#39;t contain NUL. If they do, then does framing la=
yer take responsibility of escaping it or base-64 encode the entire value?<=
div>
<br></div><div>Also, since its very common that clients get updated/upgrade=
d almost (or should I say atleast) once a month, and servers/proxies get up=
graded only when there are some critical patches, how do the two agree on r=
egistered headers? (this example may be wrong, but let&#39;s say, x-forward=
ed-for becomes Forwarded), What is the behavior if the client/server is sen=
ding an ID which is beyond what the host knows?=A0</div>
<div><br></div><div><div class=3D"gmail_quote">On Thu, Oct 4, 2012 at 9:32 =
AM, Jeroen de Borst <span dir=3D"ltr">&lt;<a href=3D"mailto:J.deBorst@f5.co=
m" target=3D"_blank">J.deBorst@f5.com</a>&gt;</span> wrote:<br><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">






<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">This is very similar to w=
hat was done in WAP (WSP 1.x specifically).<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">See section 8.4 in
<a href=3D"http://www.wapforum.org/tech/documents/WAP-203-WSP-20000504-a.pd=
f" target=3D"_blank">http://www.wapforum.org/tech/documents/WAP-203-WSP-200=
00504-a.pdf</a><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Does this have to be re-i=
nvented? Are there significant benefits?<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks,<u></u><u></u></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Jeroen<u></u><u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=A0<u></u></span><=
/p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> James M =
Snell [mailto:<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnel=
l@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, October 03, 2012 10:08 AM<br>
<b>To:</b> <a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-ht=
tp-wg@w3.org</a><br>
<b>Subject:</b> Updated Binary Optimized Header Encoding Draft<u></u><u></u=
></span></p><div><div class=3D"h5">
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
FYI.. I have submitted an updated draft for the proposed Binary Optimized H=
eader Encoding mechanism for the http2 effort.=A0</span><u></u><u></u></p>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=A0=A0<a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-01.txt" ta=
rget=3D"_blank">http://www.ietf.org/id/draft-snell-httpbis-bohe-01.txt</a><=
/span><u></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
A number of fairly significant changes have been made:</span><u></u><u></u>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=A0 1. The codepage identifier for registered header tokens has been remove=
d.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=A0 2. The Per-header flags field has been removed and replaced with specif=
ic individual bits to indicate character-based values and multiple values</=
span><u></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=A0 3. Value lengths have been increased from max 16-bit length to a max 22=
-bit length.=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
The encoding itself remains just as compact with these changes. With the ht=
tp version header field, for example, requiring no more than 6 uncompressed=
 bytes to represent.</span><u></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
As always, feedback is more than welcome.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
- James</span><u></u><u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>.- ... .... =
--- -.-<br>
</div>

--20cf300e4e81ac1c8304cb34b117--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 22:07:41 2012
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 5C9F021F8582 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 22:07:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kLYAEk7mg3W0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 22:07:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8891F21F8605 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 22:07:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJdcN-0002IT-4J for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 05:05:03 +0000
Resent-Date: Thu, 04 Oct 2012 05:05:03 +0000
Resent-Message-Id: <E1TJdcN-0002IT-4J@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TJdcL-0001P5-8v for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 05:05:01 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TJdcK-0004Bb-Dh for ietf-http-wg@w3.org; Thu, 04 Oct 2012 05:05:01 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so105223vbb.2 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 22:04:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pCwsVFRsKxFTAchTmUGJBM+fRtW9d0zCq9YjcQJTNgA=; b=dZ245inqWBYlvr+awEkGCs0GxSOlRypenQaCj8A4JiXn8ay4WiQ8XkMKNmU9Brt62w MYhrU9OqFeY0gPuX0oQhGvfm1NjgdJtwWHxdqYMR6k3bvvoF6kkqleTo3BgfvdKPmJUc tSgimrpYkxknIFLVfQRTTIguMnSo3nZklVkf3fOZ/UQuGn67ijFqDPlLwEQq4vjH4nKf HayZxXnxSLd6GRG/l34tM5DwE/BxEpgZL4yJnz/50USk/3adONwrEelI5utlTA88FwST ngoujEod6kxjEm5mrLbpDmofeb4h552QgVG6+58hVnOJj//fimRARhuHyJyiZBIosUuj NjeQ==
MIME-Version: 1.0
Received: by 10.52.66.36 with SMTP id c4mr2018428vdt.6.1349327074491; Wed, 03 Oct 2012 22:04:34 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Wed, 3 Oct 2012 22:04:34 -0700 (PDT)
Date: Thu, 4 Oct 2012 00:04:34 -0500
Message-ID: <CACuKZqE=bau4Y_Ju=fucJ2q4htftgmE0BSaf0imx2kW1-Q=CZg@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.711, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJdcK-0004Bb-Dh 6e30468be8093aa2b5c89c07fb1ff198
X-Original-To: ietf-http-wg@w3.org
Subject: Ambiguity in the Range header
Archived-At: <http://www.w3.org/mid/CACuKZqE=bau4Y_Ju=fucJ2q4htftgmE0BSaf0imx2kW1-Q=CZg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15288
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>

When a request contains a Range header, it specifies a (byte) range of
the representation body. However, the server doesn't know which
representation the client is talking about.

Here is an example of firefox failing to resume download a gzip-ed body:

request 1

  GET / HTTP/1.1
  Accept-Encoding: gzip, deflate

response 1

  HTTP/1.1 200 OK
  Accept-Ranges: bytes
  Content-Encoding: gzip
  ETag: "135e962713f.gz"
  Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
  Content-Length: 182,249,279

Firefox decompress the body on the fly, and saves the decompressed
content to disk.

Now pause the download, firefox has 68,712,649 bytes decompressed data on disk.

Now resume the download, firefox tries to request range [68,712,649-]
of uncompressed body

request 2
  GET / HTTP/1.1
  Accept-Encoding: gzip, deflate
  Range: bytes=68,712,649-
  If-Match: "135e962713f.gz"
  If-Unmodified-Since: Tue, 06 Mar 2012 19:00:37 GMT

response 2

  HTTP/1.1 206 Partial Content
  Accept-Ranges: bytes
  Content-Range: bytes 68,712,649-182,249,278/182,249,279
  Content-Encoding: gzip
  ETag: "135e962713f.gz"
  Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
  Content-Length: 113,536,630

Unfortunately the server has no idea that the range is for the
uncompressed body. It returns the range of the gzip-ed body, which
seems to be the best choice. Then firefox fails since it expects
uncompressed body.

Is the server at fault here? Is there an understanding that Range is
always for the "plain" body without any Content-Encoding?

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 22:45:52 2012
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 0E48D21F8510 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 22:45:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1MBWLOOZgRWD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 22:45:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 39E3721F84D6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 22:45:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJeDn-0000f3-Op for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 05:43:43 +0000
Resent-Date: Thu, 04 Oct 2012 05:43:43 +0000
Resent-Message-Id: <E1TJeDn-0000f3-Op@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ashokkumar.j@gmail.com>) id 1TJeDl-0000eK-63 for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 05:43:41 +0000
Received: from mail-ie0-f171.google.com ([209.85.223.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <ashokkumar.j@gmail.com>) id 1TJeDj-000572-TJ for ietf-http-wg@w3.org; Thu, 04 Oct 2012 05:43:41 +0000
Received: by mail-ie0-f171.google.com with SMTP id s9so238430iec.2 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 22:43:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=44mxGvSKIOVPNXW5/UtRH1VJj57SJU+tQvHd5T/G5IY=; b=I594X3lqmUy4gizod8nhn0vyQIZNxHyZ8eY5Cd5zeDpZs2+eerzALhlgC5YhNu3frO veENinj3wNVlD8q6JwlyTBf9llCjxsnGRC9qmEIcCYxZxOFfxT5BbMABUXJDYx+OwKpF jpMOwhBMjx/244IM0pV0QwlPGu942ltgNo103HM71GrqOXeIUf5VfwF4usRGdDgN3ej/ Uic632rk2sD3ConSoo8CyYz1k3D5Ip5vbQ67bPlFnw7qXP6DxOLbfuRHuNfbIjurFVwa f3ZlWzlDEOK3Z2wpF5TUhGQjeKTvXadWvYgjDEToMYiMDpOqN3pdg3OWVjXBb/hd4/oO f+7Q==
MIME-Version: 1.0
Received: by 10.50.47.129 with SMTP id d1mr14568338ign.45.1349329393543; Wed, 03 Oct 2012 22:43:13 -0700 (PDT)
Received: by 10.231.220.76 with HTTP; Wed, 3 Oct 2012 22:43:13 -0700 (PDT)
In-Reply-To: <CACuKZqE=bau4Y_Ju=fucJ2q4htftgmE0BSaf0imx2kW1-Q=CZg@mail.gmail.com>
References: <CACuKZqE=bau4Y_Ju=fucJ2q4htftgmE0BSaf0imx2kW1-Q=CZg@mail.gmail.com>
Date: Thu, 4 Oct 2012 11:13:13 +0530
Message-ID: <CAOeYYRfNB2th8OmqN_TzvDZrvgycrdwOfThL9Ur1DbigA+Sgjg@mail.gmail.com>
From: Ashok Kumar <ashokkumar.j@gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=14dae93411d12fe89c04cb353b7d
Received-SPF: pass client-ip=209.85.223.171; envelope-from=ashokkumar.j@gmail.com; helo=mail-ie0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJeDj-000572-TJ 262e884a7c4444a598da64cda0ee4924
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Ambiguity in the Range header
Archived-At: <http://www.w3.org/mid/CAOeYYRfNB2th8OmqN_TzvDZrvgycrdwOfThL9Ur1DbigA+Sgjg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15290
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>

--14dae93411d12fe89c04cb353b7d
Content-Type: text/plain; charset=ISO-8859-1

I raised a similar query quite a while back and the general view was that
since it is Transfer-encoded and not content-encoded, the range refers to
the original content/plain text. But I wasn't able to find any specific
section in the drafts/RFC.

But then I realize that makes a cache's (both middleware/client side) life
difficult. if it is missing a piece of puzzle, it can't simply request that
piece missing in the middle and plug the hole. it needs to get the entire
content from the missing part till end and inflate both pieces and then
assemble them. Hope someone more knowledgeable on this matter has solved
this.

On Thu, Oct 4, 2012 at 10:34 AM, Zhong Yu <zhong.j.yu@gmail.com> wrote:

> When a request contains a Range header, it specifies a (byte) range of
> the representation body. However, the server doesn't know which
> representation the client is talking about.
>
> Here is an example of firefox failing to resume download a gzip-ed body:
>
> request 1
>
>   GET / HTTP/1.1
>   Accept-Encoding: gzip, deflate
>
> response 1
>
>   HTTP/1.1 200 OK
>   Accept-Ranges: bytes
>   Content-Encoding: gzip
>   ETag: "135e962713f.gz"
>   Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>   Content-Length: 182,249,279
>
> Firefox decompress the body on the fly, and saves the decompressed
> content to disk.
>
> Now pause the download, firefox has 68,712,649 bytes decompressed data on
> disk.
>
> Now resume the download, firefox tries to request range [68,712,649-]
> of uncompressed body
>
> request 2
>   GET / HTTP/1.1
>   Accept-Encoding: gzip, deflate
>   Range: bytes=68,712,649-
>   If-Match: "135e962713f.gz"
>   If-Unmodified-Since: Tue, 06 Mar 2012 19:00:37 GMT
>
> response 2
>
>   HTTP/1.1 206 Partial Content
>   Accept-Ranges: bytes
>   Content-Range: bytes 68,712,649-182,249,278/182,249,279
>   Content-Encoding: gzip
>   ETag: "135e962713f.gz"
>   Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>   Content-Length: 113,536,630
>
> Unfortunately the server has no idea that the range is for the
> uncompressed body. It returns the range of the gzip-ed body, which
> seems to be the best choice. Then firefox fails since it expects
> uncompressed body.
>
> Is the server at fault here? Is there an understanding that Range is
> always for the "plain" body without any Content-Encoding?
>
> Zhong Yu
>
>


-- 
.- ... .... --- -.-

--14dae93411d12fe89c04cb353b7d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I raised a similar query quite a while back and the general view was that s=
ince it is Transfer-encoded and not content-encoded, the range refers to th=
e original content/plain text. But I wasn&#39;t able to find any specific s=
ection in the drafts/RFC.<div>
<br></div><div>But then I realize that makes a cache&#39;s (both middleware=
/client side) life difficult. if it is missing a piece of puzzle, it can&#3=
9;t simply request that piece missing in the middle and plug the hole. it n=
eeds to get the entire content from the missing part till end and inflate b=
oth pieces and then assemble them. Hope someone more knowledgeable on this =
matter has solved this.<br>
<br><div class=3D"gmail_quote">On Thu, Oct 4, 2012 at 10:34 AM, Zhong Yu <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:zhong.j.yu@gmail.com" target=3D"_blan=
k">zhong.j.yu@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">
When a request contains a Range header, it specifies a (byte) range of<br>
the representation body. However, the server doesn&#39;t know which<br>
representation the client is talking about.<br>
<br>
Here is an example of firefox failing to resume download a gzip-ed body:<br=
>
<br>
request 1<br>
<br>
=A0 GET / HTTP/1.1<br>
=A0 Accept-Encoding: gzip, deflate<br>
<br>
response 1<br>
<br>
=A0 HTTP/1.1 200 OK<br>
=A0 Accept-Ranges: bytes<br>
=A0 Content-Encoding: gzip<br>
=A0 ETag: &quot;135e962713f.gz&quot;<br>
=A0 Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT<br>
=A0 Content-Length: 182,249,279<br>
<br>
Firefox decompress the body on the fly, and saves the decompressed<br>
content to disk.<br>
<br>
Now pause the download, firefox has 68,712,649 bytes decompressed data on d=
isk.<br>
<br>
Now resume the download, firefox tries to request range [68,712,649-]<br>
of uncompressed body<br>
<br>
request 2<br>
=A0 GET / HTTP/1.1<br>
=A0 Accept-Encoding: gzip, deflate<br>
=A0 Range: bytes=3D68,712,649-<br>
=A0 If-Match: &quot;135e962713f.gz&quot;<br>
=A0 If-Unmodified-Since: Tue, 06 Mar 2012 19:00:37 GMT<br>
<br>
response 2<br>
<br>
=A0 HTTP/1.1 206 Partial Content<br>
=A0 Accept-Ranges: bytes<br>
=A0 Content-Range: bytes 68,712,649-182,249,278/182,249,279<br>
=A0 Content-Encoding: gzip<br>
=A0 ETag: &quot;135e962713f.gz&quot;<br>
=A0 Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT<br>
=A0 Content-Length: 113,536,630<br>
<br>
Unfortunately the server has no idea that the range is for the<br>
uncompressed body. It returns the range of the gzip-ed body, which<br>
seems to be the best choice. Then firefox fails since it expects<br>
uncompressed body.<br>
<br>
Is the server at fault here? Is there an understanding that Range is<br>
always for the &quot;plain&quot; body without any Content-Encoding?<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Zhong Yu<br>
<br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r>.- ... .... --- -.-<br>
</div>

--14dae93411d12fe89c04cb353b7d--


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 23:34:55 2012
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 8F95121F8611 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 23:34:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sWRcfNFY66Ea for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 23:34:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0D61D21F85BB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 23:34:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJeyu-000578-R9 for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 06:32:24 +0000
Resent-Date: Thu, 04 Oct 2012 06:32:24 +0000
Resent-Message-Id: <E1TJeyu-000578-R9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1TJeys-00055Q-Lo for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 06:32:22 +0000
Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81] helo=homiemail-a90.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1TJeyS-0001jm-Jp for ietf-http-wg@w3.org; Thu, 04 Oct 2012 06:32:06 +0000
Received: from homiemail-a90.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a90.g.dreamhost.com (Postfix) with ESMTP id 114282AC06E; Wed,  3 Oct 2012 23:31:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=FStuxnS6Be2L0FVmiadco9gOmDc=; b=yUgb8jmIuiPr3M4J3dBa5xSCgY9N rA6iGL7s8h82R8x+rYYQiKuntY3HN90me/GzUzfnUlVanSKvdf3qZNxzYkby3ZBd 6S5ThVLqLHhb+RMORFSkJ5UIYO9GSgfB9zyvKbE7ijjGbKzpkSzrdBUEGRLCzA+5 L0EM3eAQhM0wW4U=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a90.g.dreamhost.com (Postfix) with ESMTPSA id EC2712AC058; Wed,  3 Oct 2012 23:31:33 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <CACuKZqE=bau4Y_Ju=fucJ2q4htftgmE0BSaf0imx2kW1-Q=CZg@mail.gmail.com>
Date: Wed, 3 Oct 2012 23:31:37 -0700
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <81F671C4-AFCA-4755-BFAF-051908A6FC9F@gbiv.com>
References: <CACuKZqE=bau4Y_Ju=fucJ2q4htftgmE0BSaf0imx2kW1-Q=CZg@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
X-Mailer: Apple Mail (2.1283)
Received-SPF: none client-ip=208.97.132.81; envelope-from=fielding@gbiv.com; helo=homiemail-a90.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: AWL=-1.944, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1TJeyS-0001jm-Jp 364d1262fe312457540205592f998bc2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Ambiguity in the Range header
Archived-At: <http://www.w3.org/mid/81F671C4-AFCA-4755-BFAF-051908A6FC9F@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15291
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>

On Oct 3, 2012, at 10:04 PM, Zhong Yu wrote:

> When a request contains a Range header, it specifies a (byte) range of
> the representation body. However, the server doesn't know which
> representation the client is talking about.

The selected representation.

> Here is an example of firefox failing to resume download a gzip-ed =
body:
>=20
> request 1
>=20
>  GET / HTTP/1.1
>  Accept-Encoding: gzip, deflate
>=20
> response 1
>=20
>  HTTP/1.1 200 OK
>  Accept-Ranges: bytes
>  Content-Encoding: gzip
>  ETag: "135e962713f.gz"
>  Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>  Content-Length: 182,249,279
>=20
> Firefox decompress the body on the fly, and saves the decompressed
> content to disk.
>=20
> Now pause the download, firefox has 68,712,649 bytes decompressed data =
on disk.
>=20
> Now resume the download, firefox tries to request range [68,712,649-]
> of uncompressed body

That's would be a bug in Firefox.  Are you sure it does that?
Please tell me you just made up these examples -- there are no commas
allowed in Content-Length and range specifiers.

> request 2
>  GET / HTTP/1.1
>  Accept-Encoding: gzip, deflate
>  Range: bytes=3D68,712,649-
>  If-Match: "135e962713f.gz"
>  If-Unmodified-Since: Tue, 06 Mar 2012 19:00:37 GMT
>=20
> response 2
>=20
>  HTTP/1.1 206 Partial Content
>  Accept-Ranges: bytes
>  Content-Range: bytes 68,712,649-182,249,278/182,249,279
>  Content-Encoding: gzip
>  ETag: "135e962713f.gz"
>  Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>  Content-Length: 113,536,630
>=20
> Unfortunately the server has no idea that the range is for the
> uncompressed body. It returns the range of the gzip-ed body, which
> seems to be the best choice. Then firefox fails since it expects
> uncompressed body.
>=20
> Is the server at fault here? Is there an understanding that Range is
> always for the "plain" body without any Content-Encoding?

The server is correct.  The UA would be broken.

Range is defined in terms of the entity-body (RFC2616) and the
representation body (p2, p5).  In both cases, the spec is clear
that Content-Encoding is part of that body, though we could add
more text to p5 to make that relationship clearer.

Transfer-Encoding is applied after the body.  That is, in fact,
the main reason Transfer-Encoding was defined -- C-E doesn't
work well for on-the-fly operations.  A UA cannot combine
on-the-fly decompression of C-E with range requests unless it
is retaining the original message in cache.

....Roy=


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 23:42:28 2012
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 4225D21F862A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 23:42:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R+75iMuRp9dP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 23:42:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 87FFD21F8617 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 23:42:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJf7B-0000dS-1P for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 06:40:57 +0000
Resent-Date: Thu, 04 Oct 2012 06:40:57 +0000
Resent-Message-Id: <E1TJf7B-0000dS-1P@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TJf79-0000cd-6q for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 06:40:55 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TJf78-00028b-BF for ietf-http-wg@w3.org; Thu, 04 Oct 2012 06:40:55 +0000
Received: by mail-vc0-f171.google.com with SMTP id m18so176942vcm.2 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 23:40:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9Vm0HtMKNptqzA03HBC1scSUijT+z/UR6+TK10YarRo=; b=m3ESQJZla2xmowkwec9BhUb1fswJBXpHDXDpJHecfPx6DsjO7Bs+98ww/d+CsVW4OX L/mmpxqvkNNe59M0+N4ow4KXgNz0hdN435rNinHeu5hzwEjRd+mh7/0UQVJMLciA6r/h o3p26EWHHENfp4Rwgy0FnKYXxjbBsG8Pa0skIX+cv97lmOjCb5Y56RzVconY1c8ubsyb 01H8j9mKc1lBREi5FctW9kUA0wl6yDS6ZOU0RGp7uzntQrLxTX3OVcPjK0MTItdsoGmb ygsOg4OMQLsiwxFcYWQMz5rt5S8ZdLW8gcL4AFyfRVDLAtpLrXLU9wqXhZ+JK/QlTcz1 ibLg==
MIME-Version: 1.0
Received: by 10.52.16.179 with SMTP id h19mr2066031vdd.107.1349332828463; Wed, 03 Oct 2012 23:40:28 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Wed, 3 Oct 2012 23:40:28 -0700 (PDT)
In-Reply-To: <81F671C4-AFCA-4755-BFAF-051908A6FC9F@gbiv.com>
References: <CACuKZqE=bau4Y_Ju=fucJ2q4htftgmE0BSaf0imx2kW1-Q=CZg@mail.gmail.com> <81F671C4-AFCA-4755-BFAF-051908A6FC9F@gbiv.com>
Date: Thu, 4 Oct 2012 01:40:28 -0500
Message-ID: <CACuKZqEeWgxUGKdZqPo9qPG7CxfrJ6m76Mj8a1-0y+bOuV-azA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.711, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJf78-00028b-BF fc749af955117085c3ddd0a4a33d0004
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Ambiguity in the Range header
Archived-At: <http://www.w3.org/mid/CACuKZqEeWgxUGKdZqPo9qPG7CxfrJ6m76Mj8a1-0y+bOuV-azA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15292
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>

On Thu, Oct 4, 2012 at 1:31 AM, Roy T. Fielding <fielding@gbiv.com> wrote:
> On Oct 3, 2012, at 10:04 PM, Zhong Yu wrote:
>
>> When a request contains a Range header, it specifies a (byte) range of
>> the representation body. However, the server doesn't know which
>> representation the client is talking about.
>
> The selected representation.
>
>> Here is an example of firefox failing to resume download a gzip-ed body:
>>
>> request 1
>>
>>  GET / HTTP/1.1
>>  Accept-Encoding: gzip, deflate
>>
>> response 1
>>
>>  HTTP/1.1 200 OK
>>  Accept-Ranges: bytes
>>  Content-Encoding: gzip
>>  ETag: "135e962713f.gz"
>>  Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>>  Content-Length: 182,249,279
>>
>> Firefox decompress the body on the fly, and saves the decompressed
>> content to disk.
>>
>> Now pause the download, firefox has 68,712,649 bytes decompressed data on disk.
>>
>> Now resume the download, firefox tries to request range [68,712,649-]
>> of uncompressed body
>
> That's would be a bug in Firefox.  Are you sure it does that?
> Please tell me you just made up these examples -- there are no commas
> allowed in Content-Length and range specifiers.

The commas are added by me for readability; other than that the
headers are all real.

After pausing the download, I checked the download folder, the partial
file is in the decompressed format, of length L. When resuming the
download, firefox sends "Range: L-", so I assume the range is intended
for the plain body.

>> request 2
>>  GET / HTTP/1.1
>>  Accept-Encoding: gzip, deflate
>>  Range: bytes=68,712,649-
>>  If-Match: "135e962713f.gz"
>>  If-Unmodified-Since: Tue, 06 Mar 2012 19:00:37 GMT
>>
>> response 2
>>
>>  HTTP/1.1 206 Partial Content
>>  Accept-Ranges: bytes
>>  Content-Range: bytes 68,712,649-182,249,278/182,249,279
>>  Content-Encoding: gzip
>>  ETag: "135e962713f.gz"
>>  Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>>  Content-Length: 113,536,630
>>
>> Unfortunately the server has no idea that the range is for the
>> uncompressed body. It returns the range of the gzip-ed body, which
>> seems to be the best choice. Then firefox fails since it expects
>> uncompressed body.
>>
>> Is the server at fault here? Is there an understanding that Range is
>> always for the "plain" body without any Content-Encoding?
>
> The server is correct.  The UA would be broken.
>
> Range is defined in terms of the entity-body (RFC2616) and the
> representation body (p2, p5).  In both cases, the spec is clear
> that Content-Encoding is part of that body, though we could add
> more text to p5 to make that relationship clearer.
>
> Transfer-Encoding is applied after the body.  That is, in fact,
> the main reason Transfer-Encoding was defined -- C-E doesn't
> work well for on-the-fly operations.  A UA cannot combine
> on-the-fly decompression of C-E with range requests unless it
> is retaining the original message in cache.
>
> ....Roy


From ietf-http-wg-request@listhub.w3.org  Wed Oct  3 23:56:39 2012
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 B2ECA21F860F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 23:56:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DIlyvLBpmDmD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  3 Oct 2012 23:56:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0831E21F860D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  3 Oct 2012 23:56:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJfKn-0006BW-Ib for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 06:55:01 +0000
Resent-Date: Thu, 04 Oct 2012 06:55:01 +0000
Resent-Message-Id: <E1TJfKn-0006BW-Ib@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TJfKl-0006AE-Po for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 06:54:59 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TJfKk-0002Sy-PW for ietf-http-wg@w3.org; Thu, 04 Oct 2012 06:54:59 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so175160vbb.2 for <ietf-http-wg@w3.org>; Wed, 03 Oct 2012 23:54:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bvIHUhNjEu4yjYOvHGDtg1P2uHsk9hNi9Kfk989oKGs=; b=n0N6sAsjJfzoUZDY+kmin8lBHPX35voeuJrjyK8JyaiqE5kVlhKYRDnVreF2c2A2Ws iNaoW24gXDlYOCfzBisR+SlaccE2lUUxSakh9sNSsf1ZkSbiA2qjXClJi8bhxLyx4g1b z/HU2gNeCNKkYK/oiAus6p3lZoOuE6acbmh8jvOo9mSLWx5Drujg2Ax3gamGvvc/oOoV zRe/+6th8CiIwp8NPEU+pPUviX/G8FUKNmK3nwXirBBfHOPWmhRzrTNvDKxzBlZhVGhN wXqbH8Ww6EFT5S/sZeGiYUp6OgyayfdMZ2fiq6w+rxxEnJVu+mLfEWhj+FReavTAb+KX M4bg==
MIME-Version: 1.0
Received: by 10.52.31.3 with SMTP id w3mr2067932vdh.33.1349333672647; Wed, 03 Oct 2012 23:54:32 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Wed, 3 Oct 2012 23:54:32 -0700 (PDT)
In-Reply-To: <81F671C4-AFCA-4755-BFAF-051908A6FC9F@gbiv.com>
References: <CACuKZqE=bau4Y_Ju=fucJ2q4htftgmE0BSaf0imx2kW1-Q=CZg@mail.gmail.com> <81F671C4-AFCA-4755-BFAF-051908A6FC9F@gbiv.com>
Date: Thu, 4 Oct 2012 01:54:32 -0500
Message-ID: <CACuKZqENUUV4xXQPf_av3GgTqtbZMmkn0PB0NhUQAVU7jmCJZw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-1.140, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJfKk-0002Sy-PW 6e044dc44e0e220daa8fd598a6f64374
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Ambiguity in the Range header
Archived-At: <http://www.w3.org/mid/CACuKZqENUUV4xXQPf_av3GgTqtbZMmkn0PB0NhUQAVU7jmCJZw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15293
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>

On Thu, Oct 4, 2012 at 1:31 AM, Roy T. Fielding <fielding@gbiv.com> wrote:
> On Oct 3, 2012, at 10:04 PM, Zhong Yu wrote:
>
>> When a request contains a Range header, it specifies a (byte) range of
>> the representation body. However, the server doesn't know which
>> representation the client is talking about.
>
> The selected representation.
>
>> Here is an example of firefox failing to resume download a gzip-ed body:
>>
>> request 1
>>
>>  GET / HTTP/1.1
>>  Accept-Encoding: gzip, deflate
>>
>> response 1
>>
>>  HTTP/1.1 200 OK
>>  Accept-Ranges: bytes
>>  Content-Encoding: gzip
>>  ETag: "135e962713f.gz"
>>  Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>>  Content-Length: 182,249,279
>>
>> Firefox decompress the body on the fly, and saves the decompressed
>> content to disk.
>>
>> Now pause the download, firefox has 68,712,649 bytes decompressed data on disk.
>>
>> Now resume the download, firefox tries to request range [68,712,649-]
>> of uncompressed body
>
> That's would be a bug in Firefox.  Are you sure it does that?

In which way this is a bug? How should Firefox behave?

> Please tell me you just made up these examples -- there are no commas
> allowed in Content-Length and range specifiers.
>
>> request 2
>>  GET / HTTP/1.1
>>  Accept-Encoding: gzip, deflate
>>  Range: bytes=68,712,649-
>>  If-Match: "135e962713f.gz"
>>  If-Unmodified-Since: Tue, 06 Mar 2012 19:00:37 GMT
>>
>> response 2
>>
>>  HTTP/1.1 206 Partial Content
>>  Accept-Ranges: bytes
>>  Content-Range: bytes 68,712,649-182,249,278/182,249,279
>>  Content-Encoding: gzip
>>  ETag: "135e962713f.gz"
>>  Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>>  Content-Length: 113,536,630
>>
>> Unfortunately the server has no idea that the range is for the
>> uncompressed body. It returns the range of the gzip-ed body, which
>> seems to be the best choice. Then firefox fails since it expects
>> uncompressed body.
>>
>> Is the server at fault here? Is there an understanding that Range is
>> always for the "plain" body without any Content-Encoding?
>
> The server is correct.  The UA would be broken.
>
> Range is defined in terms of the entity-body (RFC2616) and the
> representation body (p2, p5).  In both cases, the spec is clear
> that Content-Encoding is part of that body, though we could add
> more text to p5 to make that relationship clearer.
>
> Transfer-Encoding is applied after the body.  That is, in fact,
> the main reason Transfer-Encoding was defined -- C-E doesn't
> work well for on-the-fly operations.  A UA cannot combine
> on-the-fly decompression of C-E with range requests unless it
> is retaining the original message in cache.

At least Firefox doesn't send "TE" header. Any idea how many UAs
support response "Transfer-Encoding: gzip"?

Another confusion:  if Content-Type=multipart/byteranges,
Content-Encoding=gzip, what is gzip-ed exactly?  Is the message body

    gzip( multipart ( range ( plain_body ) ) )

or

    multipart ( range ( gzip (plain_body ) ) )

or something else?


>
> ....Roy


From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 00:23:50 2012
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 228DD21F85BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 00:23:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5qOe+KtIisDl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 00:23:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C57D321F85B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 00:23:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJfkO-0004nx-Nl for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 07:21:28 +0000
Resent-Date: Thu, 04 Oct 2012 07:21:28 +0000
Resent-Message-Id: <E1TJfkO-0004nx-Nl@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1TJfkM-0004nD-HC for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 07:21:26 +0000
Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a64.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1TJfkL-0000hC-E7 for ietf-http-wg@w3.org; Thu, 04 Oct 2012 07:21:26 +0000
Received: from homiemail-a64.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTP id D064E438079; Thu,  4 Oct 2012 00:21:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=6oJlhZ54Ir2zF+rrjP96tfBMT0Y=; b=NjZ6hTO29CEMMTsoxbo06HFs2kPm yC2Xp8yxln4/Mg//fBFTcZ1PD5tyuJu0BSIuXvPr4rgmqcBSPCItewFFhmG7tBzB vL+ur12aPzlFKCvY0BJLczv9nAs/d4xIF05363c5mIInWUYpnsj6vN0X1gw8fIZt Fed8NkWY6Z/A6/U=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTPSA id AD708438072; Thu,  4 Oct 2012 00:21:03 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <CACuKZqENUUV4xXQPf_av3GgTqtbZMmkn0PB0NhUQAVU7jmCJZw@mail.gmail.com>
Date: Thu, 4 Oct 2012 00:21:06 -0700
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <096EA7C7-98DD-4A3C-A411-0502E01517B9@gbiv.com>
References: <CACuKZqE=bau4Y_Ju=fucJ2q4htftgmE0BSaf0imx2kW1-Q=CZg@mail.gmail.com> <81F671C4-AFCA-4755-BFAF-051908A6FC9F@gbiv.com> <CACuKZqENUUV4xXQPf_av3GgTqtbZMmkn0PB0NhUQAVU7jmCJZw@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
X-Mailer: Apple Mail (2.1283)
Received-SPF: none client-ip=208.97.132.74; envelope-from=fielding@gbiv.com; helo=homiemail-a64.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.368, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1TJfkL-0000hC-E7 b7902a8895f54c731d54c1137325d523
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Ambiguity in the Range header
Archived-At: <http://www.w3.org/mid/096EA7C7-98DD-4A3C-A411-0502E01517B9@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15294
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>

On Oct 3, 2012, at 11:54 PM, Zhong Yu wrote:
> On Thu, Oct 4, 2012 at 1:31 AM, Roy T. Fielding <fielding@gbiv.com> =
wrote:
>> On Oct 3, 2012, at 10:04 PM, Zhong Yu wrote:
>>=20
>>> When a request contains a Range header, it specifies a (byte) range =
of
>>> the representation body. However, the server doesn't know which
>>> representation the client is talking about.
>>=20
>> The selected representation.
>>=20
>>> Here is an example of firefox failing to resume download a gzip-ed =
body:
>>>=20
>>> request 1
>>>=20
>>> GET / HTTP/1.1
>>> Accept-Encoding: gzip, deflate
>>>=20
>>> response 1
>>>=20
>>> HTTP/1.1 200 OK
>>> Accept-Ranges: bytes
>>> Content-Encoding: gzip
>>> ETag: "135e962713f.gz"
>>> Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>>> Content-Length: 182,249,279
>>>=20
>>> Firefox decompress the body on the fly, and saves the decompressed
>>> content to disk.
>>>=20
>>> Now pause the download, firefox has 68,712,649 bytes decompressed =
data on disk.
>>>=20
>>> Now resume the download, firefox tries to request range =
[68,712,649-]
>>> of uncompressed body
>>=20
>> That's would be a bug in Firefox.  Are you sure it does that?
>=20
> In which way this is a bug? How should Firefox behave?

As I explained, it should be caching the original message and
making range requests based on that -- not based on arbitrary
decompressed disk files.

>> Please tell me you just made up these examples -- there are no commas
>> allowed in Content-Length and range specifiers.
>>=20
>>> request 2
>>> GET / HTTP/1.1
>>> Accept-Encoding: gzip, deflate
>>> Range: bytes=3D68,712,649-
>>> If-Match: "135e962713f.gz"
>>> If-Unmodified-Since: Tue, 06 Mar 2012 19:00:37 GMT
>>>=20
>>> response 2
>>>=20
>>> HTTP/1.1 206 Partial Content
>>> Accept-Ranges: bytes
>>> Content-Range: bytes 68,712,649-182,249,278/182,249,279
>>> Content-Encoding: gzip
>>> ETag: "135e962713f.gz"
>>> Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>>> Content-Length: 113,536,630
>>>=20
>>> Unfortunately the server has no idea that the range is for the
>>> uncompressed body. It returns the range of the gzip-ed body, which
>>> seems to be the best choice. Then firefox fails since it expects
>>> uncompressed body.
>>>=20
>>> Is the server at fault here? Is there an understanding that Range is
>>> always for the "plain" body without any Content-Encoding?
>>=20
>> The server is correct.  The UA would be broken.
>>=20
>> Range is defined in terms of the entity-body (RFC2616) and the
>> representation body (p2, p5).  In both cases, the spec is clear
>> that Content-Encoding is part of that body, though we could add
>> more text to p5 to make that relationship clearer.
>>=20
>> Transfer-Encoding is applied after the body.  That is, in fact,
>> the main reason Transfer-Encoding was defined -- C-E doesn't
>> work well for on-the-fly operations.  A UA cannot combine
>> on-the-fly decompression of C-E with range requests unless it
>> is retaining the original message in cache.
>=20
> At least Firefox doesn't send "TE" header. Any idea how many UAs
> support response "Transfer-Encoding: gzip"?

Opera and a few command-line clients, that I know of.  It has
always been a chicken and egg problem to get T-E deployed.

> Another confusion:  if Content-Type=3Dmultipart/byteranges,
> Content-Encoding=3Dgzip, what is gzip-ed exactly?  Is the message body
>=20
>    gzip( multipart ( range ( plain_body ) ) )
>=20
> or
>=20
>    multipart ( range ( gzip (plain_body ) ) )
>=20
> or something else?

The second one.

As in RFC2616 (I'd quote from p2, but we are just about to push
a new draft), ranges are applied to the entity-body that would be
sent in a normal GET, which in turn consists of:

7.2.1 Type

   When an entity-body is included with a message, the data type of that
   body is determined via the header fields Content-Type and Content-
   Encoding. These define a two-layer, ordered encoding model:

       entity-body :=3D Content-Encoding( Content-Type( data ) )

   Content-Type specifies the media type of the underlying data.
   Content-Encoding may be used to indicate any additional content
   codings applied to the data, usually for the purpose of data
   compression, that are a property of the requested resource. There is
   no default encoding.

This is easier to describe in httpbis p2, right now, because
we separated entity into two distinct things: payload (what is in
a message) and representation (the content on which the message
payload is based).  The Range header field in p5 is still a bit
opaque on the topic.

....Roy



From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 00:35:17 2012
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 8C58C21F8620 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 00:35:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.424
X-Spam-Level: 
X-Spam-Status: No, score=-8.424 tagged_above=-999 required=5 tests=[AWL=2.175, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5IJfV04jGbDH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 00:35:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B87E321F861B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 00:35:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJfvg-00036o-Sr for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 07:33:08 +0000
Resent-Date: Thu, 04 Oct 2012 07:33:08 +0000
Resent-Message-Id: <E1TJfvg-00036o-Sr@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1TJfve-00035v-AX for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 07:33:06 +0000
Received: from mailgw7.ericsson.se ([193.180.251.48]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1TJfvd-000176-3j for ietf-http-wg@w3.org; Thu, 04 Oct 2012 07:33:06 +0000
X-AuditID: c1b4fb30-b7f7d6d0000042ea-27-506d3b992409
Received: from esessmw0247.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw7.ericsson.se (Symantec Mail Security) with SMTP id 61.C4.17130.99B3D605; Thu,  4 Oct 2012 09:32:41 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0247.eemea.ericsson.se (153.88.115.94) with Microsoft SMTP Server id 8.3.279.1; Thu, 4 Oct 2012 09:32:41 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3])	by mail.lmf.ericsson.se (Postfix) with ESMTP id CF15D2AD5	for <ietf-http-wg@w3.org>; Thu,  4 Oct 2012 10:32:40 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 53D2753862	for <ietf-http-wg@w3.org>; Thu,  4 Oct 2012 10:32:40 +0300 (EEST)
Received: from ip-193-234-217-78.guest.ericsson.fi (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 06FC95267E	for <ietf-http-wg@w3.org>; Thu,  4 Oct 2012 10:32:39 +0300 (EEST)
Message-ID: <506D3B97.5060605@ericsson.com>
Date: Thu, 4 Oct 2012 10:32:39 +0300
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <514B1545-521C-4E7E-BFAB-538B73E5157F@checkpoint.com> <5031F48A.2050608@gmx.de> <4623CB2E-7E5B-47BD-BE58-9AEAA2211940@checkpoint.com> <20120820085917.GC11752@1wt.eu> <1345470312.2877.55.camel@ds9> <CAH_y2NEv8CEBzQcWaCBZuZr_Ry1EO1nKzStjgEuhG6uS09TNJQ@mail.gmail.com> <20121001170324.GJ23395@1wt.eu>
In-Reply-To: <20121001170324.GJ23395@1wt.eu>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsUyM+Jvre5M69wAgzPnlC0Ot8xicmD0ODpv P2sAYxSXTUpqTmZZapG+XQJXxusf05kKegQrnhxdxNzA+Iuni5GTQ0LAROLKuuPsELaYxIV7 69m6GLk4hAROMUr0zZjGBOGsZ5SYcaybGcK5yiixZOkddgjnBKPEkX/tUJmLjBIvzp1lAxnG K6Atceb2JFYQm0VAReLQhdnMIDabgJnE84dbwGxRgWSJ3vk7GSHqBSVOznzCAmKLCIhLdN3f ARYXFlCVuHC+nwViwVYmie8du4CO4uDgFNCRuPQ2C6SGWcBW4sKc6ywQtrzE9rdzmCEeUpO4 em4TmC0koCXRe7aTaQKjyCwk62YhaZ+FpH0BI/MqRuHcxMyc9HJzvdSizOTi4vw8veLUTYzA MD+45bfBDsZN98UOMUpzsCiJ8+qp7vcXEkhPLEnNTk0tSC2KLyrNSS0+xMjEwSnVwKg194IR r2kd652Fi18fCzT9apTDwWPeoTCt807hPclEsfIjjcvSWt6xGpm7nNL5mPxozk+/m8uuffdZ 3dDVwtrXd/tQyAWRZJV2GU+rypt7Cl4tFPS8FTLJTr9Ie8kht8Oxf82tWGa8/Pr8UtyMlt0B q9O8+Ha8/sTW71PLJnW+KvpBuvtfDyWW4oxEQy3mouJEAL0Qb4tBAgAA
Received-SPF: pass client-ip=193.180.251.48; envelope-from=salvatore.loreto@ericsson.com; helo=mailgw7.ericsson.se
X-W3C-Hub-Spam-Status: No, score=-2.3
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJfvd-000176-3j d877cde4f0fd2f4438cc882375a89025
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP 1.1 --> 2.0 Upgrade
Archived-At: <http://www.w3.org/mid/506D3B97.5060605@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15295
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>

Hi there,

I like the Patrick analysis as it tries to cover all the different 
aspects of the issue.

for Case 1 - NPN based, the major issue I see is the lack of progress  
the proposal is doing within the TLS wg
                   (note I may be wrong as I don't follow so closely the 
TLS wg)

for Case 2 - it is interesting to see a proposal based on DNS SRV. is 
that a too optimistic one,
                    also due to the fact that browser are not really 
supporting (is this still true?) SRV at moment?

having said that, I am with Greg and Willy about the fact that Upgrade 
is the way to go,
also because that was the main reason why Upgrade was defined at the time.
However I am open and eager to investigate optimization.

So to summarize I support 3b but open to discuss about 3a

/Sal

-- 
Salvatore Loreto, PhD
www.sloreto.com




On 10/1/12 8:03 PM, Willy Tarreau wrote:
> Hi Greg,
>
> On Mon, Oct 01, 2012 at 09:49:42AM -0700, Greg Wilkins wrote:
>> Patrick,
>>
>> this is a good analysis, but my main quibble is that case 3b should be
>> renumbered to be case 0
>>
>> Connecting to port 80 and upgrading to the protocol/version that you
>> want to use should be the basically defined way that a http semantic
>> connection is established, regardless of wire protocol and version
>> used.  All other mechanisms (NPN on 443, DNS SRV, cached redirection
>> to known HTTP/2.0 ports) should all be considered as optimisations of
>> the basic case.
>>
>> Saving round trips is important and I'm all for optimisations for that
>> - but I think it is a MUST that HTTP/2.0 will work in an environment
>> where there is only port 80 and the ability to make a single
>> connection.
>>
>> So I guess that means I support both  3a and 3b.
>>
>> cheers
>>
>> PS.  Does upgrade really mean an extra round trip?  Can't we pipeline
>> HTTP/2.0 request behind the upgrade request if we are confident of
>> success?
> There are possibilities for this that we discussed in the network-friendly
> draft, basically pass a few URIs in a dedicated header field that the server
> is free to consider or not.
>
> Willy
>
>
>



From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 02:56:53 2012
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 57D2521F86D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 02:56:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.512
X-Spam-Level: 
X-Spam-Status: No, score=-6.512 tagged_above=-999 required=5 tests=[AWL=4.087, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y0pBSMT+N-53 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 02:56:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 831CF21F8703 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 02:56:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJi8b-0001Uy-4s for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 09:54:37 +0000
Resent-Date: Thu, 04 Oct 2012 09:54:37 +0000
Resent-Message-Id: <E1TJi8b-0001Uy-4s@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi8Y-0001UF-7w for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 09:54:34 +0000
Received: from mail.ietf.org ([64.170.98.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi8X-0005r9-3k for ietf-http-wg@w3.org; Thu, 04 Oct 2012 09:54:34 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C00521F86C4 for <ietf-http-wg@w3.org>; Thu,  4 Oct 2012 02:54:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d6g4TgIlg4Sa; Thu,  4 Oct 2012 02:54:06 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A01521F86B7; Thu,  4 Oct 2012 02:54:06 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.34
Message-ID: <20121004095406.19943.79799.idtracker@ietfa.amsl.com>
Date: Thu, 04 Oct 2012 02:54:06 -0700
Received-SPF: pass client-ip=64.170.98.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-2.1
X-W3C-Hub-Spam-Report: RP_MATCHES_RCVD=-2.145, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJi8X-0005r9-3k dfe5a1fe17292eb9d44e9d5c55dbb6b8
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p2-semantics-21.txt
Archived-At: <http://www.w3.org/mid/20121004095406.19943.79799.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15296
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Hypertext Transfer Protocol (HTTP/1.1): Semantics and Co=
ntent
	Author(s)       : Roy T. Fielding
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p2-semantics-21.txt
	Pages           : 112
	Date            : 2012-10-04

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypertext information
   systems.  This document defines the semantics of HTTP/1.1 messages,
   as expressed by request methods, request header fields, response
   status codes, and response header fields, along with the payload of
   messages (metadata and body content) and mechanisms for content
   negotiation.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p2-semantics

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p2-semantics-21


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 02:56:53 2012
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 661C521F86D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 02:56:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.549
X-Spam-Level: 
X-Spam-Status: No, score=-6.549 tagged_above=-999 required=5 tests=[AWL=4.050, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4KxI6-edzg5O for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 02:56:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8326D21F8704 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 02:56:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJi8o-0001Xn-H9 for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 09:54:50 +0000
Resent-Date: Thu, 04 Oct 2012 09:54:50 +0000
Resent-Message-Id: <E1TJi8o-0001Xn-H9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi8l-0001X3-Vj for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 09:54:48 +0000
Received: from mail.ietf.org ([64.170.98.30]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi8l-00085c-3v for ietf-http-wg@w3.org; Thu, 04 Oct 2012 09:54:47 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7930F21F86DA for <ietf-http-wg@w3.org>; Thu,  4 Oct 2012 02:54:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CkRI1qM8Mqoc; Thu,  4 Oct 2012 02:54:21 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 07AA421F86CE; Thu,  4 Oct 2012 02:54:21 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.34
Message-ID: <20121004095421.20954.97082.idtracker@ietfa.amsl.com>
Date: Thu, 04 Oct 2012 02:54:21 -0700
Received-SPF: pass client-ip=64.170.98.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RP_MATCHES_RCVD=-2.145, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJi8l-00085c-3v eb964700ae79838b5dd5e7bb19b6ef48
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p4-conditional-21.txt
Archived-At: <http://www.w3.org/mid/20121004095421.20954.97082.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15298
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Hypertext Transfer Protocol (HTTP/1.1): Conditional Requ=
ests
	Author(s)       : Roy T. Fielding
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p4-conditional-21.txt
	Pages           : 25
	Date            : 2012-10-04

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypertext information
   systems.  This document defines HTTP/1.1 conditional requests,
   including metadata header fields for indicating state changes,
   request header fields for making preconditions on such state, and
   rules for constructing the responses to a conditional request when
   one or more preconditions evaluate to false.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p4-conditional

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-21

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p4-conditional-21


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 02:56:53 2012
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 6594421F86D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 02:56:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.531
X-Spam-Level: 
X-Spam-Status: No, score=-6.531 tagged_above=-999 required=5 tests=[AWL=4.068, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wjEs8Td3Vh4Z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 02:56:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5D30521F86E8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 02:56:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJi90-0001ap-64 for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 09:55:02 +0000
Resent-Date: Thu, 04 Oct 2012 09:55:02 +0000
Resent-Message-Id: <E1TJi90-0001ap-64@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi8y-0001Yc-Im for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 09:55:00 +0000
Received: from mail.ietf.org ([64.170.98.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi8x-0005t8-Mc for ietf-http-wg@w3.org; Thu, 04 Oct 2012 09:55:00 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A04A21F86F5 for <ietf-http-wg@w3.org>; Thu,  4 Oct 2012 02:54:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AE8bjDeHUdUV; Thu,  4 Oct 2012 02:54:31 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6E0B521F86EC; Thu,  4 Oct 2012 02:54:31 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.34
Message-ID: <20121004095431.29144.11284.idtracker@ietfa.amsl.com>
Date: Thu, 04 Oct 2012 02:54:31 -0700
Received-SPF: pass client-ip=64.170.98.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-2.1
X-W3C-Hub-Spam-Report: RP_MATCHES_RCVD=-2.145, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJi8x-0005t8-Mc 3a6a61b13dd7c7a67a1f3dbabfac40b1
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p6-cache-21.txt
Archived-At: <http://www.w3.org/mid/20121004095431.29144.11284.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15300
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Hypertext Transfer Protocol (HTTP/1.1): Caching
	Author(s)       : Roy T. Fielding
                          Mark Nottingham
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p6-cache-21.txt
	Pages           : 41
	Date            : 2012-10-04

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypertext information
   systems.  This document defines requirements on HTTP caches and the
   associated header fields that control cache behavior or indicate
   cacheable response messages.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p6-cache

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-21

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p6-cache-21


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 02:56:53 2012
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 90A2D21F86D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 02:56:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.567
X-Spam-Level: 
X-Spam-Status: No, score=-6.567 tagged_above=-999 required=5 tests=[AWL=4.032, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4X6nYxahmsSL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 02:56:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8086E21F8702 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 02:56:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJi8b-0001VT-W5 for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 09:54:38 +0000
Resent-Date: Thu, 04 Oct 2012 09:54:37 +0000
Resent-Message-Id: <E1TJi8b-0001VT-W5@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi8W-0001U2-SE for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 09:54:32 +0000
Received: from mail.ietf.org ([64.170.98.30]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi8R-00083g-8L for ietf-http-wg@w3.org; Thu, 04 Oct 2012 09:54:32 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B8F321F86B1 for <ietf-http-wg@w3.org>; Thu,  4 Oct 2012 02:54:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BDLIIRTpDtHn; Thu,  4 Oct 2012 02:54:00 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78A1421F8694; Thu,  4 Oct 2012 02:54:00 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.34
Message-ID: <20121004095400.20902.3277.idtracker@ietfa.amsl.com>
Date: Thu, 04 Oct 2012 02:54:00 -0700
Received-SPF: pass client-ip=64.170.98.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RP_MATCHES_RCVD=-2.145, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJi8R-00083g-8L 6ca342074fb5f50e502d5e35564ecff1
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p1-messaging-21.txt
Archived-At: <http://www.w3.org/mid/20121004095400.20902.3277.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15297
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Hypertext Transfer Protocol (HTTP/1.1): Message Syntax a=
nd Routing
	Author(s)       : Roy T. Fielding
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p1-messaging-21.txt
	Pages           : 90
	Date            : 2012-10-04

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypertext information
   systems.  HTTP has been in use by the World Wide Web global
   information initiative since 1990.  This document provides an
   overview of HTTP architecture and its associated terminology, defines
   the "http" and "https" Uniform Resource Identifier (URI) schemes,
   defines the HTTP/1.1 message syntax and parsing requirements, and
   describes general security concerns for implementations.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p1-messaging

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-21

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p1-messaging-21


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 02:56:53 2012
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 C25DA21F86D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 02:56:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.584
X-Spam-Level: 
X-Spam-Status: No, score=-6.584 tagged_above=-999 required=5 tests=[AWL=4.015, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H27rCb4-m6Lc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 02:56:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71B7921F86EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 02:56:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJi8s-0001YV-1k for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 09:54:54 +0000
Resent-Date: Thu, 04 Oct 2012 09:54:54 +0000
Resent-Message-Id: <E1TJi8s-0001YV-1k@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi8q-0001Xq-CE for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 09:54:52 +0000
Received: from mail.ietf.org ([64.170.98.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi8p-0005rf-Br for ietf-http-wg@w3.org; Thu, 04 Oct 2012 09:54:52 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CEE0A21F86E8 for <ietf-http-wg@w3.org>; Thu,  4 Oct 2012 02:54:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5m4BxPuv2cBP; Thu,  4 Oct 2012 02:54:25 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 43D4821F86DE; Thu,  4 Oct 2012 02:54:25 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.34
Message-ID: <20121004095425.20952.58151.idtracker@ietfa.amsl.com>
Date: Thu, 04 Oct 2012 02:54:25 -0700
Received-SPF: pass client-ip=64.170.98.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-2.1
X-W3C-Hub-Spam-Report: RP_MATCHES_RCVD=-2.145, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJi8p-0005rf-Br b3c6d7bb695e65128e35ccf9f37ad417
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p5-range-21.txt
Archived-At: <http://www.w3.org/mid/20121004095425.20952.58151.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15299
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Hypertext Transfer Protocol (HTTP/1.1): Range Requests
	Author(s)       : Roy T. Fielding
                          Yves Lafon
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p5-range-21.txt
	Pages           : 24
	Date            : 2012-10-04

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypertext information
   systems.  This document defines range requests and the rules for
   constructing and combining responses to those requests.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p5-range

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-21

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p5-range-21


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 03:36:10 2012
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 BC1AD21F8687 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 03:36:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.602
X-Spam-Level: 
X-Spam-Status: No, score=-6.602 tagged_above=-999 required=5 tests=[AWL=3.997, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vBEAsgLIngc1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 03:36:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5212321F8611 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 03:36:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJi9E-0002r2-7f for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 09:55:16 +0000
Resent-Date: Thu, 04 Oct 2012 09:55:16 +0000
Resent-Message-Id: <E1TJi9E-0002r2-7f@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi9C-0002py-CJ for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 09:55:14 +0000
Received: from mail.ietf.org ([64.170.98.30]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TJi9B-0005tJ-Eb for ietf-http-wg@w3.org; Thu, 04 Oct 2012 09:55:14 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 331D521F86F4 for <ietf-http-wg@w3.org>; Thu,  4 Oct 2012 02:54:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8YD-cuO4oFzh; Thu,  4 Oct 2012 02:54:39 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F40121F86F3; Thu,  4 Oct 2012 02:54:39 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.34
Message-ID: <20121004095439.7092.80157.idtracker@ietfa.amsl.com>
Date: Thu, 04 Oct 2012 02:54:39 -0700
Received-SPF: pass client-ip=64.170.98.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-2.1
X-W3C-Hub-Spam-Report: RP_MATCHES_RCVD=-2.145, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJi9B-0005tJ-Eb 610b12805661c35d7dc36ac626bd91c6
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-p7-auth-21.txt
Archived-At: <http://www.w3.org/mid/20121004095439.7092.80157.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15301
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Hypertext Transfer Protocol (HTTP/1.1): Authentication
	Author(s)       : Roy T. Fielding
                          Julian F. Reschke
	Filename        : draft-ietf-httpbis-p7-auth-21.txt
	Pages           : 18
	Date            : 2012-10-04

Abstract:
   The Hypertext Transfer Protocol (HTTP) is an application-level
   protocol for distributed, collaborative, hypermedia information
   systems.  This document defines the HTTP Authentication framework.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-p7-auth

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-21

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p7-auth-21


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 05:52:00 2012
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 ECB9B21F86B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 05:52:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.985
X-Spam-Level: 
X-Spam-Status: No, score=-6.985 tagged_above=-999 required=5 tests=[AWL=3.614, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PXW5W1tINS2q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 05:52:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4B61B21F86AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 05:52:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJkrz-0003RL-Mw for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 12:49:39 +0000
Resent-Date: Thu, 04 Oct 2012 12:49:39 +0000
Resent-Message-Id: <E1TJkrz-0003RL-Mw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TJkrx-0003Pu-BC for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 12:49:37 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TJkrt-0003rQ-2S for ietf-http-wg@w3.org; Thu, 04 Oct 2012 12:49:37 +0000
Received: (qmail invoked by alias); 04 Oct 2012 12:49:06 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp038) with SMTP; 04 Oct 2012 14:49:06 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19oCvA2CTJoQqlj63BmvX0BOCbnfFasmyE2daQTso x9IoWcPAIPkJC8
Message-ID: <506D85C0.7010007@gmx.de>
Date: Thu, 04 Oct 2012 14:49:04 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJkrt-0003rQ-2S 583a3a1b15f2b49ee8a3ae4a8204f2c4
X-Original-To: ietf-http-wg@w3.org
Subject: httpbis -21 drafts
Archived-At: <http://www.w3.org/mid/506D85C0.7010007@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15302
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>

Hi there,

we just published the -21 drafts of Part 1 through 7 which reflect the
progress we made since the Vancouver IETF meeting.

Overviews are in the appendices:

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-21.html#changes.since.20>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-21.html#changes.since.20>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p4-conditional-21.html#changes.since.20>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p5-range-21.html#changes.since.20>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p6-cache-21.html#changes.since.20>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p7-auth-21.html#changes.since.20>

Diffs:

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p1-messaging/draft-ietf-httpbis-p1-messaging-21-from-20.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p2-semantics/draft-ietf-httpbis-p2-semantics-21-from-20.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p4-conditional/draft-ietf-httpbis-p4-conditional-21-from-20.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p5-range/draft-ietf-httpbis-p5-range-21-from-20.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p6-cache/draft-ietf-httpbis-p6-cache-21-from-20.diff.html>

<http://tools.ietf.org/wg/httpbis/draft-ietf-httpbis-p7-auth/draft-ietf-httpbis-p7-auth-21-from-20.diff.html>

Note that the HTML versions:

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/21/p1-messaging.html

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/21/p2-semantics.html

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/21/p4-conditional.html

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/21/p5-range.html

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/21/p6-cache.html

https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/21/p7-auth.html

come with feedback links that should make it really simple to provide
quick comments.

Mark Nottingham, our WG chair, will follow up with a list of tickets
we'd like to close as fixed soonish.

Feedback appreciated, Julian




From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 07:02:11 2012
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 F09E821F8634 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 07:02:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.475
X-Spam-Level: 
X-Spam-Status: No, score=-6.475 tagged_above=-999 required=5 tests=[AWL=3.502, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K7aWDSJZYTg0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 07:02:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2971A21F8624 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 07:02:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJlxf-00009o-LT for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 13:59:35 +0000
Resent-Date: Thu, 04 Oct 2012 13:59:35 +0000
Resent-Message-Id: <E1TJlxf-00009o-LT@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1TJlxd-000098-GI for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 13:59:33 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1TJlxc-00008K-Co for ietf-http-wg@w3.org; Thu, 04 Oct 2012 13:59:33 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so379478lbo.2 for <ietf-http-wg@w3.org>; Thu, 04 Oct 2012 06:59:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=pYy3a15NwRmtkM4669/89Amk+GePV5DFZtF9i4mr0Rg=; b=icoqp3GsrUxZXxVbq1c9vJRKWB5YlVPLgwUuYy2hJT4J2YxS7okLxerqKdALwRIcJq gbD1+a2znsGT645FIgjz8pPzM74kVXQVZZnIGbMycgyePV2EOGTME+g3MihGSY1jrKwA jUV2Ypb9jviOAVaGWsgvmSEboaetzWTERSuZvk71noi+NaEFQuzGUnG9MEeLaYtn1Xq5 V55htmgBEAfDFJtvSWtc2Ki1o3UciJk5mGhmMw05lG9BNnN/0BLWIQPSYcpZkOlTE/h4 DrMPmoE/bkt4h93pLTKNiRPKCH8Rwr9X78g7J8+iiSZr6wM7VtxfDPL5WaaRP1m9of37 yE8A==
MIME-Version: 1.0
Received: by 10.112.101.41 with SMTP id fd9mr693325lbb.132.1349359145553; Thu, 04 Oct 2012 06:59:05 -0700 (PDT)
Sender: barryleiba.mailing.lists@gmail.com
Received: by 10.112.150.194 with HTTP; Thu, 4 Oct 2012 06:59:05 -0700 (PDT)
In-Reply-To: <506D85C0.7010007@gmx.de>
References: <506D85C0.7010007@gmx.de>
Date: Thu, 4 Oct 2012 09:59:05 -0400
X-Google-Sender-Auth: 0EShJEndrLkjYCMFGg7KdNKZA8s
Message-ID: <CAC4RtVAg8XoK+=neC9+sYzKtKSeC3bHibBQ=ptWrt5HxTy_3bA@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.217.171; envelope-from=barryleiba.mailing.lists@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-1.586, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TJlxc-00008K-Co 04a28e39d784cd24c11193fc3b062b22
X-Original-To: ietf-http-wg@w3.org
Subject: Re: httpbis -21 drafts
Archived-At: <http://www.w3.org/mid/CAC4RtVAg8XoK+=neC9+sYzKtKSeC3bHibBQ=ptWrt5HxTy_3bA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15303
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>

> we just published the -21 drafts of Part 1 through 7 which reflect the
> progress we made since the Vancouver IETF meeting.

No update to part 3 ?

Barry


From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 07:13:48 2012
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 A7D8521F8658 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 07:13:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.149
X-Spam-Level: 
X-Spam-Status: No, score=-7.149 tagged_above=-999 required=5 tests=[AWL=3.450, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BCy-8T42nocD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 07:13:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D4DEC21F864A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 07:13:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJm9d-0007ov-P6 for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 14:11:57 +0000
Resent-Date: Thu, 04 Oct 2012 14:11:57 +0000
Resent-Message-Id: <E1TJm9d-0007ov-P6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TJm9X-0007jg-CE for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 14:11:51 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TJm9R-0007e7-AD for ietf-http-wg@w3.org; Thu, 04 Oct 2012 14:11:51 +0000
Received: (qmail invoked by alias); 04 Oct 2012 14:11:17 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp071) with SMTP; 04 Oct 2012 16:11:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19SGHgiaARSOJzNjkCapMoIBb2l3BoZ6ev8Jfv49E AhJTIowQmNQXGA
Message-ID: <506D9903.7010101@gmx.de>
Date: Thu, 04 Oct 2012 16:11:15 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: Barry Leiba <barryleiba@computer.org>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <506D85C0.7010007@gmx.de> <CAC4RtVAg8XoK+=neC9+sYzKtKSeC3bHibBQ=ptWrt5HxTy_3bA@mail.gmail.com>
In-Reply-To: <CAC4RtVAg8XoK+=neC9+sYzKtKSeC3bHibBQ=ptWrt5HxTy_3bA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-2.957, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJm9R-0007e7-AD b8f440d7086911da85b5c54c994c329b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: httpbis -21 drafts
Archived-At: <http://www.w3.org/mid/506D9903.7010101@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15304
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>

On 2012-10-04 15:59, Barry Leiba wrote:
>> we just published the -21 drafts of Part 1 through 7 which reflect the
>> progress we made since the Vancouver IETF meeting.
>
> No update to part 3 ?
>
> Barry

There is no Part 3 anymore (the one in the -20 was just a tombstone).

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Thu Oct  4 12:12:40 2012
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 6697721F855E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 12:12:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.548
X-Spam-Level: 
X-Spam-Status: No, score=-7.548 tagged_above=-999 required=5 tests=[AWL=3.050, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QrIbLE0xsnRi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  4 Oct 2012 12:12:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4164521F8592 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  4 Oct 2012 12:12:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TJqni-0002Sy-9d for ietf-http-wg-dist@listhub.w3.org; Thu, 04 Oct 2012 19:09:38 +0000
Resent-Date: Thu, 04 Oct 2012 19:09:38 +0000
Resent-Message-Id: <E1TJqni-0002Sy-9d@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJqnf-0002SI-HQ for ietf-http-wg@listhub.w3.org; Thu, 04 Oct 2012 19:09:35 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TJqnd-0001a0-UV for ietf-http-wg@w3.org; Thu, 04 Oct 2012 19:09:35 +0000
Received: by mail-wi0-f179.google.com with SMTP id hq7so1007543wib.8 for <ietf-http-wg@w3.org>; Thu, 04 Oct 2012 12:09:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=TNk1KNEap+0KaFsq2+pqUU2ixLrtGwOe5WPP33DlNI4=; b=mFjwV6xPcLyRmEvJMoO1Ss29TCoZkRrwpbH/+EiR43imaPAHQgPazpkzbTSYk1Di0G fZZOJfWdeCUKpe4+pAfjCFYgV/1VJJaZZYKx2gSmMJL0/BzT9wlGwplEpkDQop+o7pT2 Qp5zLCNFn6O2QY3l8CzeyXkpCqpvxz8EUIoOlQF/M5t+tsvO464s7ICKrCI7EGqEx8iT JD7zSM/dsQJPE8WhL5qlDt88ox8xS+VzDbzPdWb0vevFVBrglt44hJwR9l27VbTynPxP f5KgcHiC0qMaeiHM8hJbtzOgAp5dmBX7dimqg6csbbq36Xof33XvSqgvh4wSYGn0T39T rmng==
Received: by 10.180.102.164 with SMTP id fp4mr40092379wib.13.1349377746901; Thu, 04 Oct 2012 12:09:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Thu, 4 Oct 2012 12:08:46 -0700 (PDT)
In-Reply-To: <CAOeYYRdHo7AuWGOpn1xQ4fwcMR6DFOm92bdFsb=F2z1S0pEPCg@mail.gmail.com>
References: <CABP7Rbfkvc_gsSESd2mHiLaYO5Ng2g0JZ4VYB2kYQcY2OX+aLg@mail.gmail.com> <445F70104F72BC4CBF0FBDE14145833F51A2D82D@SEAEMBX01.olympus.F5Net.com> <CAOeYYRdHo7AuWGOpn1xQ4fwcMR6DFOm92bdFsb=F2z1S0pEPCg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Thu, 4 Oct 2012 12:08:46 -0700
Message-ID: <CABP7RbdDeNQWMP8Jh0+PWVYRfzj-S44AqknXXpWP-NCD7+7sQw@mail.gmail.com>
To: Ashok Kumar <ashokkumar.j@gmail.com>
Cc: Jeroen de Borst <J.deBorst@f5.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04462e6445998f04cb407d63
Received-SPF: pass client-ip=209.85.212.179; envelope-from=jasnell@gmail.com; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TJqnd-0001a0-UV 1d06e0bcac61841dbf24ea58380d6db6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Updated Binary Optimized Header Encoding Draft
Archived-At: <http://www.w3.org/mid/CABP7RbdDeNQWMP8Jh0+PWVYRfzj-S44AqknXXpWP-NCD7+7sQw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15305
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>

--f46d04462e6445998f04cb407d63
Content-Type: text/plain; charset=UTF-8

On Wed, Oct 3, 2012 at 10:04 PM, Ashok Kumar <ashokkumar.j@gmail.com> wrote:

> So according to this, if you need multiple binary encoded values, then the
> values themselves can't contain NUL. If they do, then does framing layer
> take responsibility of escaping it or base-64 encode the entire value?
>
>
Yes, that is one existing limitation of this mechanism that I have not
entirely worked out a great solution for.

fwiw, I'm not yet convinced that bohe is something we absolutely need, I
submitted the draft to contribute concrete thoughts to the overall
discussion. There are certainly many such details that would need to be
considered.


> Also, since its very common that clients get updated/upgraded almost (or
> should I say atleast) once a month, and servers/proxies get upgraded only
> when there are some critical patches, how do the two agree on registered
> headers? (this example may be wrong, but let's say, x-forwarded-for becomes
> Forwarded), What is the behavior if the client/server is sending an ID
> which is beyond what the host knows?
>

The integer values for each header would be established via (and assigned
by) the IANA registry. The behavior when an unknown ID is encountered is no
different than when an unknown header is included in a http/1.1 request or
response. Generally, they will be ignored and passed through untouched.

- James


>
> On Thu, Oct 4, 2012 at 9:32 AM, Jeroen de Borst <J.deBorst@f5.com> wrote:
>
>>  This is very similar to what was done in WAP (WSP 1.x specifically).****
>>
>> ** **
>>
>> See section 8.4 in
>> http://www.wapforum.org/tech/documents/WAP-203-WSP-20000504-a.pdf****
>>
>> ** **
>>
>> Does this have to be re-invented? Are there significant benefits?****
>>
>> ** **
>>
>> Thanks,****
>>
>> Jeroen****
>>
>> ** **
>>
>> ** **
>>
>> *From:* James M Snell [mailto:jasnell@gmail.com]
>> *Sent:* Wednesday, October 03, 2012 10:08 AM
>> *To:* ietf-http-wg@w3.org
>> *Subject:* Updated Binary Optimized Header Encoding Draft****
>>
>> ** **
>>
>> FYI.. I have submitted an updated draft for the proposed Binary Optimized
>> Header Encoding mechanism for the http2 effort. ****
>>
>> ** **
>>
>>   http://www.ietf.org/id/draft-snell-httpbis-bohe-01.txt****
>>
>> ** **
>>
>> A number of fairly significant changes have been made:****
>>
>> ** **
>>
>>   1. The codepage identifier for registered header tokens has been
>> removed.****
>>
>>   2. The Per-header flags field has been removed and replaced with
>> specific individual bits to indicate character-based values and multiple
>> values****
>>
>>   3. Value lengths have been increased from max 16-bit length to a max
>> 22-bit length. ****
>>
>> ** **
>>
>> The encoding itself remains just as compact with these changes. With the
>> http version header field, for example, requiring no more than 6
>> uncompressed bytes to represent.****
>>
>> ** **
>>
>> As always, feedback is more than welcome.****
>>
>> ** **
>>
>> - James****
>>
>
>
>
> --
> .- ... .... --- -.-
>

--f46d04462e6445998f04cb407d63
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Wed, Oct 3, 2012 at 10:04 PM, Ashok Kumar <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:ashokkumar.j@gmail.com" target=3D"_blank">ashokkumar.j@gmail.=
com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">So according to this,=C2=A0if you need multi=
ple binary encoded values, then the values themselves can&#39;t contain NUL=
. If they do, then does framing layer take responsibility of escaping it or=
 base-64 encode the entire value?<div>


<br></div></blockquote><div><br></div><div>Yes, that is one existing limita=
tion of this mechanism that I have not entirely worked out a great solution=
 for.</div><div><br></div><div>fwiw, I&#39;m not yet convinced that bohe is=
 something we absolutely need, I submitted the draft to contribute concrete=
 thoughts to the overall discussion. There are certainly many such details =
that would need to be considered.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>Also, since=
 its very common that clients get updated/upgraded almost (or should I say =
atleast) once a month, and servers/proxies get upgraded only when there are=
 some critical patches, how do the two agree on registered headers? (this e=
xample may be wrong, but let&#39;s say, x-forwarded-for becomes Forwarded),=
 What is the behavior if the client/server is sending an ID which is beyond=
 what the host knows?=C2=A0</div>

</blockquote><div><br></div><div>The integer values for each header would b=
e established via (and assigned by) the IANA registry. The behavior when an=
 unknown ID is encountered is no different than when an unknown header is i=
ncluded in a http/1.1 request or response. Generally, they will be ignored =
and passed through untouched.=C2=A0</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
<div><br></div><div><div><div class=3D"h5"><div class=3D"gmail_quote">On Th=
u, Oct 4, 2012 at 9:32 AM, Jeroen de Borst <span dir=3D"ltr">&lt;<a href=3D=
"mailto:J.deBorst@f5.com" target=3D"_blank">J.deBorst@f5.com</a>&gt;</span>=
 wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">






<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">This is very similar to w=
hat was done in WAP (WSP 1.x specifically).<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">See section 8.4 in
<a href=3D"http://www.wapforum.org/tech/documents/WAP-203-WSP-20000504-a.pd=
f" target=3D"_blank">http://www.wapforum.org/tech/documents/WAP-203-WSP-200=
00504-a.pdf</a><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Does this have to be re-i=
nvented? Are there significant benefits?<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks,<u></u><u></u></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Jeroen<u></u><u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> James M =
Snell [mailto:<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnel=
l@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, October 03, 2012 10:08 AM<br>
<b>To:</b> <a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-ht=
tp-wg@w3.org</a><br>
<b>Subject:</b> Updated Binary Optimized Header Encoding Draft<u></u><u></u=
></span></p><div><div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
FYI.. I have submitted an updated draft for the proposed Binary Optimized H=
eader Encoding mechanism for the http2 effort.=C2=A0</span><u></u><u></u></=
p>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0=C2=A0<a href=3D"http://www.ietf.org/id/draft-snell-httpbis-bohe-01.t=
xt" target=3D"_blank">http://www.ietf.org/id/draft-snell-httpbis-bohe-01.tx=
t</a></span><u></u><u></u></p>



</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
A number of fairly significant changes have been made:</span><u></u><u></u>=
</p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 1. The codepage identifier for registered header tokens has been rem=
oved.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 2. The Per-header flags field has been removed and replaced with spe=
cific individual bits to indicate character-based values and multiple value=
s</span><u></u><u></u></p>



</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
=C2=A0 3. Value lengths have been increased from max 16-bit length to a max=
 22-bit length.=C2=A0</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
The encoding itself remains just as compact with these changes. With the ht=
tp version header field, for example, requiring no more than 6 uncompressed=
 bytes to represent.</span><u></u><u></u></p>



</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
As always, feedback is more than welcome.</span><u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
- James</span><u></u><u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br><br clear=3D"all"><div><br></div></div></div>-- <br>=
.- ... .... --- -.-<br>
</div>
</blockquote></div><br>

--f46d04462e6445998f04cb407d63--


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 05:18:26 2012
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 3BFAF21F8455 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 05:18:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id accd6tqbbMIj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 05:18:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AB5E921F8443 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 05:18:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TK6oK-0007lF-UH for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 12:15:20 +0000
Resent-Date: Fri, 05 Oct 2012 12:15:20 +0000
Resent-Message-Id: <E1TK6oK-0007lF-UH@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TK6oE-0007Wq-JB for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 12:15:14 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TK6o9-0003E4-Rp for ietf-http-wg@w3.org; Fri, 05 Oct 2012 12:15:14 +0000
Received: from [192.168.1.107] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 9EC68E72F4 for <ietf-http-wg@w3.org>; Sat,  6 Oct 2012 00:14:41 +1200 (NZST)
Message-ID: <506ECF27.7040702@treenet.co.nz>
Date: Sat, 06 Oct 2012 01:14:31 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TK6o9-0003E4-Rp 9fc848c78bf9371e709140c0971a6e3d
X-Original-To: ietf-http-wg@w3.org
Subject: p1-messaging: request line trailing SP
Archived-At: <http://www.w3.org/mid/506ECF27.7040702@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15306
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've recently had to explain why Squid does not accept trailing SP 
characters after the HTTP-version part of HTTP/1.1 request lines. It 
seems the security considerations are missing a reference to the 
potential nefarious requests it would enable.

The case in question being a lenient parser which splits the 
request-line on SP assuming that the URL contained no SP characters 
un-encoded. Such a parser would be vulnerable to malicious clients 
sending a URL with embeded \0x20HTTP/1.0\0x20 followed by one smuggled 
header (Host being the most deadly).

Implementations which instead work forward to the CRLF delimiter then 
backwards to the previous SP delimiter (or somethign to that effect) are 
tolerant of the broken servers and clients which fail to encode SP 
characters within sent URLs without being vulnerable to this problem 
case. At expense that they cannot accept request-line terminated with SP 
after the HTTP-version field.

AYJ


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 08:16:30 2012
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 C7DC821F869E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 08:16:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.27
X-Spam-Level: 
X-Spam-Status: No, score=-7.27 tagged_above=-999 required=5 tests=[AWL=3.329, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8qWp0XZJWMPO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 08:16:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A686B21F869C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 08:16:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TK9aq-0000mK-7K for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 15:13:36 +0000
Resent-Date: Fri, 05 Oct 2012 15:13:36 +0000
Resent-Message-Id: <E1TK9aq-0000mK-7K@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TK9aj-0000lb-73 for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 15:13:29 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TK9ah-0002WZ-Iz for ietf-http-wg@w3.org; Fri, 05 Oct 2012 15:13:29 +0000
Received: (qmail invoked by alias); 05 Oct 2012 15:13:00 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp037) with SMTP; 05 Oct 2012 17:13:00 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19ff0pgC0Jfl44CV45XesOiWNuW6nK0BU4I/vdp7Y XlMSQlnXDiKz6G
Message-ID: <506EF8FA.1030100@gmx.de>
Date: Fri, 05 Oct 2012 17:12:58 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: ietf@ietf.org
CC: SM <sm@resistor.net>, James M Snell <jasnell@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <20120914184457.16683.33382.idtracker@ietfa.amsl.com> <6.2.5.6.2.20120914153648.09f87700@resistor.net>
In-Reply-To: <6.2.5.6.2.20120914153648.09f87700@resistor.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TK9ah-0002WZ-Iz 31f79b6448eaf7db02bac924b7af234c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Last Call: <draft-snell-http-prefer-14.txt> (Prefer Header for  HTTP) to Proposed Standard
Archived-At: <http://www.w3.org/mid/506EF8FA.1030100@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15307
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>

Hi James,

see below for my (mostly editorial) feedback:

Multiple times: s/header/header field/

1.  Introduction

    Within the course of processing an HTTP request there are typically a
    range of required and optional behaviors that a server or
    intermediary can employ.  These often manifest is a variety of subtle
    and not-so-subtle ways within the response.

s/is/in/

    For example, when using the HTTP PUT method to modify a resource --
    similar to that defined for the Atom Publishing Protocol [RFC 5023]

reference to RFC 5023 is missing

    The rigid, must-understand semantics of the Expect header, therefore,

    make it a poor choice for the general expression of optional
    preferences that may be specific to an individual application and are
    therefore unknown to an intermediary or are otherwise irrelevant to
    the intermediaries successful handling of the request and response.

    Another option available to clients is to utilize Request URI query-
    string parameters to express preferences.  Doing so, however, results
    in a variety of issues affecting the cacheability of responses.

Comment: not according to the spec; but there are other issues with it, 
such as overloading the URI namespace.

    As an alternative, this specification defines a new HTTP request
    header field that can be used by clients to request that optional
    behaviors be applied by a server during the processing the request.
    Additionally, a handful of initial preference tokens for use with the
    new header are defined.

    In this document, the key words "MUST", "MUST NOT", "REQUIRED",
    "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY",
    and "OPTIONAL" are to be interpreted as described in [RFC2119].

ID-Nits complained it couldn't find this note. It probably needs some 
adjustment.

1.1.  Syntax Notation

    This specification uses the Augmented Backus-Naur Form (ABNF)
    notation of [RFC5234] and includes, by reference, the "token",
    "word", "OWS", "BWS" rules and the #rule extension as defined within
    Sections 1.2 and 3.2.4 of [I-D.ietf-httpbis-p1-messaging].

Note: need to re-check the section numbers, they might have moved.

2.  The Prefer Request Header Field

    The Prefer request-header field is used to indicate that particular
    server behaviors are preferred by the client, but not required for
    successful completion of the request.  Prefer is similar in nature to
    the Expect header field defined by Section 9.3 of
    [I-D.ietf-httpbis-p2-semantics] with the exception that servers are

Ditto.

    If a particular preference token or parameter is specified multiple
    times, repeated occurrences MUST be ignored without signaling an
    error or otherwise altering the processing of the request.

That means: first wins, right? The repeated occurrences might have 
different parameters...

    The Prefer request header field is end-to-end and MUST be forwarded
    by a proxy if the request is forwarded.

That's something *this* spec can not require; it should follow from 
HTTPbis, right?

s/header/header field/

    No significance is given to the order in which preference tokens
    appear within a request.

Really? What if a token is repeated with different parameters?

2.1.  Content Negotiation and Cache Considerations

    Note that while the Prefer header field is not intended to be used as
    content negotiation mechanism, the application of a preference
    potentially could affect the caching characteristics of a response.
    Specifically, if a server supports the optional application of a
    preference that could even just potentially result in a variance to a
    cache's handling of a response entity, a Vary header field MUST be
    included with the response listing the Prefer header field regardless
    of whether the client actually used Prefer in the request.

    Because of the inherent complexities involved with properly
    implementing server-driven content negotiation, effective caching,
    and the application of optional preferences, implementors must

...avoid lowercase RFC2119 keywords...

    exercise caution when utilizing preferences in such a way as to
    impact the caching of a response and SHOULD NOT use the Prefer header
    mechanism for content negotiation.

2.2.  Examples

    The following examples illustrate the use of various preferences
    defined by this specification, as well as undefined extensions for
    strictly illustrative purposes:

    1.  Return a "202 Accepted" response for asynchronous processing if
    the response cannot be processed within 10 seconds.  An undefined
    "priority" preference is also specified:

      Prefer: return-asynch, wait=10;
      Prefer: priority=5;

Shouldn't that be:

      Prefer: return-asynch; wait=10
      Prefer: priority=5

???

3.  Preference Definitions

    The following subsections define an initial set of preferences.
    Additional preferences can be registered for convenience and/or to
    promote reuse by other applications.  This specification establishes
    an IANA registry of such relation types (see Section 4.1).

    Registered preference names MUST conform to the token rule, and MUST
    be compared character-by-character in a case-insensitive fashion.
    They SHOULD be appropriate to the specificity of the preference;
    i.e., if the semantics are highly specific to a particular
    application, the name should reflect that, so that more general names
    remain available for less specific use.

    Registered preferences MUST NOT constrain servers, clients or any
    intermediaries involved in the exchange and processing of a request
    to any behavior required for successful processing.  The use and
    application of a preference within a given request MUST be optional
    on the part of all participants.

3.1.  The "return-asynch" Preference

    The "return-asynch" preference indicates that the client prefers the
    server to respond asynchronously to a response.  For instance, in the
    case when the length of time it takes to generate a response will
    exceed some arbitrary threshold established by the server, the server
    can honor the return-asynch preference by returning either a "202
    Accepted" or "303 See Other" response.

...would be good to explain when to use what (not sure about when 303 
would be right).

3.4.  The "wait" Preference

    The "wait" preference can be used to establish an upper bound on the
    length of time, in seconds, the client is willing to wait for a
    response, after which the client might choose to abandon the request.
    In the case generating a response will take longer than the time
    specified, the server, or proxy, MAY choose to utilize an
    asynchronous processing model by returning, for example, "202
    Accepted" or "303 See Other" responses.

    ABNF:

      wait = "wait" BWS "=" BWS delta-seconds

    Clients specifying the "wait" preference SHOULD also use the Date
    header field, as specified in Section 9.2 of
    [I-D.ietf-httpbis-p2-semantics], within the request to establish the
    time at which the client began waiting for the completion of the
    request.  Failing to include a Date header field in the request would
    require the server to use the instant it received or began processing
    the request as the baseline for determining how long the client has
    been waiting which could yield unintended results.

I'm not totally convinced that taking the Date request header field into 
account is necessary given the additional complexity; what do others 
think?

3.5.  The "strict" and "lenient" Processing Preferences

Editorial: why are "strict" and "lenient" described in a single section, 
while "return-representation" and "return-minimal" are not?

    An example request specifying the "strict" preference:

      POST /collection HTTP/1.1
      Host: example.org
      Content-Type: text/plain
      Prefer: strict

    An example request specifying the "lenient" preference:

      POST /collection HTTP/1.1
      Host: example.org
      Content-Type: text/plain
      Prefer: lenient

I like examples, but too much is too much :-)


4.  IANA Considerations

    The 'Prefer' header field should be added to the Permanent Message
    Header Fields registry defined in [RFC3864]
    (http://www.iana.org/assignments/message-headers/perm-headers.html).

       Header field name: Prefer
       Applicable Protocol: HTTP
       Status:

"standard", right?


5.  Security Considerations

    Specific preferences requested by a client can introduce security
    considerations and concerns beyond those discussed in HTTP/1.1 Parts
    1 [I-D.ietf-httpbis-p1-messaging], 2 [I-D.ietf-httpbis-p2-semantics],
    3 [I-D.ietf-httpbis-p3-payload], 4 [I-D.ietf-httpbis-p4-conditional],

There is no spoon^h^h^h^h^hPart 3.

    5 [I-D.ietf-httpbis-p5-range], 6 [I-D.ietf-httpbis-p6-cache], and 7
    [I-D.ietf-httpbis-p7-auth].  Implementors must refer to the
    specifications and descriptions of each preference to determine the
    security considerations relevant to each.



Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 09:31:49 2012
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 A201E21F84C8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 09:31:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hfAPRLGy6z1J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 09:31:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B02C521F8464 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 09:31:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKAll-00055E-6D for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 16:28:57 +0000
Resent-Date: Fri, 05 Oct 2012 16:28:57 +0000
Resent-Message-Id: <E1TKAll-00055E-6D@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TKAli-00054K-QJ for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 16:28:54 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TKAli-000461-5f for ietf-http-wg@w3.org; Fri, 05 Oct 2012 16:28:54 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so2244913vbb.2 for <ietf-http-wg@w3.org>; Fri, 05 Oct 2012 09:28:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8PoWmCCWWGwUoe5a6+5K8eBdQgTBvVBdZJU7lltIxmc=; b=as5l5uCacpbpqu+u+780q5FU/xbolATKMZjRYS9PPer+BUHxz8RQAXprmylLPN9aIM imzTlaQkN7UXqLSdYaVAfWUKad6+BPCI49KdGO+ePOqcychVDf38hsRxLImsfFfwaJF1 zV1PAzKOYEzlX/VaC2kRTiRf+Bhr03CvkyQCRriWT4p56MN6xTVEzmNZKpQRetuAVR/C OzLgQklfZUIi+xGRRmzgLqJK1wG9uRuEc8udNQ+6wvIbNOPyf++KTVcecmPxmOcLy5il leBv4lzXCnOLx0zd5wzRzyVwClLTvvYC/xrLSwmt431gNyw1v99oVQnO/TB1ahUXpzoj ssow==
MIME-Version: 1.0
Received: by 10.52.66.36 with SMTP id c4mr4465853vdt.6.1349454508466; Fri, 05 Oct 2012 09:28:28 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Fri, 5 Oct 2012 09:28:28 -0700 (PDT)
In-Reply-To: <506ECF27.7040702@treenet.co.nz>
References: <506ECF27.7040702@treenet.co.nz>
Date: Fri, 5 Oct 2012 11:28:28 -0500
Message-ID: <CACuKZqGdu8isMNJriXLM6D5ALGJs6o_2r0aaDbsYSvB1C9foQQ@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.691, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TKAli-000461-5f bb841aedf0555d7b3680f8020ffd5ec6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: p1-messaging: request line trailing SP
Archived-At: <http://www.w3.org/mid/CACuKZqGdu8isMNJriXLM6D5ALGJs6o_2r0aaDbsYSvB1C9foQQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15308
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>

On Fri, Oct 5, 2012 at 7:14 AM, Amos Jeffries <squid3@treenet.co.nz> wrote:
> I've recently had to explain why Squid does not accept trailing SP
> characters after the HTTP-version part of HTTP/1.1 request lines. It seems
> the security considerations are missing a reference to the potential
> nefarious requests it would enable.
>
> The case in question being a lenient parser which splits the request-line on
> SP assuming that the URL contained no SP characters un-encoded. Such a

The assumption is a valid one, it shouldn't cause any problems.

> parser would be vulnerable to malicious clients sending a URL with embeded
> \0x20HTTP/1.0\0x20 followed by one smuggled header (Host being the most
> deadly).

I don't see how, can you expand on this?

>
> Implementations which instead work forward to the CRLF delimiter then
> backwards to the previous SP delimiter (or somethign to that effect) are
> tolerant of the broken servers and clients which fail to encode SP
> characters within sent URLs without being vulnerable to this problem case.
> At expense that they cannot accept request-line terminated with SP after the
> HTTP-version field.
>
> AYJ
>


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 09:49:38 2012
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 DC95E21F86BD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 09:49:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mHwHEPzlfBnX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 09:49:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0D76521F86CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 09:49:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKB3g-0004A4-I2 for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 16:47:28 +0000
Resent-Date: Fri, 05 Oct 2012 16:47:28 +0000
Resent-Message-Id: <E1TKB3g-0004A4-I2@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TKB3e-00049L-1b for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 16:47:26 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TKB3d-0005XI-2y for ietf-http-wg@w3.org; Fri, 05 Oct 2012 16:47:25 +0000
Received: by mail-vc0-f171.google.com with SMTP id m18so2436629vcm.2 for <ietf-http-wg@w3.org>; Fri, 05 Oct 2012 09:46:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sOcSBlwd66LD4TswGS69pCL9GhbOsIeaZigwsgufn4A=; b=AMF0roRtN/HHxt/erGVbDPnQNk5eYnT8svegerGy/3nHGfi2L4sgMV1lNHRqlg5wOJ WDJNmsp8sD3fUAOmtM2o4mc0X33PI9T1IvqVz1LkTa0Qx+FogzIs+EgTKn0sclNW5SaN SFROp+ws94PrYU7PgFykTCG/sqXmBVegDiTD8lodHXgXiKt28Kb9yYbI2ngTKvLEUQh5 X1orJ/J1cr3hfLnuFWhCAMQU5mY6tyjwzOj7LiX1fx4d+KFQn4pU1p3pm5+g7Xad2XWT rQlrEAo0lOjXe3tBMVj7z+iOT76bIjLYKS/+muCDujQO5s9sdArhEeDFb3MfTQlvlq1C RlYw==
MIME-Version: 1.0
Received: by 10.52.16.179 with SMTP id h19mr4473406vdd.107.1349455619210; Fri, 05 Oct 2012 09:46:59 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Fri, 5 Oct 2012 09:46:58 -0700 (PDT)
In-Reply-To: <096EA7C7-98DD-4A3C-A411-0502E01517B9@gbiv.com>
References: <CACuKZqE=bau4Y_Ju=fucJ2q4htftgmE0BSaf0imx2kW1-Q=CZg@mail.gmail.com> <81F671C4-AFCA-4755-BFAF-051908A6FC9F@gbiv.com> <CACuKZqENUUV4xXQPf_av3GgTqtbZMmkn0PB0NhUQAVU7jmCJZw@mail.gmail.com> <096EA7C7-98DD-4A3C-A411-0502E01517B9@gbiv.com>
Date: Fri, 5 Oct 2012 11:46:58 -0500
Message-ID: <CACuKZqG5Q7c+rp_x7uTRd5f5Umz3qZuk_0J5f=gU=m2X6T+n_g@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.691, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TKB3d-0005XI-2y 5150f782a2c3e3a48dca5874a297b7ad
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Ambiguity in the Range header
Archived-At: <http://www.w3.org/mid/CACuKZqG5Q7c+rp_x7uTRd5f5Umz3qZuk_0J5f=gU=m2X6T+n_g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15309
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>

On Thu, Oct 4, 2012 at 2:21 AM, Roy T. Fielding <fielding@gbiv.com> wrote:
> On Oct 3, 2012, at 11:54 PM, Zhong Yu wrote:
>> On Thu, Oct 4, 2012 at 1:31 AM, Roy T. Fielding <fielding@gbiv.com> wrote:
>>> On Oct 3, 2012, at 10:04 PM, Zhong Yu wrote:
>>>
>>>> When a request contains a Range header, it specifies a (byte) range of
>>>> the representation body. However, the server doesn't know which
>>>> representation the client is talking about.
>>>
>>> The selected representation.
>>>
>>>> Here is an example of firefox failing to resume download a gzip-ed body:
>>>>
>>>> request 1
>>>>
>>>> GET / HTTP/1.1
>>>> Accept-Encoding: gzip, deflate
>>>>
>>>> response 1
>>>>
>>>> HTTP/1.1 200 OK
>>>> Accept-Ranges: bytes
>>>> Content-Encoding: gzip
>>>> ETag: "135e962713f.gz"
>>>> Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>>>> Content-Length: 182,249,279
>>>>
>>>> Firefox decompress the body on the fly, and saves the decompressed
>>>> content to disk.
>>>>
>>>> Now pause the download, firefox has 68,712,649 bytes decompressed data on disk.
>>>>
>>>> Now resume the download, firefox tries to request range [68,712,649-]
>>>> of uncompressed body
>>>
>>> That's would be a bug in Firefox.  Are you sure it does that?
>>
>> In which way this is a bug? How should Firefox behave?
>
> As I explained, it should be caching the original message and
> making range requests based on that -- not based on arbitrary
> decompressed disk files.
>
>>> Please tell me you just made up these examples -- there are no commas
>>> allowed in Content-Length and range specifiers.
>>>
>>>> request 2
>>>> GET / HTTP/1.1
>>>> Accept-Encoding: gzip, deflate
>>>> Range: bytes=68,712,649-
>>>> If-Match: "135e962713f.gz"
>>>> If-Unmodified-Since: Tue, 06 Mar 2012 19:00:37 GMT
>>>>
>>>> response 2
>>>>
>>>> HTTP/1.1 206 Partial Content
>>>> Accept-Ranges: bytes
>>>> Content-Range: bytes 68,712,649-182,249,278/182,249,279
>>>> Content-Encoding: gzip
>>>> ETag: "135e962713f.gz"
>>>> Last-Modified: Tue, 06 Mar 2012 19:00:37 GMT
>>>> Content-Length: 113,536,630
>>>>
>>>> Unfortunately the server has no idea that the range is for the
>>>> uncompressed body. It returns the range of the gzip-ed body, which
>>>> seems to be the best choice. Then firefox fails since it expects
>>>> uncompressed body.
>>>>
>>>> Is the server at fault here? Is there an understanding that Range is
>>>> always for the "plain" body without any Content-Encoding?
>>>
>>> The server is correct.  The UA would be broken.
>>>
>>> Range is defined in terms of the entity-body (RFC2616) and the
>>> representation body (p2, p5).  In both cases, the spec is clear
>>> that Content-Encoding is part of that body, though we could add
>>> more text to p5 to make that relationship clearer.
>>>
>>> Transfer-Encoding is applied after the body.  That is, in fact,
>>> the main reason Transfer-Encoding was defined -- C-E doesn't
>>> work well for on-the-fly operations.  A UA cannot combine
>>> on-the-fly decompression of C-E with range requests unless it
>>> is retaining the original message in cache.
>>
>> At least Firefox doesn't send "TE" header. Any idea how many UAs
>> support response "Transfer-Encoding: gzip"?
>
> Opera and a few command-line clients, that I know of.  It has
> always been a chicken and egg problem to get T-E deployed.
>
>> Another confusion:  if Content-Type=multipart/byteranges,
>> Content-Encoding=gzip, what is gzip-ed exactly?  Is the message body
>>
>>    gzip( multipart ( range ( plain_body ) ) )
>>
>> or
>>
>>    multipart ( range ( gzip (plain_body ) ) )
>>
>> or something else?
>
> The second one.
>
> As in RFC2616 (I'd quote from p2, but we are just about to push
> a new draft), ranges are applied to the entity-body that would be
> sent in a normal GET, which in turn consists of:
>
> 7.2.1 Type
>
>    When an entity-body is included with a message, the data type of that
>    body is determined via the header fields Content-Type and Content-
>    Encoding. These define a two-layer, ordered encoding model:
>
>        entity-body := Content-Encoding( Content-Type( data ) )

But 206 and Content-Type=multipart/byteranges violates this pattern;
that should be specially noted in httpbis p2 section 3.

>
>    Content-Type specifies the media type of the underlying data.
>    Content-Encoding may be used to indicate any additional content
>    codings applied to the data, usually for the purpose of data
>    compression, that are a property of the requested resource. There is
>    no default encoding.
>
> This is easier to describe in httpbis p2, right now, because
> we separated entity into two distinct things: payload (what is in
> a message) and representation (the content on which the message
> payload is based).  The Range header field in p5 is still a bit
> opaque on the topic.
>
> ....Roy
>


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 10:24:06 2012
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 52D5B21F8599 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 10:24:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.186
X-Spam-Level: 
X-Spam-Status: No, score=-7.186 tagged_above=-999 required=5 tests=[AWL=3.413, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8tnA+W8FappU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 10:24:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CBE5F21F8592 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 10:24:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKBbe-0007YD-Fw for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 17:22:34 +0000
Resent-Date: Fri, 05 Oct 2012 17:22:34 +0000
Resent-Message-Id: <E1TKBbe-0007YD-Fw@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1TKBbb-0007XY-Tj for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 17:22:31 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1TKBba-0006cp-P0 for ietf-http-wg@w3.org; Fri, 05 Oct 2012 17:22:31 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so1029837lah.2 for <ietf-http-wg@w3.org>; Fri, 05 Oct 2012 10:22:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=6QvENKP1GqaKXdbyoIX/kpMYA0pzDKdDzLz4AU8xkI0=; b=fYDS7XSfwOaRryyTb7aVP7VeXVXUkW1HUQHkBp9KIIPsSWOIxmmh2NHP7qNlm1wynF bBMGap57dhLkLqP1cN3ta/bUgorvwbULeG40Oc+weHPbWSqDRVN+j0ofHlMP7i1XQjqN kDs7A+agicVtUELmS7SJE5k6Ba/mKCwTkwiHFepBqENDhVTQwlTthS9YPfiKK5Ah5vs1 1jZ+7TwG6fDaDaUfW4t36vviC2bkuxZfH0dD7IwyUXj2Ge0ZCe6kKit7Qx2C2kPUcK+i rIED+5ePdFB1kcO20g7zI1YfKwQgJojMdUPaxVC3gmzRpUd2PwKg3vHwJIhBMw5W2aia lAog==
MIME-Version: 1.0
Received: by 10.112.25.34 with SMTP id z2mr16352lbf.21.1349457723747; Fri, 05 Oct 2012 10:22:03 -0700 (PDT)
Received: by 10.112.83.2 with HTTP; Fri, 5 Oct 2012 10:22:03 -0700 (PDT)
In-Reply-To: <506EF8FA.1030100@gmx.de>
References: <20120914184457.16683.33382.idtracker@ietfa.amsl.com> <6.2.5.6.2.20120914153648.09f87700@resistor.net> <506EF8FA.1030100@gmx.de>
Date: Fri, 5 Oct 2012 10:22:03 -0700
Message-ID: <CABkgnnXkHdVcK4fa0p2MPox7RTruOQCWVa7UCuPNLy-b4yUiVg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: ietf@ietf.org, SM <sm@resistor.net>, James M Snell <jasnell@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.215.43; envelope-from=martin.thomson@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-2.408, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TKBba-0006cp-P0 abf639180e3b82f9a2376146c3cbb895
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Last Call: <draft-snell-http-prefer-14.txt> (Prefer Header for  HTTP) to Proposed Standard
Archived-At: <http://www.w3.org/mid/CABkgnnXkHdVcK4fa0p2MPox7RTruOQCWVa7UCuPNLy-b4yUiVg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15310
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>

On 5 October 2012 08:12, Julian Reschke <julian.reschke@gmx.de> wrote:
> 3.4.  The "wait" Preference
> I'm not totally convinced that taking the Date request header field into
> account is necessary given the additional complexity; what do others think?

I said as much in my GenART review:
http://www.ietf.org/mail-archive/web/gen-art/current/msg07790.html

Having had experience implementing this exact feature, relying on Date
isn't going to work.


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 10:44:14 2012
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 5CE6E21F87B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 10:44:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.666
X-Spam-Level: 
X-Spam-Status: No, score=-7.666 tagged_above=-999 required=5 tests=[AWL=2.932, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hYktwuONZQz8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 10:44:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4171E21F870E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 10:44:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKBvQ-00081v-AB for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 17:43:00 +0000
Resent-Date: Fri, 05 Oct 2012 17:43:00 +0000
Resent-Message-Id: <E1TKBvQ-00081v-AB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TKBvO-00080E-0r for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 17:42:58 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TKBvM-00085B-RL for ietf-http-wg@w3.org; Fri, 05 Oct 2012 17:42:57 +0000
Received: by mail-wi0-f169.google.com with SMTP id hq4so907777wib.2 for <ietf-http-wg@w3.org>; Fri, 05 Oct 2012 10:42:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=v1xoBro0qWE4VsXuan+M9sU6VAg8x9PAAQhCMXgRMkA=; b=WeSODcIDbD4A9x+9tghgSaGVv4v7wnbZMDxGEyii9gYNxqhYG1L6R2SP/RmhYOPWwI HwD3YkRofXxT5YXHYiYVLLcJIWKZ+fTEJ2denwM5uTGZbPJpT1dPfB5BnxSVD24r5MU9 o2mFmqAGcGao4xwGFA4oL9vpFyfwD+SSuyhsnb9Vu+eZqbutN2oPSulww7oNPnM/sMD5 zuo08/cM1MrfVCmztFjOgwIPYE1ugFwJuOPRf0DYUNPpdhMK3nAK9TuW9anam2ec/GKu jYJjVcYXt1Jg6br0IyuS01UWAQLr02+CFclIYgB5gbZ0F7Ph3TB0k4mUvSgmgXkHoVsU U8DQ==
Received: by 10.216.243.74 with SMTP id j52mr5323323wer.108.1349458950426; Fri, 05 Oct 2012 10:42:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Fri, 5 Oct 2012 10:42:10 -0700 (PDT)
In-Reply-To: <CABkgnnXkHdVcK4fa0p2MPox7RTruOQCWVa7UCuPNLy-b4yUiVg@mail.gmail.com>
References: <20120914184457.16683.33382.idtracker@ietfa.amsl.com> <6.2.5.6.2.20120914153648.09f87700@resistor.net> <506EF8FA.1030100@gmx.de> <CABkgnnXkHdVcK4fa0p2MPox7RTruOQCWVa7UCuPNLy-b4yUiVg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 5 Oct 2012 10:42:10 -0700
Message-ID: <CABP7Rbc81Yo+Xp4QdJKH=Kq=v8F1==gAnhGjaKASvVfKis_fRw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, ietf@ietf.org, SM <sm@resistor.net>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e0cb4e43cf1f61119d04cb536591
Received-SPF: pass client-ip=209.85.212.169; envelope-from=jasnell@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TKBvM-00085B-RL 7540e157be89ad33054c1a564e47d3b3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Last Call: <draft-snell-http-prefer-14.txt> (Prefer Header for  HTTP) to Proposed Standard
Archived-At: <http://www.w3.org/mid/CABP7Rbc81Yo+Xp4QdJKH=Kq=v8F1==gAnhGjaKASvVfKis_fRw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15311
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>

--e0cb4e43cf1f61119d04cb536591
Content-Type: text/plain; charset=UTF-8

I am certainly open to alternatives on this particular point. The wait
preference has proven to be quite useful in environments where the latency
is low and predicable and there is good clock synchronization between the
client and server. Such conditions can be easily achieved when the
deployment environment is well managed. It does not work so well,
obviously, for arbitrary web clients running on mobile devices talking to
arbitrary servers. I never really intended wait to be used within such
environments, however.

I could drop the Date header recommendation altogether and stress in the
text that good clock synchronization and predictable latency is required
for the wait preference to be used effectively.

- James

On Fri, Oct 5, 2012 at 10:22 AM, Martin Thomson <martin.thomson@gmail.com>wrote:

> On 5 October 2012 08:12, Julian Reschke <julian.reschke@gmx.de> wrote:
> > 3.4.  The "wait" Preference
> > I'm not totally convinced that taking the Date request header field into
> > account is necessary given the additional complexity; what do others
> think?
>
> I said as much in my GenART review:
> http://www.ietf.org/mail-archive/web/gen-art/current/msg07790.html
>
> Having had experience implementing this exact feature, relying on Date
> isn't going to work.
>

--e0cb4e43cf1f61119d04cb536591
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">I am certainly open to alternatives on=
 this particular point. The wait preference has proven to be quite useful i=
n environments where the latency is low and predicable and there is good cl=
ock synchronization between the client and server. Such conditions can be e=
asily achieved when the deployment environment is well managed. It does not=
 work so well, obviously, for arbitrary web clients running on mobile devic=
es talking to arbitrary servers. I never really intended wait to be used wi=
thin such environments, however.</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">I could drop the Date header recommendation altogether=
 and stress in the text that good clock synchronization and predictable lat=
ency is required for the wait preference to be used effectively.=C2=A0</fon=
t></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">- James<br></font><br><div class=3D"gmail_quote"=
>On Fri, Oct 5, 2012 at 10:22 AM, Martin Thomson <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@gm=
ail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">On 5 October 2012 08:12, Julian Reschke &lt;=
<a href=3D"mailto:julian.reschke@gmx.de">julian.reschke@gmx.de</a>&gt; wrot=
e:<br>


&gt; 3.4. =C2=A0The &quot;wait&quot; Preference<br>
<div class=3D"im">&gt; I&#39;m not totally convinced that taking the Date r=
equest header field into<br>
&gt; account is necessary given the additional complexity; what do others t=
hink?<br>
<br>
</div>I said as much in my GenART review:<br>
<a href=3D"http://www.ietf.org/mail-archive/web/gen-art/current/msg07790.ht=
ml" target=3D"_blank">http://www.ietf.org/mail-archive/web/gen-art/current/=
msg07790.html</a><br>
<br>
Having had experience implementing this exact feature, relying on Date<br>
isn&#39;t going to work.<br>
</blockquote></div><br></div>

--e0cb4e43cf1f61119d04cb536591--


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 10:48:11 2012
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 02D4121F87D3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 10:48:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5Nlc0pmOplVd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 10:48:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B472621F87C9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 10:48:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKBzg-00051k-Pu for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 17:47:24 +0000
Resent-Date: Fri, 05 Oct 2012 17:47:24 +0000
Resent-Message-Id: <E1TKBzg-00051k-Pu@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <karld@opera.com>) id 1TKBze-00050x-6F for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 17:47:22 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <karld@opera.com>) id 1TKBzc-0007l1-Ma for ietf-http-wg@w3.org; Fri, 05 Oct 2012 17:47:22 +0000
Received: from [10.0.1.20] (modemcable048.20-130-66.mc.videotron.ca [66.130.20.48]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q95HkmBS016424 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for <ietf-http-wg@w3.org>; Fri, 5 Oct 2012 17:46:50 GMT
From: Karl Dubost <karld@opera.com>
Content-Type: text/plain; charset=us-ascii
Message-Id: <FCDB138A-FBF3-4497-8187-4956E79F3428@opera.com>
Date: Fri, 5 Oct 2012 13:46:48 -0400
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v1283)
X-Mailer: Apple Mail (2.1283)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=karld@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: AWL=-0.395, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-2.142, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TKBzc-0007l1-Ma fe3e3da109e5681c9526bdf03c79708d
X-Original-To: ietf-http-wg@w3.org
Subject: Range Specifier Registry - 404
Archived-At: <http://www.w3.org/mid/FCDB138A-FBF3-4497-8187-4956E79F3428@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15312
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>

In "2.1.  Range Specifier Registry" [1] of Hypertext Transfer Protocol =
(HTTP/1.1): Range Requests, the text says:

   The registry itself is maintained at
   <http://www.iana.org/assignments/http-range-specifiers>.

which leads to a 404.=20

Is it expected?


[1]: =
http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-21#section-2.1

--=20
Karl Dubost - http://dev.opera.com/
Developer Relations, Opera Software



From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 11:01:00 2012
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 CC9AA21F87B0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 11:01:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.545
X-Spam-Level: 
X-Spam-Status: No, score=-6.545 tagged_above=-999 required=5 tests=[AWL=3.432, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MJTGD5T7WfOP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 11:01:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1649921F861B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 11:01:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKCBq-0008A8-OJ for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 17:59:58 +0000
Resent-Date: Fri, 05 Oct 2012 17:59:58 +0000
Resent-Message-Id: <E1TKCBq-0008A8-OJ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1TKCBo-00089T-6D for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 17:59:56 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1TKCBn-0008Bw-0t for ietf-http-wg@w3.org; Fri, 05 Oct 2012 17:59:56 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so1051360lah.2 for <ietf-http-wg@w3.org>; Fri, 05 Oct 2012 10:59:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=85GcxrYChcFxWzzuvag7sYcUxtbFNlovEzqIcHxyDDY=; b=qWk7j/T2UVbyWOXV7B2d3lLa25p+rAYOAASv9Jbx5Ez4iPojNf9C91zReP76aIpK7k OHqZl1dpY099BU90Gv37FqbJjnOie8GZ1taCndKquxMKorlk//QBVZgu7Joey0GFDNx3 BIOJZR+gzQVKsjV9xDBiK8YDMEBUgp0j/ozo0OsM1LXaTqNSP78ZsNBaz43M5SzYKkY6 /nP71b6I1KRDU/2SR53vAOD4IYcSPsNxoOlG74F2z3xg6I0Jd1yV9+OJ+jdTDxkNW3pT V9ea8p8maf+RjejzHWgNF9LuUwgWdDOzJy64md3O4OAy+Dqheh2vbL90+ca7UQ+8B28s /KqA==
MIME-Version: 1.0
Received: by 10.112.44.73 with SMTP id c9mr837431lbm.25.1349459968479; Fri, 05 Oct 2012 10:59:28 -0700 (PDT)
Sender: barryleiba.mailing.lists@gmail.com
Received: by 10.112.150.194 with HTTP; Fri, 5 Oct 2012 10:59:28 -0700 (PDT)
In-Reply-To: <FCDB138A-FBF3-4497-8187-4956E79F3428@opera.com>
References: <FCDB138A-FBF3-4497-8187-4956E79F3428@opera.com>
Date: Fri, 5 Oct 2012 13:59:28 -0400
X-Google-Sender-Auth: q9n1CLsIrvXcee9NQLVOenirIOM
Message-ID: <CAC4RtVAGr7VyGH2sN2v1-P1d+XaNpKzC7HBL-4nyQF2PLduR+Q@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Karl Dubost <karld@opera.com>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.215.43; envelope-from=barryleiba.mailing.lists@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-2.565, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TKCBn-0008Bw-0t 8e8417b439de2e61fa03cf8b1a48ca56
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Range Specifier Registry - 404
Archived-At: <http://www.w3.org/mid/CAC4RtVAGr7VyGH2sN2v1-P1d+XaNpKzC7HBL-4nyQF2PLduR+Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15313
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>

> In "2.1.  Range Specifier Registry" [1] of Hypertext Transfer Protocol
> (HTTP/1.1): Range Requests, the text says:
>
>    The registry itself is maintained at
>    <http://www.iana.org/assignments/http-range-specifiers>.
>
> which leads to a 404.
>
> Is it expected?
>
> [1]: http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-21#section-2.1

It's a new registry defined by this document (see Section 6.3), which
hasn't been created yet.  It will be created after the document is
approved as a Proposed Standard.

Barry


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 11:14:18 2012
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 916C821F8691 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 11:14:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.271
X-Spam-Level: 
X-Spam-Status: No, score=-7.271 tagged_above=-999 required=5 tests=[AWL=3.328, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fVVD6ITdGKTG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 11:14:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0FE6821F8435 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 11:14:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKCOT-0006xp-QA for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 18:13:01 +0000
Resent-Date: Fri, 05 Oct 2012 18:13:01 +0000
Resent-Message-Id: <E1TKCOT-0006xp-QA@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1TKCON-0006rT-0Y for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 18:12:55 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1TKCOL-0000qh-UN for ietf-http-wg@w3.org; Fri, 05 Oct 2012 18:12:54 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so1058953lah.2 for <ietf-http-wg@w3.org>; Fri, 05 Oct 2012 11:12:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dKZwRNDsoV1UmWWElBZ+VYzDkgcZ/WnfiUexxL4kp1s=; b=EnqPxo/vqS9ta2Wv7LYHiuziTH7kkO6plyRHb1Azm53fe5Wf0Ds/kii/lWYHc7BGYZ Wo9NUTluLM7u6qu/hJi1O5fZnNCv1ugM0p5HGCkD+gRJG3+w9Mxj5i8EjNYjYpsoaCE2 o6O2hGwTV/GVt5Nc6HUcYx8+XPaHs4D7tp9AsXB/nB4+83We8tTgTVtCLnvp/EOza/bA 60cyo4Ne/Mjr9IfwXKg+G+NFjFSFGu8uxdoiPMfIP8lqKnw7ykyFdXoeFeTfwh01jPCM 6qv0LFfWp1S/XolQW4+gqfhf7TZcon8oEYtjilbjiAADgBQUODI/fA3/2PWp87n/CML8 kB1w==
MIME-Version: 1.0
Received: by 10.112.100.197 with SMTP id fa5mr4122122lbb.59.1349460746934; Fri, 05 Oct 2012 11:12:26 -0700 (PDT)
Received: by 10.112.83.2 with HTTP; Fri, 5 Oct 2012 11:12:26 -0700 (PDT)
In-Reply-To: <CABP7Rbc81Yo+Xp4QdJKH=Kq=v8F1==gAnhGjaKASvVfKis_fRw@mail.gmail.com>
References: <20120914184457.16683.33382.idtracker@ietfa.amsl.com> <6.2.5.6.2.20120914153648.09f87700@resistor.net> <506EF8FA.1030100@gmx.de> <CABkgnnXkHdVcK4fa0p2MPox7RTruOQCWVa7UCuPNLy-b4yUiVg@mail.gmail.com> <CABP7Rbc81Yo+Xp4QdJKH=Kq=v8F1==gAnhGjaKASvVfKis_fRw@mail.gmail.com>
Date: Fri, 5 Oct 2012 11:12:26 -0700
Message-ID: <CABkgnnWvbjkmXe_orAKwLuq8J7LJ2uCgcW7Ry=mhBj=gOTgYHA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, ietf@ietf.org, SM <sm@resistor.net>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.215.43; envelope-from=martin.thomson@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.582, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TKCOL-0000qh-UN ed22c6db72783f1acb06efa6ddf4d002
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Last Call: <draft-snell-http-prefer-14.txt> (Prefer Header for  HTTP) to Proposed Standard
Archived-At: <http://www.w3.org/mid/CABkgnnWvbjkmXe_orAKwLuq8J7LJ2uCgcW7Ry=mhBj=gOTgYHA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15314
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>

On 5 October 2012 10:42, James M Snell <jasnell@gmail.com> wrote:
> I could drop the Date header recommendation altogether and stress in the
> text that good clock synchronization and predictable latency is required for
> the wait preference to be used effectively.

The feature is useful, I agree.  The problem is that - as defined -
the server needs to guess something about the times on the client in
order to implement this reliably.

Relying on clock synchronization is not realistic.  Even in controlled
environments, errors are commonplace.

Even the simple case shows a problem:
  a: client sends request
  b: server receives request
  c: time passes
  d: server responds to request
  e: client receives response

You require that the time be a measure of a->e.  The server has no way
to determine what that time is.

An alternative would be to make the requirement apply to b->d.  That
is something that the server has direct control over.  The client then
gains a little extra work, but at least they are in a position to
measure a->b + d->e.  In any case, with low or predictable latency, I
doubt that the addition of a->b + d->e will have any significant
impact on whether the information is useful to the client.  Especially
given that times are expressed in seconds, not microseconds.


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 11:30:17 2012
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 2B69F21F86D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 11:30:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.764
X-Spam-Level: 
X-Spam-Status: No, score=-7.764 tagged_above=-999 required=5 tests=[AWL=2.834, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3fCeaieAEwEs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 11:30:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5349621F86C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 11:30:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKCe8-0005lE-2V for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 18:29:12 +0000
Resent-Date: Fri, 05 Oct 2012 18:29:12 +0000
Resent-Message-Id: <E1TKCe8-0005lE-2V@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TKCe5-0005kB-Em for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 18:29:09 +0000
Received: from mail-wi0-f169.google.com ([209.85.212.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TKCe4-0000kC-8c for ietf-http-wg@w3.org; Fri, 05 Oct 2012 18:29:09 +0000
Received: by mail-wi0-f169.google.com with SMTP id hq4so958143wib.2 for <ietf-http-wg@w3.org>; Fri, 05 Oct 2012 11:28:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Us38iM5QCoNG2c/YbQmd5mA6YRnzNYWMCQ/lAWdZ/4c=; b=FOBQNJienhpqzk5rCOq33LFpf/mDJEHuVc2o9Y2/Uz/Lb3v637jMwo2zMFitnCE3TX 3E5DRWwVDbw1o/ZS7yL65AclaJqzdDZkilyFdmzA4c7EdvW6G2Vona2qt1UzrUZaXByP mwukTJjYxRB37v5g7NkqEEuVDfQ+yChnpUzA2HxtrkApIx+lFgKTMWQk7YOBhgDUyyNi DmZo2c8FsjmNQnadn1bW3PHTBjur0iKdSjf+6NXUo60hRPMwk0sd40eAfkACw6hbflXR 6eUDgVLLpSKlviRGJ/5dBHn/pwSLl5wmARrUyU0n4HSJ8bPWdQ11WcfQKc7TnbH6Z64l qtrQ==
Received: by 10.180.87.230 with SMTP id bb6mr5021413wib.6.1349461721383; Fri, 05 Oct 2012 11:28:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Fri, 5 Oct 2012 11:28:21 -0700 (PDT)
In-Reply-To: <CABkgnnWvbjkmXe_orAKwLuq8J7LJ2uCgcW7Ry=mhBj=gOTgYHA@mail.gmail.com>
References: <20120914184457.16683.33382.idtracker@ietfa.amsl.com> <6.2.5.6.2.20120914153648.09f87700@resistor.net> <506EF8FA.1030100@gmx.de> <CABkgnnXkHdVcK4fa0p2MPox7RTruOQCWVa7UCuPNLy-b4yUiVg@mail.gmail.com> <CABP7Rbc81Yo+Xp4QdJKH=Kq=v8F1==gAnhGjaKASvVfKis_fRw@mail.gmail.com> <CABkgnnWvbjkmXe_orAKwLuq8J7LJ2uCgcW7Ry=mhBj=gOTgYHA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 5 Oct 2012 11:28:21 -0700
Message-ID: <CABP7RbeTd=43Pq56raCXOVO6NZhOX3yKb1_LL--EqroUEXiCzw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, ietf@ietf.org, SM <sm@resistor.net>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0444e97b8a816e04cb540a87
Received-SPF: pass client-ip=209.85.212.169; envelope-from=jasnell@gmail.com; helo=mail-wi0-f169.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TKCe4-0000kC-8c 31d4186c836c13b04a3769598d26eea3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Last Call: <draft-snell-http-prefer-14.txt> (Prefer Header for  HTTP) to Proposed Standard
Archived-At: <http://www.w3.org/mid/CABP7RbeTd=43Pq56raCXOVO6NZhOX3yKb1_LL--EqroUEXiCzw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15315
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>

--f46d0444e97b8a816e04cb540a87
Content-Type: text/plain; charset=UTF-8

How about the following change:

<snip>

  The "wait" preference can be used to establish an upper bound on the
  length of time, in seconds, the client expects it will take the server
  to process the request once it has been received. In the case that
  generating a response will take longer than the time specified,
  the server, or proxy, can choose to utilize an asynchronous processing
  model by returning -- for example -- a "202 Accepted" response.

  ABNF:
    wait = "wait" BWS "=" BWS delta-seconds

  It is important to consider that there are many -- largely
  unpredictable -- factors that can influence the amount of time it
  takes a server to process a request. The period of time specified
  is not intended to be treated as a strictly defined "hard limit"
  but rather as a hint about the client's expectation.

  For example, a server receiving the following request might choose
  to respond asynchronously if processing the request will take longer
  than 10 seconds:

    POST /collection HTTP/1.1
    Host: example.org
    Content-Type: text/plain
    Prefer: return-asynch, wait=10

    {Data}

</snip>

On Fri, Oct 5, 2012 at 11:12 AM, Martin Thomson <martin.thomson@gmail.com>wrote:

> On 5 October 2012 10:42, James M Snell <jasnell@gmail.com> wrote:
> > I could drop the Date header recommendation altogether and stress in the
> > text that good clock synchronization and predictable latency is required
> for
> > the wait preference to be used effectively.
>
> The feature is useful, I agree.  The problem is that - as defined -
> the server needs to guess something about the times on the client in
> order to implement this reliably.
>
> Relying on clock synchronization is not realistic.  Even in controlled
> environments, errors are commonplace.
>
> Even the simple case shows a problem:
>   a: client sends request
>   b: server receives request
>   c: time passes
>   d: server responds to request
>   e: client receives response
>
> You require that the time be a measure of a->e.  The server has no way
> to determine what that time is.
>
> An alternative would be to make the requirement apply to b->d.  That
> is something that the server has direct control over.  The client then
> gains a little extra work, but at least they are in a position to
> measure a->b + d->e.  In any case, with low or predictable latency, I
> doubt that the addition of a->b + d->e will have any significant
> impact on whether the information is useful to the client.  Especially
> given that times are expressed in seconds, not microseconds.
>

--f46d0444e97b8a816e04cb540a87
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">How about the following change:</font>=
<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">&lt;snip&gt;</font></div><div><font face=3D"cour=
ier new,monospace"><br>

</font></div><div><span style=3D"font-family:&#39;courier new&#39;,monospac=
e">=C2=A0 The &quot;wait&quot; preference can be used to establish an upper=
 bound on the=C2=A0</span></div><div><font face=3D"courier new,monospace"><=
div>=C2=A0 length of time, in seconds, the client expects it will take the =
server=C2=A0</div>

<div>=C2=A0 to process the request once it has been received. In the case t=
hat=C2=A0</div><div>=C2=A0 generating a response will take longer than the =
time specified,=C2=A0</div><div>=C2=A0 the server, or proxy, can choose to =
utilize an asynchronous processing=C2=A0</div>

<div>=C2=A0 model by returning -- for example -- a &quot;202 Accepted&quot;=
 response.</div><div><br></div><div>=C2=A0 ABNF:</div><div>=C2=A0 =C2=A0 wa=
it =3D &quot;wait&quot; BWS &quot;=3D&quot; BWS delta-seconds</div><div><br=
></div><div>=C2=A0 It is important to consider that there are many -- large=
ly=C2=A0</div>

<div>=C2=A0 unpredictable -- factors that can influence the amount of time =
it=C2=A0</div><div>=C2=A0 takes a server to process a request. The period o=
f time specified=C2=A0</div><div>=C2=A0 is not intended to be treated as a =
strictly defined &quot;hard limit&quot;=C2=A0</div>

<div>=C2=A0 but rather as a hint about the client&#39;s expectation.</div><=
div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0</div><div>=C2=A0 For ex=
ample, a server receiving the following=C2=A0request might choose=C2=A0</di=
v><div>=C2=A0 to respond asynchronously if processing the=C2=A0request will=
 take longer=C2=A0</div>

<div>=C2=A0 than 10 seconds:</div><div><br></div><div>=C2=A0 =C2=A0 POST /c=
ollection HTTP/1.1</div><div>=C2=A0 =C2=A0 Host: <a href=3D"http://example.=
org">example.org</a></div><div>=C2=A0 =C2=A0 Content-Type: text/plain</div>=
<div>=C2=A0 =C2=A0 Prefer: return-asynch, wait=3D10</div>

<div>=C2=A0=C2=A0</div><div>=C2=A0 =C2=A0 {Data}</div><div><br></div></font=
></div><div><font face=3D"courier new,monospace">&lt;/snip&gt;</font></div>=
<div><br><div class=3D"gmail_quote">On Fri, Oct 5, 2012 at 11:12 AM, Martin=
 Thomson <span dir=3D"ltr">&lt;<a href=3D"mailto:martin.thomson@gmail.com" =
target=3D"_blank">martin.thomson@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On 5 October 2012 10:42, J=
ames M Snell &lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gmail.com</a>=
&gt; wrote:<br>


&gt; I could drop the Date header recommendation altogether and stress in t=
he<br>
&gt; text that good clock synchronization and predictable latency is requir=
ed for<br>
&gt; the wait preference to be used effectively.<br>
<br>
</div>The feature is useful, I agree. =C2=A0The problem is that - as define=
d -<br>
the server needs to guess something about the times on the client in<br>
order to implement this reliably.<br>
<br>
Relying on clock synchronization is not realistic. =C2=A0Even in controlled=
<br>
environments, errors are commonplace.<br>
<br>
Even the simple case shows a problem:<br>
=C2=A0 a: client sends request<br>
=C2=A0 b: server receives request<br>
=C2=A0 c: time passes<br>
=C2=A0 d: server responds to request<br>
=C2=A0 e: client receives response<br>
<br>
You require that the time be a measure of a-&gt;e. =C2=A0The server has no =
way<br>
to determine what that time is.<br>
<br>
An alternative would be to make the requirement apply to b-&gt;d. =C2=A0Tha=
t<br>
is something that the server has direct control over. =C2=A0The client then=
<br>
gains a little extra work, but at least they are in a position to<br>
measure a-&gt;b + d-&gt;e. =C2=A0In any case, with low or predictable laten=
cy, I<br>
doubt that the addition of a-&gt;b + d-&gt;e will have any significant<br>
impact on whether the information is useful to the client. =C2=A0Especially=
<br>
given that times are expressed in seconds, not microseconds.<br>
</blockquote></div><br></div>

--f46d0444e97b8a816e04cb540a87--


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 14:21:15 2012
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 9FCF621F8700 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 14:21:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.348
X-Spam-Level: 
X-Spam-Status: No, score=-7.348 tagged_above=-999 required=5 tests=[AWL=3.251, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PtmXRLklGGVL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 14:21:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 981FA21F86FF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 14:21:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKFIb-0006zD-5k for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 21:19:09 +0000
Resent-Date: Fri, 05 Oct 2012 21:19:09 +0000
Resent-Message-Id: <E1TKFIb-0006zD-5k@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1TKFIY-0006yY-Hq for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 21:19:06 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1TKFIX-0005eu-Nd for ietf-http-wg@w3.org; Fri, 05 Oct 2012 21:19:06 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so1160435lah.2 for <ietf-http-wg@w3.org>; Fri, 05 Oct 2012 14:18:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9H/afNv82bheda1SUJVlEkBFwCpPtbcYi20R/CfqPYg=; b=A3S/3cEaPR0M+KPILcTppafnpFtDbEsymuCcHeRamXeZjzQvpcHBUG68XYAE9oXZwy ggL8+1g+2o/5BdTR/Xd+d1Iq3C5OTXCTfTxAdbj/leez4E8S66MqbierxqaMgIESEVb0 odxwfioLvD0W9AqPYBsZIau6iB60uqNdaHG2w4dAX3pj/1sI9wXqHQXn0+8fgSuNvZja CMBgxRauqSlOe6zrMW26mrxP1z+zP0X/+I5YfUvHJWZIc1tLnVERX03M5cUmNZ9eBDBo mnSkfzUB9zHogE3U09JjB6xhaRtaqpEBJLSrWM0XgPpjR3RLGGtzZ8T9HzzEopLlUgXF /J5w==
MIME-Version: 1.0
Received: by 10.152.113.165 with SMTP id iz5mr7739935lab.48.1349471918772; Fri, 05 Oct 2012 14:18:38 -0700 (PDT)
Received: by 10.112.83.2 with HTTP; Fri, 5 Oct 2012 14:18:38 -0700 (PDT)
In-Reply-To: <CABP7RbeTd=43Pq56raCXOVO6NZhOX3yKb1_LL--EqroUEXiCzw@mail.gmail.com>
References: <20120914184457.16683.33382.idtracker@ietfa.amsl.com> <6.2.5.6.2.20120914153648.09f87700@resistor.net> <506EF8FA.1030100@gmx.de> <CABkgnnXkHdVcK4fa0p2MPox7RTruOQCWVa7UCuPNLy-b4yUiVg@mail.gmail.com> <CABP7Rbc81Yo+Xp4QdJKH=Kq=v8F1==gAnhGjaKASvVfKis_fRw@mail.gmail.com> <CABkgnnWvbjkmXe_orAKwLuq8J7LJ2uCgcW7Ry=mhBj=gOTgYHA@mail.gmail.com> <CABP7RbeTd=43Pq56raCXOVO6NZhOX3yKb1_LL--EqroUEXiCzw@mail.gmail.com>
Date: Fri, 5 Oct 2012 14:18:38 -0700
Message-ID: <CABkgnnWXRVeUDAfmJgfyJZyCYzn-Ktn+=ZbgRc5jKMBYJzGRew@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, ietf@ietf.org, SM <sm@resistor.net>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.215.43; envelope-from=martin.thomson@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=-2.089, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TKFIX-0005eu-Nd 792df62603be3e70656d4fdcd572e660
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Last Call: <draft-snell-http-prefer-14.txt> (Prefer Header for  HTTP) to Proposed Standard
Archived-At: <http://www.w3.org/mid/CABkgnnWXRVeUDAfmJgfyJZyCYzn-Ktn+=ZbgRc5jKMBYJzGRew@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15316
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>

An improvement.  Though the following doesn't read quite right to me:

  It is important to consider that there are many -- largely
  unpredictable -- factors that can influence the amount of time it
  takes a server to process a request. The period of time specified
  is not intended to be treated as a strictly defined "hard limit"
  but rather as a hint about the client's expectation.

I'm not sure that it's "mysterious forces" at the server that are the
issue in this design.  Nor is it the case that this would ever be a
hard limit.  As a preference, it's always option.  How about:

  Messages spend some time traversing the network and being
  processed by intermediaries.  This increases the time that a
  client awaits a response in addition to any time spent at a
  server.  A client that has strict timing requirements can estimate
  these factors and adjust the wait value accordingly.

Note that "intermediaries" could include the HTTP stack in both client
and server.

And maybe:

  As with other preferences, the wait preference could be ignored.
  Clients can abandon requests that take longer than they are
  prepared to wait.

--Martin

On 5 October 2012 11:28, James M Snell <jasnell@gmail.com> wrote:
> How about the following change:
>
> <snip>
>
>   The "wait" preference can be used to establish an upper bound on the
>   length of time, in seconds, the client expects it will take the server
>   to process the request once it has been received. In the case that
>   generating a response will take longer than the time specified,
>   the server, or proxy, can choose to utilize an asynchronous processing
>   model by returning -- for example -- a "202 Accepted" response.
>
>   ABNF:
>     wait = "wait" BWS "=" BWS delta-seconds
>
>   It is important to consider that there are many -- largely
>   unpredictable -- factors that can influence the amount of time it
>   takes a server to process a request. The period of time specified
>   is not intended to be treated as a strictly defined "hard limit"
>   but rather as a hint about the client's expectation.
>
>   For example, a server receiving the following request might choose
>   to respond asynchronously if processing the request will take longer
>   than 10 seconds:
>
>     POST /collection HTTP/1.1
>     Host: example.org
>     Content-Type: text/plain
>     Prefer: return-asynch, wait=10
>
>     {Data}
>
> </snip>
>
> On Fri, Oct 5, 2012 at 11:12 AM, Martin Thomson <martin.thomson@gmail.com>
> wrote:
>>
>> On 5 October 2012 10:42, James M Snell <jasnell@gmail.com> wrote:
>> > I could drop the Date header recommendation altogether and stress in the
>> > text that good clock synchronization and predictable latency is required
>> > for
>> > the wait preference to be used effectively.
>>
>> The feature is useful, I agree.  The problem is that - as defined -
>> the server needs to guess something about the times on the client in
>> order to implement this reliably.
>>
>> Relying on clock synchronization is not realistic.  Even in controlled
>> environments, errors are commonplace.
>>
>> Even the simple case shows a problem:
>>   a: client sends request
>>   b: server receives request
>>   c: time passes
>>   d: server responds to request
>>   e: client receives response
>>
>> You require that the time be a measure of a->e.  The server has no way
>> to determine what that time is.
>>
>> An alternative would be to make the requirement apply to b->d.  That
>> is something that the server has direct control over.  The client then
>> gains a little extra work, but at least they are in a position to
>> measure a->b + d->e.  In any case, with low or predictable latency, I
>> doubt that the addition of a->b + d->e will have any significant
>> impact on whether the information is useful to the client.  Especially
>> given that times are expressed in seconds, not microseconds.
>
>


From ietf-http-wg-request@listhub.w3.org  Fri Oct  5 14:28:21 2012
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 1D5D121F872E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 14:28:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.878
X-Spam-Level: 
X-Spam-Status: No, score=-7.878 tagged_above=-999 required=5 tests=[AWL=2.720, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y5Pns+lpa3QW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  5 Oct 2012 14:28:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 22BC021F870A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  5 Oct 2012 14:28:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKFQJ-0001SL-02 for ietf-http-wg-dist@listhub.w3.org; Fri, 05 Oct 2012 21:27:07 +0000
Resent-Date: Fri, 05 Oct 2012 21:27:07 +0000
Resent-Message-Id: <E1TKFQJ-0001SL-02@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TKFQG-0001RI-9r for ietf-http-wg@listhub.w3.org; Fri, 05 Oct 2012 21:27:04 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TKFQF-0005rK-1v for ietf-http-wg@w3.org; Fri, 05 Oct 2012 21:27:04 +0000
Received: by mail-wi0-f173.google.com with SMTP id hm4so1084748wib.8 for <ietf-http-wg@w3.org>; Fri, 05 Oct 2012 14:26:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JpcVTo7j21IwOvxHOy8B9DidDQ9dJ9wQMwKHZiF3gtw=; b=bMBEfp6T060Mg+rzidfddD2wiFNCHWjATSeB/jHgN/zfvWSHVP5WRL7IjqK4uFb1hS gsDkCdnRyPjd6sdTYakoYzUkdq6AHCxeMyYLuVenMaD86QFSEFstj0XrKooGaVDdVKK+ Dy5N65NY9SzmXvwQ4X4wtVXCIOMPuxgQNpwGseBiuaJ1wJE07ii/+KYDN7MkzBG4nuZw LuNhogw4I60olWZx9vlZ859TXZ9s6gRPnY+z0eXq4vMbcyC2WjZBg4csHASBsDFtgdTK iKPWWSBLd752DTL+RAv4vaq8cqb1Zl8JjywbwMxUYx2RwHaAbBjsNTBWspwmpv1S6xZx skQw==
MIME-Version: 1.0
Received: by 10.180.79.103 with SMTP id i7mr5782386wix.13.1349472396868; Fri, 05 Oct 2012 14:26:36 -0700 (PDT)
Received: by 10.223.182.4 with HTTP; Fri, 5 Oct 2012 14:26:36 -0700 (PDT)
Received: by 10.223.182.4 with HTTP; Fri, 5 Oct 2012 14:26:36 -0700 (PDT)
In-Reply-To: <CABkgnnWXRVeUDAfmJgfyJZyCYzn-Ktn+=ZbgRc5jKMBYJzGRew@mail.gmail.com>
References: <20120914184457.16683.33382.idtracker@ietfa.amsl.com> <6.2.5.6.2.20120914153648.09f87700@resistor.net> <506EF8FA.1030100@gmx.de> <CABkgnnXkHdVcK4fa0p2MPox7RTruOQCWVa7UCuPNLy-b4yUiVg@mail.gmail.com> <CABP7Rbc81Yo+Xp4QdJKH=Kq=v8F1==gAnhGjaKASvVfKis_fRw@mail.gmail.com> <CABkgnnWvbjkmXe_orAKwLuq8J7LJ2uCgcW7Ry=mhBj=gOTgYHA@mail.gmail.com> <CABP7RbeTd=43Pq56raCXOVO6NZhOX3yKb1_LL--EqroUEXiCzw@mail.gmail.com> <CABkgnnWXRVeUDAfmJgfyJZyCYzn-Ktn+=ZbgRc5jKMBYJzGRew@mail.gmail.com>
Date: Fri, 5 Oct 2012 14:26:36 -0700
Message-ID: <CABP7RbfEUe-dHx0X-+ji5+GKQycOzHFUKg8fKJc2=xBfG0rEQg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, ietf-http-wg@w3.org, SM <sm@resistor.net>,  ietf@ietf.org
Content-Type: multipart/alternative; boundary=f46d04182518d97d6704cb568645
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-2.168, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TKFQF-0005rK-1v ccab379e39446d4788708d3e10065935
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Last Call: <draft-snell-http-prefer-14.txt> (Prefer Header for  HTTP) to Proposed Standard
Archived-At: <http://www.w3.org/mid/CABP7RbfEUe-dHx0X-+ji5+GKQycOzHFUKg8fKJc2=xBfG0rEQg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15317
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>

--f46d04182518d97d6704cb568645
Content-Type: text/plain; charset=UTF-8

That works for me.
On Oct 5, 2012 2:18 PM, "Martin Thomson" <martin.thomson@gmail.com> wrote:

> An improvement.  Though the following doesn't read quite right to me:
>
>   It is important to consider that there are many -- largely
>   unpredictable -- factors that can influence the amount of time it
>   takes a server to process a request. The period of time specified
>   is not intended to be treated as a strictly defined "hard limit"
>   but rather as a hint about the client's expectation.
>
> I'm not sure that it's "mysterious forces" at the server that are the
> issue in this design.  Nor is it the case that this would ever be a
> hard limit.  As a preference, it's always option.  How about:
>
>   Messages spend some time traversing the network and being
>   processed by intermediaries.  This increases the time that a
>   client awaits a response in addition to any time spent at a
>   server.  A client that has strict timing requirements can estimate
>   these factors and adjust the wait value accordingly.
>
> Note that "intermediaries" could include the HTTP stack in both client
> and server.
>
> And maybe:
>
>   As with other preferences, the wait preference could be ignored.
>   Clients can abandon requests that take longer than they are
>   prepared to wait.
>
> --Martin
>
> On 5 October 2012 11:28, James M Snell <jasnell@gmail.com> wrote:
> > How about the following change:
> >
> > <snip>
> >
> >   The "wait" preference can be used to establish an upper bound on the
> >   length of time, in seconds, the client expects it will take the server
> >   to process the request once it has been received. In the case that
> >   generating a response will take longer than the time specified,
> >   the server, or proxy, can choose to utilize an asynchronous processing
> >   model by returning -- for example -- a "202 Accepted" response.
> >
> >   ABNF:
> >     wait = "wait" BWS "=" BWS delta-seconds
> >
> >   It is important to consider that there are many -- largely
> >   unpredictable -- factors that can influence the amount of time it
> >   takes a server to process a request. The period of time specified
> >   is not intended to be treated as a strictly defined "hard limit"
> >   but rather as a hint about the client's expectation.
> >
> >   For example, a server receiving the following request might choose
> >   to respond asynchronously if processing the request will take longer
> >   than 10 seconds:
> >
> >     POST /collection HTTP/1.1
> >     Host: example.org
> >     Content-Type: text/plain
> >     Prefer: return-asynch, wait=10
> >
> >     {Data}
> >
> > </snip>
> >
> > On Fri, Oct 5, 2012 at 11:12 AM, Martin Thomson <
> martin.thomson@gmail.com>
> > wrote:
> >>
> >> On 5 October 2012 10:42, James M Snell <jasnell@gmail.com> wrote:
> >> > I could drop the Date header recommendation altogether and stress in
> the
> >> > text that good clock synchronization and predictable latency is
> required
> >> > for
> >> > the wait preference to be used effectively.
> >>
> >> The feature is useful, I agree.  The problem is that - as defined -
> >> the server needs to guess something about the times on the client in
> >> order to implement this reliably.
> >>
> >> Relying on clock synchronization is not realistic.  Even in controlled
> >> environments, errors are commonplace.
> >>
> >> Even the simple case shows a problem:
> >>   a: client sends request
> >>   b: server receives request
> >>   c: time passes
> >>   d: server responds to request
> >>   e: client receives response
> >>
> >> You require that the time be a measure of a->e.  The server has no way
> >> to determine what that time is.
> >>
> >> An alternative would be to make the requirement apply to b->d.  That
> >> is something that the server has direct control over.  The client then
> >> gains a little extra work, but at least they are in a position to
> >> measure a->b + d->e.  In any case, with low or predictable latency, I
> >> doubt that the addition of a->b + d->e will have any significant
> >> impact on whether the information is useful to the client.  Especially
> >> given that times are expressed in seconds, not microseconds.
> >
> >
>

--f46d04182518d97d6704cb568645
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">That works for me. </p>
<div class=3D"gmail_quote">On Oct 5, 2012 2:18 PM, &quot;Martin Thomson&quo=
t; &lt;<a href=3D"mailto:martin.thomson@gmail.com">martin.thomson@gmail.com=
</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
An improvement. =C2=A0Though the following doesn&#39;t read quite right to =
me:<br>
<br>
=C2=A0 It is important to consider that there are many -- largely<br>
=C2=A0 unpredictable -- factors that can influence the amount of time it<br=
>
=C2=A0 takes a server to process a request. The period of time specified<br=
>
=C2=A0 is not intended to be treated as a strictly defined &quot;hard limit=
&quot;<br>
=C2=A0 but rather as a hint about the client&#39;s expectation.<br>
<br>
I&#39;m not sure that it&#39;s &quot;mysterious forces&quot; at the server =
that are the<br>
issue in this design. =C2=A0Nor is it the case that this would ever be a<br=
>
hard limit. =C2=A0As a preference, it&#39;s always option. =C2=A0How about:=
<br>
<br>
=C2=A0 Messages spend some time traversing the network and being<br>
=C2=A0 processed by intermediaries. =C2=A0This increases the time that a<br=
>
=C2=A0 client awaits a response in addition to any time spent at a<br>
=C2=A0 server. =C2=A0A client that has strict timing requirements can estim=
ate<br>
=C2=A0 these factors and adjust the wait value accordingly.<br>
<br>
Note that &quot;intermediaries&quot; could include the HTTP stack in both c=
lient<br>
and server.<br>
<br>
And maybe:<br>
<br>
=C2=A0 As with other preferences, the wait preference could be ignored.<br>
=C2=A0 Clients can abandon requests that take longer than they are<br>
=C2=A0 prepared to wait.<br>
<br>
--Martin<br>
<br>
On 5 October 2012 11:28, James M Snell &lt;<a href=3D"mailto:jasnell@gmail.=
com">jasnell@gmail.com</a>&gt; wrote:<br>
&gt; How about the following change:<br>
&gt;<br>
&gt; &lt;snip&gt;<br>
&gt;<br>
&gt; =C2=A0 The &quot;wait&quot; preference can be used to establish an upp=
er bound on the<br>
&gt; =C2=A0 length of time, in seconds, the client expects it will take the=
 server<br>
&gt; =C2=A0 to process the request once it has been received. In the case t=
hat<br>
&gt; =C2=A0 generating a response will take longer than the time specified,=
<br>
&gt; =C2=A0 the server, or proxy, can choose to utilize an asynchronous pro=
cessing<br>
&gt; =C2=A0 model by returning -- for example -- a &quot;202 Accepted&quot;=
 response.<br>
&gt;<br>
&gt; =C2=A0 ABNF:<br>
&gt; =C2=A0 =C2=A0 wait =3D &quot;wait&quot; BWS &quot;=3D&quot; BWS delta-=
seconds<br>
&gt;<br>
&gt; =C2=A0 It is important to consider that there are many -- largely<br>
&gt; =C2=A0 unpredictable -- factors that can influence the amount of time =
it<br>
&gt; =C2=A0 takes a server to process a request. The period of time specifi=
ed<br>
&gt; =C2=A0 is not intended to be treated as a strictly defined &quot;hard =
limit&quot;<br>
&gt; =C2=A0 but rather as a hint about the client&#39;s expectation.<br>
&gt;<br>
&gt; =C2=A0 For example, a server receiving the following request might cho=
ose<br>
&gt; =C2=A0 to respond asynchronously if processing the request will take l=
onger<br>
&gt; =C2=A0 than 10 seconds:<br>
&gt;<br>
&gt; =C2=A0 =C2=A0 POST /collection HTTP/1.1<br>
&gt; =C2=A0 =C2=A0 Host: <a href=3D"http://example.org" target=3D"_blank">e=
xample.org</a><br>
&gt; =C2=A0 =C2=A0 Content-Type: text/plain<br>
&gt; =C2=A0 =C2=A0 Prefer: return-asynch, wait=3D10<br>
&gt;<br>
&gt; =C2=A0 =C2=A0 {Data}<br>
&gt;<br>
&gt; &lt;/snip&gt;<br>
&gt;<br>
&gt; On Fri, Oct 5, 2012 at 11:12 AM, Martin Thomson &lt;<a href=3D"mailto:=
martin.thomson@gmail.com">martin.thomson@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On 5 October 2012 10:42, James M Snell &lt;<a href=3D"mailto:jasne=
ll@gmail.com">jasnell@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; I could drop the Date header recommendation altogether and st=
ress in the<br>
&gt;&gt; &gt; text that good clock synchronization and predictable latency =
is required<br>
&gt;&gt; &gt; for<br>
&gt;&gt; &gt; the wait preference to be used effectively.<br>
&gt;&gt;<br>
&gt;&gt; The feature is useful, I agree. =C2=A0The problem is that - as def=
ined -<br>
&gt;&gt; the server needs to guess something about the times on the client =
in<br>
&gt;&gt; order to implement this reliably.<br>
&gt;&gt;<br>
&gt;&gt; Relying on clock synchronization is not realistic. =C2=A0Even in c=
ontrolled<br>
&gt;&gt; environments, errors are commonplace.<br>
&gt;&gt;<br>
&gt;&gt; Even the simple case shows a problem:<br>
&gt;&gt; =C2=A0 a: client sends request<br>
&gt;&gt; =C2=A0 b: server receives request<br>
&gt;&gt; =C2=A0 c: time passes<br>
&gt;&gt; =C2=A0 d: server responds to request<br>
&gt;&gt; =C2=A0 e: client receives response<br>
&gt;&gt;<br>
&gt;&gt; You require that the time be a measure of a-&gt;e. =C2=A0The serve=
r has no way<br>
&gt;&gt; to determine what that time is.<br>
&gt;&gt;<br>
&gt;&gt; An alternative would be to make the requirement apply to b-&gt;d. =
=C2=A0That<br>
&gt;&gt; is something that the server has direct control over. =C2=A0The cl=
ient then<br>
&gt;&gt; gains a little extra work, but at least they are in a position to<=
br>
&gt;&gt; measure a-&gt;b + d-&gt;e. =C2=A0In any case, with low or predicta=
ble latency, I<br>
&gt;&gt; doubt that the addition of a-&gt;b + d-&gt;e will have any signifi=
cant<br>
&gt;&gt; impact on whether the information is useful to the client. =C2=A0E=
specially<br>
&gt;&gt; given that times are expressed in seconds, not microseconds.<br>
&gt;<br>
&gt;<br>
</blockquote></div>

--f46d04182518d97d6704cb568645--


From ietf-http-wg-request@listhub.w3.org  Sat Oct  6 15:07:08 2012
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 13A3221F84D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  6 Oct 2012 15:07:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.399
X-Spam-Level: 
X-Spam-Status: No, score=-7.399 tagged_above=-999 required=5 tests=[AWL=3.200, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hxifgs-1y5fo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  6 Oct 2012 15:07:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5025121F84CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  6 Oct 2012 15:07:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TKcTX-0006uP-Dn for ietf-http-wg-dist@listhub.w3.org; Sat, 06 Oct 2012 22:03:59 +0000
Resent-Date: Sat, 06 Oct 2012 22:03:59 +0000
Resent-Message-Id: <E1TKcTX-0006uP-Dn@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TKcTV-0006tf-1U for ietf-http-wg@listhub.w3.org; Sat, 06 Oct 2012 22:03:57 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TKcTS-0003QJ-V9 for ietf-http-wg@w3.org; Sat, 06 Oct 2012 22:03:56 +0000
Received: from [192.168.49.211] (unknown [212.159.33.27]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 97A41509EB for <ietf-http-wg@w3.org>; Sat,  6 Oct 2012 18:03:32 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Date: Sat, 6 Oct 2012 23:03:31 +0100
References: <20121005165405.24407.36767.idtracker@ietfa.amsl.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-Id: <4D79841A-1ECA-4EEE-9E0C-5EE7EC0A5E57@mnot.net>
Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\))
X-Mailer: Apple Mail (2.1498)
Received-SPF: pass client-ip=216.86.168.183; envelope-from=mnot@mnot.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-3.117, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TKcTS-0003QJ-V9 48518a65127fb7d66c56425262d4b9a1
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: httpbis - Requested sessions have been scheduled for IETF 85
Archived-At: <http://www.w3.org/mid/4D79841A-1ECA-4EEE-9E0C-5EE7EC0A5E57@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15318
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>

FYI; I think these should stick.

Begin forwarded message:
>=20
> Dear Mark Nottingham,
[=85]
> The session(s) that you have requested have been scheduled.
> httpbis Session 1 (1:30:00)
>   Monday, Afternoon Session I 1300-1500
>   Room Name: Salon D
>   ---------------------------------------------
>   httpbis Session 2 (2:30:00)
>   Tuesday, Morning Session I 0900-1130
>   Room Name: Salon E
>   ---------------------------------------------

--
Mark Nottingham
http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Mon Oct  8 07:08:27 2012
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 E663721F849B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 07:08:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v9xqgG39dDBG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 07:08:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E371221F84A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 Oct 2012 07:08:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLDx4-0003r6-3F for ietf-http-wg-dist@listhub.w3.org; Mon, 08 Oct 2012 14:04:58 +0000
Resent-Date: Mon, 08 Oct 2012 14:04:58 +0000
Resent-Message-Id: <E1TLDx4-0003r6-3F@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <TFossati@velocix.com>) id 1TLDx1-0003qR-9t for ietf-http-wg@listhub.w3.org; Mon, 08 Oct 2012 14:04:55 +0000
Received: from mail-out1.velocix.com ([81.134.152.10] helo=owa.velocix.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <TFossati@velocix.com>) id 1TLDww-0004Fi-Ho for ietf-http-wg@w3.org; Mon, 08 Oct 2012 14:04:55 +0000
Received: from EXC01-MLT.corp.velocix.com (172.18.4.41) by EXC00CAM.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Mon, 8 Oct 2012 15:04:22 +0100
Received: from EXB01-MLT.corp.velocix.com ([169.254.2.169]) by exc01-mlt.corp.velocix.com ([172.18.4.41]) with mapi id 14.02.0318.001; Mon, 8 Oct 2012 15:04:22 +0100
From: Thomas Fossati <TFossati@velocix.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: 304 and Age
Thread-Index: AQHNpV3QGnkjiXijCEK5cf2ipbljfQ==
Date: Mon, 8 Oct 2012 14:04:22 +0000
Message-ID: <3560E9CD-6EAA-4BE6-96C0-924C686697B2@velocix.com>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.18.0.63]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <C5131DE75514C043A4227541FC6FC87C@velocix.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=81.134.152.10; envelope-from=TFossati@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RP_MATCHES_RCVD=-2.138
X-W3C-Scan-Sig: maggie.w3.org 1TLDww-0004Fi-Ho e8d5d0b68a2b0a5b169f79f6cc316238
X-Original-To: ietf-http-wg@w3.org
Subject: 304 and Age
Archived-At: <http://www.w3.org/mid/3560E9CD-6EAA-4BE6-96C0-924C686697B2@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15319
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>

Hi all,

maybe a dumb one, but I couldn't find any decisive anchor for the following=
 question: suppose my cache receives a conditional GET for a resource for w=
hich it has a fresh representation, should Age be sent back to the requeste=
r in a 304 ?

The two points in the current spec that got me confused are:

- p6, Section 4: "When a stored response is used to satisfy a request witho=
ut validation, a cache MUST include a single Age header field in the respon=
se with a value equal to the stored response's current_age."

- p4, Section 4.1 after the paragraph listing the mandatory headers for 304=
 (which do not include Age): "Since the goal of a 304 response is to minimi=
ze information transfer when the recipient already has one or more cached r=
epresentations, the response should not include representation metadata oth=
er than the above listed fields unless said metadata exists for the purpose=
 of guiding cache updates (e.g., future HTTP extensions)."

TIA, Thomas.=


From ietf-http-wg-request@listhub.w3.org  Mon Oct  8 13:31:50 2012
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 D0A2B1F042B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 13:31:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.982
X-Spam-Level: 
X-Spam-Status: No, score=-7.982 tagged_above=-999 required=5 tests=[AWL=2.616, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MjN2C633BsEy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 13:31:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 44ECE1F042A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 Oct 2012 13:31:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLJwy-0002W5-MB for ietf-http-wg-dist@listhub.w3.org; Mon, 08 Oct 2012 20:29:16 +0000
Resent-Date: Mon, 08 Oct 2012 20:29:16 +0000
Resent-Message-Id: <E1TLJwy-0002W5-MB@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TLJwl-0002VM-T1 for ietf-http-wg@listhub.w3.org; Mon, 08 Oct 2012 20:29:03 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TLJwk-0008Pu-Vy for ietf-http-wg@w3.org; Mon, 08 Oct 2012 20:29:03 +0000
Received: by mail-wi0-f173.google.com with SMTP id hm4so3516560wib.8 for <ietf-http-wg@w3.org>; Mon, 08 Oct 2012 13:28:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=00DiCKCV5pOjfnxshXWxoQj5yoUYTGZrzVvus6dYiiM=; b=iSQij1pNsOo3Vc9tlVi1jwYY3CUQfakWYsFp15/9vQmWqJs9I9tvPb55i8Y8FYFvIC XbADqfBlOeSDx0bdIloCXciNZfauC2ilJwdTNXQo17RICUjGXZY+TdHc/912XhdnmLJD 2/lwLTM6sZ5L2gTEMEZtA/nT5bvw3tEBPS6yQE7F/obKyuJiIKR5JnhbHgRowo0GaAdK UW/b+ZSKnYUluhdGrI6qs29TAIBYxz9IgE4sJ6dqXVuzoQ7SdiPGQFvuMyAVNybP07hc qC1X+iMHzi5sZoxQuX9RIxgkUNRq7Ar4pwJVCR+/jZjGmPkA5BvAhoHxLOODjxqgRujE 1vHw==
Received: by 10.180.87.230 with SMTP id bb6mr23844093wib.6.1349728116615; Mon, 08 Oct 2012 13:28:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Mon, 8 Oct 2012 13:28:16 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Mon, 8 Oct 2012 13:28:16 -0700
Message-ID: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0444e97bef2bd704cb921035
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.760, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TLJwk-0008Pu-Vy e3d32e9a6e13fc1711829badc46a6ca0
X-Original-To: ietf-http-wg@w3.org
Subject: Link and Unlink
Archived-At: <http://www.w3.org/mid/CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15320
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>

--f46d0444e97bef2bd704cb921035
Content-Type: text/plain; charset=UTF-8

For review and comment...

  http://www.ietf.org/id/draft-snell-link-method-00.txt

Updated definition of LINK and UNLINK, taking RFC5988 into consideration
and using language consistent from current httpbis draft (read: shamelessly
and remorselessly lifted).

Comments and feedback definitely welcome.

- James

--f46d0444e97bef2bd704cb921035
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">For review and comment...</font><div><=
font face=3D"courier new,monospace"><br></font></div><div><font face=3D"cou=
rier new,monospace">=C2=A0=C2=A0</font><font face=3D"courier new, monospace=
"><a href=3D"http://www.ietf.org/id/draft-snell-link-method-00.txt">http://=
www.ietf.org/id/draft-snell-link-method-00.txt</a></font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">Updated definition of LINK and UNLINK, taking R=
FC5988 into consideration and using language consistent=C2=A0from current h=
ttpbis draft=C2=A0</font><span style=3D"font-family:&#39;courier new&#39;,m=
onospace">(read: shamelessly and=C2=A0</span><span style=3D"font-family:&#3=
9;courier new&#39;,monospace">remorselessly</span><span style=3D"font-famil=
y:&#39;courier new&#39;,monospace">=C2=A0lifted).=C2=A0</span><span style=
=3D"font-family:&#39;courier new&#39;,monospace">=C2=A0</span></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">Comments and feedback definitely welcome.</font=
></div><div><font face=3D"courier new, monospace"><br></font></div><div><fo=
nt face=3D"courier new, monospace">- James</font></div>

<div><font face=3D"courier new, monospace"><br></font></div>

--f46d0444e97bef2bd704cb921035--


From ietf-http-wg-request@listhub.w3.org  Mon Oct  8 17:05:06 2012
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 E985F21F85AC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 17:05:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f+lczeSPp1kL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 17:05:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4EB8A21F85A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 Oct 2012 17:05:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLNHI-0007rO-K7 for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 00:02:28 +0000
Resent-Date: Tue, 09 Oct 2012 00:02:28 +0000
Resent-Message-Id: <E1TLNHI-0007rO-K7@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TLNHC-0007qM-Lb for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 00:02:22 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TLNHB-0006ZL-HK for ietf-http-wg@w3.org; Tue, 09 Oct 2012 00:02:22 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 08563E6FE1; Tue,  9 Oct 2012 13:01:53 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 09 Oct 2012 13:01:53 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <3560E9CD-6EAA-4BE6-96C0-924C686697B2@velocix.com>
References: <3560E9CD-6EAA-4BE6-96C0-924C686697B2@velocix.com>
Message-ID: <1be4d067fa531e5406708654cdf894ff@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-2.499, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TLNHB-0006ZL-HK 0f5e0356f28364a4519c9f17720ac0dc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 304 and Age
Archived-At: <http://www.w3.org/mid/1be4d067fa531e5406708654cdf894ff@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15321
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>

On 09.10.2012 03:04, Thomas Fossati wrote:
> Hi all,
>
> maybe a dumb one, but I couldn't find any decisive anchor for the
> following question: suppose my cache receives a conditional GET for a
> resource for which it has a fresh representation, should Age be sent
> back to the requester in a 304 ?
>
> The two points in the current spec that got me confused are:
>
> - p6, Section 4: "When a stored response is used to satisfy a request
> without validation, a cache MUST include a single Age header field in
> the response with a value equal to the stored response's 
> current_age."
>
> - p4, Section 4.1 after the paragraph listing the mandatory headers
> for 304 (which do not include Age): "Since the goal of a 304 response
> is to minimize information transfer when the recipient already has 
> one
> or more cached representations, the response should not include
> representation metadata other than the above listed fields unless 
> said
> metadata exists for the purpose of guiding cache updates (e.g., 
> future
> HTTP extensions)."
>
> TIA, Thomas.


IMO, the Age header is not useful in this case. Since the requestor 
already appears to have a copy of the representation, thus already has 
or can calculate its Age. If the requestor does not already have a coy 
(was checking for existence etc) then it does not need to know Age, but 
only existence and future lifetime - which are included via the other 
304 headers.

AYJ



From ietf-http-wg-request@listhub.w3.org  Mon Oct  8 17:52:05 2012
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 6A54A1F0C8B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 17:52:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AOYwez94iyF4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 17:52:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A473B1F0C89 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 Oct 2012 17:52:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLO1U-0007om-Ub for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 00:50:12 +0000
Resent-Date: Tue, 09 Oct 2012 00:50:12 +0000
Resent-Message-Id: <E1TLO1U-0007om-Ub@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TLO1S-0007nc-BT for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 00:50:10 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TLO1Q-0004CD-VS for ietf-http-wg@w3.org; Tue, 09 Oct 2012 00:50:10 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 15C2BE6FE1; Tue,  9 Oct 2012 13:49:44 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 09 Oct 2012 13:49:43 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
References: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
Message-ID: <ee1f6c14505c6dbad6a685eb8082fc14@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-2.499, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TLO1Q-0004CD-VS 44011d89f4f1892ed99dbf3f7abe61be
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Link and Unlink
Archived-At: <http://www.w3.org/mid/ee1f6c14505c6dbad6a685eb8082fc14@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15322
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>

On 09.10.2012 09:28, James M Snell wrote:
> For review and comment...
>
>   http://www.ietf.org/id/draft-snell-link-method-00.txt
>
> Updated definition of LINK and UNLINK, taking RFC5988 into 
> consideration
> and using language consistent from current httpbis draft (read: 
> shamelessly
> and remorselessly lifted).
>
> Comments and feedback definitely welcome.
>
> - James


Given that LINK/UNLINK contain the active parameters for change in Link 
headers instead of URL I don't believe they are normally cacheable as 
stated in the draft. Only when a proxy cache is performing conditional 
requests to the upstream server does cacheability make sense.


For example; two LINK requests for the same URL with different Link 
header content. Request A and request B.

Request A can happen and have a response. However request B, should not 
(MUST NOT?) be responded to by a proxy cache using a cached response to 
request A since the intended server/target of LINK will never receive 
the (different) request-B Link headers. It is likely that the request B 
will have created a different response body to request A anyway 
(use-case being a registry index of some sort, ie torrent seeders list, 
library index, database table content) - making caching the most 
undesirable of outcomes.

The same use-case applies to UNLINK headers and responses.


Also the referenced part6 draft states
" A cache MUST write through requests with methods that are unsafe
    (Section 5.2.1 of [Part2]) to the origin server; i.e., a cache is 
not
    allowed to generate a reply to such a request before having 
forwarded
    the request and having received a corresponding response.
"

So the non-conditional cases passing the request through and waiting 
for a new 2XX response before responding makes caching the earlier 
response useless. For the browser/client cache situation the response 
would seem to be only needed to update the client state information then 
can be discarded.


On the other hand ...

If the proxy cache were to relay the request but add conditional 
headers. Making request-B potentially not only make the LINK/UNLINK 
update but query whether the cached 2xx response is suitable for sending 
to the client.
NP: only the If-Match/If-None-match conditionals make since for this 
case, the time-based ones would block a clients unconditional change.


That raises the question of whether, being idempotent the server should 
respond with "304 Not Modified" in all cases where the LINK/UNLINK was 
not performed due to the link already existing (or not). 204 seems to be 
a step in that direction while retaining the 200 semantics, but 204 
*replaces* a 200 representation with 'nothing' - whereas 304 would 
simply be a no-op success.

Amos



From ietf-http-wg-request@listhub.w3.org  Mon Oct  8 19:18:16 2012
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 722FC1F0420 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 19:18:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.162
X-Spam-Level: 
X-Spam-Status: No, score=-7.162 tagged_above=-999 required=5 tests=[AWL=3.436, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t59P8nHAH8+N for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 19:18:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 99E6C1F0417 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 Oct 2012 19:18:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLPMa-00063K-3j for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 02:16:04 +0000
Resent-Date: Tue, 09 Oct 2012 02:16:04 +0000
Resent-Message-Id: <E1TLPMa-00063K-3j@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TLPMV-00062f-VZ for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 02:16:00 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TLPMU-0002dj-Gw for ietf-http-wg@w3.org; Tue, 09 Oct 2012 02:15:59 +0000
Received: by mail-wg0-f45.google.com with SMTP id dq12so3665824wgb.26 for <ietf-http-wg@w3.org>; Mon, 08 Oct 2012 19:15:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6g4SqK/IzgUUbTQi51w66zt7yxyrEEFWADb+vQKxYuo=; b=zV2prHOXYRvCTdastjRFQaJk6oszLqfq64BtApCH1GLKIeIrhiMLQwwFfEes08k1so t23K7CMh9dznqHEhO3oljWogWWjLWsN/mKUe87txXRQ/UMSPs4E6g6W4oWDC79NNNgUD g4iSHqIhmxHaIH6eyPBTQ7iwzLeKCE03VxVg3KbCSyX/88s6SAPk0KdLt+or0nzyUNMx A7fkisbBA5LChPyoHrImtBLpI0NfQdoVgw4JHbLdlwllGnxz1hckQiPzbUKOrXxNt8LO HYv6wAdJbux1KWvbgZuP5inNQf1EF47EdzDLu3fnT2Vdix2HDdPmuG3+WGKW/d5PAaMs yhIg==
Received: by 10.180.95.130 with SMTP id dk2mr837290wib.18.1349748932073; Mon, 08 Oct 2012 19:15:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Mon, 8 Oct 2012 19:15:11 -0700 (PDT)
In-Reply-To: <ee1f6c14505c6dbad6a685eb8082fc14@treenet.co.nz>
References: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com> <ee1f6c14505c6dbad6a685eb8082fc14@treenet.co.nz>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 8 Oct 2012 19:15:11 -0700
Message-ID: <CABP7RbdzH_WJ-gf5aAAKfhboHN5xzfmoC+as=TYqJBcV0zJbdQ@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0444ef93a1d99904cb96e901
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-1.542, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TLPMU-0002dj-Gw e855ed59364bf840735d7b0bd295d0bb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Link and Unlink
Archived-At: <http://www.w3.org/mid/CABP7RbdzH_WJ-gf5aAAKfhboHN5xzfmoC+as=TYqJBcV0zJbdQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15323
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>

--f46d0444ef93a1d99904cb96e901
Content-Type: text/plain; charset=UTF-8

On Mon, Oct 8, 2012 at 5:49 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 09.10.2012 09:28, James M Snell wrote:
>
>> For review and comment...
>>
>>   http://www.ietf.org/id/draft-**snell-link-method-00.txt<http://www.ietf.org/id/draft-snell-link-method-00.txt>
>>
>> Updated definition of LINK and UNLINK, taking RFC5988 into consideration
>> and using language consistent from current httpbis draft (read:
>> shamelessly
>> and remorselessly lifted).
>>
>> Comments and feedback definitely welcome.
>>
>> - James
>>
>
>
> Given that LINK/UNLINK contain the active parameters for change in Link
> headers instead of URL I don't believe they are normally cacheable as
> stated in the draft. Only when a proxy cache is performing conditional
> requests to the upstream server does cacheability make sense.
>
>
Definitely appreciate the detailed look through. I've been going through a
variety of use cases this afternoon and I'm less and less convinced that
allowing caching for link/unlink is useful for any reason whatsoever. I
can't really think of a single case where it may be worthwhile.


> [snip]
>
> That raises the question of whether, being idempotent the server should
> respond with "304 Not Modified" in all cases where the LINK/UNLINK was not
> performed due to the link already existing (or not). 204 seems to be a step
> in that direction while retaining the 200 semantics, but 204 *replaces* a
> 200 representation with 'nothing' - whereas 304 would simply be a no-op
> success.
>
>
There are a couple of cases worth considering...specifically, a LINK might
not create a new link, but it might modify an existing one.. namely when
different metadata (title, hreflang, etc) is provided and the link already
exists. Returning a 304 if the Link already exists and has not been
modified makes a lot of sense. This is a case that should definitely be
documented in the doc.


One of the other major questions that came up for me when thinking this
through is what if the Link Relationship itself can be created as a
resource? For instance...

Request:

  LINK /my-resource HTTP/1.1
  Host: example.org
  Link: <http://example.org/foo>; rel="foo"

Response:

  HTTP/1.1 201 Created
  Location: http://example.org/a-link-resource

This is definitely an edge case and I'm not sure if this is somewhere we
want to go at all, but such responses should not be ruled out (which also
speaks to the uncacheable nature of the LINK and UNLINK).

- James



  HTTP/1.1


> Amos
>
>
>

--f46d0444ef93a1d99904cb96e901
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Mon, Oct 8, 2012 at 5:49 PM, Amos Jeffries <span dir=3D"ltr">&lt;<a =
href=3D"mailto:squid3@treenet.co.nz" target=3D"_blank">squid3@treenet.co.nz=
</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5">On 0=
9.10.2012 09:28, James M Snell wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
For review and comment...<br>
<br>
=C2=A0 <a href=3D"http://www.ietf.org/id/draft-snell-link-method-00.txt" ta=
rget=3D"_blank">http://www.ietf.org/id/draft-<u></u>snell-link-method-00.tx=
t</a><br>
<br>
Updated definition of LINK and UNLINK, taking RFC5988 into consideration<br=
>
and using language consistent from current httpbis draft (read: shamelessly=
<br>
and remorselessly lifted).<br>
<br>
Comments and feedback definitely welcome.<br>
<br>
- James<br>
</blockquote>
<br>
<br></div></div>
Given that LINK/UNLINK contain the active parameters for change in Link hea=
ders instead of URL I don&#39;t believe they are normally cacheable as stat=
ed in the draft. Only when a proxy cache is performing conditional requests=
 to the upstream server does cacheability make sense.<br>


<br></blockquote><div><br></div><div>Definitely appreciate the detailed loo=
k through. I&#39;ve been going through a variety of use cases this afternoo=
n and I&#39;m less and less convinced that allowing caching for link/unlink=
 is useful for any reason whatsoever. I can&#39;t really think of a single =
case where it may be worthwhile.=C2=A0</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">[snip]<br>
<br>
That raises the question of whether, being idempotent the server should res=
pond with &quot;304 Not Modified&quot; in all cases where the LINK/UNLINK w=
as not performed due to the link already existing (or not). 204 seems to be=
 a step in that direction while retaining the 200 semantics, but 204 *repla=
ces* a 200 representation with &#39;nothing&#39; - whereas 304 would simply=
 be a no-op success.<span class=3D"HOEnZb"><font color=3D"#888888"><br>


<br></font></span></blockquote><div><br></div><div>There are a couple of ca=
ses worth considering...specifically, a LINK might not create a new link, b=
ut it might modify an existing one.. namely when different metadata (title,=
 hreflang, etc) is provided and the link already exists. Returning a 304 if=
 the Link already exists and has not been modified makes a lot of sense. Th=
is is a case that should definitely be documented in the doc.=C2=A0</div>

<div><br></div><div><br></div><div>One of the other major questions that ca=
me up for me when thinking this through is what if the Link Relationship it=
self can be created as a resource? For instance...</div><div><br></div>

<div>Request:</div><div><br></div><div>=C2=A0 LINK /my-resource HTTP/1.1=C2=
=A0</div><div>=C2=A0 Host: <a href=3D"http://example.org">example.org</a></=
div><div>=C2=A0 Link: &lt;<a href=3D"http://example.org/foo">http://example=
.org/foo</a>&gt;; rel=3D&quot;foo&quot;</div>

<div><br></div><div>Response:</div><div><br></div><div>=C2=A0 HTTP/1.1 201 =
Created</div><div>=C2=A0 Location: <a href=3D"http://example.org/a-link-res=
ource">http://example.org/a-link-resource</a></div><div><br></div><div>This=
 is definitely an edge case and I&#39;m not sure if this is somewhere we wa=
nt to go at all, but such responses should not be ruled out (which also spe=
aks to the uncacheable nature of the LINK and UNLINK).=C2=A0</div>

<div><br></div><div>- James</div><div><br></div><div><br></div><div><br></d=
iv><div>=C2=A0 HTTP/1.1=C2=A0</div><div>=C2=A0</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex"><span class=3D"HOEnZb"><font color=3D"#888888">
Amos<br>
<br>
<br>
</font></span></blockquote></div><br>

--f46d0444ef93a1d99904cb96e901--


From ietf-http-wg-request@listhub.w3.org  Mon Oct  8 20:10:37 2012
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 12A0B11E80CC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 20:10:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.153
X-Spam-Level: 
X-Spam-Status: No, score=-5.153 tagged_above=-999 required=5 tests=[AWL=4.845, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_83=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ms7szHgKlitu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 20:10:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4DF3C11E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 Oct 2012 20:10:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLQBH-0001nL-9G for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 03:08:27 +0000
Resent-Date: Tue, 09 Oct 2012 03:08:27 +0000
Resent-Message-Id: <E1TLQBH-0001nL-9G@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1TLQBD-0001mb-Se for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 03:08:23 +0000
Received: from ipxcno.tcif.telstra.com.au ([203.35.82.208]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1TLQBB-0008KA-JN for ietf-http-wg@w3.org; Tue, 09 Oct 2012 03:08:23 +0000
X-IronPort-AV: E=Sophos;i="4.80,557,1344175200";  d="scan'208,217";a="94997941"
Received: from unknown (HELO ipcdni.tcif.telstra.com.au) ([10.97.216.212]) by ipocni.tcif.telstra.com.au with ESMTP; 09 Oct 2012 14:07:51 +1100
X-IronPort-AV: E=McAfee;i="5400,1158,6859"; a="87195634"
Received: from wsmsg3757.srv.dir.telstra.com ([172.49.40.85]) by ipcdni.tcif.telstra.com.au with ESMTP; 09 Oct 2012 14:07:51 +1100
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by wsmsg3757.srv.dir.telstra.com ([172.49.40.85]) with mapi; Tue, 9 Oct 2012 14:07:51 +1100
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 9 Oct 2012 14:07:50 +1100
Thread-Topic: Link and Unlink
Thread-Index: Ac2lk+9AyUpZFIRaRFSrUQLVwx2RcgANDudA
Message-ID: <255B9BB34FB7D647A506DC292726F6E114FDA21F6D@WSMSG3153V.srv.dir.telstra.com>
References: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
In-Reply-To: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
Accept-Language: en-US, en-AU
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US, en-AU
Content-Type: multipart/alternative; boundary="_000_255B9BB34FB7D647A506DC292726F6E114FDA21F6DWSMSG3153Vsrv_"
MIME-Version: 1.0
Received-SPF: none client-ip=203.35.82.208; envelope-from=James.H.Manger@team.telstra.com; helo=ipxcno.tcif.telstra.com.au
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-1.070, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1TLQBB-0008KA-JN 463b47b705bb3800c244fcfa28e74799
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Link and Unlink
Archived-At: <http://www.w3.org/mid/255B9BB34FB7D647A506DC292726F6E114FDA21F6D@WSMSG3153V.srv.dir.telstra.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15324
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>

--_000_255B9BB34FB7D647A506DC292726F6E114FDA21F6DWSMSG3153Vsrv_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

VXNpbmcgTGluayBhcyBhbiBIVFRQIHJlcXVlc3QgaGVhZGVyIHRvIGNvbnZleSAgYSBsaW5rIHRo
YXQgeW91IHdhbnQgdG8gYXBwZWFyIGFzIGFuIEhUVFAgcmVzcG9uc2UgaGVhZGVyIG9ubHkgd29y
a3MgaWYgcmVxdWVzdHMgY2FuIG5ldmVyIGhhdmUgdGhlaXIgb3duIExpbmsgaGVhZGVycy4gSXMg
dGhpcyB0cnVlPw0KDQpJdCBtaWdodCBiZSBiZXR0ZXIgYXJjaGl0ZWN0dXJhbGx5IHRvIHNlbmQg
YSBQQVRDSCByZXF1ZXN0IHdpdGggdGhlIG5ldyBMaW5rIGhlYWRlcnMgaW4gdGhlIGJvZHkgd2l0
aCwgc2F5LCBhbiBhcHBsaWNhdGlvbi9oZWFkZXItcGF0Y2ggbWVkaWEgdHlwZS4NCg0KUGVyaGFw
cyBpdCBkZXBlbmRzIG9uIHdoZXRoZXIgbGlua3MgYXJlIHBhcnRpY3VsYXJseSBzcGVjaWFsICh3
YXJyYW50aW5nIGRlZGljYXRlZCBIVFRQIG1ldGhvZHMpLCBvciB3aGV0aGVyIHRoZXkgYXJlIGJh
c2ljYWxseSBjb250ZW50IG1ldGFkYXRhKG5vdCB0aGF0IGRpZmZlcmVudCBmcm9tLCBzYXksIGNv
bnRlbnQtdHlwZSkuDQoNCi0tDQpKYW1lcyBNYW5nZXINCg0KRnJvbTogSmFtZXMgTSBTbmVsbCBb
bWFpbHRvOmphc25lbGxAZ21haWwuY29tXQ0KU2VudDogVHVlc2RheSwgOSBPY3RvYmVyIDIwMTIg
NzoyOCBBTQ0KVG86IGlldGYtaHR0cC13Z0B3My5vcmcNClN1YmplY3Q6IExpbmsgYW5kIFVubGlu
aw0KDQpGb3IgcmV2aWV3IGFuZCBjb21tZW50Li4uDQoNCiAgaHR0cDovL3d3dy5pZXRmLm9yZy9p
ZC9kcmFmdC1zbmVsbC1saW5rLW1ldGhvZC0wMC50eHQNCg0KVXBkYXRlZCBkZWZpbml0aW9uIG9m
IExJTksgYW5kIFVOTElOSywgdGFraW5nIFJGQzU5ODggaW50byBjb25zaWRlcmF0aW9uIGFuZCB1
c2luZyBsYW5ndWFnZSBjb25zaXN0ZW50IGZyb20gY3VycmVudCBodHRwYmlzIGRyYWZ0IChyZWFk
OiBzaGFtZWxlc3NseSBhbmQgcmVtb3JzZWxlc3NseSBsaWZ0ZWQpLg0KDQpDb21tZW50cyBhbmQg
ZmVlZGJhY2sgZGVmaW5pdGVseSB3ZWxjb21lLg0KDQotIEphbWVzDQoNCg==

--_000_255B9BB34FB7D647A506DC292726F6E114FDA21F6DWSMSG3153Vsrv_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+PGhlYWQ+PG1ldGEgaHR0cC1lcXVpdj1Db250ZW50LVR5cGUgY29udGVu
dD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij48bWV0YSBuYW1lPUdlbmVyYXRvciBjb250ZW50
PSJNaWNyb3NvZnQgV29yZCAxMiAoZmlsdGVyZWQgbWVkaXVtKSI+PHN0eWxlPjwhLS0NCi8qIEZv
bnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6IkNhbWJyaWEgTWF0
aCI7DQoJcGFub3NlLTE6MiA0IDUgMyA1IDQgNiAzIDIgNDt9DQpAZm9udC1mYWNlDQoJe2ZvbnQt
ZmFtaWx5OkNhbGlicmk7DQoJcGFub3NlLTE6MiAxNSA1IDIgMiAyIDQgMyAyIDQ7fQ0KQGZvbnQt
ZmFjZQ0KCXtmb250LWZhbWlseTpUYWhvbWE7DQoJcGFub3NlLTE6MiAxMSA2IDQgMyA1IDQgNCAy
IDQ7fQ0KLyogU3R5bGUgRGVmaW5pdGlvbnMgKi8NCnAuTXNvTm9ybWFsLCBsaS5Nc29Ob3JtYWws
IGRpdi5Nc29Ob3JtYWwNCgl7bWFyZ2luOjBjbTsNCgltYXJnaW4tYm90dG9tOi4wMDAxcHQ7DQoJ
Zm9udC1zaXplOjEyLjBwdDsNCglmb250LWZhbWlseToiVGltZXMgTmV3IFJvbWFuIiwic2VyaWYi
O30NCmE6bGluaywgc3Bhbi5Nc29IeXBlcmxpbmsNCgl7bXNvLXN0eWxlLXByaW9yaXR5Ojk5Ow0K
CWNvbG9yOmJsdWU7DQoJdGV4dC1kZWNvcmF0aW9uOnVuZGVybGluZTt9DQphOnZpc2l0ZWQsIHNw
YW4uTXNvSHlwZXJsaW5rRm9sbG93ZWQNCgl7bXNvLXN0eWxlLXByaW9yaXR5Ojk5Ow0KCWNvbG9y
OnB1cnBsZTsNCgl0ZXh0LWRlY29yYXRpb246dW5kZXJsaW5lO30NCnNwYW4uRW1haWxTdHlsZTE3
DQoJe21zby1zdHlsZS10eXBlOnBlcnNvbmFsLXJlcGx5Ow0KCWZvbnQtZmFtaWx5OiJDYWxpYnJp
Iiwic2Fucy1zZXJpZiI7DQoJY29sb3I6IzFGNDk3RDt9DQouTXNvQ2hwRGVmYXVsdA0KCXttc28t
c3R5bGUtdHlwZTpleHBvcnQtb25seTt9DQpAcGFnZSBXb3JkU2VjdGlvbjENCgl7c2l6ZTo2MTIu
MHB0IDc5Mi4wcHQ7DQoJbWFyZ2luOjcyLjBwdCA3Mi4wcHQgNzIuMHB0IDcyLjBwdDt9DQpkaXYu
V29yZFNlY3Rpb24xDQoJe3BhZ2U6V29yZFNlY3Rpb24xO30NCi0tPjwvc3R5bGU+PCEtLVtpZiBn
dGUgbXNvIDldPjx4bWw+DQo8bzpzaGFwZWRlZmF1bHRzIHY6ZXh0PSJlZGl0IiBzcGlkbWF4PSIx
MDI2IiAvPg0KPC94bWw+PCFbZW5kaWZdLS0+PCEtLVtpZiBndGUgbXNvIDldPjx4bWw+DQo8bzpz
aGFwZWxheW91dCB2OmV4dD0iZWRpdCI+DQo8bzppZG1hcCB2OmV4dD0iZWRpdCIgZGF0YT0iMSIg
Lz4NCjwvbzpzaGFwZWxheW91dD48L3htbD48IVtlbmRpZl0tLT48L2hlYWQ+PGJvZHkgbGFuZz1F
Ti1BVSBsaW5rPWJsdWUgdmxpbms9cHVycGxlPjxkaXYgY2xhc3M9V29yZFNlY3Rpb24xPjxwIGNs
YXNzPU1zb05vcm1hbD48c3BhbiBzdHlsZT0nZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseToi
Q2FsaWJyaSIsInNhbnMtc2VyaWYiO2NvbG9yOiMxRjQ5N0QnPlVzaW5nIExpbmsgYXMgYW4gSFRU
UCByZXF1ZXN0IGhlYWRlciB0byBjb252ZXnCoCBhIGxpbmsgdGhhdCB5b3Ugd2FudCB0byBhcHBl
YXIgYXMgYW4gSFRUUCByZXNwb25zZSBoZWFkZXIgb25seSB3b3JrcyBpZiByZXF1ZXN0cyBjYW4g
bmV2ZXIgaGF2ZSB0aGVpciBvd24gTGluayBoZWFkZXJzLiBJcyB0aGlzIHRydWU/PG86cD48L286
cD48L3NwYW4+PC9wPjxwIGNsYXNzPU1zb05vcm1hbD48c3BhbiBzdHlsZT0nZm9udC1zaXplOjEx
LjBwdDtmb250LWZhbWlseToiQ2FsaWJyaSIsInNhbnMtc2VyaWYiO2NvbG9yOiMxRjQ5N0QnPjxv
OnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwvcD48cCBjbGFzcz1Nc29Ob3JtYWw+PHNwYW4gc3R5bGU9
J2ZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6IkNhbGlicmkiLCJzYW5zLXNlcmlmIjtjb2xv
cjojMUY0OTdEJz5JdCBtaWdodCBiZSBiZXR0ZXIgYXJjaGl0ZWN0dXJhbGx5IHRvIHNlbmQgYSBQ
QVRDSCByZXF1ZXN0IHdpdGggdGhlIG5ldyBMaW5rIGhlYWRlcnMgaW4gdGhlIGJvZHkgd2l0aCwg
c2F5LCBhbiBhcHBsaWNhdGlvbi9oZWFkZXItcGF0Y2ggbWVkaWEgdHlwZS48bzpwPjwvbzpwPjwv
c3Bhbj48L3A+PHAgY2xhc3M9TXNvTm9ybWFsPjxzcGFuIHN0eWxlPSdmb250LXNpemU6MTEuMHB0
O2ZvbnQtZmFtaWx5OiJDYWxpYnJpIiwic2Fucy1zZXJpZiI7Y29sb3I6IzFGNDk3RCc+PG86cD4m
bmJzcDs8L286cD48L3NwYW4+PC9wPjxwIGNsYXNzPU1zb05vcm1hbD48c3BhbiBzdHlsZT0nZm9u
dC1zaXplOjExLjBwdDtmb250LWZhbWlseToiQ2FsaWJyaSIsInNhbnMtc2VyaWYiO2NvbG9yOiMx
RjQ5N0QnPlBlcmhhcHMgaXQgZGVwZW5kcyBvbiB3aGV0aGVyIGxpbmtzIGFyZSBwYXJ0aWN1bGFy
bHkgc3BlY2lhbCAod2FycmFudGluZyBkZWRpY2F0ZWQgSFRUUCBtZXRob2RzKSwgb3Igd2hldGhl
ciB0aGV5IGFyZSBiYXNpY2FsbHkgY29udGVudCBtZXRhZGF0YShub3QgdGhhdCBkaWZmZXJlbnQg
ZnJvbSwgc2F5LCBjb250ZW50LXR5cGUpLjxvOnA+PC9vOnA+PC9zcGFuPjwvcD48cCBjbGFzcz1N
c29Ob3JtYWw+PHNwYW4gc3R5bGU9J2ZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6IkNhbGli
cmkiLCJzYW5zLXNlcmlmIjtjb2xvcjojMUY0OTdEJz48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48
L3A+PHAgY2xhc3M9TXNvTm9ybWFsPjxzcGFuIHN0eWxlPSdmb250LXNpemU6MTEuMHB0O2ZvbnQt
ZmFtaWx5OiJDYWxpYnJpIiwic2Fucy1zZXJpZiI7Y29sb3I6IzFGNDk3RCc+LS08bzpwPjwvbzpw
Pjwvc3Bhbj48L3A+PHAgY2xhc3M9TXNvTm9ybWFsPjxzcGFuIHN0eWxlPSdmb250LXNpemU6MTEu
MHB0O2ZvbnQtZmFtaWx5OiJDYWxpYnJpIiwic2Fucy1zZXJpZiI7Y29sb3I6IzFGNDk3RCc+SmFt
ZXMgTWFuZ2VyPG86cD48L286cD48L3NwYW4+PC9wPjxwIGNsYXNzPU1zb05vcm1hbD48c3BhbiBz
dHlsZT0nZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseToiQ2FsaWJyaSIsInNhbnMtc2VyaWYi
O2NvbG9yOiMxRjQ5N0QnPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwvcD48ZGl2IHN0eWxlPSdi
b3JkZXI6bm9uZTtib3JkZXItbGVmdDpzb2xpZCBibHVlIDEuNXB0O3BhZGRpbmc6MGNtIDBjbSAw
Y20gNC4wcHQnPjxkaXY+PGRpdiBzdHlsZT0nYm9yZGVyOm5vbmU7Ym9yZGVyLXRvcDpzb2xpZCAj
QjVDNERGIDEuMHB0O3BhZGRpbmc6My4wcHQgMGNtIDBjbSAwY20nPjxwIGNsYXNzPU1zb05vcm1h
bD48Yj48c3BhbiBsYW5nPUVOLVVTIHN0eWxlPSdmb250LXNpemU6MTAuMHB0O2ZvbnQtZmFtaWx5
OiJUYWhvbWEiLCJzYW5zLXNlcmlmIic+RnJvbTo8L3NwYW4+PC9iPjxzcGFuIGxhbmc9RU4tVVMg
c3R5bGU9J2ZvbnQtc2l6ZToxMC4wcHQ7Zm9udC1mYW1pbHk6IlRhaG9tYSIsInNhbnMtc2VyaWYi
Jz4gSmFtZXMgTSBTbmVsbCBbbWFpbHRvOmphc25lbGxAZ21haWwuY29tXSA8YnI+PGI+U2VudDo8
L2I+IFR1ZXNkYXksIDkgT2N0b2JlciAyMDEyIDc6MjggQU08YnI+PGI+VG86PC9iPiBpZXRmLWh0
dHAtd2dAdzMub3JnPGJyPjxiPlN1YmplY3Q6PC9iPiBMaW5rIGFuZCBVbmxpbms8bzpwPjwvbzpw
Pjwvc3Bhbj48L3A+PC9kaXY+PC9kaXY+PHAgY2xhc3M9TXNvTm9ybWFsPjxvOnA+Jm5ic3A7PC9v
OnA+PC9wPjxwIGNsYXNzPU1zb05vcm1hbD48c3BhbiBzdHlsZT0nZm9udC1mYW1pbHk6IkNvdXJp
ZXIgTmV3Iic+Rm9yIHJldmlldyBhbmQgY29tbWVudC4uLjwvc3Bhbj48bzpwPjwvbzpwPjwvcD48
ZGl2PjxwIGNsYXNzPU1zb05vcm1hbD48bzpwPiZuYnNwOzwvbzpwPjwvcD48L2Rpdj48ZGl2Pjxw
IGNsYXNzPU1zb05vcm1hbD48c3BhbiBzdHlsZT0nZm9udC1mYW1pbHk6IkNvdXJpZXIgTmV3Iic+
Jm5ic3A7Jm5ic3A7PGEgaHJlZj0iaHR0cDovL3d3dy5pZXRmLm9yZy9pZC9kcmFmdC1zbmVsbC1s
aW5rLW1ldGhvZC0wMC50eHQiPmh0dHA6Ly93d3cuaWV0Zi5vcmcvaWQvZHJhZnQtc25lbGwtbGlu
ay1tZXRob2QtMDAudHh0PC9hPjwvc3Bhbj48bzpwPjwvbzpwPjwvcD48L2Rpdj48ZGl2PjxwIGNs
YXNzPU1zb05vcm1hbD48bzpwPiZuYnNwOzwvbzpwPjwvcD48L2Rpdj48ZGl2PjxwIGNsYXNzPU1z
b05vcm1hbD48c3BhbiBzdHlsZT0nZm9udC1mYW1pbHk6IkNvdXJpZXIgTmV3Iic+VXBkYXRlZCBk
ZWZpbml0aW9uIG9mIExJTksgYW5kIFVOTElOSywgdGFraW5nIFJGQzU5ODggaW50byBjb25zaWRl
cmF0aW9uIGFuZCB1c2luZyBsYW5ndWFnZSBjb25zaXN0ZW50Jm5ic3A7ZnJvbSBjdXJyZW50IGh0
dHBiaXMgZHJhZnQmbmJzcDsocmVhZDogc2hhbWVsZXNzbHkgYW5kJm5ic3A7cmVtb3JzZWxlc3Ns
eSZuYnNwO2xpZnRlZCkuJm5ic3A7Jm5ic3A7PC9zcGFuPjxvOnA+PC9vOnA+PC9wPjwvZGl2Pjxk
aXY+PHAgY2xhc3M9TXNvTm9ybWFsPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPjwvZGl2PjxkaXY+PHAg
Y2xhc3M9TXNvTm9ybWFsPjxzcGFuIHN0eWxlPSdmb250LWZhbWlseToiQ291cmllciBOZXciJz5D
b21tZW50cyBhbmQgZmVlZGJhY2sgZGVmaW5pdGVseSB3ZWxjb21lLjwvc3Bhbj48bzpwPjwvbzpw
PjwvcD48L2Rpdj48ZGl2PjxwIGNsYXNzPU1zb05vcm1hbD48bzpwPiZuYnNwOzwvbzpwPjwvcD48
L2Rpdj48ZGl2PjxwIGNsYXNzPU1zb05vcm1hbD48c3BhbiBzdHlsZT0nZm9udC1mYW1pbHk6IkNv
dXJpZXIgTmV3Iic+LSBKYW1lczwvc3Bhbj48bzpwPjwvbzpwPjwvcD48L2Rpdj48ZGl2PjxwIGNs
YXNzPU1zb05vcm1hbD48bzpwPiZuYnNwOzwvbzpwPjwvcD48L2Rpdj48L2Rpdj48L2Rpdj48L2Jv
ZHk+PC9odG1sPg==

--_000_255B9BB34FB7D647A506DC292726F6E114FDA21F6DWSMSG3153Vsrv_--


From ietf-http-wg-request@listhub.w3.org  Mon Oct  8 21:02:35 2012
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 3A99E11E80DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 21:02:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.966
X-Spam-Level: 
X-Spam-Status: No, score=-6.966 tagged_above=-999 required=5 tests=[AWL=3.032, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_83=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CC535Tw+JtSf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  8 Oct 2012 21:02:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E11AF11E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  8 Oct 2012 21:02:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLQyx-0005IM-Qz for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 03:59:47 +0000
Resent-Date: Tue, 09 Oct 2012 03:59:47 +0000
Resent-Message-Id: <E1TLQyx-0005IM-Qz@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TLQyt-0005Hh-U6 for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 03:59:43 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TLQys-0005Lc-B8 for ietf-http-wg@w3.org; Tue, 09 Oct 2012 03:59:43 +0000
Received: by mail-wg0-f45.google.com with SMTP id dq12so3709353wgb.26 for <ietf-http-wg@w3.org>; Mon, 08 Oct 2012 20:59:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Wn48jX8epn0qWNVAFkl7zcpj+3iDQsgoG+DR4fVUsd4=; b=AeIbgWMyZ3WKjbwIy7ceOtyMzJ7/tH5m7tOejt9/dmjaG01JqCUVBP5UbddVtkhljs 3fM5tzOwoLmtt+5YvwDHDTqlOEehwZ8SVB/0jOUb7OtlSVKblPFZHLxeGG28uXhz8Qn0 fN7NWlBVSMOBAk+W7DuCJ0VShuIFD9aL1qKz+FUl9jbg0sHiMNU5gloTuFUSv6tXuczz fPwVJEicNH+0WMi57qRHCWwqeZ7glW9ppBNLUxVOtilqcxA249BRsg1o54FXvG5e6rUq EJCWk6fau7TghVINtv9JBfrFedsUu4OcZ529BU84SECKvuaRvaTbRf0xXbGpH+/Xrxcj rJPQ==
Received: by 10.180.76.11 with SMTP id g11mr819900wiw.13.1349755155470; Mon, 08 Oct 2012 20:59:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Mon, 8 Oct 2012 20:58:55 -0700 (PDT)
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E114FDA21F6D@WSMSG3153V.srv.dir.telstra.com>
References: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com> <255B9BB34FB7D647A506DC292726F6E114FDA21F6D@WSMSG3153V.srv.dir.telstra.com>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 8 Oct 2012 20:58:55 -0700
Message-ID: <CABP7Rbf4YomBN-7h0LcRRCGbA5eYSk90aOaRbGmQZNAMuZbMWg@mail.gmail.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043893d59358fe04cb985ca7
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: AWL=-1.285, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TLQys-0005Lc-B8 f317822d513a3824131084b8bcea9517
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Link and Unlink
Archived-At: <http://www.w3.org/mid/CABP7Rbf4YomBN-7h0LcRRCGbA5eYSk90aOaRbGmQZNAMuZbMWg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15325
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>

--f46d043893d59358fe04cb985ca7
Content-Type: text/plain; charset=UTF-8

On Mon, Oct 8, 2012 at 8:07 PM, Manger, James H <
James.H.Manger@team.telstra.com> wrote:

> Using Link as an HTTP request header to convey  a link that you want to
> appear as an HTTP response header only works if requests can never have
> their own Link headers. Is this true?****
>
> **
>

It may not be obvious but LINK is not really intended to "convey links that
you want to appear as an HTTP response header".. in fact, the LINK method
itself really has nothing to do with what appears within response
headers... it is just a method that can be used to create an explicit
relationship between two resources, and within that request, the Link
header is used to convey the type of link to establish. In this case, I'm
only defining what Link means within the LINK and UNLINK methods and
nothing else.


>  **
>
> It might be better architecturally to send a PATCH request with the new
> Link headers in the body with, say, an application/header-patch media type.
> ****
>
> **
>

-1.. the main point of LINK/UNLINK is so that links can be established
independently of the specific resource or it's representation.


> **
>
> Perhaps it depends on whether links are particularly special (warranting
> dedicated HTTP methods), or whether they are basically content metadata(not
> that different from, say, content-type).
>

This depends entirely on the application case. There are many application
cases I can point to where creating a link between resources is an activity
rather than just a part of the metadata. In such cases, having a LINK
method makes far more sense than dealing with how links happen to be
represented with a particular data format. In fact, there are a large
subset of those cases in which it wouldn't make any sense at all to
serialize the existing links even tho they exist (pub/sub type scenarios
are one such example).


> ****
>
> ** **
>
> --****
>
> James Manger****
>
> ** **
>
> *From:* James M Snell [mailto:jasnell@gmail.com]
> *Sent:* Tuesday, 9 October 2012 7:28 AM
> *To:* ietf-http-wg@w3.org
> *Subject:* Link and Unlink****
>
> ** **
>
> For review and comment...****
>
> ** **
>
>   http://www.ietf.org/id/draft-snell-link-method-00.txt****
>
> ** **
>
> Updated definition of LINK and UNLINK, taking RFC5988 into consideration
> and using language consistent from current httpbis draft (read: shamelessly
> and remorselessly lifted).  ****
>
> ** **
>
> Comments and feedback definitely welcome.****
>
> ** **
>
> - James****
>
> ** **
>

--f46d043893d59358fe04cb985ca7
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Mon, Oct 8, 2012 at 8:07 PM, Manger, James H <span dir=3D"ltr">&lt;<=
a href=3D"mailto:James.H.Manger@team.telstra.com" target=3D"_blank">James.H=
.Manger@team.telstra.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div lang=3D"EN-AU" link=3D"blue" vlink=3D"p=
urple"><div><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Using Link as=
 an HTTP request header to convey=C2=A0 a link that you want to appear as a=
n HTTP response header only works if requests can never have their own Link=
 headers. Is this true?<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u></span></p></div><=
/div></blockquote><div><br></div><div>It may not be obvious but LINK is not=
 really intended to &quot;convey links that you want to appear as an HTTP r=
esponse header&quot;.. in fact, the LINK method itself really has nothing t=
o do with what appears within response headers... it is just a method that =
can be used to create an explicit relationship between two resources, and w=
ithin that request, the Link header is used to convey the type of link to e=
stablish. In this case, I&#39;m only defining what Link means within the LI=
NK and UNLINK methods and nothing else.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-AU" link=3D=
"blue" vlink=3D"purple"><div><p class=3D"MsoNormal"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d">=C2=A0<u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">It might be better archit=
ecturally to send a PATCH request with the new Link headers in the body wit=
h, say, an application/header-patch media type.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0</span></p><=
/div></div></blockquote><div><br></div><div>-1.. the main point of LINK/UNL=
INK is so that links can be established independently of the specific resou=
rce or it&#39;s representation.=C2=A0</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-AU" link=3D=
"blue" vlink=3D"purple"><div><p class=3D"MsoNormal"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d"><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Perhaps it depends on whe=
ther links are particularly special (warranting dedicated HTTP methods), or=
 whether they are basically content metadata(not that different from, say, =
content-type).</span></p>

</div></div></blockquote><div><br></div><div>This depends entirely on the a=
pplication case. There are many application cases I can point to where crea=
ting a link between resources is an activity rather than just a part of the=
 metadata. In such cases, having a LINK method makes far more sense than de=
aling with how links happen to be represented with a particular data format=
. In fact, there are a large subset of those cases in which it wouldn&#39;t=
 make any sense at all to serialize the existing links even tho they exist =
(pub/sub type scenarios are one such example).=C2=A0</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-AU" link=3D=
"blue" vlink=3D"purple"><div><p class=3D"MsoNormal"><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f49=
7d"><u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">--<u></u><u></u></s=
pan></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">James Manger<u></u><u></u=
></span></p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-fam=
ily:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0=
<u></u></span></p>

<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm =
4.0pt"><div><div style=3D"border:none;border-top:solid #b5c4df 1.0pt;paddin=
g:3.0pt 0cm 0cm 0cm"><p class=3D"MsoNormal"><b><span lang=3D"EN-US" style=
=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"=
>From:</span></b><span lang=3D"EN-US" style=3D"font-size:10.0pt;font-family=
:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> James M Snell [mailto:<a href=
=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com</a>] <br>

<b>Sent:</b> Tuesday, 9 October 2012 7:28 AM<br><b>To:</b> <a href=3D"mailt=
o:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a><br><b>Subj=
ect:</b> Link and Unlink<u></u><u></u></span></p></div></div><p class=3D"Ms=
oNormal">

<u></u>=C2=A0<u></u></p><p class=3D"MsoNormal"><span style=3D"font-family:&=
quot;Courier New&quot;">For review and comment...</span><u></u><u></u></p><=
div><div class=3D"h5"><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><=
/div><div><p class=3D"MsoNormal">

<span style=3D"font-family:&quot;Courier New&quot;">=C2=A0=C2=A0<a href=3D"=
http://www.ietf.org/id/draft-snell-link-method-00.txt" target=3D"_blank">ht=
tp://www.ietf.org/id/draft-snell-link-method-00.txt</a></span><u></u><u></u=
></p></div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><p class=3D"MsoNo=
rmal"><span style=3D"font-family:&quot;Courier New&quot;">Updated definitio=
n of LINK and UNLINK, taking RFC5988 into consideration and using language =
consistent=C2=A0from current httpbis draft=C2=A0(read: shamelessly and=C2=
=A0remorselessly=C2=A0lifted).=C2=A0=C2=A0</span><u></u><u></u></p>

</div><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div><div><p cla=
ss=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">Commen=
ts and feedback definitely welcome.</span><u></u><u></u></p></div><div><p c=
lass=3D"MsoNormal">

<u></u>=C2=A0<u></u></p></div><div><p class=3D"MsoNormal"><span style=3D"fo=
nt-family:&quot;Courier New&quot;">- James</span><u></u><u></u></p></div><d=
iv><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div></div></div></div><=
/div></div>
</blockquote>
</div><br>

--f46d043893d59358fe04cb985ca7--


From ietf-http-wg-request@listhub.w3.org  Tue Oct  9 08:08:49 2012
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 33AB721F84E6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 08:08:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IwIu8kuNWXXO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 08:08:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7773921F84F3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  9 Oct 2012 08:08:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLbNt-00013h-8b for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 15:06:13 +0000
Resent-Date: Tue, 09 Oct 2012 15:06:13 +0000
Resent-Message-Id: <E1TLbNt-00013h-8b@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <TFossati@velocix.com>) id 1TLbNq-00012a-76 for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 15:06:10 +0000
Received: from mail-out1.velocix.com ([81.134.152.10] helo=owa.velocix.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <TFossati@velocix.com>) id 1TLbNi-0007oE-EM for ietf-http-wg@w3.org; Tue, 09 Oct 2012 15:06:10 +0000
Received: from EXC01-MLT.corp.velocix.com (172.18.4.41) by EXC00CAM.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Tue, 9 Oct 2012 16:05:34 +0100
Received: from EXB01-MLT.corp.velocix.com ([169.254.2.169]) by exc01-mlt.corp.velocix.com ([172.18.4.41]) with mapi id 14.02.0318.001; Tue, 9 Oct 2012 16:05:34 +0100
From: Thomas Fossati <TFossati@velocix.com>
To: Amos Jeffries <squid3@treenet.co.nz>
CC: "<ietf-http-wg@w3.org>" <ietf-http-wg@w3.org>
Thread-Topic: 304 and Age
Thread-Index: AQHNpV3QGnkjiXijCEK5cf2ipbljfZewBxSAgAD8e4A=
Date: Tue, 9 Oct 2012 15:05:34 +0000
Message-ID: <49DB8780-F855-4299-9262-093B70607DFB@velocix.com>
References: <3560E9CD-6EAA-4BE6-96C0-924C686697B2@velocix.com> <1be4d067fa531e5406708654cdf894ff@treenet.co.nz>
In-Reply-To: <1be4d067fa531e5406708654cdf894ff@treenet.co.nz>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [172.18.0.63]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <6051F567D6B2CD49B05BF34127CA2588@velocix.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=81.134.152.10; envelope-from=TFossati@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-2.380, RP_MATCHES_RCVD=-2.141
X-W3C-Scan-Sig: lisa.w3.org 1TLbNi-0007oE-EM 2b1a0984fc8bba6b052194553c951fae
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 304 and Age
Archived-At: <http://www.w3.org/mid/49DB8780-F855-4299-9262-093B70607DFB@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15326
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>

On 9 Oct 2012, at 01:01, Amos Jeffries wrote:
> On 09.10.2012 03:04, Thomas Fossati wrote:
>> Hi all,
>>=20
>> maybe a dumb one, but I couldn't find any decisive anchor for the
>> following question: suppose my cache receives a conditional GET for a
>> resource for which it has a fresh representation, should Age be sent
>> back to the requester in a 304 ?
>>=20
>> The two points in the current spec that got me confused are:
>>=20
>> - p6, Section 4: "When a stored response is used to satisfy a request
>> without validation, a cache MUST include a single Age header field in
>> the response with a value equal to the stored response's current_age."
>>=20
>> - p4, Section 4.1 after the paragraph listing the mandatory headers
>> for 304 (which do not include Age): "Since the goal of a 304 response
>> is to minimize information transfer when the recipient already has one
>> or more cached representations, the response should not include
>> representation metadata other than the above listed fields unless said
>> metadata exists for the purpose of guiding cache updates (e.g., future
>> HTTP extensions)."
>>=20
>> TIA, Thomas.
>=20
> IMO, the Age header is not useful in this case. Since the requestor alrea=
dy appears to have a copy of the representation, thus already has or can ca=
lculate its Age. If the requestor does not already have a coy (was checking=
 for existence etc) then it does not need to know Age, but only existence a=
nd future lifetime - which are included via the other 304 headers.

That seems reasonable, thanks.

The MUST about Age in Section 4 of p6 should then be amended to take care o=
f 304, or am I missing some other point in the spec that already narrows th=
e scope of this requirement ?=


From ietf-http-wg-request@listhub.w3.org  Tue Oct  9 10:31:32 2012
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 EFEFC1F0CA2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 10:31:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.355
X-Spam-Level: 
X-Spam-Status: No, score=-7.355 tagged_above=-999 required=5 tests=[AWL=3.243, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SBk7J0b5GMnc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 10:31:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 639861F0C9B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  9 Oct 2012 10:31:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLdcS-0001Vd-GR for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 17:29:24 +0000
Resent-Date: Tue, 09 Oct 2012 17:29:24 +0000
Resent-Message-Id: <E1TLdcS-0001Vd-GR@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TLdcP-0001Uy-UO for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 17:29:21 +0000
Received: from mail-wg0-f45.google.com ([74.125.82.45]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TLdcJ-0008Ab-QZ for ietf-http-wg@w3.org; Tue, 09 Oct 2012 17:29:21 +0000
Received: by mail-wg0-f45.google.com with SMTP id dq12so4232182wgb.26 for <ietf-http-wg@w3.org>; Tue, 09 Oct 2012 10:28:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=HVIJlRvp2HM1hr00JXRaQO9X8MrOLKOjfCXNwl/7X78=; b=0VKhxXdiXnPFwlJy+yXDfNNJhAaEePUVgjGx+A5U9n06ja9QWfG6RN+BSBtxXTr/fE Oe9Zq+gCd46tBY0ytGtj4PZp+54gKPKqzVXME0E9cSJVVln5ewzai73qBoYN2WrPzhNT Hu47DRpAP0Sivr4TTCnIG4KYIhinJDSR7z09b+g06nDuOgPKv7DANEo9IIUTEVrZnCJY t5T+GBV6WW73A1X3Y+KWtKuk8CO07cUnBGAo2xRL/1bCaPkfa9jkUCBaz+wz8sTTMBCS DZjY3aDsIJpmtS0L+WILhjC395b0n2vrRsRX9I8IqY2UMyfLMuyz6VQXYJeQiRwm062X jpyQ==
Received: by 10.216.204.139 with SMTP id h11mr12508922weo.128.1349803729390; Tue, 09 Oct 2012 10:28:49 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.182.4 with HTTP; Tue, 9 Oct 2012 10:28:29 -0700 (PDT)
In-Reply-To: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
References: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 9 Oct 2012 10:28:29 -0700
Message-ID: <CABP7Rbd5uCfPryC1coMuC_kxrOt8ULLm1Y-gUG-x5R3Zei9NKA@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6d589e1ce8e8904cba3ab79
Received-SPF: pass client-ip=74.125.82.45; envelope-from=jasnell@gmail.com; helo=mail-wg0-f45.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TLdcJ-0008Ab-QZ 0a3d966f62129c2f8bab8d31555f082b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Link and Unlink
Archived-At: <http://www.w3.org/mid/CABP7Rbd5uCfPryC1coMuC_kxrOt8ULLm1Y-gUG-x5R3Zei9NKA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15327
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>

--0016e6d589e1ce8e8904cba3ab79
Content-Type: text/plain; charset=UTF-8

Quick iteration based on initial feedback. Primary changes around
cacheability and response codes. Some editorial cleanups too..

  http://www.ietf.org/id/draft-snell-link-method-01.txt

- James



On Mon, Oct 8, 2012 at 1:28 PM, James M Snell <jasnell@gmail.com> wrote:

> For review and comment...
>
>   http://www.ietf.org/id/draft-snell-link-method-00.txt
>
> Updated definition of LINK and UNLINK, taking RFC5988 into consideration
> and using language consistent from current httpbis draft (read:
> shamelessly and remorselessly lifted).
>
> Comments and feedback definitely welcome.
>
> - James
>
>

--0016e6d589e1ce8e8904cba3ab79
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Quick iteration based on initial feedb=
ack. Primary changes around cacheability and response codes. Some editorial=
 cleanups too..</font><div><font face=3D"courier new, monospace"><br></font=
></div>

<div><font face=3D"courier new, monospace">=C2=A0=C2=A0<a href=3D"http://ww=
w.ietf.org/id/draft-snell-link-method-01.txt">http://www.ietf.org/id/draft-=
snell-link-method-01.txt</a></font></div><div><font face=3D"courier new, mo=
nospace"><br>

</font></div><div><font face=3D"courier new, monospace">- James<br></font><=
div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quote">On Mon=
, Oct 8, 2012 at 1:28 PM, James M Snell <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com</a>&gt;</span> =
wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new,monospace">For rev=
iew and comment...</font><div><font face=3D"courier new,monospace"><br></fo=
nt></div>

<div><font face=3D"courier new,monospace">=C2=A0=C2=A0</font><font face=3D"=
courier new, monospace"><a href=3D"http://www.ietf.org/id/draft-snell-link-=
method-00.txt" target=3D"_blank">http://www.ietf.org/id/draft-snell-link-me=
thod-00.txt</a></font></div>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">Updated definition of LINK and UNLINK, taking R=
FC5988 into consideration and using language consistent=C2=A0from current h=
ttpbis draft=C2=A0</font><span style=3D"font-family:&#39;courier new&#39;,m=
onospace">(read: shamelessly and=C2=A0</span><span style=3D"font-family:&#3=
9;courier new&#39;,monospace">remorselessly</span><span style=3D"font-famil=
y:&#39;courier new&#39;,monospace">=C2=A0lifted).=C2=A0</span><span style=
=3D"font-family:&#39;courier new&#39;,monospace">=C2=A0</span></div>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace">Comments and feedback definitely welcome.</font=
></div><span class=3D"HOEnZb"><font color=3D"#888888"><div><font face=3D"co=
urier new, monospace"><br>

</font></div><div><font face=3D"courier new, monospace">- James</font></div=
>
<div><font face=3D"courier new, monospace"><br></font></div>
</font></span></blockquote></div><br></div></div>

--0016e6d589e1ce8e8904cba3ab79--


From ietf-http-wg-request@listhub.w3.org  Tue Oct  9 12:48:38 2012
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 ACCC921F87DA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 12:48:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9blHTUU5--UB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 12:48:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 08AE121F87D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  9 Oct 2012 12:48:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLfl4-0008Kn-N0 for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 19:46:26 +0000
Resent-Date: Tue, 09 Oct 2012 19:46:26 +0000
Resent-Message-Id: <E1TLfl4-0008Kn-N0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1TLfl2-00085K-0t for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 19:46:24 +0000
Received: from mxout-08.mxes.net ([216.86.168.183]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <eric@bisonsystems.net>) id 1TLfhT-0004pQ-2y for ietf-http-wg@w3.org; Tue, 09 Oct 2012 19:42:43 +0000
Received: from bigbison (unknown [65.117.211.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 513E950A64; Tue,  9 Oct 2012 15:42:20 -0400 (EDT)
Date: Tue, 9 Oct 2012 13:42:18 -0600
From: "Eric J. Bowman" <eric@bisonsystems.net>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: <ietf-http-wg@w3.org>
Message-Id: <20121009134218.6b9a7a12.eric@bisonsystems.net>
In-Reply-To: <1be4d067fa531e5406708654cdf894ff@treenet.co.nz>
References: <3560E9CD-6EAA-4BE6-96C0-924C686697B2@velocix.com> <1be4d067fa531e5406708654cdf894ff@treenet.co.nz>
Organization: Bison Systems Corporation
X-Mailer: Sylpheed 3.1.1 (GTK+ 2.10.14; i686-pc-mingw32)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=216.86.168.183; envelope-from=eric@bisonsystems.net; helo=mxout-08.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: AWL=-2.494, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TLfhT-0004pQ-2y a71c1690679f6e14bda02db69fab1e7d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 304 and Age
Archived-At: <http://www.w3.org/mid/20121009134218.6b9a7a12.eric@bisonsystems.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15328
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>

Amos Jeffries wrote:
> 
> IMO, the Age header is not useful in this case. Since the requestor 
> already appears to have a copy of the representation, thus already
> has or can calculate its Age.
>

Sure, if the cache validates with the origin, but what if that isn't
the case?

Client has representation, reloads.  Cache also has representation,
but responds 304 without validating to the origin.  Without Age, how
does client know if the cache's 304 is referring to a newer or older
representation than the one the client already has?

-Eric


From ietf-http-wg-request@listhub.w3.org  Tue Oct  9 14:11:27 2012
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 A0D4211E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 14:11:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zBiyJIQPHa5B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 14:11:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0E39911E80A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  9 Oct 2012 14:11:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLh3L-0003vF-Gd for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 21:09:23 +0000
Resent-Date: Tue, 09 Oct 2012 21:09:23 +0000
Resent-Message-Id: <E1TLh3L-0003vF-Gd@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TLh3J-0003ua-Bh for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 21:09:21 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TLh3I-0007ip-25 for ietf-http-wg@w3.org; Tue, 09 Oct 2012 21:09:21 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 0E178E6FE1; Wed, 10 Oct 2012 10:08:55 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 10 Oct 2012 10:08:55 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CABP7Rbd5uCfPryC1coMuC_kxrOt8ULLm1Y-gUG-x5R3Zei9NKA@mail.gmail.com>
References: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com> <CABP7Rbd5uCfPryC1coMuC_kxrOt8ULLm1Y-gUG-x5R3Zei9NKA@mail.gmail.com>
Message-ID: <db682bbb3ec47cea9001e78387c412ca@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TLh3I-0007ip-25 3187fd903db2184568a2f3036d12d733
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Link and Unlink
Archived-At: <http://www.w3.org/mid/db682bbb3ec47cea9001e78387c412ca@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15329
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>

On 10.10.2012 06:28, James M Snell wrote:
> Quick iteration based on initial feedback. Primary changes around
> cacheability and response codes. Some editorial cleanups too..
>
>   http://www.ietf.org/id/draft-snell-link-method-01.txt
>
> - James

Looks good to me.

Amos



From ietf-http-wg-request@listhub.w3.org  Tue Oct  9 14:17:50 2012
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 880D011E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 14:17:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.555
X-Spam-Level: 
X-Spam-Status: No, score=-10.555 tagged_above=-999 required=5 tests=[AWL=0.043, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h-ySF60iITJj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 14:17:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CA9BE21F86FE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  9 Oct 2012 14:17:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLhA4-0001SB-QQ for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 21:16:20 +0000
Resent-Date: Tue, 09 Oct 2012 21:16:20 +0000
Resent-Message-Id: <E1TLhA4-0001SB-QQ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1TLhA2-0001RW-CZ for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 21:16:18 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1TLhA0-0006Gh-Rj for ietf-http-wg@w3.org; Tue, 09 Oct 2012 21:16:18 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q99LFnPZ019523 for <ietf-http-wg@w3.org>; Tue, 9 Oct 2012 23:15:49 +0200
X-CheckPoint: {50749298-0-1B221DC2-2FFFF}
Received: from il-ex03.ad.checkpoint.com (194.29.34.71) by il-ex01.ad.checkpoint.com (194.29.34.26) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 9 Oct 2012 23:15:49 +0200
Received: from il-ex01.ad.checkpoint.com ([194.29.34.26]) by il-ex03.ad.checkpoint.com ([194.29.34.71]) with mapi; Tue, 9 Oct 2012 23:15:49 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Tue, 9 Oct 2012 23:15:24 +0200
Thread-Topic: Compact Header Encoding
Thread-Index: Ac2mYzLPsMPio6deQl+vLYQCWCWjnA==
Message-ID: <75FEB6FF-C4E7-4B77-88A7-5C300BBFFDB9@checkpoint.com>
References: <AD8995D6-DE2B-462C-AF0C-83B721FFDD37@checkpoint.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: multipart/alternative; boundary="_000_75FEB6FFC4E74B7788A75C300BBFFDB9checkpointcom_"
MIME-Version: 1.0
X-KSE-AntiSpam-Interceptor-Info: protection disabled
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: AWL=2.500, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-2.141, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TLhA0-0006Gh-Rj c573b6b7401487997edf08296e43eeb6
X-Original-To: ietf-http-wg@w3.org
Subject: Compact Header Encoding
Archived-At: <http://www.w3.org/mid/75FEB6FF-C4E7-4B77-88A7-5C300BBFFDB9@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15330
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>

--_000_75FEB6FFC4E74B7788A75C300BBFFDB9checkpointcom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi

I've submitted the below draft. Like the Binary Optimized Header Encoding d=
raft (from which I have borrowed heavily), this is not meant to be publishe=
d, but as an alternative to the proposed header encoding. I believe that a =
binary encoding can be more compact and have better security properties tha=
n compressing text labels.

Yoav

Begin forwarded message:

From: "internet-drafts@ietf.org<mailto:internet-drafts@ietf.org>" <internet=
-drafts@ietf.org<mailto:internet-drafts@ietf.org>>
Subject: New Version Notification for draft-nir-httpbis-che-00.txt
Date: October 9, 2012 1:33:10 PM GMT+02:00
To: Yoav Nir <ynir@checkpoint.com<mailto:ynir@checkpoint.com>>


A new version of I-D, draft-nir-httpbis-che-00.txt
has been successfully submitted by Yoav Nir and posted to the
IETF repository.

Filename: draft-nir-httpbis-che
Revision: 00
Title: HTTP/2.0 Discussion: Compact Header Encoding
Creation date: 2012-10-09
WG ID: Individual Submission
Number of pages: 9
URL:             http://www.ietf.org/internet-drafts/draft-nir-httpbis-che-=
00.txt
Status:          http://datatracker.ietf.org/doc/draft-nir-httpbis-che
Htmlized:        http://tools.ietf.org/html/draft-nir-httpbis-che-00


Abstract:
  This document proposes an alternative encoding for HTTP headers.
  This encoding is considerably more compact than the uncompressed
  textual encoding in HTTP/1.1 and current HTTP/2.0 draft.




--_000_75FEB6FFC4E74B7788A75C300BBFFDB9checkpointcom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode:=
 space; -webkit-line-break: after-white-space; "><div><div style=3D"word-wr=
ap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-s=
pace; ">Hi<div><br></div><div>I've submitted the below draft. Like the Bina=
ry Optimized Header Encoding draft (from which I have borrowed heavily), th=
is is not meant to be published, but as an alternative to the proposed head=
er encoding. I believe that a binary encoding can be more compact and have =
better security properties than compressing text labels.</div><div><br></di=
v><div>Yoav<br><div><br></div></div></div><div><div style=3D"word-wrap: bre=
ak-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "=
><div><div><div>Begin forwarded message:</div><br class=3D"Apple-interchang=
e-newline"><blockquote type=3D"cite"><div style=3D"margin-top: 0px; margin-=
right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style=3D"font-fami=
ly:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>From: </b><=
/span><span style=3D"font-family:'Helvetica'; font-size:medium;">"<a href=
=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a>" &lt;<a h=
ref=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a>&gt;<br=
></span></div><div style=3D"margin-top: 0px; margin-right: 0px; margin-bott=
om: 0px; margin-left: 0px;"><span style=3D"font-family:'Helvetica'; font-si=
ze:medium; color:rgba(0, 0, 0, 1.0);"><b>Subject: </b></span><span style=3D=
"font-family:'Helvetica'; font-size:medium;"><b>New Version Notification fo=
r draft-nir-httpbis-che-00.txt</b><br></span></div><div style=3D"margin-top=
: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span styl=
e=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);">=
<b>Date: </b></span><span style=3D"font-family:'Helvetica'; font-size:mediu=
m;">October 9, 2012 1:33:10 PM GMT+02:00<br></span></div><div style=3D"marg=
in-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><spa=
n style=3D"font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1=
.0);"><b>To: </b></span><span style=3D"font-family:'Helvetica'; font-size:m=
edium;">Yoav Nir &lt;<a href=3D"mailto:ynir@checkpoint.com">ynir@checkpoint=
.com</a>&gt;<br></span></div><br><div><br>A new version of I-D, draft-nir-h=
ttpbis-che-00.txt<br>has been successfully submitted by Yoav Nir and posted=
 to the<br>IETF repository.<br><br>Filename:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span> draft-nir-httpbis-che<br>Revision:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span> 00<br>Title:<sp=
an class=3D"Apple-tab-span" style=3D"white-space:pre">	</span><span class=
=3D"Apple-tab-span" style=3D"white-space:pre">	</span> HTTP/2.0 Discussion:=
 Compact Header Encoding<br>Creation date:<span class=3D"Apple-tab-span" st=
yle=3D"white-space:pre">	</span> 2012-10-09<br>WG ID:<span class=3D"Apple-t=
ab-span" style=3D"white-space:pre">	</span><span class=3D"Apple-tab-span" s=
tyle=3D"white-space:pre">	</span> Individual Submission<br>Number of pages:=
 9<br>URL: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;<a href=3D"http://www.ietf.org/internet-drafts/draft-nir-httpbis-ch=
e-00.txt">http://www.ietf.org/internet-drafts/draft-nir-httpbis-che-00.txt<=
/a><br>Status: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a hre=
f=3D"http://datatracker.ietf.org/doc/draft-nir-httpbis-che">http://datatrac=
ker.ietf.org/doc/draft-nir-httpbis-che</a><br>Htmlized: &nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;<a href=3D"http://tools.ietf.org/html/draft-nir-http=
bis-che-00">http://tools.ietf.org/html/draft-nir-httpbis-che-00</a><br><br>=
<br>Abstract:<br> &nbsp;&nbsp;This document proposes an alternative encodin=
g for HTTP headers.<br> &nbsp;&nbsp;This encoding is considerably more comp=
act than the uncompressed<br> &nbsp;&nbsp;textual encoding in HTTP/1.1 and =
current HTTP/2.0 draft.<br><br></div></blockquote></div><br></div></div></d=
iv></div><br></body></html>=

--_000_75FEB6FFC4E74B7788A75C300BBFFDB9checkpointcom_--


From ietf-http-wg-request@listhub.w3.org  Tue Oct  9 15:19:18 2012
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 ED5B711E80DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 15:19:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M9w5+gC27ZLV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  9 Oct 2012 15:19:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7163711E80DC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  9 Oct 2012 15:19:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TLi6x-0006Zu-Df for ietf-http-wg-dist@listhub.w3.org; Tue, 09 Oct 2012 22:17:11 +0000
Resent-Date: Tue, 09 Oct 2012 22:17:11 +0000
Resent-Message-Id: <E1TLi6x-0006Zu-Df@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TLi6v-0006ZF-4E for ietf-http-wg@listhub.w3.org; Tue, 09 Oct 2012 22:17:09 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TLi6u-00019A-Be for ietf-http-wg@w3.org; Tue, 09 Oct 2012 22:17:09 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 07C3CE6FE1; Wed, 10 Oct 2012 11:16:42 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 10 Oct 2012 11:16:42 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <20121009134218.6b9a7a12.eric@bisonsystems.net>
References: <3560E9CD-6EAA-4BE6-96C0-924C686697B2@velocix.com> <1be4d067fa531e5406708654cdf894ff@treenet.co.nz> <20121009134218.6b9a7a12.eric@bisonsystems.net>
Message-ID: <182c654db700219cdf9321dd7959cda1@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: AWL=-2.587, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TLi6u-00019A-Be 85688b14cd8f042a030dfd497631ccb7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 304 and Age
Archived-At: <http://www.w3.org/mid/182c654db700219cdf9321dd7959cda1@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15331
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>

On 10.10.2012 08:42, Eric J. Bowman wrote:
> Amos Jeffries wrote:
>>
>> IMO, the Age header is not useful in this case. Since the requestor
>> already appears to have a copy of the representation, thus already
>> has or can calculate its Age.
>>
>
> Sure, if the cache validates with the origin, but what if that isn't
> the case?
>
> Client has representation, reloads.  Cache also has representation,
> but responds 304 without validating to the origin.  Without Age, how
> does client know if the cache's 304 is referring to a newer or older
> representation than the one the client already has?
>

Consider how the cache knew to send 304 instead of a 200 with cached 
representation in response to that GET.

The client has to have sent conditional headers to receive that 304, 
which conditionals outlined some form of parameters for the cache to 
select representation and the above statement applies. If the client 
omitted conditional headers on a GET the cache is in error sending a 304 
status - for exactly the reason you point out.

Amos



From ietf-http-wg-request@listhub.w3.org  Thu Oct 11 10:16:58 2012
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 C4D1C21F8686 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 10:16:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.364
X-Spam-Level: 
X-Spam-Status: No, score=-7.364 tagged_above=-999 required=5 tests=[AWL=3.234, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gd6xSZy5RH6z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 10:16:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9438A21F86B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 Oct 2012 10:16:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMML7-0001kW-N9 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 Oct 2012 17:14:29 +0000
Resent-Date: Thu, 11 Oct 2012 17:14:29 +0000
Resent-Message-Id: <E1TMML7-0001kW-N9@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMML4-0001iO-Pf for ietf-http-wg@listhub.w3.org; Thu, 11 Oct 2012 17:14:26 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMMKy-0004j9-ST for ietf-http-wg@w3.org; Thu, 11 Oct 2012 17:14:26 +0000
Received: by mail-we0-f171.google.com with SMTP id s43so1203819wey.2 for <ietf-http-wg@w3.org>; Thu, 11 Oct 2012 10:13:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=EBNLhmxG4uPqZvttA5AmEqOWnFFjrlQHM0tQC04JF7U=; b=z6/zfiqzk0mwu8zH1JkSzADXqGMbHXjKNnBMdF7KmD8u936w03fwj9auOXUtmxm0su vqffKIgbHoqlFwQw2Uu3cvdYhGU9siMQPIqEy9e27Gl2MWMF+xJHTjCtIqjjfJ5i+bND ym2GKBq7rxWly9M6dpweS/zpMv4n2JyagyhMxno2qDxh5uV3kelxK9cHzpHm1jkdxKp9 zcKkLQuBYl7/sz0iqjUBMhqLV7/6wcf3BOeSx8a72GkWmdPPnXT0Q1UdCwteZbOqQwUX VUckRNp1UoI6ArQkmrwVf3QAbs38mC+D4McQ/wHOb+yTftGMfP8YQReUEBucmJ3kHxFt wjwg==
Received: by 10.216.243.74 with SMTP id j52mr873121wer.108.1349975634578; Thu, 11 Oct 2012 10:13:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.201.68 with HTTP; Thu, 11 Oct 2012 10:13:33 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Thu, 11 Oct 2012 10:13:33 -0700
Message-ID: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e0cb4e43cf1f278dea04cbcbb2f9
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMMKy-0004j9-ST 5f38d970b051e2a43ffe679dda182012
X-Original-To: ietf-http-wg@w3.org
Subject: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15332
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>

--e0cb4e43cf1f278dea04cbcbb2f9
Content-Type: text/plain; charset=UTF-8

I've been going back through the HTTP binding described in the initial SPDY
draft [1] and going through a variety of options for the header encoding
and the thought struck me.. if headers such as :version, :method and
:scheme are always going to be included in the SYN_STREAM, and these are
always going to have fairly static and well defined values, there's really
no reason at all why those should be encoded as headers in the first place
-- let's just give them fixed positions within the SYN_STREAM block..

[1] http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section-2.6.1

+------------------------------------+
|1|    version    |         1        |
+------------------------------------+
|  Flags (8)  |  Length (24 bits)    |
+------------------------------------+
|X|           Stream-ID (31bits)     |
+------------------------------------+
|X| Associated-To-Stream-ID (31bits) |
+------------------------------------+
| Pri|S|Unused| Slot |M|             |
+----------------------+             |
| Number of Name/Value pairs (int32) |
+------------------------------------+
|     Length of name (int32)         |
+------------------------------------+
|           Name (string)            |
+------------------------------------+
|     Length of value  (int32)       |
+------------------------------------+
|          Value   (string)          |
+------------------------------------+
|           (repeats)                |

For one, we already have the version field in the SYN_STREAM... we
shouldn't need two separate protocol version identifiers within a single
SYN_STREAM..

This would add one single-bit flag following the priority and one
single-byte fields following the Slot.

The single-bit field following the Priority would indicate whether or not
the SYN_STREAM is secure... this is equivalent to sending
":scheme"="https". This would use up one fo the currently-unused 5-bits
that exist after the priority. (I'm not even yet convinced that this flag
is necessary at all. We might be able to drop the :scheme indicator
completely).

The one-byte field following Slot identifies the HTTP Method. Each method
would be assigned a numeric identifier (GET=0x1, PUT=0x2, etc). New methods
would be registered to get a new identifier (if a server gets a SYN_STREAM
with an unknown method identifier it's no different than if they get a
HTTP/1.1 request with an unknown method name).

Using this approach, we eliminate three special case headers (":version",
":method" and ":scheme") and save at least around 31-bytes per SYN_STREAM.

- James

--e0cb4e43cf1f278dea04cbcbb2f9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">I&#39;ve been going back through the H=
TTP binding described in the initial SPDY draft [1] and going through a var=
iety of options for the header encoding and the thought struck me.. if head=
ers such as :version, :method and :scheme are always going to be included i=
n the SYN_STREAM, and these are always going to have fairly static and well=
 defined values, there&#39;s really no reason at all why those should be en=
coded as headers in the first place -- let&#39;s just give them fixed posit=
ions within the SYN_STREAM block..</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">[1]=C2=A0</font><font face=3D"courier new, monospace">=
<a href=3D"http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section=
-2.6.1">http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section-2.=
6.1</a></font></div>

<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace"><div>+------------------------------------+</di=
v><div>|1| =C2=A0 =C2=A0version =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
1 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>+---------------------------------=
---+</div>

<div>| =C2=A0Flags (8) =C2=A0| =C2=A0Length (24 bits) =C2=A0 =C2=A0|</div><=
div>+------------------------------------+</div><div>|X| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Stream-ID (31bits) =C2=A0 =C2=A0 |</div><div>+-----------=
-------------------------+</div><div>|X| Associated-To-Stream-ID (31bits) |=
</div>

<div>+------------------------------------+</div><div>| Pri|S|Unused| Slot =
|M| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>+----------------=
------+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>| Number of N=
ame/Value pairs (int32) |</div><div>+------------------------------------+<=
/div>

<div>| =C2=A0 =C2=A0 Length of name (int32) =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</=
div><div>+------------------------------------+</div><div>| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div>+------------------------------------+</div><div>| =C2=A0 =
=C2=A0 Length of value =C2=A0(int32) =C2=A0 =C2=A0 =C2=A0 |</div>

<div>+------------------------------------+</div><div>| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0Value =C2=A0 (string) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<=
/div><div>+------------------------------------+</div><div>| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|</div><div><br></div><div>For one, we already have the versio=
n field in the SYN_STREAM... we shouldn&#39;t need two separate protocol ve=
rsion identifiers within a single SYN_STREAM..</div>

<div><br></div><div>This would add one single-bit flag following the priori=
ty and one single-byte fields following the Slot.=C2=A0</div><div><br></div=
><div>The single-bit field following the Priority would indicate whether or=
 not the SYN_STREAM is secure... this is equivalent to sending &quot;:schem=
e&quot;=3D&quot;https&quot;. This would use up one fo the currently-unused =
5-bits that exist after the priority. (I&#39;m not even yet convinced that =
this flag is necessary at all. We might be able to drop the :scheme indicat=
or completely).</div>

<div><br></div><div>The one-byte field following Slot identifies the HTTP M=
ethod. Each method would be assigned a numeric identifier (GET=3D0x1, PUT=
=3D0x2, etc). New methods would be registered to get a new identifier (if a=
 server gets a SYN_STREAM with an unknown method identifier it&#39;s no dif=
ferent than if they get a HTTP/1.1 request with an unknown method name).</d=
iv>

<div><br></div><div>Using this approach, we eliminate three special case he=
aders (&quot;:version&quot;, &quot;:method&quot; and &quot;:scheme&quot;) a=
nd save at least around 31-bytes per SYN_STREAM.=C2=A0</div><div><br></div>
<div>
- James</div></font></div>

--e0cb4e43cf1f278dea04cbcbb2f9--


From ietf-http-wg-request@listhub.w3.org  Thu Oct 11 10:45:47 2012
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 7AA9021F86FA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 10:45:47 -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 ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xBv0h3EOISnn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 10:45:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5999121F86D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 Oct 2012 10:45:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMMo2-0001PC-KV for ietf-http-wg-dist@listhub.w3.org; Thu, 11 Oct 2012 17:44:22 +0000
Resent-Date: Thu, 11 Oct 2012 17:44:22 +0000
Resent-Message-Id: <E1TMMo2-0001PC-KV@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 1TMMny-0001OH-EU for ietf-http-wg@listhub.w3.org; Thu, 11 Oct 2012 17:44:18 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1TMMnw-0005d6-Uo for ietf-http-wg@w3.org; Thu, 11 Oct 2012 17:44:18 +0000
Received: by mail-qc0-f171.google.com with SMTP id d1so1702281qca.2 for <ietf-http-wg@w3.org>; Thu, 11 Oct 2012 10:43:51 -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 :x-system-of-record; bh=4nq8YH+pGH8uFSJHvvDO7PRJnZb2dI8j/Z6TUQsiDSo=; b=frBwLgQfKyUk8DkYlWQhKtxMcSJP17HlyCExdDcNA+/k/aIXeEiB4qSBjMpPLH8UkU THbzacw32WaM/fo086btK8+5gs2YxbnlRovmpcfN9fs618vzH0hRjX/Df5x7XbBmvOsL selaJf+0cRiieXM7TRdLuGIwnUtkPrgnURNL2cwz8YR+bYMPgiyeg0NTUyPHsFTXhUwH 3j4OnzA1oPUdFPHbeiIlFhPR9cno3qch7BPYMKMpJ1OQLBwqilyQnmTWaoLkCzmRyJJl qaC9tbIOAcNhfDlixxdK88w6O1hRMGn40ci1TyQbbXIIVGU2y4kNBBAr3r16eYS7Av+u hWEw==
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-system-of-record:x-gm-message-state; bh=4nq8YH+pGH8uFSJHvvDO7PRJnZb2dI8j/Z6TUQsiDSo=; b=U41nuj5UUBnye5Shf0cGLrbnETaC2Aa0e+WgFgS3WFEvcOLlMbB3tuRnBPRxcpptzw DgWVpF7Gs1IK3fgTEHKX9Xpxr9MtLIeM2xexriK6KHTDF7lA5E4fu/ldMiaOXMoXwmbQ uMs3F0YAv9y6k12k/qbexie4AF4KXe6InJ++h3Y9twiCRGqXzH/e6cofEDRc98ZJ/g1Z zVbd+v8GWgZVYK7nDxkunPJbtWpi6S7nwCoKjvFY6x4tTHX5mqr4S8NOPa87azhofEb3 OFpF0DzivblnNE3Zeskpf6umD2tWH4RuD57wtEd5G70SkMxC4NQxYPTUivIUyLNrJgQr yYEA==
MIME-Version: 1.0
Received: by 10.224.173.132 with SMTP id p4mr3040474qaz.26.1349977430968; Thu, 11 Oct 2012 10:43:50 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.195.65 with HTTP; Thu, 11 Oct 2012 10:43:50 -0700 (PDT)
In-Reply-To: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com>
Date: Thu, 11 Oct 2012 10:43:50 -0700
X-Google-Sender-Auth: 044YCGDdGSNzw2hS9SsNNf7kExQ
Message-ID: <CAA4WUYixi6MD-0fLxeOtTA5Qfic9NiqDZY_OrtFdKids8osacQ@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: James M Snell <jasnell@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf303343ed3a4ac004cbcc1d77
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQleSozpImkSkkfXbnTyg0L//zzHOkVdd8bVN91SLyTo8us73AFahCCWSKF618phDcDmaV5ifNdrT9XIvCsCGKY4sSs5AqyigbBi8xp9YlzKsGaCurY91fpVZnWj/GB7XnVBT+7rVcWvyMbimWDdvRquoRmYxZcnZ2Eexz91/dx3QNwiyU7IM8pTfVWIEqAeMzX0VO1x
Received-SPF: pass client-ip=209.85.216.171; envelope-from=willchan@google.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.696, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-2.143, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMMnw-0005d6-Uo addf4ec372cc3915be9f3516703b673e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/CAA4WUYixi6MD-0fLxeOtTA5Qfic9NiqDZY_OrtFdKids8osacQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15333
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>

--20cf303343ed3a4ac004cbcc1d77
Content-Type: text/plain; charset=ISO-8859-1

I don't really care to dive into this level of detail in the framing yet,
since I feel like there are plenty of other contentious high level stuff
people we'll want to settle first. That said, I'll note a few things:
* The version field in SPDY isn't very well thought out, because we weren't
sure about how we were going to communicate the version. In practice, we
always rely on TLS-NPN, so this is kinda vestigial. Just FYI for the
history for it.
* Baking in those special headers into specific fields merges the HTTP
layer into the SPDY layer. Maybe that's the right way forward for HTTP/2.0,
but we have discussed other protocols layering on top of SPDY, for which
these HTTP specific fields would be undesirable.
* Roberto's proposing a new name/value header block anyway.

Meh. I figure we can optimize the framing after we've settled what features
we want.

On Thu, Oct 11, 2012 at 10:13 AM, James M Snell <jasnell@gmail.com> wrote:

> I've been going back through the HTTP binding described in the initial
> SPDY draft [1] and going through a variety of options for the header
> encoding and the thought struck me.. if headers such as :version, :method
> and :scheme are always going to be included in the SYN_STREAM, and these
> are always going to have fairly static and well defined values, there's
> really no reason at all why those should be encoded as headers in the first
> place -- let's just give them fixed positions within the SYN_STREAM block..
>
> [1] http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section-2.6.1
>
> +------------------------------------+
> |1|    version    |         1        |
> +------------------------------------+
> |  Flags (8)  |  Length (24 bits)    |
> +------------------------------------+
> |X|           Stream-ID (31bits)     |
> +------------------------------------+
> |X| Associated-To-Stream-ID (31bits) |
> +------------------------------------+
> | Pri|S|Unused| Slot |M|             |
> +----------------------+             |
> | Number of Name/Value pairs (int32) |
> +------------------------------------+
> |     Length of name (int32)         |
> +------------------------------------+
> |           Name (string)            |
> +------------------------------------+
> |     Length of value  (int32)       |
> +------------------------------------+
> |          Value   (string)          |
> +------------------------------------+
> |           (repeats)                |
>
> For one, we already have the version field in the SYN_STREAM... we
> shouldn't need two separate protocol version identifiers within a single
> SYN_STREAM..
>
> This would add one single-bit flag following the priority and one
> single-byte fields following the Slot.
>
> The single-bit field following the Priority would indicate whether or not
> the SYN_STREAM is secure... this is equivalent to sending
> ":scheme"="https". This would use up one fo the currently-unused 5-bits
> that exist after the priority. (I'm not even yet convinced that this flag
> is necessary at all. We might be able to drop the :scheme indicator
> completely).
>
> The one-byte field following Slot identifies the HTTP Method. Each method
> would be assigned a numeric identifier (GET=0x1, PUT=0x2, etc). New methods
> would be registered to get a new identifier (if a server gets a SYN_STREAM
> with an unknown method identifier it's no different than if they get a
> HTTP/1.1 request with an unknown method name).
>
> Using this approach, we eliminate three special case headers (":version",
> ":method" and ":scheme") and save at least around 31-bytes per SYN_STREAM.
>
>  - James
>

--20cf303343ed3a4ac004cbcc1d77
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I don&#39;t really care to dive into this level of detail in the framing ye=
t, since I feel like there are plenty of other contentious high level stuff=
 people we&#39;ll want to settle first. That said, I&#39;ll note a few thin=
gs:<div>
* The version field in SPDY isn&#39;t very well thought out, because we wer=
en&#39;t sure about how we were going to communicate the version. In practi=
ce, we always rely on TLS-NPN, so this is kinda vestigial. Just FYI for the=
 history for it.</div>
<div class=3D"gmail_extra">* Baking in those special headers into specific =
fields merges the HTTP layer into the SPDY layer. Maybe that&#39;s the righ=
t way forward for HTTP/2.0, but we have discussed other protocols layering =
on top of SPDY, for which these HTTP specific fields would be undesirable.<=
/div>
<div class=3D"gmail_extra">* Roberto&#39;s proposing a new name/value heade=
r block anyway.</div><div class=3D"gmail_extra"><br></div><div class=3D"gma=
il_extra">Meh. I figure we can optimize the framing after we&#39;ve settled=
 what features we want.</div>
<div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Oct 11, 2=
012 at 10:13 AM, James M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasn=
ell@gmail.com" target=3D"_blank" class=3D"cremed">jasnell@gmail.com</a>&gt;=
</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new,monospace">I&#39;v=
e been going back through the HTTP binding described in the initial SPDY dr=
aft [1] and going through a variety of options for the header encoding and =
the thought struck me.. if headers such as :version, :method and :scheme ar=
e always going to be included in the SYN_STREAM, and these are always going=
 to have fairly static and well defined values, there&#39;s really no reaso=
n at all why those should be encoded as headers in the first place -- let&#=
39;s just give them fixed positions within the SYN_STREAM block..</font><di=
v>


<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">[1]=A0</font><font face=3D"courier new, monospace"><a =
href=3D"http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section-2.=
6.1" target=3D"_blank" class=3D"cremed">http://tools.ietf.org/html/draft-mb=
elshe-httpbis-spdy-00#section-2.6.1</a></font></div>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace"><div>+------------------------------------+</di=
v><div>|1| =A0 =A0version =A0 =A0| =A0 =A0 =A0 =A0 1 =A0 =A0 =A0 =A0|</div>=
<div>+------------------------------------+</div>


<div>| =A0Flags (8) =A0| =A0Length (24 bits) =A0 =A0|</div><div>+----------=
--------------------------+</div><div>|X| =A0 =A0 =A0 =A0 =A0 Stream-ID (31=
bits) =A0 =A0 |</div><div>+------------------------------------+</div><div>=
|X| Associated-To-Stream-ID (31bits) |</div>


<div>+------------------------------------+</div><div>| Pri|S|Unused| Slot =
|M| =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>+----------------------+ =A0 =A0 =
=A0 =A0 =A0 =A0 |</div><div>| Number of Name/Value pairs (int32) |</div><di=
v>+------------------------------------+</div>


<div>| =A0 =A0 Length of name (int32) =A0 =A0 =A0 =A0 |</div><div>+--------=
----------------------------+</div><div>| =A0 =A0 =A0 =A0 =A0 Name (string)=
 =A0 =A0 =A0 =A0 =A0 =A0|</div><div>+------------------------------------+<=
/div><div>| =A0 =A0 Length of value =A0(int32) =A0 =A0 =A0 |</div>


<div>+------------------------------------+</div><div>| =A0 =A0 =A0 =A0 =A0=
Value =A0 (string) =A0 =A0 =A0 =A0 =A0|</div><div>+------------------------=
------------+</div><div>| =A0 =A0 =A0 =A0 =A0 (repeats) =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0|</div><div><br></div><div>For one, we already have the version=
 field in the SYN_STREAM... we shouldn&#39;t need two separate protocol ver=
sion identifiers within a single SYN_STREAM..</div>


<div><br></div><div>This would add one single-bit flag following the priori=
ty and one single-byte fields following the Slot.=A0</div><div><br></div><d=
iv>The single-bit field following the Priority would indicate whether or no=
t the SYN_STREAM is secure... this is equivalent to sending &quot;:scheme&q=
uot;=3D&quot;https&quot;. This would use up one fo the currently-unused 5-b=
its that exist after the priority. (I&#39;m not even yet convinced that thi=
s flag is necessary at all. We might be able to drop the :scheme indicator =
completely).</div>


<div><br></div><div>The one-byte field following Slot identifies the HTTP M=
ethod. Each method would be assigned a numeric identifier (GET=3D0x1, PUT=
=3D0x2, etc). New methods would be registered to get a new identifier (if a=
 server gets a SYN_STREAM with an unknown method identifier it&#39;s no dif=
ferent than if they get a HTTP/1.1 request with an unknown method name).</d=
iv>


<div><br></div><div>Using this approach, we eliminate three special case he=
aders (&quot;:version&quot;, &quot;:method&quot; and &quot;:scheme&quot;) a=
nd save at least around 31-bytes per SYN_STREAM.=A0</div><span class=3D"HOE=
nZb"><font color=3D"#888888"><div>
<br></div>
<div>
- James</div></font></span></font></div>
</blockquote></div><br></div>

--20cf303343ed3a4ac004cbcc1d77--


From ietf-http-wg-request@listhub.w3.org  Thu Oct 11 11:04:08 2012
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 20CBF21F86C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 11:04:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.862
X-Spam-Level: 
X-Spam-Status: No, score=-7.862 tagged_above=-999 required=5 tests=[AWL=2.436, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id phJFYFUNWZPu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 11:04:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 07C6821F866B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 Oct 2012 11:04:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMN5w-00037D-C4 for ietf-http-wg-dist@listhub.w3.org; Thu, 11 Oct 2012 18:02:52 +0000
Resent-Date: Thu, 11 Oct 2012 18:02:52 +0000
Resent-Message-Id: <E1TMN5w-00037D-C4@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMN5s-00036T-Iy for ietf-http-wg@listhub.w3.org; Thu, 11 Oct 2012 18:02:48 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMN5n-0006Km-Tl for ietf-http-wg@w3.org; Thu, 11 Oct 2012 18:02:48 +0000
Received: by mail-wi0-f173.google.com with SMTP id hm4so7299730wib.8 for <ietf-http-wg@w3.org>; Thu, 11 Oct 2012 11:02:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=k8lj6oL5jFadyIKoB9Fs8hySTVHdM1mtkeQhNM/E3OQ=; b=l4KZIEnE+RdfuzRIZhYrJ/EL+U0ptYJQXVcNLmm39uAA8FCLsJAebStE/k1kM6/ZEq fznAN6MY1x7UMBxP128OE0p/BjvQFoM5s+tLchV1wJiCaT3fpITTtnN72+LXk/Y60GBT VHcm1RVciNKoreWLOZ2s7iCYJ24omtd+ANuL+v+caDE3if0a5Xz+qi6lt/ak1bvvBpre yg7rl8zdHjb80Ly6P9n7rNYu4PHySSk8mmMmGKWzTM81aDgypLVBcfGBNRAsr2Ettusj Ht0KnwDfGOGlkAeb7bxPI0nul11MsvSSM0hOXlNyVMmG6BMVbc+amFEwbrvNepk+E4H9 fc1A==
Received: by 10.216.204.139 with SMTP id h11mr996784weo.128.1349978537136; Thu, 11 Oct 2012 11:02:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.201.68 with HTTP; Thu, 11 Oct 2012 11:01:56 -0700 (PDT)
In-Reply-To: <CAA4WUYixi6MD-0fLxeOtTA5Qfic9NiqDZY_OrtFdKids8osacQ@mail.gmail.com>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAA4WUYixi6MD-0fLxeOtTA5Qfic9NiqDZY_OrtFdKids8osacQ@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Thu, 11 Oct 2012 11:01:56 -0700
Message-ID: <CABP7RbfXBgmHkYG-U7j8+yvVtrp8yOf61YdeX0+9n3uTF0O_Qw@mail.gmail.com>
To: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=0016e6d589e12911c504cbcc5f25
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-2.484, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMN5n-0006Km-Tl 27d2a62bdd0ca616d3a2642c11ccf8e4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/CABP7RbfXBgmHkYG-U7j8+yvVtrp8yOf61YdeX0+9n3uTF0O_Qw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15334
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>

--0016e6d589e12911c504cbcc5f25
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 11, 2012 at 10:43 AM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C=
)
<willchan@chromium.org>wrote:

> I don't really care to dive into this level of detail in the framing yet,
> since I feel like there are plenty of other contentious high level stuff
> people we'll want to settle first. That said, I'll note a few things:
> * The version field in SPDY isn't very well thought out, because we
> weren't sure about how we were going to communicate the version. In
> practice, we always rely on TLS-NPN, so this is kinda vestigial. Just FYI
> for the history for it.
>

Granted. However, it makes very little sense to have three separate version
identification mechanisms (at the TLS-NPN level, the SYN_STREAM version
field, and the :version header).


> * Baking in those special headers into specific fields merges the HTTP
> layer into the SPDY layer. Maybe that's the right way forward for HTTP/2.=
0,
> but we have discussed other protocols layering on top of SPDY, for which
> these HTTP specific fields would be undesirable.
>

Granted. However, the difference really boils down to only a single
additional byte. Surely that single byte wouldn't be too difficult to
ignore in non-http cases.


> * Roberto's proposing a new name/value header block anyway.
>

Looking forward to seeing his suggested changes.

- James


> Meh. I figure we can optimize the framing after we've settled what
> features we want.
>
> On Thu, Oct 11, 2012 at 10:13 AM, James M Snell <jasnell@gmail.com> wrote=
:
>
>> I've been going back through the HTTP binding described in the initial
>> SPDY draft [1] and going through a variety of options for the header
>> encoding and the thought struck me.. if headers such as :version, :metho=
d
>> and :scheme are always going to be included in the SYN_STREAM, and these
>> are always going to have fairly static and well defined values, there's
>> really no reason at all why those should be encoded as headers in the fi=
rst
>> place -- let's just give them fixed positions within the SYN_STREAM bloc=
k..
>>
>> [1]
>> http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section-2.6.1
>>
>> +------------------------------------+
>> |1|    version    |         1        |
>> +------------------------------------+
>> |  Flags (8)  |  Length (24 bits)    |
>> +------------------------------------+
>> |X|           Stream-ID (31bits)     |
>> +------------------------------------+
>> |X| Associated-To-Stream-ID (31bits) |
>> +------------------------------------+
>> | Pri|S|Unused| Slot |M|             |
>> +----------------------+             |
>> | Number of Name/Value pairs (int32) |
>> +------------------------------------+
>> |     Length of name (int32)         |
>> +------------------------------------+
>> |           Name (string)            |
>> +------------------------------------+
>> |     Length of value  (int32)       |
>> +------------------------------------+
>> |          Value   (string)          |
>> +------------------------------------+
>> |           (repeats)                |
>>
>> For one, we already have the version field in the SYN_STREAM... we
>> shouldn't need two separate protocol version identifiers within a single
>> SYN_STREAM..
>>
>> This would add one single-bit flag following the priority and one
>> single-byte fields following the Slot.
>>
>> The single-bit field following the Priority would indicate whether or no=
t
>> the SYN_STREAM is secure... this is equivalent to sending
>> ":scheme"=3D"https". This would use up one fo the currently-unused 5-bit=
s
>> that exist after the priority. (I'm not even yet convinced that this fla=
g
>> is necessary at all. We might be able to drop the :scheme indicator
>> completely).
>>
>> The one-byte field following Slot identifies the HTTP Method. Each metho=
d
>> would be assigned a numeric identifier (GET=3D0x1, PUT=3D0x2, etc). New =
methods
>> would be registered to get a new identifier (if a server gets a SYN_STRE=
AM
>> with an unknown method identifier it's no different than if they get a
>> HTTP/1.1 request with an unknown method name).
>>
>> Using this approach, we eliminate three special case headers (":version"=
,
>> ":method" and ":scheme") and save at least around 31-bytes per SYN_STREA=
M.
>>
>>  - James
>>
>
>

--0016e6d589e12911c504cbcc5f25
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Thu, Oct 11, 2012 at 10:43 AM, William Chan (=E9=99=88=E6=99=BA=E6=
=98=8C) <span dir=3D"ltr">&lt;<a href=3D"mailto:willchan@chromium.org" targ=
et=3D"_blank">willchan@chromium.org</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">I don&#39;t really care to dive into this le=
vel of detail in the framing yet, since I feel like there are plenty of oth=
er contentious high level stuff people we&#39;ll want to settle first. That=
 said, I&#39;ll note a few things:<div>


* The version field in SPDY isn&#39;t very well thought out, because we wer=
en&#39;t sure about how we were going to communicate the version. In practi=
ce, we always rely on TLS-NPN, so this is kinda vestigial. Just FYI for the=
 history for it.</div>

</blockquote><div><br></div><div>Granted. However, it makes very little sen=
se to have three separate version identification mechanisms (at the TLS-NPN=
 level, the SYN_STREAM version field, and the :version header).=C2=A0</div>
<div>
=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
rder-left:1px #ccc solid;padding-left:1ex">
<div class=3D"gmail_extra">* Baking in those special headers into specific =
fields merges the HTTP layer into the SPDY layer. Maybe that&#39;s the righ=
t way forward for HTTP/2.0, but we have discussed other protocols layering =
on top of SPDY, for which these HTTP specific fields would be undesirable.<=
/div>

</blockquote><div><br></div><div>Granted. However, the difference really bo=
ils down to only a single additional byte. Surely that single byte wouldn&#=
39;t be too difficult to ignore in non-http cases.</div><div>=C2=A0</div><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">


<div class=3D"gmail_extra">* Roberto&#39;s proposing a new name/value heade=
r block anyway.</div></blockquote><div><br></div><div>Looking forward to se=
eing his suggested changes.</div><div><br></div><div>- James</div><div><br>

</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-l=
eft:1px #ccc solid;padding-left:1ex"><div class=3D"gmail_extra"><br></div><=
div class=3D"gmail_extra">Meh. I figure we can optimize the framing after w=
e&#39;ve settled what features we want.</div>

<div class=3D"HOEnZb"><div class=3D"h5">
<div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Thu, Oct 11, 2=
012 at 10:13 AM, James M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasn=
ell@gmail.com" target=3D"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br=
>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><font face=3D"courier new,monospace">I&#39;v=
e been going back through the HTTP binding described in the initial SPDY dr=
aft [1] and going through a variety of options for the header encoding and =
the thought struck me.. if headers such as :version, :method and :scheme ar=
e always going to be included in the SYN_STREAM, and these are always going=
 to have fairly static and well defined values, there&#39;s really no reaso=
n at all why those should be encoded as headers in the first place -- let&#=
39;s just give them fixed positions within the SYN_STREAM block..</font><di=
v>




<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">[1]=C2=A0</font><font face=3D"courier new, monospace">=
<a href=3D"http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section=
-2.6.1" target=3D"_blank">http://tools.ietf.org/html/draft-mbelshe-httpbis-=
spdy-00#section-2.6.1</a></font></div>




<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace"><div>+------------------------------------+</di=
v><div>|1| =C2=A0 =C2=A0version =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
1 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>+---------------------------------=
---+</div>




<div>| =C2=A0Flags (8) =C2=A0| =C2=A0Length (24 bits) =C2=A0 =C2=A0|</div><=
div>+------------------------------------+</div><div>|X| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Stream-ID (31bits) =C2=A0 =C2=A0 |</div><div>+-----------=
-------------------------+</div><div>|X| Associated-To-Stream-ID (31bits) |=
</div>




<div>+------------------------------------+</div><div>| Pri|S|Unused| Slot =
|M| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>+----------------=
------+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>| Number of N=
ame/Value pairs (int32) |</div><div>+------------------------------------+<=
/div>




<div>| =C2=A0 =C2=A0 Length of name (int32) =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</=
div><div>+------------------------------------+</div><div>| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div>+------------------------------------+</div><div>| =C2=A0 =
=C2=A0 Length of value =C2=A0(int32) =C2=A0 =C2=A0 =C2=A0 |</div>




<div>+------------------------------------+</div><div>| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0Value =C2=A0 (string) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<=
/div><div>+------------------------------------+</div><div>| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|</div><div><br></div><div>For one, we already have the versio=
n field in the SYN_STREAM... we shouldn&#39;t need two separate protocol ve=
rsion identifiers within a single SYN_STREAM..</div>




<div><br></div><div>This would add one single-bit flag following the priori=
ty and one single-byte fields following the Slot.=C2=A0</div><div><br></div=
><div>The single-bit field following the Priority would indicate whether or=
 not the SYN_STREAM is secure... this is equivalent to sending &quot;:schem=
e&quot;=3D&quot;https&quot;. This would use up one fo the currently-unused =
5-bits that exist after the priority. (I&#39;m not even yet convinced that =
this flag is necessary at all. We might be able to drop the :scheme indicat=
or completely).</div>




<div><br></div><div>The one-byte field following Slot identifies the HTTP M=
ethod. Each method would be assigned a numeric identifier (GET=3D0x1, PUT=
=3D0x2, etc). New methods would be registered to get a new identifier (if a=
 server gets a SYN_STREAM with an unknown method identifier it&#39;s no dif=
ferent than if they get a HTTP/1.1 request with an unknown method name).</d=
iv>




<div><br></div><div>Using this approach, we eliminate three special case he=
aders (&quot;:version&quot;, &quot;:method&quot; and &quot;:scheme&quot;) a=
nd save at least around 31-bytes per SYN_STREAM.=C2=A0</div><span><font col=
or=3D"#888888"><div>


<br></div>
<div>
- James</div></font></span></font></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br>

--0016e6d589e12911c504cbcc5f25--


From ietf-http-wg-request@listhub.w3.org  Thu Oct 11 11:14:30 2012
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 D5C1F21F86C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 11:14:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.979
X-Spam-Level: 
X-Spam-Status: No, score=-9.979 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, RCVD_IN_SORBS_WEB=0.619]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ekutxD2+pUMp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 11:14:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7F0C221F86B5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 Oct 2012 11:14:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMNGI-0007BE-6v for ietf-http-wg-dist@listhub.w3.org; Thu, 11 Oct 2012 18:13:34 +0000
Resent-Date: Thu, 11 Oct 2012 18:13:34 +0000
Resent-Message-Id: <E1TMNGI-0007BE-6v@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1TMNGF-0007AZ-G4 for ietf-http-wg@listhub.w3.org; Thu, 11 Oct 2012 18:13:31 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1TMNGD-0008DZ-PL for ietf-http-wg@w3.org; Thu, 11 Oct 2012 18:13:31 +0000
Received: from uranium.docomointertouch.net ([83.111.171.164]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q9BICwN5003115 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Thu, 11 Oct 2012 18:13:01 GMT
Content-Type: multipart/alternative; boundary=----------WlsM7TiF42q7tM6r3GZYLy
To: ietf-http-wg@w3.org
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAA4WUYixi6MD-0fLxeOtTA5Qfic9NiqDZY_OrtFdKids8osacQ@mail.gmail.com> <CABP7RbfXBgmHkYG-U7j8+yvVtrp8yOf61YdeX0+9n3uTF0O_Qw@mail.gmail.com>
Date: Thu, 11 Oct 2012 20:13:00 +0200
MIME-Version: 1.0
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wl00vyyhiw9drz@uranium.docomointertouch.net>
In-Reply-To: <CABP7RbfXBgmHkYG-U7j8+yvVtrp8yOf61YdeX0+9n3uTF0O_Qw@mail.gmail.com>
User-Agent: Opera Mail/12.02 (Win32)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_SORBS_WEB=0.614, RP_MATCHES_RCVD=-2.143, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TMNGD-0008DZ-PL 7a39cf04646a68a7d394997ac821c2ac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/op.wl00vyyhiw9drz@uranium.docomointertouch.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15335
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>

------------WlsM7TiF42q7tM6r3GZYLy
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Content-Transfer-Encoding: Quoted-Printable

On Thu, 11 Oct 2012 20:01:56 +0200, James M Snell <jasnell@gmail.com>  =

wrote:

>
>
>> On Thu, Oct 11, 2012 at 10:43 AM, William Chan (=E9=99=88=E6=99=BA=E6=
=98=8C)  =

>> <willchan@chromium.org> wrote:
>> I don't really care to dive into this level of detail in the framing =
 =

>> yet, since I feel like there are plenty of other contentious high lev=
el  =

>> stuff people we'll >>want to settle first. That said, I'll note a few=
  =

>> things:
>> * The version field in SPDY isn't very well thought out, because we  =

>> weren't sure about how we were going to communicate the version. In  =

>> practice, >>we always rely on TLS-NPN, so this is kinda vestigial. Ju=
st  =

>> FYI for the history for it.
>
> Granted. However, it makes very little sense to have three separate  =

> version identification mechanisms (at the TLS-NPN level, the SYN_STREA=
M  =

> >version field, and the :version header).

I would expect to see this part completely reworked, since there are bot=
h  =

syntactical and semantic issues with the current versioning system.

>
>> * Baking in those special headers into specific fields merges the HTT=
P  =

>> layer into the SPDY layer. Maybe that's the right way forward for  =

>> HTTP/2.0, >>but we have discussed other protocols layering on top of =
 =

>> SPDY, for which these HTTP specific fields would be undesirable.
>
> Granted. However, the difference really boils down to only a single  =

> additional byte. Surely that single byte wouldn't be too difficult to =
 =

> ignore in non->http cases.

Looking at it in a more high level, I certainly makes sense to build in =
 =

mandatory fields into a fix frame structure, both to save overhead and t=
o  =

simplify looking at only those fields. The real question is if non-HTTP =
 =

should be possible in the HTTP/2.0 structure.

/Martin Nilsson

-- =

Using Opera's revolutionary email client: http://www.opera.com/mail/
------------WlsM7TiF42q7tM6r3GZYLy
Content-Type: multipart/related; boundary=----------WlsM7TiF42q7tMqugTLCHp

------------WlsM7TiF42q7tMqugTLCHp
Content-Type: text/html; charset=utf-8
Content-ID: <op.1349979180851.16985e655d6caf51@10.5.8.70>
Content-Transfer-Encoding: Quoted-Printable

<!DOCTYPE html><html><head>
<style type=3D"text/css">body { font-family:'Times New Roman'; font-size=
:13px}</style>
</head>
<body>On Thu, 11 Oct 2012 20:01:56 +0200, James M Snell &lt;jasnell@gmai=
l.com&gt; wrote:<br><br><blockquote style=3D"margin: 0 0 0.80ex; border-=
left: #0000FF 2px solid; padding-left: 1ex"><font face=3D"courier new,mo=
nospace"><br></font><br><div class=3D"gmail_quote">On Thu, Oct 11, 2012 =
at 10:43 AM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) <span dir=3D"ltr=
">&lt;<a href=3D"mailto:willchan@chromium.org" target=3D"_blank">willcha=
n@chromium.org</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex">I don't really care to dive into this =
level of detail in the framing yet, since I feel like there are plenty o=
f other contentious high level stuff people we'll want to settle first. =
That said, I'll note a few things:<div>


* The version field in SPDY isn't very well thought out, because we were=
n't sure about how we were going to communicate the version. In practice=
, we always rely on TLS-NPN, so this is kinda vestigial. Just FYI for th=
e history for it.</div>

</blockquote><div><br></div><div>Granted. However, it makes very little =
sense to have three separate version identification mechanisms (at the T=
LS-NPN level, the SYN_STREAM version field, and the :version header).&nb=
sp;</div>
<div>
</div></div></blockquote><div><br></div><div>I would expect to see this =
part completely reworked, since there are both syntactical and semantic =
issues with the current versioning system.</div><div><br></div><blockquo=
te style=3D"margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-=
left: 1ex"><div class=3D"gmail_quote"><div>&nbsp;</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">
<div class=3D"gmail_extra">* Baking in those special headers into specif=
ic fields merges the HTTP layer into the SPDY layer. Maybe that's the ri=
ght way forward for HTTP/2.0, but we have discussed other protocols laye=
ring on top of SPDY, for which these HTTP specific fields would be undes=
irable.</div>

</blockquote><div><br></div><div>Granted. However, the difference really=
 boils down to only a single additional byte. Surely that single byte wo=
uldn't be too difficult to ignore in non-http cases.</div></div></blockq=
uote><div><br></div><div>Looking at it in a more high level, I certainly=
 makes sense to build in mandatory fields into a fix frame structure, bo=
th to save overhead and to simplify looking at only those fields. The re=
al question is if non-HTTP should be possible in the HTTP/2.0 structure.=
</div><div><br></div><div>/Martin Nilsson</div><div><br></div><div id=3D=
"M2Signature"><div>-- </div><div>Using Opera's revolutionary email clien=
t: <a href=3D"http://www.opera.com/mail/">http://www.opera.com/mail/</a>=
</div></div></body></html>
------------WlsM7TiF42q7tMqugTLCHp--

------------WlsM7TiF42q7tM6r3GZYLy--



From ietf-http-wg-request@listhub.w3.org  Thu Oct 11 14:21:24 2012
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 6268F21F85C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 14:21:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.448
X-Spam-Level: 
X-Spam-Status: No, score=-10.448 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WP0bxHRAlTN0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 14:21:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 33A2021F8607 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 Oct 2012 14:21:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMQ9Z-0005MB-Vb for ietf-http-wg-dist@listhub.w3.org; Thu, 11 Oct 2012 21:18:50 +0000
Resent-Date: Thu, 11 Oct 2012 21:18:49 +0000
Resent-Message-Id: <E1TMQ9Z-0005MB-Vb@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMQ9W-0005LS-D2 for ietf-http-wg@listhub.w3.org; Thu, 11 Oct 2012 21:18:46 +0000
Received: from mail-oa0-f43.google.com ([209.85.219.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMQ9U-0004jP-K8 for ietf-http-wg@w3.org; Thu, 11 Oct 2012 21:18:46 +0000
Received: by mail-oa0-f43.google.com with SMTP id k1so2493235oag.2 for <ietf-http-wg@w3.org>; Thu, 11 Oct 2012 14:18:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=g/O/PwzF9TclKcHHqDum3wc93WKyAQSa5Qtr/w53Z8g=; b=ZeEtfC2xEMi9Wz7S2Gva8YgcEHIPtyXp+qsYMgRe15hF9waxpU3Y68zJunt0WBt4S2 BFB84X4HJS6Fhhm5m91zOjYFidov/8CTi4jsNvmEIzJLbnD5Lv9w1K4RKo0zIEDK3tRA NMN/tyxILbLehH6STR8LwmKE1iNKc80Yu0N5spCDqLwWfs26z6ZRF9dGtsgPZxGeRzid lgiyy7uXlOJfezOh33ZbTpArBOzUlNCnEuIpJp94yaTEVm8ObCeUeCV4ItRycWIxXd+Y UZV9B/YpHZxV7knqD4cvYXkY2hk9jncHUqUkNp9fXpOeWOw74+y78udttsjf16FgZZDZ YBJw==
MIME-Version: 1.0
Received: by 10.60.172.201 with SMTP id be9mr1802861oec.141.1349990298627; Thu, 11 Oct 2012 14:18:18 -0700 (PDT)
Received: by 10.76.170.98 with HTTP; Thu, 11 Oct 2012 14:18:18 -0700 (PDT)
In-Reply-To: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com>
Date: Thu, 11 Oct 2012 14:18:18 -0700
Message-ID: <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=bcaec54b53b4332f9a04cbcf1c4d
Received-SPF: pass client-ip=209.85.219.43; envelope-from=grmocg@gmail.com; helo=mail-oa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMQ9U-0004jP-K8 29e0fa74a5b8e658c66aa308cd3af35d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15336
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>

--bcaec54b53b4332f9a04cbcf1c4d
Content-Type: text/plain; charset=ISO-8859-1

The version field could/should be pulled out and a better way to express
this determined.
This was original conceived as a way to allow proxies to carry multiple
different versions of SPDY simultaneously over the same connection (e.g. to
a server from multiple clients), but I've seen no support for such a
requirement in any real deployments yet, and it doesn't seem likely to
change.

I believe strongly that we don't want to corrupt the session-layer with
bits from the application-semantic layer unless we're getting significant
benefit from it.
The benefit we get from encoding scheme in bits is relatively small, and
very much not future proof-- We do send both HTTP and HTTPS over a single
SPDY connection today, and hopefully won't be limited to just these as we
don't know what the future will bring (e.g. upgrade to ws over stream?
Change of some other property? I know I can't predict it).

Given the way the compressor that I've been working on works, the "http"
and "https" schemes are already present in the initial compression seed,
thus end up being encoded in very few bits. Since it is delta-encoded, it
is also not mentioned again unless you change the scheme. This would likely
end up using fewer bits than attempting to encode it in the session-level
frames...

On the compression stuff-- I apologize for the delay in getting the
compression spec out. If all people want is a description of the
fundamentals, I can do that quickly. For now I've been concentrating on the
'working code' informing the specification, and so have been working to
ensure that the final product isn't more complex than is really required.

On that note, what is it that people want to see here w.r.t. the
compression stuff?-- Something high-level quickly, or a functional spec
proposal in 1-3 weeks?


-=R

On Thu, Oct 11, 2012 at 10:13 AM, James M Snell <jasnell@gmail.com> wrote:

> I've been going back through the HTTP binding described in the initial
> SPDY draft [1] and going through a variety of options for the header
> encoding and the thought struck me.. if headers such as :version, :method
> and :scheme are always going to be included in the SYN_STREAM, and these
> are always going to have fairly static and well defined values, there's
> really no reason at all why those should be encoded as headers in the first
> place -- let's just give them fixed positions within the SYN_STREAM block..
>
> [1] http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section-2.6.1
>
> +------------------------------------+
> |1|    version    |         1        |
> +------------------------------------+
> |  Flags (8)  |  Length (24 bits)    |
> +------------------------------------+
> |X|           Stream-ID (31bits)     |
> +------------------------------------+
> |X| Associated-To-Stream-ID (31bits) |
> +------------------------------------+
> | Pri|S|Unused| Slot |M|             |
> +----------------------+             |
> | Number of Name/Value pairs (int32) |
> +------------------------------------+
> |     Length of name (int32)         |
> +------------------------------------+
> |           Name (string)            |
> +------------------------------------+
> |     Length of value  (int32)       |
> +------------------------------------+
> |          Value   (string)          |
> +------------------------------------+
> |           (repeats)                |
>
> For one, we already have the version field in the SYN_STREAM... we
> shouldn't need two separate protocol version identifiers within a single
> SYN_STREAM..
>
> This would add one single-bit flag following the priority and one
> single-byte fields following the Slot.
>
> The single-bit field following the Priority would indicate whether or not
> the SYN_STREAM is secure... this is equivalent to sending
> ":scheme"="https". This would use up one fo the currently-unused 5-bits
> that exist after the priority. (I'm not even yet convinced that this flag
> is necessary at all. We might be able to drop the :scheme indicator
> completely).
>
> The one-byte field following Slot identifies the HTTP Method. Each method
> would be assigned a numeric identifier (GET=0x1, PUT=0x2, etc). New methods
> would be registered to get a new identifier (if a server gets a SYN_STREAM
> with an unknown method identifier it's no different than if they get a
> HTTP/1.1 request with an unknown method name).
>
> Using this approach, we eliminate three special case headers (":version",
> ":method" and ":scheme") and save at least around 31-bytes per SYN_STREAM.
>
>  - James
>

--bcaec54b53b4332f9a04cbcf1c4d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

The version field could/should be pulled out and a better way to express th=
is determined.<div>This was original=A0conceived=A0as a way to allow proxie=
s to carry multiple different versions of SPDY simultaneously over the same=
 connection (e.g. to a server from multiple clients), but I&#39;ve seen no =
support for such a requirement in any real deployments yet, and it doesn&#3=
9;t seem likely to change.</div>
<div><br></div><div>I believe strongly that we don&#39;t want to corrupt th=
e session-layer with bits from the application-semantic layer unless we&#39=
;re getting significant benefit from it.</div><div>The benefit we get from =
encoding scheme in bits is relatively small, and very much not future proof=
-- We do send both HTTP and HTTPS over a single SPDY connection today, and =
hopefully won&#39;t be limited to just these as we don&#39;t know what the =
future will bring (e.g. upgrade to ws over stream? Change of some other pro=
perty? I know I can&#39;t predict it).</div>
<div><br></div><div>Given the way the compressor that I&#39;ve been working=
 on works, the &quot;http&quot; and &quot;https&quot; schemes are already p=
resent in the initial compression seed, thus end up being encoded in very f=
ew bits. Since it is delta-encoded, it is also not mentioned again unless y=
ou change the scheme. This would likely end up using fewer bits than attemp=
ting to encode it in the session-level frames...</div>
<div><br></div><div>On the compression stuff-- I apologize for the delay in=
 getting the compression spec out. If all people want is a description of t=
he fundamentals, I can do that quickly. For now I&#39;ve been concentrating=
 on the &#39;working code&#39; informing the specification, and so have bee=
n working to ensure that the final product isn&#39;t more complex than is r=
eally required.=A0</div>
<div><br></div><div>On that note, what is it that people want to see here w=
.r.t. the compression stuff?-- Something high-level quickly, or a functiona=
l spec proposal in 1-3 weeks?</div><div><br></div><div><br></div><div>-=3DR=
</div>
<div><br><div class=3D"gmail_quote">On Thu, Oct 11, 2012 at 10:13 AM, James=
 M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=
=3D"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">
<font face=3D"courier new,monospace">I&#39;ve been going back through the H=
TTP binding described in the initial SPDY draft [1] and going through a var=
iety of options for the header encoding and the thought struck me.. if head=
ers such as :version, :method and :scheme are always going to be included i=
n the SYN_STREAM, and these are always going to have fairly static and well=
 defined values, there&#39;s really no reason at all why those should be en=
coded as headers in the first place -- let&#39;s just give them fixed posit=
ions within the SYN_STREAM block..</font><div>


<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">[1]=A0</font><font face=3D"courier new, monospace"><a =
href=3D"http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section-2.=
6.1" target=3D"_blank">http://tools.ietf.org/html/draft-mbelshe-httpbis-spd=
y-00#section-2.6.1</a></font></div>


<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace"><div>+------------------------------------+</di=
v><div>|1| =A0 =A0version =A0 =A0| =A0 =A0 =A0 =A0 1 =A0 =A0 =A0 =A0|</div>=
<div>+------------------------------------+</div>


<div>| =A0Flags (8) =A0| =A0Length (24 bits) =A0 =A0|</div><div>+----------=
--------------------------+</div><div>|X| =A0 =A0 =A0 =A0 =A0 Stream-ID (31=
bits) =A0 =A0 |</div><div>+------------------------------------+</div><div>=
|X| Associated-To-Stream-ID (31bits) |</div>


<div>+------------------------------------+</div><div>| Pri|S|Unused| Slot =
|M| =A0 =A0 =A0 =A0 =A0 =A0 |</div><div>+----------------------+ =A0 =A0 =
=A0 =A0 =A0 =A0 |</div><div>| Number of Name/Value pairs (int32) |</div><di=
v>+------------------------------------+</div>


<div>| =A0 =A0 Length of name (int32) =A0 =A0 =A0 =A0 |</div><div>+--------=
----------------------------+</div><div>| =A0 =A0 =A0 =A0 =A0 Name (string)=
 =A0 =A0 =A0 =A0 =A0 =A0|</div><div>+------------------------------------+<=
/div><div>| =A0 =A0 Length of value =A0(int32) =A0 =A0 =A0 |</div>


<div>+------------------------------------+</div><div>| =A0 =A0 =A0 =A0 =A0=
Value =A0 (string) =A0 =A0 =A0 =A0 =A0|</div><div>+------------------------=
------------+</div><div>| =A0 =A0 =A0 =A0 =A0 (repeats) =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 =A0|</div><div><br></div><div>For one, we already have the version=
 field in the SYN_STREAM... we shouldn&#39;t need two separate protocol ver=
sion identifiers within a single SYN_STREAM..</div>


<div><br></div><div>This would add one single-bit flag following the priori=
ty and one single-byte fields following the Slot.=A0</div><div><br></div><d=
iv>The single-bit field following the Priority would indicate whether or no=
t the SYN_STREAM is secure... this is equivalent to sending &quot;:scheme&q=
uot;=3D&quot;https&quot;. This would use up one fo the currently-unused 5-b=
its that exist after the priority. (I&#39;m not even yet convinced that thi=
s flag is necessary at all. We might be able to drop the :scheme indicator =
completely).</div>


<div><br></div><div>The one-byte field following Slot identifies the HTTP M=
ethod. Each method would be assigned a numeric identifier (GET=3D0x1, PUT=
=3D0x2, etc). New methods would be registered to get a new identifier (if a=
 server gets a SYN_STREAM with an unknown method identifier it&#39;s no dif=
ferent than if they get a HTTP/1.1 request with an unknown method name).</d=
iv>


<div><br></div><div>Using this approach, we eliminate three special case he=
aders (&quot;:version&quot;, &quot;:method&quot; and &quot;:scheme&quot;) a=
nd save at least around 31-bytes per SYN_STREAM.=A0</div><span class=3D"HOE=
nZb"><font color=3D"#888888"><div>
<br></div>
<div>
- James</div></font></span></font></div>
</blockquote></div><br></div>

--bcaec54b53b4332f9a04cbcf1c4d--


From ietf-http-wg-request@listhub.w3.org  Thu Oct 11 16:34:35 2012
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 7170221F84FC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 16:34:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.43
X-Spam-Level: 
X-Spam-Status: No, score=-7.43 tagged_above=-999 required=5 tests=[AWL=3.168, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UVgVN55stJLN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 16:34:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 38FC621F84A7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 Oct 2012 16:34:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMSEr-0002NT-Ft for ietf-http-wg-dist@listhub.w3.org; Thu, 11 Oct 2012 23:32:25 +0000
Resent-Date: Thu, 11 Oct 2012 23:32:25 +0000
Resent-Message-Id: <E1TMSEr-0002NT-Ft@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMSEm-0002I8-T0 for ietf-http-wg@listhub.w3.org; Thu, 11 Oct 2012 23:32:20 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMSEl-0001di-I0 for ietf-http-wg@w3.org; Thu, 11 Oct 2012 23:32:20 +0000
Received: by mail-wg0-f41.google.com with SMTP id ds1so42519wgb.2 for <ietf-http-wg@w3.org>; Thu, 11 Oct 2012 16:31:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=9Qi5kxCiggBqxR3ILyXTJDVyDjtg+B36tYkWkM0Npng=; b=ay2QYjoVU4h8SgOQBIl9IVG/yTXXb56yIQSFOVrYXgcgeC5BFzsquYoiHRIYLW3oua 3+Yem74zl0DPAAI0oZdBP+uk+wP5zgATgjUEuSd7Xd9eSD1zwDGy7bH8iC4+OdBXBLU4 0lD2J4EJETVDAk4eP86njEhuhxxSRxWdzoBbgAZeL4dOILSvgB7ZoitahDylXjvqlxEc qvNZ+EZTga/Sv4w4YH8RjoKz9o2NK3j8gKoSKCW/WemViZWrhQH2b4T3EYukGkpdzzmW p1aID+OzvNdl35H+xAWKYmcx/uCMsv/yZ1HBfpXE918ErEkxr2FV+2YvJOuzxgTqM56t hoqQ==
Received: by 10.180.87.230 with SMTP id bb6mr1474561wib.6.1349998313318; Thu, 11 Oct 2012 16:31:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.201.68 with HTTP; Thu, 11 Oct 2012 16:31:33 -0700 (PDT)
In-Reply-To: <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Thu, 11 Oct 2012 16:31:33 -0700
Message-ID: <CABP7RbfATbn3C=VddOVdpTkuicGt7vUTmuPHL2dog+LH4GQMOA@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0444e97be9a86e04cbd0f9a8
Received-SPF: pass client-ip=74.125.82.41; envelope-from=jasnell@gmail.com; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=-2.099, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TMSEl-0001di-I0 64af869483b44f50bd6fdcdafc7a8388
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/CABP7RbfATbn3C=VddOVdpTkuicGt7vUTmuPHL2dog+LH4GQMOA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15337
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>

--f46d0444e97be9a86e04cbd0f9a8
Content-Type: text/plain; charset=UTF-8

On Thu, Oct 11, 2012 at 2:18 PM, Roberto Peon <grmocg@gmail.com> wrote:

> The version field could/should be pulled out and a better way to express
> this determined.
> This was original conceived as a way to allow proxies to carry multiple
> different versions of SPDY simultaneously over the same connection (e.g. to
> a server from multiple clients), but I've seen no support for such a
> requirement in any real deployments yet, and it doesn't seem likely to
> change.
>
> I believe strongly that we don't want to corrupt the session-layer with
> bits from the application-semantic layer unless we're getting significant
> benefit from it.
> The benefit we get from encoding scheme in bits is relatively small, and
> very much not future proof-- We do send both HTTP and HTTPS over a single
> SPDY connection today, and hopefully won't be limited to just these as we
> don't know what the future will bring (e.g. upgrade to ws over stream?
> Change of some other property? I know I can't predict it).
>
>
There's only so much we can and should do when it comes to "future
proofing"... and dropping the :scheme for a secure-bit does not rule out
the possibility of supporting other things in the future... it merely takes
a currently unused bit that already exists in the current framing and
assigns a meaning to it. If someone comes along in the future and wishes to
layer some as-yet-undefined-and-currently-theoretical protocol on top of
http 2.0, then they can still do so using headers. Nothing I've suggested
interferes with that.


> Given the way the compressor that I've been working on works, the "http"
> and "https" schemes are already present in the initial compression seed,
> thus end up being encoded in very few bits. Since it is delta-encoded, it
> is also not mentioned again unless you change the scheme. This would likely
> end up using fewer bits than attempting to encode it in the session-level
> frames...
>

The less we need to compress the better, right? This reduces scheme and
method down to only 9 bits total and gives them a fixed location in the
syn_stream which makes processing much more efficient... e.g. we don't have
to go looking for them at arbitrary positions in an arbitrary bag of
headers.


>
> On the compression stuff-- I apologize for the delay in getting the
> compression spec out. If all people want is a description of the
> fundamentals, I can do that quickly. For now I've been concentrating on the
> 'working code' informing the specification, and so have been working to
> ensure that the final product isn't more complex than is really required.
>
> On that note, what is it that people want to see here w.r.t. the
> compression stuff?-- Something high-level quickly, or a functional spec
> proposal in 1-3 weeks?
>
>
Yes :-) ... that is, can we have both, please :-)


>
> -=R
>
> On Thu, Oct 11, 2012 at 10:13 AM, James M Snell <jasnell@gmail.com> wrote:
>
>> I've been going back through the HTTP binding described in the initial
>> SPDY draft [1] and going through a variety of options for the header
>> encoding and the thought struck me.. if headers such as :version, :method
>> and :scheme are always going to be included in the SYN_STREAM, and these
>> are always going to have fairly static and well defined values, there's
>> really no reason at all why those should be encoded as headers in the first
>> place -- let's just give them fixed positions within the SYN_STREAM block..
>>
>> [1]
>> http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section-2.6.1
>>
>> +------------------------------------+
>> |1|    version    |         1        |
>> +------------------------------------+
>> |  Flags (8)  |  Length (24 bits)    |
>> +------------------------------------+
>> |X|           Stream-ID (31bits)     |
>> +------------------------------------+
>> |X| Associated-To-Stream-ID (31bits) |
>> +------------------------------------+
>> | Pri|S|Unused| Slot |M|             |
>> +----------------------+             |
>> | Number of Name/Value pairs (int32) |
>> +------------------------------------+
>> |     Length of name (int32)         |
>> +------------------------------------+
>> |           Name (string)            |
>> +------------------------------------+
>> |     Length of value  (int32)       |
>> +------------------------------------+
>> |          Value   (string)          |
>> +------------------------------------+
>> |           (repeats)                |
>>
>> For one, we already have the version field in the SYN_STREAM... we
>> shouldn't need two separate protocol version identifiers within a single
>> SYN_STREAM..
>>
>> This would add one single-bit flag following the priority and one
>> single-byte fields following the Slot.
>>
>> The single-bit field following the Priority would indicate whether or not
>> the SYN_STREAM is secure... this is equivalent to sending
>> ":scheme"="https". This would use up one fo the currently-unused 5-bits
>> that exist after the priority. (I'm not even yet convinced that this flag
>> is necessary at all. We might be able to drop the :scheme indicator
>> completely).
>>
>> The one-byte field following Slot identifies the HTTP Method. Each method
>> would be assigned a numeric identifier (GET=0x1, PUT=0x2, etc). New methods
>> would be registered to get a new identifier (if a server gets a SYN_STREAM
>> with an unknown method identifier it's no different than if they get a
>> HTTP/1.1 request with an unknown method name).
>>
>> Using this approach, we eliminate three special case headers (":version",
>> ":method" and ":scheme") and save at least around 31-bytes per SYN_STREAM.
>>
>>  - James
>>
>
>

--f46d0444e97be9a86e04cbd0f9a8
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Thu, Oct 11, 2012 at 2:18 PM, Roberto Peon <span dir=3D"ltr">&lt;<a =
href=3D"mailto:grmocg@gmail.com" target=3D"_blank">grmocg@gmail.com</a>&gt;=
</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">The version field could/should be pulled out=
 and a better way to express this determined.<div>This was original=C2=A0co=
nceived=C2=A0as a way to allow proxies to carry multiple different versions=
 of SPDY simultaneously over the same connection (e.g. to a server from mul=
tiple clients), but I&#39;ve seen no support for such a requirement in any =
real deployments yet, and it doesn&#39;t seem likely to change.</div>


<div><br></div><div>I believe strongly that we don&#39;t want to corrupt th=
e session-layer with bits from the application-semantic layer unless we&#39=
;re getting significant benefit from it.</div><div>The benefit we get from =
encoding scheme in bits is relatively small, and very much not future proof=
-- We do send both HTTP and HTTPS over a single SPDY connection today, and =
hopefully won&#39;t be limited to just these as we don&#39;t know what the =
future will bring (e.g. upgrade to ws over stream? Change of some other pro=
perty? I know I can&#39;t predict it).</div>


<div><br></div></blockquote><div><br></div><div>There&#39;s only so much we=
 can and should do when it comes to &quot;future proofing&quot;... and drop=
ping the :scheme for a secure-bit does not rule out the possibility of supp=
orting other things in the future... it merely takes a currently unused bit=
 that already exists in the current framing and assigns a meaning to it. If=
 someone comes along in the future and wishes to layer some as-yet-undefine=
d-and-currently-theoretical protocol on top of http 2.0, then they can stil=
l do so using headers. Nothing I&#39;ve suggested interferes with that.=C2=
=A0</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div></div><div>Given the w=
ay the compressor that I&#39;ve been working on works, the &quot;http&quot;=
 and &quot;https&quot; schemes are already present in the initial compressi=
on seed, thus end up being encoded in very few bits. Since it is delta-enco=
ded, it is also not mentioned again unless you change the scheme. This woul=
d likely end up using fewer bits than attempting to encode it in the sessio=
n-level frames...</div>

</blockquote><div><br></div><div>The less we need to compress the better, r=
ight? This reduces scheme and method down to only 9 bits total and gives th=
em a fixed location in the syn_stream which makes processing much more effi=
cient... e.g. we don&#39;t have to go looking for them at arbitrary positio=
ns in an arbitrary bag of headers.=C2=A0</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br></div><div>On the compression stuff-- I apologize for the delay in=
 getting the compression spec out. If all people want is a description of t=
he fundamentals, I can do that quickly. For now I&#39;ve been concentrating=
 on the &#39;working code&#39; informing the specification, and so have bee=
n working to ensure that the final product isn&#39;t more complex than is r=
eally required.=C2=A0</div>


<div><br></div><div>On that note, what is it that people want to see here w=
.r.t. the compression stuff?-- Something high-level quickly, or a functiona=
l spec proposal in 1-3 weeks?</div><span class=3D"HOEnZb"><font color=3D"#8=
88888"><div>

<br></div></font></span></blockquote><div><br></div><div>Yes :-) ... that i=
s, can we have both, please :-)</div><div>=C2=A0</div><blockquote class=3D"=
gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-=
left:1ex">

<span class=3D"HOEnZb"><font color=3D"#888888"><div></div><div><br></div><d=
iv>-=3DR</div></font></span><div class=3D"HOEnZb"><div class=3D"h5">
<div><br><div class=3D"gmail_quote">On Thu, Oct 11, 2012 at 10:13 AM, James=
 M Snell <span dir=3D"ltr">&lt;<a href=3D"mailto:jasnell@gmail.com" target=
=3D"_blank">jasnell@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">


<font face=3D"courier new,monospace">I&#39;ve been going back through the H=
TTP binding described in the initial SPDY draft [1] and going through a var=
iety of options for the header encoding and the thought struck me.. if head=
ers such as :version, :method and :scheme are always going to be included i=
n the SYN_STREAM, and these are always going to have fairly static and well=
 defined values, there&#39;s really no reason at all why those should be en=
coded as headers in the first place -- let&#39;s just give them fixed posit=
ions within the SYN_STREAM block..</font><div>




<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">[1]=C2=A0</font><font face=3D"courier new, monospace">=
<a href=3D"http://tools.ietf.org/html/draft-mbelshe-httpbis-spdy-00#section=
-2.6.1" target=3D"_blank">http://tools.ietf.org/html/draft-mbelshe-httpbis-=
spdy-00#section-2.6.1</a></font></div>




<div><font face=3D"courier new, monospace"><br></font></div><div><font face=
=3D"courier new, monospace"><div>+------------------------------------+</di=
v><div>|1| =C2=A0 =C2=A0version =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
1 =C2=A0 =C2=A0 =C2=A0 =C2=A0|</div><div>+---------------------------------=
---+</div>




<div>| =C2=A0Flags (8) =C2=A0| =C2=A0Length (24 bits) =C2=A0 =C2=A0|</div><=
div>+------------------------------------+</div><div>|X| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Stream-ID (31bits) =C2=A0 =C2=A0 |</div><div>+-----------=
-------------------------+</div><div>|X| Associated-To-Stream-ID (31bits) |=
</div>




<div>+------------------------------------+</div><div>| Pri|S|Unused| Slot =
|M| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>+----------------=
------+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</div><div>| Number of N=
ame/Value pairs (int32) |</div><div>+------------------------------------+<=
/div>




<div>| =C2=A0 =C2=A0 Length of name (int32) =C2=A0 =C2=A0 =C2=A0 =C2=A0 |</=
div><div>+------------------------------------+</div><div>| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 Name (string) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0|</div><div>+------------------------------------+</div><div>| =C2=A0 =
=C2=A0 Length of value =C2=A0(int32) =C2=A0 =C2=A0 =C2=A0 |</div>




<div>+------------------------------------+</div><div>| =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0Value =C2=A0 (string) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<=
/div><div>+------------------------------------+</div><div>| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 (repeats) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0|</div><div><br></div><div>For one, we already have the versio=
n field in the SYN_STREAM... we shouldn&#39;t need two separate protocol ve=
rsion identifiers within a single SYN_STREAM..</div>




<div><br></div><div>This would add one single-bit flag following the priori=
ty and one single-byte fields following the Slot.=C2=A0</div><div><br></div=
><div>The single-bit field following the Priority would indicate whether or=
 not the SYN_STREAM is secure... this is equivalent to sending &quot;:schem=
e&quot;=3D&quot;https&quot;. This would use up one fo the currently-unused =
5-bits that exist after the priority. (I&#39;m not even yet convinced that =
this flag is necessary at all. We might be able to drop the :scheme indicat=
or completely).</div>




<div><br></div><div>The one-byte field following Slot identifies the HTTP M=
ethod. Each method would be assigned a numeric identifier (GET=3D0x1, PUT=
=3D0x2, etc). New methods would be registered to get a new identifier (if a=
 server gets a SYN_STREAM with an unknown method identifier it&#39;s no dif=
ferent than if they get a HTTP/1.1 request with an unknown method name).</d=
iv>




<div><br></div><div>Using this approach, we eliminate three special case he=
aders (&quot;:version&quot;, &quot;:method&quot; and &quot;:scheme&quot;) a=
nd save at least around 31-bytes per SYN_STREAM.=C2=A0</div><span><font col=
or=3D"#888888"><div>


<br></div>
<div>
- James</div></font></span></font></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br>

--f46d0444e97be9a86e04cbd0f9a8--


From ietf-http-wg-request@listhub.w3.org  Thu Oct 11 23:49:21 2012
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 DF7B121F84E6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 23:49:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.808
X-Spam-Level: 
X-Spam-Status: No, score=-8.808 tagged_above=-999 required=5 tests=[AWL=1.791, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xtXrh5NWs6dT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 11 Oct 2012 23:49:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6258821F84E2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 11 Oct 2012 23:49:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMZ1L-0001Lu-Cf for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 06:46:55 +0000
Resent-Date: Fri, 12 Oct 2012 06:46:55 +0000
Resent-Message-Id: <E1TMZ1L-0001Lu-Cf@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TMZ1I-0001L5-Pr for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 06:46:52 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TMZ1H-00062t-Ld for ietf-http-wg@w3.org; Fri, 12 Oct 2012 06:46:52 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9C6kRrY014442; Fri, 12 Oct 2012 08:46:27 +0200
Date: Fri, 12 Oct 2012 08:46:27 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Message-ID: <20121012064627.GE12041@1wt.eu>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-1.988, RP_MATCHES_RCVD=-2.143, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TMZ1H-00062t-Ld 3dca633ff0d3fb4ddee92d9880c641ca
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/20121012064627.GE12041@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15338
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>

Hi Roberto,

On Thu, Oct 11, 2012 at 02:18:18PM -0700, Roberto Peon wrote:
> On the compression stuff-- I apologize for the delay in getting the
> compression spec out. If all people want is a description of the
> fundamentals, I can do that quickly. For now I've been concentrating on the
> 'working code' informing the specification, and so have been working to
> ensure that the final product isn't more complex than is really required.

For having lived the same experience a few months ago, I can confirm that
it is *very* hard to provide a spec or just an idea without working code,
because you need to see your compressor work in order to validate the
concept. Amos experienced the same too.

In my opinion, it would be a lot simpler that we all work on the same
code basis, each with his own fork and feedback with results and ideas.
I didn't have enough time to help Amos when he took over the job, but
I'm sure it could have gone further and faster with more help here from
other implementers.

> On that note, what is it that people want to see here w.r.t. the
> compression stuff?-- Something high-level quickly, or a functional spec
> proposal in 1-3 weeks?

If you think you can already express the basic ideas and what was tested
vs what still needs to be validated, it would be a first step. But as soon
as you have some code anyone can experiment with without having to rebuild
a full browser, I think it could progress quickly.

Cheers,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 00:52:36 2012
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 75BA421F8501 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 00:52:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -11.198
X-Spam-Level: 
X-Spam-Status: No, score=-11.198 tagged_above=-999 required=5 tests=[AWL=0.800, BAYES_00=-2.599, GB_I_LETTER=-2, HTML_MESSAGE=0.001, J_CHICKENPOX_43=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mJj+rFz5L1kp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 00:52:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7E33F21F84FE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 00:52:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMa0m-00018v-3n for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 07:50:24 +0000
Resent-Date: Fri, 12 Oct 2012 07:50:24 +0000
Resent-Message-Id: <E1TMa0m-00018v-3n@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMa0e-00017K-6Q for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 07:50:16 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMa0c-0006hG-5b for ietf-http-wg@w3.org; Fri, 12 Oct 2012 07:50:16 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so1917002lbo.2 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 00:49:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XIYFUCTc13sWdRxWMIRw3/LoWOPGHPN6wkbCUrsljdw=; b=GhbpFr59s5oGoPIe8l6bCNqKu1SlhlcASFHjNVti9mFlZFRWBwokjPYlxj/Hg7PlXZ Ex3cDxbKAap43m7He2YBst013npK5GpM+/nT/hSYadF17qWQRLka1noJOApA1W9+5VgE yEOClHvZUGpRW8AUaomsds3ykDrRB+kZndmYe1XsIEG7voxUKn62D3C1nnhKk5FyWJCk 81d5bfzwEY1fEqQFpZagrA16f8pViGccGlqJnFdcpruVL5Zraad3/eI1x7gCqJnmI0Sv IKKavrzTyxrUqi+dPcbmNUAW2pCMI4bOVeGfYlyCWFZu13aeeIPfJ3qd9D1XEwVzWlBt Apuw==
MIME-Version: 1.0
Received: by 10.112.102.230 with SMTP id fr6mr1226401lbb.112.1350028187123; Fri, 12 Oct 2012 00:49:47 -0700 (PDT)
Received: by 10.114.1.141 with HTTP; Fri, 12 Oct 2012 00:49:47 -0700 (PDT)
In-Reply-To: <20121012064627.GE12041@1wt.eu>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com> <20121012064627.GE12041@1wt.eu>
Date: Fri, 12 Oct 2012 00:49:47 -0700
Message-ID: <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0401730587c27304cbd7ee7e
Received-SPF: pass client-ip=209.85.217.171; envelope-from=grmocg@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMa0c-0006hG-5b 2d7ea2149adfaa908e67fe680be473e3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15339
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>

--f46d0401730587c27304cbd7ee7e
Content-Type: text/plain; charset=ISO-8859-1

As a warning, I do need to explicitly put the license in there for the code.
The license would be the Chromium license.

I've been checking my code into:
  https://github.com/grmocg/SPDY-Specification/tree/gh-pages/example_code

The python code, while outdated, is end-to-end. It does delta-encoding,
huffman coding, serialization, deserialization, decoding and re-inflating.
It is super-duper slow and wasn't written to test CPU performance.

The c++ code, while incomplete, gives me a much better idea of the
performance.
Currently, the not-terribly-well optimized code is happy to do ~200MB/s of
raw header into delta-encoded instructions/sec/core on my workstation and
given my dataset. In terms of HTTP requests/second I think it is on the
order of 30k/core. It will get slower once the serialization goes in (which
includes huffman coding and thus more bit-twiddling). I honestly have no
idea how much slower it may get, but am anxious to find out.

The missing pieces from the c++ code are the serialization,
deserialization, inflating.
The parts which are done are the bitbucket, huffman (including canonical
huffman), and delta-encoder.
It is missing the decoder (which is trivial) and
serialization/deserialization components, which may not be trivial,
depending on how efficient/inefficient the bitshifting operations end up
being.

Compressor unknowns/tradeoffs (a.k.a. things I intend to play with):
  *  Byte or bit alignment in various variations.
  *  Huffman coding of non-text fields (e.g. the opcodes themselves)
  *  Removal of opcodes-- instead, simply indicate the number of each type
or use a token to indicate the end of a section of the expected type. This
could save somewhere between 2-4 bits per operation, at least
pre-huffman-coded.
  *  Using different frequency tables (and thus huffman encodings) for
cookie data (unless this brings significant benefit, I'll prefer to not
have this)
  *  ID renumbering (does a referenced item get renumbered when it is used
so that consecutive items are likely to have been used together?)
  *  little-endian or big-endian, and specifically how (given that most
things today are little-endian...)
  *  implementation of proxy-pass-through-- one of the design goals here
was to allow a proxy to skip doing most of the delta or huffman encoding,
and just have to maintain a mapping between the IDs on the ingress and
egress sides for the different connection contexts. I believe it is doable,
but.. haven't done it. At the very least, since the huffman coding is
currently completely static, much can be taken without having to be
re-translated from the ingress side.
  *  providing a mechanism for the negotiation of a different huffman
encoding to be transferred. Given that a canonical huffman code is used
(ostensibly to increase decode speed), it is also easy/cheap to send one. I
haven't determined how big a savings this could be on a per-page basis.
This is something that could be done with the python code without too much
effort.
  *  modifying the instructions which create new IDs (i.e. clone and kvsto)
to not require mention of the ID which they're creating-- this is
unnecessary so long as a single ID is mentioned with the HEADERS frame--
each new ID will simple increment from there.
  *  and some more esoteric stuff.
  *  ensure that the pre-populated dictionary items never get thrown off
the LRU, since they must be maintained in memory anyway for any
server/client which uses multiple connections... it is likely that this
wouldn't incur any additional memory cost and it could increase compressor
efficiency.


The general scheme:

Delta-encoding of the headers, with the atoms being key-value pairs.
Cookie-crumbs are separated so that only the part of the cookie that
changes must be sent.

If none of the headers changed from one request to another (unlikely-- at
least the path would most of the time), then no textual information is sent.

After the delta-encoding is done, a static-huffman encoding is applied to
the text.

   - have an LRU of key, value entries.
   - the default-size for this state is 20k, or the size of the current
      header, whichever is larger.
      - the server can change this size
      - the first N-values are pre-populated with common keys and common
      values,
         - e,g. "method", "get"  - is a pre-populated entry
      - each time a particular key-value is used/referred-to, it goes to
      the front of the LRU.
      - The oldest key-value pairs (at the back of the LRU) go away if the
      state size is exceeded.
      - The LRU is updated with a small set of operations:
         - clone(key_idx, new_val):
         this adds a new key-value pair to the LRU by copying the key from
         at the key-index 'key_idx" in the LRU, and adding a new value
to it. e.g.:
         LRU: [ 0: ("method", "get") ]
         clone(0, "put") ->
         LRU [ 0:("method", "get"), 1: ("method", "put") ]
         - kvstore(new_key, new_val):
         this adds a new key-value pair to the LRU .. by inserting it at
         the end.
         e.g.:
         LRU [0:("method", "get")]
         kvstore("path", "/index.html") ->
         LRU [0:("method", "get"), 1:("path", "/index.html")]
      - have a constrained number of header-index-sets
      - a header-index-set represents an HTTP header
         - each index in the set corresponds to an entry in the LRU (by
         index)
         - each index in the set thus represents a key-value pair, one of
         the many that may compose the entirety of the headers
      - header-index-sets are modified by the encoder by putting indices
      into, or removing them from the sets.
         - the instruction do this is called 'toggle':, e.g:
           LRU [0:("method", "get"), 1:("path", "/index.html"), 2:("path",
         "/")]
           header-index-set [0: (0, 1) ]
         which represents a request like this:
           get /index.html
         If the following operations are applied:
           toggle(0, 1)  # header-index-group 0, toggle LRU index 1 off
           toggle(0, 2)  # header-index-group 0, toggle LRU index 2 on
         would cause the state to now be:
           LRU [0:("method", "get"), 1:("path", "/index.html"), 2:("path",
         "/")]
           header-index-set [0: (0, 2) ]
         and now the request would be:
           get /
      - keys and values are compressed with static-huffman codes
      - the huffman-table for request and response are different
      - the huffman-codes are canonical to improve decoding speed and to
      potentially allow for either side to publish a new huffman-code in the
      future in a space-efficient manner
      - the frequency-count for the construction of these codes was found
      by running a bunch of headers from different sites through the delta
      encoding (this is key) and computing the frequency of the letters of the
      values that *change* in the headers.
   - keys are refcounted and counted against the compression state only
   once until removed
   - keys have their own ID space so they can be referenced separately
   (e.g. in the clone operation)


There are a number of interesting things about this approach:

   1. As far as anyone can tell so far, it isn't vulnerable to the attacks
   we're seeing right now on gzip+TLS.
   2. You don't need to decode header values in order to interpret them
      1. First of all, because only changes are sent, if you're smart, you
      only have to figure out what to do with any particular header value once
      2. Since the huffman encoding is static, you just compare the encoded
      values-- no need to decode them. This can end up faster as the number of
      bytes to compare is very very likely smaller.
      3. You can choose to not do huffman encoding if you wish. This is
      necessary since, as with any entropy-compression, sometimes the encoded
      value is larger than the original.
   3. It is easy to share encoder and decoder state on either side of a
   proxy, and can be done efficiently.
      1. Any values that don't change need not be re-encoded- they can be
      blitted from ingress to egress
   4. It should be a fair bit cheaper than gzip to encode
   5. The compression achieved thusfar is competitive with gzip
      1. higher gzip window sizes will outperform the new compression
      scheme over current headers
      2. trying to be less optimal with headers results in better
      compression with gzip
      3. There is more compression to be gained over what I've gotten to so
      far..




The code hopefully makes this far more clear for those who take a gander.

-=R

On Thu, Oct 11, 2012 at 11:46 PM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Roberto,
>
> On Thu, Oct 11, 2012 at 02:18:18PM -0700, Roberto Peon wrote:
> > On the compression stuff-- I apologize for the delay in getting the
> > compression spec out. If all people want is a description of the
> > fundamentals, I can do that quickly. For now I've been concentrating on
> the
> > 'working code' informing the specification, and so have been working to
> > ensure that the final product isn't more complex than is really required.
>
> For having lived the same experience a few months ago, I can confirm that
> it is *very* hard to provide a spec or just an idea without working code,
> because you need to see your compressor work in order to validate the
> concept. Amos experienced the same too.
>
> In my opinion, it would be a lot simpler that we all work on the same
> code basis, each with his own fork and feedback with results and ideas.
> I didn't have enough time to help Amos when he took over the job, but
> I'm sure it could have gone further and faster with more help here from
> other implementers.
>
> > On that note, what is it that people want to see here w.r.t. the
> > compression stuff?-- Something high-level quickly, or a functional spec
> > proposal in 1-3 weeks?
>
> If you think you can already express the basic ideas and what was tested
> vs what still needs to be validated, it would be a first step. But as soon
> as you have some code anyone can experiment with without having to rebuild
> a full browser, I think it could progress quickly.
>
> Cheers,
> Willy
>
>

--f46d0401730587c27304cbd7ee7e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>As a warning, I do need to explicitly put the license in there for the=
 code.</div><div>The license would be the Chromium license.</div><div><br><=
/div>I&#39;ve been checking my code into:<div>=A0=A0<a href=3D"https://gith=
ub.com/grmocg/SPDY-Specification/tree/gh-pages/example_code" target=3D"_bla=
nk">https://github.com/grmocg/SPDY-Specification/tree/gh-pages/example_code=
</a><br>

<br>The python code, while outdated, is end-to-end. It does delta-encoding,=
 huffman coding, serialization, deserialization, decoding and re-inflating.=
</div><div>It is super-duper slow and wasn&#39;t written to test CPU perfor=
mance.</div>

<div><br></div><div>The c++ code, while incomplete, gives me a much better =
idea of the performance.</div><div>Currently, the not-terribly-well optimiz=
ed code is happy to do ~200MB/s of raw header into delta-encoded instructio=
ns/sec/core on my workstation and given my dataset. In terms of HTTP reques=
ts/second I think it is on the order of 30k/core. It will get slower once t=
he serialization goes in (which includes huffman coding and thus more bit-t=
widdling). I honestly have no idea how much slower it may get, but am anxio=
us to find out.</div>

<div><br></div><div>The missing pieces from the c++ code are the serializat=
ion, deserialization, inflating.</div><div>The parts which are done are the=
 bitbucket, huffman (including canonical huffman), and delta-encoder.</div>

<div>It is missing the decoder (which is trivial) and serialization/deseria=
lization components, which may not be trivial, depending on how efficient/i=
nefficient the bitshifting operations end up being.</div><div><br></div>

<div>Compressor unknowns/tradeoffs (a.k.a. things I intend to play with):</=
div><div>=A0 * =A0Byte or bit alignment in various variations.</div><div>=
=A0 * =A0Huffman coding of non-text fields (e.g. the opcodes themselves)</d=
iv><div>

=A0 * =A0Removal of opcodes-- instead, simply indicate the number of each t=
ype or use a token to indicate the end of a section of the expected type. T=
his could save somewhere between 2-4 bits per operation, at least pre-huffm=
an-coded.</div>

<div>=A0 * =A0Using different frequency tables (and thus huffman encodings)=
 for cookie data (unless this brings significant benefit, I&#39;ll prefer t=
o not have this)</div><div>=A0 * =A0ID renumbering (does a referenced item =
get renumbered when it is used so that consecutive items are likely to have=
 been used together?)</div>

<div>=A0 * =A0little-endian or big-endian, and specifically how (given that=
 most things today are little-endian...)</div><div>=A0 * =A0implementation =
of proxy-pass-through-- one of the design goals here was to allow a proxy t=
o skip doing most of the delta or huffman encoding, and just have to mainta=
in a mapping between the IDs on the ingress and egress sides for the differ=
ent connection contexts. I believe it is doable, but.. haven&#39;t done it.=
 At the very least, since the huffman coding is currently completely static=
, much can be taken without having to be re-translated from the ingress sid=
e.</div>

<div>=A0 * =A0providing a mechanism for the negotiation of a different huff=
man encoding to be transferred. Given that a canonical huffman code is used=
 (ostensibly to increase decode speed), it is also easy/cheap to send one. =
I haven&#39;t determined how big a savings this could be on a per-page basi=
s. This is something that could be done with the python code without too mu=
ch effort.</div>

<div>=A0 * =A0modifying the instructions which create new IDs (i.e. clone a=
nd kvsto) to not require mention of the ID which they&#39;re creating-- thi=
s is unnecessary so long as a single ID is mentioned with the HEADERS frame=
-- each new ID will simple increment from there.</div>

<div>=A0 * =A0and some more esoteric stuff.</div><div>=A0 * =A0ensure that =
the pre-populated dictionary items never get thrown off the LRU, since they=
 must be maintained in memory anyway for any server/client which uses multi=
ple connections... it is likely that this wouldn&#39;t incur any additional=
 memory cost and it could increase compressor efficiency.</div>
<div><br></div><div><br></div><div><div style=3D"color:rgb(34,34,34);font-f=
amily:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Th=
e general scheme:</div><div style=3D"color:rgb(34,34,34);font-family:arial,=
sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<br></div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;fo=
nt-size:13px;background-color:rgb(255,255,255)">Delta-encoding of the heade=
rs, with the atoms being key-value pairs. Cookie-crumbs are separated so th=
at only the part of the cookie that changes must be sent.</div>
<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;background-color:rgb(255,255,255)"><br></div><div style=3D"color:rgb(34,=
34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255=
,255,255)">
If none of the headers changed from one request to another (unlikely-- at l=
east the path would most of the time), then no textual information is sent.=
</div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-s=
ize:13px;background-color:rgb(255,255,255)">
<br></div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;fo=
nt-size:13px;background-color:rgb(255,255,255)">After the delta-encoding is=
 done, a static-huffman encoding is applied to the text.</div><div style=3D=
"background-color:rgb(255,255,255)">
<ul><li style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size=
:13px;margin-left:15px">have an LRU of key, value entries.<br></li><ul styl=
e=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><li s=
tyle=3D"margin-left:15px">
the default-size for this state is 20k, or the size of the current header, =
whichever is larger.</li><li style=3D"margin-left:15px">the server can chan=
ge this size</li><li style=3D"margin-left:15px">the first N-values are pre-=
populated with common keys and common values,</li>
<ul><li style=3D"margin-left:15px">e,g. &quot;method&quot;, &quot;get&quot;=
 =A0- is a pre-populated entry</li></ul><li style=3D"margin-left:15px">each=
 time a particular key-value is used/referred-to, it goes to the front of t=
he LRU.</li>
<li style=3D"margin-left:15px">The oldest key-value pairs (at the back of t=
he LRU) go away if the state size is exceeded.=A0</li><li style=3D"margin-l=
eft:15px">The LRU is updated with a small set of operations:</li><ul><li st=
yle=3D"margin-left:15px">
clone(key_idx, new_val):<br>this adds a new key-value pair to the LRU by co=
pying the key from at the key-index &#39;key_idx&quot; in the LRU, and addi=
ng a new value to it. e.g.:<br>LRU: [ 0: (&quot;method&quot;, &quot;get&quo=
t;) ]<br>
clone(0, &quot;put&quot;) -&gt;<br>LRU [ 0:(&quot;method&quot;, &quot;get&q=
uot;), 1: (&quot;method&quot;, &quot;put&quot;) ]</li><li style=3D"margin-l=
eft:15px">kvstore(new_key, new_val):<br>this adds a new key-value pair to t=
he LRU .. by inserting it at the end.<br>
e.g.:<br>LRU [0:(&quot;method&quot;, &quot;get&quot;)]<br>kvstore(&quot;pat=
h&quot;, &quot;/index.html&quot;) -&gt;<br>LRU [0:(&quot;method&quot;, &quo=
t;get&quot;), 1:(&quot;path&quot;, &quot;/index.html&quot;)]</li></ul></ul>
<li style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13p=
x;margin-left:15px">have a constrained number of header-index-sets</li><ul =
style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><=
li style=3D"margin-left:15px">
a header-index-set represents an HTTP header</li><ul><li style=3D"margin-le=
ft:15px">each index in the set corresponds to an entry in the LRU (by index=
)</li><li style=3D"margin-left:15px">each index in the set thus represents =
a key-value pair, one of the many that may compose the entirety of the head=
ers</li>
</ul><li style=3D"margin-left:15px">header-index-sets are modified by the e=
ncoder by putting indices into, or removing them from the sets.</li><ul><li=
 style=3D"margin-left:15px">the instruction do this is called &#39;toggle&#=
39;:, e.g:<br>
=A0 LRU [0:(&quot;method&quot;, &quot;get&quot;), 1:(&quot;path&quot;, &quo=
t;/index.html&quot;), 2:(&quot;path&quot;, &quot;/&quot;)]<br>=A0 header-in=
dex-set [0: (0, 1) ]<br>which represents a request like this:<br>=A0 get /i=
ndex.html<br>
If the following operations are applied:<br>=A0 toggle(0, 1) =A0# header-in=
dex-group 0, toggle LRU index 1 off<br>=A0 toggle(0, 2) =A0# header-index-g=
roup 0, toggle LRU index 2 on<br>would cause the state to now be:<br>=A0 LR=
U [0:(&quot;method&quot;, &quot;get&quot;), 1:(&quot;path&quot;, &quot;/ind=
ex.html&quot;), 2:(&quot;path&quot;, &quot;/&quot;)]<br>
=A0 header-index-set [0: (0, 2) ]<br>and now the request would be:<br>=A0 g=
et /</li></ul></ul><li style=3D"color:rgb(34,34,34);font-family:arial,sans-=
serif;font-size:13px;margin-left:15px">keys and values are compressed with =
static-huffman codes</li>
<ul style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13p=
x"><li style=3D"margin-left:15px">the huffman-table for request and respons=
e are different</li><li style=3D"margin-left:15px">the huffman-codes are ca=
nonical to improve decoding speed and to potentially allow for either side =
to publish a new huffman-code in the future in a space-efficient manner</li=
>
<li style=3D"margin-left:15px">the frequency-count for the construction of =
these codes was found by running a bunch of headers from different sites th=
rough the delta encoding (this is key) and computing the frequency of the l=
etters of the values that *change* in the headers.</li>
</ul><li><font color=3D"#222222" face=3D"arial, sans-serif">keys are refcou=
nted and counted against the compression state only once until removed</fon=
t></li><li><font color=3D"#222222" face=3D"arial, sans-serif">keys have the=
ir own ID space so they can be referenced separately (e.g. in the clone ope=
ration)</font></li>
</ul></div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;f=
ont-size:13px;background-color:rgb(255,255,255)"><br></div><div style=3D"co=
lor:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-co=
lor:rgb(255,255,255)">
There are a number of interesting things about this approach:</div><div sty=
le=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;backg=
round-color:rgb(255,255,255)"><ol><li style=3D"margin-left:15px">As far as =
anyone can tell so far, it isn&#39;t vulnerable to the attacks we&#39;re se=
eing right now on gzip+TLS.</li>
<li style=3D"margin-left:15px">You don&#39;t need to decode header values i=
n order to interpret them</li><ol><li style=3D"margin-left:15px">First of a=
ll, because only changes are sent, if you&#39;re smart, you only have to fi=
gure out what to do with any particular header value once</li>
<li style=3D"margin-left:15px">Since the huffman encoding is static, you ju=
st compare the encoded values-- no need to decode them. This can end up fas=
ter as the number of bytes to compare is very very likely smaller.</li><li =
style=3D"margin-left:15px">
You can choose to not do huffman encoding if you wish. This is necessary si=
nce, as with any entropy-compression, sometimes the encoded value is larger=
 than the original.</li></ol><li style=3D"margin-left:15px">It is easy to s=
hare encoder and decoder state on either side of a proxy, and can be done e=
fficiently.</li>
<ol><li style=3D"margin-left:15px">Any values that don&#39;t change need no=
t be re-encoded- they can be blitted from ingress to egress</li></ol><li st=
yle=3D"margin-left:15px">It should be a fair bit cheaper than gzip to encod=
e</li>
<li style=3D"margin-left:15px">The compression achieved thusfar is competit=
ive with gzip</li><ol><li style=3D"margin-left:15px">higher gzip window siz=
es will outperform the new compression scheme over current headers</li><li =
style=3D"margin-left:15px">
trying to be less optimal with headers results in better compression with g=
zip</li><li style=3D"margin-left:15px">There is more compression to be gain=
ed over what I&#39;ve gotten to so far..</li></ol></ol></div></div><div><br=
>
</div><div><br></div><div><br></div><div>The code hopefully makes this far =
more clear for those who take a gander.</div><div><br></div><div>-=3DR</div=
><div><br><div class=3D"gmail_quote">On Thu, Oct 11, 2012 at 11:46 PM, Will=
y Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blan=
k">w@1wt.eu</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi Roberto,<br>
<div><br>
On Thu, Oct 11, 2012 at 02:18:18PM -0700, Roberto Peon wrote:<br>
&gt; On the compression stuff-- I apologize for the delay in getting the<br=
>
&gt; compression spec out. If all people want is a description of the<br>
&gt; fundamentals, I can do that quickly. For now I&#39;ve been concentrati=
ng on the<br>
&gt; &#39;working code&#39; informing the specification, and so have been w=
orking to<br>
&gt; ensure that the final product isn&#39;t more complex than is really re=
quired.<br>
<br>
</div>For having lived the same experience a few months ago, I can confirm =
that<br>
it is *very* hard to provide a spec or just an idea without working code,<b=
r>
because you need to see your compressor work in order to validate the<br>
concept. Amos experienced the same too.<br>
<br>
In my opinion, it would be a lot simpler that we all work on the same<br>
code basis, each with his own fork and feedback with results and ideas.<br>
I didn&#39;t have enough time to help Amos when he took over the job, but<b=
r>
I&#39;m sure it could have gone further and faster with more help here from=
<br>
other implementers.<br>
<div><br>
&gt; On that note, what is it that people want to see here w.r.t. the<br>
&gt; compression stuff?-- Something high-level quickly, or a functional spe=
c<br>
&gt; proposal in 1-3 weeks?<br>
<br>
</div>If you think you can already express the basic ideas and what was tes=
ted<br>
vs what still needs to be validated, it would be a first step. But as soon<=
br>
as you have some code anyone can experiment with without having to rebuild<=
br>
a full browser, I think it could progress quickly.<br>
<br>
Cheers,<br>
Willy<br>
<br>
</blockquote></div><br></div>

--f46d0401730587c27304cbd7ee7e--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 01:09:41 2012
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 6067321F852C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 01:09:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iukz0Y1xLper for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 01:09:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D1E3C21F8421 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 01:09:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMaHd-0001Kl-RT for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 08:07:49 +0000
Resent-Date: Fri, 12 Oct 2012 08:07:49 +0000
Resent-Message-Id: <E1TMaHd-0001Kl-RT@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1TMaHb-0001K6-MY for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 08:07:47 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1TMaHb-0000Wr-2Z for ietf-http-wg@w3.org; Fri, 12 Oct 2012 08:07:47 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id CF9B03B764; Fri, 12 Oct 2012 08:07:23 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q9C87Nno003222; Fri, 12 Oct 2012 08:07:23 GMT (envelope-from phk@phk.freebsd.dk)
To: Roberto Peon <grmocg@gmail.com>
cc: Willy Tarreau <w@1wt.eu>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
In-reply-to: <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com> <20121012064627.GE12041@1wt.eu> <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com>
Date: Fri, 12 Oct 2012 08:07:23 +0000
Message-ID: <3221.1350029243@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-2.1
X-W3C-Hub-Spam-Report: RP_MATCHES_RCVD=-2.145
X-W3C-Scan-Sig: lisa.w3.org 1TMaHb-0000Wr-2Z 40ad6ffb3f167179a0f2e98489a5f67b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/3221.1350029243@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15340
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>

--------
In message <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com>, Roberto Peon write
s:

>In terms of HTTP requests/second I think it is on the
>order of 30k/core.

This is why I think we need to do an envelope+content like format:
HTTP-routers will need to do several orders of magnitude faster
than that in a few years.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 01:16:19 2012
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 57E1321F850B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 01:16:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.698
X-Spam-Level: 
X-Spam-Status: No, score=-10.698 tagged_above=-999 required=5 tests=[AWL=-0.100, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4lWyt6Wl1z+5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 01:16:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4AC8421F8425 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 01:16:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMaOz-0008Bv-2N for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 08:15:25 +0000
Resent-Date: Fri, 12 Oct 2012 08:15:25 +0000
Resent-Message-Id: <E1TMaOz-0008Bv-2N@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMaOw-0008At-CI for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 08:15:22 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMaOr-0000kf-Hz for ietf-http-wg@w3.org; Fri, 12 Oct 2012 08:15:22 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so1864693lah.2 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 01:14:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=d/d1UjCCt6nPUmErrHYRqH9i2Q6/2IXwTmfyPYH+7ns=; b=MXdn6/jHDJhy46orMpGRlMHl+rQXjcT95+UE5xyaWxXZft7AOO7uz2laY8lWMJvyx1 7EHbd3DEzLFzOurHGe1RcxTOnlxSSy/fNftlUsPHs0FNsuHipTDNZZHg+6ODAJcLKpAR +6hsdsL9OJHiKVdnHzSRVQuRM1FjFqfCLuA3SK85ayrQ/3kB3HgL7RU/XdQy9zj0IdvN Q7HizsiFzZ2lDFe39i86zYtgIftx6asmyy4mM0fxGbdyvD9IU11mrDSZDJmfRdPCpSqC XWa0U9ys+pUVtT17eD/RzoRRQFDh29ZBO8syiWzmrrQglb+iXwKOe5ywajs6FWrC+44i hlOA==
MIME-Version: 1.0
Received: by 10.152.162.97 with SMTP id xz1mr3207260lab.38.1350029690616; Fri, 12 Oct 2012 01:14:50 -0700 (PDT)
Received: by 10.114.1.141 with HTTP; Fri, 12 Oct 2012 01:14:50 -0700 (PDT)
In-Reply-To: <3221.1350029243@critter.freebsd.dk>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com> <20121012064627.GE12041@1wt.eu> <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com> <3221.1350029243@critter.freebsd.dk>
Date: Fri, 12 Oct 2012 01:14:50 -0700
Message-ID: <CAP+FsNfKDbztTd6DtNXjdGTOLuL4gsMxrauaPfamx4c3-9HQCw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Willy Tarreau <w@1wt.eu>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043bdaba253a5204cbd84871
Received-SPF: pass client-ip=209.85.215.43; envelope-from=grmocg@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TMaOr-0000kf-Hz 25c20867c85db04460dea68230824c76
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/CAP+FsNfKDbztTd6DtNXjdGTOLuL4gsMxrauaPfamx4c3-9HQCw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15341
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>

--f46d043bdaba253a5204cbd84871
Content-Type: text/plain; charset=ISO-8859-1

One of the to-dos is to see how well the proxy-mode works.
The proxy doesn't have to redo delta-coding, nor does it have to huffman
code.

In any case, we'll find out with more experimentation.

-=R

On Fri, Oct 12, 2012 at 1:07 AM, Poul-Henning Kamp <phk@phk.freebsd.dk>wrote:

> --------
> In message <CAP+FsNcp7r2ad-X=2aNYq=_
> FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com>, Roberto Peon write
> s:
>
> >In terms of HTTP requests/second I think it is on the
> >order of 30k/core.
>
> This is why I think we need to do an envelope+content like format:
> HTTP-routers will need to do several orders of magnitude faster
> than that in a few years.
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>

--f46d043bdaba253a5204cbd84871
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

One of the to-dos is to see how well the proxy-mode works.<div>The proxy do=
esn&#39;t have to redo delta-coding, nor does it have to huffman code.</div=
><div><br></div><div>In any case, we&#39;ll find out with more experimentat=
ion.</div>
<div><br></div><div>-=3DR<br><br><div class=3D"gmail_quote">On Fri, Oct 12,=
 2012 at 1:07 AM, Poul-Henning Kamp <span dir=3D"ltr">&lt;<a href=3D"mailto=
:phk@phk.freebsd.dk" target=3D"_blank">phk@phk.freebsd.dk</a>&gt;</span> wr=
ote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">--------<br>
In message &lt;CAP+FsNcp7r2ad-X=3D2aNYq=3D_<a href=3D"mailto:FB8cKgKEpTUYW7=
eG7YsyFnrwbJg@mail.gmail.com">FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com</a=
>&gt;, Roberto Peon write<br>
s:<br>
<div class=3D"im"><br>
&gt;In terms of HTTP requests/second I think it is on the<br>
&gt;order of 30k/core.<br>
<br>
</div>This is why I think we need to do an envelope+content like format:<br=
>
HTTP-routers will need to do several orders of magnitude faster<br>
than that in a few years.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--<br>
Poul-Henning Kamp =A0 =A0 =A0 | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG =A0 =A0 =A0 =A0 | TCP/IP since RFC 956<br>
FreeBSD committer =A0 =A0 =A0 | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.=
<br>
</font></span></blockquote></div><br></div>

--f46d043bdaba253a5204cbd84871--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 01:49:02 2012
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 4987F21F84E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 01:49:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.92
X-Spam-Level: 
X-Spam-Status: No, score=-8.92 tagged_above=-999 required=5 tests=[AWL=1.679, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LmBCcvGet9WN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 01:49:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD7E321F8443 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 01:49:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMau6-00087s-Vl for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 08:47:35 +0000
Resent-Date: Fri, 12 Oct 2012 08:47:34 +0000
Resent-Message-Id: <E1TMau6-00087s-Vl@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TMau4-00086l-Rf for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 08:47:32 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TMau0-0001rr-SQ for ietf-http-wg@w3.org; Fri, 12 Oct 2012 08:47:32 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9C8l4Q7014752; Fri, 12 Oct 2012 10:47:04 +0200
Date: Fri, 12 Oct 2012 10:47:04 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Roberto Peon <grmocg@gmail.com>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Message-ID: <20121012084704.GA14734@1wt.eu>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com> <20121012064627.GE12041@1wt.eu> <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com> <3221.1350029243@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3221.1350029243@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-1.988, RP_MATCHES_RCVD=-2.145, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TMau0-0001rr-SQ 9d4c9789b725c54571942471eeb6b87a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/20121012084704.GA14734@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15342
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>

On Fri, Oct 12, 2012 at 08:07:23AM +0000, Poul-Henning Kamp wrote:
> --------
> In message <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com>, Roberto Peon write
> s:
> 
> >In terms of HTTP requests/second I think it is on the
> >order of 30k/core.
> 
> This is why I think we need to do an envelope+content like format:
> HTTP-routers will need to do several orders of magnitude faster
> than that in a few years.

Not only in a few years, but already today. I have some haproxy
users who run it at 100kreq/s already. That's why I'm extremely
picky about the CPU impact of compression.

Willy



From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 01:59:30 2012
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 18CC521F8510 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 01:59:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.339
X-Spam-Level: 
X-Spam-Status: No, score=-7.339 tagged_above=-999 required=5 tests=[AWL=3.260, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FMBti6nfWME8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 01:59:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 404A221F850B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 01:59:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMb3t-0003OB-M4 for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 08:57:41 +0000
Resent-Date: Fri, 12 Oct 2012 08:57:41 +0000
Resent-Message-Id: <E1TMb3t-0003OB-M4@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TMb3q-0003NW-P8 for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 08:57:38 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TMb3k-0000ec-Q7 for ietf-http-wg@w3.org; Fri, 12 Oct 2012 08:57:38 +0000
Received: (qmail invoked by alias); 12 Oct 2012 08:57:06 -0000
Received: from p5DD97172.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.113.114] by mail.gmx.net (mp040) with SMTP; 12 Oct 2012 10:57:06 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+4C8x6KTy4r74yoqA5L7LEnXuv0F5I77tvB8qvVB FnrUr1e+3WMUgh
Message-ID: <5077DB62.2040508@gmx.de>
Date: Fri, 12 Oct 2012 10:57:06 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: ietf-http-wg@w3.org
References: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
In-Reply-To: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: AWL=-2.745, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMb3k-0000ec-Q7 35de7fb6d3d1fc69e25c65001b778fb8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Link and Unlink
Archived-At: <http://www.w3.org/mid/5077DB62.2040508@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15343
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>

On 2012-10-08 22:28, James M Snell wrote:
> For review and comment...
>
> http://www.ietf.org/id/draft-snell-link-method-00.txt
>
> Updated definition of LINK and UNLINK, taking RFC5988 into consideration
> and using language consistent from current httpbis draft (read:
> shamelessly and remorselessly lifted).
>
> Comments and feedback definitely welcome.

I think it would be good to consider rev= (supported? optional?) and 
anchor= (same).

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 10:14:24 2012
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 5215B21F8739 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 10:14:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zyAwEWj-sfJd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 10:14:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C093421F85B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 10:14:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMimW-00084A-Aj for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 17:12:16 +0000
Resent-Date: Fri, 12 Oct 2012 17:12:16 +0000
Resent-Message-Id: <E1TMimW-00084A-Aj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <murch@andrew.cmu.edu>) id 1TMimT-000837-ET for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 17:12:13 +0000
Received: from smtp.andrew.cmu.edu ([128.2.11.95]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <murch@andrew.cmu.edu>) id 1TMimS-0003Xj-My for ietf-http-wg@w3.org; Fri, 12 Oct 2012 17:12:13 +0000
Received: from ksm-t3400.murch.local (cpe-76-180-159-91.buffalo.res.rr.com [76.180.159.91]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.14.4/8.14.4) with ESMTP id q9CHBjHE028896 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 13:11:46 -0400
Message-ID: <50784F4E.7040509@andrew.cmu.edu>
Date: Fri, 12 Oct 2012 13:11:42 -0400
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <506C4B3D.6030806@andrew.cmu.edu> <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com>
In-Reply-To: <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Version: 5.5.9.388399, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.5.19.222118
X-SMTP-Spam-Clean: 8% ( BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_400_499 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, NO_URI_FOUND 0, RDNS_GENERIC_POOLED 0, RDNS_POOLED 0, RDNS_RESIDENTIAL 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, RDNS_SUSP_SPECIFIC 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __RATWARE_X_MAILER_CS_B 0, __RDNS_POOLED_2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __USER_AGENT 0)
X-SMTP-Spam-Score: 8%
X-Scanned-By: MIMEDefang 2.60 on 128.2.11.95
Received-SPF: none client-ip=128.2.11.95; envelope-from=murch@andrew.cmu.edu; helo=smtp.andrew.cmu.edu
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: AWL=-1.228, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-2.145
X-W3C-Scan-Sig: lisa.w3.org 1TMimS-0003Xj-My d2b21db7b2cdbde0326a8cbeee0e6162
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/50784F4E.7040509@andrew.cmu.edu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15344
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>

Hello,

Another ignorant question:  If an origin server honors the 
"return-representation" preference in a PUT request, does this alter the 
statement in HTTPbis Part 2 that PUT responses are not cacheable?

In other words, is there a way to make the response suitable for a cache 
to use it to satisfy subsequent GET/HEAD requests, in the same way that 
POST responses can be?

-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 10:24:26 2012
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 CCCF021F86B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 10:24:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.505
X-Spam-Level: 
X-Spam-Status: No, score=-7.505 tagged_above=-999 required=5 tests=[AWL=3.093, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g3ubgr6Dok+P for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 10:24:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 385F421F865C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 10:24:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMiwh-0007tu-Oj for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 17:22:47 +0000
Resent-Date: Fri, 12 Oct 2012 17:22:47 +0000
Resent-Message-Id: <E1TMiwh-0007tu-Oj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMiwe-0007qv-Hl for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 17:22:44 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMiwd-0003qf-Rp for ietf-http-wg@w3.org; Fri, 12 Oct 2012 17:22:44 +0000
Received: by mail-we0-f171.google.com with SMTP id s43so1877778wey.2 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 10:22:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=QID4kOrq8zrwRhkPT4iduUYuekC7zJhZvka9R5NsO+c=; b=Fd/SfNrMOIEfu2AUgGdN9iIVSXprCRmvMILOKpTZplY8rga2rklIpGULQtKkUBGC7I LOljyF62O0PWPCa3gFvQvhzasNXnKx/4zRhBwjs3dVS0Qjc23yhLuoZdE7+rTtVeniCF KMkhFchN4tO9V1g3dt0dbbYbOVUFXD2Zcn3+VlTotZ717zIXALA3zGz04OM4wmWkCTU3 ilYC5KxZSGIvv+gfWET/NS1qd0Zz30eH+jgrSqW+n2Cp//RN2BcHBS7AmDy6gjuqm2em Si7D/dwdwPiqnYBnE8DU8m3kI4UiHA4nVe9Uo6m0pfSebkQN2Kg1GDEF0cyx0XykFtbM Zy4Q==
Received: by 10.180.76.11 with SMTP id g11mr7551494wiw.13.1350062537108; Fri, 12 Oct 2012 10:22:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.201.68 with HTTP; Fri, 12 Oct 2012 10:21:55 -0700 (PDT)
In-Reply-To: <50784F4E.7040509@andrew.cmu.edu>
References: <506C4B3D.6030806@andrew.cmu.edu> <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com> <50784F4E.7040509@andrew.cmu.edu>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 12 Oct 2012 10:21:55 -0700
Message-ID: <CABP7Rbd+8RoVwqjqQYwN7tLwun2BrdtGRra14RSw4sSKZ2J+BA@mail.gmail.com>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043893d5f2ee6304cbdfed66
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TMiwd-0003qf-Rp a3814e5ab197a7e3c77b3919979709fb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/CABP7Rbd+8RoVwqjqQYwN7tLwun2BrdtGRra14RSw4sSKZ2J+BA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15345
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>

--f46d043893d5f2ee6304cbdfed66
Content-Type: text/plain; charset=UTF-8

No, the application of a preference does not alter the caching
characteristics of a method.

On Fri, Oct 12, 2012 at 10:11 AM, Ken Murchison <murch@andrew.cmu.edu>wrote:

> Hello,
>
> Another ignorant question:  If an origin server honors the
> "return-representation" preference in a PUT request, does this alter the
> statement in HTTPbis Part 2 that PUT responses are not cacheable?
>
> In other words, is there a way to make the response suitable for a cache
> to use it to satisfy subsequent GET/HEAD requests, in the same way that
> POST responses can be?
>
>
> --
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>
>

--f46d043893d5f2ee6304cbdfed66
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">No, the application of a preference do=
es not alter the caching characteristics of a method.<br></font><br><div cl=
ass=3D"gmail_quote">On Fri, Oct 12, 2012 at 10:11 AM, Ken Murchison <span d=
ir=3D"ltr">&lt;<a href=3D"mailto:murch@andrew.cmu.edu" target=3D"_blank">mu=
rch@andrew.cmu.edu</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hello,<br>
<br>
Another ignorant question: =C2=A0If an origin server honors the &quot;retur=
n-representation&quot; preference in a PUT request, does this alter the sta=
tement in HTTPbis Part 2 that PUT responses are not cacheable?<br>
<br>
In other words, is there a way to make the response suitable for a cache to=
 use it to satisfy subsequent GET/HEAD requests, in the same way that POST =
responses can be?<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
-- <br>
Kenneth Murchison<br>
Principal Systems Software Engineer<br>
Carnegie Mellon University<br>
<br>
</div></div></blockquote></div><br>

--f46d043893d5f2ee6304cbdfed66--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 11:13:24 2012
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 46C1521F87BA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 11:13:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.577
X-Spam-Level: 
X-Spam-Status: No, score=-7.577 tagged_above=-999 required=5 tests=[AWL=3.021, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rjNlzeIkiyY1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 11:13:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DE7E821F87B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 11:13:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMjh6-0000jv-NW for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 18:10:44 +0000
Resent-Date: Fri, 12 Oct 2012 18:10:44 +0000
Resent-Message-Id: <E1TMjh6-0000jv-NW@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMjh4-0000jA-7p for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 18:10:42 +0000
Received: from mail-we0-f171.google.com ([74.125.82.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMjh3-0003P3-4t for ietf-http-wg@w3.org; Fri, 12 Oct 2012 18:10:42 +0000
Received: by mail-we0-f171.google.com with SMTP id s43so1903009wey.2 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 11:10:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Dh86SWSZmaDh4yGGikLZ/vzdj3Ej4aaFJgwjE3FWDY0=; b=Qkko/zBDYV194RqdtPJQRW9fWo06NpSp5VpJVosQMlU0r2cNsfwTJwcNNp73GNG3NC 6aCA3T3IIhdv+CFeEs5jLdhiTGsm/Nxp/uSZM1GjKhx9zvVYFDGBT2vhUpbiSpxhaIqB lIyNzM7T2pcLjfZ6tGz2EBrwJO0tS9BFz0kMEEHK/dhy0jvyMnldwG6q4rCUMzf9Utsn 1ctnV/LYJKOO5dj+FIvDwsWXlmn7+zUjRy/i9PAMaNG/+kaWOEgxKF4vjAFPJhGS33PV Ouqhvb0LrUrjuxJr99rKjo0URXyolid4EbtIZfLiVd91MSYncmKQibeBmaoLlB9pYKjw htSw==
Received: by 10.180.82.35 with SMTP id f3mr7838661wiy.6.1350065414516; Fri, 12 Oct 2012 11:10:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.201.68 with HTTP; Fri, 12 Oct 2012 11:09:54 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Fri, 12 Oct 2012 11:09:54 -0700
Message-ID: <CABP7RbcMUmmVunh-k506f2JyuYkybxrRXB=Mhpn=DSkhDxtMDw@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0443048274ae7b04cbe09953
Received-SPF: pass client-ip=74.125.82.171; envelope-from=jasnell@gmail.com; helo=mail-we0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMjh3-0003P3-4t ac6287a19c98dd53b035aeed73bd8610
X-Original-To: ietf-http-wg@w3.org
Subject: Updated Prefer Header Draft
Archived-At: <http://www.w3.org/mid/CABP7RbcMUmmVunh-k506f2JyuYkybxrRXB=Mhpn=DSkhDxtMDw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15346
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>

--f46d0443048274ae7b04cbe09953
Content-Type: text/plain; charset=UTF-8

The last call on the Prefer draft has closed as of today. Based on the
excellent feedback I received during the last call, I have updated the
current draft and it has been handed off for IESG review. The current draft
is located here

 http://www.ietf.org/id/draft-snell-http-prefer-15.txt

The major changes based on feedback include:

1. I have brought back the Preference-Applied response header. I know that
there are a few folks who feel this header is entirely unnecessary but
feedback I have received from a number of implementers has convinced me it
is. The use is optional and limited to cases where the application of a
preference may not be obvious and the application of the preference could
have an impact on the processing of a response.

2. I have altered the definition of the wait preference slightly.
Essentially, it now specifies the clients assumption of how long processing
a request should take rather than indicating how long the client is willing
to wait for a response. The difference is subtle but important, and the
change is a very good one.

3. I have made a number of editorial changes to the structure of the
document. Some section numbers have changed.

- James

--f46d0443048274ae7b04cbe09953
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">The last call on the Prefer draft has =
closed as of today. Based on the excellent feedback I received during the l=
ast call, I have updated the current draft and it has been handed off for I=
ESG review. The current draft is located here</font><div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">=C2=A0</font><font face=3D"courier new, monospac=
e"><a href=3D"http://www.ietf.org/id/draft-snell-http-prefer-15.txt">http:/=
/www.ietf.org/id/draft-snell-http-prefer-15.txt</a></font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">The major changes based on feedback include:</fo=
nt></div><div><font face=3D"courier new,monospace"><br></font></div><div><f=
ont face=3D"courier new,monospace">1. I have brought back the Preference-Ap=
plied response header. I know that there are a few folks who feel this head=
er is entirely unnecessary but feedback I have received from a number of im=
plementers has convinced me it is. The use is optional and limited to cases=
 where the application of a preference may not be obvious and the applicati=
on of the preference could have an impact on the processing of a response.=
=C2=A0</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">2. I have altered the definition of the wait pre=
ference slightly. Essentially, it now specifies the clients assumption of h=
ow long processing a request should take rather than indicating how long th=
e client is willing to wait for a response. The difference is subtle but im=
portant, and the change is a very good one.</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">3. I have made a number of editorial changes to =
the structure of the document. Some section numbers have changed.</font></d=
iv>

<div><br></div><div><font face=3D"courier new, monospace">- James</font></d=
iv></div>

--f46d0443048274ae7b04cbe09953--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 11:52:26 2012
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 8226A21F86F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 11:52:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.337
X-Spam-Level: 
X-Spam-Status: No, score=-7.337 tagged_above=-999 required=5 tests=[AWL=3.262, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z3EiMxd6NBWq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 11:52:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9FA0121F86D6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 11:52:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMkJS-0006CI-6L for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 18:50:22 +0000
Resent-Date: Fri, 12 Oct 2012 18:50:22 +0000
Resent-Message-Id: <E1TMkJS-0006CI-6L@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1TMkJQ-0006BO-3n for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 18:50:20 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1TMkJP-0004i7-7r for ietf-http-wg@w3.org; Fri, 12 Oct 2012 18:50:20 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so2305044lbo.2 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 11:49:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IzAC1B0mpSIj7IT3rUJtYl7JErfjGJXTn2s06j0sMes=; b=w7vTfrSSB+sdr6qTbBCSUXOyAY2v1SBX974VOYg5WElGeyFTgt1S8TtJkz/n66BddB LyCrfr8LbiRL1XaY3Yd5TwJn0Y8+fIFGWJZ2uySEoDG29BVFf8SHI1AKwLzF4qF/bv3E Pf42H1YEONtTKD8qgoSFYpsc15vBHtReOhe4Ncgn1HIeQHsq3bi1rJAa1LvzUwHIvCm6 WAuRYQj7k8Ngd73Br5q3RmDmrQw3P5Afrw3ioIvioyAtjEsr6ebPdvI42q3HZ5RFGdT2 R6E7pfLs5LPWGvKf4m79N6Q2NqWkrJKmn38V5c+N7OEg+qkd/QqbKkOJzyCJXwPAhzG4 n+sQ==
MIME-Version: 1.0
Received: by 10.152.48.102 with SMTP id k6mr4637291lan.12.1350067792585; Fri, 12 Oct 2012 11:49:52 -0700 (PDT)
Received: by 10.112.83.2 with HTTP; Fri, 12 Oct 2012 11:49:52 -0700 (PDT)
In-Reply-To: <50784F4E.7040509@andrew.cmu.edu>
References: <506C4B3D.6030806@andrew.cmu.edu> <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com> <50784F4E.7040509@andrew.cmu.edu>
Date: Fri, 12 Oct 2012 11:49:52 -0700
Message-ID: <CABkgnnWnGHw0ZbHQTX2N9BFTiy=Xbv=46iR8GoWq6i7zqrC2-A@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.217.171; envelope-from=martin.thomson@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.612, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMkJP-0004i7-7r 407dd3dd907dbb90333dd078d0970096
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/CABkgnnWnGHw0ZbHQTX2N9BFTiy=Xbv=46iR8GoWq6i7zqrC2-A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15347
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>

On 12 October 2012 10:11, Ken Murchison <murch@andrew.cmu.edu> wrote:
> In other words, is there a way to make the response suitable for a cache to
> use it to satisfy subsequent GET/HEAD requests, in the same way that POST
> responses can be?

p2 is quite clear on PUT and caches: PUT invalidates caches and nothing more.

My hope was that the rules for indicating that a response is cacheable
would be more generally applicable than for just POST.  I can see how
"return-representation" on PUT would be a useful optimization for
cache population.


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 12:04:55 2012
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 4637021F8753 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 12:04:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.646
X-Spam-Level: 
X-Spam-Status: No, score=-7.646 tagged_above=-999 required=5 tests=[AWL=2.952, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ELiRxLxhWf8p for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 12:04:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A4B8821F870F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 12:04:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMkVv-00039y-HC for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 19:03:15 +0000
Resent-Date: Fri, 12 Oct 2012 19:03:15 +0000
Resent-Message-Id: <E1TMkVv-00039y-HC@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMkVt-000399-5O for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 19:03:13 +0000
Received: from mail-wg0-f41.google.com ([74.125.82.41]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMkVs-00057w-1R for ietf-http-wg@w3.org; Fri, 12 Oct 2012 19:03:13 +0000
Received: by mail-wg0-f41.google.com with SMTP id ds1so64950wgb.2 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 12:02:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cVYAWkEe/vhE46a3MXBFZktFKWAl3ITcH/2xM2Tcaec=; b=U4B+qvm1XkWU4bwgCmAFxkfj5IRi1TIDDwhV8SxnmD6obxiRSXaCmoQgRmkQY0e5/d Jyws5DwCl/wMaeCAtDJB67JLwKru9wbcktLljz4K6I+hQbs/1IUYW6hcQfmz09OgR6IV uXMnDHSbJ87nmpb8gjAzoBPhRVppRFbUb0GNwjuFrZUi2i7kD9kA6yuSZ9O3akBQ3gFn dZ2jn4GSQu1COv9UmNE7nlBf1JUQkvoASVnC/ldGz5aTRIioz56ELEaMYavzDTPThRqA 2dLrMPxyp527ax8WBfeIGvPMIqT54LC6V7v+kgid1jq8gNAdjZfW1sbztBEYD8f0K1l1 jc6g==
Received: by 10.180.84.202 with SMTP id b10mr8038220wiz.13.1350068565726; Fri, 12 Oct 2012 12:02:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.201.68 with HTTP; Fri, 12 Oct 2012 12:02:25 -0700 (PDT)
In-Reply-To: <CABkgnnWnGHw0ZbHQTX2N9BFTiy=Xbv=46iR8GoWq6i7zqrC2-A@mail.gmail.com>
References: <506C4B3D.6030806@andrew.cmu.edu> <CABP7Rbdho_T3bgLGJ4TsA0cEuNwPLcQCENNxuq8mTZtLAAHPyw@mail.gmail.com> <50784F4E.7040509@andrew.cmu.edu> <CABkgnnWnGHw0ZbHQTX2N9BFTiy=Xbv=46iR8GoWq6i7zqrC2-A@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Fri, 12 Oct 2012 12:02:25 -0700
Message-ID: <CABP7RbdCzGRnAgA-HGODqEM6gLzZyzr4UOrNOVZU4hwGro6ecw@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Ken Murchison <murch@andrew.cmu.edu>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d044280ce48546604cbe155e9
Received-SPF: pass client-ip=74.125.82.41; envelope-from=jasnell@gmail.com; helo=mail-wg0-f41.google.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-2.439, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMkVs-00057w-1R d87b1c55ec70f27c8e5ba4c404fa6527
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/CABP7RbdCzGRnAgA-HGODqEM6gLzZyzr4UOrNOVZU4hwGro6ecw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15348
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>

--f46d044280ce48546604cbe155e9
Content-Type: text/plain; charset=UTF-8

Yes it would be useful, but unfortunately not possible given the way PUT is
currently defined. The only way it could work is if an intelligent
intermediary handled the return-representation on it's own, issuing a
subsequent GET to the origin server and sending it's own response back to
the client rather than relying on the server. Obviously, however, that's
not something we can rely on.

- James

On Fri, Oct 12, 2012 at 11:49 AM, Martin Thomson
<martin.thomson@gmail.com>wrote:

> On 12 October 2012 10:11, Ken Murchison <murch@andrew.cmu.edu> wrote:
> > In other words, is there a way to make the response suitable for a cache
> to
> > use it to satisfy subsequent GET/HEAD requests, in the same way that POST
> > responses can be?
>
> p2 is quite clear on PUT and caches: PUT invalidates caches and nothing
> more.
>
> My hope was that the rules for indicating that a response is cacheable
> would be more generally applicable than for just POST.  I can see how
> "return-representation" on PUT would be a useful optimization for
> cache population.
>
>

--f46d044280ce48546604cbe155e9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Yes it would be useful, but unfortunat=
ely not possible given the way PUT is currently defined. The only way it co=
uld work is if an intelligent intermediary handled the return-representatio=
n on it&#39;s own, issuing a subsequent GET to the origin server and sendin=
g it&#39;s own response back to the client rather than relying on the serve=
r. Obviously, however, that&#39;s not something we can rely on.=C2=A0</font=
><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">- James<br></font><br><div class=3D"gmail_quote">On Fr=
i, Oct 12, 2012 at 11:49 AM, Martin Thomson <span dir=3D"ltr">&lt;<a href=
=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@gmail=
.com</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On 12 October 2012 10:11, =
Ken Murchison &lt;<a href=3D"mailto:murch@andrew.cmu.edu">murch@andrew.cmu.=
edu</a>&gt; wrote:<br>


&gt; In other words, is there a way to make the response suitable for a cac=
he to<br>
&gt; use it to satisfy subsequent GET/HEAD requests, in the same way that P=
OST<br>
&gt; responses can be?<br>
<br>
</div>p2 is quite clear on PUT and caches: PUT invalidates caches and nothi=
ng more.<br>
<br>
My hope was that the rules for indicating that a response is cacheable<br>
would be more generally applicable than for just POST. =C2=A0I can see how<=
br>
&quot;return-representation&quot; on PUT would be a useful optimization for=
<br>
cache population.<br>
<br>
</blockquote></div><br></div>

--f46d044280ce48546604cbe155e9--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 13:35:10 2012
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 5685021F872E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 13:35:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.937
X-Spam-Level: 
X-Spam-Status: No, score=-7.937 tagged_above=-999 required=5 tests=[AWL=2.662, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sKm84eKQurQt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 13:35:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A1D5A21F8704 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 13:35:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMlur-0006P7-9z for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 20:33:05 +0000
Resent-Date: Fri, 12 Oct 2012 20:33:05 +0000
Resent-Message-Id: <E1TMlur-0006P7-9z@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TMluo-0006Jx-AI for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 20:33:02 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TMlul-0002WH-PL for ietf-http-wg@w3.org; Fri, 12 Oct 2012 20:33:02 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9BD5922E256; Fri, 12 Oct 2012 16:32:36 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
Date: Sat, 13 Oct 2012 07:32:32 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <2BA23385-2E50-47BC-BD1A-BAE213F8DCDA@mnot.net>
References: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TMlul-0002WH-PL 4d7987eaaa6eb59a498abd2db740db80
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Link and Unlink
Archived-At: <http://www.w3.org/mid/2BA23385-2E50-47BC-BD1A-BAE213F8DCDA@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15349
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>

Personally, I'm -0 on this; I don't see demand for it yet, and we're =
really just learning how to build link-driven HTTP APIs. YMMV (in which =
case I'd be glad to hear about detailed use cases!).

Cheers,


On 09/10/2012, at 7:28 AM, James M Snell <jasnell@gmail.com> wrote:

> For review and comment...
>=20
>   http://www.ietf.org/id/draft-snell-link-method-00.txt
>=20
> Updated definition of LINK and UNLINK, taking RFC5988 into =
consideration and using language consistent from current httpbis draft =
(read: shamelessly and remorselessly lifted). =20
>=20
> Comments and feedback definitely welcome.
>=20
> - James
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 13:47:26 2012
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 0952C21F8749 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 13:47:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.026
X-Spam-Level: 
X-Spam-Status: No, score=-8.026 tagged_above=-999 required=5 tests=[AWL=2.573, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SLLs4R8LJkZY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 13:47:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 514C621F8767 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 13:47:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMm7k-0008EX-Sh for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 20:46:24 +0000
Resent-Date: Fri, 12 Oct 2012 20:46:24 +0000
Resent-Message-Id: <E1TMm7k-0008EX-Sh@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TMm7i-0008DJ-8G for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 20:46:22 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TMm7g-0002pr-FG for ietf-http-wg@w3.org; Fri, 12 Oct 2012 20:46:22 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 2FA8F22E255 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 16:45:57 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <3D3CEBA4-3B30-4574-966F-59FB17E3CDF7@mnot.net>
Date: Sat, 13 Oct 2012 07:45:40 +1100
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TMm7g-0002pr-FG 5cef721febe33cd29fd7e75c284409ec
X-Original-To: ietf-http-wg@w3.org
Subject: issues addressed in the -21 drafts
Archived-At: <http://www.w3.org/mid/3D3CEBA4-3B30-4574-966F-59FB17E3CDF7@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15350
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>

Please have a look; barring objections, I'll close the issues listed =
below.=20

Issues are linked from =
<http://trac.tools.ietf.org/wg/httpbis/trac/report/15>.

method-registrations
#377	what is the idempotency of LINK and UNLINK?

p1-messaging
#383	Semantics of HTTPS

p2-semantics
#364	Capturing more information in the method registry

p6-cache
#375	"Most Conservative"

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 14:05:20 2012
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 B7C9F21F87CA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 14:05:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.093
X-Spam-Level: 
X-Spam-Status: No, score=-8.093 tagged_above=-999 required=5 tests=[AWL=2.505, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zo4IEZTrcoZZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 14:05:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AB79C21F875E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 14:05:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMmP9-00007G-9u for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 21:04:23 +0000
Resent-Date: Fri, 12 Oct 2012 21:04:23 +0000
Resent-Message-Id: <E1TMmP9-00007G-9u@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMmP6-00006X-2u for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 21:04:20 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TMmP4-0001F7-Im for ietf-http-wg@w3.org; Fri, 12 Oct 2012 21:04:20 +0000
Received: by mail-wi0-f173.google.com with SMTP id hm4so210196wib.8 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 14:03:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lQf7HiCl350WRu//ATRjoN6F//c9fIfPlntnSADtf3o=; b=L35uJp9Or0taK1J2jCzJioA2CXWhijNbuB+5fXlCg8HtFjkimVHplIoIaJd587lRXV q6EFYMhJqzs+YGI4v78ZgXmxO2EVr0EHLsul497VznF9SKBxPZSCwbryNKxOG7ZpQllZ 3ONk4/kJWF8CrY+VdhU9vOZ7s4rcQ5SxmWAGk/afKcnNbaIUJWYPr0HooKtF3e3fLuG8 +UrEid22LyH4m9+x1ZW2PNrz1TGlV2ee6h7eLCI3ANywv+4MWlsCdIi3JjiYEqkUnTQD QKsPtUUvprNmmsG5nW8gu+EaYinUjNuyrmgaXnGNGgCOIZOmvO30gyEpzotyDZZ5pomG /fnQ==
MIME-Version: 1.0
Received: by 10.216.220.29 with SMTP id n29mr3140535wep.137.1350075832297; Fri, 12 Oct 2012 14:03:52 -0700 (PDT)
Received: by 10.223.201.68 with HTTP; Fri, 12 Oct 2012 14:03:52 -0700 (PDT)
Received: by 10.223.201.68 with HTTP; Fri, 12 Oct 2012 14:03:52 -0700 (PDT)
In-Reply-To: <2BA23385-2E50-47BC-BD1A-BAE213F8DCDA@mnot.net>
References: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com> <2BA23385-2E50-47BC-BD1A-BAE213F8DCDA@mnot.net>
Date: Fri, 12 Oct 2012 14:03:52 -0700
Message-ID: <CABP7RbcgxuTke9h4wV1CnyqM3R8_aCL67x8NFYgXnf8X=T_y9w@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6db2d7867692704cbe306f0
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMmP4-0001F7-Im 673015cc864196f2e36a17d1bad8f674
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Link and Unlink
Archived-At: <http://www.w3.org/mid/CABP7RbcgxuTke9h4wV1CnyqM3R8_aCL67x8NFYgXnf8X=T_y9w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15351
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>

--0016e6db2d7867692704cbe306f0
Content-Type: text/plain; charset=UTF-8

This is one that I'm not in a terribly rush to push through. Publishing the
draft and resurrecting these now is mostly intended to get them on the
table again for people to use and get some experience with. Whether they
ultimately prove to be useful or not definitely has yet to be determined.

There are quite a few use cases where I can see these being used. Many
existing web apis are driven on the concepts of establishing links between
resources.

A Pub/Sub solution, for instance, is fundamentally based on links between
the publisher and a listeners. Using LINK and UNLINK, we could potentially
avoid having to create any kind of subscription management API... the flow
becomes nothing more than LINK and UNLINK calls...

  LINK /my-topic-resource HTTP/1.1
  Host: example.org
  Link: <http://example.com/my-listener>; rel="monitor"

Another case involves linking distributed or federated services to a user
profile...  for instance...

  LINK /profiles/jasnell HTTP/1.1
  Host: example.org
  Link: <http://example.org/my-weblog>; rel="weblog"

Once such a link has been established, a mechanism such as WebFinger could
be used to discover and enumerate such links.

For another case, imagine a collection resource to which we may want to add
an existing resource (as opposed to posting and creating a brand new
resource).

  LINK /some-collection HTTP/1.1
  Host: example.org
  Link: <http://example.com/some-item>; rel="item"

I could easily come up with a dozen more such examples. The main thing for
me right now, however, is getting this out there for folks to start
thinking about and tinkering around with. It gets the discussion started,
at the very least.

- James
On Oct 12, 2012 1:32 PM, "Mark Nottingham" <mnot@mnot.net> wrote:

> Personally, I'm -0 on this; I don't see demand for it yet, and we're
> really just learning how to build link-driven HTTP APIs. YMMV (in which
> case I'd be glad to hear about detailed use cases!).
>
> Cheers,
>
>
> On 09/10/2012, at 7:28 AM, James M Snell <jasnell@gmail.com> wrote:
>
> > For review and comment...
> >
> >   http://www.ietf.org/id/draft-snell-link-method-00.txt
> >
> > Updated definition of LINK and UNLINK, taking RFC5988 into consideration
> and using language consistent from current httpbis draft (read: shamelessly
> and remorselessly lifted).
> >
> > Comments and feedback definitely welcome.
> >
> > - James
> >
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>

--0016e6db2d7867692704cbe306f0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">This is one that I&#39;m not in a terribly rush to push thro=
ugh. Publishing the draft and resurrecting these now is mostly intended to =
get them on the table again for people to use and get some experience with.=
 Whether they ultimately prove to be useful or not definitely has yet to be=
 determined. </p>

<p dir=3D"ltr">There are quite a few use cases where I can see these being =
used. Many existing web apis are driven on the concepts of establishing lin=
ks between resources. </p>
<p dir=3D"ltr">A Pub/Sub solution, for instance, is fundamentally based on =
links between the publisher and a listeners. Using LINK and UNLINK, we coul=
d potentially avoid having to create any kind of subscription management AP=
I... the flow becomes nothing more than LINK and UNLINK calls...</p>

<p dir=3D"ltr">=C2=A0 LINK /my-topic-resource HTTP/1.1<br>
=C2=A0 Host: <a href=3D"http://example.org">example.org</a><br>
=C2=A0 Link: &lt;<a href=3D"http://example.com/my-listener">http://example.=
com/my-listener</a>&gt;; rel=3D&quot;monitor&quot;</p>
<p dir=3D"ltr">Another case involves linking distributed or federated servi=
ces to a user profile...=C2=A0 for instance...</p>
<p dir=3D"ltr">=C2=A0 LINK /profiles/jasnell HTTP/1.1<br>
=C2=A0 Host: <a href=3D"http://example.org">example.org</a><br>
=C2=A0 Link: &lt;<a href=3D"http://example.org/my-weblog">http://example.or=
g/my-weblog</a>&gt;; rel=3D&quot;weblog&quot;</p>
<p dir=3D"ltr">Once such a link has been established, a mechanism such as W=
ebFinger could be used to discover and enumerate such links. </p>
<p dir=3D"ltr">For another case, imagine a collection resource to which we =
may want to add an existing resource (as opposed to posting and creating a =
brand new resource). </p>
<p dir=3D"ltr">=C2=A0 LINK /some-collection HTTP/1.1<br>
=C2=A0 Host: <a href=3D"http://example.org">example.org</a><br>
=C2=A0 Link: &lt;<a href=3D"http://example.com/some-item">http://example.co=
m/some-item</a>&gt;; rel=3D&quot;item&quot;</p>
<p dir=3D"ltr">I could easily come up with a dozen more such examples. The =
main thing for me right now, however, is getting this out there for folks t=
o start thinking about and tinkering around with. It gets the discussion st=
arted, at the very least. </p>

<p dir=3D"ltr">- James</p>
<div class=3D"gmail_quote">On Oct 12, 2012 1:32 PM, &quot;Mark Nottingham&q=
uot; &lt;<a href=3D"mailto:mnot@mnot.net">mnot@mnot.net</a>&gt; wrote:<br t=
ype=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Personally, I&#39;m -0 on this; I don&#39;t see demand for it yet, and we&#=
39;re really just learning how to build link-driven HTTP APIs. YMMV (in whi=
ch case I&#39;d be glad to hear about detailed use cases!).<br>
<br>
Cheers,<br>
<br>
<br>
On 09/10/2012, at 7:28 AM, James M Snell &lt;<a href=3D"mailto:jasnell@gmai=
l.com">jasnell@gmail.com</a>&gt; wrote:<br>
<br>
&gt; For review and comment...<br>
&gt;<br>
&gt; =C2=A0 <a href=3D"http://www.ietf.org/id/draft-snell-link-method-00.tx=
t" target=3D"_blank">http://www.ietf.org/id/draft-snell-link-method-00.txt<=
/a><br>
&gt;<br>
&gt; Updated definition of LINK and UNLINK, taking RFC5988 into considerati=
on and using language consistent from current httpbis draft (read: shameles=
sly and remorselessly lifted).<br>
&gt;<br>
&gt; Comments and feedback definitely welcome.<br>
&gt;<br>
&gt; - James<br>
&gt;<br>
<br>
--<br>
Mark Nottingham =C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">h=
ttp://www.mnot.net/</a><br>
<br>
<br>
<br>
</blockquote></div>

--0016e6db2d7867692704cbe306f0--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 14:06:05 2012
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 06ACE21F87DA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 14:06:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.062
X-Spam-Level: 
X-Spam-Status: No, score=-8.062 tagged_above=-999 required=5 tests=[AWL=2.538, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LCLv+o0gSb3M for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 14:06:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6E60321F875E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 14:06:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMmQF-0001bp-4W for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 21:05:31 +0000
Resent-Date: Fri, 12 Oct 2012 21:05:31 +0000
Resent-Message-Id: <E1TMmQF-0001bp-4W@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TMmQB-0001a5-6Z for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 21:05:27 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TMmQA-0001HM-9s for ietf-http-wg@w3.org; Fri, 12 Oct 2012 21:05:27 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3DF4122E256; Fri, 12 Oct 2012 17:05:02 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7RbcgxuTke9h4wV1CnyqM3R8_aCL67x8NFYgXnf8X=T_y9w@mail.gmail.com>
Date: Sat, 13 Oct 2012 08:04:58 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <2664FDA7-751A-4318-A036-E313C0A1BDEB@mnot.net>
References: <CABP7Rbd9uwW=G8HCACxiP9J0vBNhgeyKwpnOv8zCEt=2isMxwQ@mail.gmail.com> <2BA23385-2E50-47BC-BD1A-BAE213F8DCDA@mnot.net> <CABP7RbcgxuTke9h4wV1CnyqM3R8_aCL67x8NFYgXnf8X=T_y9w@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-1.1
X-W3C-Hub-Spam-Report: AWL=-1.072, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMmQA-0001HM-9s d11a13b600ee7f88ec9ed72503d56a79
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Link and Unlink
Archived-At: <http://www.w3.org/mid/2664FDA7-751A-4318-A036-E313C0A1BDEB@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15352
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>

On 13/10/2012, at 8:03 AM, James M Snell <jasnell@gmail.com> wrote:

> This is one that I'm not in a terribly rush to push through. =
Publishing the draft and resurrecting these now is mostly intended to =
get them on the table again for people to use and get some experience =
with. Whether they ultimately prove to be useful or not definitely has =
yet to be determined.

Sounds reasonable, thanks. Let's see what happens.

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 14:51:11 2012
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 D692E21F85B6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 14:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.678
X-Spam-Level: 
X-Spam-Status: No, score=-10.678 tagged_above=-999 required=5 tests=[AWL=-0.080, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id op9F9civTLW0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 14:51:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 04ABD21F85AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 14:51:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMn79-0007hK-W8 for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 21:49:52 +0000
Resent-Date: Fri, 12 Oct 2012 21:49:51 +0000
Resent-Message-Id: <E1TMn79-0007hK-W8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMn76-0007fs-DG for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 21:49:48 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMn75-0004cX-AL for ietf-http-wg@w3.org; Fri, 12 Oct 2012 21:49:48 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so2397403lbo.2 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 14:49:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UsCSaAB/3z3ZcaMRAyMGJCL104hPXP0RTRo234qi5GU=; b=Ul6Uxry2uP+LbN2Os7HNDBhTX4YRwwkK0bz+u8nKy/ZtfH9sPfU4KjzlnwmkDwSBuJ m4W809ct+pjsPxESHqEL6QiwEwe2eixN6sEjYx71T6waX20H7GjDIPzGyeWLUEu/U9uS FX2r8ggenTlE+I30b7IQL3W7MEgH7T7GyNHWx/HnAjpTuxFsL9LvS3jB5Fqdkhk8DV+s B7PXrdvtktiJDLoJ87NzhLjBV6lUxDNLs2KU4300H3vnGoqiOxOWD6vwP3T/n1O3JgX8 q96oU5GuLZQtc6WCqzrLd0G66Lhm/k9tFFEv8abDAw+aRJ8uyxT1BZ3v7Ia9z2vTbJXN piEg==
MIME-Version: 1.0
Received: by 10.112.31.168 with SMTP id b8mr2158059lbi.23.1350078560241; Fri, 12 Oct 2012 14:49:20 -0700 (PDT)
Received: by 10.114.1.141 with HTTP; Fri, 12 Oct 2012 14:49:20 -0700 (PDT)
In-Reply-To: <20121012084704.GA14734@1wt.eu>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com> <20121012064627.GE12041@1wt.eu> <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com> <3221.1350029243@critter.freebsd.dk> <20121012084704.GA14734@1wt.eu>
Date: Fri, 12 Oct 2012 14:49:20 -0700
Message-ID: <CAP+FsNfzz7Wu9bQRcYHeZ2gNA9s5HOY0fcFVqnhvbqD14LiKHw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=bcaec55554160089fc04cbe3a901
Received-SPF: pass client-ip=209.85.217.171; envelope-from=grmocg@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: AWL=-1.807, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TMn75-0004cX-AL cd2d4931a4895f7fec301df2f0b18ab1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/CAP+FsNfzz7Wu9bQRcYHeZ2gNA9s5HOY0fcFVqnhvbqD14LiKHw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15353
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>

--bcaec55554160089fc04cbe3a901
Content-Type: text/plain; charset=ISO-8859-1

The most recent output, copy/pasted is:

"Delta-coding took: 0.642199 seconds for: 104300 header frames or
6.15723e-06 per header or 162411 headers/sec or 8.88429e+07 bytes/sec"

So, ~89 million bytes/second and 162k requests/second for the delta-coding
on one core. Given that most machines have more than once core, this
performance seems pretty reasonable to me, especially given that it is not
really been optimized. I'd hope that bandwidth was predominantly
entity-bodies and not headers, and so the bandwidth doesn't seem
problematic to me either.

The input data for this was a 1000 iterations over the following har files
representing full page loads:

mail.google.com.har pinterest.com-bicycle-search.har
pinterest.com-homepage.har www.amazon.com-bicycle-search.har
www.amazon.com-homepage.har www.bing.com-bicycle-search.har
www.bing.com.har www.cnn.com-homepage.har www.facebook.com-homepage.har
www.google.com-bicycle-image-search.har www.google.com-bicycle-search.har
www.google.com-homepage.har

I'd prefer to have more comprehensive test data, but this is a decent start.

-=R



On Fri, Oct 12, 2012 at 1:47 AM, Willy Tarreau <w@1wt.eu> wrote:

> On Fri, Oct 12, 2012 at 08:07:23AM +0000, Poul-Henning Kamp wrote:
> > --------
> > In message <CAP+FsNcp7r2ad-X=2aNYq=_
> FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com>, Roberto Peon write
> > s:
> >
> > >In terms of HTTP requests/second I think it is on the
> > >order of 30k/core.
> >
> > This is why I think we need to do an envelope+content like format:
> > HTTP-routers will need to do several orders of magnitude faster
> > than that in a few years.
>
> Not only in a few years, but already today. I have some haproxy
> users who run it at 100kreq/s already. That's why I'm extremely
> picky about the CPU impact of compression.
>
> Willy
>
>

--bcaec55554160089fc04cbe3a901
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div><font color=3D"#222222" face=3D"arial, sans-serif">The most recent out=
put, copy/pasted is:</font></div><div><font color=3D"#222222" face=3D"arial=
, sans-serif"><br></font></div><div><span style=3D"color:rgb(34,34,34);font=
-family:arial,sans-serif">&quot;Delta-coding took: 0.642199 seconds for: 10=
4300 header frames or 6.15723e-06 per header or 162411 headers/sec or 8.884=
29e+07 bytes/sec&quot;</span></div>
<div><span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif"><br><=
/span></div><div>So, ~89 million bytes/second and 162k requests/second for =
the delta-coding on one core. Given that most machines have more than once =
core, this performance seems pretty reasonable to me, especially given that=
 it is not really been optimized. I&#39;d hope that bandwidth was predomina=
ntly entity-bodies and not headers, and so the bandwidth doesn&#39;t seem p=
roblematic to me either.</div>
<div><br></div><div>The input data for this was a 1000 iterations over the =
following har files representing full page loads:</div><div><div><br></div>=
<div>mail.google.com.har pinterest.com-bicycle-search.har pinterest.com-hom=
epage.har www.amazon.com-bicycle-search.har www.amazon.com-homepage.har www=
.bing.com-bicycle-search.har www.bing.com.har www.cnn.com-homepage.har www.=
facebook.com-homepage.har www.google.com-bicycle-image-search.har www.googl=
e.com-bicycle-search.har www.google.com-homepage.har</div>
</div><div><br></div><div>I&#39;d prefer to have more comprehensive test da=
ta, but this is a decent start.</div><div><br></div><div>-=3DR</div><div><b=
r></div><div><br></div><br><div class=3D"gmail_quote">On Fri, Oct 12, 2012 =
at 1:47 AM, Willy Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu"=
 target=3D"_blank">w@1wt.eu</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On Fri, Oct 12, 2012 at 08=
:07:23AM +0000, Poul-Henning Kamp wrote:<br>
&gt; --------<br>
&gt; In message &lt;CAP+FsNcp7r2ad-X=3D2aNYq=3D_<a href=3D"mailto:FB8cKgKEp=
TUYW7eG7YsyFnrwbJg@mail.gmail.com">FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.c=
om</a>&gt;, Roberto Peon write<br>
&gt; s:<br>
&gt;<br>
&gt; &gt;In terms of HTTP requests/second I think it is on the<br>
&gt; &gt;order of 30k/core.<br>
&gt;<br>
&gt; This is why I think we need to do an envelope+content like format:<br>
&gt; HTTP-routers will need to do several orders of magnitude faster<br>
&gt; than that in a few years.<br>
<br>
</div>Not only in a few years, but already today. I have some haproxy<br>
users who run it at 100kreq/s already. That&#39;s why I&#39;m extremely<br>
picky about the CPU impact of compression.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Willy<br>
<br>
</font></span></blockquote></div><br>

--bcaec55554160089fc04cbe3a901--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 15:55:35 2012
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 03D3F21F84D8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 15:55:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.019
X-Spam-Level: 
X-Spam-Status: No, score=-9.019 tagged_above=-999 required=5 tests=[AWL=1.580, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Fvhz0MiVCMU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 15:55:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0910A21F8491 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 15:55:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMo77-0003a2-V0 for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 22:53:53 +0000
Resent-Date: Fri, 12 Oct 2012 22:53:53 +0000
Resent-Message-Id: <E1TMo77-0003a2-V0@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TMo70-0003ZH-UX for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 22:53:46 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TMo6z-0004HU-U5 for ietf-http-wg@w3.org; Fri, 12 Oct 2012 22:53:46 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9CMrJuQ017705; Sat, 13 Oct 2012 00:53:19 +0200
Date: Sat, 13 Oct 2012 00:53:19 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Message-ID: <20121012225319.GH14734@1wt.eu>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com> <20121012064627.GE12041@1wt.eu> <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com> <3221.1350029243@critter.freebsd.dk> <20121012084704.GA14734@1wt.eu> <CAP+FsNfzz7Wu9bQRcYHeZ2gNA9s5HOY0fcFVqnhvbqD14LiKHw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNfzz7Wu9bQRcYHeZ2gNA9s5HOY0fcFVqnhvbqD14LiKHw@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-1.988, RP_MATCHES_RCVD=-2.145, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMo6z-0004HU-U5 d44568e59c696a869dff7a9cf820a687
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/20121012225319.GH14734@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15354
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>

Hi Roberto,

On Fri, Oct 12, 2012 at 02:49:20PM -0700, Roberto Peon wrote:
> The most recent output, copy/pasted is:
> 
> "Delta-coding took: 0.642199 seconds for: 104300 header frames or
> 6.15723e-06 per header or 162411 headers/sec or 8.88429e+07 bytes/sec"
> 
> So, ~89 million bytes/second and 162k requests/second for the delta-coding
> on one core.

It does not seem bad, and I also know that it's hard to compare numbers.
I like to count in terms of bytes per second or headers per second, but
obviously it depends on the coding scheme.

Right now I made a test on haproxy using a request to pinterest.com that
I captured from Firefox 13 (didn't know the site so I tried it). The
request looks like this, it's 282 bytes long and has 7 header fields :

  GET / HTTP/1.1
  Host: pinterest.com
  User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firefox/13.0.1
  Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
  Accept-Language: en-us,en;q=0.5
  Accept-Encoding: gzip, deflate
  Connection: keep-alive

It was running on a single core of a core i7 2600 @3.4 GHz. I sent it 4
million times to haproxy which sent a redirect on them, and it took 3.609
seconds for the 4 million reqs, which is 1.1 million req/s, which is also
exactly the same number as it reports in the stats, and 312 MB/s. So at
first glance it's 3.5-7 times faster on a single core than the compressor
alone. So this would mean that it would spend 88% of its CPU time in the
compressor alone, and the 12% remaining doing its job.

I understand the code is not optimized yet, but this typically is the type
of thing I want us to be extremely careful about, because it's very easy
to completely kill performance for the last percent of optimization over
the wire. In fact I'm not that much worried for the 1.1-to-2.0 conversion
because as time goes, the need for this work will fade away and won't
represent most of the CPU usage. But routing and processing 2.0 to 2.0
should be optimally fast.

> Given that most machines have more than once core, this
> performance seems pretty reasonable to me, especially given that it is not
> really been optimized. I'd hope that bandwidth was predominantly
> entity-bodies and not headers, and so the bandwidth doesn't seem
> problematic to me either.

Unfortunately my experience has often been that most of the requests
are if-modified-since and most of the responses are 304 on a number of
web sites, so we still need to be careful.

Thanks for sharing your data BTW !

Willy



From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 16:01:07 2012
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 BCB9421F8510 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 16:01:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.507
X-Spam-Level: 
X-Spam-Status: No, score=-10.507 tagged_above=-999 required=5 tests=[AWL=-0.224, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yAcWs6RJhOGJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 16:01:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7BC1C21F8508 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 16:01:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMoDT-0000qk-S9 for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 23:00:27 +0000
Resent-Date: Fri, 12 Oct 2012 23:00:27 +0000
Resent-Message-Id: <E1TMoDT-0000qk-S9@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMoDQ-0000q1-5v for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 23:00:24 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMoDO-0004Vb-Gm for ietf-http-wg@w3.org; Fri, 12 Oct 2012 23:00:24 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so2355958lah.2 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 15:59:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vLS+qnU1ptqqV1BENXyl19jFgU9WsrlSi09Df2KBWnk=; b=FOqAZ5NB3H+/YYYaSITp1bk+FZSxNcTmIKXCeAlnlMoutRL7NGRPaAUdvlgMcwMfHe vWZPdA0X6O/YxkXiL3+I1EPV/ENPmo+vttGluXDuunyQ6hTLWPQhSDuIEtn+fH76yDDx SXiqAeGCQ5vi5fLaYcnE1RQtDqvhVJLwaKBDarrDrLEe/1vAkRVd2/Q/sIIuvN6FbtHe sb5ae1f0g7pX6VSgqAl6IrJ8V9aYCH7E+hzT2OCkK4dfW7+7RQ7pAm5+jmEx9/smXJaj yIFIi93vF/xbkYXUWpr4KaA+NrPrzD0PszS4SvV7Em4yuaWYhJpjzFg1B+8mVO5wKEnP sh2A==
MIME-Version: 1.0
Received: by 10.112.13.173 with SMTP id i13mr2166064lbc.108.1350082795781; Fri, 12 Oct 2012 15:59:55 -0700 (PDT)
Received: by 10.114.1.141 with HTTP; Fri, 12 Oct 2012 15:59:55 -0700 (PDT)
In-Reply-To: <20121012225319.GH14734@1wt.eu>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com> <20121012064627.GE12041@1wt.eu> <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com> <3221.1350029243@critter.freebsd.dk> <20121012084704.GA14734@1wt.eu> <CAP+FsNfzz7Wu9bQRcYHeZ2gNA9s5HOY0fcFVqnhvbqD14LiKHw@mail.gmail.com> <20121012225319.GH14734@1wt.eu>
Date: Fri, 12 Oct 2012 15:59:55 -0700
Message-ID: <CAP+FsNfAg6Qno9FGAYKPErYpFsMP6pV_q2eNAj-8XdHkvzjeNA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0401f77f75be0304cbe4a524
Received-SPF: pass client-ip=209.85.215.43; envelope-from=grmocg@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: AWL=-1.807, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMoDO-0004Vb-Gm 090f0af7f2e054d24c24604fdea65b76
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/CAP+FsNfAg6Qno9FGAYKPErYpFsMP6pV_q2eNAj-8XdHkvzjeNA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15355
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>

--f46d0401f77f75be0304cbe4a524
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Oct 12, 2012 at 3:53 PM, Willy Tarreau <w@1wt.eu> wrote:

> Hi Roberto,
>
> On Fri, Oct 12, 2012 at 02:49:20PM -0700, Roberto Peon wrote:
> > The most recent output, copy/pasted is:
> >
> > "Delta-coding took: 0.642199 seconds for: 104300 header frames or
> > 6.15723e-06 per header or 162411 headers/sec or 8.88429e+07 bytes/sec"
> >
> > So, ~89 million bytes/second and 162k requests/second for the
> delta-coding
> > on one core.
>
> It does not seem bad, and I also know that it's hard to compare numbers.
> I like to count in terms of bytes per second or headers per second, but
> obviously it depends on the coding scheme.
>
> Right now I made a test on haproxy using a request to pinterest.com that
> I captured from Firefox 13 (didn't know the site so I tried it). The
> request looks like this, it's 282 bytes long and has 7 header fields :
>
>   GET / HTTP/1.1
>   Host: pinterest.com
>   User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101
> Firefox/13.0.1
>   Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>   Accept-Language: en-us,en;q=0.5
>   Accept-Encoding: gzip, deflate
>   Connection: keep-alive
>
> It was running on a single core of a core i7 2600 @3.4 GHz. I sent it 4
> million times to haproxy which sent a redirect on them, and it took 3.609
> seconds for the 4 million reqs, which is 1.1 million req/s, which is also
> exactly the same number as it reports in the stats, and 312 MB/s. So at
> first glance it's 3.5-7 times faster on a single core than the compressor
> alone. So this would mean that it would spend 88% of its CPU time in the
> compressor alone, and the 12% remaining doing its job.
>

No, that means that a loadtest client would spend 88% of its time doing
compression. :)
Decompresion is faster, and 'recompression' is also faster, as you can
resuse much of the client's compression state, at least theoretically.



> I understand the code is not optimized yet, but this typically is the type
> of thing I want us to be extremely careful about, because it's very easy
> to completely kill performance for the last percent of optimization over
> the wire. In fact I'm not that much worried for the 1.1-to-2.0 conversion
> because as time goes, the need for this work will fade away and won't
> represent most of the CPU usage. But routing and processing 2.0 to 2.0
> should be optimally fast.
>

I know that we're coming at this from different motiviations as well-- I
suspect that most sites that are handling millions of requests/second are
perfectly happy to spend the money to get another HAProxy box in exchange
for lower client latency, if that is the tradeoff they can get, since much
of the time lower latency translates into higher conversion rates and thus
more profit.


>
> > Given that most machines have more than once core, this
> > performance seems pretty reasonable to me, especially given that it is
> not
> > really been optimized. I'd hope that bandwidth was predominantly
> > entity-bodies and not headers, and so the bandwidth doesn't seem
> > problematic to me either.
>
> Unfortunately my experience has often been that most of the requests
> are if-modified-since and most of the responses are 304 on a number of
> web sites, so we still need to be careful.
>

Thanks for sharing your data BTW !
>

Yup. I hope that we'll come to a useful compromise where we can get
consensus on the latency/CPU tradeoff, and vastly improve over what we've
had with SPDY thusfar.
I suspect that the best way to do that is to gather data from working code,
but I've always been biased that way :)
-=R


>
> Willy
>
>

--f46d0401f77f75be0304cbe4a524
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Fri, Oct 12, 2012 at 3:53 PM, Willy T=
arreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank">=
w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Roberto,<br>
<div class=3D"im"><br>
On Fri, Oct 12, 2012 at 02:49:20PM -0700, Roberto Peon wrote:<br>
&gt; The most recent output, copy/pasted is:<br>
&gt;<br>
&gt; &quot;Delta-coding took: 0.642199 seconds for: 104300 header frames or=
<br>
&gt; 6.15723e-06 per header or 162411 headers/sec or 8.88429e+07 bytes/sec&=
quot;<br>
&gt;<br>
&gt; So, ~89 million bytes/second and 162k requests/second for the delta-co=
ding<br>
&gt; on one core.<br>
<br>
</div>It does not seem bad, and I also know that it&#39;s hard to compare n=
umbers.<br>
I like to count in terms of bytes per second or headers per second, but<br>
obviously it depends on the coding scheme.<br>
<br>
Right now I made a test on haproxy using a request to <a href=3D"http://pin=
terest.com" target=3D"_blank">pinterest.com</a> that<br>
I captured from Firefox 13 (didn&#39;t know the site so I tried it). The<br=
>
request looks like this, it&#39;s 282 bytes long and has 7 header fields :<=
br>
<br>
=A0 GET / HTTP/1.1<br>
=A0 Host: <a href=3D"http://pinterest.com" target=3D"_blank">pinterest.com<=
/a><br>
=A0 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101 Firef=
ox/13.0.1<br>
=A0 Accept: text/html,application/xhtml+xml,application/xml;q=3D0.9,*/*;q=
=3D0.8<br>
=A0 Accept-Language: en-us,en;q=3D0.5<br>
=A0 Accept-Encoding: gzip, deflate<br>
=A0 Connection: keep-alive<br>
<br>
It was running on a single core of a core i7 2600 @3.4 GHz. I sent it 4<br>
million times to haproxy which sent a redirect on them, and it took 3.609<b=
r>
seconds for the 4 million reqs, which is 1.1 million req/s, which is also<b=
r>
exactly the same number as it reports in the stats, and 312 MB/s. So at<br>
first glance it&#39;s 3.5-7 times faster on a single core than the compress=
or<br>
alone. So this would mean that it would spend 88% of its CPU time in the<br=
>
compressor alone, and the 12% remaining doing its job.<br></blockquote><div=
><br></div><div>No, that means that a loadtest client would spend 88% of it=
s time doing compression. :)</div><div>Decompresion is faster, and &#39;rec=
ompression&#39; is also faster, as you can resuse much of the client&#39;s =
compression state, at least theoretically.</div>
<div>=A0</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I understand the code is not optimized yet, but this typically is the type<=
br>
of thing I want us to be extremely careful about, because it&#39;s very eas=
y<br>
to completely kill performance for the last percent of optimization over<br=
>
the wire. In fact I&#39;m not that much worried for the 1.1-to-2.0 conversi=
on<br>
because as time goes, the need for this work will fade away and won&#39;t<b=
r>
represent most of the CPU usage. But routing and processing 2.0 to 2.0<br>
should be optimally fast.<br></blockquote><div><br></div><div>I know that w=
e&#39;re coming at this from different motiviations as well-- I suspect tha=
t most sites that are handling millions of requests/second are perfectly ha=
ppy to spend the money to get another HAProxy box in exchange for lower cli=
ent latency, if that is the tradeoff they can get, since much of the time l=
ower latency translates into higher conversion rates and thus more profit.<=
/div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
&gt; Given that most machines have more than once core, this<br>
&gt; performance seems pretty reasonable to me, especially given that it is=
 not<br>
&gt; really been optimized. I&#39;d hope that bandwidth was predominantly<b=
r>
&gt; entity-bodies and not headers, and so the bandwidth doesn&#39;t seem<b=
r>
&gt; problematic to me either.<br>
<br>
</div>Unfortunately my experience has often been that most of the requests<=
br>
are if-modified-since and most of the responses are 304 on a number of<br>
web sites, so we still need to be careful.<br></blockquote><div><br></div><=
blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px=
 #ccc solid;padding-left:1ex">
Thanks for sharing your data BTW !<br></blockquote><div><br></div><div>Yup.=
 I hope that we&#39;ll come to a useful compromise where we can get consens=
us on the latency/CPU tradeoff, and vastly improve over what we&#39;ve had =
with SPDY thusfar.</div>
<div>I suspect that the best way to do that is to gather data from working =
code, but I&#39;ve always been biased that way :)</div><div>-=3DR</div><div=
>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">

<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Willy<br>
<br>
</font></span></blockquote></div><br>

--f46d0401f77f75be0304cbe4a524--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 16:12:53 2012
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 CD7F421F86B9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 16:12:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.949
X-Spam-Level: 
X-Spam-Status: No, score=-8.949 tagged_above=-999 required=5 tests=[AWL=1.335, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FTNtDczLIVAb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 16:12:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D985D21F86AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 16:12:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMoOF-00040V-7v for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 23:11:35 +0000
Resent-Date: Fri, 12 Oct 2012 23:11:35 +0000
Resent-Message-Id: <E1TMoOF-00040V-7v@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TMoOC-0003zm-Ca for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 23:11:32 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TMoOB-00073r-5I for ietf-http-wg@w3.org; Fri, 12 Oct 2012 23:11:32 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9CNB6LP017739; Sat, 13 Oct 2012 01:11:06 +0200
Date: Sat, 13 Oct 2012 01:11:06 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Message-ID: <20121012231106.GI14734@1wt.eu>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com> <20121012064627.GE12041@1wt.eu> <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com> <3221.1350029243@critter.freebsd.dk> <20121012084704.GA14734@1wt.eu> <CAP+FsNfzz7Wu9bQRcYHeZ2gNA9s5HOY0fcFVqnhvbqD14LiKHw@mail.gmail.com> <20121012225319.GH14734@1wt.eu> <CAP+FsNfAg6Qno9FGAYKPErYpFsMP6pV_q2eNAj-8XdHkvzjeNA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNfAg6Qno9FGAYKPErYpFsMP6pV_q2eNAj-8XdHkvzjeNA@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.6
X-W3C-Hub-Spam-Report: AWL=-1.491, RP_MATCHES_RCVD=-2.145, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TMoOB-00073r-5I dd0cf71b621f1bb9de985a2edb91798f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/20121012231106.GI14734@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15356
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>

On Fri, Oct 12, 2012 at 03:59:55PM -0700, Roberto Peon wrote:
> On Fri, Oct 12, 2012 at 3:53 PM, Willy Tarreau <w@1wt.eu> wrote:
> 
> > Hi Roberto,
> >
> > On Fri, Oct 12, 2012 at 02:49:20PM -0700, Roberto Peon wrote:
> > > The most recent output, copy/pasted is:
> > >
> > > "Delta-coding took: 0.642199 seconds for: 104300 header frames or
> > > 6.15723e-06 per header or 162411 headers/sec or 8.88429e+07 bytes/sec"
> > >
> > > So, ~89 million bytes/second and 162k requests/second for the
> > delta-coding
> > > on one core.
> >
> > It does not seem bad, and I also know that it's hard to compare numbers.
> > I like to count in terms of bytes per second or headers per second, but
> > obviously it depends on the coding scheme.
> >
> > Right now I made a test on haproxy using a request to pinterest.com that
> > I captured from Firefox 13 (didn't know the site so I tried it). The
> > request looks like this, it's 282 bytes long and has 7 header fields :
> >
> >   GET / HTTP/1.1
> >   Host: pinterest.com
> >   User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101
> > Firefox/13.0.1
> >   Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> >   Accept-Language: en-us,en;q=0.5
> >   Accept-Encoding: gzip, deflate
> >   Connection: keep-alive
> >
> > It was running on a single core of a core i7 2600 @3.4 GHz. I sent it 4
> > million times to haproxy which sent a redirect on them, and it took 3.609
> > seconds for the 4 million reqs, which is 1.1 million req/s, which is also
> > exactly the same number as it reports in the stats, and 312 MB/s. So at
> > first glance it's 3.5-7 times faster on a single core than the compressor
> > alone. So this would mean that it would spend 88% of its CPU time in the
> > compressor alone, and the 12% remaining doing its job.
> >
> 
> No, that means that a loadtest client would spend 88% of its time doing
> compression. :)

:-)

> Decompresion is faster, and 'recompression' is also faster, as you can
> resuse much of the client's compression state, at least theoretically.

Well, responses still need to be sent to clients, so compression time
matters too. That's where I think that tokenizing must help, as it
saves the CPU from having to deal with protocols made for humans.

> > I understand the code is not optimized yet, but this typically is the type
> > of thing I want us to be extremely careful about, because it's very easy
> > to completely kill performance for the last percent of optimization over
> > the wire. In fact I'm not that much worried for the 1.1-to-2.0 conversion
> > because as time goes, the need for this work will fade away and won't
> > represent most of the CPU usage. But routing and processing 2.0 to 2.0
> > should be optimally fast.
> >
> 
> I know that we're coming at this from different motiviations as well-- I
> suspect that most sites that are handling millions of requests/second are
> perfectly happy to spend the money to get another HAProxy box in exchange
> for lower client latency, if that is the tradeoff they can get, since much
> of the time lower latency translates into higher conversion rates and thus
> more profit.

What is important in my opinion is to keep the CPU overhead low. I would have
loved to see a CPU improvement instead, but we're not there yet :-)

I think it is reasonable to expect some waste when converting 1.1 to 2.0, but
we must absolutely avoid having to explain to end users that switching from
1.1 to 2.0 will require 5 times more hardware, because even if the hardware
is cheap, managing it is not always and synchronizing states between them is
an entire new story. So there are trade-offs there too (eg: be less efficient
at fighting DDoSes).

> I hope that we'll come to a useful compromise where we can get
> consensus on the latency/CPU tradeoff, and vastly improve over what we've
> had with SPDY thusfar.

I think it's already better anyway because I don't remind having ever
seen zlib reach such numbers. Still the goal would be to be faster than
HTTP/1.1 :-)

> I suspect that the best way to do that is to gather data from working code,
> but I've always been biased that way :)

I agree with you on this.

Cheers,
Willy



From ietf-http-wg-request@listhub.w3.org  Fri Oct 12 16:39:16 2012
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 39AF121F855A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 16:39:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.475
X-Spam-Level: 
X-Spam-Status: No, score=-10.475 tagged_above=-999 required=5 tests=[AWL=-0.192, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jaLDbrli12z8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 12 Oct 2012 16:39:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BE56221F856D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 12 Oct 2012 16:39:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TMont-0007Kq-VJ for ietf-http-wg-dist@listhub.w3.org; Fri, 12 Oct 2012 23:38:06 +0000
Resent-Date: Fri, 12 Oct 2012 23:38:05 +0000
Resent-Message-Id: <E1TMont-0007Kq-VJ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMonq-0007K4-4U for ietf-http-wg@listhub.w3.org; Fri, 12 Oct 2012 23:38:02 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TMono-0005fI-CH for ietf-http-wg@w3.org; Fri, 12 Oct 2012 23:38:02 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so2368032lah.2 for <ietf-http-wg@w3.org>; Fri, 12 Oct 2012 16:37:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nLAirpRAKABJqogGggb52K0qfuJjO7h8EQ6jmX5aNM4=; b=bBzoQi1U6fpqNUvohLzvbSg1Z3wlSRmNetS9k4Vm1UqFrzXmXEkNo3sIboXdKclHrM XopXGk3fw5KHC9Xo3oUMY780HKzXrKNa0gUFDYxlFo+PzcYr+8m8BJTw5n/svDzByXP7 W+7yseh4KNccWTgvQsdh17LC1qh9ty0qq2VzGiAS47/Fjf1WWv7bvFNqhNUPWXz5hg0a U2mjbpYymNv98X1p16vuc/KxzSKTPYGs8GecgI6zYraa3hOcJpyyThwAZ98qEwte1XGE oZMJjznXtrRPh2OMNp99flp10mXRGlNAXbfSPoiv6VjhOK84eDxn3cUmrQrUKqN8VOsC ndLg==
MIME-Version: 1.0
Received: by 10.112.50.106 with SMTP id b10mr2163748lbo.51.1350085053595; Fri, 12 Oct 2012 16:37:33 -0700 (PDT)
Received: by 10.114.1.141 with HTTP; Fri, 12 Oct 2012 16:37:33 -0700 (PDT)
In-Reply-To: <20121012231106.GI14734@1wt.eu>
References: <CABP7RbcP8rXG6ArMCMCzoEEKS-aH5aHUbinFqQB-zV7vjr--Rg@mail.gmail.com> <CAP+FsNc_CRi6rx0PCiuqY6bDkXZUhZU9TxEDh1CNAjJ+Y8AiMg@mail.gmail.com> <20121012064627.GE12041@1wt.eu> <CAP+FsNcp7r2ad-X=2aNYq=_FB8cKgKEpTUYW7eG7YsyFnrwbJg@mail.gmail.com> <3221.1350029243@critter.freebsd.dk> <20121012084704.GA14734@1wt.eu> <CAP+FsNfzz7Wu9bQRcYHeZ2gNA9s5HOY0fcFVqnhvbqD14LiKHw@mail.gmail.com> <20121012225319.GH14734@1wt.eu> <CAP+FsNfAg6Qno9FGAYKPErYpFsMP6pV_q2eNAj-8XdHkvzjeNA@mail.gmail.com> <20121012231106.GI14734@1wt.eu>
Date: Fri, 12 Oct 2012 16:37:33 -0700
Message-ID: <CAP+FsNdN3E0G+vQ5P7BW6RfnqJ_xweOXN3GzunPVLzG26vKzxA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: Poul-Henning Kamp <phk@phk.freebsd.dk>, James M Snell <jasnell@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0401fe5909423404cbe52c50
Received-SPF: pass client-ip=209.85.215.43; envelope-from=grmocg@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.2
X-W3C-Hub-Spam-Report: AWL=-1.355, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TMono-0005fI-CH f11b9824152cf9b00ccf98fb79a15c32
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY and the HTTP Binding
Archived-At: <http://www.w3.org/mid/CAP+FsNdN3E0G+vQ5P7BW6RfnqJ_xweOXN3GzunPVLzG26vKzxA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15357
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>

--f46d0401fe5909423404cbe52c50
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Oct 12, 2012 at 4:11 PM, Willy Tarreau <w@1wt.eu> wrote:

> On Fri, Oct 12, 2012 at 03:59:55PM -0700, Roberto Peon wrote:
> > On Fri, Oct 12, 2012 at 3:53 PM, Willy Tarreau <w@1wt.eu> wrote:
> >
> > > Hi Roberto,
> > >
> > > On Fri, Oct 12, 2012 at 02:49:20PM -0700, Roberto Peon wrote:
> > > > The most recent output, copy/pasted is:
> > > >
> > > > "Delta-coding took: 0.642199 seconds for: 104300 header frames or
> > > > 6.15723e-06 per header or 162411 headers/sec or 8.88429e+07
> bytes/sec"
> > > >
> > > > So, ~89 million bytes/second and 162k requests/second for the
> > > delta-coding
> > > > on one core.
> > >
> > > It does not seem bad, and I also know that it's hard to compare
> numbers.
> > > I like to count in terms of bytes per second or headers per second, but
> > > obviously it depends on the coding scheme.
> > >
> > > Right now I made a test on haproxy using a request to pinterest.comthat
> > > I captured from Firefox 13 (didn't know the site so I tried it). The
> > > request looks like this, it's 282 bytes long and has 7 header fields :
> > >
> > >   GET / HTTP/1.1
> > >   Host: pinterest.com
> > >   User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20100101
> > > Firefox/13.0.1
> > >   Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> > >   Accept-Language: en-us,en;q=0.5
> > >   Accept-Encoding: gzip, deflate
> > >   Connection: keep-alive
> > >
> > > It was running on a single core of a core i7 2600 @3.4 GHz. I sent it 4
> > > million times to haproxy which sent a redirect on them, and it took
> 3.609
> > > seconds for the 4 million reqs, which is 1.1 million req/s, which is
> also
> > > exactly the same number as it reports in the stats, and 312 MB/s. So at
> > > first glance it's 3.5-7 times faster on a single core than the
> compressor
> > > alone. So this would mean that it would spend 88% of its CPU time in
> the
> > > compressor alone, and the 12% remaining doing its job.
> > >
> >
> > No, that means that a loadtest client would spend 88% of its time doing
> > compression. :)
>
> :-)
>
> > Decompresion is faster, and 'recompression' is also faster, as you can
> > resuse much of the client's compression state, at least theoretically.
>
> Well, responses still need to be sent to clients, so compression time
> matters too. That's where I think that tokenizing must help, as it
> saves the CPU from having to deal with protocols made for humans.
>

There are a couple of ways that could be fast (I don't have numbers yet).
use ERefs (ephemereal references). These don't change the compressor state,
and always require the full key-value text is sent.

A better approach would be to have the common parts of such things use
stuff that is known to exist in the LRU (e.g. the pre-defined items, which
include almost every key that I've seen, and also included many common
values). If you do redirects for a particular field enough, you could
simply ensure that you maintain a pointer to the LRU items that informs you
if it ever expires from the LRU, in which case you'd have to recreate the
sate, but otherwise you'd not even have to do a lookup... and in that case
it will be as fast as a branch and memcopy.



>
> > > I understand the code is not optimized yet, but this typically is the
> type
> > > of thing I want us to be extremely careful about, because it's very
> easy
> > > to completely kill performance for the last percent of optimization
> over
> > > the wire. In fact I'm not that much worried for the 1.1-to-2.0
> conversion
> > > because as time goes, the need for this work will fade away and won't
> > > represent most of the CPU usage. But routing and processing 2.0 to 2.0
> > > should be optimally fast.
> > >
> >
> > I know that we're coming at this from different motiviations as well-- I
> > suspect that most sites that are handling millions of requests/second are
> > perfectly happy to spend the money to get another HAProxy box in exchange
> > for lower client latency, if that is the tradeoff they can get, since
> much
> > of the time lower latency translates into higher conversion rates and
> thus
> > more profit.
>
> What is important in my opinion is to keep the CPU overhead low. I would
> have
> loved to see a CPU improvement instead, but we're not there yet :-)
>

It could happen-- if the size of the requests become substantially smaller
(especially if/when people understand how to optimize for a delta-encoded
protocol), the time spent doing interpretation or doing IO also drops.
My experience running Google's edge tells me that this could be a
significant cost savings, but only time will tell if it completely offsets
the cost of the compression, etc.

-=R

--f46d0401fe5909423404cbe52c50
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Fri, Oct 12, 2012 at 4:11 PM, Willy T=
arreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_blank">=
w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5">On Fri, Oct 12, 2012 at 03:59:55PM =
-0700, Roberto Peon wrote:<br>
&gt; On Fri, Oct 12, 2012 at 3:53 PM, Willy Tarreau &lt;<a href=3D"mailto:w=
@1wt.eu">w@1wt.eu</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi Roberto,<br>
&gt; &gt;<br>
&gt; &gt; On Fri, Oct 12, 2012 at 02:49:20PM -0700, Roberto Peon wrote:<br>
&gt; &gt; &gt; The most recent output, copy/pasted is:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &quot;Delta-coding took: 0.642199 seconds for: 104300 header=
 frames or<br>
&gt; &gt; &gt; 6.15723e-06 per header or 162411 headers/sec or 8.88429e+07 =
bytes/sec&quot;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; So, ~89 million bytes/second and 162k requests/second for th=
e<br>
&gt; &gt; delta-coding<br>
&gt; &gt; &gt; on one core.<br>
&gt; &gt;<br>
&gt; &gt; It does not seem bad, and I also know that it&#39;s hard to compa=
re numbers.<br>
&gt; &gt; I like to count in terms of bytes per second or headers per secon=
d, but<br>
&gt; &gt; obviously it depends on the coding scheme.<br>
&gt; &gt;<br>
&gt; &gt; Right now I made a test on haproxy using a request to <a href=3D"=
http://pinterest.com" target=3D"_blank">pinterest.com</a> that<br>
&gt; &gt; I captured from Firefox 13 (didn&#39;t know the site so I tried i=
t). The<br>
&gt; &gt; request looks like this, it&#39;s 282 bytes long and has 7 header=
 fields :<br>
&gt; &gt;<br>
&gt; &gt; =A0 GET / HTTP/1.1<br>
&gt; &gt; =A0 Host: <a href=3D"http://pinterest.com" target=3D"_blank">pint=
erest.com</a><br>
&gt; &gt; =A0 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/2010=
0101<br>
&gt; &gt; Firefox/13.0.1<br>
&gt; &gt; =A0 Accept: text/html,application/xhtml+xml,application/xml;q=3D0=
.9,*/*;q=3D0.8<br>
&gt; &gt; =A0 Accept-Language: en-us,en;q=3D0.5<br>
&gt; &gt; =A0 Accept-Encoding: gzip, deflate<br>
&gt; &gt; =A0 Connection: keep-alive<br>
&gt; &gt;<br>
&gt; &gt; It was running on a single core of a core i7 2600 @3.4 GHz. I sen=
t it 4<br>
&gt; &gt; million times to haproxy which sent a redirect on them, and it to=
ok 3.609<br>
&gt; &gt; seconds for the 4 million reqs, which is 1.1 million req/s, which=
 is also<br>
&gt; &gt; exactly the same number as it reports in the stats, and 312 MB/s.=
 So at<br>
&gt; &gt; first glance it&#39;s 3.5-7 times faster on a single core than th=
e compressor<br>
&gt; &gt; alone. So this would mean that it would spend 88% of its CPU time=
 in the<br>
&gt; &gt; compressor alone, and the 12% remaining doing its job.<br>
&gt; &gt;<br>
&gt;<br>
&gt; No, that means that a loadtest client would spend 88% of its time doin=
g<br>
&gt; compression. :)<br>
<br>
</div></div>:-)<br>
<div class=3D"im"><br>
&gt; Decompresion is faster, and &#39;recompression&#39; is also faster, as=
 you can<br>
&gt; resuse much of the client&#39;s compression state, at least theoretica=
lly.<br>
<br>
</div>Well, responses still need to be sent to clients, so compression time=
<br>
matters too. That&#39;s where I think that tokenizing must help, as it<br>
saves the CPU from having to deal with protocols made for humans.<br></bloc=
kquote><div><br></div><div>There are a couple of ways that could be fast (I=
 don&#39;t have numbers yet).</div><div>use ERefs (ephemereal references). =
These don&#39;t change the compressor state, and always require the full ke=
y-value text is sent.</div>
<div><br></div><div>A better approach would be to have the common parts of =
such things use stuff that is known to exist in the LRU (e.g. the pre-defin=
ed items, which include almost every key that I&#39;ve seen, and also inclu=
ded many common values). If you do redirects for a particular field enough,=
 you could simply ensure that you maintain a pointer to the LRU items that =
informs you if it ever expires from the LRU, in which case you&#39;d have t=
o recreate the sate, but otherwise you&#39;d not even have to do a lookup..=
. and in that case it will be as fast as a branch and memcopy.</div>
<div><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im"><br>
&gt; &gt; I understand the code is not optimized yet, but this typically is=
 the type<br>
&gt; &gt; of thing I want us to be extremely careful about, because it&#39;=
s very easy<br>
&gt; &gt; to completely kill performance for the last percent of optimizati=
on over<br>
&gt; &gt; the wire. In fact I&#39;m not that much worried for the 1.1-to-2.=
0 conversion<br>
&gt; &gt; because as time goes, the need for this work will fade away and w=
on&#39;t<br>
&gt; &gt; represent most of the CPU usage. But routing and processing 2.0 t=
o 2.0<br>
&gt; &gt; should be optimally fast.<br>
&gt; &gt;<br>
&gt;<br>
&gt; I know that we&#39;re coming at this from different motiviations as we=
ll-- I<br>
&gt; suspect that most sites that are handling millions of requests/second =
are<br>
&gt; perfectly happy to spend the money to get another HAProxy box in excha=
nge<br>
&gt; for lower client latency, if that is the tradeoff they can get, since =
much<br>
&gt; of the time lower latency translates into higher conversion rates and =
thus<br>
&gt; more profit.<br>
<br>
</div>What is important in my opinion is to keep the CPU overhead low. I wo=
uld have<br>
loved to see a CPU improvement instead, but we&#39;re not there yet :-)<br>=
</blockquote><div><br></div><div>It could happen-- if the size of the reque=
sts become substantially smaller (especially if/when people understand how =
to optimize for a delta-encoded protocol), the time spent doing interpretat=
ion or doing IO also drops.</div>
<div>My experience running Google&#39;s edge tells me that this could be a =
significant cost savings, but only time will tell if it completely offsets =
the cost of the compression, etc.</div><div><br></div><div>-=3DR</div></div=
>

--f46d0401fe5909423404cbe52c50--


From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 04:44:07 2012
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 7005521F84F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 04:44:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.229
X-Spam-Level: 
X-Spam-Status: No, score=-6.229 tagged_above=-999 required=5 tests=[AWL=4.370, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7AppQDmE7op7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 04:44:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A657721F847A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 04:44:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TN06F-0003yo-Cy for ietf-http-wg-dist@listhub.w3.org; Sat, 13 Oct 2012 11:41:47 +0000
Resent-Date: Sat, 13 Oct 2012 11:41:47 +0000
Resent-Message-Id: <E1TN06F-0003yo-Cy@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TN06C-0003y3-Jh for ietf-http-wg@listhub.w3.org; Sat, 13 Oct 2012 11:41:44 +0000
Received: from mail.ietf.org ([64.170.98.30]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TN06B-0003GT-Mj for ietf-http-wg@w3.org; Sat, 13 Oct 2012 11:41:44 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 96A3221F85A1 for <ietf-http-wg@w3.org>; Sat, 13 Oct 2012 04:41:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GMJx7U1dujcr; Sat, 13 Oct 2012 04:41:17 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0CFFC21F853C; Sat, 13 Oct 2012 04:41:17 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.34
Message-ID: <20121013114117.27778.71276.idtracker@ietfa.amsl.com>
Date: Sat, 13 Oct 2012 04:41:17 -0700
Received-SPF: pass client-ip=64.170.98.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-2.378, RP_MATCHES_RCVD=-2.142, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TN06B-0003GT-Mj b9eeae345be61de1bc2fff7c1769e13f
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-method-registrations-10.txt
Archived-At: <http://www.w3.org/mid/20121013114117.27778.71276.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15358
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Initial Hypertext Transfer Protocol (HTTP) Method Regist=
rations
	Author(s)       : Julian F. Reschke
	Filename        : draft-ietf-httpbis-method-registrations-10.txt
	Pages           : 7
	Date            : 2012-10-13

Abstract:
   This document registers those Hypertext Transfer Protocol (HTTP)
   methods which have been defined in standards-track RFCs before the
   IANA HTTP Method Registry was established.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-method-registrations

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-10

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-method-registrations-=
10


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 04:51:02 2012
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 7521221F8512 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 04:51:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.322
X-Spam-Level: 
X-Spam-Status: No, score=-7.322 tagged_above=-999 required=5 tests=[AWL=3.277, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0aZPblTMxm0N for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 04:51:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E013521F84F3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 04:51:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TN0Dy-0007OZ-PE for ietf-http-wg-dist@listhub.w3.org; Sat, 13 Oct 2012 11:49:46 +0000
Resent-Date: Sat, 13 Oct 2012 11:49:46 +0000
Resent-Message-Id: <E1TN0Dy-0007OZ-PE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TN0Dw-0007Nu-IJ for ietf-http-wg@listhub.w3.org; Sat, 13 Oct 2012 11:49:44 +0000
Received: from mail.ietf.org ([64.170.98.30]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <internet-drafts@ietf.org>) id 1TN0Dv-0003Ro-TM for ietf-http-wg@w3.org; Sat, 13 Oct 2012 11:49:44 +0000
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 718E421F8512 for <ietf-http-wg@w3.org>; Sat, 13 Oct 2012 04:49:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A1IM1ok0krsk; Sat, 13 Oct 2012 04:49:18 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E627F21F84FA; Sat, 13 Oct 2012 04:49:16 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
Cc: ietf-http-wg@w3.org
X-Test-IDTracker: no
X-IETF-IDTracker: 4.34
Message-ID: <20121013114916.20349.97521.idtracker@ietfa.amsl.com>
Date: Sat, 13 Oct 2012 04:49:16 -0700
Received-SPF: pass client-ip=64.170.98.30; envelope-from=internet-drafts@ietf.org; helo=mail.ietf.org
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-2.038, RP_MATCHES_RCVD=-2.142, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TN0Dv-0003Ro-TM 913067034d802308fa1102c1b4e57e64
X-Original-To: ietf-http-wg@w3.org
Subject: I-D Action: draft-ietf-httpbis-authscheme-registrations-05.txt
Archived-At: <http://www.w3.org/mid/20121013114916.20349.97521.idtracker@ietfa.amsl.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15359
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>

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies.
 This draft is a work item of the Hypertext Transfer Protocol Bis Working G=
roup of the IETF.

	Title           : Initial Hypertext Transfer Protocol (HTTP) Authenticatio=
n Scheme Registrations
	Author(s)       : Julian F. Reschke
	Filename        : draft-ietf-httpbis-authscheme-registrations-05.txt
	Pages           : 5
	Date            : 2012-10-13

Abstract:
   This document registers Hypertext Transfer Protocol (HTTP)
   authentication schemes which have been defined in standards-track
   RFCs before the IANA HTTP Authentication Scheme Registry was
   established.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-httpbis-authscheme-registrations

There's also a htmlized version available at:
http://tools.ietf.org/html/draft-ietf-httpbis-authscheme-registrations-05

A diff from the previous version is available at:
http://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-authscheme-registrati=
ons-05


Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/



From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 07:45:29 2012
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 7192521F84F0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 07:45:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.541
X-Spam-Level: 
X-Spam-Status: No, score=-6.541 tagged_above=-999 required=5 tests=[AWL=3.435, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cPQ3QY0J+D09 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 07:45:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E547C21F84E6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 07: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 1TN2vz-0003tE-0Z for ietf-http-wg-dist@listhub.w3.org; Sat, 13 Oct 2012 14:43:23 +0000
Resent-Date: Sat, 13 Oct 2012 14:43:23 +0000
Resent-Message-Id: <E1TN2vz-0003tE-0Z@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1TN2vw-0003sV-2l for ietf-http-wg@listhub.w3.org; Sat, 13 Oct 2012 14:43:20 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1TN2vv-0000Qs-DB for ietf-http-wg@w3.org; Sat, 13 Oct 2012 14:43:20 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so4329222vbb.2 for <ietf-http-wg@w3.org>; Sat, 13 Oct 2012 07:42:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=v7aFTxStLbnDCx6Z2s4pasO7NYxgdXl3Mb1yDOKsO3I=; b=rWxMN/GSNlhaZVDZFZX3zoCGqQPZlVRGorB4yUQasrVE7aGgh5DKYimjpvJMMFpKcS dRR6b0kS91KLVOnG3VFGbg9TAuuaLlZ9+n9VV5vrc3F133BYjqa8x4S9pNEMoccunnm8 d8h1D6FqNNaYptKEQSLqGIE/X0dq9CgACxSUvieER0UHmz/k8G6hi9ZRPFrI5C1dsx9B 3ASQRL9nMH1TGi6UtQMnjdRYS34ALfA8jwmXNf861GGX1qRd5vNk6P6AVV2R/+VUwdZa RTFNDVfoVF0i614006i2HNVS3tmZ9iFPdW0UT1F5dTbGELo/0sOrhiy9NR00lr8L+QMm Qlqg==
MIME-Version: 1.0
Received: by 10.52.24.142 with SMTP id u14mr3321509vdf.110.1350139373682; Sat, 13 Oct 2012 07:42:53 -0700 (PDT)
Sender: barryleiba@gmail.com
Received: by 10.59.5.72 with HTTP; Sat, 13 Oct 2012 07:42:53 -0700 (PDT)
Date: Sat, 13 Oct 2012 10:42:53 -0400
X-Google-Sender-Auth: t3Ig7P8Td7_kmcW_DK86OE6J-38
Message-ID: <CALaySJKThBHRENpTsvvqbmmp5bReud+8RH36c5ngidhs6cC9Cw@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Apps Discuss <apps-discuss@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec5015e97c3ff1804cbf1d140
Received-SPF: pass client-ip=209.85.212.43; envelope-from=barryleiba@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-2.353, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TN2vv-0000Qs-DB 49dc739d13e7b5c589760aed19cde795
X-Original-To: ietf-http-wg@w3.org
Subject: Re-review of draft-snell-http-prefer-15
Archived-At: <http://www.w3.org/mid/CALaySJKThBHRENpTsvvqbmmp5bReud+8RH36c5ngidhs6cC9Cw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15360
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>

--bcaec5015e97c3ff1804cbf1d140
Content-Type: text/plain; charset=ISO-8859-1

After some discussion on the httpbis mailing list, James made a significant
change to draft-snell-http-prefer-15, adding (back) the Preference-Applied
response header field.  See:
http://tools.ietf.org/rfcdiff?url2=draft-snell-http-prefer-15.txt

Because this happened after last call, I would like the copied communities
to re-review this in parallel with IESG Evaluation, and make further
comments on that particular change.

The document is on the 25 Oct telechat, so please post any comments by then.

Barry, sponsoring AD

--bcaec5015e97c3ff1804cbf1d140
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

After some discussion on the httpbis mailing list, James made a significant=
 change to=A0<font><span style=3D"line-height:normal;background-color:rgba(=
255,255,255,0)">draft-snell-http-prefer-15, adding (back) the Preference-Ap=
plied response header field. =A0See:</span></font><div>
<span style=3D"font-family:Helvetica;font-size:15px;white-space:nowrap"><a =
href=3D"http://tools.ietf.org/rfcdiff?url2=3Ddraft-snell-http-prefer-15.txt=
">http://tools.ietf.org/rfcdiff?url2=3Ddraft-snell-http-prefer-15.txt</a></=
span><font><span style=3D"line-height:normal;background-color:rgba(255,255,=
255,0)"><br dir=3D"ltr">
</span></font></div><div><span style=3D"font-family:Helvetica;font-size:15p=
x;white-space:nowrap"><br></span></div><div><span style=3D"font-family:Helv=
etica;font-size:15px;white-space:nowrap">Because this happened after last c=
all, I would like the copied communities to re-review this in parallel with=
 IESG Evaluation, and make further comments on that particular change.</spa=
n></div>
<div><span style=3D"font-family:Helvetica;font-size:15px;white-space:nowrap=
"><br></span></div><div><span style=3D"font-family:Helvetica;font-size:15px=
;white-space:nowrap">The document is on the 25 Oct telechat, so please post=
 any comments by then.</span></div>
<div><span style=3D"font-family:Helvetica;font-size:15px;white-space:nowrap=
"><br></span></div><div><span style=3D"font-family:Helvetica;font-size:15px=
;white-space:nowrap">Barry, sponsoring AD</span></div><div><span style=3D"f=
ont-family:Helvetica;font-size:15px;white-space:nowrap"><br>
</span><span></span></div>

--bcaec5015e97c3ff1804cbf1d140--


From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 11:43:40 2012
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 DE23C21F84B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 11:43:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.093
X-Spam-Level: 
X-Spam-Status: No, score=-8.093 tagged_above=-999 required=5 tests=[AWL=2.506, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bIfzYJXDw8dv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 11:43:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 38F7721F84AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 11:43:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TN6eQ-0000FD-Kj for ietf-http-wg-dist@listhub.w3.org; Sat, 13 Oct 2012 18:41:30 +0000
Resent-Date: Sat, 13 Oct 2012 18:41:30 +0000
Resent-Message-Id: <E1TN6eQ-0000FD-Kj@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TN6eN-0000E4-5m for ietf-http-wg@listhub.w3.org; Sat, 13 Oct 2012 18:41:27 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TN6eM-0004ln-8e for ietf-http-wg@w3.org; Sat, 13 Oct 2012 18:41:27 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3F45622E256; Sat, 13 Oct 2012 14:41:02 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <506C4B3D.6030806@andrew.cmu.edu>
Date: Sun, 14 Oct 2012 05:40:57 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net>
References: <506C4B3D.6030806@andrew.cmu.edu>
To: Ken Murchison <murch@andrew.cmu.edu>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-3.117, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TN6eM-0004ln-8e c1a16a570d133afc8226d9253828f5dc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15361
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>

Actually, I don't think you need Preference-Applied *or* Vary to =
indicate this; both are barking up the wrong tree.=20

Rather, you need something with the specific semantics "the =
representation of the resource is byte-equivalent to the PUT request you =
just made" for *that* case.

This could be a new status code, or it could be a header on the =
response. It could even be a "duplicate" link relation (RFC6249), =
pointing to a URI for "the request you just made"; e.g.

200 OK
Link: <urn:http:your-request>; rel=3D"duplicate"=20

(obviously, we would need to get the URL actually defined)

The tricky part, no matter what approach you take -- including =
preference-applied! -- is figuring out what this means for headers; it's =
fuzzy at best.

Cheers,


On 04/10/2012, at 12:27 AM, Ken Murchison <murch@andrew.cmu.edu> wrote:

> Hello,
>=20
> I'm working on draft draft-murchison-webdav-prefer which describes how =
the return-minimal and return-representation apply to WebDAV/CalDAV =
methods.  My work is primarily CalDAV-centric but we are trying to make =
it generic to WebDAV and its derivatives.
>=20
> One of the issues that keeps coming up is a way for the client to =
differentiate between two  cases:
>=20
> - the server doesn't return a representation because it ignored or =
doesn't support the return-representation preference
>=20
> - the server understood the preference but didn't return a =
representation because it didn't change from what was in the request
>=20
> One possible solution is for the server to return a Vary: Prefer =
header to indicate that the server understood the preference, thereby =
allowing the client to infer what the lack of a representation in the =
response means.
>=20
> The next question is, does any such mandate or recommendation, if =
required, belong in my webdav-prefer draft or in the base Prefer spec?
>=20
> Thoughts?
>=20
> --=20
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 11:44:31 2012
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 2EEC521F84BF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 11:44:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.165
X-Spam-Level: 
X-Spam-Status: No, score=-8.165 tagged_above=-999 required=5 tests=[AWL=2.434, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EwAmeN8gKSSC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 11:44:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 14BA521F8493 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 11:44:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TN6gG-0000Kf-OU for ietf-http-wg-dist@listhub.w3.org; Sat, 13 Oct 2012 18:43:24 +0000
Resent-Date: Sat, 13 Oct 2012 18:43:24 +0000
Resent-Message-Id: <E1TN6gG-0000Kf-OU@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TN6gD-0000JS-No for ietf-http-wg@listhub.w3.org; Sat, 13 Oct 2012 18:43:21 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TN6gC-0006mU-MU for ietf-http-wg@w3.org; Sat, 13 Oct 2012 18:43:21 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6282122E1EB; Sat, 13 Oct 2012 14:42:52 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CALaySJKThBHRENpTsvvqbmmp5bReud+8RH36c5ngidhs6cC9Cw@mail.gmail.com>
Date: Sun, 14 Oct 2012 05:42:48 +1100
Cc: Apps Discuss <apps-discuss@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9C722517-7948-4B0E-A78D-8992FD96F59B@mnot.net>
References: <CALaySJKThBHRENpTsvvqbmmp5bReud+8RH36c5ngidhs6cC9Cw@mail.gmail.com>
To: Barry Leiba <barryleiba@computer.org>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-3.117, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TN6gC-0006mU-MU b9e6432e8339d164ee997ca055e75e84
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Re-review of draft-snell-http-prefer-15
Archived-At: <http://www.w3.org/mid/9C722517-7948-4B0E-A78D-8992FD96F59B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15362
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>

My .02:

* Technically, the requirement for including a Vary should include the =
option for using Vary: *; requiring Prefer in the Vary header is too =
constraining.

* Vary needs to be on *every* response from a resource that evidences =
negotiation, not those that just happen to be influenced by the Prefer =
header.=20

* The examples section needs to show complete request and response =
messages, not just examples of the header field in isolation. This spec =
is not just defining a header, it's defining a protocol.

* "return-async" now seems like a less functional expression of "wait". =
Also, saying you'd *prefer* something to return async doesn't make much =
sense; if the request semantics can be honoured immediately and =
reflected in the response representation, why not allow so?=20

I can imagine some protocols that want to tunnel over HTTP wanting to do =
so, but can't think of any sane use of HTTP that would. return-async can =
be dropped.

* I still don't see the use cases for Preference-Applied (see message =
just now on the thread that brought it back). I'm not going to fight it, =
but am -0.5 on it (as I think it introduces opportunities for people to =
abuse the mechanism).

Cheers,



On 14/10/2012, at 1:42 AM, Barry Leiba <barryleiba@computer.org> wrote:

> After some discussion on the httpbis mailing list, James made a =
significant change to draft-snell-http-prefer-15, adding (back) the =
Preference-Applied response header field.  See:
> http://tools.ietf.org/rfcdiff?url2=3Ddraft-snell-http-prefer-15.txt
>=20
> Because this happened after last call, I would like the copied =
communities to re-review this in parallel with IESG Evaluation, and make =
further comments on that particular change.
>=20
> The document is on the 25 Oct telechat, so please post any comments by =
then.
>=20
> Barry, sponsoring AD
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 12:03:13 2012
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 57E4E21F84B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 12:03:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.14
X-Spam-Level: 
X-Spam-Status: No, score=-8.14 tagged_above=-999 required=5 tests=[AWL=2.458, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eTf8KmJ4sAcw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 12:03:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 63A2421F8493 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 12:03:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TN6xv-0001Dw-Fz for ietf-http-wg-dist@listhub.w3.org; Sat, 13 Oct 2012 19:01:39 +0000
Resent-Date: Sat, 13 Oct 2012 19:01:39 +0000
Resent-Message-Id: <E1TN6xv-0001Dw-Fz@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TN6xs-0001D8-Lr for ietf-http-wg@listhub.w3.org; Sat, 13 Oct 2012 19:01:36 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TN6xr-0007DZ-Qh for ietf-http-wg@w3.org; Sat, 13 Oct 2012 19:01:36 +0000
Received: by mail-wi0-f173.google.com with SMTP id hm4so485912wib.8 for <ietf-http-wg@w3.org>; Sat, 13 Oct 2012 12:01:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=e0zAluSPxFa4Ky5Ym9LbSbOF5QtclSbn4asazGt0pCQ=; b=WO+K2AHJibsYn6dm1PG9DSb8/B574XY8k5ewlQhAup56IhpwUn4Gh9ZoLyaWkG8TS9 nsFg1r77TOrcx+s801EWq0pOu/RchP3YjlRpct1kwHFOfMKkJviSrZIc19ma7B9gNKBb yzjRaGKzQnYBlwtSFEbVUI3d1D/FGR5ltvCfyB/M3LHape5498Y6lsTUvB/Kmmo+mnW8 e/4Pdz1UBFsTGXhFL3620Z9ZdR2febCXW5EJIGfCgSLJKMft6YzppI0j3tR7Os4q2e5g 9nDQhjO5Di8nxwzHYAvwT8lUWRWd1rD9e2KM1MPcBAi/PDZTAAsSMKs/OHGfqYGB2tFQ GxUA==
Received: by 10.180.80.104 with SMTP id q8mr13570212wix.6.1350154869522; Sat, 13 Oct 2012 12:01:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.201.68 with HTTP; Sat, 13 Oct 2012 12:00:48 -0700 (PDT)
In-Reply-To: <9C722517-7948-4B0E-A78D-8992FD96F59B@mnot.net>
References: <CALaySJKThBHRENpTsvvqbmmp5bReud+8RH36c5ngidhs6cC9Cw@mail.gmail.com> <9C722517-7948-4B0E-A78D-8992FD96F59B@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Sat, 13 Oct 2012 12:00:48 -0700
Message-ID: <CABP7RbfdwHRGugepnZvRATq-wE7buuY3xSUEbRV+prp1Gy87BA@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Barry Leiba <barryleiba@computer.org>, HTTP Working Group <ietf-http-wg@w3.org>,  Apps Discuss <apps-discuss@ietf.org>
Content-Type: multipart/alternative; boundary=f46d04428eac63bf9404cbf56d56
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.711, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TN6xr-0007DZ-Qh 03ab06d502dec82fe7a068eb002c4dac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [apps-discuss] Re-review of draft-snell-http-prefer-15
Archived-At: <http://www.w3.org/mid/CABP7RbfdwHRGugepnZvRATq-wE7buuY3xSUEbRV+prp1Gy87BA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15363
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>

--f46d04428eac63bf9404cbf56d56
Content-Type: text/plain; charset=UTF-8

On Sat, Oct 13, 2012 at 11:42 AM, Mark Nottingham <mnot@mnot.net> wrote:

> My .02:
>
> * Technically, the requirement for including a Vary should include the
> option for using Vary: *; requiring Prefer in the Vary header is too
> constraining.
>
> * Vary needs to be on *every* response from a resource that evidences
> negotiation, not those that just happen to be influenced by the Prefer
> header.
>

A comment can be added in that "Vary: *" would also cover the requirement
here.


>
> * The examples section needs to show complete request and response
> messages, not just examples of the header field in isolation. This spec is
> not just defining a header, it's defining a protocol.
>
>
Noted but not sure it's critical since there are plenty of other examples
given throughout the document that show complete requests. It's a minor
addition, tho, that can be added into a final version.


> * "return-async" now seems like a less functional expression of "wait".
> Also, saying you'd *prefer* something to return async doesn't make much
> sense; if the request semantics can be honoured immediately and reflected
> in the response representation, why not allow so?
>
> I can imagine some protocols that want to tunnel over HTTP wanting to do
> so, but can't think of any sane use of HTTP that would. return-async can be
> dropped.
>
>
-1 ... in my use of this I have used return-asynch and wait together (e.g.
Prefer: return-asynch; wait=10)... if the server is able to process the
request in less than 10 seconds, it does so and responds synchronously. If
it cannot, it responds asynchronously. The mechanism works rather
effectively when dealing with long running processes. I respect that you
might not consider such use to be "sane" but it has proved useful
nevertheless.

- James

* I still don't see the use cases for Preference-Applied (see message just
> now on the thread that brought it back). I'm not going to fight it, but am
> -0.5 on it (as I think it introduces opportunities for people to abuse the
> mechanism).
>


> Cheers,
>
>
>
> On 14/10/2012, at 1:42 AM, Barry Leiba <barryleiba@computer.org> wrote:
>
> > After some discussion on the httpbis mailing list, James made a
> significant change to draft-snell-http-prefer-15, adding (back) the
> Preference-Applied response header field.  See:
> > http://tools.ietf.org/rfcdiff?url2=draft-snell-http-prefer-15.txt
> >
> > Because this happened after last call, I would like the copied
> communities to re-review this in parallel with IESG Evaluation, and make
> further comments on that particular change.
> >
> > The document is on the 25 Oct telechat, so please post any comments by
> then.
> >
> > Barry, sponsoring AD
> >
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
> _______________________________________________
> apps-discuss mailing list
> apps-discuss@ietf.org
> https://www.ietf.org/mailman/listinfo/apps-discuss
>

--f46d04428eac63bf9404cbf56d56
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Sat, Oct 13, 2012 at 11:42 AM, Mark Nottingham <span dir=3D"ltr">&lt=
;<a href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</=
span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">My .02:<br>
<br>
* Technically, the requirement for including a Vary should include the opti=
on for using Vary: *; requiring Prefer in the Vary header is too constraini=
ng.<br>
<br>
* Vary needs to be on *every* response from a resource that evidences negot=
iation, not those that just happen to be influenced by the Prefer header.<b=
r></blockquote><div><br></div><div>A comment can be added in that &quot;Var=
y: *&quot; would also cover the requirement here.=C2=A0</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
* The examples section needs to show complete request and response messages=
, not just examples of the header field in isolation. This spec is not just=
 defining a header, it&#39;s defining a protocol.<br>
<br></blockquote><div><br></div><div>Noted but not sure it&#39;s critical s=
ince there are plenty of other examples given throughout the document that =
show complete requests. It&#39;s a minor addition, tho, that can be added i=
nto a final version.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
* &quot;return-async&quot; now seems like a less functional expression of &=
quot;wait&quot;. Also, saying you&#39;d *prefer* something to return async =
doesn&#39;t make much sense; if the request semantics can be honoured immed=
iately and reflected in the response representation, why not allow so?<br>


<br>
I can imagine some protocols that want to tunnel over HTTP wanting to do so=
, but can&#39;t think of any sane use of HTTP that would. return-async can =
be dropped.<br>
<br></blockquote><div><br></div><div>-1 ... in my use of this I have used r=
eturn-asynch and wait together (e.g. Prefer: return-asynch; wait=3D10)... i=
f the server is able to process the request in less than 10 seconds, it doe=
s so and responds synchronously. If it cannot, it responds asynchronously. =
The mechanism works rather effectively when dealing with long running proce=
sses. I respect that you might not consider such use to be &quot;sane&quot;=
 but it has proved useful nevertheless.</div>

<div>=C2=A0</div><div>- James</div><div><br></div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
* I still don&#39;t see the use cases for Preference-Applied (see message j=
ust now on the thread that brought it back). I&#39;m not going to fight it,=
 but am -0.5 on it (as I think it introduces opportunities for people to ab=
use the mechanism).<br>

</blockquote><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Cheers,<br>
<div><div class=3D"h5"><br>
<br>
<br>
On 14/10/2012, at 1:42 AM, Barry Leiba &lt;<a href=3D"mailto:barryleiba@com=
puter.org">barryleiba@computer.org</a>&gt; wrote:<br>
<br>
&gt; After some discussion on the httpbis mailing list, James made a signif=
icant change to draft-snell-http-prefer-15, adding (back) the Preference-Ap=
plied response header field. =C2=A0See:<br>
&gt; <a href=3D"http://tools.ietf.org/rfcdiff?url2=3Ddraft-snell-http-prefe=
r-15.txt" target=3D"_blank">http://tools.ietf.org/rfcdiff?url2=3Ddraft-snel=
l-http-prefer-15.txt</a><br>
&gt;<br>
&gt; Because this happened after last call, I would like the copied communi=
ties to re-review this in parallel with IESG Evaluation, and make further c=
omments on that particular change.<br>
&gt;<br>
&gt; The document is on the 25 Oct telechat, so please post any comments by=
 then.<br>
&gt;<br>
&gt; Barry, sponsoring AD<br>
&gt;<br>
<br>
</div></div>--<br>
Mark Nottingham =C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">h=
ttp://www.mnot.net/</a><br>
<br>
<br>
<br>
_______________________________________________<br>
apps-discuss mailing list<br>
<a href=3D"mailto:apps-discuss@ietf.org">apps-discuss@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/apps-discuss" target=3D"_b=
lank">https://www.ietf.org/mailman/listinfo/apps-discuss</a><br>
</blockquote></div><br>

--f46d04428eac63bf9404cbf56d56--


From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 12:07:00 2012
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 4F90221F84D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 12:07:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.188
X-Spam-Level: 
X-Spam-Status: No, score=-8.188 tagged_above=-999 required=5 tests=[AWL=2.411, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6-9oZ1nlcTyZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 12:06:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D76E421F84D4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 12:06:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TN72S-0002rz-Tl for ietf-http-wg-dist@listhub.w3.org; Sat, 13 Oct 2012 19:06:20 +0000
Resent-Date: Sat, 13 Oct 2012 19:06:20 +0000
Resent-Message-Id: <E1TN72S-0002rz-Tl@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TN72Q-0002rF-7F for ietf-http-wg@listhub.w3.org; Sat, 13 Oct 2012 19:06:18 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TN72P-0005PK-Gm for ietf-http-wg@w3.org; Sat, 13 Oct 2012 19:06:18 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 2045F22DD6D; Sat, 13 Oct 2012 15:05:48 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7RbfdwHRGugepnZvRATq-wE7buuY3xSUEbRV+prp1Gy87BA@mail.gmail.com>
Date: Sun, 14 Oct 2012 06:05:43 +1100
Cc: Barry Leiba <barryleiba@computer.org>, HTTP Working Group <ietf-http-wg@w3.org>, Apps Discuss <apps-discuss@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <603A775B-5CCA-44F7-A7FF-BB22168CBE2B@mnot.net>
References: <CALaySJKThBHRENpTsvvqbmmp5bReud+8RH36c5ngidhs6cC9Cw@mail.gmail.com> <9C722517-7948-4B0E-A78D-8992FD96F59B@mnot.net> <CABP7RbfdwHRGugepnZvRATq-wE7buuY3xSUEbRV+prp1Gy87BA@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.1
X-W3C-Hub-Spam-Report: AWL=-2.084, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TN72P-0005PK-Gm 6986189f22fcec9d9d12a9cd864ec514
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [apps-discuss] Re-review of draft-snell-http-prefer-15
Archived-At: <http://www.w3.org/mid/603A775B-5CCA-44F7-A7FF-BB22168CBE2B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15364
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>

On 14/10/2012, at 6:00 AM, James M Snell <jasnell@gmail.com> wrote:

> -1 ... in my use of this I have used return-asynch and wait together =
(e.g. Prefer: return-asynch; wait=3D10)... if the server is able to =
process the request in less than 10 seconds, it does so and responds =
synchronously. If it cannot, it responds asynchronously. The mechanism =
works rather effectively when dealing with long running processes. I =
respect that you might not consider such use to be "sane" but it has =
proved useful nevertheless.

Right, but what's the difference between:

  Prefer: wait=3D10
and
  Prefer: return-asynch, wait=3D10

? "return asynch" really says "give me a 202" which is nonsense; the =
client doesn't control the status code, the server does.=20

Cheers,

P.S. I hate that "h" on "return-asynch"... :)

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 12:12:51 2012
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 AEF6521F846B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 12:12:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.182
X-Spam-Level: 
X-Spam-Status: No, score=-8.182 tagged_above=-999 required=5 tests=[AWL=2.416, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id POWS+H9gDUVg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 12:12:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 18D8F21F8469 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 12:12:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TN78E-0004QB-BX for ietf-http-wg-dist@listhub.w3.org; Sat, 13 Oct 2012 19:12:18 +0000
Resent-Date: Sat, 13 Oct 2012 19:12:18 +0000
Resent-Message-Id: <E1TN78E-0004QB-BX@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TN78B-0004Or-J9 for ietf-http-wg@listhub.w3.org; Sat, 13 Oct 2012 19:12:15 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TN78A-0007Sy-TQ for ietf-http-wg@w3.org; Sat, 13 Oct 2012 19:12:15 +0000
Received: by mail-wi0-f173.google.com with SMTP id hm4so490219wib.8 for <ietf-http-wg@w3.org>; Sat, 13 Oct 2012 12:11:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=1E1dinnCjsOYx1zpJICCJYJgY3ZoJDsH47U3hxQ96Xo=; b=ntSsApWpBc/QSuT87RnS24j0Zjx4tgkEFhwQexC6cZ4ged8ciN5s0/SmPNdtAtJpkj 2H+34oLEizB3fejzVfNS2NMM1KwkN+L8ZhFH7r/AWjEeCMathRvNfcH/nF377twfwZ3Z ezsW9THUX0kj5rFUvd173v152thqVper87al48i70F5VzVE5X1ovy7aVW6tdqFs8kF2F BiKhJ/tw4hww/kHPDk9JNdg/Wt67sXekmjK/Dy8j5aR2eCQxOm+B8yK54W82QzOunRMv LBONPDYzqtHiECq/YTuAy30yi3RRopiYyX5wqEFRuXMvIU2q89ND9fzKcSmgj1G6fhMQ irrg==
Received: by 10.180.87.230 with SMTP id bb6mr13600069wib.6.1350155508754; Sat, 13 Oct 2012 12:11:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.201.68 with HTTP; Sat, 13 Oct 2012 12:11:28 -0700 (PDT)
In-Reply-To: <603A775B-5CCA-44F7-A7FF-BB22168CBE2B@mnot.net>
References: <CALaySJKThBHRENpTsvvqbmmp5bReud+8RH36c5ngidhs6cC9Cw@mail.gmail.com> <9C722517-7948-4B0E-A78D-8992FD96F59B@mnot.net> <CABP7RbfdwHRGugepnZvRATq-wE7buuY3xSUEbRV+prp1Gy87BA@mail.gmail.com> <603A775B-5CCA-44F7-A7FF-BB22168CBE2B@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Sat, 13 Oct 2012 12:11:28 -0700
Message-ID: <CABP7RbfOXNnqs-XVii8ZABDnFBX9rqrErtCbS=fHAZhbYUyZzQ@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Barry Leiba <barryleiba@computer.org>, HTTP Working Group <ietf-http-wg@w3.org>,  Apps Discuss <apps-discuss@ietf.org>
Content-Type: multipart/alternative; boundary=f46d0444e97b7dab2104cbf5933d
Received-SPF: pass client-ip=209.85.212.173; envelope-from=jasnell@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-2.464, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TN78A-0007Sy-TQ 6319049c67246d2e7080d9a0afbec333
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [apps-discuss] Re-review of draft-snell-http-prefer-15
Archived-At: <http://www.w3.org/mid/CABP7RbfOXNnqs-XVii8ZABDnFBX9rqrErtCbS=fHAZhbYUyZzQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15365
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>

--f46d0444e97b7dab2104cbf5933d
Content-Type: text/plain; charset=UTF-8

On Sat, Oct 13, 2012 at 12:05 PM, Mark Nottingham <mnot@mnot.net> wrote:

>
> On 14/10/2012, at 6:00 AM, James M Snell <jasnell@gmail.com> wrote:
>
> > -1 ... in my use of this I have used return-asynch and wait together
> (e.g. Prefer: return-asynch; wait=10)... if the server is able to process
> the request in less than 10 seconds, it does so and responds synchronously.
> If it cannot, it responds asynchronously. The mechanism works rather
> effectively when dealing with long running processes. I respect that you
> might not consider such use to be "sane" but it has proved useful
> nevertheless.
>
> Right, but what's the difference between:
>
>   Prefer: wait=10
> and
>   Prefer: return-asynch, wait=10
>
> ? "return asynch" really says "give me a 202" which is nonsense; the
> client doesn't control the status code, the server does.
>
>
That's why it's a Prefer header and not Expect. The server retains control.
"Prefer: wait=10" could just as easily result in the server simply throwing
up it's hands and saying, "sorry, can't do it"


> Cheers,
>
> P.S. I hate that "h" on "return-asynch"... :)
>

Yeah yeah... me too. Only reason not to drop it would be some existing code
but known impls are limited enough right now that it shouldn't be a problem
really.

- James


>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>

--f46d0444e97b7dab2104cbf5933d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Sat, Oct 13, 2012 at 12:05 PM, Mark Nottingham <span dir=3D"ltr">&lt=
;<a href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</=
span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im"><br>
On 14/10/2012, at 6:00 AM, James M Snell &lt;<a href=3D"mailto:jasnell@gmai=
l.com">jasnell@gmail.com</a>&gt; wrote:<br>
<br>
&gt; -1 ... in my use of this I have used return-asynch and wait together (=
e.g. Prefer: return-asynch; wait=3D10)... if the server is able to process =
the request in less than 10 seconds, it does so and responds synchronously.=
 If it cannot, it responds asynchronously. The mechanism works rather effec=
tively when dealing with long running processes. I respect that you might n=
ot consider such use to be &quot;sane&quot; but it has proved useful nevert=
heless.<br>


<br>
</div>Right, but what&#39;s the difference between:<br>
<br>
=C2=A0 Prefer: wait=3D10<br>
and<br>
=C2=A0 Prefer: return-asynch, wait=3D10<br>
<br>
? &quot;return asynch&quot; really says &quot;give me a 202&quot; which is =
nonsense; the client doesn&#39;t control the status code, the server does.<=
br>
<br></blockquote><div><br></div><div>That&#39;s why it&#39;s a Prefer heade=
r and not Expect. The server retains control. &quot;Prefer: wait=3D10&quot;=
 could just as easily result in the server simply throwing up it&#39;s hand=
s and saying, &quot;sorry, can&#39;t do it&quot;</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
Cheers,<br>
<br>
P.S. I hate that &quot;h&quot; on &quot;return-asynch&quot;... :)<br></bloc=
kquote><div><br></div><div>Yeah yeah... me too. Only reason not to drop it =
would be some existing code but known impls are limited enough right now th=
at it shouldn&#39;t be a problem really.</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Mark Nottingham =C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">h=
ttp://www.mnot.net/</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br>

--f46d0444e97b7dab2104cbf5933d--


From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 13:41:52 2012
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 D591621F846E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 13:41:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.118
X-Spam-Level: 
X-Spam-Status: No, score=-8.118 tagged_above=-999 required=5 tests=[AWL=2.481, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UhoCJ0qzThXa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 13:41:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6C8AE21F846D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 13:41:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TN8VR-0000uv-Bz for ietf-http-wg-dist@listhub.w3.org; Sat, 13 Oct 2012 20:40:21 +0000
Resent-Date: Sat, 13 Oct 2012 20:40:21 +0000
Resent-Message-Id: <E1TN8VR-0000uv-Bz@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TN8VO-0000uG-Gf for ietf-http-wg@listhub.w3.org; Sat, 13 Oct 2012 20:40:18 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TN8VN-0001BE-SM for ietf-http-wg@w3.org; Sat, 13 Oct 2012 20:40:18 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E364F22E255; Sat, 13 Oct 2012 16:39:47 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7RbfOXNnqs-XVii8ZABDnFBX9rqrErtCbS=fHAZhbYUyZzQ@mail.gmail.com>
Date: Sun, 14 Oct 2012 07:39:42 +1100
Cc: Barry Leiba <barryleiba@computer.org>, HTTP Working Group <ietf-http-wg@w3.org>, Apps Discuss <apps-discuss@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <CCF75341-B3B2-4275-9BDD-F245D26736B8@mnot.net>
References: <CALaySJKThBHRENpTsvvqbmmp5bReud+8RH36c5ngidhs6cC9Cw@mail.gmail.com> <9C722517-7948-4B0E-A78D-8992FD96F59B@mnot.net> <CABP7RbfdwHRGugepnZvRATq-wE7buuY3xSUEbRV+prp1Gy87BA@mail.gmail.com> <603A775B-5CCA-44F7-A7FF-BB22168CBE2B@mnot.net> <CABP7RbfOXNnqs-XVii8ZABDnFBX9rqrErtCbS=fHAZhbYUyZzQ@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.1
X-W3C-Hub-Spam-Report: AWL=-2.084, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TN8VN-0001BE-SM 99166fb2a51b6b3ed60e713efd3c720a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [apps-discuss] Re-review of draft-snell-http-prefer-15
Archived-At: <http://www.w3.org/mid/CCF75341-B3B2-4275-9BDD-F245D26736B8@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15366
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>

On 14/10/2012, at 6:11 AM, James M Snell <jasnell@gmail.com> wrote:

>> Right, but what's the difference between:
>>=20
>>   Prefer: wait=3D10
>> and
>>   Prefer: return-asynch, wait=3D10
>>=20
>> ? "return asynch" really says "give me a 202" which is nonsense; the =
client doesn't control the status code, the server does.
>>=20
>=20
> That's why it's a Prefer header and not Expect. The server retains =
control. "Prefer: wait=3D10" could just as easily result in the server =
simply throwing up it's hands and saying, "sorry, can't do it"

And what does return-async(h) bring to the party?

The server can still throw up its hands with a 4xx or 5xx, and the =
client has to deal with that.=20



--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 14:10:02 2012
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 25C0921F84A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 14:10:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.224
X-Spam-Level: 
X-Spam-Status: No, score=-6.224 tagged_above=-999 required=5 tests=[AWL=4.375, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q8fkklws-Dxk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 14:10:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 84BED21F84A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 14:10:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TN8wv-0003Xs-A5 for ietf-http-wg-dist@listhub.w3.org; Sat, 13 Oct 2012 21:08:45 +0000
Resent-Date: Sat, 13 Oct 2012 21:08:45 +0000
Resent-Message-Id: <E1TN8wv-0003Xs-A5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jan.algermissen@nordsc.com>) id 1TN8ws-0003Wp-JA for ietf-http-wg@listhub.w3.org; Sat, 13 Oct 2012 21:08:42 +0000
Received: from moutng.kundenserver.de ([212.227.17.10]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jan.algermissen@nordsc.com>) id 1TN8wr-0000Fc-Cc for ietf-http-wg@w3.org; Sat, 13 Oct 2012 21:08:42 +0000
Received: from [192.168.2.103] (p548FA742.dip.t-dialin.net [84.143.167.66]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MGi7V-1T9gfC0FSj-00DZSF; Sat, 13 Oct 2012 23:08:11 +0200
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset=us-ascii
From: Jan Algermissen <jan.algermissen@nordsc.com>
In-Reply-To: <CCF75341-B3B2-4275-9BDD-F245D26736B8@mnot.net>
Date: Sat, 13 Oct 2012 23:08:10 +0200
Cc: James M Snell <jasnell@gmail.com>, Barry Leiba <barryleiba@computer.org>, HTTP Working Group <ietf-http-wg@w3.org>, Apps Discuss <apps-discuss@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2E11857B-970B-44D6-8EB9-AF7BEFF28F50@nordsc.com>
References: <CALaySJKThBHRENpTsvvqbmmp5bReud+8RH36c5ngidhs6cC9Cw@mail.gmail.com> <9C722517-7948-4B0E-A78D-8992FD96F59B@mnot.net> <CABP7RbfdwHRGugepnZvRATq-wE7buuY3xSUEbRV+prp1Gy87BA@mail.gmail.com> <603A775B-5CCA-44F7-A7FF-BB22168CBE2B@mnot.net> <CABP7RbfOXNnqs-XVii8ZABDnFBX9rqrErtCbS=fHAZhbYUyZzQ@mail.gmail.com> <CCF75341-B3B2-4275-9BDD-F245D26736B8@mnot.net>
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.1283)
X-Provags-ID: V02:K0:3CC62Udx31OeJ7wnD3Bt8JSxmSoK/vzsuWPFFlRsWco 2DI689FKaeNKrXrjIsBUrRn4LWGIC6JWl0mzlvfKZmtR7EL+95 tehYNyuBt7ZIHP1F8h5NBz/wJIAJIP+XmgDyxuubUypRMd8nNj Dod8nzeKNue5AE4wy9Tp7h+qAI7CZuQ6VPUI74i95ES4N4IBd0 Ud1b9T2RDNo/ByZTdOwAvdEwEn8zHcUj/wukByE+mn+R1kFYP5 cLEsatMgmpbfmc6CdF02yyQbcWFNpKpcDAm3FT/Vq9ZbDOkdK2 1QQAi+2DeZJusJH4oF4uaKSPWqdGSC8NyYzz1GxVfgLN0LKheX zBgjSuwPNWg2ST/RQRY4ORbK3zqGxaPLS4WZZoq6PX8Wb4du/T FayQlTKnagBmg==
Received-SPF: none client-ip=212.227.17.10; envelope-from=jan.algermissen@nordsc.com; helo=moutng.kundenserver.de
X-W3C-Hub-Spam-Status: No, score=-0.0
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TN8wr-0000Fc-Cc 0b9084829f337c24cee1bd0a08b91f5a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [apps-discuss] Re-review of draft-snell-http-prefer-15
Archived-At: <http://www.w3.org/mid/2E11857B-970B-44D6-8EB9-AF7BEFF28F50@nordsc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15367
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>

On Oct 13, 2012, at 10:39 PM, Mark Nottingham wrote:

>=20
> On 14/10/2012, at 6:11 AM, James M Snell <jasnell@gmail.com> wrote:
>=20
>>> Right, but what's the difference between:
>>>=20
>>>  Prefer: wait=3D10
>>> and
>>>  Prefer: return-asynch, wait=3D10
>>>=20
>>> ? "return asynch" really says "give me a 202" which is nonsense; the =
client doesn't control the status code, the server does.
>>>=20
>>=20
>> That's why it's a Prefer header and not Expect. The server retains =
control. "Prefer: wait=3D10" could just as easily result in the server =
simply throwing up it's hands and saying, "sorry, can't do it"
>=20
> And what does return-async(h) bring to the party?

I cannot see that either. In fact, I cannot even imagine a server paying =
attention to the '10', given the juggling between estimating the task =
duration and comparing to the wait time.

Maybe

  Prefer: wait

just does the job?

Jan


>=20
> The server can still throw up its hands with a 4xx or 5xx, and the =
client has to deal with that.=20
>=20
>=20
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20
>=20



From ietf-http-wg-request@listhub.w3.org  Sat Oct 13 20:39:03 2012
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 BC07D11E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 20:39:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fyXFKdQChDKZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 13 Oct 2012 20:39:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 25D0811E808D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 13 Oct 2012 20:39: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 1TNF0W-0000TD-FN for ietf-http-wg-dist@listhub.w3.org; Sun, 14 Oct 2012 03:36:52 +0000
Resent-Date: Sun, 14 Oct 2012 03:36:52 +0000
Resent-Message-Id: <E1TNF0W-0000TD-FN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TNF0R-0000SQ-PE for ietf-http-wg@listhub.w3.org; Sun, 14 Oct 2012 03:36:47 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TNF0Q-0002ze-Vf for ietf-http-wg@w3.org; Sun, 14 Oct 2012 03:36:47 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 4E622E7084 for <ietf-http-wg@w3.org>; Sun, 14 Oct 2012 16:36:17 +1300 (NZDT)
Message-ID: <507A332B.3020301@treenet.co.nz>
Date: Sun, 14 Oct 2012 16:36:11 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TNF0Q-0002ze-Vf 0d74d5cd37fea5cef157f26b699d9949
X-Original-To: ietf-http-wg@w3.org
Subject: cacheability of Authentication and no-cache
Archived-At: <http://www.w3.org/mid/507A332B.3020301@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15368
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>

While reviewing the clauses for cacheability I find an undefined case 
which can reasonably be expected to appear in real-world traffic.

Comparing p6 section 7.2.2.3 and 7.2.2.5 it is clear that response 
Cache-Control "no-cache" with no values is semantically equivalent to 
"must-revalidate, max-age=0".

p7 section 4.1 clause 2 states that responses with "must-revalidate" MAY 
be cached for use on later requests provided revalidation is done.

Assuming that p7 clause is true, I see no reason why "no-cache" response 
control cannot be also added to p7 section 4.1 list of exceptions along 
with must-revalidate.

Amos



From ietf-http-wg-request@listhub.w3.org  Sun Oct 14 01:00:59 2012
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 9598C21F84F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 14 Oct 2012 01:00:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.598
X-Spam-Level: 
X-Spam-Status: No, score=-7.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_44=0.6, J_CHICKENPOX_45=0.6, J_CHICKENPOX_57=0.6, J_CHICKENPOX_74=0.6, J_CHICKENPOX_82=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 90IAGoD+ypTh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 14 Oct 2012 01:00:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8454821F851B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 14 Oct 2012 01:00:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TNJ5N-0000ql-V5 for ietf-http-wg-dist@listhub.w3.org; Sun, 14 Oct 2012 07:58:09 +0000
Resent-Date: Sun, 14 Oct 2012 07:58:09 +0000
Resent-Message-Id: <E1TNJ5N-0000ql-V5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mike5guo@gmail.com>) id 1TNJ5K-0000q6-T5 for ietf-http-wg@listhub.w3.org; Sun, 14 Oct 2012 07:58:06 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike5guo@gmail.com>) id 1TNJ5J-0007fd-RZ for ietf-http-wg@w3.org; Sun, 14 Oct 2012 07:58:06 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so2890762lbo.2 for <ietf-http-wg@w3.org>; Sun, 14 Oct 2012 00:57:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9HO8R5cucq225w81RWjeJus29JHgXRWh4u8KtAdJbxM=; b=0oxgGapZ258WoHmqukESZPad2NnhvJ8fZuoGD1fdbDwEZ+5M1AJwhdQ0OyNzu0IxYs 2u5jPZv5k9PJp3VCVNF829Ah6A7Aqel/Fe9RD6QllG/TFWXdEkAgbUPnACEliXbkwhmU z9A3G8XAiEEeNUWH6vFC1itSrsidB0MMUntUjn49axlDa7eAbQlDjA1VOOMEN8Pi/fIz UPB2mubBE5Id3NoWfWZGtYajn3Av93jEfB5ZF/G1lwSH5D8AaHGvqQrAsXa3yplFW+EC XODl90ihXy17SaiOSldpssSW3vSRYdz/FoJcSMW1kf78HsWgZMcJqj8WGaroQc/8zFzi wfIw==
MIME-Version: 1.0
Received: by 10.152.105.173 with SMTP id gn13mr7384622lab.41.1350201458977; Sun, 14 Oct 2012 00:57:38 -0700 (PDT)
Received: by 10.112.37.42 with HTTP; Sun, 14 Oct 2012 00:57:38 -0700 (PDT)
Date: Sun, 14 Oct 2012 15:57:38 +0800
Message-ID: <CAMFEDe4k13h0XL-xP_ko97veSHxux2pjeFPgYi5iFnAx+O6roQ@mail.gmail.com>
From: Zhun Guo <mike5guo@gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d040714c5566b5504cc0046c0
Received-SPF: pass client-ip=209.85.217.171; envelope-from=mike5guo@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.2
X-W3C-Hub-Spam-Report: AWL=0.500, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TNJ5J-0007fd-RZ fcf03add5e85e03b112aa64cea5a480f
X-Original-To: ietf-http-wg@w3.org
Subject: using http2.0 in online office documents interoperability,need  WebSocket protocol
Archived-At: <http://www.w3.org/mid/CAMFEDe4k13h0XL-xP_ko97veSHxux2pjeFPgYi5iFnAx+O6roQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15369
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>

--f46d040714c5566b5504cc0046c0
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: quoted-printable

Dear All , I am a online office documents software developer, just like
Google Docs,Microsoft Office 365,IBM Docs,Cisco WebEx,Acrobat,... you
know,when editing online office document,it need WebSocket supporting.
 Especially in online office documents interoperability,when users from
different websites want to Collaborative Editing=A3=ACit need WebSocket,bec=
ause
of Comet or Long Polling,just the same as realtime
ortc<http://www.realtime.co/business/ortc>
.( http://www.realtime.co/business/ortc)
            Maybe we think about more about WebSocket or Mobility ,can help
this topic. Thanks!
            There is also a article ,
http://online-office-interoperability.blogspot.com/  , Please give me more
opinions! Thanks!

Zhun Guo

--f46d040714c5566b5504cc0046c0
Content-Type: text/html; charset=GB2312
Content-Transfer-Encoding: quoted-printable

Dear All , I am a online office documents software developer, just like Goo=
gle Docs,Microsoft Office 365,IBM Docs,Cisco WebEx,Acrobat,... you know,whe=
n editing online office document,it need WebSocket supporting. &nbsp;Especi=
ally in online office documents interoperability,when users from different =
websites want to&nbsp;Collaborative Editing=A3=ACit need WebSocket,because =
of&nbsp;<span style=3D"background-color:rgb(255,255,255);color:rgb(42,42,42=
);font-family:=CE=A2=C8=ED=D1=C5=BA=DA;font-size:10.5pt">Comet or Long&nbsp=
;Polling</span>,just the same as&nbsp;<a href=3D"http://www.realtime.co/bus=
iness/ortc">realtime ortc</a>.(&nbsp;<a href=3D"http://www.realtime.co/busi=
ness/ortc">http://www.realtime.co/business/ortc</a>)<div>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Maybe we think about more about W=
ebSocket or Mobility ,can help this topic. Thanks!</div><div>&nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; There is also a article ,<a href=3D"http://onli=
ne-office-interoperability.blogspot.com/" target=3D"_blank" style=3D"color:=
rgb(17,85,204);font-family:arial,sans-serif;font-size:18px;background-color=
:rgb(255,255,255)">http://online-office-interoperability.blogspot.com/</a><=
span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:18=
px;background-color:rgb(255,255,255)">&nbsp; , Please give me more opinions=
! Thanks!</span></div>
<div><span style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-s=
ize:18px;background-color:rgb(255,255,255)"><br></span></div><div><span sty=
le=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:18px;backg=
round-color:rgb(255,255,255)">Zhun Guo</span></div>

--f46d040714c5566b5504cc0046c0--


From ietf-http-wg-request@listhub.w3.org  Sun Oct 14 02:56:08 2012
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 6808B21F84FA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 14 Oct 2012 02:56:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.14
X-Spam-Level: 
X-Spam-Status: No, score=-8.14 tagged_above=-999 required=5 tests=[AWL=2.459, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eyyKTHqcOg+K for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 14 Oct 2012 02:56:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 92D7521F84F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 14 Oct 2012 02:56:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TNKti-0005cj-Ev for ietf-http-wg-dist@listhub.w3.org; Sun, 14 Oct 2012 09:54:14 +0000
Resent-Date: Sun, 14 Oct 2012 09:54:14 +0000
Resent-Message-Id: <E1TNKti-0005cj-Ev@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TNKtf-0005bz-Gh for ietf-http-wg@listhub.w3.org; Sun, 14 Oct 2012 09:54:11 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TNKte-0003t7-IN for ietf-http-wg@w3.org; Sun, 14 Oct 2012 09:54:11 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 18CEE22E1EB for <ietf-http-wg@w3.org>; Sun, 14 Oct 2012 05:53:47 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <B7990CC8-2C5D-4F6A-A247-0D9C92CF51F7@mnot.net>
Date: Sun, 14 Oct 2012 20:53:43 +1100
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-2.167, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TNKte-0003t7-IN 89f53b744b4ce3d2a8fa4dd877d0d804
X-Original-To: ietf-http-wg@w3.org
Subject: Working Group Last Call for HTTP/1.1 p1 and p2
Archived-At: <http://www.w3.org/mid/B7990CC8-2C5D-4F6A-A247-0D9C92CF51F7@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15370
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>

The editors and I believe that the following drafts are ready for =
Working Group Last Call:

Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing
  http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-21

Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content
  http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21

Accordingly, please review these documents and bring any remaining =
issues, or issues whose resolution is not satisfactory, to the attention =
of the Working Group on this list.

Please note that both of these parts has recently been substantially =
rewritten by Roy, just as I rewrote p6 a while back. As such, we're =
treating those changes as a proposal from the editors to the Working =
Group, to be confirmed. Please review carefully with this in mind.

To give people ample time to review, we'll have a six-week WGLC, ending =
on November 25.=20

However, I encourage early reviews; feedback and issues raised before =
the Atlanta meeting gives us the opportunity to discuss it face-to-face.

Providing Feedback
----------------

Your input should be sent to this mailing list, clearly marked with =
"WGLC" and the appropriate part. E.g., with Subject lines such as:

Subject: WGLC review of p1-messaging
Subject: WGLC issue: "foo" in p2

Issues that you believe to be editorial in nature (e.g., typos, =
suggested re-phrasing) can be grouped together in a single e-mail. =
Substantive issues (what we call "design" issues) that may need =
discussion should be sent one per e-mail, with a descriptive subject.

If you disagree with the resolution of a previously discussed issue, =
you're encouraged to note that at this time.

What's Next
-----------

The Working Group will discuss these issues, re-issuing drafts as =
necessary. Tickets raised on these drafts will have a severity of "In WG =
Last Call" , and once they are disposed of, we'll see if there's =
consensus on going to IETF Last Call on them.

Thanks again to the editors for their hard work in getting to this =
point.

Regards,

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 15 01:07:05 2012
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 D512421F865D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 Oct 2012 01:07:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.394
X-Spam-Level: 
X-Spam-Status: No, score=-6.394 tagged_above=-999 required=5 tests=[BAYES_50=0.001, DEAR_SOMETHING=1.605, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mMTIqqZbfX-C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 Oct 2012 01:07:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D3D6A21F865B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 15 Oct 2012 01:07:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TNffN-0000Z7-43 for ietf-http-wg-dist@listhub.w3.org; Mon, 15 Oct 2012 08:04:49 +0000
Resent-Date: Mon, 15 Oct 2012 08:04:49 +0000
Resent-Message-Id: <E1TNffN-0000Z7-43@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jovanam@webhostinggeeks.com>) id 1TNffJ-0000Y7-OY for ietf-http-wg@listhub.w3.org; Mon, 15 Oct 2012 08:04:45 +0000
Received: from [207.45.182.122] (helo=ds1605.securenet-server.net) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <jovanam@webhostinggeeks.com>) id 1TNffC-0008Gc-Qe for ietf-http-wg@w3.org; Mon, 15 Oct 2012 08:04:45 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=webhostinggeeks.com; s=default; h=Content-Transfer-Encoding:Content-Type:Subject:To:MIME-Version:Reply-To:From:Date:Message-ID; bh=2RzKMFnsSK3zeL8BVl/cGzbbYFS1AU2fDxDTwqBBiSk=; b=LqqE7FyrPyJimPaUUlmlXMjmZZ/RcJPPBeZ01sK2tzOtx1BVL3t3DAmhT7BXuhloFmUKaFwzOvnqmj/YdCEo/c6xRMgC/Xe6HQm3852qkX6U/w7dSnxA2Gch89EDOMOs;
Received: from 178-223-63-84.dynamic.isp.telekom.rs ([178.223.63.84]:25473 helo=[192.168.1.3]) by ds1605.securenet-server.net with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from <jovanam@webhostinggeeks.com>) id 1TNfec-0004zo-1e; Mon, 15 Oct 2012 02:04:02 -0600
Message-ID: <507BC37C.2020908@webhostinggeeks.com>
Date: Mon, 15 Oct 2012 10:04:12 +0200
From: Jovana Milutinovich <jovanam@webhostinggeeks.com>
Reply-To: Jovana Milutinovich <jovanam@webhostinggeeks.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - ds1605.securenet-server.net
X-AntiAbuse: Original Domain - w3.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - webhostinggeeks.com
X-Source: 
X-Source-Args: 
X-Source-Dir: 
Received-SPF: pass client-ip=207.45.182.122; envelope-from=jovanam@webhostinggeeks.com; helo=ds1605.securenet-server.net
X-W3C-Hub-Spam-Status: No, score=2.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DEAR_SOMETHING=1.973, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_BRBL_LASTEXT=1.449, RDNS_NONE=0.793, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TNffC-0008Gc-Qe a794bf183b785e3c244befdf5756946c
X-Original-To: ietf-http-wg@w3.org
Subject: Permission to translate your page at http://skrb.org/ietf/http_errata.html
Archived-At: <http://www.w3.org/mid/507BC37C.2020908@webhostinggeeks.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15371
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>

Dear Sir or Madam,

My name is Jovana. I found your page extremely interesting and would 
like to spread the word for people from Ex Yugoslavia.

Here's the URL of your page: http://skrb.org/ietf/http_errata.html

Would you mind if I translate your page to Serbo-Croatian language and 
post it on our site?
My purpose is to help people from Ex Yugoslavia better understand some 
very useful information about computer science.

Some quick info about myself:
I was born in Yugoslavia, Europe. Former Yugoslavia consisted of now 
totally independent states like Serbia, Montenegro, Croatia, Bosnia & 
Hercezovina, Slovenia and Macedonia, which are all united by 
Serbo-Croatian language.
I'm currently studying Computer Science at the University of 
Belgrade,Serbia.


With Kind Regards,

Jovana Milutinovich
http://science.webhostinggeeks.com/
jovanam@webhostinggeeks.com
Tel: +381 63 8049100



From ietf-http-wg-request@listhub.w3.org  Mon Oct 15 07:23:55 2012
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 79D6821F866D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 Oct 2012 07:23:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.98
X-Spam-Level: 
X-Spam-Status: No, score=-9.98 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, RCVD_IN_SORBS_WEB=0.619]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wq77HAalOcVC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 Oct 2012 07:23:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 743AA21F8646 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 15 Oct 2012 07:23:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TNlXe-00058n-7i for ietf-http-wg-dist@listhub.w3.org; Mon, 15 Oct 2012 14:21:14 +0000
Resent-Date: Mon, 15 Oct 2012 14:21:14 +0000
Resent-Message-Id: <E1TNlXe-00058n-7i@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TNlXb-00057m-87 for ietf-http-wg@listhub.w3.org; Mon, 15 Oct 2012 14:21:11 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TNlXW-0003bt-EU for ietf-http-wg@w3.org; Mon, 15 Oct 2012 14:21:11 +0000
Received: (qmail invoked by alias); 15 Oct 2012 14:18:47 -0000
Received: from 206.111.142.135.ptr.us.xo.net (EHLO [10.11.2.242]) [206.111.142.135] by mail.gmx.net (mp010) with SMTP; 15 Oct 2012 16:18:47 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX192ZBBREpV2hB2MJelAJcGgAmHn7WSkgDLnrwq9rV 9hhWgHadg3Ml4c
Message-ID: <507C1B46.6000909@gmx.de>
Date: Mon, 15 Oct 2012 16:18:46 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Jovana Milutinovich <jovanam@webhostinggeeks.com>
CC: ietf-http-wg@w3.org
References: <507BC37C.2020908@webhostinggeeks.com>
In-Reply-To: <507BC37C.2020908@webhostinggeeks.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=0.6
X-W3C-Hub-Spam-Report: FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=0.614, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TNlXW-0003bt-EU 6d8ffa652d7ce07d1ac85f9d6031e8d5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Permission to translate your page at http://skrb.org/ietf/http_errata.html
Archived-At: <http://www.w3.org/mid/507C1B46.6000909@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15372
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>

On 2012-10-15 10:04, Jovana Milutinovich wrote:
> ...

Jovana,

that page is seriously outdated; the actual issues list is now at 
<http://trac.tools.ietf.org/wg/httpbis/trac/report/18>.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Mon Oct 15 15:36:54 2012
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 6DB3E21F8827 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 Oct 2012 15:36:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.16
X-Spam-Level: 
X-Spam-Status: No, score=-8.16 tagged_above=-999 required=5 tests=[AWL=2.439, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3G+4K+EArAte for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 Oct 2012 15:36:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A415C21F8806 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 15 Oct 2012 15:36:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TNtF1-0007uF-0y for ietf-http-wg-dist@listhub.w3.org; Mon, 15 Oct 2012 22:34:31 +0000
Resent-Date: Mon, 15 Oct 2012 22:34:31 +0000
Resent-Message-Id: <E1TNtF1-0007uF-0y@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TNtEu-0007t9-Ci for ietf-http-wg@listhub.w3.org; Mon, 15 Oct 2012 22:34:24 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TNtEr-0007Vs-H6 for ietf-http-wg@w3.org; Mon, 15 Oct 2012 22:34:24 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 963D722E255; Mon, 15 Oct 2012 18:33:58 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <507C1B46.6000909@gmx.de>
Date: Tue, 16 Oct 2012 09:33:52 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <EF3C9B5B-1B53-45ED-A3D2-4AA458012855@mnot.net>
References: <507BC37C.2020908@webhostinggeeks.com> <507C1B46.6000909@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-2.167, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TNtEr-0007Vs-H6 5d39f03348f0cbc5f874bf5cb6802a17
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Permission to translate your page at http://skrb.org/ietf/http_errata.html
Archived-At: <http://www.w3.org/mid/EF3C9B5B-1B53-45ED-A3D2-4AA458012855@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15373
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>

These are AFAICT automated e-mails; I've gotten several for things that =
don't make sense to translate. I think they're trying to get SEO =
advantage...

Regards,


On 16/10/2012, at 1:18 AM, Julian Reschke <julian.reschke@gmx.de> wrote:

> On 2012-10-15 10:04, Jovana Milutinovich wrote:
>> ...
>=20
> Jovana,
>=20
> that page is seriously outdated; the actual issues list is now at =
<http://trac.tools.ietf.org/wg/httpbis/trac/report/18>.
>=20
> Best regards, Julian
>=20
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 15 18:06:13 2012
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 3EA321F0C61 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 Oct 2012 18:06:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.494
X-Spam-Level: 
X-Spam-Status: No, score=-6.494 tagged_above=-999 required=5 tests=[AWL=4.105, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eA7EJLc8JNTw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 15 Oct 2012 18:06:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2249521F87E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 15 Oct 2012 18:06:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TNvZA-0006YO-K1 for ietf-http-wg-dist@listhub.w3.org; Tue, 16 Oct 2012 01:03:28 +0000
Resent-Date: Tue, 16 Oct 2012 01:03:28 +0000
Resent-Message-Id: <E1TNvZA-0006YO-K1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1TNvZ7-0006X4-9P for ietf-http-wg@listhub.w3.org; Tue, 16 Oct 2012 01:03:25 +0000
Received: from mailhost.stpeter.im ([207.210.219.225] helo=stpeter.im) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1TNvZ6-00005N-5v for ietf-http-wg@w3.org; Tue, 16 Oct 2012 01:03:25 +0000
Received: from [192.168.1.5] (unknown [71.237.13.154]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 7379F4011B; Mon, 15 Oct 2012 19:05:30 -0600 (MDT)
Message-ID: <507CB243.6000406@stpeter.im>
Date: Mon, 15 Oct 2012 19:02:59 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Julian Reschke <julian.reschke@gmx.de>, ietf-http-wg@w3.org
References: <507BC37C.2020908@webhostinggeeks.com> <507C1B46.6000909@gmx.de> <EF3C9B5B-1B53-45ED-A3D2-4AA458012855@mnot.net>
In-Reply-To: <EF3C9B5B-1B53-45ED-A3D2-4AA458012855@mnot.net>
X-Enigmail-Version: 1.4.5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=207.210.219.225; envelope-from=stpeter@stpeter.im; helo=stpeter.im
X-W3C-Hub-Spam-Status: No, score=-3.6
X-W3C-Hub-Spam-Report: AWL=-3.264, RP_MATCHES_RCVD=-0.371, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TNvZ6-00005N-5v e27cb96a36edc1f36dd67b73d3460515
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Permission to translate your page at http://skrb.org/ietf/http_errata.html
Archived-At: <http://www.w3.org/mid/507CB243.6000406@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15374
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>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/15/12 4:33 PM, Mark Nottingham wrote:
> These are AFAICT automated e-mails; I've gotten several for things 
> that don't make sense to translate. I think they're trying to get
> SEO advantage...

Agreed. They translated some inconsequential page on the AppsArea wiki
and proceeded to ask for a link exchange.

Peter

- -- 
Peter Saint-Andre
https://stpeter.im/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.18 (Darwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB8skMACgkQNL8k5A2w/vxWYgCg0cwSTmBMJT7ylcm/PIiSWIBl
5xoAnR5m2KXUbHRG9hqx3pvW3vbGr2Mz
=3864
-----END PGP SIGNATURE-----


From ietf-http-wg-request@listhub.w3.org  Tue Oct 16 12:36:55 2012
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 26F5B1F0C90 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 12:36:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.138
X-Spam-Level: 
X-Spam-Status: No, score=-8.138 tagged_above=-999 required=5 tests=[AWL=2.460, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xDdJzmdP3zpe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 12:36:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 21B241F0C69 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 16 Oct 2012 12:36:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOCuH-0006xl-S7 for ietf-http-wg-dist@listhub.w3.org; Tue, 16 Oct 2012 19:34:25 +0000
Resent-Date: Tue, 16 Oct 2012 19:34:25 +0000
Resent-Message-Id: <E1TOCuH-0006xl-S7@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TOCuE-0006wo-AD for ietf-http-wg@listhub.w3.org; Tue, 16 Oct 2012 19:34:22 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TOCuD-0000hG-09 for ietf-http-wg@w3.org; Tue, 16 Oct 2012 19:34:22 +0000
Received: by mail-qa0-f43.google.com with SMTP id k1so286795qaf.2 for <ietf-http-wg@w3.org>; Tue, 16 Oct 2012 12:33:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=na6SIP3LMA7MuR95E8+KObHXNPmpCPXEmPI7mb/SinM=; b=liitWPcsG3HzV+t6Opu4aO+oVk282UsHa8VuLGoER1UiNq5SAQNLgJ8J7SM1527FH5 DXbe8vlBH8SUIGEgzFpPLBQu2IalD944M6yiqwp5r4/hsDHPT5uQ9yVhvDkRzvVHI48z nvbT/Ya1+e3b7V/UnpLN8r7FngsIocmdgapKJhH4lYPmYNvYkJRIx64hzdzykHNfHyzH uZDpVjb13Pek/8enTEy99cIg43t227PkyBMk7I6Pl8pdY/oWOUsan0QdD+By8QIKgSoM 0woxuBHWfmu83K/aJehVQ6xkuiO0OByjoQxZoVpcKW6nKJ3Ot9FJMz765qls6uDq3tt4 9jwA==
Received: by 10.49.131.199 with SMTP id oo7mr36598605qeb.14.1350416035074; Tue, 16 Oct 2012 12:33:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Tue, 16 Oct 2012 12:33:34 -0700 (PDT)
In-Reply-To: <2E11857B-970B-44D6-8EB9-AF7BEFF28F50@nordsc.com>
References: <CALaySJKThBHRENpTsvvqbmmp5bReud+8RH36c5ngidhs6cC9Cw@mail.gmail.com> <9C722517-7948-4B0E-A78D-8992FD96F59B@mnot.net> <CABP7RbfdwHRGugepnZvRATq-wE7buuY3xSUEbRV+prp1Gy87BA@mail.gmail.com> <603A775B-5CCA-44F7-A7FF-BB22168CBE2B@mnot.net> <CABP7RbfOXNnqs-XVii8ZABDnFBX9rqrErtCbS=fHAZhbYUyZzQ@mail.gmail.com> <CCF75341-B3B2-4275-9BDD-F245D26736B8@mnot.net> <2E11857B-970B-44D6-8EB9-AF7BEFF28F50@nordsc.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 16 Oct 2012 12:33:34 -0700
Message-ID: <CABP7RbeU5vmUHb8FsHfnQf+Eyj1fYOGaL-f4robrOOQE3aNZEg@mail.gmail.com>
To: Jan Algermissen <jan.algermissen@nordsc.com>
Cc: Mark Nottingham <mnot@mnot.net>, Barry Leiba <barryleiba@computer.org>,  HTTP Working Group <ietf-http-wg@w3.org>, Apps Discuss <apps-discuss@ietf.org>
Content-Type: multipart/alternative; boundary=047d7bdc7c2411d6a304cc323c05
Received-SPF: pass client-ip=209.85.216.43; envelope-from=jasnell@gmail.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-2.485, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TOCuD-0000hG-09 8b71c23530e2e078d6e54b319def8b50
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [apps-discuss] Re-review of draft-snell-http-prefer-15
Archived-At: <http://www.w3.org/mid/CABP7RbeU5vmUHb8FsHfnQf+Eyj1fYOGaL-f4robrOOQE3aNZEg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15375
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>

--047d7bdc7c2411d6a304cc323c05
Content-Type: text/plain; charset=UTF-8

On Sat, Oct 13, 2012 at 2:08 PM, Jan Algermissen <jan.algermissen@nordsc.com
> wrote:

>
> On Oct 13, 2012, at 10:39 PM, Mark Nottingham wrote:
>
> >
> > On 14/10/2012, at 6:11 AM, James M Snell <jasnell@gmail.com> wrote:
> >
> >>> Right, but what's the difference between:
> >>>
> >>>  Prefer: wait=10
> >>> and
> >>>  Prefer: return-asynch, wait=10
> >>>
> >>> ? "return asynch" really says "give me a 202" which is nonsense; the
> client doesn't control the status code, the server does.
> >>>
> >>
> >> That's why it's a Prefer header and not Expect. The server retains
> control. "Prefer: wait=10" could just as easily result in the server simply
> throwing up it's hands and saying, "sorry, can't do it"
> >
> > And what does return-async(h) bring to the party?
>
> I cannot see that either. In fact, I cannot even imagine a server paying
> attention to the '10', given the juggling between estimating the task
> duration and comparing to the wait time.
>
> Maybe
>
>   Prefer: wait
>
> just does the job?
>

No, wait simply tells the server how long the client expects processing of
the request to take and does not communicate any information about the
preferred response. I could, for instance, have a theoretical "Prefer:
wait=120, respond-giveup" that could be interpreted as "I prefer you give
up if you can't process this request in less than 2 minutes".

- James


>
> Jan
>
>
> >
> > The server can still throw up its hands with a 4xx or 5xx, and the
> client has to deal with that.
> >
> >
> >
> > --
> > Mark Nottingham   http://www.mnot.net/
> >
> >
> >
> >
>
>

--047d7bdc7c2411d6a304cc323c05
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Sat, Oct 13, 2012 at 2:08 PM, Jan Algermissen <span dir=3D"ltr">&lt;=
<a href=3D"mailto:jan.algermissen@nordsc.com" target=3D"_blank">jan.algermi=
ssen@nordsc.com</a>&gt;</span> wrote:<br>


<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div><br>
On Oct 13, 2012, at 10:39 PM, Mark Nottingham wrote:<br>
<br>
&gt;<br>
&gt; On 14/10/2012, at 6:11 AM, James M Snell &lt;<a href=3D"mailto:jasnell=
@gmail.com" target=3D"_blank">jasnell@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;&gt; Right, but what&#39;s the difference between:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; =C2=A0Prefer: wait=3D10<br>
&gt;&gt;&gt; and<br>
&gt;&gt;&gt; =C2=A0Prefer: return-asynch, wait=3D10<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ? &quot;return asynch&quot; really says &quot;give me a 202&qu=
ot; which is nonsense; the client doesn&#39;t control the status code, the =
server does.<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; That&#39;s why it&#39;s a Prefer header and not Expect. The server=
 retains control. &quot;Prefer: wait=3D10&quot; could just as easily result=
 in the server simply throwing up it&#39;s hands and saying, &quot;sorry, c=
an&#39;t do it&quot;<br>



&gt;<br>
&gt; And what does return-async(h) bring to the party?<br>
<br>
</div>I cannot see that either. In fact, I cannot even imagine a server pay=
ing attention to the &#39;10&#39;, given the juggling between estimating th=
e task duration and comparing to the wait time.<br>
<br>
Maybe<br>
<br>
=C2=A0 Prefer: wait<br>
<br>
just does the job?<br></blockquote><div><br></div><div>No, wait simply tell=
s the server how long the client expects processing of the request to take =
and does not communicate any information about the preferred response. I co=
uld, for instance, have a theoretical &quot;Prefer: wait=3D120, respond-giv=
eup&quot; that could be interpreted as &quot;I prefer you give up if you ca=
n&#39;t process this request in less than 2 minutes&quot;.=C2=A0</div>


<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex">
<span><font color=3D"#888888"><br>
Jan<br>
</font></span><div><div><br>
<br>
&gt;<br>
&gt; The server can still throw up its hands with a 4xx or 5xx, and the cli=
ent has to deal with that.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Mark Nottingham =C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_bla=
nk">http://www.mnot.net/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br>

--047d7bdc7c2411d6a304cc323c05--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 16 17:17:16 2012
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 C9D7921F8648 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 17:17:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.147
X-Spam-Level: 
X-Spam-Status: No, score=-8.147 tagged_above=-999 required=5 tests=[AWL=2.451, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L625AiyKWHmX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 17:17:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8C5F411E80EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 16 Oct 2012 17:17:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOHI8-0003ny-5Y for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 00:15:20 +0000
Resent-Date: Wed, 17 Oct 2012 00:15:20 +0000
Resent-Message-Id: <E1TOHI8-0003ny-5Y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TOHI4-0003nJ-Kb for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 00:15:16 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TOHI3-0002ve-Bz for ietf-http-wg@w3.org; Wed, 17 Oct 2012 00:15:16 +0000
Received: by mail-qc0-f171.google.com with SMTP id d1so6040508qca.2 for <ietf-http-wg@w3.org>; Tue, 16 Oct 2012 17:14:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=+sVNS+ZnlT7i37TuvMNOaxBVrZh7Ag1thYYCYEPsfRQ=; b=dodHpWYiQbU3vCP7SoWUPPwoJg3kiTtN3KZ50kh2K04sX1f3LFLrUkb113rC2+fHaU xUGOQs9HRFPcRYhfXv7h2wUNPDaIA9b2v7RWWqb3tWB/LK1V17ZgRkstFisJ7WTLAOSM Q19mdwfbHTbFxpHAWB0Xfic8zSF1x25s2JsQGKhavMYpWnzhW+jNdyLKvELu3ktyPjw+ E1JQRYtxaCsQA9iVSkhEnuULn1/4TrSWdkYOUz/M/lJNIUg/5HvYS11cfVQcHk97sAdc GTR5ftUSTSLXyU13rhhVm5csXidSGVmzBs8YuNY+OAZAL8jK5MtqEmCrbBv/XcIFbYq+ 0HYQ==
Received: by 10.49.63.104 with SMTP id f8mr39902576qes.29.1350432870640; Tue, 16 Oct 2012 17:14:30 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Tue, 16 Oct 2012 17:14:10 -0700 (PDT)
In-Reply-To: <3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net>
References: <506C4B3D.6030806@andrew.cmu.edu> <3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 16 Oct 2012 17:14:10 -0700
Message-ID: <CABP7RbducJuzFE7LFw8NeM3HOvwiifrnaC7GcQe61LDWXDa57w@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Ken Murchison <murch@andrew.cmu.edu>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=047d7bdc1a3a8c2e4104cc362727
Received-SPF: pass client-ip=209.85.216.171; envelope-from=jasnell@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=-2.140, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TOHI3-0002ve-Bz 5c346b277ba64c88da013f8131028675
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/CABP7RbducJuzFE7LFw8NeM3HOvwiifrnaC7GcQe61LDWXDa57w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15376
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>

--047d7bdc1a3a8c2e4104cc362727
Content-Type: text/plain; charset=UTF-8

I certainly do agree that it would be useful to have some generic mechanism
within the response that can be used to unambiguously indicate that the
payload is a representation of the resource vs. a representation of the
status but such a mechanism currently does not exist. Perhaps we should
take some time to write it up. In the meantime, while I do understand the
objection here, I don't see how any of the suggestions below are a
significant improvement over Preference-Applied since all would essentially
have to deal with the same set of issues. For now, Preference-Applied is
not a perfect solution, but it addresses the immediate need and the spec
does clearly specify that it's use is solely intended for situations where
the application of a preference is not readily determinable by examining
the response and such information is critical to the handling of the
response. Hopefully such cases will be rare.

Mark: perhaps the thing we should put our heads together on a solution to
the resource vs. status issue and see if we can come up with a more general
solution?

- James

On Sat, Oct 13, 2012 at 11:40 AM, Mark Nottingham <mnot@mnot.net> wrote:

> Actually, I don't think you need Preference-Applied *or* Vary to indicate
> this; both are barking up the wrong tree.
>
> Rather, you need something with the specific semantics "the representation
> of the resource is byte-equivalent to the PUT request you just made" for
> *that* case.
>
> This could be a new status code, or it could be a header on the response.
> It could even be a "duplicate" link relation (RFC6249), pointing to a URI
> for "the request you just made"; e.g.
>
> 200 OK
> Link: <urn:http:your-request>; rel="duplicate"
>
> (obviously, we would need to get the URL actually defined)
>
> The tricky part, no matter what approach you take -- including
> preference-applied! -- is figuring out what this means for headers; it's
> fuzzy at best.
>
> Cheers,
>
>
> On 04/10/2012, at 12:27 AM, Ken Murchison <murch@andrew.cmu.edu> wrote:
>
> > Hello,
> >
> > I'm working on draft draft-murchison-webdav-prefer which describes how
> the return-minimal and return-representation apply to WebDAV/CalDAV
> methods.  My work is primarily CalDAV-centric but we are trying to make it
> generic to WebDAV and its derivatives.
> >
> > One of the issues that keeps coming up is a way for the client to
> differentiate between two  cases:
> >
> > - the server doesn't return a representation because it ignored or
> doesn't support the return-representation preference
> >
> > - the server understood the preference but didn't return a
> representation because it didn't change from what was in the request
> >
> > One possible solution is for the server to return a Vary: Prefer header
> to indicate that the server understood the preference, thereby allowing the
> client to infer what the lack of a representation in the response means.
> >
> > The next question is, does any such mandate or recommendation, if
> required, belong in my webdav-prefer draft or in the base Prefer spec?
> >
> > Thoughts?
> >
> > --
> > Kenneth Murchison
> > Principal Systems Software Engineer
> > Carnegie Mellon University
> >
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>

--047d7bdc1a3a8c2e4104cc362727
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">I certainly do agree that it would be =
useful to have some generic mechanism within the response that can be used =
to unambiguously indicate that the payload is a representation of the resou=
rce vs. a representation of the status but such a mechanism currently does =
not exist. Perhaps we should take some time to write it up. In the meantime=
, while I do understand the objection here, I don&#39;t see how any of the =
suggestions below are a significant improvement over Preference-Applied sin=
ce all would essentially have to deal with the same set of issues. For now,=
 Preference-Applied is not a perfect solution, but it addresses the immedia=
te need and the spec does clearly specify that it&#39;s use is solely inten=
ded for situations where the application of a preference is not readily det=
erminable by examining the response and such information is critical to the=
 handling of the response. Hopefully such cases will be rare.=C2=A0</font><=
div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Mark: perhaps the thing we should put our heads togeth=
er on a solution to the resource vs. status issue and see if we can come up=
 with a more general solution?</font></div>

<div><font face=3D"courier new,monospace"><br></font></div><div><font face=
=3D"courier new,monospace">- James<br></font><br><div class=3D"gmail_quote"=
>On Sat, Oct 13, 2012 at 11:40 AM, Mark Nottingham <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</spa=
n> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Actually, I don&#39;t think you need Prefere=
nce-Applied *or* Vary to indicate this; both are barking up the wrong tree.=
<br>


<br>
Rather, you need something with the specific semantics &quot;the representa=
tion of the resource is byte-equivalent to the PUT request you just made&qu=
ot; for *that* case.<br>
<br>
This could be a new status code, or it could be a header on the response. I=
t could even be a &quot;duplicate&quot; link relation (RFC6249), pointing t=
o a URI for &quot;the request you just made&quot;; e.g.<br>
<br>
200 OK<br>
Link: &lt;urn:http:your-request&gt;; rel=3D&quot;duplicate&quot;<br>
<br>
(obviously, we would need to get the URL actually defined)<br>
<br>
The tricky part, no matter what approach you take -- including preference-a=
pplied! -- is figuring out what this means for headers; it&#39;s fuzzy at b=
est.<br>
<br>
Cheers,<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On 04/10/2012, at 12:27 AM, Ken Murchison &lt;<a href=3D"mailto:murch@andre=
w.cmu.edu">murch@andrew.cmu.edu</a>&gt; wrote:<br>
<br>
&gt; Hello,<br>
&gt;<br>
&gt; I&#39;m working on draft draft-murchison-webdav-prefer which describes=
 how the return-minimal and return-representation apply to WebDAV/CalDAV me=
thods. =C2=A0My work is primarily CalDAV-centric but we are trying to make =
it generic to WebDAV and its derivatives.<br>


&gt;<br>
&gt; One of the issues that keeps coming up is a way for the client to diff=
erentiate between two =C2=A0cases:<br>
&gt;<br>
&gt; - the server doesn&#39;t return a representation because it ignored or=
 doesn&#39;t support the return-representation preference<br>
&gt;<br>
&gt; - the server understood the preference but didn&#39;t return a represe=
ntation because it didn&#39;t change from what was in the request<br>
&gt;<br>
&gt; One possible solution is for the server to return a Vary: Prefer heade=
r to indicate that the server understood the preference, thereby allowing t=
he client to infer what the lack of a representation in the response means.=
<br>


&gt;<br>
&gt; The next question is, does any such mandate or recommendation, if requ=
ired, belong in my webdav-prefer draft or in the base Prefer spec?<br>
&gt;<br>
&gt; Thoughts?<br>
&gt;<br>
&gt; --<br>
&gt; Kenneth Murchison<br>
&gt; Principal Systems Software Engineer<br>
&gt; Carnegie Mellon University<br>
&gt;<br>
<br>
</div></div><div class=3D"HOEnZb"><div class=3D"h5">--<br>
Mark Nottingham =C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">h=
ttp://www.mnot.net/</a><br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>

--047d7bdc1a3a8c2e4104cc362727--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 16 22:49:25 2012
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 A901E21F877A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 22:49:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J0Gl9aZRLMOR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 22:49:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DFD2F21F8726 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 16 Oct 2012 22:49:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOMTK-00036F-Nw for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 05:47:14 +0000
Resent-Date: Wed, 17 Oct 2012 05:47:14 +0000
Resent-Message-Id: <E1TOMTK-00036F-Nw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1TOMTH-00034P-Fw for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 05:47:11 +0000
Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81] helo=homiemail-a32.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1TOMTG-0007KS-BL for ietf-http-wg@w3.org; Wed, 17 Oct 2012 05:47:11 +0000
Received: from homiemail-a32.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTP id CFECF584065; Tue, 16 Oct 2012 22:46:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=XB/xN1qBYP9CE8egPwOjF9Al/bw=; b=Nt8VWHWCbN7oPfliYGL2/d2/7piH 7FzeyZPOj79mY2/B6725zewdFzYq3pjQoDu09CTMyzP2X/jhwR7dnNhcr67EqgSd XUm/L19gJlpMaLuPLPYBvO82pp3oMwQ9b7UV6jAPuRIUw8aiYwbWhsV3LqDJKCJb TbEcMIVbiyyA/W0=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a32.g.dreamhost.com (Postfix) with ESMTPSA id A9535584064; Tue, 16 Oct 2012 22:46:48 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset=iso-8859-1
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net>
Date: Tue, 16 Oct 2012 22:46:37 -0700
Cc: Ken Murchison <murch@andrew.cmu.edu>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <41650251-6CAD-43C1-98C8-7F23B0F2E6F8@gbiv.com>
References: <506C4B3D.6030806@andrew.cmu.edu> <3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net>
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.1283)
Received-SPF: none client-ip=208.97.132.81; envelope-from=fielding@gbiv.com; helo=homiemail-a32.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.398, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1TOMTG-0007KS-BL 36b8473863eb1f4f49ec6e05a875f941
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/41650251-6CAD-43C1-98C8-7F23B0F2E6F8@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15377
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>

On Oct 13, 2012, at 11:40 AM, Mark Nottingham wrote:

> Actually, I don't think you need Preference-Applied *or* Vary to =
indicate this; both are barking up the wrong tree.=20
>=20
> Rather, you need something with the specific semantics "the =
representation of the resource is byte-equivalent to the PUT request you =
just made" for *that* case.
>=20
> This could be a new status code, or it could be a header on the =
response. It could even be a "duplicate" link relation (RFC6249), =
pointing to a URI for "the request you just made"; e.g.

There is nothing to guarantee that the PUT payload received by
the origin server is byte-equivalent to the payload sent by the
user agent, so it does little good for the origin to say that
it received what "you" sent and didn't change it.

A more interoperable protocol would be for the request message to
contain some sort of end-to-end hash or signature of the request
representation, and the server to respond with the same hash
applied to the new representation.

....Roy



From ietf-http-wg-request@listhub.w3.org  Tue Oct 16 22:58:44 2012
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 11DF921F85B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 22:58:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.18
X-Spam-Level: 
X-Spam-Status: No, score=-8.18 tagged_above=-999 required=5 tests=[AWL=2.418, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RaPZauPCqvFu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 22:58:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2256F21F857A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 16 Oct 2012 22:58:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOMdM-0006lo-6v for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 05:57:36 +0000
Resent-Date: Wed, 17 Oct 2012 05:57:36 +0000
Resent-Message-Id: <E1TOMdM-0006lo-6v@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TOMdJ-0006kz-Az for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 05:57:33 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TOMdI-0007iU-8D for ietf-http-wg@w3.org; Wed, 17 Oct 2012 05:57:33 +0000
Received: by mail-qc0-f171.google.com with SMTP id d1so6223496qca.2 for <ietf-http-wg@w3.org>; Tue, 16 Oct 2012 22:57:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=z94wNIFe4L0KRSW4AnFH77rpJQ4c1Ay+HDOtuUogAgE=; b=0ZwqIrueVVf4lFDjjFTG5QhMkiJpOrpEcvZSQjecnigPEwZXhK82kX/G6DOvWOhGtL M1d4MOOaqTMY0/sbZ/QQcIggzkHDDaL9lYz59O4KPbt1zYQ06yIwywWw+rsL8TneTwRV Eu7H11Z+sTCYswWjstiVfj3aSnObJ4DvZzafhNerCAS6Oju4aUJkuDB6ZKDs8MIJU3W1 g+r2IX6pHJ1EEkf4z8e4JAKZiQu+3BUEASPqRXFel2Nyrbu6HmMwB/aZYiYDnvmTzpQz jxiBDrnnD9kcWFGgxRVpmcsEkgZK8LCaDd5TRbALQIph0oewT5VnbAdz/MzbAqvpjxBp 07ig==
Received: by 10.49.131.199 with SMTP id oo7mr39402915qeb.14.1350453426109; Tue, 16 Oct 2012 22:57:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Tue, 16 Oct 2012 22:56:45 -0700 (PDT)
In-Reply-To: <41650251-6CAD-43C1-98C8-7F23B0F2E6F8@gbiv.com>
References: <506C4B3D.6030806@andrew.cmu.edu> <3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net> <41650251-6CAD-43C1-98C8-7F23B0F2E6F8@gbiv.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 16 Oct 2012 22:56:45 -0700
Message-ID: <CABP7Rbcng8Zk+GiB7hrNPztb7+k0vHO+6b1GH9xXNtekEy0LCQ@mail.gmail.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Mark Nottingham <mnot@mnot.net>, Ken Murchison <murch@andrew.cmu.edu>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=047d7bdc7c24bfbde104cc3af0d3
Received-SPF: pass client-ip=209.85.216.171; envelope-from=jasnell@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.8
X-W3C-Hub-Spam-Report: AWL=-2.006, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TOMdI-0007iU-8D 5d971fcc961b52d89ff1ea3b673a81fc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/CABP7Rbcng8Zk+GiB7hrNPztb7+k0vHO+6b1GH9xXNtekEy0LCQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15378
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>

--047d7bdc7c24bfbde104cc3af0d3
Content-Type: text/plain; charset=UTF-8

On Tue, Oct 16, 2012 at 10:46 PM, Roy T. Fielding <fielding@gbiv.com> wrote:

> On Oct 13, 2012, at 11:40 AM, Mark Nottingham wrote:
>
> > Actually, I don't think you need Preference-Applied *or* Vary to
> indicate this; both are barking up the wrong tree.
> >
> > Rather, you need something with the specific semantics "the
> representation of the resource is byte-equivalent to the PUT request you
> just made" for *that* case.
> >
> > This could be a new status code, or it could be a header on the
> response. It could even be a "duplicate" link relation (RFC6249), pointing
> to a URI for "the request you just made"; e.g.
>
> There is nothing to guarantee that the PUT payload received by
> the origin server is byte-equivalent to the payload sent by the
> user agent, so it does little good for the origin to say that
> it received what "you" sent and didn't change it.
>
>
Noted and agreed.. but that's not quite what's going on with the Prefer
header here. The return-representation preference merely indicates to the
server that the UA would like the server to return a representation of the
resource within the response vs. a representation of the request status.
What's missing is some indicator within the response as to which the server
is actually returning. There is some ambiguity that needs to be resolved.
All the Preference-Applied header does is provide an explicit indicator
that the server did, in fact, do as the UA asked and returned the resource
representation in the response... an indicator that is only necessary if
it's not obvious by the content type of the payload or by direct
examination of the payload.


> A more interoperable protocol would be for the request message to
> contain some sort of end-to-end hash or signature of the request
> representation, and the server to respond with the same hash
> applied to the new representation.
>
>
Agreed, but again, that's an orthogonal problem to the one addressed by the
Prefer header.

- James


> ....Roy
>
>
>

--047d7bdc7c24bfbde104cc3af0d3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Oct 16, 2012 at 10:46 PM, Roy T. Fielding <span dir=3D"ltr">&lt=
;<a href=3D"mailto:fielding@gbiv.com" target=3D"_blank">fielding@gbiv.com</=
a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On Oct 13, 2012, at 11:40 =
AM, Mark Nottingham wrote:<br>
<br>
&gt; Actually, I don&#39;t think you need Preference-Applied *or* Vary to i=
ndicate this; both are barking up the wrong tree.<br>
&gt;<br>
&gt; Rather, you need something with the specific semantics &quot;the repre=
sentation of the resource is byte-equivalent to the PUT request you just ma=
de&quot; for *that* case.<br>
&gt;<br>
&gt; This could be a new status code, or it could be a header on the respon=
se. It could even be a &quot;duplicate&quot; link relation (RFC6249), point=
ing to a URI for &quot;the request you just made&quot;; e.g.<br>
<br>
</div>There is nothing to guarantee that the PUT payload received by<br>
the origin server is byte-equivalent to the payload sent by the<br>
user agent, so it does little good for the origin to say that<br>
it received what &quot;you&quot; sent and didn&#39;t change it.<br>
<br></blockquote><div><br></div><div>Noted and agreed.. but that&#39;s not =
quite what&#39;s going on with the Prefer header here. The return-represent=
ation preference merely indicates to the server that the UA would like the =
server to return a representation of the resource within the response vs. a=
 representation of the request status. What&#39;s missing is some indicator=
 within the response as to which the server is actually returning. There is=
 some ambiguity that needs to be resolved. All the Preference-Applied heade=
r does is provide an explicit indicator that the server did, in fact, do as=
 the UA asked and returned the resource representation in the response... a=
n indicator that is only necessary if it&#39;s not obvious by the content t=
ype of the payload or by direct examination of the payload.=C2=A0</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
A more interoperable protocol would be for the request message to<br>
contain some sort of end-to-end hash or signature of the request<br>
representation, and the server to respond with the same hash<br>
applied to the new representation.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br></font></span></blockquo=
te><div><br></div><div>Agreed, but again, that&#39;s an orthogonal problem =
to the one addressed by the Prefer header.</div><div><br></div><div>- James=
</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"HOEnZb"><fon=
t color=3D"#888888">
....Roy<br>
<br>
<br>
</font></span></blockquote></div><br>

--047d7bdc7c24bfbde104cc3af0d3--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 16 23:12:17 2012
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 D4E7F21F87B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 23:12:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i0+49taT3vlV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 23:12:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1518B21F875B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 16 Oct 2012 23:12:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOMqW-0005xf-RM for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 06:11:12 +0000
Resent-Date: Wed, 17 Oct 2012 06:11:12 +0000
Resent-Message-Id: <E1TOMqW-0005xf-RM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1TOMqU-0005x0-BU for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 06:11:10 +0000
Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177] helo=homiemail-a25.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1TOMqS-0005WJ-Oy for ietf-http-wg@w3.org; Wed, 17 Oct 2012 06:11:10 +0000
Received: from homiemail-a25.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTP id 8CD8E678058; Tue, 16 Oct 2012 23:10:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=subject :mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=gbiv.com; bh=drKcasOBIzocGDEqw8aE64G7UVM=; b=i1VzOF1/nJAcqVcCsA90A7/N4AJ3 v7OlXBMGK3Q2OyHzXLC0zxx8zbpOCXAu2lNJ+d9UP7D4NF/pOu1OhXqr7/2LwrTf 8Wmiqjr6L0xWkDuypSgdNx78SqDSR6SKEccehhctIJ1CQsHNl560eTHdrwtE2JT2 5tnH53ou0i5hnNI=
Received: from [192.168.1.84] (99-21-208-82.lightspeed.irvnca.sbcglobal.net [99.21.208.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a25.g.dreamhost.com (Postfix) with ESMTPSA id 5CE29678055; Tue, 16 Oct 2012 23:10:47 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset=us-ascii
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <CABP7Rbcng8Zk+GiB7hrNPztb7+k0vHO+6b1GH9xXNtekEy0LCQ@mail.gmail.com>
Date: Tue, 16 Oct 2012 23:10:53 -0700
Cc: Mark Nottingham <mnot@mnot.net>, Ken Murchison <murch@andrew.cmu.edu>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <3DF78593-DBB1-4894-8D24-144E841FC956@gbiv.com>
References: <506C4B3D.6030806@andrew.cmu.edu> <3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net> <41650251-6CAD-43C1-98C8-7F23B0F2E6F8@gbiv.com> <CABP7Rbcng8Zk+GiB7hrNPztb7+k0vHO+6b1GH9xXNtekEy0LCQ@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1283)
Received-SPF: none client-ip=208.97.132.177; envelope-from=fielding@gbiv.com; helo=homiemail-a25.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-3.277, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1TOMqS-0005WJ-Oy 81be7b7639eae2dc967f6b6bd858f999
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/3DF78593-DBB1-4894-8D24-144E841FC956@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15379
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>

On Oct 16, 2012, at 10:56 PM, James M Snell wrote:
> Noted and agreed.. but that's not quite what's going on with the =
Prefer header here. The return-representation preference merely =
indicates to the server that the UA would like the server to return a =
representation of the resource within the response vs. a representation =
of the request status. What's missing is some indicator within the =
response as to which the server is actually returning. There is some =
ambiguity that needs to be resolved. All the Preference-Applied header =
does is provide an explicit indicator that the server did, in fact, do =
as the UA asked and returned the resource representation in the =
response... an indicator that is only necessary if it's not obvious by =
the content type of the payload or by direct examination of the payload.=20=


In that case, there is no need for it.  A Content-Location field with
the same value as the effective request URI means that the preference
has been applied.  See

=
http://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/21/p2-semantic=
s.html#header.content-location

....Roy



From ietf-http-wg-request@listhub.w3.org  Tue Oct 16 23:34:05 2012
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 D0F0F21F8619 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 23:34:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.235
X-Spam-Level: 
X-Spam-Status: No, score=-8.235 tagged_above=-999 required=5 tests=[AWL=2.363, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HCPo3OAbb+0B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 16 Oct 2012 23:34:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 05C2521F861E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 16 Oct 2012 23:34:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TONBM-0000BO-05 for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 06:32:44 +0000
Resent-Date: Wed, 17 Oct 2012 06:32:44 +0000
Resent-Message-Id: <E1TONBM-0000BO-05@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TONBI-0000AZ-NG for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 06:32:40 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TONBE-0000fS-IU for ietf-http-wg@w3.org; Wed, 17 Oct 2012 06:32:40 +0000
Received: by mail-qa0-f43.google.com with SMTP id k1so209781qaf.2 for <ietf-http-wg@w3.org>; Tue, 16 Oct 2012 23:32:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=4s9gs5EXLQm7OWYKD0MTSgLfsRMUcDUklOe/AO9zSTE=; b=H0xaGDYgVGLCN2qc6uw7rRDF1n6g/6q+rhDzc/qmIFYZ+c20ZU/DT131a04/ZFeZSv zjWiN1fV6TtBuSVFRkQ038h3tMoraph1KTeGp01WA7lvqrqAd2wK5USaDUQMXtHowUlg DV8BXqH+QWqNd5xmT1KTXbbE86R4ykY358/XOWxutcb81u9WDZC6TgOP9Bix7zVk43++ krDVcuz8LnGIMYdBKF2N1mgJ+79F1ruit3w00FfwazfhsSXARKhUTWu2xQUgErTZpSyX bVoKKgIACW/Npu8j6z1z3Uhq9u71p5T5qwCYu+lLn9xVhYXQ+fwBx7fnXK+npN/YCMoB Mcww==
Received: by 10.49.5.9 with SMTP id o9mr40268166qeo.55.1350455530406; Tue, 16 Oct 2012 23:32:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Tue, 16 Oct 2012 23:31:50 -0700 (PDT)
In-Reply-To: <3DF78593-DBB1-4894-8D24-144E841FC956@gbiv.com>
References: <506C4B3D.6030806@andrew.cmu.edu> <3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net> <41650251-6CAD-43C1-98C8-7F23B0F2E6F8@gbiv.com> <CABP7Rbcng8Zk+GiB7hrNPztb7+k0vHO+6b1GH9xXNtekEy0LCQ@mail.gmail.com> <3DF78593-DBB1-4894-8D24-144E841FC956@gbiv.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 16 Oct 2012 23:31:50 -0700
Message-ID: <CABP7Rbc=2B4_zkfc4Oa7BbVVyUG9YCNhR4VwXETcLPRx3AuFgg@mail.gmail.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Mark Nottingham <mnot@mnot.net>, Ken Murchison <murch@andrew.cmu.edu>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=047d7bea32da2cc23904cc3b6e22
Received-SPF: pass client-ip=209.85.216.43; envelope-from=jasnell@gmail.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: AWL=-1.888, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TONBE-0000fS-IU ae013ad8f33f9594487af36be7894b82
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/CABP7Rbc=2B4_zkfc4Oa7BbVVyUG9YCNhR4VwXETcLPRx3AuFgg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15380
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>

--047d7bea32da2cc23904cc3b6e22
Content-Type: text/plain; charset=UTF-8

You know how every once in a while you can read something over and over and
about the fifth or sixth time you read through it you suddenly notice
something that's been there for a while and think, "Dammit! where did that
come from?!" ... Sigh, I had completely overlooked the fact that this level
of detail was added to p2 for content-location. Turns out it's quite
helpful to RTFM after all.

On Tue, Oct 16, 2012 at 11:10 PM, Roy T. Fielding <fielding@gbiv.com> wrote:

> On Oct 16, 2012, at 10:56 PM, James M Snell wrote:
> > Noted and agreed.. but that's not quite what's going on with the Prefer
> header here. The return-representation preference merely indicates to the
> server that the UA would like the server to return a representation of the
> resource within the response vs. a representation of the request status.
> What's missing is some indicator within the response as to which the server
> is actually returning. There is some ambiguity that needs to be resolved.
> All the Preference-Applied header does is provide an explicit indicator
> that the server did, in fact, do as the UA asked and returned the resource
> representation in the response... an indicator that is only necessary if
> it's not obvious by the content type of the payload or by direct
> examination of the payload.
>
> In that case, there is no need for it.  A Content-Location field with
> the same value as the effective request URI means that the preference
> has been applied.  See
>
>
> http://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/21/p2-semantics.html#header.content-location
>
> ....Roy
>
>

--047d7bea32da2cc23904cc3b6e22
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">You know how every once in a while you=
 can read something over and over and about the fifth or sixth time you rea=
d through it you suddenly notice something that&#39;s been there for a whil=
e and think, &quot;Dammit! where did that come from?!&quot; ... Sigh, I had=
 completely overlooked the fact that this level of detail was added to p2 f=
or content-location. Turns out it&#39;s quite helpful to RTFM after all.</f=
ont><div>

<div><br><div class=3D"gmail_quote">On Tue, Oct 16, 2012 at 11:10 PM, Roy T=
. Fielding <span dir=3D"ltr">&lt;<a href=3D"mailto:fielding@gbiv.com" targe=
t=3D"_blank">fielding@gbiv.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">

<div class=3D"im">On Oct 16, 2012, at 10:56 PM, James M Snell wrote:<br>
&gt; Noted and agreed.. but that&#39;s not quite what&#39;s going on with t=
he Prefer header here. The return-representation preference merely indicate=
s to the server that the UA would like the server to return a representatio=
n of the resource within the response vs. a representation of the request s=
tatus. What&#39;s missing is some indicator within the response as to which=
 the server is actually returning. There is some ambiguity that needs to be=
 resolved. All the Preference-Applied header does is provide an explicit in=
dicator that the server did, in fact, do as the UA asked and returned the r=
esource representation in the response... an indicator that is only necessa=
ry if it&#39;s not obvious by the content type of the payload or by direct =
examination of the payload.<br>


<br>
</div>In that case, there is no need for it. =C2=A0A Content-Location field=
 with<br>
the same value as the effective request URI means that the preference<br>
has been applied. =C2=A0See<br>
<br>
<a href=3D"http://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/21/p=
2-semantics.html#header.content-location" target=3D"_blank">http://svn.tool=
s.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/21/p2-semantics.html#header.co=
ntent-location</a><br>


<span class=3D"HOEnZb"><font color=3D"#888888"><br>
....Roy<br>
<br>
</font></span></blockquote></div><br></div></div>

--047d7bea32da2cc23904cc3b6e22--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 00:21:58 2012
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 5D7E221F85E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 00:21:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EElB7mjsBzEg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 00:21:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D6EFE21F853A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 00:21:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TONvM-00067u-OL for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 07:20:16 +0000
Resent-Date: Wed, 17 Oct 2012 07:20:16 +0000
Resent-Message-Id: <E1TONvM-00067u-OL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <simonp@opera.com>) id 1TONvK-000672-FZ for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 07:20:14 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <simonp@opera.com>) id 1TONvJ-0002U0-CL for ietf-http-wg@w3.org; Wed, 17 Oct 2012 07:20:14 +0000
Received: from simons-macbook-pro.local (oslo.jvpn.opera.com [213.236.208.46]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q9H7Jj2i022138 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Wed, 17 Oct 2012 07:19:46 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
Date: Wed, 17 Oct 2012 09:19:46 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Simon Pieters" <simonp@opera.com>
Organization: Opera Software
Message-ID: <op.wmbam8vtidj3kv@simons-macbook-pro.local>
User-Agent: Opera Mail/12.02 (MacIntel)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=simonp@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-1.463, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.37, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TONvJ-0002U0-CL 719aad0bcb9e834c05e1adf8924b3e46
X-Original-To: ietf-http-wg@w3.org
Subject: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/op.wmbam8vtidj3kv@simons-macbook-pro.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15381
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>

See http://www.w3.org/mid/507D94AB.3000207@mit.edu

It would be useful if the spec required that UAs and intermediary caches  
act as if all responses had Vary: User-Agent specified, since many pages  
on the Web serve different content depending on the User-Agent header but  
do not bother specifying Vary: User-Agent.

I would like this to be filed as a new issue in the issue tracker.

cheers,
-- 
Simon Pieters
Opera Software


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 00:33:47 2012
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 D41EA21F851E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 00:33:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.115
X-Spam-Level: 
X-Spam-Status: No, score=-8.115 tagged_above=-999 required=5 tests=[AWL=2.484, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A7OtXD4DLs2X for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 00:33:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 341F221F850B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 00:33:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOO7V-0003iI-Qp for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 07:32:49 +0000
Resent-Date: Wed, 17 Oct 2012 07:32:49 +0000
Resent-Message-Id: <E1TOO7V-0003iI-Qp@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TOO7T-0003gM-AU for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 07:32:47 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TOO7P-0008Vr-61 for ietf-http-wg@w3.org; Wed, 17 Oct 2012 07:32:47 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id CE4D722DD6D; Wed, 17 Oct 2012 03:32:19 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <op.wmbam8vtidj3kv@simons-macbook-pro.local>
Date: Wed, 17 Oct 2012 18:32:14 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <3D77B8BC-B65D-4D88-8137-9E8B32A13844@mnot.net>
References: <op.wmbam8vtidj3kv@simons-macbook-pro.local>
To: "Simon Pieters" <simonp@opera.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-1.634, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TOO7P-0008Vr-61 cf34b33338ff374aec7616f239046159
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/3D77B8BC-B65D-4D88-8137-9E8B32A13844@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15382
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>

Um, no.

Not only will this retroactively make all intermediary caches =
non-conformant, it'll also make them completely useless, because of the =
large (and unnecessary) amount of variance in User-Agent headers.

I understand there are security issues here caused by CORS, but that =
doesn't give you the ability to force changes on the rest of the Web.=20

Regards,


On 17/10/2012, at 6:19 PM, "Simon Pieters" <simonp@opera.com> wrote:

> See http://www.w3.org/mid/507D94AB.3000207@mit.edu
>=20
> It would be useful if the spec required that UAs and intermediary =
caches act as if all responses had Vary: User-Agent specified, since =
many pages on the Web serve different content depending on the =
User-Agent header but do not bother specifying Vary: User-Agent.
>=20
> I would like this to be filed as a new issue in the issue tracker.
>=20
> cheers,
> --=20
> Simon Pieters
> Opera Software
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 01:17:20 2012
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 917B921F875B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 01:17:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DjEa6hLhhpxR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 01:17:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8DBC021F873C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 01:17:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOOnd-00017h-4A for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 08:16:21 +0000
Resent-Date: Wed, 17 Oct 2012 08:16:21 +0000
Resent-Message-Id: <E1TOOnd-00017h-4A@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1TOOnW-000153-Tu for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 08:16:14 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1TOOnV-000582-A2 for ietf-http-wg@w3.org; Wed, 17 Oct 2012 08:16:14 +0000
Received: from critter.freebsd.dk (critter-phk.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 7DD653B76C; Wed, 17 Oct 2012 08:15:51 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q9H8FpeH005131; Wed, 17 Oct 2012 08:15:51 GMT (envelope-from phk@phk.freebsd.dk)
To: "Simon Pieters" <simonp@opera.com>
cc: ietf-http-wg@w3.org
In-reply-to: <op.wmbam8vtidj3kv@simons-macbook-pro.local>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
References: <op.wmbam8vtidj3kv@simons-macbook-pro.local>
Date: Wed, 17 Oct 2012 08:15:51 +0000
Message-ID: <5130.1350461751@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-3.6
X-W3C-Hub-Spam-Report: AWL=-3.265, RP_MATCHES_RCVD=-0.37
X-W3C-Scan-Sig: maggie.w3.org 1TOOnV-000582-A2 0cd31f7b72eada32d11c7cceae335c66
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/5130.1350461751@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15383
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>

--------
In message <op.wmbam8vtidj3kv@simons-macbook-pro.local>, "Simon Pieters" writes
:

>It would be useful if the spec required that UAs and intermediary caches  
>act as if all responses had Vary: User-Agent specified, since many pages  
>on the Web serve different content depending on the User-Agent header but  
>do not bother specifying Vary: User-Agent.
>
>I would like this to be filed as a new issue in the issue tracker.

Fine with me, provided you _first_ reduce the number of distinct
U-A strings on the web to something reasonable, lets say no more than 25 ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 02:02:56 2012
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 6D48521F8659 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 02:02:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vCT6J5XjHyxT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 02:02:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 69F2F21F8585 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 02:02:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOPVC-0001DE-Is for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 09:01:22 +0000
Resent-Date: Wed, 17 Oct 2012 09:01:22 +0000
Resent-Message-Id: <E1TOPVC-0001DE-Is@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <simonp@opera.com>) id 1TOPV9-0001By-Ix for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 09:01:19 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <simonp@opera.com>) id 1TOPV4-0007A8-FS for ietf-http-wg@w3.org; Wed, 17 Oct 2012 09:01:19 +0000
Received: from simons-macbook-pro.local (oslo.jvpn.opera.com [213.236.208.46]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q9H90h1D027381 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 17 Oct 2012 09:00:44 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "Mark Nottingham" <mnot@mnot.net>
Cc: ietf-http-wg@w3.org
References: <op.wmbam8vtidj3kv@simons-macbook-pro.local> <3D77B8BC-B65D-4D88-8137-9E8B32A13844@mnot.net>
Date: Wed, 17 Oct 2012 11:00:42 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Simon Pieters" <simonp@opera.com>
Organization: Opera Software
Message-ID: <op.wmbfbgltidj3kv@simons-macbook-pro.local>
In-Reply-To: <3D77B8BC-B65D-4D88-8137-9E8B32A13844@mnot.net>
User-Agent: Opera Mail/12.02 (MacIntel)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=simonp@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-1.499, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.37, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TOPV4-0007A8-FS e66d7954e2b9994eb556e7ae3701a9a6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/op.wmbfbgltidj3kv@simons-macbook-pro.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15384
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>

On Wed, 17 Oct 2012 09:32:14 +0200, Mark Nottingham <mnot@mnot.net> wrote:

> Um, no.
>
> Not only will this retroactively make all intermediary caches  
> non-conformant, it'll also make them completely useless, because of the  
> large (and unnecessary) amount of variance in User-Agent headers.

OK, I can see now that it would make them useless.

> I understand there are security issues here caused by CORS,

The security issue under discussion in the referenced thread would  
materialize if browsers start allowing changing the User-Agent header in  
XHR without sanitizing it. However, that's not the reason I sent the  
email. The reason is that bz argued that intermediary caches are broken,  
which they are for pages on the Web that vary but don't say they vary,  
however that's not actually limited to the User-Agent header and is not a  
valid reason to require intermediary caches be useless instead of broken.

Also see  
http://lists.w3.org/Archives/Public/public-webapps/2012OctDec/0216.html
-- 
Simon Pieters
Opera Software


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 02:30:45 2012
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 4091F21F883F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 02:30:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_44=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23OHyYWABsaL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 02:30:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7AA8321F883B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 02:30:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOPwb-0005f7-GE for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 09:29:41 +0000
Resent-Date: Wed, 17 Oct 2012 09:29:41 +0000
Resent-Message-Id: <E1TOPwb-0005f7-GE@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TOPwW-0005eE-He for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 09:29:36 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TOPwV-0000D7-8R for ietf-http-wg@w3.org; Wed, 17 Oct 2012 09:29:36 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 27992E6D88 for <ietf-http-wg@w3.org>; Wed, 17 Oct 2012 22:29:05 +1300 (NZDT)
Message-ID: <507E7A57.7070709@treenet.co.nz>
Date: Wed, 17 Oct 2012 22:28:55 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <op.wmbam8vtidj3kv@simons-macbook-pro.local> <3D77B8BC-B65D-4D88-8137-9E8B32A13844@mnot.net> <op.wmbfbgltidj3kv@simons-macbook-pro.local>
In-Reply-To: <op.wmbfbgltidj3kv@simons-macbook-pro.local>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TOPwV-0000D7-8R 074b36f8a2babbb4006a2b9a47529b88
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/507E7A57.7070709@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15385
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>

On 17/10/2012 10:00 p.m., Simon Pieters wrote:
> On Wed, 17 Oct 2012 09:32:14 +0200, Mark Nottingham <mnot@mnot.net> 
> wrote:
>
>> Um, no.
>>
>> Not only will this retroactively make all intermediary caches 
>> non-conformant, it'll also make them completely useless, because of 
>> the large (and unnecessary) amount of variance in User-Agent headers.
>
> OK, I can see now that it would make them useless.
>
>> I understand there are security issues here caused by CORS,
>
> The security issue under discussion in the referenced thread would 
> materialize if browsers start allowing changing the User-Agent header 
> in XHR without sanitizing it. However, that's not the reason I sent 
> the email. The reason is that bz argued that intermediary caches are 
> broken, which they are for pages on the Web that vary but don't say 
> they vary, however that's not actually limited to the User-Agent 
> header and is not a valid reason to require intermediary caches be 
> useless instead of broken.
>
> Also see 
> http://lists.w3.org/Archives/Public/public-webapps/2012OctDec/0216.html

Exactly. Vary is mandatory for resources with negitiated variations - 
even if it is the nasty "Vary: *". Servers which omit it while varying 
the representation are non-compliant with HTTP already - thus the broken 
complainants have no ground to stand on.

However, if you were to propose an implicit Vary:ETag that would be 
another matter entirely and something I wholeheartedly support. Although 
the smart servers already do that anyway.

AYJ


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 04:33:15 2012
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 4E71221F87EF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 04:33:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.367
X-Spam-Level: 
X-Spam-Status: No, score=-7.367 tagged_above=-999 required=5 tests=[AWL=3.231, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7a301fzZprYI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 04:33:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2D1F121F87E8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 04:33:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TORqI-0003Uk-R9 for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 11:31:18 +0000
Resent-Date: Wed, 17 Oct 2012 11:31:18 +0000
Resent-Message-Id: <E1TORqI-0003Uk-R9@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1TORqF-0003U5-G1 for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 11:31:15 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1TORqE-0005OV-34 for ietf-http-wg@w3.org; Wed, 17 Oct 2012 11:31:15 +0000
Received: by mail-ob0-f171.google.com with SMTP id 16so8029037obc.2 for <ietf-http-wg@w3.org>; Wed, 17 Oct 2012 04:30:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KEWQShdKsdSYQnYuhzxjmut4NdkbFeOTOeHTa5OBs6o=; b=er6IYwkxPt0zZmw51d9WgmTQMspTma5k7Q7UzT3YEnVnLivuyfof3rKfnJ/OQR2YsK mPpXdAXkAYXv6a39MFjmgl2Fr9aetIRYDk0/vEjDSWCXkJ2jOYY9OU4p/xBm9GJMXCyI 2BNUiGDxXsSBM6WEPPaeXu74aKpKn3AnLEWW71eFEFYM0ibQXMyaZrnA+gY104oiTXx3 3Jg7wBhQgQUJ/VYLDw8o4nn9HYp8YiHzEGuQ73CnHVVgnn0Vz8DIRw1KwNbmvPAVjvjU 9Z5riDwuSued+z5XTUjWHOoR4ADLPhIiosdHK3/NHY3z1l+BzPK0J748oyjoaMtjeRZb B/Fg==
MIME-Version: 1.0
Received: by 10.60.14.198 with SMTP id r6mr14624227oec.115.1350473448154; Wed, 17 Oct 2012 04:30:48 -0700 (PDT)
Received: by 10.76.27.103 with HTTP; Wed, 17 Oct 2012 04:30:48 -0700 (PDT)
In-Reply-To: <3D77B8BC-B65D-4D88-8137-9E8B32A13844@mnot.net>
References: <op.wmbam8vtidj3kv@simons-macbook-pro.local> <3D77B8BC-B65D-4D88-8137-9E8B32A13844@mnot.net>
Date: Wed, 17 Oct 2012 07:30:48 -0400
Message-ID: <CAMm+Lwjm4rdJ35s-f7FwHZT+a5s=ky_iegGhHdh3zuN9J7GmJQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Simon Pieters <simonp@opera.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8fb1f72c27e5c204cc3f9a5c
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.660, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TORqE-0005OV-34 a5f1427361429846a86eef3279ed0761
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/CAMm+Lwjm4rdJ35s-f7FwHZT+a5s=ky_iegGhHdh3zuN9J7GmJQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15386
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>

--e89a8fb1f72c27e5c204cc3f9a5c
Content-Type: text/plain; charset=ISO-8859-1

How much of the Web actually passes through client side proxies these days?
Of those, how many have  caches?

There was a good reason for caching proxies in 1993. I don't see much
justification or utility in fiddling with that part of the spec now. The
content that is relevant for caching these days is huge chunks of video,
audio and images, the part that is generated is text.


But in any case, I can't see why a server that cares can't generate the
vary header for the user agent header...

Bigger problem these days is that there are many sites that just break with
the 'wrong' user agent. All those clueless 'mobile' versions of sites that
don't actually link to any content. Just a page congratulating the
programmer on producing a mobile edition of the site instead of the linked
content.

Net is that even if a site specified the vary header on user agent, it is
probably best ignored just as I switched from safari to chrome on my iPhone
because it gives fewer stupid problems like that.


On Wed, Oct 17, 2012 at 3:32 AM, Mark Nottingham <mnot@mnot.net> wrote:

> Um, no.
>
> Not only will this retroactively make all intermediary caches
> non-conformant, it'll also make them completely useless, because of the
> large (and unnecessary) amount of variance in User-Agent headers.
>
> I understand there are security issues here caused by CORS, but that
> doesn't give you the ability to force changes on the rest of the Web.
>
> Regards,
>
>
> On 17/10/2012, at 6:19 PM, "Simon Pieters" <simonp@opera.com> wrote:
>
> > See http://www.w3.org/mid/507D94AB.3000207@mit.edu
> >
> > It would be useful if the spec required that UAs and intermediary caches
> act as if all responses had Vary: User-Agent specified, since many pages on
> the Web serve different content depending on the User-Agent header but do
> not bother specifying Vary: User-Agent.
> >
> > I would like this to be filed as a new issue in the issue tracker.
> >
> > cheers,
> > --
> > Simon Pieters
> > Opera Software
> >
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>


-- 
Website: http://hallambaker.com/

--e89a8fb1f72c27e5c204cc3f9a5c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

How much of the Web actually passes through client side proxies these days?=
 Of those, how many have =A0caches?<div><br></div><div>There was a good rea=
son for caching proxies in 1993. I don&#39;t see much justification or util=
ity in fiddling with that part of the spec now. The content that is relevan=
t for caching these days is huge chunks of video, audio and images, the par=
t that is generated is text.</div>
<div><br></div><div><br></div><div>But in any case, I can&#39;t see why a s=
erver that cares can&#39;t generate the vary header for the user agent head=
er...</div><div><br></div><div>Bigger problem these days is that there are =
many sites that just break with the &#39;wrong&#39; user agent. All those c=
lueless &#39;mobile&#39; versions of sites that don&#39;t actually link to =
any content. Just a page congratulating the programmer on producing a mobil=
e edition of the site instead of the linked content.</div>
<div><br></div><div>Net is that even if a site specified the vary header on=
 user agent, it is probably best ignored just as I switched from safari to =
chrome on my iPhone because it gives fewer stupid problems like that.</div>
<div><br><br><div class=3D"gmail_quote">On Wed, Oct 17, 2012 at 3:32 AM, Ma=
rk Nottingham <span dir=3D"ltr">&lt;<a href=3D"mailto:mnot@mnot.net" target=
=3D"_blank">mnot@mnot.net</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">
Um, no.<br>
<br>
Not only will this retroactively make all intermediary caches non-conforman=
t, it&#39;ll also make them completely useless, because of the large (and u=
nnecessary) amount of variance in User-Agent headers.<br>
<br>
I understand there are security issues here caused by CORS, but that doesn&=
#39;t give you the ability to force changes on the rest of the Web.<br>
<br>
Regards,<br>
<div><div class=3D"h5"><br>
<br>
On 17/10/2012, at 6:19 PM, &quot;Simon Pieters&quot; &lt;<a href=3D"mailto:=
simonp@opera.com">simonp@opera.com</a>&gt; wrote:<br>
<br>
&gt; See <a href=3D"http://www.w3.org/mid/507D94AB.3000207@mit.edu" target=
=3D"_blank">http://www.w3.org/mid/507D94AB.3000207@mit.edu</a><br>
&gt;<br>
&gt; It would be useful if the spec required that UAs and intermediary cach=
es act as if all responses had Vary: User-Agent specified, since many pages=
 on the Web serve different content depending on the User-Agent header but =
do not bother specifying Vary: User-Agent.<br>

&gt;<br>
&gt; I would like this to be filed as a new issue in the issue tracker.<br>
&gt;<br>
&gt; cheers,<br>
&gt; --<br>
&gt; Simon Pieters<br>
&gt; Opera Software<br>
&gt;<br>
<br>
</div></div>--<br>
Mark Nottingham =A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">http=
://www.mnot.net/</a><br>
<br>
<br>
<br>
<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>Website: <a =
href=3D"http://hallambaker.com/">http://hallambaker.com/</a><br><br>
</div>

--e89a8fb1f72c27e5c204cc3f9a5c--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 05:17:14 2012
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 E110A21F8815 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 05:17:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IbwIQfLpCkXA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 05:17:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3BA4521F8811 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 05:17:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOSXH-0008Ew-B7 for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 12:15:43 +0000
Resent-Date: Wed, 17 Oct 2012 12:15:43 +0000
Resent-Message-Id: <E1TOSXH-0008Ew-B7@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <murch@andrew.cmu.edu>) id 1TOSXA-0008E7-J6 for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 12:15:36 +0000
Received: from smtp.andrew.cmu.edu ([128.2.11.95]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <murch@andrew.cmu.edu>) id 1TOSX9-0004Ys-JD for ietf-http-wg@w3.org; Wed, 17 Oct 2012 12:15:36 +0000
Received: from ksm-t3400.murch.local (cpe-76-180-159-91.buffalo.res.rr.com [76.180.159.91]) (user=murch mech=PLAIN (0 bits)) by smtp.andrew.cmu.edu (8.14.4/8.14.4) with ESMTP id q9HCF6Bx016475 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 17 Oct 2012 08:15:06 -0400
Message-ID: <507EA149.9040105@andrew.cmu.edu>
Date: Wed, 17 Oct 2012 08:15:05 -0400
From: Ken Murchison <murch@andrew.cmu.edu>
Organization: Carnegie Mellon University
User-Agent: Thunderbird 2.0.0.23 (X11/20090825)
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: "Roy T. Fielding" <fielding@gbiv.com>, Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
References: <506C4B3D.6030806@andrew.cmu.edu> <3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net> <41650251-6CAD-43C1-98C8-7F23B0F2E6F8@gbiv.com> <CABP7Rbcng8Zk+GiB7hrNPztb7+k0vHO+6b1GH9xXNtekEy0LCQ@mail.gmail.com>
In-Reply-To: <CABP7Rbcng8Zk+GiB7hrNPztb7+k0vHO+6b1GH9xXNtekEy0LCQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-PMX-Version: 5.5.9.388399, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.5.19.222118
X-SMTP-Spam-Clean: 8% ( BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_2000_2999 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, RDNS_GENERIC_POOLED 0, RDNS_POOLED 0, RDNS_RESIDENTIAL 0, RDNS_SUSP 0, RDNS_SUSP_GENERIC 0, RDNS_SUSP_SPECIFIC 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __MOZILLA_MSGID 0, __RATWARE_X_MAILER_CS_B 0, __RDNS_POOLED_2 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __URI_NO_PATH 0, __URI_NO_WWW 0, __USER_AGENT 0)
X-SMTP-Spam-Score: 8%
X-Scanned-By: MIMEDefang 2.60 on 128.2.11.95
Received-SPF: none client-ip=128.2.11.95; envelope-from=murch@andrew.cmu.edu; helo=smtp.andrew.cmu.edu
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: AWL=-2.115, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.37
X-W3C-Scan-Sig: lisa.w3.org 1TOSX9-0004Ys-JD aa04c3d2a48a4376d6b59ae23010d8d6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/507EA149.9040105@andrew.cmu.edu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15387
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>

James M Snell wrote:
> 
> 
> On Tue, Oct 16, 2012 at 10:46 PM, Roy T. Fielding <fielding@gbiv.com 
> <mailto:fielding@gbiv.com>> wrote:
> 
>     On Oct 13, 2012, at 11:40 AM, Mark Nottingham wrote:
> 
>      > Actually, I don't think you need Preference-Applied *or* Vary to
>     indicate this; both are barking up the wrong tree.
>      >
>      > Rather, you need something with the specific semantics "the
>     representation of the resource is byte-equivalent to the PUT request
>     you just made" for *that* case.
>      >
>      > This could be a new status code, or it could be a header on the
>     response. It could even be a "duplicate" link relation (RFC6249),
>     pointing to a URI for "the request you just made"; e.g.
> 
>     There is nothing to guarantee that the PUT payload received by
>     the origin server is byte-equivalent to the payload sent by the
>     user agent, so it does little good for the origin to say that
>     it received what "you" sent and didn't change it.
> 
> 
> Noted and agreed.. but that's not quite what's going on with the Prefer 
> header here. The return-representation preference merely indicates to 
> the server that the UA would like the server to return a representation 
> of the resource within the response vs. a representation of the request 
> status. What's missing is some indicator within the response as to which 
> the server is actually returning. There is some ambiguity that needs to 
> be resolved. All the Preference-Applied header does is provide an 
> explicit indicator that the server did, in fact, do as the UA asked and 
> returned the resource representation in the response... an indicator 
> that is only necessary if it's not obvious by the content type of the 
> payload or by direct examination of the payload. 


Actually, the question/concern that started this thread (not my own, but 
channeled from CalConnect) is can a client can figure out why the server 
didn't respond with a representation?  Did the server not understand the 
return-representation preference?  Did it understand it and choose to 
ignore it?  Or did the server not include a representation in the 
response because it didn't change from what the client sent and didn't 
want to waste the bandwidth?

If you don't think that this is a problem, or don't think its worth 
fixing (I might agree here), then please don't hold up the WGLC if 
Preference-Applied is going to be controversial.


-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 08:12:20 2012
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 1337621F861D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 08:12:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.237
X-Spam-Level: 
X-Spam-Status: No, score=-8.237 tagged_above=-999 required=5 tests=[AWL=2.361, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q04B05cRRU3f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 08:12:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4747421F85C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 08:12:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOVGU-0007kt-6s for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 15:10:34 +0000
Resent-Date: Wed, 17 Oct 2012 15:10:34 +0000
Resent-Message-Id: <E1TOVGU-0007kt-6s@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TOVGQ-0007j8-NF for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 15:10:30 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TOVGG-0007qn-Tn for ietf-http-wg@w3.org; Wed, 17 Oct 2012 15:10:30 +0000
Received: by mail-qa0-f50.google.com with SMTP id t11so606959qaa.2 for <ietf-http-wg@w3.org>; Wed, 17 Oct 2012 08:09:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=xwMYoDFwabjJ3DCZ4xRjqt2vMi2eRhM3rsX5j5JLRWk=; b=kexbJRn3KbcFGLudnVfcW0j0z66MIqN3LpeLQgVeI9DcaSTsCrIsS0d898NRLOy3lt gAVVVMFzK8EYXQH9Okx8mL8+3CBXNyDAJ8V8Aej3NIZie7CNbA/jKrZzV9GG79DjPeVL 8x4U5nljvXgnLBrhCamSe+k8vSh/nMz8yRWdgn3kbQpfTGOxOrR8uaXMLACLTZ/6cDcd xynrVCbbWRmJoDBuLNnGdaVOs93GQ0vzdOjelRwWEITV4+9cOU3LWztTpdZk4wELjqVr 7pH9NH6pQyvyGUKZKxovVfwaF4Mi+y163Gatg5xDNXpERCjxsruwZt+kEC8z06saoqwa 6V6A==
Received: by 10.229.175.37 with SMTP id v37mr8820413qcz.134.1350486595043; Wed, 17 Oct 2012 08:09:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Wed, 17 Oct 2012 08:09:34 -0700 (PDT)
In-Reply-To: <507EA149.9040105@andrew.cmu.edu>
References: <506C4B3D.6030806@andrew.cmu.edu> <3DF16CEF-E1B6-4159-B510-6E45F918A501@mnot.net> <41650251-6CAD-43C1-98C8-7F23B0F2E6F8@gbiv.com> <CABP7Rbcng8Zk+GiB7hrNPztb7+k0vHO+6b1GH9xXNtekEy0LCQ@mail.gmail.com> <507EA149.9040105@andrew.cmu.edu>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 17 Oct 2012 08:09:34 -0700
Message-ID: <CABP7RbcfgPt3j46suLuuTDeQjDgOrcyE+E6pujm5W0HQc35QcQ@mail.gmail.com>
To: Ken Murchison <murch@andrew.cmu.edu>
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=005045029643c5808204cc42a986
Received-SPF: pass client-ip=209.85.216.50; envelope-from=jasnell@gmail.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TOVGG-0007qn-Tn b7f750e3023867459fb867fa846ac4dc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-snell-http-prefer
Archived-At: <http://www.w3.org/mid/CABP7RbcfgPt3j46suLuuTDeQjDgOrcyE+E6pujm5W0HQc35QcQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15388
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>

--005045029643c5808204cc42a986
Content-Type: text/plain; charset=UTF-8

On Wed, Oct 17, 2012 at 5:15 AM, Ken Murchison <murch@andrew.cmu.edu> wrote:

> James M Snell wrote:
> [snip]
>
>>
>>
>> Noted and agreed.. but that's not quite what's going on with the Prefer
>> header here. The return-representation preference merely indicates to the
>> server that the UA would like the server to return a representation of the
>> resource within the response vs. a representation of the request status.
>> What's missing is some indicator within the response as to which the server
>> is actually returning. There is some ambiguity that needs to be resolved.
>> All the Preference-Applied header does is provide an explicit indicator
>> that the server did, in fact, do as the UA asked and returned the resource
>> representation in the response... an indicator that is only necessary if
>> it's not obvious by the content type of the payload or by direct
>> examination of the payload.
>>
>
>
> Actually, the question/concern that started this thread (not my own, but
> channeled from CalConnect) is can a client can figure out why the server
> didn't respond with a representation?  Did the server not understand the
> return-representation preference?  Did it understand it and choose to
> ignore it?  Or did the server not include a representation in the response
> because it didn't change from what the client sent and didn't want to waste
> the bandwidth?
>
> If you don't think that this is a problem, or don't think its worth fixing
> (I might agree here), then please don't hold up the WGLC if
> Preference-Applied is going to be controversial.
>
>
>
Thanks for chiming in again on it Kenneth. I was going to write this up
last night but ended up getting side tracked by sleep ;-) ... In my view
the Preference-Applied header is entirely optional. There's no demonstrated
harm in having it and it does have a useful (if limited) purpose for the
type of case you've suggested. I understand Mark's argument but I do not
feel the objection is strong enough to warrant holding things up (or making
further modifications to the spec). For those who do not feel the
Preference-Applied header is necessary, they needn't worry about it as it
can safely be ignored. For those who find it useful, it's there. Time and
implementation will ultimately determine whether it was truly necessary.

- James


>
> --
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>

--005045029643c5808204cc42a986
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Wed, Oct 17, 2012 at 5:15 AM, Ken Murchison <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:murch@andrew.cmu.edu" target=3D"_blank">murch@andrew.cmu.ed=
u</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">James M Snell wrote:<div class=3D"im">[snip]=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex">


<br>
<br>
Noted and agreed.. but that&#39;s not quite what&#39;s going on with the Pr=
efer header here. The return-representation preference merely indicates to =
the server that the UA would like the server to return a representation of =
the resource within the response vs. a representation of the request status=
. What&#39;s missing is some indicator within the response as to which the =
server is actually returning. There is some ambiguity that needs to be reso=
lved. All the Preference-Applied header does is provide an explicit indicat=
or that the server did, in fact, do as the UA asked and returned the resour=
ce representation in the response... an indicator that is only necessary if=
 it&#39;s not obvious by the content type of the payload or by direct exami=
nation of the payload. <br>


</blockquote>
<br>
<br></div>
Actually, the question/concern that started this thread (not my own, but ch=
anneled from CalConnect) is can a client can figure out why the server didn=
&#39;t respond with a representation? =C2=A0Did the server not understand t=
he return-representation preference? =C2=A0Did it understand it and choose =
to ignore it? =C2=A0Or did the server not include a representation in the r=
esponse because it didn&#39;t change from what the client sent and didn&#39=
;t want to waste the bandwidth?<br>


<br>
If you don&#39;t think that this is a problem, or don&#39;t think its worth=
 fixing (I might agree here), then please don&#39;t hold up the WGLC if Pre=
ference-Applied is going to be controversial.<div class=3D"HOEnZb"><div cla=
ss=3D"h5">

<br>
<br></div></div></blockquote><div><br></div><div>Thanks for chiming in agai=
n on it Kenneth. I was going to write this up last night but ended up getti=
ng side tracked by sleep ;-) ... In my view the Preference-Applied header i=
s entirely optional. There&#39;s no demonstrated harm in having it and it d=
oes have a useful (if limited) purpose for the type of case you&#39;ve sugg=
ested. I understand Mark&#39;s argument but I do not feel the objection is =
strong enough to warrant holding things up (or making further modifications=
 to the spec). For those who do not feel the Preference-Applied header is n=
ecessary, they needn&#39;t worry about it as it can safely be ignored. For =
those who find it useful, it&#39;s there. Time and implementation will ulti=
mately determine whether it was truly necessary.</div>

<div><br></div><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmai=
l_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left=
:1ex"><div class=3D"HOEnZb"><div class=3D"h5">
<br>
-- <br>
Kenneth Murchison<br>
Principal Systems Software Engineer<br>
Carnegie Mellon University<br>
</div></div></blockquote></div><br>

--005045029643c5808204cc42a986--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 08:12:50 2012
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 57B2321F85EF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 08:12:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.998
X-Spam-Level: 
X-Spam-Status: No, score=-9.998 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_46=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MwBeT9IouBV1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 08:12:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4CDE821F85C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 08:12:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOVI1-0007zI-R3 for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 15:12:09 +0000
Resent-Date: Wed, 17 Oct 2012 15:12:09 +0000
Resent-Message-Id: <E1TOVI1-0007zI-R3@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <steve.battle@sysemia.co.uk>) id 1TOVHr-0007x6-Sp; Wed, 17 Oct 2012 15:11:59 +0000
Received: from mho-04-ewr.mailhop.org ([204.13.248.74] helo=mho-02-ewr.mailhop.org) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <steve.battle@sysemia.co.uk>) id 1TOVHq-0007vz-BO; Wed, 17 Oct 2012 15:11:59 +0000
Received: from 203.160.17.46.bridgep.com ([46.17.160.203] helo=sysemiasab) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.72) (envelope-from <steve.battle@sysemia.co.uk>) id 1TOVHP-0001Yn-7q; Wed, 17 Oct 2012 15:11:31 +0000
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Originating-IP: 46.17.160.203
X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX19MXYRgitHyVyeF2+UjVUki
From: "Steve Battle" <steve.battle@sysemia.co.uk>
To: <ietf-http-wg@w3.org>
Cc: <public-ldp-wg@w3.org>
Date: Wed, 17 Oct 2012 16:11:27 +0100
Message-ID: <002e01cdac79$affe20a0$0ffa61e0$@sysemia.co.uk>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_002F_01CDAC82.11C74390"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: Ac2seQFNmFCt9Qh+Q+OCW26IN5i9vQ==
Content-Language: en-gb
Received-SPF: none client-ip=204.13.248.74; envelope-from=steve.battle@sysemia.co.uk; helo=mho-02-ewr.mailhop.org
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.451, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1TOVHq-0007vz-BO df8de5d0ae2f5d39e68c4bf89d960034
X-Original-To: ietf-http-wg@w3.org
Subject: What is the document base URI of a POSTed document?
Archived-At: <http://www.w3.org/mid/002e01cdac79$affe20a0$0ffa61e0$@sysemia.co.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15389
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>

This is a multipart message in MIME format.

------=_NextPart_000_002F_01CDAC82.11C74390
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Apologies up front for cross-posting, but I'm seeking clarification on the
issue of 

'What is the document base URI of a POSTed document?'

 

The Linked Data Platform http://www.w3.org/2012/ldp working group has a use

case to be able to create an resource within a container, whereboth the
container and subordinate resource can be described by RDF.

<http://www.w3.org/2012/ldp/wiki/Use_Cases_And_Requirements#UC-BPC2:_Create_
resource_within_a_container>. 

The intention is to be able to HTTP POST an RDF representation to a
container URI.

 

The working scenario is very similar to the use of POST as defined in 'The
Atom Publishing Protocol' (RFC 5023).

The use-case is to create a new subordinate resource within a container
resource identified by the Request-URI (consistent with RFC 2616).

 

POST http://example.com/contacts/ HTTP/1.1

Host: example.com

Content-Type: text/turtle

Slug: my contact

 

@prefix foaf: <http://xmlns.com/foaf/0.1/> .

 

<> a foaf:PersonalProfileDocument ;

foaf:primaryTopic <#me> .

<#me> a foaf:Person ;

foaf:name "Henry" .

 

The server answers with:

 

HTTP/1.1 201 Created

Location: http://example.com/contacts/my-contact

ETag: W/"1234567890"

                   

In Turtle URIs in angle brackets may be relative URIs (relative to the
base), so '<>' is the base URI of the document.

This allows the RDF to be 'self-describing', allowing us to state that this
document is a foaf:PersonalProfileDocument.

 

In order to correctly parse and interpret this document we assume that the
document base is the URI of the resource created by the POST,

i.e. the URI returned in the 'Location' header.

 

A subsequent HTTP GET on this location returns a description of the created
resource. The example illustrates that this is not necessarily syntactically
equivalent to the original POSTed document; it includes additional
relationships that link it to the container it was added to.

 

GET http://example.com/contacts/my-contact HTTP/1.1

Host: example.com

Accept: text/turtle

 

HTTP/1.1 200 OK 

Content-Type: text/turtle

ETag: W/"123456789"

 

@prefix foaf: <http://xmlns.com/foaf/0.1/> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

@prefix : <http://example.com/contacts/> .

 

<> a foaf:PersonalProfileDocument ;

foaf:primaryTopic <#me> .

<#me> a foaf:Person ;

foaf:name "Henry" .

: rdfs:member :my-contact .

 

RFC 3986: 'Uniform Resource Identifier (URI)' section 5.1 defines how the
current (in-scope) base URI is established.

 

1. Base URI Embedded in Content (e.g. in Turtle, the in-scope base URI may
be set with the @base directive).

2. Base URI of the encapsulating entity "the base URI is defined by the
representation's retrieval context"

3. URI used to retrieve the entity "if a URI was used to retrieve the
representation, that URI shall be considered the base URI"

4. Default Base URI

 

RFC 3986 is written more from the perspective of HTTP GET, so for HTTP POST
we have to read between the lines.

Returning to the issue, we would like to know if it is OK to assume in the
context of an HTTP POST and the above scenario that:

 

1. If there is no embedded @base and..

2. there is no retrieval context for POST and..

3. no URI was used to retrieve the representation, then..

4. the default base URI can be set by the application to be the URI of the
created resource.

 

It might also be helpful if 2616 could provide clarification on these
issues.

 

Thanks for your considered opinions,

Steve.

 

--

Steve Battle
Semantic Engineer

Mobile: +44 (0)7503 624 613

E-mail:  <mailto:steve.battle@sysemia.co.uk> steve.battle@sysemia.co.uk
Web:  <http://www.sysemia.com/> www.sysemia.com

 

Sysemia Limited
The Innovation Centre, Bristol &  Bath Science Park, Dirac Crescent,
Emerson's Green, Bristol BS16 7FR
Registered in England and Wales. Company Number: 7555456

DISCLAIMER

Information contained in this e-mail is intended for the use of the
addressee only, and is confidential and may also be privileged. If you
receive this message in error, please advise us immediately. If you are not
the intended recipient(s), please note that any form of distribution,
copying or use of this communication or the information in it is strictly
prohibited and may be unlawful. Attachments to this e-mail may contain
software viruses which may damage your systems. Sysemia Ltd have taken
reasonable steps to minimise this risk, but we advise that any attachments
are virus checked before they are opened.

 


------=_NextPart_000_002F_01CDAC82.11C74390
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 14 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-GB link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Apologies =
up front for cross-posting, but I'm seeking clarification on the issue =
of <o:p></o:p></p><p class=3DMsoNormal>'What is the document base URI of =
a POSTed document?'<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The Linked =
Data Platform http://www.w3.org/2012/ldp working group has a =
use<o:p></o:p></p><p class=3DMsoNormal>case to be able to create an =
resource within a container, whereboth the container and subordinate =
resource can be described by RDF.<o:p></o:p></p><p =
class=3DMsoNormal>&lt;http://www.w3.org/2012/ldp/wiki/Use_Cases_And_Requi=
rements#UC-BPC2:_Create_resource_within_a_container&gt;. =
<o:p></o:p></p><p class=3DMsoNormal>The intention is to be able to HTTP =
POST an RDF representation to a container URI.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The working =
scenario is very similar to the use of POST as defined in 'The Atom =
Publishing Protocol' (RFC 5023).<o:p></o:p></p><p class=3DMsoNormal>The =
use-case is to create a new subordinate resource within a container =
resource identified by the Request-URI (consistent with RFC =
2616).<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>POST http://example.com/contacts/ =
HTTP/1.1<o:p></o:p></p><p class=3DMsoNormal>Host: =
example.com<o:p></o:p></p><p class=3DMsoNormal>Content-Type: =
text/turtle<o:p></o:p></p><p class=3DMsoNormal>Slug: my =
contact<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>@prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt; =
.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&lt;&gt; a foaf:PersonalProfileDocument =
;<o:p></o:p></p><p class=3DMsoNormal>foaf:primaryTopic &lt;#me&gt; =
.<o:p></o:p></p><p class=3DMsoNormal>&lt;#me&gt; a foaf:Person =
;<o:p></o:p></p><p class=3DMsoNormal>foaf:name &quot;Henry&quot; =
.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>The server answers with:<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>HTTP/1.1 201 =
Created<o:p></o:p></p><p class=3DMsoNormal>Location: =
http://example.com/contacts/my-contact<o:p></o:p></p><p =
class=3DMsoNormal>ETag: W/&quot;1234567890&quot;<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; <o:p></o:p></p><p =
class=3DMsoNormal>In Turtle URIs in angle brackets may be relative URIs =
(relative to the base), so '&lt;&gt;' is the base URI of the =
document.<o:p></o:p></p><p class=3DMsoNormal>This allows the RDF to be =
'self-describing', allowing us to state that this document is a =
foaf:PersonalProfileDocument.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>In order to =
correctly parse and interpret this document we assume that the document =
base is the URI of the resource created by the POST,<o:p></o:p></p><p =
class=3DMsoNormal>i.e. the URI returned in the 'Location' =
header.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>A subsequent HTTP GET on this location returns a =
description of the created resource. The example illustrates that this =
is not necessarily syntactically equivalent to the original POSTed =
document; it includes additional relationships that link it to the =
container it was added to.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>GET =
http://example.com/contacts/my-contact HTTP/1.1<o:p></o:p></p><p =
class=3DMsoNormal>Host: example.com<o:p></o:p></p><p =
class=3DMsoNormal>Accept: text/turtle<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>HTTP/1.1 200 =
OK <o:p></o:p></p><p class=3DMsoNormal>Content-Type: =
text/turtle<o:p></o:p></p><p class=3DMsoNormal>ETag: =
W/&quot;123456789&quot;<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>@prefix =
foaf: &lt;http://xmlns.com/foaf/0.1/&gt; .<o:p></o:p></p><p =
class=3DMsoNormal>@prefix rdfs: =
&lt;http://www.w3.org/2000/01/rdf-schema#&gt; .<o:p></o:p></p><p =
class=3DMsoNormal>@prefix : &lt;http://example.com/contacts/&gt; =
.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&lt;&gt; a foaf:PersonalProfileDocument =
;<o:p></o:p></p><p class=3DMsoNormal>foaf:primaryTopic &lt;#me&gt; =
.<o:p></o:p></p><p class=3DMsoNormal>&lt;#me&gt; a foaf:Person =
;<o:p></o:p></p><p class=3DMsoNormal>foaf:name &quot;Henry&quot; =
.<o:p></o:p></p><p class=3DMsoNormal>: rdfs:member :my-contact =
.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>RFC 3986: 'Uniform Resource Identifier (URI)' section =
5.1 defines how the current (in-scope) base URI is =
established.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>1. Base URI Embedded in Content (e.g. in Turtle, the =
in-scope base URI may be set with the @base directive).<o:p></o:p></p><p =
class=3DMsoNormal>2. Base URI of the encapsulating entity &quot;the base =
URI is defined by the representation's retrieval =
context&quot;<o:p></o:p></p><p class=3DMsoNormal>3. URI used to retrieve =
the entity &quot;if a URI was used to retrieve the representation, that =
URI shall be considered the base URI&quot;<o:p></o:p></p><p =
class=3DMsoNormal>4. Default Base URI<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>RFC 3986 is =
written more from the perspective of HTTP GET, so for HTTP POST we have =
to read between the lines.<o:p></o:p></p><p class=3DMsoNormal>Returning =
to the issue, we would like to know if it is OK to assume in the context =
of an HTTP POST and the above scenario that:<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>1. If there =
is no embedded @base and..<o:p></o:p></p><p class=3DMsoNormal>2. there =
is no retrieval context for POST and..<o:p></o:p></p><p =
class=3DMsoNormal>3. no URI was used to retrieve the representation, =
then..<o:p></o:p></p><p class=3DMsoNormal>4. the default base URI can be =
set by the application to be the URI of the created =
resource.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>It might also be helpful if 2616 could provide =
clarification on these issues.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Thanks for =
your considered opinions,<o:p></o:p></p><p =
class=3DMsoNormal>Steve.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:black;mso-fareast-language:EN-GB'>--<o:p></o:p></span></p>=
<p class=3DMsoNormal><span =
style=3D'color:black;mso-fareast-language:EN-GB'>Steve =
Battle<br>Semantic Engineer<br><br></span><span =
style=3D'mso-fareast-language:EN-GB'>Mobile: +44 (0)7503 624 =
613<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:black;mso-fareast-language:EN-GB'>E-mail:&nbsp;<a =
href=3D"mailto:steve.battle@sysemia.co.uk"><span =
style=3D'color:blue'>steve.battle@sysemia.co.uk</span></a><br>Web: <a =
href=3D"http://www.sysemia.com/"><span =
style=3D'color:blue'>www.sysemia.com</span></a><o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:black;mso-fareast-language:EN-GB'><o:p>&nbsp;</o:p></span>=
</p><p class=3DMsoNormal><span =
style=3D'color:black;mso-fareast-language:EN-GB'>Sysemia Limited<br>The =
Innovation Centre, Bristol &amp; &nbsp;Bath Science Park, Dirac =
Crescent, Emerson's Green, Bristol BS16 7FR<br>Registered in England and =
Wales. Company Number: 7555456<br><br>DISCLAIMER</span><o:p></o:p></p><p =
class=3DMsoNormal>Information contained in this e-mail is intended for =
the use of the addressee only, and is confidential and may also be =
privileged. If you receive this message in error, please advise us =
immediately. If you are not the intended recipient(s), please note that =
any form of distribution, copying or use of this communication or the =
information in it is strictly prohibited and may be unlawful. =
Attachments to this e-mail may contain software viruses which may damage =
your systems. Sysemia Ltd have taken reasonable steps to minimise this =
risk, but we advise that any attachments are virus checked before they =
are opened.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_002F_01CDAC82.11C74390--



From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 08:21:38 2012
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 2FE4F21F8567 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 08:21:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.286
X-Spam-Level: 
X-Spam-Status: No, score=-8.286 tagged_above=-999 required=5 tests=[AWL=2.312, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sxt90uK57CW6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 08:21:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 31E5B21F85C2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 08:21:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOVPL-0005MC-LB for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 15:19:43 +0000
Resent-Date: Wed, 17 Oct 2012 15:19:43 +0000
Resent-Message-Id: <E1TOVPL-0005MC-LB@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TOVPD-0005Kk-5U; Wed, 17 Oct 2012 15:19:35 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TOVP5-0005gC-57; Wed, 17 Oct 2012 15:19:35 +0000
Received: by mail-qa0-f43.google.com with SMTP id k1so613124qaf.2 for <multiple recipients>; Wed, 17 Oct 2012 08:19:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=BTJa590Njww/NERDjFFEr8Srg32UOKze0koQYakuGy4=; b=wy1lrDoGcVHVM175MN62RnhzedSPKZB5gxugoQgPBDE2Af1LKQ7Sjg2qPWqtmWo6Zu bYc8g8FrIOtDUu2r7RzvMeS6+opIN/X8DlbkZbexM9AaXzVHNT3xQd9474H7szR9bSkH k3nT7CJuNBtJjZJRQCk5bqICch+QgFxaKLBSP5xywHvb2653fAZ8wzx1+zy230cwffAG 53t9p1p2gh6EIEV1QTNN9tyzqv5ZrPA0JompbLAc+zsn610ASsqaaNjBM9pu3imN3X9a 6ROwzdGOPb1UhcNtm4v5KJIYqk5bRnnLQY+j3WV4wvhe2/4Y2yxkLaHPXb6vUfZZrFAF ZdhQ==
Received: by 10.229.201.198 with SMTP id fb6mr8958947qcb.129.1350487141025; Wed, 17 Oct 2012 08:19:01 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Wed, 17 Oct 2012 08:18:40 -0700 (PDT)
In-Reply-To: <002e01cdac79$affe20a0$0ffa61e0$@sysemia.co.uk>
References: <002e01cdac79$affe20a0$0ffa61e0$@sysemia.co.uk>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 17 Oct 2012 08:18:40 -0700
Message-ID: <CABP7RbdxzfLqK8Ni3ZJAPW+NmenHLur-EhN+CD3cW4cdwAwsrQ@mail.gmail.com>
To: Steve Battle <steve.battle@sysemia.co.uk>
Cc: ietf-http-wg@w3.org, public-ldp-wg@w3.org
Content-Type: multipart/alternative; boundary=001636ef019550897104cc42ca6c
Received-SPF: pass client-ip=209.85.216.43; envelope-from=jasnell@gmail.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TOVP5-0005gC-57 e26df0a6b19b4ad0035989aaa6c69959
X-Original-To: ietf-http-wg@w3.org
Subject: Re: What is the document base URI of a POSTed document?
Archived-At: <http://www.w3.org/mid/CABP7RbdxzfLqK8Ni3ZJAPW+NmenHLur-EhN+CD3cW4cdwAwsrQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15390
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>

--001636ef019550897104cc42ca6c
Content-Type: text/plain; charset=UTF-8

On Wed, Oct 17, 2012 at 8:11 AM, Steve Battle <steve.battle@sysemia.co.uk>wrote:

> [snip]
>
> ** **
>
> RFC 3986 is written more from the perspective of HTTP GET, so for HTTP
> POST we have to read between the lines.****
>
> Returning to the issue, we would like to know if it is OK to assume in the
> context of an HTTP POST and the above scenario that:****
>
> ** **
>
> 1. If there is no embedded @base and..****
>
> 2. there is no retrieval context for POST and..****
>
> 3. no URI was used to retrieve the representation, then..****
>
> 4. the default base URI can be set by the application to be the URI of the
> created resource.****
>
> **
>

I would say this is certainly a reasonable and logical assumption. Note,
however, that you need to account for the possible presence of the
Content-Location header within the POST request. If the POST includes a
Content-Location, it's value effectively establishes the base URI.

- James



> **
>
> It might also be helpful if 2616 could provide clarification on these
> issues.****
>
> ** **
>
> Thanks for your considered opinions,****
>
> Steve.****
>
> ** **
>
> --****
>
> Steve Battle
> Semantic Engineer
>
> Mobile: +44 (0)7503 624 613****
>
> E-mail: steve.battle@sysemia.co.uk
> Web: www.sysemia.com****
>
> ** **
>
> Sysemia Limited
> The Innovation Centre, Bristol &  Bath Science Park, Dirac Crescent,
> Emerson's Green, Bristol BS16 7FR
> Registered in England and Wales. Company Number: 7555456
>
> DISCLAIMER****
>
> Information contained in this e-mail is intended for the use of the
> addressee only, and is confidential and may also be privileged. If you
> receive this message in error, please advise us immediately. If you are not
> the intended recipient(s), please note that any form of distribution,
> copying or use of this communication or the information in it is strictly
> prohibited and may be unlawful. Attachments to this e-mail may contain
> software viruses which may damage your systems. Sysemia Ltd have taken
> reasonable steps to minimise this risk, but we advise that any attachments
> are virus checked before they are opened.****
>
> ** **
>

--001636ef019550897104cc42ca6c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Wed, Oct 17, 2012 at 8:11 AM, Steve Battle <span dir=3D"ltr">&lt;<a =
href=3D"mailto:steve.battle@sysemia.co.uk" target=3D"_blank">steve.battle@s=
ysemia.co.uk</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div lang=3D"EN-GB" link=3D"blue" vlink=3D"p=
urple"><p class=3D"MsoNormal">[snip]</p><p class=3D"MsoNormal"><u></u>=C2=
=A0<u></u></p><p class=3D"MsoNormal">

RFC 3986 is written more from the perspective of HTTP GET, so for HTTP POST=
 we have to read between the lines.<u></u><u></u></p><p class=3D"MsoNormal"=
>Returning to the issue, we would like to know if it is OK to assume in the=
 context of an HTTP POST and the above scenario that:<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">1. If=
 there is no embedded @base and..<u></u><u></u></p><p class=3D"MsoNormal">2=
. there is no retrieval context for POST and..<u></u><u></u></p><p class=3D=
"MsoNormal">

3. no URI was used to retrieve the representation, then..<u></u><u></u></p>=
<p class=3D"MsoNormal">4. the default base URI can be set by the applicatio=
n to be the URI of the created resource.<u></u><u></u></p><p class=3D"MsoNo=
rmal">

<u></u>=C2=A0</p></div></blockquote><div><br></div><div>I would say this is=
 certainly a reasonable and logical assumption. Note, however, that you nee=
d to account for the possible presence of the Content-Location header withi=
n the POST request. If the POST includes a Content-Location, it&#39;s value=
 effectively establishes the base URI.</div>

<div><br></div><div>- James</div><div><br></div><div>=C2=A0</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex"><div lang=3D"EN-GB" link=3D"blue" vlink=3D"purple"><p =
class=3D"MsoNormal">

<u></u></p><p class=3D"MsoNormal">It might also be helpful if 2616 could pr=
ovide clarification on these issues.<u></u><u></u></p><p class=3D"MsoNormal=
"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">Thanks for your considered=
 opinions,<u></u><u></u></p>

<p class=3D"MsoNormal">Steve.<u></u><u></u></p><p class=3D"MsoNormal"><u></=
u>=C2=A0<u></u></p><p class=3D"MsoNormal"><span style>--<u></u><u></u></spa=
n></p><p class=3D"MsoNormal"><span style>Steve Battle<br>Semantic Engineer<=
br><br></span><span>Mobile: +44 (0)7503 624 613<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style>E-mail:=C2=A0<a href=3D"mailto:steve.bat=
tle@sysemia.co.uk" target=3D"_blank"><span style=3D"color:blue">steve.battl=
e@sysemia.co.uk</span></a><br>Web: <a href=3D"http://www.sysemia.com/" targ=
et=3D"_blank"><span style=3D"color:blue">www.sysemia.com</span></a><u></u><=
u></u></span></p>

<p class=3D"MsoNormal"><span style><u></u>=C2=A0<u></u></span></p><p class=
=3D"MsoNormal"><span style>Sysemia Limited<br>The Innovation Centre, Bristo=
l &amp; =C2=A0Bath Science Park, Dirac Crescent, Emerson&#39;s Green, Brist=
ol BS16 7FR<br>

Registered in England and Wales. Company Number: 7555456<br><br>DISCLAIMER<=
/span><u></u><u></u></p><p class=3D"MsoNormal">Information contained in thi=
s e-mail is intended for the use of the addressee only, and is confidential=
 and may also be privileged. If you receive this message in error, please a=
dvise us immediately. If you are not the intended recipient(s), please note=
 that any form of distribution, copying or use of this communication or the=
 information in it is strictly prohibited and may be unlawful. Attachments =
to this e-mail may contain software viruses which may damage your systems. =
Sysemia Ltd have taken reasonable steps to minimise this risk, but we advis=
e that any attachments are virus checked before they are opened.<u></u><u><=
/u></p>

<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p></div></blockquote></div><br=
>

--001636ef019550897104cc42ca6c--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 14:06:31 2012
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 0E6C321F8658 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 14:06:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nYQJe01kVcnF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 14:06:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 62FA021F8600 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 14:06:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOam8-0007Id-Ni for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 21:03:36 +0000
Resent-Date: Wed, 17 Oct 2012 21:03:36 +0000
Resent-Message-Id: <E1TOam8-0007Id-Ni@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TOam4-0007Ht-1L for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 21:03:32 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TOam3-0004Bg-1w for ietf-http-wg@w3.org; Wed, 17 Oct 2012 21:03:32 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id A02E4E6FEF; Thu, 18 Oct 2012 10:03:05 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 18 Oct 2012 10:03:05 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CAMm+Lwjm4rdJ35s-f7FwHZT+a5s=ky_iegGhHdh3zuN9J7GmJQ@mail.gmail.com>
References: <op.wmbam8vtidj3kv@simons-macbook-pro.local> <3D77B8BC-B65D-4D88-8137-9E8B32A13844@mnot.net> <CAMm+Lwjm4rdJ35s-f7FwHZT+a5s=ky_iegGhHdh3zuN9J7GmJQ@mail.gmail.com>
Message-ID: <5f99215ce00479775f9461103705fa5c@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TOam3-0004Bg-1w 819b2835651e44d035392d2f975f3547
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/5f99215ce00479775f9461103705fa5c@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15391
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>

On 18.10.2012 00:30, Phillip Hallam-Baker wrote:
> How much of the Web actually passes through client side proxies these 
> days?
> Of those, how many have  caches?
>

Unknown, but still a large enough portion of the population to matter.

There are still countries like .au and .nz which have very high 
international transit costs or low bandwidth using large proxy farms in 
the major telecos. The historical reasons for caching have not 
disappeared, the bandwidth increases these late few decades have just 
spoilt the user base and added to the need if anything. Educational 
institutions and corporate sites are also still using proxies a lot as 
gateway control servers.

Ubuntu and Debian provide software install counters and inform me there 
are over half a million Squid, Varnish, HAproxy, polipo, oos still 
installed and running around the world - thats anything up to 500 M 
users right there. Other more popular distros, other proxies, unreported 
installs - who knows how big the total actually is.


> There was a good reason for caching proxies in 1993. I don't see much
> justification or utility in fiddling with that part of the spec now. 
> The
> content that is relevant for caching these days is huge chunks of 
> video,
> audio and images, the part that is generated is text.

With most of user generated www traffic being videos and media the case 
for caching those still stands and is gaining popularity amongst 
sysadmin.

AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 14:51:06 2012
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 5A78821F871C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 14:51:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.399
X-Spam-Level: 
X-Spam-Status: No, score=-7.399 tagged_above=-999 required=5 tests=[AWL=3.199, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yBYavvMe7r91 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 14:51:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 42B3021F866C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 14:51:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TObTs-0000rY-AY for ietf-http-wg-dist@listhub.w3.org; Wed, 17 Oct 2012 21:48:48 +0000
Resent-Date: Wed, 17 Oct 2012 21:48:48 +0000
Resent-Message-Id: <E1TObTs-0000rY-AY@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1TObTp-0000pv-52 for ietf-http-wg@listhub.w3.org; Wed, 17 Oct 2012 21:48:45 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <hallam@gmail.com>) id 1TObTn-0007AH-UJ for ietf-http-wg@w3.org; Wed, 17 Oct 2012 21:48:45 +0000
Received: by mail-ob0-f171.google.com with SMTP id 16so8774943obc.2 for <ietf-http-wg@w3.org>; Wed, 17 Oct 2012 14:48:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1FHJK8Z4EHreZwFiphOMQqqUpaznDNYN9+ThR6zMWME=; b=PLszdQLtbghsbf3nMD12mxQZYpHqHQ4bnxLquKgUQh7mFg1B5LCT22uR+R1EddO/PS wbh+8HFDM/2jzR80v2lZ9xsdGA+P8BCDcb7jEDDj97WnKTacOmfO3TBgvcJ/AH0YTdUh n5UauzlC09kuOwEJy1uW/TaYFOz3Wz3C8ut/rSME6TeS42ueeAFoQqHSgUzO5IOD4C16 HMi/CMa7218xSXB+6LhsSIJ+eaHVbk2jKQ6YskmHnwsOhWibtiyKsVJOUHRit1q7YGc2 18N0D2lReQD5HHTH7UqhzyDoudJtDBP+OK5QAUUPLODCBYxUd3BjmOMUmE+7BKLJ9mFg b3wg==
MIME-Version: 1.0
Received: by 10.60.31.135 with SMTP id a7mr16308540oei.26.1350510497502; Wed, 17 Oct 2012 14:48:17 -0700 (PDT)
Received: by 10.76.27.103 with HTTP; Wed, 17 Oct 2012 14:48:17 -0700 (PDT)
In-Reply-To: <5f99215ce00479775f9461103705fa5c@treenet.co.nz>
References: <op.wmbam8vtidj3kv@simons-macbook-pro.local> <3D77B8BC-B65D-4D88-8137-9E8B32A13844@mnot.net> <CAMm+Lwjm4rdJ35s-f7FwHZT+a5s=ky_iegGhHdh3zuN9J7GmJQ@mail.gmail.com> <5f99215ce00479775f9461103705fa5c@treenet.co.nz>
Date: Wed, 17 Oct 2012 17:48:17 -0400
Message-ID: <CAMm+Lwj-Fm_kRPNBBy9PaKq7O6JuZJp9MJ1iAeBn-SxFFRXHcQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8fb1f59a7815e504cc483a20
Received-SPF: pass client-ip=209.85.214.171; envelope-from=hallam@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.8
X-W3C-Hub-Spam-Report: AWL=-1.995, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TObTn-0007AH-UJ fdc7d2eea21c4cda7a183e07a8323ab5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/CAMm+Lwj-Fm_kRPNBBy9PaKq7O6JuZJp9MJ1iAeBn-SxFFRXHcQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15392
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>

--e89a8fb1f59a7815e504cc483a20
Content-Type: text/plain; charset=ISO-8859-1

My point was that in most cases it is only the text that varies.

While there is prior art for varied images back to 1993, this is still very
rare. A site may send links to different static content depending on who is
accessing the site but I suspect that the case where the image returned
from a URL changes is negligible.



On Wed, Oct 17, 2012 at 5:03 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 18.10.2012 00:30, Phillip Hallam-Baker wrote:
>
>> How much of the Web actually passes through client side proxies these
>> days?
>> Of those, how many have  caches?
>>
>>
> Unknown, but still a large enough portion of the population to matter.
>
> There are still countries like .au and .nz which have very high
> international transit costs or low bandwidth using large proxy farms in the
> major telecos. The historical reasons for caching have not disappeared, the
> bandwidth increases these late few decades have just spoilt the user base
> and added to the need if anything. Educational institutions and corporate
> sites are also still using proxies a lot as gateway control servers.
>
> Ubuntu and Debian provide software install counters and inform me there
> are over half a million Squid, Varnish, HAproxy, polipo, oos still
> installed and running around the world - thats anything up to 500 M users
> right there. Other more popular distros, other proxies, unreported installs
> - who knows how big the total actually is.
>
>
>
>  There was a good reason for caching proxies in 1993. I don't see much
>> justification or utility in fiddling with that part of the spec now. The
>> content that is relevant for caching these days is huge chunks of video,
>> audio and images, the part that is generated is text.
>>
>
> With most of user generated www traffic being videos and media the case
> for caching those still stands and is gaining popularity amongst sysadmin.
>
> AYJ
>
>
>


-- 
Website: http://hallambaker.com/

--e89a8fb1f59a7815e504cc483a20
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

My point was that in most cases it is only the text that varies.<div><br></=
div><div>While there is prior art for varied images back to 1993, this is s=
till very rare. A site may send links to different static content depending=
 on who is accessing the site but I suspect that the case where the image r=
eturned from a URL changes is negligible.</div>
<div><br></div><div><br><br><div class=3D"gmail_quote">On Wed, Oct 17, 2012=
 at 5:03 PM, Amos Jeffries <span dir=3D"ltr">&lt;<a href=3D"mailto:squid3@t=
reenet.co.nz" target=3D"_blank">squid3@treenet.co.nz</a>&gt;</span> wrote:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex">
<div class=3D"im">On 18.10.2012 00:30, Phillip Hallam-Baker wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
How much of the Web actually passes through client side proxies these days?=
<br>
Of those, how many have =A0caches?<br>
<br>
</blockquote>
<br></div>
Unknown, but still a large enough portion of the population to matter.<br>
<br>
There are still countries like .au and .nz which have very high internation=
al transit costs or low bandwidth using large proxy farms in the major tele=
cos. The historical reasons for caching have not disappeared, the bandwidth=
 increases these late few decades have just spoilt the user base and added =
to the need if anything. Educational institutions and corporate sites are a=
lso still using proxies a lot as gateway control servers.<br>

<br>
Ubuntu and Debian provide software install counters and inform me there are=
 over half a million Squid, Varnish, HAproxy, polipo, oos still installed a=
nd running around the world - thats anything up to 500 M users right there.=
 Other more popular distros, other proxies, unreported installs - who knows=
 how big the total actually is.<div class=3D"im">
<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
There was a good reason for caching proxies in 1993. I don&#39;t see much<b=
r>
justification or utility in fiddling with that part of the spec now. The<br=
>
content that is relevant for caching these days is huge chunks of video,<br=
>
audio and images, the part that is generated is text.<br>
</blockquote>
<br></div>
With most of user generated www traffic being videos and media the case for=
 caching those still stands and is gaining popularity amongst sysadmin.<br>
<br>
AYJ<br>
<br>
<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>Website: <a =
href=3D"http://hallambaker.com/">http://hallambaker.com/</a><br><br>
</div>

--e89a8fb1f59a7815e504cc483a20--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 19:29:17 2012
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 924CA11E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 19:29:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.562
X-Spam-Level: 
X-Spam-Status: No, score=-6.562 tagged_above=-999 required=5 tests=[AWL=3.415, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N1OkWsO9ars9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 19:29:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F422C21F8480 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 19:29:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOfnv-0001ty-EV for ietf-http-wg-dist@listhub.w3.org; Thu, 18 Oct 2012 02:25:47 +0000
Resent-Date: Thu, 18 Oct 2012 02:25:47 +0000
Resent-Message-Id: <E1TOfnv-0001ty-EV@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1TOfnr-0001tJ-4S for ietf-http-wg@listhub.w3.org; Thu, 18 Oct 2012 02:25:43 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1TOfnq-0006su-4T for ietf-http-wg@w3.org; Thu, 18 Oct 2012 02:25:43 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so8894576vbb.2 for <ietf-http-wg@w3.org>; Wed, 17 Oct 2012 19:25:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:date:x-google-sender-auth:message-id :subject:from:to:content-type; bh=wDQUSB9tpDe14FGwx645Vg/vnew7n8nYqFeGQB6O4aE=; b=rzY++5GMc6OqwX7RSVaS0nPa7hZGiYaEfPteBu1izozhiDV8oX3vMDA/cUhjP4/ofb fDLLB3IIn0+mmvfVB6kQgp6IMPufbLHBhLS73XaHs+GOZdn7WkPXNo22dSH8WebcPRGi ypyZ7prrfaAYqaXfcIo4rCIkOZg93lHz+8rZIKqAtd2do3Sgkw+1a25gYF7efyX8XOuJ /WcOeYevY30MH5+sQPxvViYnWkNx/EbGs/06Gr4KkcKWIVJIXUiuBfQu7tjuTAYK8BGw YOhluEo8kV7W3AbBWqjV0K9UzTEFiH93lPknyQSozjviJ3vEluNu6InCEh3kSfhi8oFh DgJg==
MIME-Version: 1.0
Received: by 10.220.220.5 with SMTP id hw5mr2987796vcb.53.1350527116394; Wed, 17 Oct 2012 19:25:16 -0700 (PDT)
Reply-To: saag@ietf.org
Sender: barryleiba@gmail.com
Received: by 10.58.28.231 with HTTP; Wed, 17 Oct 2012 19:25:16 -0700 (PDT)
Date: Wed, 17 Oct 2012 22:25:16 -0400
X-Google-Sender-Auth: FotLzZ0QiWKnuBHTBtR-wzeeV4Y
Message-ID: <CALaySJK5JBo1cbsqcX6hyk0gSkDciZkX3o=o+rg9rgNVqBeRhw@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: http-state@ietf.org, websec@ietf.org, ietf-http-wg@w3.org,  apps-discuss@ietf.org, oauth@ietf.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=barryleiba@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-2.602, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TOfnq-0006su-4T c671036d3d3866b76a1e6e35b13e6ece
X-Original-To: ietf-http-wg@w3.org
Subject: Input for conflict review of draft-secure-cookie-session-protocol
Archived-At: <http://www.w3.org/mid/CALaySJK5JBo1cbsqcX6hyk0gSkDciZkX3o=o+rg9rgNVqBeRhw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15393
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>

A document titled "Secure Cookie Sessions for HTTP" has been submitted
to the Independent Stream Editor (ISE):
http://datatracker.ietf.org/doc/draft-secure-cookie-session-protocol/

The IESG has been asked to review the document, as specified in RFC
5742, Section 3.  The Security and Applications Area Directors are
looking for input for that review.  Please post any relevant comments
to the Security Area list, <saag@ietf.org>, as soon as possible, and at
least by 1 November 2012.

Note: Please do NOT post responses to any of these mailing lists.
Respond only to <saag@ietf.org> (using the subject line of this
message).

Please read RFC 5742, Section 3, and be aware that we are not looking
for detailed comments on the document itself (see below).  We
specifically need input on whether this document is in conflict with
work that's being done in the IETF.  Look at the five possible
responses specified in that section, and help us determine whether any
of 2 through 5 applies.  Please be specific in your response.

In addition to this, we're sure that the authors and the ISE would
appreciate comments about the document.  If you have those, you may
send them directly to the authors at
<draft-secure-cookie-session-protocol@tools.ietf.org>
and to the ISE at <rfc-ise@rfc-editor.org>.
General discussion of the document on these lists or the saag list will
likely not get to the authors or the ISE.

Barry Leiba, Applications AD


From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 23:11:23 2012
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 7CF4921F858F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 23:11:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.177
X-Spam-Level: 
X-Spam-Status: No, score=-9.177 tagged_above=-999 required=5 tests=[AWL=1.422, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FuJTnJ3DiX2y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 23:11:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0635A21F857D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 23:11:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOjHJ-0005E3-F4 for ietf-http-wg-dist@listhub.w3.org; Thu, 18 Oct 2012 06:08:21 +0000
Resent-Date: Thu, 18 Oct 2012 06:08:21 +0000
Resent-Message-Id: <E1TOjHJ-0005E3-F4@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TOjHF-0005DJ-6g for ietf-http-wg@listhub.w3.org; Thu, 18 Oct 2012 06:08:17 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TOjHD-0000XC-KT for ietf-http-wg@w3.org; Thu, 18 Oct 2012 06:08:17 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9I67SJQ008791; Thu, 18 Oct 2012 08:07:28 +0200
Date: Thu, 18 Oct 2012 08:07:28 +0200
From: Willy Tarreau <w@1wt.eu>
To: Phillip Hallam-Baker <hallam@gmail.com>
Cc: Mark Nottingham <mnot@mnot.net>, Simon Pieters <simonp@opera.com>, ietf-http-wg@w3.org
Message-ID: <20121018060728.GF7517@1wt.eu>
References: <op.wmbam8vtidj3kv@simons-macbook-pro.local> <3D77B8BC-B65D-4D88-8137-9E8B32A13844@mnot.net> <CAMm+Lwjm4rdJ35s-f7FwHZT+a5s=ky_iegGhHdh3zuN9J7GmJQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMm+Lwjm4rdJ35s-f7FwHZT+a5s=ky_iegGhHdh3zuN9J7GmJQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-2.875, RP_MATCHES_RCVD=-0.37, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TOjHD-0000XC-KT ea7b3f2507227bce56d2491dc32f15f4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/20121018060728.GF7517@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15394
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>

On Wed, Oct 17, 2012 at 07:30:48AM -0400, Phillip Hallam-Baker wrote:
> How much of the Web actually passes through client side proxies these days?
> Of those, how many have  caches?

>From what I have seen two years ago at some mobile phone operators, I'd
say close to 100% of smartphones. And since smartphones become predominant
internet users, this is already a very high part. Not to mention enterprises,
schools and hotels.

Willy



From ietf-http-wg-request@listhub.w3.org  Wed Oct 17 23:13:13 2012
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 B2D1E21F858F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 23:13:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.248
X-Spam-Level: 
X-Spam-Status: No, score=-9.248 tagged_above=-999 required=5 tests=[AWL=1.351, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OqrTm4aWiH4E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 17 Oct 2012 23:13:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1F1B921F85AC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 17 Oct 2012 23:13:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOjL8-0006lp-TE for ietf-http-wg-dist@listhub.w3.org; Thu, 18 Oct 2012 06:12:18 +0000
Resent-Date: Thu, 18 Oct 2012 06:12:18 +0000
Resent-Message-Id: <E1TOjL8-0006lp-TE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TOjL6-0006io-Pw for ietf-http-wg@listhub.w3.org; Thu, 18 Oct 2012 06:12:16 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TOjL2-0000g7-Rb for ietf-http-wg@w3.org; Thu, 18 Oct 2012 06:12:16 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9I6BTJ8008802; Thu, 18 Oct 2012 08:11:29 +0200
Date: Thu, 18 Oct 2012 08:11:29 +0200
From: Willy Tarreau <w@1wt.eu>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Simon Pieters <simonp@opera.com>, ietf-http-wg@w3.org
Message-ID: <20121018061129.GG7517@1wt.eu>
References: <op.wmbam8vtidj3kv@simons-macbook-pro.local> <5130.1350461751@critter.freebsd.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5130.1350461751@critter.freebsd.dk>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=-2.516, RP_MATCHES_RCVD=-0.37, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TOjL2-0000g7-Rb 3aad46e80b42dcb37915f596914bc8f2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/20121018061129.GG7517@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15395
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>

On Wed, Oct 17, 2012 at 08:15:51AM +0000, Poul-Henning Kamp wrote:
> --------
> In message <op.wmbam8vtidj3kv@simons-macbook-pro.local>, "Simon Pieters" writes
> :
> 
> >It would be useful if the spec required that UAs and intermediary caches  
> >act as if all responses had Vary: User-Agent specified, since many pages  
> >on the Web serve different content depending on the User-Agent header but  
> >do not bother specifying Vary: User-Agent.
> >
> >I would like this to be filed as a new issue in the issue tracker.
> 
> Fine with me, provided you _first_ reduce the number of distinct
> U-A strings on the web to something reasonable, lets say no more than 25 ?

One of my customers encodes them in logs to reduce log size, so basically
each new UA string gets assigned a 16-bit ID which is reused everytime the
same string is encountered. Last time we checked, we saw something like
30k different strings in one day worth of logs ! Some browsers emit all
the combinations of their plugins and versions, making the UA currently
useless.

Another benefit of getting much less different UAs is that their
identification string could significantly shrink then.

Willy



From ietf-http-wg-request@listhub.w3.org  Thu Oct 18 00:30:42 2012
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 DC6F121F852E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Oct 2012 00:30:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LB4bOr99PJ9g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Oct 2012 00:30:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8181121F851A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 18 Oct 2012 00:30:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOkW3-00073i-0p for ietf-http-wg-dist@listhub.w3.org; Thu, 18 Oct 2012 07:27:39 +0000
Resent-Date: Thu, 18 Oct 2012 07:27:39 +0000
Resent-Message-Id: <E1TOkW3-00073i-0p@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1TOkW0-00072z-E8 for ietf-http-wg@listhub.w3.org; Thu, 18 Oct 2012 07:27:36 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1TOkVz-0005H7-Jg for ietf-http-wg@w3.org; Thu, 18 Oct 2012 07:27:36 +0000
Received: from critter.freebsd.dk (critter-phk.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 9F5603B751; Thu, 18 Oct 2012 07:27:13 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q9I7RCeS090837; Thu, 18 Oct 2012 07:27:12 GMT (envelope-from phk@phk.freebsd.dk)
To: Willy Tarreau <w@1wt.eu>
cc: Simon Pieters <simonp@opera.com>, ietf-http-wg@w3.org
In-reply-to: <20121018061129.GG7517@1wt.eu>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
References: <op.wmbam8vtidj3kv@simons-macbook-pro.local> <5130.1350461751@critter.freebsd.dk> <20121018061129.GG7517@1wt.eu>
Date: Thu, 18 Oct 2012 07:27:12 +0000
Message-ID: <90836.1350545232@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-4.6
X-W3C-Hub-Spam-Report: AWL=-2.315, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.371
X-W3C-Scan-Sig: maggie.w3.org 1TOkVz-0005H7-Jg 2c317410c2dbd2ff06e857c0e9496517
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Require UAs and intermediary caches to assume Vary: User-Agent
Archived-At: <http://www.w3.org/mid/90836.1350545232@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15396
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>

--------
In message <20121018061129.GG7517@1wt.eu>, Willy Tarreau writes:
>On Wed, Oct 17, 2012 at 08:15:51AM +0000, Poul-Henning Kamp wrote:

>> Fine with me, provided you _first_ reduce the number of distinct
>> U-A strings on the web to something reasonable, lets say no more than 25 ?
>
>One of my customers encodes them in logs to reduce log size, so basically
>each new UA string gets assigned a 16-bit ID which is reused everytime the
>same string is encountered. Last time we checked, we saw something like
>30k different strings in one day worth of logs ! Some browsers emit all
>the combinations of their plugins and versions, making the UA currently
>useless.

Many of the, now illegal in EU, tracking schemes use U-A as a major
component in disambiguation factor, for exactly this reason.

>Another benefit of getting much less different UAs is that their
>identification string could significantly shrink then.

Personally I think the U-A is just plain wrong and should be dropped.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Thu Oct 18 06:59:20 2012
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 DEF6C21F8805 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Oct 2012 06:59:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zsiczyGQFeVR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 18 Oct 2012 06:59:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5A7FC21F8732 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 18 Oct 2012 06:59:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TOqZp-0000zM-GI for ietf-http-wg-dist@listhub.w3.org; Thu, 18 Oct 2012 13:55:57 +0000
Resent-Date: Thu, 18 Oct 2012 13:55:57 +0000
Resent-Message-Id: <E1TOqZp-0000zM-GI@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <slink@schokola.de>) id 1TOqZm-0000xz-S4 for ietf-http-wg@listhub.w3.org; Thu, 18 Oct 2012 13:55:54 +0000
Received: from smtp.mcs.de ([212.1.60.21]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <slink@schokola.de>) id 1TOqZi-0005Ud-8j for ietf-http-wg@w3.org; Thu, 18 Oct 2012 13:55:54 +0000
Received: from p5dd513a6.dip0.t-ipconnect.de ([93.213.19.166]:47681 helo=[192.168.77.39]) by smtp.mcs.de with esmtpa (Exim 4.76) (envelope-from <slink@schokola.de>) id 1TOqZM-0007Jm-Cp for ietf-http-wg@w3.org; Thu, 18 Oct 2012 15:55:29 +0200
Message-ID: <50800A50.2050207@schokola.de>
Date: Thu, 18 Oct 2012 15:55:28 +0200
From: Nils Goroll <slink@schokola.de>
User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:10.0.2) Gecko/20120217 Thunderbird/10.0.2
MIME-Version: 1.0
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=212.1.60.21; envelope-from=slink@schokola.de; helo=smtp.mcs.de
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1TOqZi-0005Ud-8j fc5040ba4d518c1f5f3ca7cfa1f89faf
X-Original-To: ietf-http-wg@w3.org
Subject: WGLC issue: (minor?) scope of client/server attributes (specifically:  downgrades) in p1
Archived-At: <http://www.w3.org/mid/50800A50.2050207@schokola.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15397
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>

Hi,

reviewing the draft due to the last call, I noticed an aspect which probably is 
of minor importance, but I don't want to miss the chance to seek some clarification:

On this example, but not necessarily limited to it:


				--- 8< ---
2.6. Protocol Versioning
[...]
    An HTTP client MAY send a lower request version if it is known that
    the server incorrectly implements the HTTP specification, but only
    after the client has attempted at least one normal request and
    determined from the response status or header fields (e.g., Server)
    that the server improperly handles higher request versions.

				--- 8< ---

In this case, a client would cache a certain server attribute (here: HTTP 
version) for reuse in subsequent requests.

Should the standard define the scope of such attribute caching/reuse? Regarding 
the example above, should the client send a lower version
- for the next request to the same resource only
- for the next request
- for the duration of this connection or
- for all future connections to the same (fqdn|network address)/port?

The same question would probably apply to servers and intermediaries. In 
general, how are "a client" and "a server" defined with respect to caching of 
such attributes?

Thanks, Nils


From ietf-http-wg-request@listhub.w3.org  Sat Oct 20 19:01:20 2012
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 1CA8C21F8924 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 20 Oct 2012 19:01:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.977
X-Spam-Level: 
X-Spam-Status: No, score=-9.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kbuP583MzO4X for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 20 Oct 2012 19:01:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2F1C621F88CD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 20 Oct 2012 19:01:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TPko9-00027E-O2 for ietf-http-wg-dist@listhub.w3.org; Sun, 21 Oct 2012 01:58:29 +0000
Resent-Date: Sun, 21 Oct 2012 01:58:29 +0000
Resent-Message-Id: <E1TPko9-00027E-O2@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mark@coactus.com>) id 1TPko6-00025i-4B for ietf-http-wg@listhub.w3.org; Sun, 21 Oct 2012 01:58:26 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mark@coactus.com>) id 1TPko5-0007XO-3o for ietf-http-wg@w3.org; Sun, 21 Oct 2012 01:58:26 +0000
Received: by mail-ob0-f171.google.com with SMTP id 16so1628218obc.2 for <ietf-http-wg@w3.org>; Sat, 20 Oct 2012 18:57:59 -0700 (PDT)
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=GiTR29M4xQPCBa0ZXQlOQrDN5V+t6+2wM4ZomigAlF4=; b=Y0Z51aRm267wglBQMT30wK5xQNtCnjfeeYQUworPFIY7lp/Wl+6YjtEtNd9LLyurvA LMYltdNFNJvIQoxWrsqrU2rfpO8y+jdSPh+0K9nkpzAJCA2kmzPQbBILvUjcNBoYcmjH GtGg/1KHn7UuV9rRoqf3MTmzZl9124IzOMlKXNrHIKIDPVE/lm//9gbStTR3SaYsSFj5 92t0XWNYFeYkYjRwbfxisTDrwu1+Ruyn/TYbBAH0Tpbirf0EaJc94cN/J6FDpbZrlI8z 1ZIj63idGQfOlvD5AyAmgQhYDXcqFCaCu/YPm9oWSzMgvMG/Z8UVGluO279wym8I3FMz lutQ==
MIME-Version: 1.0
Received: by 10.60.169.198 with SMTP id ag6mr4928772oec.35.1350784679351; Sat, 20 Oct 2012 18:57:59 -0700 (PDT)
Sender: mark@coactus.com
Received: by 10.76.143.230 with HTTP; Sat, 20 Oct 2012 18:57:59 -0700 (PDT)
In-Reply-To: <CABP7RbdxzfLqK8Ni3ZJAPW+NmenHLur-EhN+CD3cW4cdwAwsrQ@mail.gmail.com>
References: <002e01cdac79$affe20a0$0ffa61e0$@sysemia.co.uk> <CABP7RbdxzfLqK8Ni3ZJAPW+NmenHLur-EhN+CD3cW4cdwAwsrQ@mail.gmail.com>
Date: Sat, 20 Oct 2012 21:57:59 -0400
X-Google-Sender-Auth: UC9aMvrpQKqbGv1AUvcdxK-qbVw
Message-ID: <CALcoZio3WV+WDdfoAE0L9oVZv1B5XJ9kZ2afWuu2ER-BmKr7=Q@mail.gmail.com>
From: Mark Baker <distobj@acm.org>
To: James M Snell <jasnell@gmail.com>
Cc: Steve Battle <steve.battle@sysemia.co.uk>, ietf-http-wg@w3.org, public-ldp-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQnkqYPf7MT3ZGDC5YhNmhCpACG5Khf0/sceN4r7mr+muHABBlkCiPjWgGdppc0tpT/NfrMV
Received-SPF: none client-ip=209.85.214.171; envelope-from=mark@coactus.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.7
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1TPko5-0007XO-3o d39d1fb3afebc844f32f4959f95297d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: What is the document base URI of a POSTed document?
Archived-At: <http://www.w3.org/mid/CALcoZio3WV+WDdfoAE0L9oVZv1B5XJ9kZ2afWuu2ER-BmKr7=Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15398
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>

On Wed, Oct 17, 2012 at 11:18 AM, James M Snell <jasnell@gmail.com> wrote:
> I would say this is certainly a reasonable and logical assumption. Note,
> however, that you need to account for the possible presence of the
> Content-Location header within the POST request. If the POST includes a
> Content-Location, it's value effectively establishes the base URI.

I wish :) See the discussion associated with this issue;

http://www.w3.org/Protocols/HTTP/1.1/rfc2616bis/issues/#i80

Mark.


From ietf-http-wg-request@listhub.w3.org  Sat Oct 20 19:07:34 2012
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 B7F7221F8969 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 20 Oct 2012 19:07:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.24
X-Spam-Level: 
X-Spam-Status: No, score=-8.24 tagged_above=-999 required=5 tests=[AWL=2.358, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s4muZgawsWhY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 20 Oct 2012 19:07:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B7FCA21F88CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 20 Oct 2012 19:07:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TPkvl-0006aM-5A for ietf-http-wg-dist@listhub.w3.org; Sun, 21 Oct 2012 02:06:21 +0000
Resent-Date: Sun, 21 Oct 2012 02:06:21 +0000
Resent-Message-Id: <E1TPkvl-0006aM-5A@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TPkvd-0006YB-7S; Sun, 21 Oct 2012 02:06:13 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TPkvc-0000yv-0K; Sun, 21 Oct 2012 02:06:13 +0000
Received: by mail-vc0-f171.google.com with SMTP id m18so1973634vcm.2 for <multiple recipients>; Sat, 20 Oct 2012 19:05:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=u+QSqAVgGjfedkG3ztEyCC/jmkUJYG8qfin7WR3fNTI=; b=mBudQ9IYupocUhvFSFm/TQW5bF4FBJQ6yE2rlkjEjjqcxA52l6JI5KJqUDUPyocfrd 6DGrwm2lveL1POM98J5mLOwF3XkOZgxnbz7mczOkFFI6UwvnnuWBvgicUfO+4D3SFl2g X0l4a2g4xWUmVY8cVGy7Tj1SMKfqY6pVxBI4D/9InqxOLV3o3IR72EBEjknB7tnBjgP1 xm08tZZ62jgOLpxmgE3y/Tmc+J13Gex3CZKNruzSRF9PCoHKmbiZASMkrv00aYpP+ONg IBmeaV8fx1GCKvwLmyTqmDo7W16fsSIOBlqUjykERsIvg+vUWNv1g+2sEE5G/jDZ+u3g gzcg==
Received: by 10.52.28.144 with SMTP id b16mr6591678vdh.4.1350785145639; Sat, 20 Oct 2012 19:05:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.48.65 with HTTP; Sat, 20 Oct 2012 19:05:25 -0700 (PDT)
In-Reply-To: <CALcoZio3WV+WDdfoAE0L9oVZv1B5XJ9kZ2afWuu2ER-BmKr7=Q@mail.gmail.com>
References: <002e01cdac79$affe20a0$0ffa61e0$@sysemia.co.uk> <CABP7RbdxzfLqK8Ni3ZJAPW+NmenHLur-EhN+CD3cW4cdwAwsrQ@mail.gmail.com> <CALcoZio3WV+WDdfoAE0L9oVZv1B5XJ9kZ2afWuu2ER-BmKr7=Q@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Sat, 20 Oct 2012 19:05:25 -0700
Message-ID: <CABP7RbfFHiAiKZLQ8iTepJZSLjEvs7SwmdXma_SyKuQHchuEyA@mail.gmail.com>
To: Mark Baker <distobj@acm.org>
Cc: Steve Battle <steve.battle@sysemia.co.uk>, ietf-http-wg@w3.org, public-ldp-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf307f39c8c6151304cc882c5c
Received-SPF: pass client-ip=209.85.220.171; envelope-from=jasnell@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.711, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TPkvc-0000yv-0K 6da282b2f2ea3372b6dafa866c272f97
X-Original-To: ietf-http-wg@w3.org
Subject: Re: What is the document base URI of a POSTed document?
Archived-At: <http://www.w3.org/mid/CABP7RbfFHiAiKZLQ8iTepJZSLjEvs7SwmdXma_SyKuQHchuEyA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15399
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>

--20cf307f39c8c6151304cc882c5c
Content-Type: text/plain; charset=UTF-8

Granted, there may be implementations that have issues with it.. I'm basing
this off the language in the latest httpbis draft (
http://datatracker.ietf.org/doc/draft-ietf-httpbis-p2-semantics)...

Specifically...

<snip>
If the request has a Content-Location header field, then the
sender asserts that the payload is a representation of the
resource identified by the Content-Location field-value.  However,
such an assertion cannot be trusted unless it can be verified by
other means (not defined by HTTP).  The information might still be
useful for revision history links.
...
If Content-Location is included in a request message, then it MAY be
interpreted by the origin server as an indication of where the user
agent originall  y obtained the content of the enclosed representation
(prior to any subsequent modification of the content by that user
agent).  In other words, the user agent is providing the same
representation metadata that it received with the original
representation.
...
A Content-Location field received in a request message is transitory
information that SHOULD NOT be saved with other representation
metadata for use in later responses.  The Content-Location's value
might be saved for use in other contexts, such as within source links
or other metadata.
</snip>

As with everything tho, YMMV...

- James

On Sat, Oct 20, 2012 at 6:57 PM, Mark Baker <distobj@acm.org> wrote:

> On Wed, Oct 17, 2012 at 11:18 AM, James M Snell <jasnell@gmail.com> wrote:
> > I would say this is certainly a reasonable and logical assumption. Note,
> > however, that you need to account for the possible presence of the
> > Content-Location header within the POST request. If the POST includes a
> > Content-Location, it's value effectively establishes the base URI.
>
> I wish :) See the discussion associated with this issue;
>
> http://www.w3.org/Protocols/HTTP/1.1/rfc2616bis/issues/#i80
>
> Mark.
>

--20cf307f39c8c6151304cc882c5c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">Granted, there may be implementations =
that have issues with it.. I&#39;m basing this off the language in the late=
st httpbis draft (<a href=3D"http://datatracker.ietf.org/doc/draft-ietf-htt=
pbis-p2-semantics).">http://datatracker.ietf.org/doc/draft-ietf-httpbis-p2-=
semantics).</a>..=C2=A0</font><div>

<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new,monospace">Specifically...</font></div><div><font face=3D"courier=
 new,monospace"><br></font></div><div><font face=3D"courier new,monospace">=
&lt;snip&gt;</font></div>

<div><font face=3D"courier new,monospace"><div>If the request has a Content=
-Location header field, then the</div><div>sender asserts that the payload =
is a representation of the</div><div>resource identified by the Content-Loc=
ation field-value. =C2=A0However,</div>

<div>such an assertion cannot be trusted unless it can be verified by</div>=
<div>other means (not defined by HTTP). =C2=A0The information might still b=
e</div><div>useful for revision history links.</div><div>... =C2=A0=C2=A0</=
div><div>If Content-Location is included in a request message, then it MAY =
be</div>

<div>interpreted by the origin server as an indication of where the user</d=
iv><div>agent originall =C2=A0y obtained the content of the enclosed repres=
entation</div><div>(prior to any subsequent modification of the content by =
that user</div>

<div>agent). =C2=A0In other words, the user agent is providing the same</di=
v><div>representation metadata that it received with the original</div><div=
>representation.</div><div>...</div><div>A Content-Location field received =
in a request message is transitory</div>

<div>information that SHOULD NOT be saved with other representation</div><d=
iv>metadata for use in later responses. =C2=A0The Content-Location&#39;s va=
lue</div><div>might be saved for use in other contexts, such as within sour=
ce links</div>

<div>or other metadata.</div><div>&lt;/snip&gt;</div><div><br></div><div>As=
 with everything tho, YMMV...</div><div><br></div><div>- James</div></font>=
<br><div class=3D"gmail_quote">On Sat, Oct 20, 2012 at 6:57 PM, Mark Baker =
<span dir=3D"ltr">&lt;<a href=3D"mailto:distobj@acm.org" target=3D"_blank">=
distobj@acm.org</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">On Wed, Oct 17, 2012 at 11=
:18 AM, James M Snell &lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gmai=
l.com</a>&gt; wrote:<br>


&gt; I would say this is certainly a reasonable and logical assumption. Not=
e,<br>
&gt; however, that you need to account for the possible presence of the<br>
&gt; Content-Location header within the POST request. If the POST includes =
a<br>
&gt; Content-Location, it&#39;s value effectively establishes the base URI.=
<br>
<br>
</div>I wish :) See the discussion associated with this issue;<br>
<br>
<a href=3D"http://www.w3.org/Protocols/HTTP/1.1/rfc2616bis/issues/#i80" tar=
get=3D"_blank">http://www.w3.org/Protocols/HTTP/1.1/rfc2616bis/issues/#i80<=
/a><br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Mark.<br>
</font></span></blockquote></div><br></div>

--20cf307f39c8c6151304cc882c5c--


From ietf-http-wg-request@listhub.w3.org  Sun Oct 21 14:07:42 2012
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 4A6BA21F89AB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 21 Oct 2012 14:07:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.949
X-Spam-Level: 
X-Spam-Status: No, score=-6.949 tagged_above=-999 required=5 tests=[AWL=3.650, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QGRfSMdrfKL5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 21 Oct 2012 14:07:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C46A021F8992 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 21 Oct 2012 14:07:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQ2ho-0003TD-0d for ietf-http-wg-dist@listhub.w3.org; Sun, 21 Oct 2012 21:05:08 +0000
Resent-Date: Sun, 21 Oct 2012 21:05:08 +0000
Resent-Message-Id: <E1TQ2ho-0003TD-0d@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nathan@webr3.org>) id 1TQ2hl-0003SJ-7z for ietf-http-wg@listhub.w3.org; Sun, 21 Oct 2012 21:05:05 +0000
Received: from mail-wi0-f179.google.com ([209.85.212.179]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <nathan@webr3.org>) id 1TQ2hk-0006wF-IL for ietf-http-wg@w3.org; Sun, 21 Oct 2012 21:05:05 +0000
Received: by mail-wi0-f179.google.com with SMTP id hq7so1483360wib.8 for <ietf-http-wg@w3.org>; Sun, 21 Oct 2012 14:04:38 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:subject:content-type:content-transfer-encoding :x-gm-message-state; bh=dzgXHMlwlmnm35G6SMhMOXbwYp1Z9bh5nD6vL9RY76k=; b=mQPsTLOThCwxkQ374HEpU0YdFiSwD6QG+R7cuY6T4Q0kLcugKrHxl45N/V/SCAevOT tRp2cBLA9ZdhEePDCSE29z883H3Czzzxh/SPn7yBL+olxVif13qe5WRY2vmBK2rFG6bu +r1+VBieDuJBrKFY2DPRlbtWJxKObMv7YO8o6NmVfFzXdZ0KBDUndz8VjYaQZ7eGP2DM TTN25ErkbF3hvGqfYZfvO7ErzROhkKsIa1ijGYjyiknl+wGYmklYla1FFD4cEoebGvnu WQCUhIMKtgipv2IBtt9MQ28n6R2PaOfM6RryX3FoXnwY3Y4/kc5FNPK5x21gs8COta9T gWvA==
Received: by 10.216.26.138 with SMTP id c10mr4619249wea.76.1350853477912; Sun, 21 Oct 2012 14:04:37 -0700 (PDT)
Received: from [192.168.1.69] (host86-141-252-78.range86-141.btcentralplus.com. [86.141.252.78]) by mx.google.com with ESMTPS id p4sm18048225wix.0.2012.10.21.14.04.36 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 21 Oct 2012 14:04:37 -0700 (PDT)
Message-ID: <5084634D.9000509@webr3.org>
Date: Sun, 21 Oct 2012 22:04:13 +0100
From: Nathan <nathan@webr3.org>
Reply-To: nathan@webr3.org
Organization: webr3
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQm9ntKfyDvgw825UsGP9n95LEUVloyFGEM+AONwq4PzOhDnCuhMbqgnIgUU+Kn+UqNhSzYv
Received-SPF: none client-ip=209.85.212.179; envelope-from=nathan@webr3.org; helo=mail-wi0-f179.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-0.805, BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1TQ2hk-0006wF-IL 33a71ebf0584e781488e61877294171f
X-Original-To: ietf-http-wg@w3.org
Subject: 204/205 Text nit
Archived-At: <http://www.w3.org/mid/5084634D.9000509@webr3.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15400
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>

 From p2-semantics, v21:

    The 204 response MUST NOT include a message body, and thus is always
    terminated by the first empty line after the header fields.

...

7.3.6.  205 Reset Content

    The message body included with the response MUST be empty.  Note that
    receivers still need to parse the response according to the algorithm
    defined in Section 3.3 of [Part1].

Are both bits of text trying to say the same thing, should they use the 
same text?

Best,

Nathan


From ietf-http-wg-request@listhub.w3.org  Sun Oct 21 19:46:27 2012
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 2166921F8A6C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 21 Oct 2012 19:46:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kEOU0kQiPea1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 21 Oct 2012 19:46:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4E0DA21F8A6A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 21 Oct 2012 19:46:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQ802-0006YR-RO for ietf-http-wg-dist@listhub.w3.org; Mon, 22 Oct 2012 02:44:18 +0000
Resent-Date: Mon, 22 Oct 2012 02:44:18 +0000
Resent-Message-Id: <E1TQ802-0006YR-RO@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TQ7zz-0006Xm-0i for ietf-http-wg@listhub.w3.org; Mon, 22 Oct 2012 02:44:15 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TQ7zx-0007lz-Vy for ietf-http-wg@w3.org; Mon, 22 Oct 2012 02:44:14 +0000
Received: by mail-vc0-f171.google.com with SMTP id m18so2650000vcm.2 for <ietf-http-wg@w3.org>; Sun, 21 Oct 2012 19:43:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=MEgHoSufUHQwEqaRJKXou9yE1Td5Wh6T6wegDtyzGJU=; b=ZgZbHocQMASp2GNGkr2SMmpYhO+pIVYDZlzAi+OaMD/g6XIidkzA3jb+GOMIFk4A2B 2GwcGt1Bt/j1kVmrr9xoDMZWE4eq9DREzyvTYPSP9SAFjfHnz2/Edq9F9hqRrLoD1Qsb NdgF6FGIgqbR19UDAjaeKnYcqvSpJAPdFQ+/jpxThhlsXESEHdQ9YKXiRsc7rnh+TAj3 qIID/yTnZDJW2xj0PStKjQgEqe346oIYpuDnMSKNT10jRfswEXf/+kn2Y8p7cMO3+2O/ BucVN1rj9pruUywlL11xx8yh+FCUb/CnQAOXyNLRc8gyzXfE4pYZmOaydzu4Zhrw4AF2 gmKw==
MIME-Version: 1.0
Received: by 10.58.155.169 with SMTP id vx9mr13639617veb.45.1350873828305; Sun, 21 Oct 2012 19:43:48 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Sun, 21 Oct 2012 19:43:48 -0700 (PDT)
In-Reply-To: <5084634D.9000509@webr3.org>
References: <5084634D.9000509@webr3.org>
Date: Sun, 21 Oct 2012 21:43:48 -0500
Message-ID: <CACuKZqHfn1U5dJChLATExEos0foE7WrtpMmwoyWVdmXxWU9QOg@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: nathan@webr3.org
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.746, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQ7zx-0007lz-Vy de3dec618786e80f2a171b405ed404db
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 204/205 Text nit
Archived-At: <http://www.w3.org/mid/CACuKZqHfn1U5dJChLATExEos0foE7WrtpMmwoyWVdmXxWU9QOg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15401
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>

My understanding:

A 204 response does not carry a representation.

A 205 response does carry a representation; the representation data
must be empty.

A 204 response may or may not contain Transfer-Encoding/Content-Length
headers; they will be ignored by client anyway, so it's better not to
include them (not even a Content-Length:0 header)

A 205 response must not contain a Transfer-Encoding (otherwise the
message body cannot be empty). The 205 response must
1. either contain a "Content-Length:0" header
2. or be terminated by closing the connection

(Note that 205 responses can still transmit non-trivial
representations, through crafted Content-Type and Content-Encoding.
That's probably not intended.)

Zhong Yu


On Sun, Oct 21, 2012 at 4:04 PM, Nathan <nathan@webr3.org> wrote:
> From p2-semantics, v21:
>
>    The 204 response MUST NOT include a message body, and thus is always
>    terminated by the first empty line after the header fields.
>
> ...
>
> 7.3.6.  205 Reset Content
>
>    The message body included with the response MUST be empty.  Note that
>    receivers still need to parse the response according to the algorithm
>    defined in Section 3.3 of [Part1].
>
> Are both bits of text trying to say the same thing, should they use the same
> text?
>
> Best,
>
> Nathan
>


From ietf-http-wg-request@listhub.w3.org  Sun Oct 21 21:53:39 2012
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 948E221F8AC2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 21 Oct 2012 21:53:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.024
X-Spam-Level: 
X-Spam-Status: No, score=-8.024 tagged_above=-999 required=5 tests=[AWL=2.575, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZuD8qHr15oz5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 21 Oct 2012 21:53:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AECA721F8AB6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 21 Oct 2012 21:53:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQ9zA-0000Dx-32 for ietf-http-wg-dist@listhub.w3.org; Mon, 22 Oct 2012 04:51:32 +0000
Resent-Date: Mon, 22 Oct 2012 04:51:32 +0000
Resent-Message-Id: <E1TQ9zA-0000Dx-32@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQ9z5-0000DD-Vi for ietf-http-wg@listhub.w3.org; Mon, 22 Oct 2012 04:51:28 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQ9z4-0002st-Lj for ietf-http-wg@w3.org; Mon, 22 Oct 2012 04:51:27 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0571622DD6D; Mon, 22 Oct 2012 00:51:02 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <5084634D.9000509@webr3.org>
Date: Mon, 22 Oct 2012 15:50:53 +1100
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9CE2DD43-D958-4802-AA09-36BFBC11DD97@mnot.net>
References: <5084634D.9000509@webr3.org>
To: nathan@webr3.org
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-1.866, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQ9z4-0002st-Lj 59e3d1fa9d07844cf68ec22711a6b571
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 204/205 Text nit
Archived-At: <http://www.w3.org/mid/9CE2DD43-D958-4802-AA09-36BFBC11DD97@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15402
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>

They're purposefully different; 204 (along with 304 an 1xx) are =
grandfathered in as special cases from RFC2616 and predecessors.=20

Cheers,


On 22/10/2012, at 8:04 AM, Nathan <nathan@webr3.org> wrote:

> =46rom p2-semantics, v21:
>=20
>   The 204 response MUST NOT include a message body, and thus is always
>   terminated by the first empty line after the header fields.
>=20
> ...
>=20
> 7.3.6.  205 Reset Content
>=20
>   The message body included with the response MUST be empty.  Note =
that
>   receivers still need to parse the response according to the =
algorithm
>   defined in Section 3.3 of [Part1].
>=20
> Are both bits of text trying to say the same thing, should they use =
the same text?
>=20
> Best,
>=20
> Nathan
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 07:54:21 2012
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 B90B221F85E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 07:54:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z7J0edtD1D5b for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 07:54:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C606A21F84CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 07:54:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQJMp-0003Nr-I1 for ietf-http-wg-dist@listhub.w3.org; Mon, 22 Oct 2012 14:52:35 +0000
Resent-Date: Mon, 22 Oct 2012 14:52:35 +0000
Resent-Message-Id: <E1TQJMp-0003Nr-I1@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <TFossati@velocix.com>) id 1TQJMk-0003NC-P1 for ietf-http-wg@listhub.w3.org; Mon, 22 Oct 2012 14:52:30 +0000
Received: from mail-out1.velocix.com ([81.134.152.10] helo=owa.velocix.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <TFossati@velocix.com>) id 1TQJMg-0003LL-56 for ietf-http-wg@w3.org; Mon, 22 Oct 2012 14:52:30 +0000
Received: from EXB01-MLT.corp.velocix.com ([169.254.2.232]) by EXC00CAM.corp.velocix.com ([172.18.4.40]) with mapi id 14.02.0247.003; Mon, 22 Oct 2012 15:51:58 +0100
From: Thomas Fossati <TFossati@velocix.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: review of p5-latest 
Thread-Index: AQHNsGTI1fCFBASNCkKRa9Lhcc8GLA==
Date: Mon, 22 Oct 2012 14:51:58 +0000
Message-ID: <DA86AAEF6E448540808AFA696EA47E5A40069EAF@EXB01-MLT.corp.velocix.com>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [81.134.152.4]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <E54335E1A1D14648A04469254F536A56@velocix.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=81.134.152.10; envelope-from=TFossati@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: AWL=-2.133, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.735
X-W3C-Scan-Sig: lisa.w3.org 1TQJMg-0003LL-56 dfc11cf0f82f3374a3e4e65190f02122
X-Original-To: ietf-http-wg@w3.org
Subject: review of p5-latest 
Archived-At: <http://www.w3.org/mid/DA86AAEF6E448540808AFA696EA47E5A40069EAF@EXB01-MLT.corp.velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15403
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>

Hi, I've been reading from top to bottom the last version of p5, and got
this small bunch of comments.

Cheers, Thomas.


=3D Misc:
  * I can't find an explicit "MUST not include Content-Range in a response
header when Content-Type is multipart/byteranges"
  * Sect. 3.2/5.2: is "*/*" an acceptable value for Content-Range + 416 ?
  * Sect. 4.1: requirement to serve ranges in the order specified by the
client could be in contrast with the suggestion, a couple of paragraphs
afterwards, of combining overlapping ranges (which could imply reordering)
  * Sect. 4.2, last paragraph: "... then the client MAY store ...", isn't
it an implementation detail ?
  * Sect. 7.1: the actual suggestion for reducing the security risk
associated to overlapping ranges is not detailed (as promised in the first
paragraph of Sect. 7).  Add a back-link to Sect. 4.1 ?  Or move the
"Server MAY combine requested ranges ..." here ?  Further to this point,
it would be nice to mandate some preferred behaviour on both senders
and/or receivers to simplify interoperability (e.g. senders SHOULD not
send overlapping ranges and/or receivers SHOULD always compute the minimum
number of ranges needed to satisfy a given range request).
  * Appendix A: I may be missing something obvious, but I can't find any
good reason (i.e. one that is not listed in -p1 Sect. 3.3.2) to avoid
stating the Content-Length in the examples.

=3D Editorial:
  * Sect. 5.3: "... send me the part(s) that I'm missing ..." =3D> "... sen=
d
me the part(s) I'm requesting ..."
  * Sect. 5.4.2: the preamble to the bulleted list has the attribute
"appropriate" which could be substituted by a less generic wording, like
e.g.: "... are all syntactically correct as defined in Section 5.4.1, and
at least one of the ranges has non empty intersection with the current
resource representation extent, then: ..."
  * Sect. 5.2, last paragraph seems misplaced (does it belong to Sect. 5.4
instead ?)


=3D Typos:
  * Sect. 4.2: "most header" =3D> "most recent header"
  * Sect. 5.2: "request: A" =3D> "request: a"



From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 09:29:10 2012
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 0BFE221F8168 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 09:29:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GvPazwqiwH4S for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 09:29:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 80EFE21F88DC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 09:29:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQKqW-0004tW-II for ietf-http-wg-dist@listhub.w3.org; Mon, 22 Oct 2012 16:27:20 +0000
Resent-Date: Mon, 22 Oct 2012 16:27:20 +0000
Resent-Message-Id: <E1TQKqW-0004tW-II@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1TQKqT-0004sm-Qd for ietf-http-wg@listhub.w3.org; Mon, 22 Oct 2012 16:27:17 +0000
Received: from inari-msr.crf.canon.fr ([194.2.158.67]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1TQKqN-0003Lf-Qq for ietf-http-wg@w3.org; Mon, 22 Oct 2012 16:27:17 +0000
Received: from mir-bsr.corp.crf.canon.fr (mir-bsr.corp.crf.canon.fr [172.19.77.99]) by inari-msr.crf.canon.fr (8.13.8/8.13.8) with ESMTP id q9MGQimC006924 for <ietf-http-wg@w3.org>; Mon, 22 Oct 2012 18:26:44 +0200
Received: from ADELE.crf.canon.fr (adele.fesl2.crf.canon.fr [172.19.70.17]) by mir-bsr.corp.crf.canon.fr (8.13.8/8.13.8) with ESMTP id q9MGQiuA002095 for <ietf-http-wg@w3.org>; Mon, 22 Oct 2012 18:26:44 +0200
Received: from ADELE.crf.canon.fr ([::1]) by ADELE.crf.canon.fr ([::1]) with mapi id 14.02.0318.004; Mon, 22 Oct 2012 18:26:44 +0200
From: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP Header Compaction Results
Thread-Index: Ac2wcgXit5LTd9P6QaaUL6UpBFu20A==
Date: Mon, 22 Oct 2012 16:26:44 +0000
Message-ID: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr>
Accept-Language: en-US, fr-FR
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [172.20.5.239]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=194.2.158.67; envelope-from=Herve.Ruellan@crf.canon.fr; helo=inari-msr.crf.canon.fr
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RP_MATCHES_RCVD=-0.735
X-W3C-Scan-Sig: maggie.w3.org 1TQKqN-0003Lf-Qq de7feeb5aa64d3ca95e2d1160a54b512
X-Original-To: ietf-http-wg@w3.org
Subject: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15404
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>

Hi all,

We are currently studying the compaction results for different header encod=
ing formats, including various SPDY versions and an internally developed fo=
rmat (we plan to publish its description as soon as possible).

We are wondering whether anyone is aware of a test corpus for HTTP exchange=
s that would be available, or could be made available. This would help us o=
btaining fair and realistic results.

Currently we are using web pages obtained from Alexa's top ranked sites. Wh=
ile computing our results, we are taking into account several parameters: s=
eparate study of requests and responses, using deflate or not (when relevan=
t), variable number of exchanged messages (corresponding to loading from 1 =
to 10 web pages). Any advice on these measurements would be appreciated.

Last, we would like to share our results to help the WG discussions on this=
 topic. As we're rather new to the IETF, we're not sure of the best way to =
do this. I plan to attend the IEFT 85 meeting in Atlanta, so I could use th=
is occasion to share these results.

Regards,

Herv=E9


From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 09:37:55 2012
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 9E45A21F8B73 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 09:37:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.099
X-Spam-Level: 
X-Spam-Status: No, score=-7.099 tagged_above=-999 required=5 tests=[AWL=3.500, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0UhDIKwi6Xur for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 09:37:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AB3DE21F8ACF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 09:37:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQL02-0004iv-Ux for ietf-http-wg-dist@listhub.w3.org; Mon, 22 Oct 2012 16:37:10 +0000
Resent-Date: Mon, 22 Oct 2012 16:37:10 +0000
Resent-Message-Id: <E1TQL02-0004iv-Ux@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <vinayakh@gmail.com>) id 1TQKzz-0003ez-Pi for ietf-http-wg@listhub.w3.org; Mon, 22 Oct 2012 16:37:07 +0000
Received: from mail-ea0-f171.google.com ([209.85.215.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <vinayakh@gmail.com>) id 1TQKzy-0003j2-N9 for ietf-http-wg@w3.org; Mon, 22 Oct 2012 16:37:07 +0000
Received: by mail-ea0-f171.google.com with SMTP id k14so949903eaa.2 for <ietf-http-wg@w3.org>; Mon, 22 Oct 2012 09:36:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=A5QeuZVhtJ3mu3OOX11U8ydflTTOP3cdNkSNDDG/ews=; b=FfKlFf5wcnm6rcTQL9oCiZF7lQo+3rgHrIYoc9RuNtI0z1SAIXcp+Y+dRhehJ8bUCN I0nQHijfgv8STbIyqdEjsGlOQnS5qDiqYKy4Mk7dOYZzlENrqowLj1gito8FMWgg0JGX NkLtUM1KLwfgq6M/E6aPSZUFmsKBHZVwOw6NlJp1EQ43qoKaoDV7J1YIc+nmMk4VDYhw up1RY5QLZEeqdzHNiz7VFISlRv9rXjvFQDuMcZMLgW3ulKFb25ywxtOYTM0h1wPIfdDk rOZkn0wJatuCet+mU8yhLmI0Rb8wiNCJwQ57xTO1yTPYiMcOd4uK/HKxK6zZyR9rlAUI nKhA==
MIME-Version: 1.0
Received: by 10.14.175.71 with SMTP id y47mr12923324eel.36.1350923800236; Mon, 22 Oct 2012 09:36:40 -0700 (PDT)
Received: by 10.14.194.70 with HTTP; Mon, 22 Oct 2012 09:36:40 -0700 (PDT)
In-Reply-To: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr>
Date: Mon, 22 Oct 2012 22:06:40 +0530
Message-ID: <CAKe6YvO0AOUQO7PS=zHqfKLH8=Omzh9SV1K6-_DH+Pjupp2QsA@mail.gmail.com>
From: Vinayak Hegde <vinayakh@gmail.com>
To: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.215.171; envelope-from=vinayakh@gmail.com; helo=mail-ea0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQKzy-0003j2-N9 b3a8dda972a73b0e9d63e298dea468f3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/CAKe6YvO0AOUQO7PS=zHqfKLH8=Omzh9SV1K6-_DH+Pjupp2QsA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15405
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>

On Mon, Oct 22, 2012 at 9:56 PM, RUELLAN Herve
<Herve.Ruellan@crf.canon.fr> wrote:
> Hi all,
>
> We are currently studying the compaction results for different header encoding formats, including various SPDY versions and an internally developed format (we plan to publish its description as soon as possible).
>
> We are wondering whether anyone is aware of a test corpus for HTTP exchanges that would be available, or could be made available. This would help us obtaining fair and realistic results.

The internet archive stores the HTTP response as it is received and
has a huge trove of results. However I don't know if it is available
for download and replay. The arc file format is documented here -
http://crawler.archive.org/articles/developer_manual/arcs.html

Some of their code is also available on github -
https://github.com/internetarchive

Also the HTTP archive that look at some of the top alexa ranked sites
has data available - http://httparchive.org/

Regards
Vinayak


From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 16:06:01 2012
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 3C88F21F8B8A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 16:06:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.996
X-Spam-Level: 
X-Spam-Status: No, score=-7.996 tagged_above=-999 required=5 tests=[AWL=2.603, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R376Dqz1gq4z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 16:06:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 43D8721F8530 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 16:06:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQR2a-0004bH-Q2 for ietf-http-wg-dist@listhub.w3.org; Mon, 22 Oct 2012 23:04:12 +0000
Resent-Date: Mon, 22 Oct 2012 23:04:12 +0000
Resent-Message-Id: <E1TQR2a-0004bH-Q2@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQR2W-0004aY-Kp for ietf-http-wg@listhub.w3.org; Mon, 22 Oct 2012 23:04:08 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQR2V-0001kB-Fs for ietf-http-wg@w3.org; Mon, 22 Oct 2012 23:04:08 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 470E122E1F4 for <ietf-http-wg@w3.org>; Mon, 22 Oct 2012 19:03:44 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <93A59AEB-143B-485F-927E-997FBAC4E0BA@mnot.net>
Date: Tue, 23 Oct 2012 10:03:43 +1100
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-1.862, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQR2V-0001kB-Fs da07a31ca31297035318f38f739d7cad
X-Original-To: ietf-http-wg@w3.org
Subject: Second Working Group Last Call for HTTP/1.1 p4 to p7
Archived-At: <http://www.w3.org/mid/93A59AEB-143B-485F-927E-997FBAC4E0BA@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15406
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>

In conjunction with the WGLC for p1 and p2, we're going to run a Second =
WGLC for p4 to p7. The changes here are mostly editorial, with some =
driven by previous WGLC discussion; hopefully there shouldn't be any =
surprises.=20

As such, WGLC will end with that for p1 and p2, on November 25.

* Hypertext Transfer Protocol (HTTP/1.1): Conditional Requests
  http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-21

  Diffs from the previous WGLC:
    =
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p4-conditional-20.=
txt
    =
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p4-conditional-21.=
txt

* Hypertext Transfer Protocol (HTTP/1.1): Range Requests
  http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-21

  Diffs from the previous WGLC:
    =
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p5-range-20.txt
    =
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p5-range-21.txt

* Hypertext Transfer Protocol (HTTP/1.1): Caching
  http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-21

  Diffs from the previous WGLC:
    =
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p6-cache-20.txt
    =
http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p6-cache-21.txt

* Hypertext Transfer Protocol (HTTP/1.1): Authentication
    http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-21

  Diffs from the previous WGLC:
    http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p7-auth-20.txt=

    http://tools.ietf.org/rfcdiff?url2=3Ddraft-ietf-httpbis-p7-auth-21.txt=



Providing Feedback
----------------

Your input should be sent to this mailing list, clearly marked with =
"WGLC" and the appropriate part. E.g., with Subject lines such as:

Subject: WGLC review of p7-caching
Subject: WGLC issue: "foo" in p7

Issues that you believe to be editorial in nature (e.g., typos, =
suggested re-phrasing) can be grouped together in a single e-mail. =
Substantive issues (what we call "design" issues) that may need =
discussion should be sent one per e-mail, with a descriptive subject.

If you disagree with the resolution of a previously discussed issue, =
you're encouraged to note that at this time.


What's Next
-----------

The Working Group will discuss these issues, re-issuing drafts as =
necessary. Tickets raised on these drafts will have a severity of "In WG =
Last Call" , and once they are disposed of, we'll see if there's =
consensus on going to IETF Last Call on them.

Thanks yet again to the editors for their hard work in getting to this =
point.

Regards,

--
Mark Nottingham   http://www.mnot.net/






From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 16:10:11 2012
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 830BB21F8B97 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 16:10:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.038
X-Spam-Level: 
X-Spam-Status: No, score=-8.038 tagged_above=-999 required=5 tests=[AWL=2.561, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Hvy0FLLJQfbV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 16:10:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B669821F8B96 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 16:10:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQR7p-0006UT-Ob for ietf-http-wg-dist@listhub.w3.org; Mon, 22 Oct 2012 23:09:37 +0000
Resent-Date: Mon, 22 Oct 2012 23:09:37 +0000
Resent-Message-Id: <E1TQR7p-0006UT-Ob@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQR7m-0006To-BI for ietf-http-wg@listhub.w3.org; Mon, 22 Oct 2012 23:09:34 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQR7k-0001ve-OL for ietf-http-wg@w3.org; Mon, 22 Oct 2012 23:09:34 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4C30022E255; Mon, 22 Oct 2012 19:09:09 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <50800A50.2050207@schokola.de>
Date: Tue, 23 Oct 2012 10:09:09 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <A676CFB6-224E-4BB7-9C7B-115A20BAFC53@mnot.net>
References: <50800A50.2050207@schokola.de>
To: Nils Goroll <slink@schokola.de>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.6
X-W3C-Hub-Spam-Report: AWL=-1.729, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQR7k-0001ve-OL 490e3458b2f562af8291a795956ce5ae
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC issue: (minor?) scope of client/server attributes (specifically:  downgrades) in p1
Archived-At: <http://www.w3.org/mid/A676CFB6-224E-4BB7-9C7B-115A20BAFC53@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15407
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>

Hi Nils,

Thanks for the feedback. It's an interesting question.

There are a few different things that implementations need to know along =
these lines, in practice, to operate efficiently.=20

However, we generally try not to define / require things unless they're =
needed for interoperability. I.e., if two different clients cache this =
information using two different heuristics, the Web will still work.=20

On the other hand, if we specify a particular algorithm, that ties the =
hands of implementers so that they can't experiment with different =
approaches here.

Cheers,


On 19/10/2012, at 12:55 AM, Nils Goroll <slink@schokola.de> wrote:

> Hi,
>=20
> reviewing the draft due to the last call, I noticed an aspect which =
probably is of minor importance, but I don't want to miss the chance to =
seek some clarification:
>=20
> On this example, but not necessarily limited to it:
>=20
>=20
> 				--- 8< ---
> 2.6. Protocol Versioning
> [...]
>   An HTTP client MAY send a lower request version if it is known that
>   the server incorrectly implements the HTTP specification, but only
>   after the client has attempted at least one normal request and
>   determined from the response status or header fields (e.g., Server)
>   that the server improperly handles higher request versions.
>=20
> 				--- 8< ---
>=20
> In this case, a client would cache a certain server attribute (here: =
HTTP version) for reuse in subsequent requests.
>=20
> Should the standard define the scope of such attribute caching/reuse? =
Regarding the example above, should the client send a lower version
> - for the next request to the same resource only
> - for the next request
> - for the duration of this connection or
> - for all future connections to the same (fqdn|network address)/port?
>=20
> The same question would probably apply to servers and intermediaries. =
In general, how are "a client" and "a server" defined with respect to =
caching of such attributes?
>=20
> Thanks, Nils
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 16:14:08 2012
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 DEE9811E80ED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 16:14:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.08
X-Spam-Level: 
X-Spam-Status: No, score=-8.08 tagged_above=-999 required=5 tests=[AWL=2.519, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zW7vXrrK5zQ0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 16:14:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8712F11E80FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 16:14:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQRBS-0007zO-8F for ietf-http-wg-dist@listhub.w3.org; Mon, 22 Oct 2012 23:13:22 +0000
Resent-Date: Mon, 22 Oct 2012 23:13:22 +0000
Resent-Message-Id: <E1TQRBS-0007zO-8F@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQRBP-0007ya-Gl for ietf-http-wg@listhub.w3.org; Mon, 22 Oct 2012 23:13:19 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQRBO-0006tA-9p for ietf-http-wg@w3.org; Mon, 22 Oct 2012 23:13:19 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4DE2622E25B for <ietf-http-wg@w3.org>; Mon, 22 Oct 2012 19:12:55 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <87461482-A30E-43E7-B69E-15A57950FD0C@mnot.net>
Date: Tue, 23 Oct 2012 10:12:56 +1100
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-1.862, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQRBO-0006tA-9p 6f7b02e36781fe6d6ce3b69454ce3614
X-Original-To: ietf-http-wg@w3.org
Subject: Working Group Last Call on Registration Documents
Archived-At: <http://www.w3.org/mid/87461482-A30E-43E7-B69E-15A57950FD0C@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15408
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>

The editors and I believe that the following drafts are ready for =
Working Group Last Call:

* Initial Hypertext Transfer Protocol (HTTP) Method Registrations
  http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-10

* Initial Hypertext Transfer Protocol (HTTP) Authentication Scheme =
Registrations
  =
http://tools.ietf.org/html/draft-ietf-httpbis-authscheme-registrations-05

Accordingly, please review these documents and bring any remaining =
issues, or issues whose resolution is not satisfactory, to the attention =
of the Working Group on this list.

As a reminder, these documents are intended to define the *initial* =
contents for their respective registries.=20

WGLC will end on November 25th.


Providing Feedback
----------------

Your input should be sent to this mailing list, clearly marked with =
"WGLC" and the appropriate part. E.g., with Subject lines such as:

Subject: WGLC review of authscheme-registrations
Subject: WGLC issue: "foo" in method-registrations

Issues that you believe to be editorial in nature (e.g., typos, =
suggested re-phrasing) can be grouped together in a single e-mail. =
Substantive issues (what we call "design" issues) that may need =
discussion should be sent one per e-mail, with a descriptive subject.

If you disagree with the resolution of a previously discussed issue, =
you're encouraged to note that at this time.


What's Next
-----------

The Working Group will discuss these issues, re-issuing drafts as =
necessary. Tickets raised on these drafts will have a severity of "In WG =
Last Call" , and once they are disposed of, we'll see if there's =
consensus on going to IETF Last Call on them.

Thanks again to the editors for their hard work in getting to this =
point.

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 17:51:12 2012
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 C2CDA1F0C5F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 17:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.738
X-Spam-Level: 
X-Spam-Status: No, score=-9.738 tagged_above=-999 required=5 tests=[AWL=0.860, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0X6I4ZMyoymb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 17:51:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E984E1F0429 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 17:51:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQSgO-0006P5-3a for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 00:49:24 +0000
Resent-Date: Tue, 23 Oct 2012 00:49:24 +0000
Resent-Message-Id: <E1TQSgO-0006P5-3a@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TQSgE-0006OL-N0 for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 00:49:14 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TQSgC-0002oF-LE for ietf-http-wg@w3.org; Tue, 23 Oct 2012 00:49:14 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.3.0 (Build 3461)) with SMTP id <0019318094@smtp.qbik.com>; Tue, 23 Oct 2012 13:48:46 +1300
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "James M Snell" <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 23 Oct 2012 00:48:46 +0000
Content-Type: multipart/alternative; boundary="------=_MB2216E7A2-6DCC-40F5-9C3F-DAA9E60D8189"
In-Reply-To: <CABP7RbcMUmmVunh-k506f2JyuYkybxrRXB=Mhpn=DSkhDxtMDw@mail.gmail.com>
Message-Id: <em47314174-6ac9-4808-a23b-71279c9937d0@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQSgC-0002oF-LE bd85f6afb9cf87704549a28af074b8da
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Updated Prefer Header Draft
Archived-At: <http://www.w3.org/mid/em47314174-6ac9-4808-a23b-71279c9937d0@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15409
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>

--------=_MB2216E7A2-6DCC-40F5-9C3F-DAA9E60D8189
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


Hi James

as a proxy developer, I'm always interested in how such protocol=20
changes will impact my product, and there's always the cost/benefit=20
analysis which on one hand looks at what is the likely implementation=20
rate or importance of sites that may choose to rely on such an=20
extension.

So do you have any information (e.g. have there been any indications=20
from implementors) as to who would be looking to implement such=20
extensions?

My only other comment on the draft would be that there are some=20
implicit assumptions that may not always hold (but may be ok for the=20
general cases), e.g.

* you can't assume your header will make it to the server, so if the=20
server relies on it, or the client relies on the server receiving it,=20
there would need to be some clear way to indicate this so the client=20
can know whether the server received the directive or not.  E.g.=20
intermediaries that strip unknown headers.

* you can't assume anything about how long it may take for a request to=20
reach a server.  E.g. a PUT request going through a proxy that does AV=20
scanning will take an unforeseeable period of time to receive, then=20
scan the content before making an upstream request.  This could cause=20
problems with the proposed "wait" preference.  In fact I struggle to=20
see how "wait" would be used in practise, and the skeptical side of me=20
wonders at its merit.

Regards

Adrien


------ Original Message ------
From: "James M Snell" <jasnell@gmail.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 13/10/2012 7:09:54 a.m.
Subject: Updated Prefer Header Draft
>The last call on the Prefer draft has closed as of today. Based on the=20
>excellent feedback I received during the last call, I have updated the=20
>current draft and it has been handed off for IESG review. The current=20
>draft is located here
http://www.ietf.org/id/draft-snell-http-prefer-15.txt
>
>The major changes based on feedback include:
>
>1. I have brought back the Preference-Applied response header. I know=20
>that there are a few folks who feel this header is entirely=20
>unnecessary but feedback I have received from a number of implementers=20
>has convinced me it is. The use is optional and limited to cases where=20
>the application of a preference may not be obvious and the application=20
>of the preference could have an impact on the processing of a=20
>response.=20
>
>2. I have altered the definition of the wait preference slightly.=20
>Essentially, it now specifies the clients assumption of how long=20
>processing a request should take rather than indicating how long the=20
>client is willing to wait for a response. The difference is subtle but=20
>important, and the change is a very good one.
>
>3. I have made a number of editorial changes to the structure of the=20
>document. Some section numbers have changed.
>
>- James

--------=_MB2216E7A2-6DCC-40F5-9C3F-DAA9E60D8189
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>blockquote.cite { margin-left: 5px; margin-right:=
 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #000000=
 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}

#acb30b4f841c4c5dab8d5ef04386583f BLOCKQUOTE.cite
{BORDER-LEFT: #000000 1px solid; PADDING-LEFT: 10px; PADDING-RIGHT: 0px;=
 MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px}
#acb30b4f841c4c5dab8d5ef04386583f .plain PRE
{FONT-STYLE: normal; FONT-FAMILY: monospace; FONT-SIZE: 100%; FONT-WEIGHT:=
 normal}
#acb30b4f841c4c5dab8d5ef04386583f=20
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}
#acb30b4f841c4c5dab8d5ef04386583f .plain PRE
{FONT-FAMILY: Tahoma; FONT-SIZE: 12pt}</STYLE>
</HEAD>
<BODY scroll=3Dauto class>
<DIV>&nbsp;</DIV>
<DIV>Hi James</DIV>
<DIV>&nbsp;</DIV>
<DIV>as a proxy developer, I'm always interested in how such protocol chang=
es will impact my product, and there's always the cost/benefit analysis =
which on one hand looks at what is the likely implementation rate or import=
ance of sites that may choose to rely on such an extension.</DIV>
<DIV>&nbsp;</DIV>
<DIV>So do you have any information (e.g. have there been any indications=
 from implementors) as to who would be looking to implement such extensions=
?</DIV>
<DIV>&nbsp;</DIV>
<DIV>My only other comment on the draft would be that there are some implic=
it assumptions that may not always hold (but may be ok for the general case=
s), e.g.</DIV>
<DIV>&nbsp;</DIV>
<DIV>* you can't assume your header will make it to the server, so if the=
 server relies on it, or the client relies on the server receiving it, ther=
e would need to be some clear way to indicate this so the client can know=
 whether the server received the directive or not.&nbsp; E.g. intermediarie=
s that strip unknown headers.</DIV>
<DIV>&nbsp;</DIV>
<DIV>* you can't assume anything about how long it may take for a request=
 to reach a server.&nbsp; E.g. a PUT request going through a proxy that =
does AV scanning will take an&nbsp;unforeseeable&nbsp;period of time to =
receive, then scan the content before making an upstream request.&nbsp; =
This could cause problems with the proposed "wait" preference.&nbsp; In =
fact I struggle to see how "wait" would be used in practise, and the skepti=
cal side of me wonders at its merit.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards</DIV>
<DIV><BR>Adrien</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>------ Original Message ------<BR>From: "James M Snell" &lt;jasnel=
l@gmail.com&gt;<BR>To: "ietf-http-wg@w3.org" &lt;ietf-http-wg@w3.org&gt;<BR=
>Sent: 13/10/2012 7:09:54 a.m.<BR>Subject: Updated Prefer Header Draft<BR><=
/DIV>
<BLOCKQUOTE class=3Dcite cite=3DCABP7RbcMUmmVunh-k506f2JyuYkybxrRXB=3DMhpn=
=3DDSkhDxtMDw@mail.gmail.com type=3D"cite">
<DIV id=3Dacb30b4f841c4c5dab8d5ef04386583f><FONT face=3D"courier new,monosp=
ace">The last call on the Prefer draft has closed as of today. Based on =
the excellent feedback I received during the last call, I have updated the=
 current draft and it has been handed off for IESG review. The current draf=
t is located here</FONT>=20
<DIV>
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">&nbsp;</FONT><FONT face=3D"courie=
r new, monospace"><A href=3D"http://www.ietf.org/id/draft-snell-http-prefer=
-15.txt"><A href=3D"http://www.ietf.org/id/draft-snell-http-prefer-15.txt">=
http://www.ietf.org/id/draft-snell-http-prefer-15.txt</A></A></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">The major changes based on feedba=
ck include:</FONT></DIV>
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">1. I have brought back the Prefer=
ence-Applied response header. I know that there are a few folks who feel=
 this header is entirely unnecessary but feedback I have received from a=
 number of implementers has convinced me it is. The use is optional and =
limited to cases where the application of a preference may not be obvious=
 and the application of the preference could have an impact on the processi=
ng of a response.&nbsp;</FONT></DIV>
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">2. I have altered the definition=
 of the wait preference slightly. Essentially, it now specifies the clients=
 assumption of how long processing a request should take rather than indica=
ting how long the client is willing to wait for a response. The difference=
 is subtle but important, and the change is a very good one.</FONT></DIV>
<DIV><FONT face=3D"courier new,monospace"><BR></FONT></DIV>
<DIV><FONT face=3D"courier new,monospace">3. I have made a number of editor=
ial changes to the structure of the document. Some section numbers have =
changed.</FONT></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3D"courier new, monospace">- James</FONT></DIV></DIV></DIV>=
</BLOCKQUOTE></BODY></HTML>
--------=_MB2216E7A2-6DCC-40F5-9C3F-DAA9E60D8189--



From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 19:05:39 2012
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 EAE841F0C88 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 19:05:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.93
X-Spam-Level: 
X-Spam-Status: No, score=-7.93 tagged_above=-999 required=5 tests=[AWL=2.669, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RD-WA5hQ0kYo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 19:05:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D2DD71F0C86 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 19:05:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQTqZ-0004VM-On for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 02:03:59 +0000
Resent-Date: Tue, 23 Oct 2012 02:03:59 +0000
Resent-Message-Id: <E1TQTqZ-0004VM-On@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQTqV-0004Uh-MI for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 02:03:55 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQTqU-0007fL-5M for ietf-http-wg@w3.org; Tue, 23 Oct 2012 02:03:55 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7297322E259 for <ietf-http-wg@w3.org>; Mon, 22 Oct 2012 22:03:31 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net>
Date: Tue, 23 Oct 2012 13:03:35 +1100
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-1.293, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQTqU-0007fL-5M 1f0db340060c77dc97dd9ae08185c68d
X-Original-To: ietf-http-wg@w3.org
Subject: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15410
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>

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/385>

This issue is how we upgrade from 1.x to 2.x. I'd suggest we consider =
the issue in two parts, for HTTPS URIs and HTTP URIs. Furthermore, we =
need to figure out how we'll identify the protocol that's in use as we =
develop it.

HTTPS URIs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Based on previous discussion and our charter, I think the path forward =
for negotiating HTTP/2.0 for https:// URIs is pretty clear; we need to =
make a request to the TLS Working Group, asking for a in-protocol =
negotiation mechanism for the "next" protocol to use.

The question for us right now is what requirements we want to place upon =
that work. Currently, I have:

---8<---
TLS Working Group Chairs,

This is a request from the HTTPbis Working Group for you to commence =
work upon a mechanism that allows clients and servers to negotiate the =
particular application protocol to use once the session is established.

Our use case is for HTTP/2.0 in conjunction with HTTP URIs; rather than =
defining a new port, which incurs both performance and deployment =
penalties, a negotiation mechanism would allow for better deployment of =
HTTP/2.0 for HTTPS URIs.

We would expect such a mechanism to allow the client and server to =
negotiate the use of one of potentially many such protocols (in our =
case, HTTP/1.x and HTTP/2.x), identified by tokens, and falling back to =
a default for the port in use (in our case, HTTP/1.x) when either side =
doesn't support negotiation, or an agreement can't be found.

We also note existing work in this area:
  http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04

The HTTPbis Working Group will be happy to coordinate schedules, review =
drafts and provide further input as required.

--->8---

Does anyone have further input? I'd like to get the request to the TLS =
WG very soon.


HTTP URIs
=3D=3D=3D=3D=3D=3D=3D=3D=3D

For HTTP URIs, the field is much more open.

I think the basic requirement is that it be possible to negotiate use =
of:
  - HTTP/1.x
  - HTTP/2.x
  - HTTP/2.x over TLS, possibly with caveats around cert checking, etc.

for HTTP URIs. Note that we may or may not define the third "mode", but =
the negotiation mechanism needs to be able to accommodate it, as per our =
charter.

There are a *lot* of ways this could happen.=20

One suggestion has been made by Gabriel and Willy:
  =
http://tools.ietf.org/html/draft-montenegro-httpbis-http2-negotiation-00
... which is basically a good explanation of how HTTP Upgrade was =
intended to work. Notably, it does not introduce a roundtrip.=20

One of the major perceived issues with this approach is interference by =
broken proxies (i.e., those that don't honour the hop-by-hop status of =
Upgrade).=20

I know that some experiments were done with this in the HYBI work, but =
I'd like to do some more, to get an idea if it's possible to mitigate =
some of this risk (e.g., by sending "Connection: Upgrade"). Based upon =
that, we can make an informed decision about this approach.

Who's willing to do some experimentation? Specifically, does anyone have =
access to the code that was used before (IIRC, people bought some ads =
and inserted some Java to probe the network)?

Other approaches suggested as alternates and/or compliments to this =
include:

1) Using a SRV (or other DNS) record. There seems to be a fair amount of =
interest in this from the browser implementers; the only resistance =
seems to be around how hard this would be to deploy, but if it's not the =
only mechanism for upgrading to HTTP/2, it shouldn't be a concern.=20

Presumably, we'd define a default port for HTTP/2-only communication =
when used in conjunction with this, so that firewalls would know to open =
it, etc.

Does anyone object to us defining such a record (type TBD), as long as =
it's not the only way to get to HTTP/2 for HTTP URIs?

2) Using a response header to hint that HTTP/2 is available on another =
port.=20

This approach hasn't been talked about in detail yet, but it apparently =
(as some have noted) has the disadvantage of not upgrading the first =
interaction, and of requiring a separate cache (and caching model) for =
this information.

Who wants to pursue this approach? If so, we need a small proposal =
written, preferably as an I-D, but an e-mail would do.

And, are there any other approaches we want to put on the table?


Identifying The Protocol in Development
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D

Finally, I'd like to make sure we understand how we're going to identify =
this protocol as we move forward.

The NPN, Upgrade and Alternate-Protocol approaches all (should, if we go =
there) use a token to identify the protocol being upgraded to, meaning =
that we'll be able to do something like

  http2-draft-3
  http2-draft-5

when negotiating the protocol while we're developing it; as long as =
implementations deploy the latest version and perhaps the one before it, =
they should be able to interoperate, and fall back to HTTP/1 if not. The =
browsers have used this approach for SPDY, and it seemed to work well.

To me, this implies that if we define a DNS-based mechanism to hint =
upgrade, it should have a similar capability, so we can reuse those =
tokens and this approach there too. Make sense?

Concurrently, the SPDY draft uses 15 bits to identify the protocol in =
use. Provided we get the upgrade mechanism right, I'm less concerned =
about this, but it would be good if the messages were self-describing, =
so we should figure out what the appropriate values to put in here are =
too. And, maybe saving a few bits too.

Cheers,


--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 19:08:33 2012
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 838BB1F0C8A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 19:08:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.966
X-Spam-Level: 
X-Spam-Status: No, score=-7.966 tagged_above=-999 required=5 tests=[AWL=2.633, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rbBQ81ZL715x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 19:08:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 465511F0C86 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 19:08:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQTu1-0005ye-Gq for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 02:07:33 +0000
Resent-Date: Tue, 23 Oct 2012 02:07:33 +0000
Resent-Message-Id: <E1TQTu1-0005ye-Gq@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQTtx-0005xz-BF for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 02:07:29 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQTtv-000509-CZ for ietf-http-wg@w3.org; Tue, 23 Oct 2012 02:07:29 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7647122E1F4; Mon, 22 Oct 2012 22:07:03 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <em47314174-6ac9-4808-a23b-71279c9937d0@bombed>
Date: Tue, 23 Oct 2012 13:07:08 +1100
Cc: "James M Snell" <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <98BBABCA-CDD1-49F5-B576-FCCFCB9E5A33@mnot.net>
References: <em47314174-6ac9-4808-a23b-71279c9937d0@bombed>
To: "Adrien W. de Croy" <adrien@qbik.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-1.536, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQTtv-000509-CZ e33018e67b34f5673c65d4b88aa1a429
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Updated Prefer Header Draft
Archived-At: <http://www.w3.org/mid/98BBABCA-CDD1-49F5-B576-FCCFCB9E5A33@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15411
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>

On 23/10/2012, at 11:48 AM, Adrien W. de Croy <adrien@qbik.com> wrote:

> =20
> Hi James
> =20
> as a proxy developer, I'm always interested in how such protocol =
changes will impact my product, and there's always the cost/benefit =
analysis which on one hand looks at what is the likely implementation =
rate or importance of sites that may choose to rely on such an =
extension.
> =20
> So do you have any information (e.g. have there been any indications =
from implementors) as to who would be looking to implement such =
extensions?
> =20
> My only other comment on the draft would be that there are some =
implicit assumptions that may not always hold (but may be ok for the =
general cases), e.g.
> =20
> * you can't assume your header will make it to the server, so if the =
server relies on it, or the client relies on the server receiving it, =
there would need to be some clear way to indicate this so the client can =
know whether the server received the directive or not.  E.g. =
intermediaries that strip unknown headers.

I don't think this is a concern for Prefer -- after all, they're =
preferences, not requirements.

>  * you can't assume anything about how long it may take for a request =
to reach a server.  E.g. a PUT request going through a proxy that does =
AV scanning will take an unforeseeable period of time to receive, then =
scan the content before making an upstream request.  This could cause =
problems with the proposed "wait" preference.  In fact I struggle to see =
how "wait" would be used in practise, and the skeptical side of me =
wonders at its merit.

I share this concern, and I think I expressed it before.


--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 19:35:05 2012
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 5575D1F0C8A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 19:35:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.677
X-Spam-Level: 
X-Spam-Status: No, score=-9.677 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1WDODBIV6K42 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 19:35:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EE4E31F0C54 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 19:35:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQUJM-0008PD-S7 for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 02:33:44 +0000
Resent-Date: Tue, 23 Oct 2012 02:33:44 +0000
Resent-Message-Id: <E1TQUJM-0008PD-S7@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 1TQUJE-0008Lu-JI for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 02:33:36 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1TQUJD-0008Tb-9Z for ietf-http-wg@w3.org; Tue, 23 Oct 2012 02:33:36 +0000
Received: by mail-qa0-f50.google.com with SMTP id t11so67511qaa.2 for <ietf-http-wg@w3.org>; Mon, 22 Oct 2012 19:33:09 -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 :content-transfer-encoding:x-system-of-record; bh=1z7bprnBfDLAIGQckjQ9lBfgQbnNsHd8UDL6SOcj6SY=; b=ZKxHBtEPi5PEM6C+JtJvIBjpirSXHaO59v0Bys1d1IAlskCuZAsDCxaFKUe47ecCz6 +l0yl8P9Mb0OuEG5Zc/AU0ad3iZM2ZnQ5Uc2/CJHUuSHoTOGmiZKBpyZ2zujl/gEdtou iF4JjJ6O3suN5+5MjPLU0OeGNobeXbcluiItU0NJUzcear5JjT1PJAfujWbFaPWc1Qme rWeexaG0p/dV689hL+8Ufl/WSItvpMwiULVW6AOtYMvWcZzKsiV/OmcD3QqvX/6x16n7 ndwZ2IX/YG+RXDcJfW2N50wm2gvNxzv4N+X03sS35XTaDbvGymXsozDKzLxQUBDclfa4 dnlg==
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 :content-transfer-encoding:x-system-of-record:x-gm-message-state; bh=1z7bprnBfDLAIGQckjQ9lBfgQbnNsHd8UDL6SOcj6SY=; b=jTgm521R/pIp0xuIHRyxqPQzowq3smGpWZEI0v2isDYke7CU+EGkgR/owme6LtZGO7 b1qKZvW8OmTxJsS6Qa3uwQ4oFIF+7Dsd+mcZyp45HN5wGR5n29JJ3GXFR6IrE1B6g3CJ RLtAsGBPv5ArbnSj7EYKSu6zERFGg7C3LAq2xSjVv3ld6UAjoPPvP4lVSnieoxlWCTCz lUh1McV0vwCJIRiz8EaYx9zqd49mu4jr/F1d2EdLfsEAI+puH1BXIGPu765tZTdOz4ll b7IDCYpk3Gyeg2S7ndngAwzaTMFOzicWmUqVEGiSKnvhe+avvdBWiWgYEryv+IoDW/Xe g94Q==
MIME-Version: 1.0
Received: by 10.49.29.194 with SMTP id m2mr6065749qeh.61.1350959589170; Mon, 22 Oct 2012 19:33:09 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.195.65 with HTTP; Mon, 22 Oct 2012 19:33:09 -0700 (PDT)
In-Reply-To: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net>
Date: Mon, 22 Oct 2012 19:33:09 -0700
X-Google-Sender-Auth: s0r8acH2-_i0i9K4L4-wjKpclU8
Message-ID: <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQnvOJPfEYphpO+iXC852u9ErkRSv0bUBOwGNKqd8UV95HlYi0QJXggfWYUn45wqNm5GRbioPXqyrF2q/quHR7/6kwAdp43qmiXrzrYGesIR8qpPqFDYqGbSWfWWNtGtgmKUsiFharBEo1Eb/0je8cc6TLRTNfv9SHzolMStK6xjNHtnSBYpgvm75/KsWg9/ySTlVqq6
Received-SPF: pass client-ip=209.85.216.50; envelope-from=willchan@google.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: AWL=-1.450, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQUJD-0008Tb-9Z 8e1ffe39cddaea3fa8daa17e3525c848
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15412
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>

Overall, sounds good. I've included some clarifications/questions below.

On Mon, Oct 22, 2012 at 7:03 PM, Mark Nottingham <mnot@mnot.net> wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/385>
>
> This issue is how we upgrade from 1.x to 2.x. I'd suggest we consider the=
 issue in two parts, for HTTPS URIs and HTTP URIs. Furthermore, we need to =
figure out how we'll identify the protocol that's in use as we develop it.
>
> HTTPS URIs
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> Based on previous discussion and our charter, I think the path forward fo=
r negotiating HTTP/2.0 for https:// URIs is pretty clear; we need to make a=
 request to the TLS Working Group, asking for a in-protocol negotiation mec=
hanism for the "next" protocol to use.
>
> The question for us right now is what requirements we want to place upon =
that work. Currently, I have:
>
> ---8<---
> TLS Working Group Chairs,
>
> This is a request from the HTTPbis Working Group for you to commence work=
 upon a mechanism that allows clients and servers to negotiate the particul=
ar application protocol to use once the session is established.
>
> Our use case is for HTTP/2.0 in conjunction with HTTP URIs; rather than d=
efining a new port, which incurs both performance and deployment penalties,=
 a negotiation mechanism would allow for better deployment of HTTP/2.0 for =
HTTPS URIs.
>
> We would expect such a mechanism to allow the client and server to negoti=
ate the use of one of potentially many such protocols (in our case, HTTP/1.=
x and HTTP/2.x), identified by tokens, and falling back to a default for th=
e port in use (in our case, HTTP/1.x) when either side doesn't support nego=
tiation, or an agreement can't be found.
>
> We also note existing work in this area:
>   http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04
>
> The HTTPbis Working Group will be happy to coordinate schedules, review d=
rafts and provide further input as required.
>
> --->8---
>
> Does anyone have further input? I'd like to get the request to the TLS WG=
 very soon.
>
>
> HTTP URIs
> =3D=3D=3D=3D=3D=3D=3D=3D=3D
>
> For HTTP URIs, the field is much more open.
>
> I think the basic requirement is that it be possible to negotiate use of:
>   - HTTP/1.x
>   - HTTP/2.x
>   - HTTP/2.x over TLS, possibly with caveats around cert checking, etc.
>
> for HTTP URIs. Note that we may or may not define the third "mode", but t=
he negotiation mechanism needs to be able to accommodate it, as per our cha=
rter.
>
> There are a *lot* of ways this could happen.
>
> One suggestion has been made by Gabriel and Willy:
>   http://tools.ietf.org/html/draft-montenegro-httpbis-http2-negotiation-0=
0
> ... which is basically a good explanation of how HTTP Upgrade was intende=
d to work. Notably, it does not introduce a roundtrip.
>
> One of the major perceived issues with this approach is interference by b=
roken proxies (i.e., those that don't honour the hop-by-hop status of Upgra=
de).
>
> I know that some experiments were done with this in the HYBI work, but I'=
d like to do some more, to get an idea if it's possible to mitigate some of=
 this risk (e.g., by sending "Connection: Upgrade"). Based upon that, we ca=
n make an informed decision about this approach.
>
> Who's willing to do some experimentation? Specifically, does anyone have =
access to the code that was used before (IIRC, people bought some ads and i=
nserted some Java to probe the network)?

Do you mean the Chromium HTTP upgrade experiment agl referred to in
http://www.ietf.org/mail-archive/web/tls/current/msg05593.html?

>
> Other approaches suggested as alternates and/or compliments to this inclu=
de:
>
> 1) Using a SRV (or other DNS) record. There seems to be a fair amount of =
interest in this from the browser implementers; the only resistance seems t=
o be around how hard this would be to deploy, but if it's not the only mech=
anism for upgrading to HTTP/2, it shouldn't be a concern.
>
> Presumably, we'd define a default port for HTTP/2-only communication when=
 used in conjunction with this, so that firewalls would know to open it, et=
c.
>
> Does anyone object to us defining such a record (type TBD), as long as it=
's not the only way to get to HTTP/2 for HTTP URIs?

I'm not sure if my previous emails were taken to indicate "interest"
here. I forget what I said too :) As long as this is more of an
optional optimization than anything, I guess I'm OK with it. I'm very
much concerned about relying on it, due to experiments we have run
with TXT records that show us noticeably higher failure rates in
comparison to port 443, higher latency (we'd definitely have to race
this), and extra DNS queries.

>
> 2) Using a response header to hint that HTTP/2 is available on another po=
rt.
>
> This approach hasn't been talked about in detail yet, but it apparently (=
as some have noted) has the disadvantage of not upgrading the first interac=
tion, and of requiring a separate cache (and caching model) for this inform=
ation.

Just to be clear, SRV records also have the disadvantage of not
upgrading the first interaction, unless you block on the response,
which Chromium definitely is not going to do unless the environment
changes such that it doesn't kill performance.

>
> Who wants to pursue this approach? If so, we need a small proposal writte=
n, preferably as an I-D, but an e-mail would do.
>
> And, are there any other approaches we want to put on the table?
>
>
> Identifying The Protocol in Development
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
>
> Finally, I'd like to make sure we understand how we're going to identify =
this protocol as we move forward.
>
> The NPN, Upgrade and Alternate-Protocol approaches all (should, if we go =
there) use a token to identify the protocol being upgraded to, meaning that=
 we'll be able to do something like
>
>   http2-draft-3
>   http2-draft-5
>
> when negotiating the protocol while we're developing it; as long as imple=
mentations deploy the latest version and perhaps the one before it, they sh=
ould be able to interoperate, and fall back to HTTP/1 if not. The browsers =
have used this approach for SPDY, and it seemed to work well.
>
> To me, this implies that if we define a DNS-based mechanism to hint upgra=
de, it should have a similar capability, so we can reuse those tokens and t=
his approach there too. Make sense?
>
> Concurrently, the SPDY draft uses 15 bits to identify the protocol in use=
. Provided we get the upgrade mechanism right, I'm less concerned about thi=
s, but it would be good if the messages were self-describing, so we should =
figure out what the appropriate values to put in here are too. And, maybe s=
aving a few bits too.
>
> Cheers,
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 19:52:25 2012
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 A94031F0C86 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 19:52:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.852
X-Spam-Level: 
X-Spam-Status: No, score=-7.852 tagged_above=-999 required=5 tests=[AWL=2.447, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mJotSHDM+mrT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 19:52:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0D62E1F0429 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 19:52:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQUaC-0008RZ-0b for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 02:51:08 +0000
Resent-Date: Tue, 23 Oct 2012 02:51:08 +0000
Resent-Message-Id: <E1TQUaC-0008RZ-0b@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQUa8-0008Qq-LA for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 02:51:04 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQUa7-0000aM-Ix for ietf-http-wg@w3.org; Tue, 23 Oct 2012 02:51:04 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9817622E257; Mon, 22 Oct 2012 22:50:40 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com>
Date: Tue, 23 Oct 2012 13:50:46 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com>
To: =?utf-8?Q?William_Chan_=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-1.229, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQUa7-0000aM-Ix 5de6e3759f1a30fac5fd4485f0a7a536
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15413
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>

On 23/10/2012, at 1:33 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) =
<willchan@chromium.org> wrote:

> Overall, sounds good. I've included some clarifications/questions =
below.

[...]

>> Who's willing to do some experimentation? Specifically, does anyone =
have access to the code that was used before (IIRC, people bought some =
ads and inserted some Java to probe the network)?
>=20
> Do you mean the Chromium HTTP upgrade experiment agl referred to in
> http://www.ietf.org/mail-archive/web/tls/current/msg05593.html?

No, IIRC there was also some broader experimentation using ads; I'll dig =
around a bit more.=20

Of course, if Chrome (or any other browser) would be interested in =
running an experiment, we'd love to do that too -- provided we can have =
input into the design.


>> Does anyone object to us defining such a record (type TBD), as long =
as it's not the only way to get to HTTP/2 for HTTP URIs?
>=20
> I'm not sure if my previous emails were taken to indicate "interest"
> here. I forget what I said too :) As long as this is more of an
> optional optimization than anything, I guess I'm OK with it. I'm very
> much concerned about relying on it, due to experiments we have run
> with TXT records that show us noticeably higher failure rates in
> comparison to port 443, higher latency (we'd definitely have to race
> this), and extra DNS queries.

Yes, I think relying on it would be a mistake, for a variety of reasons.


>> 2) Using a response header to hint that HTTP/2 is available on =
another port.
>>=20
>> This approach hasn't been talked about in detail yet, but it =
apparently (as some have noted) has the disadvantage of not upgrading =
the first interaction, and of requiring a separate cache (and caching =
model) for this information.
>=20
> Just to be clear, SRV records also have the disadvantage of not
> upgrading the first interaction, unless you block on the response,
> which Chromium definitely is not going to do unless the environment
> changes such that it doesn't kill performance.


I'll leave it to the DNS experts to debate the capabilities and merits =
here.


--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 20:43:46 2012
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 5649C1F0429 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 20:43:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.034
X-Spam-Level: 
X-Spam-Status: No, score=-8.034 tagged_above=-999 required=5 tests=[AWL=2.565, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VFW+mXwOQleV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 20:43:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B8A3921F88BE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 20:43:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQVNK-0003Xp-3y for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 03:41:54 +0000
Resent-Date: Tue, 23 Oct 2012 03:41:54 +0000
Resent-Message-Id: <E1TQVNK-0003Xp-3y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQVNF-0003X5-3r for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 03:41:49 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQVND-00022e-Ob for ietf-http-wg@w3.org; Tue, 23 Oct 2012 03:41:49 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 71B0622E257 for <ietf-http-wg@w3.org>; Mon, 22 Oct 2012 23:41:25 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <6754887D-B028-41E8-A6E5-14A36DA10FBD@mnot.net>
Date: Tue, 23 Oct 2012 14:41:29 +1100
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-1.170, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQVND-00022e-Ob 189a44aae13eaf32490e2d06b8c93452
X-Original-To: ietf-http-wg@w3.org
Subject: Preliminary agenda for Atlanta
Archived-At: <http://www.w3.org/mid/6754887D-B028-41E8-A6E5-14A36DA10FBD@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15414
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>

... is at:
  http://www.ietf.org/proceedings/85/agenda/agenda-85-httpbis

Suggestions, etc. welcome.

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 20:52:07 2012
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 DF2691F0C69 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 20:52:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.241
X-Spam-Level: 
X-Spam-Status: No, score=-8.241 tagged_above=-999 required=5 tests=[AWL=2.357, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CvQcX7YA-CRk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 20:52:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ECD581F0C54 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 20:52:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQVW7-000812-6c for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 03:50:59 +0000
Resent-Date: Tue, 23 Oct 2012 03:50:59 +0000
Resent-Message-Id: <E1TQVW7-000812-6c@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQVW3-0007yT-I8 for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 03:50:55 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQVW2-0007uh-Hb for ietf-http-wg@w3.org; Tue, 23 Oct 2012 03:50:55 +0000
Received: by mail-qc0-f171.google.com with SMTP id d1so2074369qca.2 for <ietf-http-wg@w3.org>; Mon, 22 Oct 2012 20:50:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ecBLxZfiCSAIZwN3bB+EZcS7Z6G6SXgvOBSiuWrQt38=; b=YStza1DhTpATlrEDXutYKgJ0Kz6/5xjS4Y2eOsSfsZL7kJYFpWQWFLM4rfr6pj26v4 c5MHv8OxrS7PBomIk0Dm4B473eM3jWmw96fvh40o75Hr42R3GedIiKtUfU/Rf1FkUsv/ s0mgf6b9oePIprkLq6Lq/hZ0aQa3l9GhwhvJUVkDQ9hjOe8hz/uHeJurd8kkt5UtUW87 we97uRonRHARwUQI7G/EfPfYJQpftrSHXAmQxvONYBT/x3vm8YKXpMnyG9Z4OKtqqSE8 eyDdZ4plbsivnTZO+aAZTJwFSVjLEoWQtPPtiySrJYrGoRnU7p6DT+/bpp9IAhtSKGlJ Oh+g==
Received: by 10.229.209.145 with SMTP id gg17mr1194970qcb.56.1350964228188; Mon, 22 Oct 2012 20:50:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Mon, 22 Oct 2012 20:50:08 -0700 (PDT)
In-Reply-To: <em47314174-6ac9-4808-a23b-71279c9937d0@bombed>
References: <CABP7RbcMUmmVunh-k506f2JyuYkybxrRXB=Mhpn=DSkhDxtMDw@mail.gmail.com> <em47314174-6ac9-4808-a23b-71279c9937d0@bombed>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 22 Oct 2012 20:50:08 -0700
Message-ID: <CABP7RbeW1r4x_NDejci0TTKKLURQRmn4tsQH4FuBpcCZO-1COA@mail.gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=005045015484ece97e04ccb1de11
Received-SPF: pass client-ip=209.85.216.171; envelope-from=jasnell@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.687, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQVW2-0007uh-Hb d17209493fc1261ffa537d250e933d63
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Updated Prefer Header Draft
Archived-At: <http://www.w3.org/mid/CABP7RbeW1r4x_NDejci0TTKKLURQRmn4tsQH4FuBpcCZO-1COA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15415
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>

--005045015484ece97e04ccb1de11
Content-Type: text/plain; charset=UTF-8

On Mon, Oct 22, 2012 at 5:48 PM, Adrien W. de Croy <adrien@qbik.com> wrote:

>
> Hi James
>
> as a proxy developer, I'm always interested in how such protocol changes
> will impact my product, and there's always the cost/benefit analysis which
> on one hand looks at what is the likely implementation rate or importance
> of sites that may choose to rely on such an extension.
>
> So do you have any information (e.g. have there been any indications from
> implementors) as to who would be looking to implement such extensions?
>
> My only other comment on the draft would be that there are some implicit
> assumptions that may not always hold (but may be ok for the general cases),
> e.g.
>
> * you can't assume your header will make it to the server, so if the
> server relies on it, or the client relies on the server receiving it, there
> would need to be some clear way to indicate this so the client can know
> whether the server received the directive or not.  E.g. intermediaries that
> strip unknown headers.
>
>

This, among other reasons, is why the entirely optional Preference-Applied
response header has been reintroduced. Further, as Mark states, the very
nature that this is a Preference and not a Requirement makes this ok.


> * you can't assume anything about how long it may take for a request to
> reach a server.  E.g. a PUT request going through a proxy that does AV
> scanning will take an unforeseeable period of time to receive, then scan
> the content before making an upstream request.  This could cause problems
> with the proposed "wait" preference.  In fact I struggle to see how "wait"
> would be used in practise, and the skeptical side of me wonders at its
> merit.
>
>

In the latest version, wait has been refactored to account for this concern.

- James


>  Regards
>
> Adrien
>
>
> ------ Original Message ------
> From: "James M Snell" <jasnell@gmail.com>
> To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: 13/10/2012 7:09:54 a.m.
> Subject: Updated Prefer Header Draft
>
> The last call on the Prefer draft has closed as of today. Based on the
> excellent feedback I received during the last call, I have updated the
> current draft and it has been handed off for IESG review. The current draft
> is located here
>
>   <http://www.ietf.org/id/draft-snell-http-prefer-15.txt>
> http://www.ietf.org/id/draft-snell-http-prefer-15.txt
>
> The major changes based on feedback include:
>
> 1. I have brought back the Preference-Applied response header. I know that
> there are a few folks who feel this header is entirely unnecessary but
> feedback I have received from a number of implementers has convinced me it
> is. The use is optional and limited to cases where the application of a
> preference may not be obvious and the application of the preference could
> have an impact on the processing of a response.
>
> 2. I have altered the definition of the wait preference slightly.
> Essentially, it now specifies the clients assumption of how long processing
> a request should take rather than indicating how long the client is willing
> to wait for a response. The difference is subtle but important, and the
> change is a very good one.
>
> 3. I have made a number of editorial changes to the structure of the
> document. Some section numbers have changed.
>
> - James
>
>

--005045015484ece97e04ccb1de11
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Mon, Oct 22, 2012 at 5:48 PM, Adrien W. de Croy <span dir=3D"ltr">&l=
t;<a href=3D"mailto:adrien@qbik.com" target=3D"_blank">adrien@qbik.com</a>&=
gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">


<div>
<div>=C2=A0</div>
<div>Hi James</div>
<div>=C2=A0</div>
<div>as a proxy developer, I&#39;m always interested in how such protocol c=
hanges will impact my product, and there&#39;s always the cost/benefit anal=
ysis which on one hand looks at what is the likely implementation rate or i=
mportance of sites that may choose to rely on such an extension.</div>


<div>=C2=A0</div>
<div>So do you have any information (e.g. have there been any indications f=
rom implementors) as to who would be looking to implement such extensions?<=
/div>
<div>=C2=A0</div>
<div>My only other comment on the draft would be that there are some implic=
it assumptions that may not always hold (but may be ok for the general case=
s), e.g.</div>
<div>=C2=A0</div>
<div>* you can&#39;t assume your header will make it to the server, so if t=
he server relies on it, or the client relies on the server receiving it, th=
ere would need to be some clear way to indicate this so the client can know=
 whether the server received the directive or not.=C2=A0 E.g. intermediarie=
s that strip unknown headers.</div>


<div>=C2=A0</div></div></blockquote><div><br></div><div>This, among other r=
easons, is why the entirely optional Preference-Applied response header has=
 been reintroduced. Further, as Mark states, the very nature that this is a=
 Preference and not a Requirement makes this ok.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<div>* you can&#39;t assume anything about how long it may take for a reque=
st to reach a server.=C2=A0 E.g. a PUT request going through a proxy that d=
oes AV scanning will take an=C2=A0unforeseeable=C2=A0period of time to rece=
ive, then scan the content before making an upstream request.=C2=A0 This co=
uld cause problems with the proposed &quot;wait&quot; preference.=C2=A0 In =
fact I struggle to see how &quot;wait&quot; would be used in practise, and =
the skeptical side of me wonders at its merit.</div>


<div>=C2=A0</div></div></blockquote><div><br></div><div>In the latest versi=
on, wait has been refactored to account for this concern.</div><div><br></d=
iv><div>- James</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div>
<div>Regards</div><span class=3D"HOEnZb"><font color=3D"#888888">
<div><br>Adrien</div></font></span><div><div class=3D"h5">
<div>=C2=A0</div>
<div><br>------ Original Message ------<br>From: &quot;James M Snell&quot; =
&lt;<a href=3D"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.co=
m</a>&gt;<br>To: &quot;<a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_bl=
ank">ietf-http-wg@w3.org</a>&quot; &lt;<a href=3D"mailto:ietf-http-wg@w3.or=
g" target=3D"_blank">ietf-http-wg@w3.org</a>&gt;<br>

Sent: 13/10/2012 7:09:54 a.m.<br>Subject: Updated Prefer Header Draft<br></=
div>
<blockquote cite=3D"http://CABP7RbcMUmmVunh-k506f2JyuYkybxrRXB=3DMhpn=3DDSk=
hDxtMDw@mail.gmail.com" type=3D"cite">
<div><font face=3D"courier new,monospace">The last call on the Prefer draft=
 has closed as of today. Based on the excellent feedback I received during =
the last call, I have updated the current draft and it has been handed off =
for IESG review. The current draft is located here</font>=20
<div>
<div><font face=3D"courier new,monospace"><br></font></div>
<div><font face=3D"courier new,monospace">=C2=A0</font><font face=3D"courie=
r new, monospace"><a href=3D"http://www.ietf.org/id/draft-snell-http-prefer=
-15.txt" target=3D"_blank"></a><a href=3D"http://www.ietf.org/id/draft-snel=
l-http-prefer-15.txt" target=3D"_blank">http://www.ietf.org/id/draft-snell-=
http-prefer-15.txt</a></font></div>


<div><font face=3D"courier new,monospace"><br></font></div>
<div><font face=3D"courier new,monospace">The major changes based on feedba=
ck include:</font></div>
<div><font face=3D"courier new,monospace"><br></font></div>
<div><font face=3D"courier new,monospace">1. I have brought back the Prefer=
ence-Applied response header. I know that there are a few folks who feel th=
is header is entirely unnecessary but feedback I have received from a numbe=
r of implementers has convinced me it is. The use is optional and limited t=
o cases where the application of a preference may not be obvious and the ap=
plication of the preference could have an impact on the processing of a res=
ponse.=C2=A0</font></div>


<div><font face=3D"courier new,monospace"><br></font></div>
<div><font face=3D"courier new,monospace">2. I have altered the definition =
of the wait preference slightly. Essentially, it now specifies the clients =
assumption of how long processing a request should take rather than indicat=
ing how long the client is willing to wait for a response. The difference i=
s subtle but important, and the change is a very good one.</font></div>


<div><font face=3D"courier new,monospace"><br></font></div>
<div><font face=3D"courier new,monospace">3. I have made a number of editor=
ial changes to the structure of the document. Some section numbers have cha=
nged.</font></div>
<div><br></div>
<div><font face=3D"courier new, monospace">- James</font></div></div></div>=
</blockquote></div></div></div></blockquote></div><br>

--005045015484ece97e04ccb1de11--


From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 21:13:25 2012
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 6EDD01F0C54 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 21:13:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FSdhYDI1AfOq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 21:13:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 99CB71F0429 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 21:13:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQVqN-0007oS-B7 for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 04:11:55 +0000
Resent-Date: Tue, 23 Oct 2012 04:11:55 +0000
Resent-Message-Id: <E1TQVqN-0007oS-B7@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <kfall@qti.qualcomm.com>) id 1TQVqE-0007nj-LP for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 04:11:46 +0000
Received: from sabertooth01.qualcomm.com ([65.197.215.72]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <kfall@qti.qualcomm.com>) id 1TQVqD-0008RA-ET for ietf-http-wg@w3.org; Tue, 23 Oct 2012 04:11:46 +0000
X-IronPort-AV: E=McAfee;i="5400,1158,6873"; a="1481356"
Received: from ironmsg03-l.qualcomm.com ([172.30.48.18]) by sabertooth01.qualcomm.com with ESMTP; 22 Oct 2012 20:57:38 -0700
X-IronPort-AV: E=Sophos;i="4.80,633,1344236400";  d="scan'208";a="352220008"
Received: from nasanexhc08.na.qualcomm.com ([172.30.39.7]) by Ironmsg03-L.qualcomm.com with ESMTP/TLS/RC4-SHA; 22 Oct 2012 21:11:15 -0700
Received: from NASANEXD01E.na.qualcomm.com ([169.254.5.59]) by nasanexhc08.na.qualcomm.com ([172.30.39.7]) with mapi id 14.02.0318.001; Mon, 22 Oct 2012 21:11:15 -0700
From: "Fall, Kevin" <kfall@qti.qualcomm.com>
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: Preliminary agenda for Atlanta
Thread-Index: AQHNsNCm5QhgZrAKzkOvmu79R42jtZfGRzqA
Date: Tue, 23 Oct 2012 04:11:14 +0000
Message-ID: <BB72E60F7A18154A9B1352D1DF6FEE571E2687E6@NASANEXD01E.na.qualcomm.com>
In-Reply-To: <6754887D-B028-41E8-A6E5-14A36DA10FBD@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [199.106.115.132]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <33C00C75B81FF349AAF9F2237B49A4B6@qualcomm.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=65.197.215.72; envelope-from=kfall@qti.qualcomm.com; helo=sabertooth01.qualcomm.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQVqD-0008RA-ET 3f82e4bb561143da0019f6566c8d560a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Preliminary agenda for Atlanta
Archived-At: <http://www.w3.org/mid/BB72E60F7A18154A9B1352D1DF6FEE571E2687E6@NASANEXD01E.na.qualcomm.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15416
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>

Would like a chance to briefly bring up the range / partial delivery issue
I mentioned on the list.
[and what's behind=20
http://tools.ietf.org/id/draft-kfall-httpbis-server-ranges-00.txt]

regards,
- K

On 10/22/12 8:41 PM PDT, "Mark Nottingham" <mnot@mnot.net> wrote:

>... is at:
>  http://www.ietf.org/proceedings/85/agenda/agenda-85-httpbis
>
>Suggestions, etc. welcome.
>
>--
>Mark Nottingham   http://www.mnot.net/
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Mon Oct 22 23:46:16 2012
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 D1FE621F86D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 23:46:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m7xA1NlzY-Ql for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 22 Oct 2012 23:46:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AB97B21F860D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 22 Oct 2012 23:46:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQYDn-0005X5-O4 for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 06:44:15 +0000
Resent-Date: Tue, 23 Oct 2012 06:44:15 +0000
Resent-Message-Id: <E1TQYDn-0005X5-O4@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mjs@apple.com>) id 1TQYDk-0005Vx-J2 for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 06:44:12 +0000
Received: from crispin.apple.com ([17.151.62.50] helo=mail-out.apple.com) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <mjs@apple.com>) id 1TQYDj-00070w-3H for ietf-http-wg@w3.org; Tue, 23 Oct 2012 06:44:12 +0000
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
Received: from relay17.apple.com ([17.128.113.18]) by mail-out.apple.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTP id <0MCC007RI2NE4X70@mail-out.apple.com> for ietf-http-wg@w3.org; Mon, 22 Oct 2012 23:42:50 -0700 (PDT)
X-AuditID: 11807112-b7f026d000004ef8-0a-50863c6932d4
Received: from koseret (koseret.apple.com [17.151.62.39]) (using TLS with cipher RC4-MD5 (RC4-MD5/128 bits)) (Client did not present a certificate)	by relay17.apple.com (Apple SCV relay) with SMTP id 9C.B1.20216.A6C36805; Mon, 22 Oct 2012 23:42:50 -0700 (PDT)
Received: from [17.153.53.90] (unknown [17.153.53.90]) by koseret.apple.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPSA id <0MCC000ZH2NDXT70@koseret.apple.com> for ietf-http-wg@w3.org; Mon, 22 Oct 2012 23:42:49 -0700 (PDT)
From: Maciej Stachowiak <mjs@apple.com>
In-reply-to: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com>
Date: Mon, 22 Oct 2012 23:42:49 -0700
Message-id: <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1498)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprFLMWRmVeSWpSXmKPExsUiON1OXTfLpi3A4MJZVovDLbOYHBg9js7b zxrAGMVlk5Kak1mWWqRvl8CVsXZhJ1vBJM2KTQ0nGRsYzyp2MXJySAiYSLRP+cQIYYtJXLi3 ng3EFhLoZJK4PtWxi5ELyF7IJNE9exFYEbOAlsT6nceZQGxeAT2J2z+XgdnCAl4S6/u3sYLY bALqEnePHGMHsTkFbCUuroCIswioSuzcvx9qjrbEk3cXWCHm2EgcWXAWarGNxLLZR8FqRAR0 JDpaFjNBHCcrce/Fb7YJjPyzkJwxC8kZs5CMXcDIvIpRsCg1J7HS0FwvsaAgJ1UvOT93EyMo xBoKhXYw3t+ld4hRgINRiYf31q7WACHWxLLiytxDjBIczEoivA1WbQFCvCmJlVWpRfnxRaU5 qcWHGKU5WJTEef/MAqoWSE8sSc1OTS1ILYLJMnFwSjUwJhmuqUhfKVYuM1uWrYKl/sNxr/+m JY95HK7PEvvXfMRpQyXLmakuhhrvV0Tu3Xe5dOmcv2d7Z+RKP3vM8M2GQzJxh6Xd02umjicK +XXurXgxP0rkZusOI9G++KJNedaLV97/9UB40d0k37JcyTQR0V9rXhZmMKjUnboZPCX5Zt7N zo9TLl55qsRSnJFoqMVcVJwIAO/McvItAgAA
Received-SPF: pass client-ip=17.151.62.50; envelope-from=mjs@apple.com; helo=mail-out.apple.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: AWL=0.749, BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQYDj-00070w-3H ee66c2c375ec31df186d1e95c737f696
X-Original-To: ietf-http-wg@w3.org
Subject: Re: User interface requirements for redirecting to unsafe methods
Archived-At: <http://www.w3.org/mid/664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15417
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 read recently that httpbis believes it has addressed the feedback of all those who brought it to their satisfaction, and that the WG is in WGLC so such feedback should be re-raised if not. 

The following points were not addressed to my satisfaction. While some individuals replied, so far as I can tell, the WG itself has never officially tracked this feedback nor has it given an official response.

You can find the post I'm replying to in the archives here: <http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0170.html>
As far as I can tell, the end of the discussion on this was the following post from me: <http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0177.html>.

I would like to have this feedback addressed by the httpbis wg.

Regards,
Maciej

On Feb 12, 2010, at 2:30 AM, Maciej Stachowiak <mjs@apple.com> wrote:

> 
> RFC2616 has some MUST-level user interface requirements relating redirecting to unsafe methods:
> 
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.3xx>
> "The action required may be carried out by the user agent without interaction with the user if and only if the method used in the second request is GET or HEAD."
> 
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.301>
> "If the 301 status code is received in response to a request method that is known to be "safe", as defined in Section 7.1.1, then the request may be automatically redirected by the user agent without confirmation. Otherwise, the user agent must not automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued."
> 
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.302>
> "If the 302 status code is received in response to a request method that is known to be "safe", as defined in Section 7.1.1, then the request may be automatically redirected by the user agent without confirmation. Otherwise, the user agent must not automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued."
> 
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.307>
> "If the 307 status code is received in response to a request method that is known to be "safe", as defined in Section 7.1.1, then the request may be automatically redirected by the user agent without confirmation. Otherwise, the user agent must not automatically redirect the request unless it can be confirmed by the user, since this might change the conditions under which the request was issued."
> 
> 
> I suggest that these requirements should be removed (or at least changed to SHOULD- or MAY-level) for the following reasons:
> 
> 1) It is inappropriate to dictate user interface requirements. A protocol spec should limit itself to the syntax, semantics and processing requirements of protocol elements. It should not attempt to dictate the user interface of tools using the protocol.
> 
> 2) There are no requirements for user agents to confirm an initial request made with a non-idempotent method with the user, to make such requests only in response to explicit user actions, or to let the user know that when they take an action that will request a new resource, that it is being made with an unsafe method, or what host the request is being sent to. Thus, the requirement to get user confirmation only on redirects to an unsafe method is not effective in preventing such requests from being made without the user's knowledge.
> 
> 3) In addition to there being no limit on making an initial unsafe request (such as a POST) without the user's knowledge by the language of the spec, the most popular browsers all will in fact allow such requests to be made with no knowing user interaction whatsoever. There are many ways to do it with scripting, here is a test case that shows it is possible even without scripting: <http://damowmow.com/playground/demos/http/002/>.
> 
> 4) The statements claim that following a redirect to an unsafe method "might change the conditions under which the request was issued", but in fact it will not materially change the conditions compared to making a request to the server that is the target of the redirect in the first place. The only change in the resulting request will be the Referer header.
> 
> 5) RFC2119 says "Imperatives of the type defined in this memo must be used with care and sparingly.  In particular, they MUST only be used where it is actually required for interoperation or to limit behavior which has potential for causing harm." In this case, there is no interoperability need for these requirements. And furthermore, per point 2, the requirements do not actually limit any behavior.
> 
> 6) The requirements cannot be met by a user agent that normally operates without direct user interaction.
> 
> 
> Regards,
> Maciej
> 
> 



From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 00:02:49 2012
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 D2BEB21F849A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 00:02:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.354
X-Spam-Level: 
X-Spam-Status: No, score=-7.354 tagged_above=-999 required=5 tests=[AWL=3.245, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h65LUW+x3Nmd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 00:02:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 25E6C21F8431 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 00:02:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQYUU-0000XB-OE for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 07:01:30 +0000
Resent-Date: Tue, 23 Oct 2012 07:01:30 +0000
Resent-Message-Id: <E1TQYUU-0000XB-OE@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TQYUO-0000WG-Ag for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 07:01:24 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TQYUJ-0004Yg-6H for ietf-http-wg@w3.org; Tue, 23 Oct 2012 07:01:24 +0000
Received: (qmail invoked by alias); 23 Oct 2012 07:00:42 -0000
Received: from p5DD95D63.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.93.99] by mail.gmx.net (mp039) with SMTP; 23 Oct 2012 09:00:42 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+S9EwfweySuBIJxRuSGDYtocQobRAcUirfwEkU7n 5TEJQFwmPd7F2z
Message-ID: <5086409B.4010802@gmx.de>
Date: Tue, 23 Oct 2012 09:00:43 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Maciej Stachowiak <mjs@apple.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com>
In-Reply-To: <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-1.076, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQYUJ-0004Yg-6H 90e06f95d356e7aa6dfb0ad4b95b4ce2
X-Original-To: ietf-http-wg@w3.org
Subject: #238, was: User interface requirements for redirecting to unsafe  methods
Archived-At: <http://www.w3.org/mid/5086409B.4010802@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15418
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>

On 2012-10-23 08:42, Maciej Stachowiak wrote:
>
> I read recently that httpbis believes it has addressed the feedback of all those who brought it to their satisfaction, and that the WG is in WGLC so such feedback should be re-raised if not.
>
> The following points were not addressed to my satisfaction. While some individuals replied, so far as I can tell, the WG itself has never officially tracked this feedback nor has it given an official response.
>
> You can find the post I'm replying to in the archives here: <http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0170.html>
> As far as I can tell, the end of the discussion on this was the following post from me: <http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0177.html>.
>
> I would like to have this feedback addressed by the httpbis wg.
>
> Regards,
> Maciej
> ...

Maciej,

the text you complained about back then has been rewritten a few months 
ago. Please check the WGLC draft.

With respect to tracking: I think this is issue 
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/238>, see also 
<http://lists.w3.org/Archives/Public/ietf-http-wg/2012JanMar/0928.html>.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 00:13:48 2012
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 2BEE911E80BA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 00:13:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.068
X-Spam-Level: 
X-Spam-Status: No, score=-8.068 tagged_above=-999 required=5 tests=[AWL=2.531, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HfrcApWe+2JJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 00:13:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 389C321F88C1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 00:13:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQYf6-0004OG-Ab for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 07:12:28 +0000
Resent-Date: Tue, 23 Oct 2012 07:12:28 +0000
Resent-Message-Id: <E1TQYf6-0004OG-Ab@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQYf3-0004NR-AM for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 07:12:25 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQYf2-0007tm-5g for ietf-http-wg@w3.org; Tue, 23 Oct 2012 07:12:25 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0C26222E1F4; Tue, 23 Oct 2012 03:12:00 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <5086409B.4010802@gmx.de>
Date: Tue, 23 Oct 2012 18:12:15 +1100
Cc: Maciej Stachowiak <mjs@apple.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <702054BA-0177-488B-963F-BB496D5A2E14@mnot.net>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com> <5086409B.4010802@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-2.167, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQYf2-0007tm-5g 73961b4bc0047da129248595bdd4893f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #238, was: User interface requirements for redirecting to unsafe  methods
Archived-At: <http://www.w3.org/mid/702054BA-0177-488B-963F-BB496D5A2E14@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15419
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>

On 23/10/2012, at 6:00 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
>=20
> the text you complained about back then has been rewritten a few =
months ago. Please check the WGLC draft.
>=20
> With respect to tracking: I think this is issue =
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/238>, see also =
<http://lists.w3.org/Archives/Public/ietf-http-wg/2012JanMar/0928.html>.


Yes.=20

I do see, however, that we have this language at the top of =
<http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-7.4=
>:

> If the required action involves a subsequent HTTP request, it MAY be =
carried
>    out by the user agent without interaction with the user if and only
>    if the method used in the second request is known to be "safe", as
>    defined in Section 5.2.1.

MAY... if and only if is a badly constructed requirement, and it also =
goes against the resolution of #238. I'll enter a WGLC issue to correct =
that.

Thanks,


--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 00:18:36 2012
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 390E721F8918 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 00:18:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.509
X-Spam-Level: 
X-Spam-Status: No, score=-7.509 tagged_above=-999 required=5 tests=[AWL=3.090, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y3iap2DE0Dnr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 00:18:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AF44721F890F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 00:18:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQYkH-0008Kv-8G for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 07:17:49 +0000
Resent-Date: Tue, 23 Oct 2012 07:17:49 +0000
Resent-Message-Id: <E1TQYkH-0008Kv-8G@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TQYkD-0008HY-Ic for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 07:17:45 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TQYkC-000846-FW for ietf-http-wg@w3.org; Tue, 23 Oct 2012 07:17:45 +0000
Received: (qmail invoked by alias); 23 Oct 2012 07:17:17 -0000
Received: from p5DD95D63.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.93.99] by mail.gmx.net (mp004) with SMTP; 23 Oct 2012 09:17:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19H7XR7QGBHISwUVQnF6bC8qrl0VeuLe+0u8xHcq+ LUKZ9HYDvdr3fp
Message-ID: <5086447E.7050707@gmx.de>
Date: Tue, 23 Oct 2012 09:17:18 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Maciej Stachowiak <mjs@apple.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com> <5086409B.4010802@gmx.de> <702054BA-0177-488B-963F-BB496D5A2E14@mnot.net>
In-Reply-To: <702054BA-0177-488B-963F-BB496D5A2E14@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-3.168, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQYkC-000846-FW a391132f4869334778c425b12e91b9f5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #238, was: User interface requirements for redirecting to unsafe   methods
Archived-At: <http://www.w3.org/mid/5086447E.7050707@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15420
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>

On 2012-10-23 09:12, Mark Nottingham wrote:
>
> On 23/10/2012, at 6:00 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
>>
>> the text you complained about back then has been rewritten a few months ago. Please check the WGLC draft.
>>
>> With respect to tracking: I think this is issue <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/238>, see also <http://lists.w3.org/Archives/Public/ietf-http-wg/2012JanMar/0928.html>.
>
>
> Yes.
>
> I do see, however, that we have this language at the top of <http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-7.4>:
>
>> If the required action involves a subsequent HTTP request, it MAY be carried
>>     out by the user agent without interaction with the user if and only
>>     if the method used in the second request is known to be "safe", as
>>     defined in Section 5.2.1.
>
> MAY... if and only if is a badly constructed requirement, and it also goes against the resolution of #238. I'll enter a WGLC issue to correct that.

Indeed; when we resolved #238 we didn't fix all places where this was 
mentioned.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 00:56:43 2012
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 1267D21F868A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 00:56:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pgYDQB5yyruW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 00:56:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1C1A821F8689 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 00:56:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQZKU-0001Od-Ii for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 07:55:14 +0000
Resent-Date: Tue, 23 Oct 2012 07:55:14 +0000
Resent-Message-Id: <E1TQZKU-0001Od-Ii@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1TQZKR-0001Nu-FX for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 07:55:11 +0000
Received: from smtp.opera.com ([213.236.208.81]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1TQZKQ-0000rp-CS for ietf-http-wg@w3.org; Tue, 23 Oct 2012 07:55:11 +0000
Received: from uranium.saslounge ([193.214.121.242]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q9N7sg1J001295 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 07:54:43 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <CAKe6YvO0AOUQO7PS=zHqfKLH8=Omzh9SV1K6-_DH+Pjupp2QsA@mail.gmail.com>
Date: Tue, 23 Oct 2012 09:54:41 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wmmf9fewiw9drz@uranium.saslounge>
In-Reply-To: <CAKe6YvO0AOUQO7PS=zHqfKLH8=Omzh9SV1K6-_DH+Pjupp2QsA@mail.gmail.com>
User-Agent: Opera Mail/12.02 (Win32)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQZKQ-0000rp-CS 6d1e687e0af6bc10585e5ee59e552d40
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/op.wmmf9fewiw9drz@uranium.saslounge>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15421
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>

On Mon, 22 Oct 2012 18:36:40 +0200, Vinayak Hegde <vinayakh@gmail.com>  
wrote:

>>
>> We are wondering whether anyone is aware of a test corpus for HTTP  
>> exchanges that would be available, or could be made available. This  
>> would help us obtaining fair and realistic results.
>
> The internet archive stores the HTTP response as it is received and
> has a huge trove of results. However I don't know if it is available
> for download and replay. The arc file format is documented here -
> http://crawler.archive.org/articles/developer_manual/arcs.html
>

As discussed previously, the headers in the HTTP request may be more  
relevant to compress, since you want to fit as many requests as possible  
in the initial TCP window. In the response the headers are many times  
dwarfed by the size of the actual resource. Getting a representative  
sample for test purposes quickly gets difficult for privacy reasons, in  
particular if you capture mobile traffic, where unique identifiers like  
phone number could be added to the requests by the network operator.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 01:58:47 2012
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 9AE3C21F8639 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 01:58:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21MeZTZ8iFmc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 01:58:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1E49421F863A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 01:58:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQaIa-0000gr-Mg for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 08:57:20 +0000
Resent-Date: Tue, 23 Oct 2012 08:57:20 +0000
Resent-Message-Id: <E1TQaIa-0000gr-Mg@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mjs@apple.com>) id 1TQaIX-0000g7-7j for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 08:57:17 +0000
Received: from honeycrisp.apple.com ([17.151.62.51] helo=mail-out.apple.com) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <mjs@apple.com>) id 1TQaIW-00007g-5i for ietf-http-wg@w3.org; Tue, 23 Oct 2012 08:57:17 +0000
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
Received: from relay15.apple.com ([17.128.113.54]) by mail-out.apple.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTP id <0MCC00D0A8UN94Q0@mail-out.apple.com> for ietf-http-wg@w3.org; Tue, 23 Oct 2012 01:56:49 -0700 (PDT)
X-AuditID: 11807136-b7f196d00000447f-8f-50865bd13e97
Received: from koseret (koseret.apple.com [17.151.62.39]) (using TLS with cipher RC4-MD5 (RC4-MD5/128 bits)) (Client did not present a certificate)	by relay15.apple.com (Apple SCV relay) with SMTP id A0.98.17535.1DB56805; Tue, 23 Oct 2012 01:56:49 -0700 (PDT)
Received: from [17.153.53.90] (unknown [17.153.53.90]) by koseret.apple.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPSA id <0MCC000PK8UOXTA0@koseret.apple.com> for ietf-http-wg@w3.org; Tue, 23 Oct 2012 01:56:49 -0700 (PDT)
From: Maciej Stachowiak <mjs@apple.com>
In-reply-to: <5086447E.7050707@gmx.de>
Date: Tue, 23 Oct 2012 01:56:48 -0700
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Message-id: <56AC02A5-DF02-4BD4-97E3-AB56532E6942@apple.com>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com> <5086409B.4010802@gmx.de> <702054BA-0177-488B-963F-BB496D5A2E14@mnot.net> <5086447E.7050707@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1498)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGLMWRmVeSWpSXmKPExsUiON1OXfdidFuAwbUnEhaHW2YxOTB6HJ23 nzWAMYrLJiU1J7MstUjfLoErY+6L28wFbfwVOzevZWpg7ObpYuTkkBAwkdh+YB0jhC0mceHe ejYQW0igk0li5b78LkYuIHshk8SNydvAipgFdCR6v39jBrF5BfQkbv9cxgRiCwuES5xZtQks ziagLnH3yDF2EJtTQE1i3s95YENZBFQl7u2eyAIxx1eiZ9FfNghbW+LJuwusEDNtJL7sfMYO ccRVRomOXSIgtoiAlsTte3uhDpWVuPfiN9sERoFZSE6aheSkWUjGLmBkXsUoWJSak1hpaKqX WFCQk6qXnJ+7iREUeg2FZjsYd/yVO8QowMGoxMNruLc1QIg1say4MvcQowQHs5IIr6l9W4AQ b0piZVVqUX58UWlOavEhRmkOFiVx3p+zgKoF0hNLUrNTUwtSi2CyTBycUg2Mie6nPlnZLumd dO4eq9bhE7wbv03eIRTgtcnulPihjZbf9bXvWu52KjwjE2uo7G2hk8eUx8ijX2eUzDi9uKaz SOH+2TM5fXc2Nb8IXTlfO4fV2uTF7yzPNIlXScW/V72RtrmR+6WgSWvxGYapahmhZos6/Jln umS7CUjpnbrYUXDrj+AZj21KLMUZiYZazEXFiQCQA1yhOQIAAA==
Received-SPF: pass client-ip=17.151.62.51; envelope-from=mjs@apple.com; helo=mail-out.apple.com
X-W3C-Hub-Spam-Status: No, score=-5.9
X-W3C-Hub-Spam-Report: AWL=-0.202, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQaIW-00007g-5i 0e5effc5ea049c102653e3ff55a28798
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #238, was: User interface requirements for redirecting to unsafe  methods
Archived-At: <http://www.w3.org/mid/56AC02A5-DF02-4BD4-97E3-AB56532E6942@apple.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15422
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>

On Oct 23, 2012, at 12:17 AM, Julian Reschke <julian.reschke@gmx.de> wrote:

> On 2012-10-23 09:12, Mark Nottingham wrote:
>> 
>> On 23/10/2012, at 6:00 PM, Julian Reschke <julian.reschke@gmx.de> wrote:
>>> 
>>> the text you complained about back then has been rewritten a few months ago. Please check the WGLC draft.
>>> 
>>> With respect to tracking: I think this is issue <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/238>, see also <http://lists.w3.org/Archives/Public/ietf-http-wg/2012JanMar/0928.html>.
>> 
>> 
>> Yes.
>> 
>> I do see, however, that we have this language at the top of <http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-7.4>:
>> 
>>> If the required action involves a subsequent HTTP request, it MAY be carried
>>>    out by the user agent without interaction with the user if and only
>>>    if the method used in the second request is known to be "safe", as
>>>    defined in Section 5.2.1.
>> 
>> MAY... if and only if is a badly constructed requirement, and it also goes against the resolution of #238. I'll enter a WGLC issue to correct that.
> 
> Indeed; when we resolved #238 we didn't fix all places where this was mentioned.

I only checked the first reference, which was apparently unfixed. I have now double-checked the others and they do seem to address the issue.

Thanks to Mark for offering to raise the overlooked spot as a WGLC issue.

As a matter of process, I wish I could have been notified in some more active way about the resolution when the ticket was resolved. Since it was resolved several years after I raised the issue, I was no longer monitoring the WG closely enough to notice. Had I been aware of the resolution, I likely would have spotted the error (i.e. that one of four mentions of confirmation was not addressed).

Cheers,
Maciej



From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 03:18:56 2012
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 EE6BE21F86AF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 03:18:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.063
X-Spam-Level: 
X-Spam-Status: No, score=-8.063 tagged_above=-999 required=5 tests=[AWL=2.536, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JVcm+mnjp+7v for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 03:18:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 504E421F86A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 03:18:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQbXY-00058q-Pw for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 10:16:52 +0000
Resent-Date: Tue, 23 Oct 2012 10:16:52 +0000
Resent-Message-Id: <E1TQbXY-00058q-Pw@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQbXV-00058B-1I for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 10:16:49 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQbXU-0002zx-1a for ietf-http-wg@w3.org; Tue, 23 Oct 2012 10:16:49 +0000
Received: from [192.168.1.72] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BF2EF22E25B; Tue, 23 Oct 2012 06:16:24 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <56AC02A5-DF02-4BD4-97E3-AB56532E6942@apple.com>
Date: Tue, 23 Oct 2012 21:16:44 +1100
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <81B50A99-F38C-4712-AEB4-8A6A9697EC60@mnot.net>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com> <5086409B.4010802@gmx.de> <702054BA-0177-488B-963F-BB496D5A2E14@mnot.net> <5086447E.7050707@gmx.de> <56AC02A5-DF02-4BD4-97E3-AB56532E6942@apple.com>
To: Maciej Stachowiak <mjs@apple.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-3.117, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQbXU-0002zx-1a 749e2af3cda7f78cc5e696f9d8a3ed7b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #238, was: User interface requirements for redirecting to unsafe methods
Archived-At: <http://www.w3.org/mid/81B50A99-F38C-4712-AEB4-8A6A9697EC60@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15423
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>

On 23/10/2012, at 7:56 PM, Maciej Stachowiak <mjs@apple.com> wrote:

> As a matter of process, I wish I could have been notified in some more =
active way about the resolution when the ticket was resolved. Since it =
was resolved several years after I raised the issue, I was no longer =
monitoring the WG closely enough to notice. Had I been aware of the =
resolution, I likely would have spotted the error (i.e. that one of four =
mentions of confirmation was not addressed).

That's not our process. We use the issue tracker as a convenience (as we =
do the diffs, the announcements, the change logs, etc.), but ultimately =
if you care about a particular bit of the text, you need to track it. =
Hence, the Last Calls (whereupon you *did* spot the error).

Regards,


--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 07:54:14 2012
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 8021321F866C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 07:54:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.573
X-Spam-Level: 
X-Spam-Status: No, score=-6.573 tagged_above=-999 required=5 tests=[AWL=3.403, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z-2pAgBlFGVV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 07:54:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1F7B221F8665 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 07:54:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQfq1-00034m-Tw for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 14:52:13 +0000
Resent-Date: Tue, 23 Oct 2012 14:52:13 +0000
Resent-Message-Id: <E1TQfq1-00034m-Tw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1TQfpx-00033f-Jn for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 14:52:09 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1TQfpq-0007br-IV for ietf-http-wg@w3.org; Tue, 23 Oct 2012 14:52:09 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so431540lbo.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 07:51:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=RpDF65h3qnsih00znkxyynD3AjSSgm0wmRDdvaKJtcg=; b=TO6D+aAw5lI7yAqv+f2GOp1QDoDZVkj4vMN/5FoOPl6VpCI2jMYCO/79Ex4xjyrJeD IrtAknl4T5sA1nc8y+1wN41N+3oeam0PCV4gI5PQ41ImSC5xSEQPIJsd7L1YxvRD553t 0vuM1jF02xEKvgqlWMEcBFlQs5lAguVC0q3s9soXfejUYa+YSuCpta4U6pHvQvfDROnf ioPzSvkuiczRGOtq32hclAXf8truZxxTYev2LSBAHmnBg2/8vh5miQSngnPDCzXkfFwS 0Rq789iMzfmKasZLv8iiKvCV+SLBhurf9JbgfGC/Ed3zEuCurOM0pc8rpFuxEz4Tnokf w2KQ==
MIME-Version: 1.0
Received: by 10.112.103.7 with SMTP id fs7mr5140491lbb.25.1351003895170; Tue, 23 Oct 2012 07:51:35 -0700 (PDT)
Sender: barryleiba.mailing.lists@gmail.com
Received: by 10.112.99.131 with HTTP; Tue, 23 Oct 2012 07:51:35 -0700 (PDT)
In-Reply-To: <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com>
Date: Tue, 23 Oct 2012 10:51:35 -0400
X-Google-Sender-Auth: 5qX9L9bSTQvI5nf1em8yMFSz27o
Message-ID: <CAC4RtVCgvi3OdX_KcHduYZcUpbPOvRG3_WttECur==FaVG6voQ@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Maciej Stachowiak <mjs@apple.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0401fea543069a04ccbb1b21
Received-SPF: pass client-ip=209.85.217.171; envelope-from=barryleiba.mailing.lists@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-2.614, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQfpq-0007br-IV 10e9b57665ed7e7eea2557c066f8f16b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: User interface requirements for redirecting to unsafe methods
Archived-At: <http://www.w3.org/mid/CAC4RtVCgvi3OdX_KcHduYZcUpbPOvRG3_WttECur==FaVG6voQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15424
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>

--f46d0401fea543069a04ccbb1b21
Content-Type: text/plain; charset=ISO-8859-1

>
> The following points were not addressed to my satisfaction. While some
> individuals replied, so far as I can tell, the WG itself has never
> officially tracked this feedback nor has it given an official response.
>
> You can find the post I'm replying to in the archives here: <
> http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0170.html>
> As far as I can tell, the end of the discussion on this was the following
> post from me: <
> http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0177.html>.


I agree with Maciej that (1) he has raised a valid set of issues and (2)
they have not been adequately addressed.

In fact, I also agree with his assessment, and think the "must" and "must
not" statements should be changed to "should" and "should not", though that
is separate from my concern that his issues have not been adequately
addressed.  I'd at least like to hear someone explain *why* the "must ->
should" change would be bad or wrong, and see support for that explanation.

I can also make a pretty good guess that Pete or I might raise just this
sort of thing in IESG Evaluation.

Barry, responsible AD


> On Feb 12, 2010, at 2:30 AM, Maciej Stachowiak <mjs@apple.com> wrote:
>  >
> > RFC2616 has some MUST-level user interface requirements relating
> redirecting to unsafe methods:
> >
> > <
> http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.3xx
> >
> > "The action required may be carried out by the user agent without
> interaction with the user if and only if the method used in the second
> request is GET or HEAD."
> >
> > <
> http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.301
> >
> > "If the 301 status code is received in response to a request method that
> is known to be "safe", as defined in Section 7.1.1, then the request may be
> automatically redirected by the user agent without confirmation. Otherwise,
> the user agent must not automatically redirect the request unless it can be
> confirmed by the user, since this might change the conditions under which
> the request was issued."
> >
> > <
> http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.302
> >
> > "If the 302 status code is received in response to a request method that
> is known to be "safe", as defined in Section 7.1.1, then the request may be
> automatically redirected by the user agent without confirmation. Otherwise,
> the user agent must not automatically redirect the request unless it can be
> confirmed by the user, since this might change the conditions under which
> the request was issued."
> >
> > <
> http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.307
> >
> > "If the 307 status code is received in response to a request method that
> is known to be "safe", as defined in Section 7.1.1, then the request may be
> automatically redirected by the user agent without confirmation. Otherwise,
> the user agent must not automatically redirect the request unless it can be
> confirmed by the user, since this might change the conditions under which
> the request was issued."
> >
> >
> > I suggest that these requirements should be removed (or at least changed
> to SHOULD- or MAY-level) for the following reasons:
> >
> > 1) It is inappropriate to dictate user interface requirements. A
> protocol spec should limit itself to the syntax, semantics and processing
> requirements of protocol elements. It should not attempt to dictate the
> user interface of tools using the protocol.
> >
> > 2) There are no requirements for user agents to confirm an initial
> request made with a non-idempotent method with the user, to make such
> requests only in response to explicit user actions, or to let the user know
> that when they take an action that will request a new resource, that it is
> being made with an unsafe method, or what host the request is being sent
> to. Thus, the requirement to get user confirmation only on redirects to an
> unsafe method is not effective in preventing such requests from being made
> without the user's knowledge.
> >
> > 3) In addition to there being no limit on making an initial unsafe
> request (such as a POST) without the user's knowledge by the language of
> the spec, the most popular browsers all will in fact allow such requests to
> be made with no knowing user interaction whatsoever. There are many ways to
> do it with scripting, here is a test case that shows it is possible even
> without scripting: <http://damowmow.com/playground/demos/http/002/>.
> >
> > 4) The statements claim that following a redirect to an unsafe method
> "might change the conditions under which the request was issued", but in
> fact it will not materially change the conditions compared to making a
> request to the server that is the target of the redirect in the first
> place. The only change in the resulting request will be the Referer header.
> >
> > 5) RFC2119 says "Imperatives of the type defined in this memo must be
> used with care and sparingly.  In particular, they MUST only be used where
> it is actually required for interoperation or to limit behavior which has
> potential for causing harm." In this case, there is no interoperability
> need for these requirements. And furthermore, per point 2, the requireme

--f46d0401fea543069a04ccbb1b21
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">The following points were not addressed to m=
y satisfaction. While some individuals replied, so far as I can tell, the W=
G itself has never officially tracked this feedback nor has it given an off=
icial response.<br>

<br>
You can find the post I&#39;m replying to in the archives here: &lt;<a href=
=3D"http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0170.html" =
target=3D"_blank">http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanM=
ar/0170.html</a>&gt;<br>

As far as I can tell, the end of the discussion on this was the following p=
ost from me: &lt;<a href=3D"http://lists.w3.org/Archives/Public/ietf-http-w=
g/2010JanMar/0177.html" target=3D"_blank">http://lists.w3.org/Archives/Publ=
ic/ietf-http-wg/2010JanMar/0177.html</a>&gt;.</blockquote>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"></blockquote><div><br></div><div dir=3D"ltr"=
>I agree with=A0<font><span style=3D"line-height:normal;background-color:rg=
ba(255,255,255,0)">Maciej that (1) he has raised a valid set of issues and =
(2) they have not been adequately addressed.</span></font></div>
<div dir=3D"ltr"><font><span style=3D"line-height:normal;background-color:r=
gba(255,255,255,0)"><br></span></font></div><div dir=3D"ltr"><font><span st=
yle=3D"line-height:normal;background-color:rgba(255,255,255,0)">In fact, I =
also agree with his assessment, and think the &quot;must&quot; and &quot;mu=
st not&quot; statements should be changed to &quot;should&quot; and &quot;s=
hould not&quot;, though that is separate from my concern that his issues ha=
ve not been adequately addressed. =A0I&#39;d at least like to hear someone =
explain *why* the &quot;must -&gt; should&quot; change would be bad or wron=
g, and see support for that explanation.</span></font></div>
<div dir=3D"ltr"><font><span style=3D"line-height:normal;background-color:r=
gba(255,255,255,0)"><br></span></font></div><div dir=3D"ltr"><font><span st=
yle=3D"line-height:normal;background-color:rgba(255,255,255,0)">I can also =
make a pretty good guess that Pete or I might raise just this sort of thing=
 in IESG Evaluation.</span></font></div>
<div dir=3D"ltr"><font><span style=3D"line-height:normal;background-color:r=
gba(255,255,255,0)"><br></span></font></div><div dir=3D"ltr"><font><span st=
yle=3D"line-height:normal;background-color:rgba(255,255,255,0)">Barry, resp=
onsible AD<span></span></span></font></div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">On Feb 12, 2010, at 2:30 AM, M=
aciej Stachowiak &lt;<a>mjs@apple.com</a>&gt; wrote:<br>
=A0&gt;<br>
&gt; RFC2616 has some MUST-level user interface requirements relating redir=
ecting to unsafe methods:<br>
&gt;<br>
&gt; &lt;<a href=3D"http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-=
semantics-latest.html#status.3xx" target=3D"_blank">http://greenbytes.de/te=
ch/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.3xx</a>&gt;<br=
>

&gt; &quot;The action required may be carried out by the user agent without=
 interaction with the user if and only if the method used in the second req=
uest is GET or HEAD.&quot;<br>
&gt;<br>
&gt; &lt;<a href=3D"http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-=
semantics-latest.html#status.301" target=3D"_blank">http://greenbytes.de/te=
ch/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.301</a>&gt;<br=
>

&gt; &quot;If the 301 status code is received in response to a request meth=
od that is known to be &quot;safe&quot;, as defined in Section 7.1.1, then =
the request may be automatically redirected by the user agent without confi=
rmation. Otherwise, the user agent must not automatically redirect the requ=
est unless it can be confirmed by the user, since this might change the con=
ditions under which the request was issued.&quot;<br>

&gt;<br>
&gt; &lt;<a href=3D"http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-=
semantics-latest.html#status.302" target=3D"_blank">http://greenbytes.de/te=
ch/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.302</a>&gt;<br=
>

&gt; &quot;If the 302 status code is received in response to a request meth=
od that is known to be &quot;safe&quot;, as defined in Section 7.1.1, then =
the request may be automatically redirected by the user agent without confi=
rmation. Otherwise, the user agent must not automatically redirect the requ=
est unless it can be confirmed by the user, since this might change the con=
ditions under which the request was issued.&quot;<br>

&gt;<br>
&gt; &lt;<a href=3D"http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-=
semantics-latest.html#status.307" target=3D"_blank">http://greenbytes.de/te=
ch/webdav/draft-ietf-httpbis-p2-semantics-latest.html#status.307</a>&gt;<br=
>

&gt; &quot;If the 307 status code is received in response to a request meth=
od that is known to be &quot;safe&quot;, as defined in Section 7.1.1, then =
the request may be automatically redirected by the user agent without confi=
rmation. Otherwise, the user agent must not automatically redirect the requ=
est unless it can be confirmed by the user, since this might change the con=
ditions under which the request was issued.&quot;<br>

&gt;<br>
&gt;<br>
&gt; I suggest that these requirements should be removed (or at least chang=
ed to SHOULD- or MAY-level) for the following reasons:<br>
&gt;<br>
&gt; 1) It is inappropriate to dictate user interface requirements. A proto=
col spec should limit itself to the syntax, semantics and processing requir=
ements of protocol elements. It should not attempt to dictate the user inte=
rface of tools using the protocol.<br>

&gt;<br>
&gt; 2) There are no requirements for user agents to confirm an initial req=
uest made with a non-idempotent method with the user, to make such requests=
 only in response to explicit user actions, or to let the user know that wh=
en they take an action that will request a new resource, that it is being m=
ade with an unsafe method, or what host the request is being sent to. Thus,=
 the requirement to get user confirmation only on redirects to an unsafe me=
thod is not effective in preventing such requests from being made without t=
he user&#39;s knowledge.<br>

&gt;<br>
&gt; 3) In addition to there being no limit on making an initial unsafe req=
uest (such as a POST) without the user&#39;s knowledge by the language of t=
he spec, the most popular browsers all will in fact allow such requests to =
be made with no knowing user interaction whatsoever. There are many ways to=
 do it with scripting, here is a test case that shows it is possible even w=
ithout scripting: &lt;<a href=3D"http://damowmow.com/playground/demos/http/=
002/" target=3D"_blank">http://damowmow.com/playground/demos/http/002/</a>&=
gt;.<br>

&gt;<br>
&gt; 4) The statements claim that following a redirect to an unsafe method =
&quot;might change the conditions under which the request was issued&quot;,=
 but in fact it will not materially change the conditions compared to makin=
g a request to the server that is the target of the redirect in the first p=
lace. The only change in the resulting request will be the Referer header.<=
br>

&gt;<br>
&gt; 5) RFC2119 says &quot;Imperatives of the type defined in this memo mus=
t be used with care and sparingly. =A0In particular, they MUST only be used=
 where it is actually required for interoperation or to limit behavior whic=
h has potential for causing harm.&quot; In this case, there is no interoper=
ability need for these requirements. And furthermore, per point 2, the requ=
ireme</blockquote>

--f46d0401fea543069a04ccbb1b21--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 07:55:26 2012
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 4DF9F11E80A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 07:55:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=3.377, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7U7vXqcCBhSU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 07:55:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C923711E808D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 07:55:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQfsD-0003Ip-On for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 14:54:29 +0000
Resent-Date: Tue, 23 Oct 2012 14:54:29 +0000
Resent-Message-Id: <E1TQfsD-0003Ip-On@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1TQfsA-0003HG-Cr for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 14:54:26 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1TQfs4-0006GF-Bu for ietf-http-wg@w3.org; Tue, 23 Oct 2012 14:54:26 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so433280lbo.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 07:53:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=E0unbdGoA3muDAXiVc1S9MqWVOirmsrYT7l/EEtFsHE=; b=I6OGjoLi1fBgdfqvUkVCio5M8VzfkLmEbqwJFV6d/17nXCI5RipqsGkuhwe4PLuYqP RGwehdznsO3UMuS5q7/YME2TPWfdhWM8hBxCBlUoVKzekp4NrNwUiJVGFwXfCFgNnRGx Ttp2mFZ5PBXO2d+JtiGYdF3lml2eyF8/uBzcQjJYqo6x9PpZdENupkVimOhHWcs8ycYt ZgrTThw5NexyVUqX17A+KI1d+t7KmQ2vmPewOA6ZNSAqS1Om6/X7K6PyX08TIh/CpqTA 6tyduYT7EfDDnmuM2LAuaytWaI7r6WzXppxQmN77zbQFG3QiDyDG0G3NrbPPQhD5veoq pApg==
MIME-Version: 1.0
Received: by 10.112.101.133 with SMTP id fg5mr5190598lbb.3.1351004033417; Tue, 23 Oct 2012 07:53:53 -0700 (PDT)
Sender: barryleiba.mailing.lists@gmail.com
Received: by 10.112.99.131 with HTTP; Tue, 23 Oct 2012 07:53:53 -0700 (PDT)
In-Reply-To: <CAC4RtVCgvi3OdX_KcHduYZcUpbPOvRG3_WttECur==FaVG6voQ@mail.gmail.com>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com> <CAC4RtVCgvi3OdX_KcHduYZcUpbPOvRG3_WttECur==FaVG6voQ@mail.gmail.com>
Date: Tue, 23 Oct 2012 10:53:53 -0400
X-Google-Sender-Auth: e7WEUekcd6DPEfeS_8_qHeVxrWw
Message-ID: <CAC4RtVCgdYZBxPxr1rqOAmpe_8Qg3C1bTw4VaVUrPFo6AAHjkQ@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Barry Leiba <barryleiba@computer.org>
Cc: Maciej Stachowiak <mjs@apple.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d040169fd8084b704ccbb2328
Received-SPF: pass client-ip=209.85.217.171; envelope-from=barryleiba.mailing.lists@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-2.614, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQfs4-0006GF-Bu 2f07d7751879217677bf19993bfc7df5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: User interface requirements for redirecting to unsafe methods
Archived-At: <http://www.w3.org/mid/CAC4RtVCgdYZBxPxr1rqOAmpe_8Qg3C1bTw4VaVUrPFo6AAHjkQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15425
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>

--f46d040169fd8084b704ccbb2328
Content-Type: text/plain; charset=ISO-8859-1

>
> I agree with Maciej that (1) he has raised a valid set of issues and (2)
> they have not been adequately addressed.
>

Ignore this; I see that it's being dealt with in another thread.  's what
happens when discussions move and I'm replying from a limited client while
on the road.  Never mind.

Barry

--f46d040169fd8084b704ccbb2328
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div dir=3D"ltr">I agree with=A0<font><span =
style=3D"line-height:normal;background-color:rgba(255,255,255,0)">Maciej th=
at (1) he has raised a valid set of issues and (2) they have not been adequ=
ately addressed.</span></font></div>
<div dir=3D"ltr"><font></font></div></blockquote><div><br></div><div>Ignore=
 this; I see that it&#39;s being dealt with in another thread. =A0&#39;s wh=
at happens when discussions move and I&#39;m replying from a limited client=
 while on the road. =A0Never mind.</div>
<div><br></div><div>Barry=A0<span></span></div>

--f46d040169fd8084b704ccbb2328--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 08:13:58 2012
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 95BAB11E80CC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 08:13:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.208
X-Spam-Level: 
X-Spam-Status: No, score=-7.208 tagged_above=-999 required=5 tests=[AWL=3.391, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DQcQip016amb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 08:13:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 15BF511E80D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 08:13:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQgA0-0000Ys-9c for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 15:12:52 +0000
Resent-Date: Tue, 23 Oct 2012 15:12:52 +0000
Resent-Message-Id: <E1TQgA0-0000Ys-9c@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TQg9t-0000Vh-OO for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 15:12:45 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TQg9s-0007Ck-KZ for ietf-http-wg@w3.org; Tue, 23 Oct 2012 15:12:45 +0000
Received: (qmail invoked by alias); 23 Oct 2012 15:12:15 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp020) with SMTP; 23 Oct 2012 17:12:15 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19gEtlTOk1gzr3Ep1hwK/KUKyaQZXP0Jb9b1AkXGi 0iTt9jz4bteqHz
Message-ID: <5086B3C8.2020609@gmx.de>
Date: Tue, 23 Oct 2012 17:12:08 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Barry Leiba <barryleiba@computer.org>
CC: Maciej Stachowiak <mjs@apple.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com> <CAC4RtVCgvi3OdX_KcHduYZcUpbPOvRG3_WttECur==FaVG6voQ@mail.gmail.com>
In-Reply-To: <CAC4RtVCgvi3OdX_KcHduYZcUpbPOvRG3_WttECur==FaVG6voQ@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-3.162, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQg9s-0007Ck-KZ fed101dd65bdcd3be101c4d8c78a8665
X-Original-To: ietf-http-wg@w3.org
Subject: Re: User interface requirements for redirecting to unsafe methods
Archived-At: <http://www.w3.org/mid/5086B3C8.2020609@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15426
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>

On 2012-10-23 16:51, Barry Leiba wrote:
>     The following points were not addressed to my satisfaction. While
>     some individuals replied, so far as I can tell, the WG itself has
>     never officially tracked this feedback nor has it given an official
>     response.
>
>     You can find the post I'm replying to in the archives here:
>     <http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0170.html>
>     As far as I can tell, the end of the discussion on this was the
>     following post from me:
>     <http://lists.w3.org/Archives/Public/ietf-http-wg/2010JanMar/0177.html>.
>
>
> I agree with Maciej that (1) he has raised a valid set of issues and (2)
> they have not been adequately addressed.
>
> In fact, I also agree with his assessment, and think the "must" and
> "must not" statements should be changed to "should" and "should not",
> though that is separate from my concern that his issues have not been
> adequately addressed.  I'd at least like to hear someone explain *why*
> the "must -> should" change would be bad or wrong, and see support for
> that explanation.
> ...

The WG already decided to change the requirements to simple prose that 
just explains the issue. That being said, I'm not sure how changing a 
MUST (which isn't in the spec anyway anymore) to a SHOULD would actually 
help addressing Maciej's concern.

Best regards,


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 08:30:49 2012
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 698B221F8672 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 08:30:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.609
X-Spam-Level: 
X-Spam-Status: No, score=-10.609 tagged_above=-999 required=5 tests=[AWL=-0.011, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y81QA5iTfAXy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 08:30:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 80A2321F86AF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 08:30:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQgQd-0006jI-B9 for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 15:30:03 +0000
Resent-Date: Tue, 23 Oct 2012 15:30:03 +0000
Resent-Message-Id: <E1TQgQd-0006jI-B9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TQgQa-0005CM-2r for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 15:30:00 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TQgQV-0007zQ-KH for ietf-http-wg@w3.org; Tue, 23 Oct 2012 15:30:00 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so2515419lah.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 08:29:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zrF1FOhOrgO8G1CVQlz/HOPb0j62S0zekniEerSG2UQ=; b=CBkdbJPunrB2dmAzwh12UULccF1hN30QiCLujc/YxYph16ic95fZWfIlyQWl6+bqmD FkV2BkFluRuwlS2i3odI6LKaZUBsk0/dT4bouNa4Ci302yADg5Vszi/jJ8eH9crT/kBQ 8B2mNULH3dj9mT7pizDG7y0RH6EL4Qd+u4biqtuNCka035oYOjMr+Faee95rfGKqfT++ J9qWUJSMiGqU95h3Jde/CWjTFyp/FUxp7bmFvIdBUR21sH1nAYBVDQ3NZcxT/yab+pYd 2/AN+B3o4Y+kW8TvzbgW6JDDFbDWzKgnmmE/AmJW0hpsY2XI/8gwc9AXdoivyQe/5cog J5iQ==
MIME-Version: 1.0
Received: by 10.152.105.236 with SMTP id gp12mr11800117lab.35.1351006168567; Tue, 23 Oct 2012 08:29:28 -0700 (PDT)
Received: by 10.114.39.113 with HTTP; Tue, 23 Oct 2012 08:29:28 -0700 (PDT)
Received: by 10.114.39.113 with HTTP; Tue, 23 Oct 2012 08:29:28 -0700 (PDT)
In-Reply-To: <op.wmmf9fewiw9drz@uranium.saslounge>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <CAKe6YvO0AOUQO7PS=zHqfKLH8=Omzh9SV1K6-_DH+Pjupp2QsA@mail.gmail.com> <op.wmmf9fewiw9drz@uranium.saslounge>
Date: Tue, 23 Oct 2012 08:29:28 -0700
Message-ID: <CAP+FsNfn2d1zCAPrDd=Wp2+cF448A=_MW9RzS1kP_iAP0rMPAw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Martin Nilsson <nilsson@opera.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0407144bc44ea104ccbba25d
Received-SPF: pass client-ip=209.85.215.43; envelope-from=grmocg@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQgQV-0007zQ-KH 55257a40e3f4ed889f289aaa5f5459a8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/CAP+FsNfn2d1zCAPrDd=Wp2+cF448A=_MW9RzS1kP_iAP0rMPAw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15427
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>

--f46d0407144bc44ea104ccbba25d
Content-Type: text/plain; charset=ISO-8859-1

What Martin said... with special emphasis on the difficulty of sanitizing
the headers. :)

The other complication is that we want to see what an entire interaction
looks like (for compression), and not just the initial page load (unless
that is how the users typically interact with that site)

-=R
On Oct 23, 2012 12:57 AM, "Martin Nilsson" <nilsson@opera.com> wrote:

> On Mon, 22 Oct 2012 18:36:40 +0200, Vinayak Hegde <vinayakh@gmail.com>
> wrote:
>
>
>>> We are wondering whether anyone is aware of a test corpus for HTTP
>>> exchanges that would be available, or could be made available. This would
>>> help us obtaining fair and realistic results.
>>>
>>
>> The internet archive stores the HTTP response as it is received and
>> has a huge trove of results. However I don't know if it is available
>> for download and replay. The arc file format is documented here -
>> http://crawler.archive.org/**articles/developer_manual/**arcs.html<http://crawler.archive.org/articles/developer_manual/arcs.html>
>>
>>
> As discussed previously, the headers in the HTTP request may be more
> relevant to compress, since you want to fit as many requests as possible in
> the initial TCP window. In the response the headers are many times dwarfed
> by the size of the actual resource. Getting a representative sample for
> test purposes quickly gets difficult for privacy reasons, in particular if
> you capture mobile traffic, where unique identifiers like phone number
> could be added to the requests by the network operator.
>
> /Martin Nilsson
>
> --
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>
>

--f46d0407144bc44ea104ccbba25d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">What Martin said... with special emphasis on the difficulty =
of sanitizing the headers. :)</p>
<p dir=3D"ltr">The other complication is that we want to see what an entire=
 interaction looks like (for compression), and not just the initial page lo=
ad (unless that is how the users typically interact with that site)<br></p>

<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Oct 23, 2012 12:57 AM, &quot;Martin Nilsson&q=
uot; &lt;<a href=3D"mailto:nilsson@opera.com">nilsson@opera.com</a>&gt; wro=
te:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Mon, 22 Oct 2012 18:36:40 +0200, Vinayak Hegde &lt;<a href=3D"mailto:vin=
ayakh@gmail.com" target=3D"_blank">vinayakh@gmail.com</a>&gt; wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
We are wondering whether anyone is aware of a test corpus for HTTP exchange=
s that would be available, or could be made available. This would help us o=
btaining fair and realistic results.<br>
</blockquote>
<br>
The internet archive stores the HTTP response as it is received and<br>
has a huge trove of results. However I don&#39;t know if it is available<br=
>
for download and replay. The arc file format is documented here -<br>
<a href=3D"http://crawler.archive.org/articles/developer_manual/arcs.html" =
target=3D"_blank">http://crawler.archive.org/<u></u>articles/developer_manu=
al/<u></u>arcs.html</a><br>
<br>
</blockquote>
<br>
As discussed previously, the headers in the HTTP request may be more releva=
nt to compress, since you want to fit as many requests as possible in the i=
nitial TCP window. In the response the headers are many times dwarfed by th=
e size of the actual resource. Getting a representative sample for test pur=
poses quickly gets difficult for privacy reasons, in particular if you capt=
ure mobile traffic, where unique identifiers like phone number could be add=
ed to the requests by the network operator.<br>

<br>
/Martin Nilsson<br>
<br>
-- <br>
Using Opera&#39;s revolutionary email client: <a href=3D"http://www.opera.c=
om/mail/" target=3D"_blank">http://www.opera.com/mail/</a><br>
<br>
</blockquote></div>

--f46d0407144bc44ea104ccbba25d--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 09:04:04 2012
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 8E66421F8686 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 09:04:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 90vsAcKV0E+H for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 09:04:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9980E21F8555 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 09:04:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQgvp-0001zp-Od for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 16:02:17 +0000
Resent-Date: Tue, 23 Oct 2012 16:02:17 +0000
Resent-Message-Id: <E1TQgvp-0001zp-Od@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1TQgvi-0001y4-FM for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 16:02:10 +0000
Received: from inari-msr.crf.canon.fr ([194.2.158.67]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1TQgva-0001wC-7z for ietf-http-wg@w3.org; Tue, 23 Oct 2012 16:02:10 +0000
Received: from mir-msr.corp.crf.canon.fr (mir-msr.corp.crf.canon.fr [172.19.77.98]) by inari-msr.crf.canon.fr (8.13.8/8.13.8) with ESMTP id q9NG0iR1031496; Tue, 23 Oct 2012 18:00:44 +0200
Received: from ADELE.crf.canon.fr (adele.fesl2.crf.canon.fr [172.19.70.17]) by mir-msr.corp.crf.canon.fr (8.13.8/8.13.8) with ESMTP id q9NG0it2003598; Tue, 23 Oct 2012 18:00:44 +0200
Received: from ADELE.crf.canon.fr ([::1]) by ADELE.crf.canon.fr ([::1]) with mapi id 14.02.0318.004; Tue, 23 Oct 2012 18:00:44 +0200
From: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
To: Roberto Peon <grmocg@gmail.com>, Martin Nilsson <nilsson@opera.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP Header Compaction Results
Thread-Index: Ac2wcgXit5LTd9P6QaaUL6UpBFu20P//4UAAgAEAfYCAAH8RAP//2QkA
Date: Tue, 23 Oct 2012 16:00:43 +0000
Message-ID: <6C71876BDCCD01488E70A2399529D5E522F5D3@ADELE.crf.canon.fr>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <CAKe6YvO0AOUQO7PS=zHqfKLH8=Omzh9SV1K6-_DH+Pjupp2QsA@mail.gmail.com> <op.wmmf9fewiw9drz@uranium.saslounge> <CAP+FsNfn2d1zCAPrDd=Wp2+cF448A=_MW9RzS1kP_iAP0rMPAw@mail.gmail.com>
In-Reply-To: <CAP+FsNfn2d1zCAPrDd=Wp2+cF448A=_MW9RzS1kP_iAP0rMPAw@mail.gmail.com>
Accept-Language: en-US, fr-FR
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [172.20.5.239]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=194.2.158.67; envelope-from=Herve.Ruellan@crf.canon.fr; helo=inari-msr.crf.canon.fr
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.083, RP_MATCHES_RCVD=-0.735
X-W3C-Scan-Sig: maggie.w3.org 1TQgva-0001wC-7z 263784ca9dd1df0a7dfba088335cbc1f
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/6C71876BDCCD01488E70A2399529D5E522F5D3@ADELE.crf.canon.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15428
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>

Roberto,

> -----Original Message-----
> From: Roberto Peon [mailto:grmocg@gmail.com]
> Sent: mardi 23 octobre 2012 17:29
> To: Martin Nilsson
> Cc: ietf-http-wg@w3.org
> Subject: Re: HTTP Header Compaction Results
>=20
> What Martin said... with special emphasis on the difficulty of sanitizing=
 the
> headers. :)

I've found very strange things in the response headers from our testing cor=
pus. :-)

>=20
> The other complication is that we want to see what an entire interaction
> looks like (for compression), and not just the initial page load (unless =
that is
> how the users typically interact with that site)

On this point, we are testing both the initial page load and longer session=
s where the user loads several pages from the same site. The number of load=
ed pages clearly has a strong effect on the compaction results.

Herv=E9.

>=20
>=20
> -=3DR
>=20
> On Oct 23, 2012 12:57 AM, "Martin Nilsson" <nilsson@opera.com> wrote:
>=20
>=20
> 	On Mon, 22 Oct 2012 18:36:40 +0200, Vinayak Hegde
> <vinayakh@gmail.com> wrote:
>=20
>=20
>=20
>=20
> 			We are wondering whether anyone is aware of a test
> corpus for HTTP exchanges that would be available, or could be made
> available. This would help us obtaining fair and realistic results.
>=20
>=20
>=20
> 		The internet archive stores the HTTP response as it is
> received and
> 		has a huge trove of results. However I don't know if it is
> available
> 		for download and replay. The arc file format is documented
> here -
>=20
> 	http://crawler.archive.org/articles/developer_manual/arcs.html
> <http://crawler.archive.org/articles/developer_manual/arcs.html>
>=20
>=20
>=20
>=20
> 	As discussed previously, the headers in the HTTP request may be
> more relevant to compress, since you want to fit as many requests as
> possible in the initial TCP window. In the response the headers are many
> times dwarfed by the size of the actual resource. Getting a representativ=
e
> sample for test purposes quickly gets difficult for privacy reasons, in
> particular if you capture mobile traffic, where unique identifiers like p=
hone
> number could be added to the requests by the network operator.
>=20
> 	/Martin Nilsson
>=20
> 	--
> 	Using Opera's revolutionary email client:
> http://www.opera.com/mail/
>=20
>=20



From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 09:52:33 2012
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 C999921F8633 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 09:52:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.262
X-Spam-Level: 
X-Spam-Status: No, score=-8.262 tagged_above=-999 required=5 tests=[AWL=2.336, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id byHKDzIfMmkl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 09:52:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 75C9A21F859D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 09:52:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQhhD-0000A1-VR for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 16:51:16 +0000
Resent-Date: Tue, 23 Oct 2012 16:51:15 +0000
Resent-Message-Id: <E1TQhhD-0000A1-VR@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQhhA-00009I-4u for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 16:51:12 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQhh8-0003fM-Dq for ietf-http-wg@w3.org; Tue, 23 Oct 2012 16:51:12 +0000
Received: by mail-qa0-f43.google.com with SMTP id k1so2333239qaf.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 09:50:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=It7nfVypTIgCU1QFD1vVkshHH+2d0ApRKltnZOQ1zMM=; b=XMw7A+tsTJFD4mRefLyRntJyYCbyoATUptHBWFl6SX4NjPPcMDDySBLRqOQmyx19Y2 E0oVwiewelFNe1/0a+jqPZzrHGcMUVzBQTVSeb9bnImiCHIe5ywbD63nr/gOwFvD2NqU xopHw43g8RF0JFz16F03BbJhna99GxQLTN+tRw/CETYEh/yDBlkbpEdnecMtV4tTe0ry sDN9qXb6/KLIH9sE18ZQyZyQ2zeW0wbIXdqc2+7a9G8Z72YDC8cUjLEvvSUeTbJ3Escn Ul6lL0dgrFIC+HV1nSyJbGGVBqheGvmSGjDpzDEJol4EVXZXj5VMYCWlOSzquH8wfvgO GzTA==
Received: by 10.49.5.9 with SMTP id o9mr7155500qeo.55.1351011044473; Tue, 23 Oct 2012 09:50:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Tue, 23 Oct 2012 09:50:24 -0700 (PDT)
In-Reply-To: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 23 Oct 2012 09:50:24 -0700
Message-ID: <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=047d7bea32da64b95a04ccbcc57b
Received-SPF: pass client-ip=209.85.216.43; envelope-from=jasnell@gmail.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.605, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQhh8-0003fM-Dq f4f6ee812b7fd8641ab2fed30babcdc9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15429
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>

--047d7bea32da64b95a04ccbcc57b
Content-Type: text/plain; charset=UTF-8

On Mon, Oct 22, 2012 at 7:03 PM, Mark Nottingham <mnot@mnot.net> wrote:

> [snip]
>
> 1) Using a SRV (or other DNS) record. There seems to be a fair amount of
> interest in this from the browser implementers; the only resistance seems
> to be around how hard this would be to deploy, but if it's not the only
> mechanism for upgrading to HTTP/2, it shouldn't be a concern.
>
> Presumably, we'd define a default port for HTTP/2-only communication when
> used in conjunction with this, so that firewalls would know to open it, etc.
>
>
Such a dedicated default port definitely needs to be defined. There are
many scenarios where upgrade negotiation simply is not going to be required
at all.


> Does anyone object to us defining such a record (type TBD), as long as
> it's not the only way to get to HTTP/2 for HTTP URIs?
>

Defining a new dns record type would be unnecessary and would be the wrong
approach. SRV records were made specifically for this kind of use. They're
certainly not perfect but inventing a new record type specifically for
http2 stuff is even less so.


>
> 2) Using a response header to hint that HTTP/2 is available on another
> port.
>
> This approach hasn't been talked about in detail yet, but it apparently
> (as some have noted) has the disadvantage of not upgrading the first
> interaction, and of requiring a separate cache (and caching model) for this
> information.
>
> Who wants to pursue this approach? If so, we need a small proposal
> written, preferably as an I-D, but an e-mail would do.
>
>
This is one of those ideas that sounds interesting in theory but I don't
see how it would be effective in practice.


> And, are there any other approaches we want to put on the table?
>
>
For browsers, upgrading on the first connection is obviously going to be
critical. The DNS option seems like the best approach for the most general
case, despite the various flaws in that approach.
montenegro-httpbis-http2-negotiation seems to provide a reasonable fallback
when we're talking primarily about GET/HEAD traffic, but it has obvious
issues when dealing with POST/PUT/PATCH type operations. I do not really
want to always have to send PUT requests as HTTP/1.1 when what I really
want is to use HTTP/2.0 for the entire flow. For payload-bearing requests,
upgrade needs to be negotiated before the initial request is sent.

One possible way to mitigate this would be to combine the Upgrade header
approach with a new Expect token. For instance...

  POST /default.htm HTTP/1.1
  Host: server.example.com
  Connection: Upgrade
  Upgrade: HTTP/2.0
  Expect: 101-upgrade

The addition of the Expect header does two things...

1. It makes the upgrade a requirement rather than optional...
2. The client would then wait as reasonable time for the 101 Switching
Protocols before it proceeds to send the http/2.0 encoded data...

When the client does start sending the data (after receiving the 101
response), it would do so by first sending a SYN_STREAM.. To http/1.1
servers, this would appear to be nothing more than regular POST payload
data. For http/2 traffic, this requires an initial round trip but it
addresses the upgrade on payload-bearing request issue... and is exactly
the kind of thing the Expect header was intended for. The scheme is
obviously far from perfect, however.

Alternatively, I firmly believe that a http2 URI scheme as a reasonable
fallback needs to be considered as an option here... particularly if we do
define a dedicated http/2 default port. Yes, I agree with the whole "we
want to do existing http:// and https:// traffic over http/2 transparently"
argument and fully understand the challenges of introducing a new URI
scheme. However, there will be instances where upgrade negotiation is
simply not going to be necessary and for which backwards compatibility with
existing infrastructure is going to be unnecessary. For those cases, the
ability to pass a URL like "http2://example.org" and have it just
automatically understood that it's "http/2 over port whatever" will be
extremely useful. A no brainer even. So much so that if the working group
here doesn't choose to define it, I'll likely just end up writing it up as
an individual submission. That way, when I write.. <form method="post"
action="http2://example.org">...</form> the notion that http/2 is being
used is explicit and no upgrade discovery/negotiation is required at all.
That's what url schemes are for in the first place, right?

- James



> Identifying The Protocol in Development
> ===============================
>
> Finally, I'd like to make sure we understand how we're going to identify
> this protocol as we move forward.
>
> The NPN, Upgrade and Alternate-Protocol approaches all (should, if we go
> there) use a token to identify the protocol being upgraded to, meaning that
> we'll be able to do something like
>
>   http2-draft-3
>   http2-draft-5
>
> when negotiating the protocol while we're developing it; as long as
> implementations deploy the latest version and perhaps the one before it,
> they should be able to interoperate, and fall back to HTTP/1 if not. The
> browsers have used this approach for SPDY, and it seemed to work well.
>
> To me, this implies that if we define a DNS-based mechanism to hint
> upgrade, it should have a similar capability, so we can reuse those tokens
> and this approach there too. Make sense?
>
> Concurrently, the SPDY draft uses 15 bits to identify the protocol in use.
> Provided we get the upgrade mechanism right, I'm less concerned about this,
> but it would be good if the messages were self-describing, so we should
> figure out what the appropriate values to put in here are too. And, maybe
> saving a few bits too.
>
> Cheers,
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>

--047d7bea32da64b95a04ccbcc57b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">On Mon, Oct 22, 2012 at 7:03 PM, Mark Nottin=
gham <span dir=3D"ltr">&lt;<a href=3D"mailto:mnot@mnot.net" target=3D"_blan=
k">mnot@mnot.net</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

[snip]<br>
<br>
1) Using a SRV (or other DNS) record. There seems to be a fair amount of in=
terest in this from the browser implementers; the only resistance seems to =
be around how hard this would be to deploy, but if it&#39;s not the only me=
chanism for upgrading to HTTP/2, it shouldn&#39;t be a concern.<br>


<br>
Presumably, we&#39;d define a default port for HTTP/2-only communication wh=
en used in conjunction with this, so that firewalls would know to open it, =
etc.<br>
<br></blockquote><div><br></div><div>Such a dedicated default port definite=
ly needs to be defined. There are many scenarios where upgrade negotiation =
simply is not going to be required at all.=C2=A0</div><div>=C2=A0</div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">


Does anyone object to us defining such a record (type TBD), as long as it&#=
39;s not the only way to get to HTTP/2 for HTTP URIs?<br></blockquote><div>=
<br></div><div>Defining a new dns record type would be unnecessary and woul=
d be the wrong approach. SRV records were made specifically for this kind o=
f use. They&#39;re certainly not perfect but inventing a new record type sp=
ecifically for http2 stuff is even less so.</div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2) Using a response header to hint that HTTP/2 is available on another port=
.<br>
<br>
This approach hasn&#39;t been talked about in detail yet, but it apparently=
 (as some have noted) has the disadvantage of not upgrading the first inter=
action, and of requiring a separate cache (and caching model) for this info=
rmation.<br>


<br>
Who wants to pursue this approach? If so, we need a small proposal written,=
 preferably as an I-D, but an e-mail would do.<br>
<br></blockquote><div><br></div><div>This is one of those ideas that sounds=
 interesting in theory but I don&#39;t see how it would be effective in pra=
ctice.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


And, are there any other approaches we want to put on the table?<br>
<br></blockquote><div><br></div><div>For browsers, upgrading on the first c=
onnection is obviously going to be critical. The DNS option seems like the =
best approach for the most general case, despite the various flaws in that =
approach. montenegro-httpbis-http2-negotiation seems to provide a reasonabl=
e fallback when we&#39;re talking primarily about GET/HEAD traffic, but it =
has obvious issues when dealing with POST/PUT/PATCH type operations. I do n=
ot really want to always have to send PUT requests as HTTP/1.1 when what I =
really want is to use HTTP/2.0 for the entire flow. For payload-bearing req=
uests, upgrade needs to be negotiated before the initial request is sent.</=
div>

<div><br></div><div>One possible way to mitigate this would be to combine t=
he Upgrade header approach with a new Expect token. For instance...</div><d=
iv><br></div><div><div>=C2=A0 POST /default.htm HTTP/1.1</div><div>=C2=A0 H=
ost: <a href=3D"http://server.example.com">server.example.com</a></div>

<div>=C2=A0 Connection: Upgrade</div><div>=C2=A0 Upgrade: HTTP/2.0</div></d=
iv><div>=C2=A0 Expect: 101-upgrade</div><div><br></div><div>The addition of=
 the Expect header does two things...</div><div><br></div><div>1. It makes =
the upgrade a requirement rather than optional...</div>

<div>2. The client would then wait as reasonable time for the 101 Switching=
 Protocols before it proceeds to send the http/2.0 encoded data...</div><di=
v><br></div><div>When the client does start sending the data (after receivi=
ng the 101 response), it would do so by first sending a SYN_STREAM.. To htt=
p/1.1 servers, this would appear to be nothing more than regular POST paylo=
ad data. For http/2 traffic, this requires an initial round trip but it add=
resses the upgrade on payload-bearing request issue... and is exactly the k=
ind of thing the Expect header was intended for. The scheme is obviously fa=
r from perfect, however.</div>

<div><br></div><div>Alternatively, I firmly believe that a http2 URI scheme=
 as a reasonable fallback needs to be considered as an option here... parti=
cularly if we do define a dedicated http/2 default port. Yes, I agree with =
the whole &quot;we want to do existing http:// and https:// traffic over ht=
tp/2 transparently&quot; argument and fully understand the challenges of in=
troducing a new URI scheme. However, there will be instances where upgrade =
negotiation is simply not going to be necessary and for which backwards com=
patibility with existing infrastructure is going to be unnecessary. For tho=
se cases, the ability to pass a URL like &quot;http2://<a href=3D"http://ex=
ample.org">example.org</a>&quot; and have it just automatically understood =
that it&#39;s &quot;http/2 over port whatever&quot; will be extremely usefu=
l. A no brainer even. So much so that if the working group here doesn&#39;t=
 choose to define it, I&#39;ll likely just end up writing it up as an indiv=
idual submission. That way, when I write.. &lt;form method=3D&quot;post&quo=
t; action=3D&quot;http2://<a href=3D"http://example.org">example.org</a>&qu=
ot;&gt;...&lt;/form&gt; the notion that http/2 is being used is explicit an=
d no upgrade discovery/negotiation is required at all. That&#39;s what url =
schemes are for in the first place, right?</div>

<div><br></div><div>- James</div><div><br></div><div><br></div><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">
<br>
Identifying The Protocol in Development<br>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D<br>
<br>
Finally, I&#39;d like to make sure we understand how we&#39;re going to ide=
ntify this protocol as we move forward.<br>
<br>
The NPN, Upgrade and Alternate-Protocol approaches all (should, if we go th=
ere) use a token to identify the protocol being upgraded to, meaning that w=
e&#39;ll be able to do something like<br>
<br>
=C2=A0 http2-draft-3<br>
=C2=A0 http2-draft-5<br>
<br>
when negotiating the protocol while we&#39;re developing it; as long as imp=
lementations deploy the latest version and perhaps the one before it, they =
should be able to interoperate, and fall back to HTTP/1 if not. The browser=
s have used this approach for SPDY, and it seemed to work well.<br>


<br>
To me, this implies that if we define a DNS-based mechanism to hint upgrade=
, it should have a similar capability, so we can reuse those tokens and thi=
s approach there too. Make sense?<br>
<br>
Concurrently, the SPDY draft uses 15 bits to identify the protocol in use. =
Provided we get the upgrade mechanism right, I&#39;m less concerned about t=
his, but it would be good if the messages were self-describing, so we shoul=
d figure out what the appropriate values to put in here are too. And, maybe=
 saving a few bits too.<br>


<br>
Cheers,<br>
<br>
<br>
--<br>
Mark Nottingham =C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">h=
ttp://www.mnot.net/</a><br>
<br>
<br>
<br>
<br>
</blockquote></div><br>

--047d7bea32da64b95a04ccbcc57b--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 10:19:25 2012
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 D8F0711E80D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 10:19:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.434
X-Spam-Level: 
X-Spam-Status: No, score=-10.434 tagged_above=-999 required=5 tests=[AWL=0.165, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iaD77wp2UfNK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 10:19:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0B9D611E8099 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 10:19:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQi75-0006zl-48 for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 17:17:59 +0000
Resent-Date: Tue, 23 Oct 2012 17:17:59 +0000
Resent-Message-Id: <E1TQi75-0006zl-48@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1TQi72-0006z6-7O for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 17:17:56 +0000
Received: from ams-iport-4.cisco.com ([144.254.224.147]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1TQi70-0004cm-NU for ietf-http-wg@w3.org; Tue, 23 Oct 2012 17:17:56 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1519; q=dns/txt; s=iport; t=1351012674; x=1352222274; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=5Jy8yz8kwaQgNPF10k/BhZbRaTcZpsGA72+P4sh+MtU=; b=NPwMZ5+GgbEu25VJtrOdoSE/zRIDan4Z8Dd+VAEeK5JrTY3nvOMP1I5w kW5VHu40Qe8NV/C3KOd9Yw2uaIW4PROocZwRMtAIVVeXWBRMR8Q85oQyv qWXblzq00+cigN5TG3FpDSBsYg7hSm1KYJ4ZoH+5HClk2GXiWZ/eRzmyj c=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAPXPhlCQ/khR/2dsb2JhbABEhhS7XIEIgh4BAQEEEgEQBFEBEAsOCgICBRYLAgIJAwIBAgFFBg0BBwEBHodiC5wZjSGCO5A2gSCQC4ESA5VxgReNN4FrgnE
X-IronPort-AV: E=Sophos;i="4.80,637,1344211200";  d="scan'208";a="9039862"
Received: from ams-core-1.cisco.com ([144.254.72.81]) by ams-iport-4.cisco.com with ESMTP; 23 Oct 2012 17:17:27 +0000
Received: from dhcp-10-55-83-129.cisco.com (dhcp-10-55-83-129.cisco.com [10.55.83.129]) by ams-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id q9NHHRqf029262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 23 Oct 2012 17:17:27 GMT
Message-ID: <5086D127.9010805@cisco.com>
Date: Tue, 23 Oct 2012 19:17:27 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net>
In-Reply-To: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net>
X-Enigmail-Version: 1.4.5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=144.254.224.147; envelope-from=lear@cisco.com; helo=ams-iport-4.cisco.com
X-W3C-Hub-Spam-Status: No, score=-13.3
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1TQi70-0004cm-NU 489113130e55c4bc3b077a5072221f74
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/5086D127.9010805@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15430
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>

Mark,

On 10/23/12 4:03 AM, Mark Nottingham wrote:
> The question for us right now is what requirements we want to place upon that work. Currently, I have:
>
> ---8<---
> TLS Working Group Chairs,
>
> This is a request from the HTTPbis Working Group for you to commence work upon a mechanism that allows clients and servers to negotiate the particular application protocol to use once the session is established.
>
> Our use case is for HTTP/2.0 in conjunction with HTTP URIs; rather than defining a new port, which incurs both performance and deployment penalties, a negotiation mechanism would allow for better deployment of HTTP/2.0 for HTTPS URIs.
>
> We would expect such a mechanism to allow the client and server to negotiate the use of one of potentially many such protocols (in our case, HTTP/1.x and HTTP/2.x), identified by tokens, and falling back to a default for the port in use (in our case, HTTP/1.x) when either side doesn't support negotiation, or an agreement can't be found.
>
> We also note existing work in this area:
>   http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04
>
> The HTTPbis Working Group will be happy to coordinate schedules, review drafts and provide further input as required.
>
> --->8---
>

It's a little odd having to have one working group liaise a request to
another working group, but alright.  Traditionally we do not name
individual drafts in liaisons, and I suggest we not do that in this
case, as there are posted alternatives.

Eliot


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 11:56:42 2012
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 BD6771F0C59 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 11:56:42 -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 ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vb9CaptaB+3v for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 11:56:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 246C31F042A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 11:56:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQjca-0003yJ-W9 for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 18:54:37 +0000
Resent-Date: Tue, 23 Oct 2012 18:54:36 +0000
Resent-Message-Id: <E1TQjca-0003yJ-W9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TQjcX-0003xd-RR for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 18:54:33 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TQjcW-0000CQ-Lk for ietf-http-wg@w3.org; Tue, 23 Oct 2012 18:54:33 +0000
Received: by mail-ob0-f171.google.com with SMTP id 16so4165459obc.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 11:54:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=cRW10Dpyw4zoVVVsSam1GpjxCaL6LUqjI8FC22Q0/gg=; b=xUM6H2stDHo1Bk16nRRIk1tC2dbNI+Mp8vTJSj49wk/mIrDydoRZ7SzZwjW0ydM/86 MrbOjrI+rHxH3v+qWAhO3MDl4jIh9tmd1qlr0VmxQfMJ8M9FVQUUQF/QnXQ4n70G0ptW ugJZS2C4/DUE8a112/Aj5s/0w17HR8tGu01P1xLN1gNa9xzOI3XIrIPQBf+u3MzFlHuM 0yI2hZThDUCHf7C876RtyAaZJDmiZ9Ne1SQuxw9c8z8rubMauvApsadVlJXYQPu+GMa5 vr2IoIhkpmPetTW7xvjdcpfM8MjVjSe1iXDiS1c6YC9vE8R52IMqZYZvey89SPItLBw6 Ee8A==
MIME-Version: 1.0
Received: by 10.60.7.226 with SMTP id m2mr12285352oea.72.1351018446695; Tue, 23 Oct 2012 11:54:06 -0700 (PDT)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.116.67 with HTTP; Tue, 23 Oct 2012 11:54:06 -0700 (PDT)
In-Reply-To: <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com>
Date: Tue, 23 Oct 2012 14:54:06 -0400
X-Google-Sender-Auth: UfHnzHq_vJ1MUM47dm59BxewkKI
Message-ID: <CAOdDvNodck+yQAavBPi8-EWsAOpMXMYTFQCVoAVY46FAC5-89w@mail.gmail.com>
From: Patrick McManus <mcmanus@ducksong.com>
To: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8f923e1499ab6c04ccbe7eca
Received-SPF: pass client-ip=209.85.214.171; envelope-from=patrick.ducksong@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.7
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQjcW-0000CQ-Lk 9487050fb16bf380ddc3bbf9ba37e003
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAOdDvNodck+yQAavBPi8-EWsAOpMXMYTFQCVoAVY46FAC5-89w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15431
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>

--e89a8f923e1499ab6c04ccbe7eca
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Mon, Oct 22, 2012 at 10:33 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C=
)
<willchan@chromium.org>wrote:

>
> Just to be clear, SRV records also have the disadvantage of not
> upgrading the first interaction, unless you block on the response,
>

also being clear - in cases where SRV wins the race there is an advantage
to be had without blocking. A high quality implementation can bundle the
srv response with the A as an additional record.. even if that isn't what
is happening today, supporting this mechanism provides a path for servers
to opt themselves into it without blocking on it. And of course sometimes
name resolution happens considerably before connect happens so there still
might be an opportunity to collect both the a* and the srv before going to
connect without blocking on it even if the SRV considerably lags the A. So
I think this is an important optimization.

but +1 on not building in a mandatory delay inducer like blocking on srv,
or an upgrade with an empty payload.

--e89a8f923e1499ab6c04ccbe7eca
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Mon, Oct 22, 2012 at 10:33 PM, Willia=
m Chan (=E9=99=88=E6=99=BA=E6=98=8C) <span dir=3D"ltr">&lt;<a href=3D"mailt=
o:willchan@chromium.org" target=3D"_blank">willchan@chromium.org</a>&gt;</s=
pan> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">

<br>
Just to be clear, SRV records also have the disadvantage of not<br>
upgrading the first interaction, unless you block on the response,<br></blo=
ckquote><div><br>also being clear - in cases where SRV wins the race there =
is an advantage to be had without blocking. A high quality implementation c=
an bundle the srv response with the A as an additional record.. even if tha=
t isn&#39;t what is happening today, supporting this mechanism provides a p=
ath for servers to opt themselves into it without blocking on it. And of co=
urse sometimes name resolution happens considerably before connect happens =
so there still might be an opportunity to collect both the a* and the srv b=
efore going to connect without blocking on it even if the SRV considerably =
lags the A. So I think this is an important optimization. <br>

<br>but +1 on not building in a mandatory delay inducer like blocking on sr=
v, or an upgrade with an empty payload.<br><br></div></div>

--e89a8f923e1499ab6c04ccbe7eca--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 13:26:48 2012
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 730A01F0C93 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 13:26:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Bh1lWJVIJVs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 13:26:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 748BC1F0C91 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 13:26:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQl1f-0002bw-Ut for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 20:24:35 +0000
Resent-Date: Tue, 23 Oct 2012 20:24:35 +0000
Resent-Message-Id: <E1TQl1f-0002bw-Ut@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <slink@schokola.de>) id 1TQl1d-0002ap-18 for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 20:24:33 +0000
Received: from smtp.mcs.de ([212.1.60.21]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <slink@schokola.de>) id 1TQl1X-0004AK-9U for ietf-http-wg@w3.org; Tue, 23 Oct 2012 20:24:32 +0000
Received: from hmbg-4d068784.pool.mediaways.net ([77.6.135.132]:36247 helo=[192.168.64.65]) by smtp.mcs.de with esmtpa (Exim 4.76) (envelope-from <slink@schokola.de>) id 1TQl1A-0004ll-9l; Tue, 23 Oct 2012 22:24:04 +0200
Message-ID: <5086FCE2.2090708@schokola.de>
Date: Tue, 23 Oct 2012 22:24:02 +0200
From: Nils Goroll <slink@schokola.de>
User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:10.0.2) Gecko/20120217 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: ietf-http-wg@w3.org
References: <50800A50.2050207@schokola.de> <A676CFB6-224E-4BB7-9C7B-115A20BAFC53@mnot.net>
In-Reply-To: <A676CFB6-224E-4BB7-9C7B-115A20BAFC53@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=212.1.60.21; envelope-from=slink@schokola.de; helo=smtp.mcs.de
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1TQl1X-0004AK-9U 631ed520dbfa03bf6fad6b8a87854240
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC issue: (minor?) scope of client/server attributes (specifically:   downgrades) in p1
Archived-At: <http://www.w3.org/mid/5086FCE2.2090708@schokola.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15432
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>

Hi Mark,

On 10/23/12 01:09 AM, Mark Nottingham wrote:
> we generally try not to define / require things unless they're needed for interoperability

So shouldn't the scope for downgrades be defined for interoperability?

For upgrades, the draft defines the scope to be the connection, and it appears 
to me that this would be a sensible scope also for downgrades.


Nils


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 15:46:16 2012
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 8898F1F0C3A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 15:46:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.607
X-Spam-Level: 
X-Spam-Status: No, score=-10.607 tagged_above=-999 required=5 tests=[AWL=-0.009, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j8zN4KeAKYpr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 15:46:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 964EB1F0C95 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 15:46:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQnD6-00086F-T7 for ietf-http-wg-dist@listhub.w3.org; Tue, 23 Oct 2012 22:44:32 +0000
Resent-Date: Tue, 23 Oct 2012 22:44:32 +0000
Resent-Message-Id: <E1TQnD6-00086F-T7@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TQnD2-00083r-SJ for ietf-http-wg@listhub.w3.org; Tue, 23 Oct 2012 22:44:28 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TQnD1-0008P4-Lu for ietf-http-wg@w3.org; Tue, 23 Oct 2012 22:44:28 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so2787549lah.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 15:44:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=N1/g1j5R44BO+qbrvoQgIXXlQb7WWUuHnrHjOPZuBsI=; b=txPoBrISZrdLooYsDMw5vuC2QXxXhrbsCMKClP8p4UsXsxSZugZrX9tK4AvtyZRVZ4 fNPH4CZuzxdnlwVPK1FUwoaqqBgaYLnn4MSfH5GONuq+25q7XpB10S/e9eO8WRAb+CuQ VxGxmU/s9QLFWZceF/e2lMRsULuHhhuQKsTINRvvCZFN01YrFIMwsQF1S1rG2AjKMN8A pwlRFbsioDC+avsGniprPED7JmNELIXKZcPZiTXKF/qqStTsEHgL4c/kzrcAwA9yxEW9 2bjV2T29Tc3tZTunUUxG7vKH0ZuRolYbPgqmd6FLelydunYHfKUD6JTy0xWfo/DjtUn0 xXWg==
MIME-Version: 1.0
Received: by 10.112.30.163 with SMTP id t3mr5623232lbh.56.1351032240664; Tue, 23 Oct 2012 15:44:00 -0700 (PDT)
Received: by 10.114.39.113 with HTTP; Tue, 23 Oct 2012 15:44:00 -0700 (PDT)
Received: by 10.114.39.113 with HTTP; Tue, 23 Oct 2012 15:44:00 -0700 (PDT)
In-Reply-To: <6C71876BDCCD01488E70A2399529D5E522F5D3@ADELE.crf.canon.fr>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <CAKe6YvO0AOUQO7PS=zHqfKLH8=Omzh9SV1K6-_DH+Pjupp2QsA@mail.gmail.com> <op.wmmf9fewiw9drz@uranium.saslounge> <CAP+FsNfn2d1zCAPrDd=Wp2+cF448A=_MW9RzS1kP_iAP0rMPAw@mail.gmail.com> <6C71876BDCCD01488E70A2399529D5E522F5D3@ADELE.crf.canon.fr>
Date: Tue, 23 Oct 2012 15:44:00 -0700
Message-ID: <CAP+FsNdyz9cXBz5jiKQQQnPqJhZbfyrCV+Vuc9m14XQgUSeQRw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
Cc: Martin Nilsson <nilsson@opera.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04016c73c8f28204ccc1b40a
Received-SPF: pass client-ip=209.85.215.43; envelope-from=grmocg@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQnD1-0008P4-Lu 418b95f05624845cf44c475eb6469f54
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/CAP+FsNdyz9cXBz5jiKQQQnPqJhZbfyrCV+Vuc9m14XQgUSeQRw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15433
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>

--f46d04016c73c8f28204ccc1b40a
Content-Type: text/plain; charset=ISO-8859-1

On Oct 23, 2012 9:00 AM, "RUELLAN Herve" <Herve.Ruellan@crf.canon.fr> wrote:
>
> Roberto,
>
> > -----Original Message-----
> > From: Roberto Peon [mailto:grmocg@gmail.com]
> > Sent: mardi 23 octobre 2012 17:29
> > To: Martin Nilsson
> > Cc: ietf-http-wg@w3.org
> > Subject: Re: HTTP Header Compaction Results
> >
<snip>
> >
> > The other complication is that we want to see what an entire interaction
> > looks like (for compression), and not just the initial page load
(unless that is
> > how the users typically interact with that site)
>
> On this point, we are testing both the initial page load and longer
sessions where the user loads several pages from the same site. The number
of loaded pages clearly has a strong effect on the compaction results.

Yup, and awesome!

-=R

--f46d04016c73c8f28204ccc1b40a
Content-Type: text/html; charset=ISO-8859-1

<p dir="ltr"><br>
On Oct 23, 2012 9:00 AM, &quot;RUELLAN Herve&quot; &lt;<a href="mailto:Herve.Ruellan@crf.canon.fr">Herve.Ruellan@crf.canon.fr</a>&gt; wrote:<br>
&gt;<br>
&gt; Roberto,<br>
&gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: Roberto Peon [mailto:<a href="mailto:grmocg@gmail.com">grmocg@gmail.com</a>]<br>
&gt; &gt; Sent: mardi 23 octobre 2012 17:29<br>
&gt; &gt; To: Martin Nilsson<br>
&gt; &gt; Cc: <a href="mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a><br>
&gt; &gt; Subject: Re: HTTP Header Compaction Results<br>
&gt; &gt;<br>
&lt;snip&gt;<br>
&gt; &gt;<br>
&gt; &gt; The other complication is that we want to see what an entire interaction<br>
&gt; &gt; looks like (for compression), and not just the initial page load (unless that is<br>
&gt; &gt; how the users typically interact with that site)<br>
&gt;<br>
&gt; On this point, we are testing both the initial page load and longer sessions where the user loads several pages from the same site. The number of loaded pages clearly has a strong effect on the compaction results.</p>

<p dir="ltr">Yup, and awesome!</p>
<p dir="ltr">-=R<br>
</p>

--f46d04016c73c8f28204ccc1b40a--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 17:54:37 2012
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 45B491F0CBA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 17:54:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nTgqm7j21O3X for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 17:54:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 940DE1F0C3A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 17:54:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQpD3-0005Jh-Dy for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 00:52:37 +0000
Resent-Date: Wed, 24 Oct 2012 00:52:37 +0000
Resent-Message-Id: <E1TQpD3-0005Jh-Dy@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1TQpCz-0005It-Pm for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 00:52:33 +0000
Received: from exprod6og109.obsmtp.com ([64.18.1.23]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1TQpCx-0004R5-Lp for ietf-http-wg@w3.org; Wed, 24 Oct 2012 00:52:32 +0000
Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob109.postini.com ([64.18.5.12]) with SMTP ID DSNKUIc7uVhxf+7TyTdXCAAZOKxHhECEjjyp@postini.com; Tue, 23 Oct 2012 17:52:31 PDT
Received: from inner-relay-4.eur.adobe.com (inner-relay-4.adobe.com [193.104.215.14]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q9O0nP1v027933; Tue, 23 Oct 2012 17:49:26 -0700 (PDT)
Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q9O0q6XL005566; Tue, 23 Oct 2012 17:52:07 -0700 (PDT)
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nacas01.corp.adobe.com ([10.8.189.99]) with mapi; Tue, 23 Oct 2012 17:52:06 -0700
From: Larry Masinter <masinter@adobe.com>
To: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Tue, 23 Oct 2012 17:52:04 -0700
Thread-Topic: Preliminary agenda for Atlanta
Thread-Index: Ac2w0KiTEgD3lloTT626SNKcI00pzAAsMtsw
Message-ID: <C68CB012D9182D408CED7B884F441D4D1E36C3676C@nambxv01a.corp.adobe.com>
References: <6754887D-B028-41E8-A6E5-14A36DA10FBD@mnot.net>
In-Reply-To: <6754887D-B028-41E8-A6E5-14A36DA10FBD@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.23; envelope-from=masinter@adobe.com; helo=exprod6og109.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-2.102, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQpCx-0004R5-Lp 988d63ac3a907491a98a14fa855230c7
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Preliminary agenda for Atlanta
Archived-At: <http://www.w3.org/mid/C68CB012D9182D408CED7B884F441D4D1E36C3676C@nambxv01a.corp.adobe.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15434
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>

Could you put some time on the agenda to talk about HTTP testing?
Conformance, performance, feature coverage, "live" client/server interop te=
st frameworks?

Larry
--
http://larry.masinter.net


> -----Original Message-----
> From: Mark Nottingham [mailto:mnot@mnot.net]
> Sent: Monday, October 22, 2012 8:41 PM
> To: ietf-http-wg@w3.org Group
> Subject: Preliminary agenda for Atlanta
>=20
> ... is at:
>   http://www.ietf.org/proceedings/85/agenda/agenda-85-httpbis
>=20
> Suggestions, etc. welcome.
>=20
> --
> Mark Nottingham   http://www.mnot.net/
>=20
>=20
>=20



From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 17:57:01 2012
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 DCF4511E8158 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 17:57:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JbnEG6w54jU1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 17:57:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 48D2511E814E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 17:57:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQpG5-0006nd-7G for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 00:55:45 +0000
Resent-Date: Wed, 24 Oct 2012 00:55:45 +0000
Resent-Message-Id: <E1TQpG5-0006nd-7G@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1TQpG1-0006mu-KH for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 00:55:41 +0000
Received: from exprod6og106.obsmtp.com ([64.18.1.191]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <masinter@adobe.com>) id 1TQpG0-0004Vq-R0 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 00:55:41 +0000
Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob106.postini.com ([64.18.5.12]) with SMTP ID DSNKUIc8dC0sXn9DYTaCZ+k0Zwy/dxNPRGCg@postini.com; Tue, 23 Oct 2012 17:55:40 PDT
Received: from inner-relay-4.eur.adobe.com (inner-relay-4b [10.128.4.237]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q9O0tFHP019526; Tue, 23 Oct 2012 17:55:15 -0700 (PDT)
Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-4.eur.adobe.com (8.12.10/8.12.9) with ESMTP id q9O0tEXL006041; Tue, 23 Oct 2012 17:55:15 -0700 (PDT)
Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Tue, 23 Oct 2012 17:55:14 -0700
From: Larry Masinter <masinter@adobe.com>
To: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>, Mark Nottingham <mnot@mnot.net>
CC: "HTTP Working Group (ietf-http-wg@w3.org)" <ietf-http-wg@w3.org>
Date: Tue, 23 Oct 2012 17:55:12 -0700
Thread-Topic: testing HTTP, one idea
Thread-Index: Ac2xgizcWENSRKEtSkutxlSnoM2CYQ==
Message-ID: <C68CB012D9182D408CED7B884F441D4D1E36C3676D@nambxv01a.corp.adobe.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=64.18.1.191; envelope-from=masinter@adobe.com; helo=exprod6og106.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-2.018, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQpG0-0004Vq-R0 e2b753ab304d704081d8e048c695c63e
X-Original-To: ietf-http-wg@w3.org
Subject: testing HTTP, one idea
Archived-At: <http://www.w3.org/mid/C68CB012D9182D408CED7B884F441D4D1E36C3676D@nambxv01a.corp.adobe.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15435
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>

> We are wondering whether anyone is aware of a test corpus for HTTP
> exchanges that would be available, or could be made available.=20

The W3C Web Testing Interest Group
http://www.w3.org/2011/05/testing-ig-charter.html

is chartered to develop and deploy testing mechanisms and collateral materi=
als for testing Web technologies.
Participation is open both to W3C members and to public participants (see c=
harter).

I asked if they were interested in taking on HTTP testing too:

http://lists.w3.org/Archives/Public/public-test-infra/2012OctDec/0012.html





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 18:25:34 2012
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 F345711E814E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 18:25:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dyg66TGABkfI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 18:25:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1594711E8149 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 18:25:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQphM-0002j8-5G for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 01:23:56 +0000
Resent-Date: Wed, 24 Oct 2012 01:23:56 +0000
Resent-Message-Id: <E1TQphM-0002j8-5G@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQphI-0002hv-4O for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 01:23:52 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQphG-0005Wy-NO for ietf-http-wg@w3.org; Wed, 24 Oct 2012 01:23:52 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 6CBBB10E864; Wed, 24 Oct 2012 14:23:24 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 24 Oct 2012 14:23:23 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com>
Message-ID: <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQphG-0005Wy-NO 022aff35ee8e7e79726386424e3bf7be
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15436
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>

On 24.10.2012 05:50, James M Snell wrote:
> On Mon, Oct 22, 2012 at 7:03 PM, Mark Nottingham <mnot@mnot.net> 
> wrote:
>
>> [snip]
>>
>> 1) Using a SRV (or other DNS) record. There seems to be a fair 
>> amount of
>> interest in this from the browser implementers; the only resistance 
>> seems
>> to be around how hard this would be to deploy, but if it's not the 
>> only
>> mechanism for upgrading to HTTP/2, it shouldn't be a concern.
>>
>> Presumably, we'd define a default port for HTTP/2-only communication 
>> when
>> used in conjunction with this, so that firewalls would know to open 
>> it, etc.
>>
>>
> Such a dedicated default port definitely needs to be defined. There 
> are
> many scenarios where upgrade negotiation simply is not going to be 
> required
> at all.
>

My understanding of the charter was that defining a new scheme was out 
of bounds. A *default* port would mean a new scheme name was mandatory 
to identify default http://*:80 from default http://*:443 from default 
http2 port.

I find it highly undesirable either way. Lets make HTTP/2 the successor 
to merge both HTTP/1.1 port 80 and HTTP/1.1 port 443 safely with scheme 
http:// and default port 80. Note that this does not require it being 
ASCII text initial request. We can easily and safely prefix with a 
TLS-follows frame to determine HTTPS over port 80.

>
>> Does anyone object to us defining such a record (type TBD), as long 
>> as
>> it's not the only way to get to HTTP/2 for HTTP URIs?
>>
>
> Defining a new dns record type would be unnecessary and would be the 
> wrong
> approach. SRV records were made specifically for this kind of use. 
> They're
> certainly not perfect but inventing a new record type specifically 
> for
> http2 stuff is even less so.
>
>

+1 on that.

>>
>> 2) Using a response header to hint that HTTP/2 is available on 
>> another
>> port.
>>
>> This approach hasn't been talked about in detail yet, but it 
>> apparently
>> (as some have noted) has the disadvantage of not upgrading the first
>> interaction, and of requiring a separate cache (and caching model) 
>> for this
>> information.
>>
>> Who wants to pursue this approach? If so, we need a small proposal
>> written, preferably as an I-D, but an e-mail would do.
>>
>>
> This is one of those ideas that sounds interesting in theory but I 
> don't
> see how it would be effective in practice.
>

Maybe yes maybe no. This seems to me to be a repetition of the Via: 
header with its path version hints. Equally valid in HTTP/1.a and 2.0 
and covers this use-case already.

>
>> And, are there any other approaches we want to put on the table?
>>
>>
> For browsers, upgrading on the first connection is obviously going to 
> be
> critical. The DNS option seems like the best approach for the most 
> general
> case, despite the various flaws in that approach.

*except* for all those cases where middleware exists. In which case DNS 
hinting will be the cause of problems, not the solution.

> montenegro-httpbis-http2-negotiation seems to provide a reasonable 
> fallback
> when we're talking primarily about GET/HEAD traffic, but it has 
> obvious
> issues when dealing with POST/PUT/PATCH type operations. I do not 
> really
> want to always have to send PUT requests as HTTP/1.1 when what I 
> really
> want is to use HTTP/2.0 for the entire flow. For payload-bearing 
> requests,
> upgrade needs to be negotiated before the initial request is sent.

That said, how prevalent is first-contact PUT/POST as opposed to a page 
GET followed by further interaction from scripts and forms?
  Is it just from badly designed sites using cross-domain PUT/POST?
  or from non-browser agents which should be able to know better anyway 
with less critical timing requirements?

>
> One possible way to mitigate this would be to combine the Upgrade 
> header
> approach with a new Expect token. For instance...
>
>   POST /default.htm HTTP/1.1
>   Host: server.example.com
>   Connection: Upgrade
>   Upgrade: HTTP/2.0
>   Expect: 101-upgrade
>
> The addition of the Expect header does two things...
>
> 1. It makes the upgrade a requirement rather than optional...
> 2. The client would then wait as reasonable time for the 101 
> Switching
> Protocols before it proceeds to send the http/2.0 encoded data...
>
> When the client does start sending the data (after receiving the 101
> response), it would do so by first sending a SYN_STREAM.. To http/1.1
> servers, this would appear to be nothing more than regular POST 
> payload
> data. For http/2 traffic, this requires an initial round trip but it
> addresses the upgrade on payload-bearing request issue... and is 
> exactly
> the kind of thing the Expect header was intended for. The scheme is
> obviously far from perfect, however.

+1.

Also note that the new Expect token needs to be defined as hop-by-hop 
to prevent its relay.

This is also just as useful for Upgrade:HTTP/1.1 to mandate HTTP/1.1 
feature support on the connection.


>
> Alternatively, I firmly believe that a http2 URI scheme as a 
> reasonable
> fallback needs to be considered as an option here... particularly if 
> we do
> define a dedicated http/2 default port. Yes, I agree with the whole 
> "we
> want to do existing http:// and https:// traffic over http/2 
> transparently"
> argument and fully understand the challenges of introducing a new URI
> scheme. However, there will be instances where upgrade negotiation is
> simply not going to be necessary and for which backwards 
> compatibility with
> existing infrastructure is going to be unnecessary. For those cases, 
> the
> ability to pass a URL like "http2://example.org" and have it just
> automatically understood that it's "http/2 over port whatever" will 
> be
> extremely useful. A no brainer even. So much so that if the working 
> group
> here doesn't choose to define it, I'll likely just end up writing it 
> up as
> an individual submission. That way, when I write.. <form 
> method="post"
> action="http2://example.org">...</form> the notion that http/2 is 
> being
> used is explicit and no upgrade discovery/negotiation is required at 
> all.
> That's what url schemes are for in the first place, right?

Consider whether you are making HTTP/2 an second protocol to exist in 
parallel to HTTP/1 or a replacement version of the protocol.

A parallel protocol would have a separate scheme (eg. HTTP vs HTTPS 
today). And may as well be called HTTP2/1.1 or "HTTP/1.1 over port 1234" 
as HTTP/2.0.

A replacement would use the same scheme and let the agents negotiate 
the version level between themselves without the web developers getting 
involved with specific URL versions.

Also, how would one go about re-writing the entire legacy web page set 
to use http2:// URLs when the server (or even just its frontend proxy!) 
upgrades?


Amos


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 18:41:24 2012
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 7B77211E8161 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 18:41:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.095
X-Spam-Level: 
X-Spam-Status: No, score=-8.095 tagged_above=-999 required=5 tests=[AWL=2.504, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1cwssF0i8CBU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 18:41:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C2CF511E8153 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 18:41:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQpwz-0002dv-7U for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 01:40:05 +0000
Resent-Date: Wed, 24 Oct 2012 01:40:05 +0000
Resent-Message-Id: <E1TQpwz-0002dv-7U@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQpwv-0001Of-JM for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 01:40:01 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQpwt-0005i2-IO for ietf-http-wg@w3.org; Wed, 24 Oct 2012 01:40:01 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 21D2D22DD6D; Tue, 23 Oct 2012 21:39:35 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <702054BA-0177-488B-963F-BB496D5A2E14@mnot.net>
Date: Wed, 24 Oct 2012 12:39:31 +1100
Cc: Maciej Stachowiak <mjs@apple.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0E032E53-04DD-466B-8F05-FDB4976DFA56@mnot.net>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com> <5086409B.4010802@gmx.de> <702054BA-0177-488B-963F-BB496D5A2E14@mnot.net>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=-2.928, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQpwt-0005i2-IO 0b9d65c9d941da7efaf0cb1a48ef9d1c
X-Original-To: ietf-http-wg@w3.org
Subject: #388: User interface requirements for redirecting to unsafe methods
Archived-At: <http://www.w3.org/mid/0E032E53-04DD-466B-8F05-FDB4976DFA56@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15437
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>

Now <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/388>. Is =
editorial, since the decision was already made in #238.


On 23/10/2012, at 6:12 PM, Mark Nottingham <mnot@mnot.net> wrote:

>=20
> On 23/10/2012, at 6:00 PM, Julian Reschke <julian.reschke@gmx.de> =
wrote:
>>=20
>> the text you complained about back then has been rewritten a few =
months ago. Please check the WGLC draft.
>>=20
>> With respect to tracking: I think this is issue =
<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/238>, see also =
<http://lists.w3.org/Archives/Public/ietf-http-wg/2012JanMar/0928.html>.
>=20
>=20
> Yes.=20
>=20
> I do see, however, that we have this language at the top of =
<http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-7.4=
>:
>=20
>> If the required action involves a subsequent HTTP request, it MAY be =
carried
>>   out by the user agent without interaction with the user if and only
>>   if the method used in the second request is known to be "safe", as
>>   defined in Section 5.2.1.
>=20
> MAY... if and only if is a badly constructed requirement, and it also =
goes against the resolution of #238. I'll enter a WGLC issue to correct =
that.
>=20
> Thanks,
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 19:31:57 2012
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 626B611E8115 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 19:31:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.606
X-Spam-Level: 
X-Spam-Status: No, score=-10.606 tagged_above=-999 required=5 tests=[AWL=-0.008, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HhXdA0d0VnrY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 19:31:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D642F11E80D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 19:31:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQqjJ-0005jl-7w for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 02:30:01 +0000
Resent-Date: Wed, 24 Oct 2012 02:30:01 +0000
Resent-Message-Id: <E1TQqjJ-0005jl-7w@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TQqjD-0005il-VC for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 02:29:55 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TQqjB-0007W0-Tz for ietf-http-wg@w3.org; Wed, 24 Oct 2012 02:29:55 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so22611lah.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 19:29:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=39RlvP6Uky4ls/lEtggXpRUwdA+HHfAY7eKhxOZ0ebQ=; b=FzvfKmC9oawNH01GwQ1A31yA87xtrSoqMN0Pe9HFmX51krU20Sm/F6LKsbABZbWpb+ 22NKbfQy4q6XF6aULFkRci2twYey8YrOLCFT0xzwXSmPR/cuUNVn6Os3/XzU54rEXYGm Zcdnvz//xVMO300VnCH2yvAYNWC/0JegPwjA3dIfrAzzi8H+WHiCk9x6Pg0ExG9dc12n fwH6hr6gUqURJW32NmKGTqcJDbQilmGMmh2kqGk8FN0rk0bCGA7/RdscqYTe25MnKFEF BAhnW5TwGjZIzJVELGMIgBQ48E6GCd92/01dVN1qDXk5ipZfAW0zlMj/7w1Ex36AxrAg 8b7w==
MIME-Version: 1.0
Received: by 10.112.13.173 with SMTP id i13mr5824770lbc.108.1351045766792; Tue, 23 Oct 2012 19:29:26 -0700 (PDT)
Received: by 10.114.39.113 with HTTP; Tue, 23 Oct 2012 19:29:26 -0700 (PDT)
Received: by 10.114.39.113 with HTTP; Tue, 23 Oct 2012 19:29:26 -0700 (PDT)
In-Reply-To: <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz>
Date: Tue, 23 Oct 2012 19:29:26 -0700
Message-ID: <CAP+FsNeyQdH0zSptOZvX5bLsAhN8r4q1xyTENxFo-c3SfNWTwA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0401f77f01482104ccc4dba9
Received-SPF: pass client-ip=209.85.215.43; envelope-from=grmocg@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-2.372, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQqjB-0007W0-Tz ebe842927d7712a0cf12da48c094814c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAP+FsNeyQdH0zSptOZvX5bLsAhN8r4q1xyTENxFo-c3SfNWTwA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15438
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>

--f46d0401f77f01482104ccc4dba9
Content-Type: text/plain; charset=ISO-8859-1

On Oct 23, 2012 6:25 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>
> On 24.10.2012 05:50, James M Snell wrote:
>>
>> On Mon, Oct 22, 2012 at 7:03 PM, Mark Nottingham <mnot@mnot.net> wrote:
>>
>>> [snip]
>>>
>>> 1) Using a SRV (or other DNS) record. There seems to be a fair amount of
>>> interest in this from the browser implementers; the only resistance
seems
>>> to be around how hard this would be to deploy, but if it's not the only
>>> mechanism for upgrading to HTTP/2, it shouldn't be a concern.
>>>
>>> Presumably, we'd define a default port for HTTP/2-only communication
when
>>> used in conjunction with this, so that firewalls would know to open it,
etc.
>>>
>>>
>> Such a dedicated default port definitely needs to be defined. There are
>> many scenarios where upgrade negotiation simply is not going to be
required
>> at all.
>>
>
> My understanding of the charter was that defining a new scheme was out of
bounds. A *default* port would mean a new scheme name was mandatory to
identify default http://*:80 from default http://*:443 from default http2
port.
>
> I find it highly undesirable either way. Lets make HTTP/2 the successor
to merge both HTTP/1.1 port 80 and HTTP/1.1 port 443 safely with scheme
http:// and default port 80. Note that this does not require it being ASCII
text initial request. We can easily and safely prefix with a TLS-follows
frame to determine HTTPS over port 80.
>
>
>>
>>> Does anyone object to us defining such a record (type TBD), as long as
>>> it's not the only way to get to HTTP/2 for HTTP URIs?
>>>
>>
>> Defining a new dns record type would be unnecessary and would be the
wrong
>> approach. SRV records were made specifically for this kind of use.
They're
>> certainly not perfect but inventing a new record type specifically for
>> http2 stuff is even less so.
>>
>>
>
> +1 on that.
>
>
>>>
>>> 2) Using a response header to hint that HTTP/2 is available on another
>>> port.
>>>
>>> This approach hasn't been talked about in detail yet, but it apparently
>>> (as some have noted) has the disadvantage of not upgrading the first
>>> interaction, and of requiring a separate cache (and caching model) for
this
>>> information.
>>>
>>> Who wants to pursue this approach? If so, we need a small proposal
>>> written, preferably as an I-D, but an e-mail would do.
>>>
>>>
>> This is one of those ideas that sounds interesting in theory but I don't
>> see how it would be effective in practice.
>>
>
> Maybe yes maybe no. This seems to me to be a repetition of the Via:
header with its path version hints. Equally valid in HTTP/1.a and 2.0 and
covers this use-case already.
>
>
>>
>>> And, are there any other approaches we want to put on the table?
>>>
>>>
>> For browsers, upgrading on the first connection is obviously going to be
>> critical. The DNS option seems like the best approach for the most
general
>> case, despite the various flaws in that approach.
>
>
> *except* for all those cases where middleware exists. In which case DNS
hinting will be the cause of problems, not the solution.
>
>
>> montenegro-httpbis-http2-negotiation seems to provide a reasonable
fallback
>> when we're talking primarily about GET/HEAD traffic, but it has obvious
>> issues when dealing with POST/PUT/PATCH type operations. I do not really
>> want to always have to send PUT requests as HTTP/1.1 when what I really
>> want is to use HTTP/2.0 for the entire flow. For payload-bearing
requests,
>> upgrade needs to be negotiated before the initial request is sent.
>
>
> That said, how prevalent is first-contact PUT/POST as opposed to a page
GET followed by further interaction from scripts and forms?
>  Is it just from badly designed sites using cross-domain PUT/POST?
>  or from non-browser agents which should be able to know better anyway
with less critical timing requirements?
>
>
>>
>> One possible way to mitigate this would be to combine the Upgrade header
>> approach with a new Expect token. For instance...
>>
>>   POST /default.htm HTTP/1.1
>>   Host: server.example.com
>>   Connection: Upgrade
>>   Upgrade: HTTP/2.0
>>   Expect: 101-upgrade
>>
>> The addition of the Expect header does two things...
>>
>> 1. It makes the upgrade a requirement rather than optional...
>> 2. The client would then wait as reasonable time for the 101 Switching
>> Protocols before it proceeds to send the http/2.0 encoded data...
>>
>> When the client does start sending the data (after receiving the 101
>> response), it would do so by first sending a SYN_STREAM.. To http/1.1
>> servers, this would appear to be nothing more than regular POST payload
>> data. For http/2 traffic, this requires an initial round trip but it
>> addresses the upgrade on payload-bearing request issue... and is exactly
>> the kind of thing the Expect header was intended for. The scheme is
>> obviously far from perfect, however.
>
>
> +1.
>
> Also note that the new Expect token needs to be defined as hop-by-hop to
prevent its relay.
>
> This is also just as useful for Upgrade:HTTP/1.1 to mandate HTTP/1.1
feature support on the connection.
>
>
>
>>
>> Alternatively, I firmly believe that a http2 URI scheme as a reasonable
>> fallback needs to be considered as an option here... particularly if we
do
>> define a dedicated http/2 default port. Yes, I agree with the whole "we
>> want to do existing http:// and https:// traffic over http/2
transparently"
>> argument and fully understand the challenges of introducing a new URI
>> scheme. However, there will be instances where upgrade negotiation is
>> simply not going to be necessary and for which backwards compatibility
with
>> existing infrastructure is going to be unnecessary. For those cases, the
>> ability to pass a URL like "http2://example.org" and have it just
>> automatically understood that it's "http/2 over port whatever" will be
>> extremely useful. A no brainer even. So much so that if the working group
>> here doesn't choose to define it, I'll likely just end up writing it up
as
>> an individual submission. That way, when I write.. <form method="post"
>> action="http2://example.org">...</form> the notion that http/2 is being
>> used is explicit and no upgrade discovery/negotiation is required at all.
>> That's what url schemes are for in the first place, right?
>
>
> Consider whether you are making HTTP/2 an second protocol to exist in
parallel to HTTP/1 or a replacement version of the protocol.
>
> A parallel protocol would have a separate scheme (eg. HTTP vs HTTPS
today). And may as well be called HTTP2/1.1 or "HTTP/1.1 over port 1234" as
HTTP/2.0.
>
> A replacement would use the same scheme and let the agents negotiate the
version level between themselves without the web developers getting
involved with specific URL versions.
>
> Also, how would one go about re-writing the entire legacy web page set to
use http2:// URLs when the server (or even just its frontend proxy!)
upgrades?

As I understand the suggestion, that want required. What I understood was
that a scheme of http2 meant one should assume you can use HTTP/2. An HTTP
scheme , however didn't mean only http/1.x-- it could also be http/2 after
negotiations.

Proxies make any of this moot, however, if they are used-- a negotiation
must happen if there is ever anything other than direct connectivity. If
the scheme is just used as a hint instead of an assertion (I.e. one can
always fall back to 1.1) it is technically useful in potentially , maybe,
saving an rtt... but ugly and it could end up costing more in the case
where a proxy doesn't understand http/2 and where the session must be
restarted...

-=R

>
>
> Amos
>
 On Oct 23, 2012 6:25 PM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:

> On 24.10.2012 05:50, James M Snell wrote:
>
>> On Mon, Oct 22, 2012 at 7:03 PM, Mark Nottingham <mnot@mnot.net> wrote:
>>
>>  [snip]
>>>
>>> 1) Using a SRV (or other DNS) record. There seems to be a fair amount of
>>> interest in this from the browser implementers; the only resistance seems
>>> to be around how hard this would be to deploy, but if it's not the only
>>> mechanism for upgrading to HTTP/2, it shouldn't be a concern.
>>>
>>> Presumably, we'd define a default port for HTTP/2-only communication when
>>> used in conjunction with this, so that firewalls would know to open it,
>>> etc.
>>>
>>>
>>>  Such a dedicated default port definitely needs to be defined. There are
>> many scenarios where upgrade negotiation simply is not going to be
>> required
>> at all.
>>
>>
> My understanding of the charter was that defining a new scheme was out of
> bounds. A *default* port would mean a new scheme name was mandatory to
> identify default http://*:80 from default http://*:443 from default http2
> port.
>
> I find it highly undesirable either way. Lets make HTTP/2 the successor to
> merge both HTTP/1.1 port 80 and HTTP/1.1 port 443 safely with scheme http://and default port 80. Note that this does not require it being ASCII text
> initial request. We can easily and safely prefix with a TLS-follows frame
> to determine HTTPS over port 80.
>
>
>>  Does anyone object to us defining such a record (type TBD), as long as
>>> it's not the only way to get to HTTP/2 for HTTP URIs?
>>>
>>>
>> Defining a new dns record type would be unnecessary and would be the wrong
>> approach. SRV records were made specifically for this kind of use. They're
>> certainly not perfect but inventing a new record type specifically for
>> http2 stuff is even less so.
>>
>>
>>
> +1 on that.
>
>
>>> 2) Using a response header to hint that HTTP/2 is available on another
>>> port.
>>>
>>> This approach hasn't been talked about in detail yet, but it apparently
>>> (as some have noted) has the disadvantage of not upgrading the first
>>> interaction, and of requiring a separate cache (and caching model) for
>>> this
>>> information.
>>>
>>> Who wants to pursue this approach? If so, we need a small proposal
>>> written, preferably as an I-D, but an e-mail would do.
>>>
>>>
>>>  This is one of those ideas that sounds interesting in theory but I don't
>> see how it would be effective in practice.
>>
>>
> Maybe yes maybe no. This seems to me to be a repetition of the Via: header
> with its path version hints. Equally valid in HTTP/1.a and 2.0 and covers
> this use-case already.
>
>
>>  And, are there any other approaches we want to put on the table?
>>>
>>>
>>>  For browsers, upgrading on the first connection is obviously going to be
>> critical. The DNS option seems like the best approach for the most general
>> case, despite the various flaws in that approach.
>>
>
> *except* for all those cases where middleware exists. In which case DNS
> hinting will be the cause of problems, not the solution.
>
>  montenegro-httpbis-http2-**negotiation seems to provide a reasonable
>> fallback
>> when we're talking primarily about GET/HEAD traffic, but it has obvious
>> issues when dealing with POST/PUT/PATCH type operations. I do not really
>> want to always have to send PUT requests as HTTP/1.1 when what I really
>> want is to use HTTP/2.0 for the entire flow. For payload-bearing requests,
>> upgrade needs to be negotiated before the initial request is sent.
>>
>
> That said, how prevalent is first-contact PUT/POST as opposed to a page
> GET followed by further interaction from scripts and forms?
>  Is it just from badly designed sites using cross-domain PUT/POST?
>  or from non-browser agents which should be able to know better anyway
> with less critical timing requirements?
>
>
>> One possible way to mitigate this would be to combine the Upgrade header
>> approach with a new Expect token. For instance...
>>
>>   POST /default.htm HTTP/1.1
>>   Host: server.example.com
>>   Connection: Upgrade
>>   Upgrade: HTTP/2.0
>>   Expect: 101-upgrade
>>
>> The addition of the Expect header does two things...
>>
>> 1. It makes the upgrade a requirement rather than optional...
>> 2. The client would then wait as reasonable time for the 101 Switching
>> Protocols before it proceeds to send the http/2.0 encoded data...
>>
>> When the client does start sending the data (after receiving the 101
>> response), it would do so by first sending a SYN_STREAM.. To http/1.1
>> servers, this would appear to be nothing more than regular POST payload
>> data. For http/2 traffic, this requires an initial round trip but it
>> addresses the upgrade on payload-bearing request issue... and is exactly
>> the kind of thing the Expect header was intended for. The scheme is
>> obviously far from perfect, however.
>>
>
> +1.
>
> Also note that the new Expect token needs to be defined as hop-by-hop to
> prevent its relay.
>
> This is also just as useful for Upgrade:HTTP/1.1 to mandate HTTP/1.1
> feature support on the connection.
>
>
>
>> Alternatively, I firmly believe that a http2 URI scheme as a reasonable
>> fallback needs to be considered as an option here... particularly if we do
>> define a dedicated http/2 default port. Yes, I agree with the whole "we
>> want to do existing http:// and https:// traffic over http/2
>> transparently"
>> argument and fully understand the challenges of introducing a new URI
>> scheme. However, there will be instances where upgrade negotiation is
>> simply not going to be necessary and for which backwards compatibility
>> with
>> existing infrastructure is going to be unnecessary. For those cases, the
>> ability to pass a URL like "http2://example.org" and have it just
>> automatically understood that it's "http/2 over port whatever" will be
>> extremely useful. A no brainer even. So much so that if the working group
>> here doesn't choose to define it, I'll likely just end up writing it up as
>> an individual submission. That way, when I write.. <form method="post"
>> action="http2://example.org">.**..</form> the notion that http/2 is being
>> used is explicit and no upgrade discovery/negotiation is required at all.
>> That's what url schemes are for in the first place, right?
>>
>
> Consider whether you are making HTTP/2 an second protocol to exist in
> parallel to HTTP/1 or a replacement version of the protocol.
>
> A parallel protocol would have a separate scheme (eg. HTTP vs HTTPS
> today). And may as well be called HTTP2/1.1 or "HTTP/1.1 over port 1234" as
> HTTP/2.0.
>
> A replacement would use the same scheme and let the agents negotiate the
> version level between themselves without the web developers getting
> involved with specific URL versions.
>
> Also, how would one go about re-writing the entire legacy web page set to
> use http2:// URLs when the server (or even just its frontend proxy!)
> upgrades?
>
>
> Amos
>
>

--f46d0401f77f01482104ccc4dba9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Oct 23, 2012 6:25 PM, &quot;Amos Jeffries&quot; &lt;<a href=3D"mailto:sq=
uid3@treenet.co.nz">squid3@treenet.co.nz</a>&gt; wrote:<br>
&gt;<br>
&gt; On 24.10.2012 05:50, James M Snell wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Oct 22, 2012 at 7:03 PM, Mark Nottingham &lt;<a href=3D"ma=
ilto:mnot@mnot.net">mnot@mnot.net</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; [snip]<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 1) Using a SRV (or other DNS) record. There seems to be a fair=
 amount of<br>
&gt;&gt;&gt; interest in this from the browser implementers; the only resis=
tance seems<br>
&gt;&gt;&gt; to be around how hard this would be to deploy, but if it&#39;s=
 not the only<br>
&gt;&gt;&gt; mechanism for upgrading to HTTP/2, it shouldn&#39;t be a conce=
rn.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Presumably, we&#39;d define a default port for HTTP/2-only com=
munication when<br>
&gt;&gt;&gt; used in conjunction with this, so that firewalls would know to=
 open it, etc.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt; Such a dedicated default port definitely needs to be defined. Ther=
e are<br>
&gt;&gt; many scenarios where upgrade negotiation simply is not going to be=
 required<br>
&gt;&gt; at all.<br>
&gt;&gt;<br>
&gt;<br>
&gt; My understanding of the charter was that defining a new scheme was out=
 of bounds. A *default* port would mean a new scheme name was mandatory to =
identify default http://*:80 from default http://*:443 from default http2 p=
ort.<br>

&gt;<br>
&gt; I find it highly undesirable either way. Lets make HTTP/2 the successo=
r to merge both HTTP/1.1 port 80 and HTTP/1.1 port 443 safely with scheme h=
ttp:// and default port 80. Note that this does not require it being ASCII =
text initial request. We can easily and safely prefix with a TLS-follows fr=
ame to determine HTTPS over port 80.<br>

&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; Does anyone object to us defining such a record (type TBD), as=
 long as<br>
&gt;&gt;&gt; it&#39;s not the only way to get to HTTP/2 for HTTP URIs?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Defining a new dns record type would be unnecessary and would be t=
he wrong<br>
&gt;&gt; approach. SRV records were made specifically for this kind of use.=
 They&#39;re<br>
&gt;&gt; certainly not perfect but inventing a new record type specifically=
 for<br>
&gt;&gt; http2 stuff is even less so.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; +1 on that.<br>
&gt;<br>
&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2) Using a response header to hint that HTTP/2 is available on=
 another<br>
&gt;&gt;&gt; port.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This approach hasn&#39;t been talked about in detail yet, but =
it apparently<br>
&gt;&gt;&gt; (as some have noted) has the disadvantage of not upgrading the=
 first<br>
&gt;&gt;&gt; interaction, and of requiring a separate cache (and caching mo=
del) for this<br>
&gt;&gt;&gt; information.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Who wants to pursue this approach? If so, we need a small prop=
osal<br>
&gt;&gt;&gt; written, preferably as an I-D, but an e-mail would do.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt; This is one of those ideas that sounds interesting in theory but I=
 don&#39;t<br>
&gt;&gt; see how it would be effective in practice.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Maybe yes maybe no. This seems to me to be a repetition of the Via: he=
ader with its path version hints. Equally valid in HTTP/1.a and 2.0 and cov=
ers this use-case already.<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; And, are there any other approaches we want to put on the tabl=
e?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt; For browsers, upgrading on the first connection is obviously going=
 to be<br>
&gt;&gt; critical. The DNS option seems like the best approach for the most=
 general<br>
&gt;&gt; case, despite the various flaws in that approach.<br>
&gt;<br>
&gt;<br>
&gt; *except* for all those cases where middleware exists. In which case DN=
S hinting will be the cause of problems, not the solution.<br>
&gt;<br>
&gt;<br>
&gt;&gt; montenegro-httpbis-http2-negotiation seems to provide a reasonable=
 fallback<br>
&gt;&gt; when we&#39;re talking primarily about GET/HEAD traffic, but it ha=
s obvious<br>
&gt;&gt; issues when dealing with POST/PUT/PATCH type operations. I do not =
really<br>
&gt;&gt; want to always have to send PUT requests as HTTP/1.1 when what I r=
eally<br>
&gt;&gt; want is to use HTTP/2.0 for the entire flow. For payload-bearing r=
equests,<br>
&gt;&gt; upgrade needs to be negotiated before the initial request is sent.=
<br>
&gt;<br>
&gt;<br>
&gt; That said, how prevalent is first-contact PUT/POST as opposed to a pag=
e GET followed by further interaction from scripts and forms?<br>
&gt; =A0Is it just from badly designed sites using cross-domain PUT/POST?<b=
r>
&gt; =A0or from non-browser agents which should be able to know better anyw=
ay with less critical timing requirements?<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; One possible way to mitigate this would be to combine the Upgrade =
header<br>
&gt;&gt; approach with a new Expect token. For instance...<br>
&gt;&gt;<br>
&gt;&gt; =A0 POST /default.htm HTTP/1.1<br>
&gt;&gt; =A0 Host: <a href=3D"http://server.example.com">server.example.com=
</a><br>
&gt;&gt; =A0 Connection: Upgrade<br>
&gt;&gt; =A0 Upgrade: HTTP/2.0<br>
&gt;&gt; =A0 Expect: 101-upgrade<br>
&gt;&gt;<br>
&gt;&gt; The addition of the Expect header does two things...<br>
&gt;&gt;<br>
&gt;&gt; 1. It makes the upgrade a requirement rather than optional...<br>
&gt;&gt; 2. The client would then wait as reasonable time for the 101 Switc=
hing<br>
&gt;&gt; Protocols before it proceeds to send the http/2.0 encoded data...<=
br>
&gt;&gt;<br>
&gt;&gt; When the client does start sending the data (after receiving the 1=
01<br>
&gt;&gt; response), it would do so by first sending a SYN_STREAM.. To http/=
1.1<br>
&gt;&gt; servers, this would appear to be nothing more than regular POST pa=
yload<br>
&gt;&gt; data. For http/2 traffic, this requires an initial round trip but =
it<br>
&gt;&gt; addresses the upgrade on payload-bearing request issue... and is e=
xactly<br>
&gt;&gt; the kind of thing the Expect header was intended for. The scheme i=
s<br>
&gt;&gt; obviously far from perfect, however.<br>
&gt;<br>
&gt;<br>
&gt; +1.<br>
&gt;<br>
&gt; Also note that the new Expect token needs to be defined as hop-by-hop =
to prevent its relay.<br>
&gt;<br>
&gt; This is also just as useful for Upgrade:HTTP/1.1 to mandate HTTP/1.1 f=
eature support on the connection.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Alternatively, I firmly believe that a http2 URI scheme as a reaso=
nable<br>
&gt;&gt; fallback needs to be considered as an option here... particularly =
if we do<br>
&gt;&gt; define a dedicated http/2 default port. Yes, I agree with the whol=
e &quot;we<br>
&gt;&gt; want to do existing http:// and https:// traffic over http/2 trans=
parently&quot;<br>
&gt;&gt; argument and fully understand the challenges of introducing a new =
URI<br>
&gt;&gt; scheme. However, there will be instances where upgrade negotiation=
 is<br>
&gt;&gt; simply not going to be necessary and for which backwards compatibi=
lity with<br>
&gt;&gt; existing infrastructure is going to be unnecessary. For those case=
s, the<br>
&gt;&gt; ability to pass a URL like &quot;http2://<a href=3D"http://example=
.org">example.org</a>&quot; and have it just<br>
&gt;&gt; automatically understood that it&#39;s &quot;http/2 over port what=
ever&quot; will be<br>
&gt;&gt; extremely useful. A no brainer even. So much so that if the workin=
g group<br>
&gt;&gt; here doesn&#39;t choose to define it, I&#39;ll likely just end up =
writing it up as<br>
&gt;&gt; an individual submission. That way, when I write.. &lt;form method=
=3D&quot;post&quot;<br>
&gt;&gt; action=3D&quot;http2://<a href=3D"http://example.org">example.org<=
/a>&quot;&gt;...&lt;/form&gt; the notion that http/2 is being<br>
&gt;&gt; used is explicit and no upgrade discovery/negotiation is required =
at all.<br>
&gt;&gt; That&#39;s what url schemes are for in the first place, right?<br>
&gt;<br>
&gt;<br>
&gt; Consider whether you are making HTTP/2 an second protocol to exist in =
parallel to HTTP/1 or a replacement version of the protocol.<br>
&gt;<br>
&gt; A parallel protocol would have a separate scheme (eg. HTTP vs HTTPS to=
day). And may as well be called HTTP2/1.1 or &quot;HTTP/1.1 over port 1234&=
quot; as HTTP/2.0.<br>
&gt;<br>
&gt; A replacement would use the same scheme and let the agents negotiate t=
he version level between themselves without the web developers getting invo=
lved with specific URL versions.<br>
&gt;<br>
&gt; Also, how would one go about re-writing the entire legacy web page set=
 to use http2:// URLs when the server (or even just its frontend proxy!) up=
grades?</p>
<p dir=3D"ltr">As I understand the suggestion, that want required. What I u=
nderstood was that a scheme of http2 meant one should assume you can use HT=
TP/2. An HTTP scheme , however didn&#39;t mean only http/1.x-- it could als=
o be http/2 after negotiations.</p>

<p dir=3D"ltr"> Proxies make any of this moot, however, if they are used-- =
a negotiation must happen if there is ever anything other than direct conne=
ctivity. If the scheme is just used as a hint instead of an assertion (I.e.=
 one can always fall back to 1.1) it is technically useful in potentially ,=
 maybe, saving an rtt... but ugly and it could end up costing more in the c=
ase where a proxy doesn&#39;t understand http/2 and where the session must =
be restarted...</p>

<p dir=3D"ltr">-=3DR</p>
<p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt; Amos<br>
&gt;<br>
</p>
<div class=3D"gmail_quote">On Oct 23, 2012 6:25 PM, &quot;Amos Jeffries&quo=
t; &lt;<a href=3D"mailto:squid3@treenet.co.nz">squid3@treenet.co.nz</a>&gt;=
 wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 24.10.2012 05:50, James M Snell wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
On Mon, Oct 22, 2012 at 7:03 PM, Mark Nottingham &lt;<a href=3D"mailto:mnot=
@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt; wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
[snip]<br>
<br>
1) Using a SRV (or other DNS) record. There seems to be a fair amount of<br=
>
interest in this from the browser implementers; the only resistance seems<b=
r>
to be around how hard this would be to deploy, but if it&#39;s not the only=
<br>
mechanism for upgrading to HTTP/2, it shouldn&#39;t be a concern.<br>
<br>
Presumably, we&#39;d define a default port for HTTP/2-only communication wh=
en<br>
used in conjunction with this, so that firewalls would know to open it, etc=
.<br>
<br>
<br>
</blockquote>
Such a dedicated default port definitely needs to be defined. There are<br>
many scenarios where upgrade negotiation simply is not going to be required=
<br>
at all.<br>
<br>
</blockquote>
<br>
My understanding of the charter was that defining a new scheme was out of b=
ounds. A *default* port would mean a new scheme name was mandatory to ident=
ify default http://*:80 from default http://*:443 from default http2 port.<=
br>

<br>
I find it highly undesirable either way. Lets make HTTP/2 the successor to =
merge both HTTP/1.1 port 80 and HTTP/1.1 port 443 safely with scheme http:/=
/ and default port 80. Note that this does not require it being ASCII text =
initial request. We can easily and safely prefix with a TLS-follows frame t=
o determine HTTPS over port 80.<br>

<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Does anyone object to us defining such a record (type TBD), as long as<br>
it&#39;s not the only way to get to HTTP/2 for HTTP URIs?<br>
<br>
</blockquote>
<br>
Defining a new dns record type would be unnecessary and would be the wrong<=
br>
approach. SRV records were made specifically for this kind of use. They&#39=
;re<br>
certainly not perfect but inventing a new record type specifically for<br>
http2 stuff is even less so.<br>
<br>
<br>
</blockquote>
<br>
+1 on that.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2) Using a response header to hint that HTTP/2 is available on another<br>
port.<br>
<br>
This approach hasn&#39;t been talked about in detail yet, but it apparently=
<br>
(as some have noted) has the disadvantage of not upgrading the first<br>
interaction, and of requiring a separate cache (and caching model) for this=
<br>
information.<br>
<br>
Who wants to pursue this approach? If so, we need a small proposal<br>
written, preferably as an I-D, but an e-mail would do.<br>
<br>
<br>
</blockquote>
This is one of those ideas that sounds interesting in theory but I don&#39;=
t<br>
see how it would be effective in practice.<br>
<br>
</blockquote>
<br>
Maybe yes maybe no. This seems to me to be a repetition of the Via: header =
with its path version hints. Equally valid in HTTP/1.a and 2.0 and covers t=
his use-case already.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
And, are there any other approaches we want to put on the table?<br>
<br>
<br>
</blockquote>
For browsers, upgrading on the first connection is obviously going to be<br=
>
critical. The DNS option seems like the best approach for the most general<=
br>
case, despite the various flaws in that approach.<br>
</blockquote>
<br>
*except* for all those cases where middleware exists. In which case DNS hin=
ting will be the cause of problems, not the solution.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
montenegro-httpbis-http2-<u></u>negotiation seems to provide a reasonable f=
allback<br>
when we&#39;re talking primarily about GET/HEAD traffic, but it has obvious=
<br>
issues when dealing with POST/PUT/PATCH type operations. I do not really<br=
>
want to always have to send PUT requests as HTTP/1.1 when what I really<br>
want is to use HTTP/2.0 for the entire flow. For payload-bearing requests,<=
br>
upgrade needs to be negotiated before the initial request is sent.<br>
</blockquote>
<br>
That said, how prevalent is first-contact PUT/POST as opposed to a page GET=
 followed by further interaction from scripts and forms?<br>
=A0Is it just from badly designed sites using cross-domain PUT/POST?<br>
=A0or from non-browser agents which should be able to know better anyway wi=
th less critical timing requirements?<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
One possible way to mitigate this would be to combine the Upgrade header<br=
>
approach with a new Expect token. For instance...<br>
<br>
=A0 POST /default.htm HTTP/1.1<br>
=A0 Host: <a href=3D"http://server.example.com" target=3D"_blank">server.ex=
ample.com</a><br>
=A0 Connection: Upgrade<br>
=A0 Upgrade: HTTP/2.0<br>
=A0 Expect: 101-upgrade<br>
<br>
The addition of the Expect header does two things...<br>
<br>
1. It makes the upgrade a requirement rather than optional...<br>
2. The client would then wait as reasonable time for the 101 Switching<br>
Protocols before it proceeds to send the http/2.0 encoded data...<br>
<br>
When the client does start sending the data (after receiving the 101<br>
response), it would do so by first sending a SYN_STREAM.. To http/1.1<br>
servers, this would appear to be nothing more than regular POST payload<br>
data. For http/2 traffic, this requires an initial round trip but it<br>
addresses the upgrade on payload-bearing request issue... and is exactly<br=
>
the kind of thing the Expect header was intended for. The scheme is<br>
obviously far from perfect, however.<br>
</blockquote>
<br>
+1.<br>
<br>
Also note that the new Expect token needs to be defined as hop-by-hop to pr=
event its relay.<br>
<br>
This is also just as useful for Upgrade:HTTP/1.1 to mandate HTTP/1.1 featur=
e support on the connection.<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
Alternatively, I firmly believe that a http2 URI scheme as a reasonable<br>
fallback needs to be considered as an option here... particularly if we do<=
br>
define a dedicated http/2 default port. Yes, I agree with the whole &quot;w=
e<br>
want to do existing http:// and https:// traffic over http/2 transparently&=
quot;<br>
argument and fully understand the challenges of introducing a new URI<br>
scheme. However, there will be instances where upgrade negotiation is<br>
simply not going to be necessary and for which backwards compatibility with=
<br>
existing infrastructure is going to be unnecessary. For those cases, the<br=
>
ability to pass a URL like &quot;http2://<a href=3D"http://example.org" tar=
get=3D"_blank">example.org</a>&quot; and have it just<br>
automatically understood that it&#39;s &quot;http/2 over port whatever&quot=
; will be<br>
extremely useful. A no brainer even. So much so that if the working group<b=
r>
here doesn&#39;t choose to define it, I&#39;ll likely just end up writing i=
t up as<br>
an individual submission. That way, when I write.. &lt;form method=3D&quot;=
post&quot;<br>
action=3D&quot;http2://<a href=3D"http://example.org" target=3D"_blank">exa=
mple.org</a>&quot;&gt;.<u></u>..&lt;/form&gt; the notion that http/2 is bei=
ng<br>
used is explicit and no upgrade discovery/negotiation is required at all.<b=
r>
That&#39;s what url schemes are for in the first place, right?<br>
</blockquote>
<br>
Consider whether you are making HTTP/2 an second protocol to exist in paral=
lel to HTTP/1 or a replacement version of the protocol.<br>
<br>
A parallel protocol would have a separate scheme (eg. HTTP vs HTTPS today).=
 And may as well be called HTTP2/1.1 or &quot;HTTP/1.1 over port 1234&quot;=
 as HTTP/2.0.<br>
<br>
A replacement would use the same scheme and let the agents negotiate the ve=
rsion level between themselves without the web developers getting involved =
with specific URL versions.<br>
<br>
Also, how would one go about re-writing the entire legacy web page set to u=
se http2:// URLs when the server (or even just its frontend proxy!) upgrade=
s?<br>
<br>
<br>
Amos<br>
<br>
</blockquote></div>

--f46d0401f77f01482104ccc4dba9--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 19:58:55 2012
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 C73F41F0C6E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 19:58:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.243
X-Spam-Level: 
X-Spam-Status: No, score=-8.243 tagged_above=-999 required=5 tests=[AWL=2.354, BAYES_00=-2.599, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id njvUIlNOFkE2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 19:58:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0B25D1F0C5F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 19:58:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQr9x-0000he-3D for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 02:57:33 +0000
Resent-Date: Wed, 24 Oct 2012 02:57:33 +0000
Resent-Message-Id: <E1TQr9x-0000he-3D@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQr9p-0000gn-FN for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 02:57:25 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQr9o-0007oe-6g for ietf-http-wg@w3.org; Wed, 24 Oct 2012 02:57:25 +0000
Received: by mail-qa0-f43.google.com with SMTP id k1so2657996qaf.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 19:56:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=1unJlENBT8ib9CH94e8VrdpMMI0INvjdjDtY7Z/tI6U=; b=oRkyMpveE32KNBsP65JYeN+gx+cuQ1/mjOiZHs0jEGXgpPJfeZ81yPcijvxlV7b4N1 EcHFBIAK9sIte5CVKE8DGzQDDgM2bK+ciIQEyK3F85hGgC1NW5DkT/IklDHdOZ1Ee3im XvRbo+uFE03m7+h4Puq8VZJ1knmHLrgacIhbkd+pN2fVtWwo5IM1Y5FvSZ5SxHN9v21p U75twGFF3O9p+be/6Uf4wou7vUdTUfMF0a6+Nn6aBzfw6GGlqjNny4n+R1RTJW0o+Lwh lqa4iIe67db5dn1m3J8lRifZdEA5eRzXUK6Wky1FFpG3VXIs8CatAju/H76s73QUCKHJ Ia4g==
Received: by 10.229.201.198 with SMTP id fb6mr1674134qcb.129.1351047418085; Tue, 23 Oct 2012 19:56:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Tue, 23 Oct 2012 19:56:37 -0700 (PDT)
In-Reply-To: <CAP+FsNeyQdH0zSptOZvX5bLsAhN8r4q1xyTENxFo-c3SfNWTwA@mail.gmail.com>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <CAP+FsNeyQdH0zSptOZvX5bLsAhN8r4q1xyTENxFo-c3SfNWTwA@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 23 Oct 2012 19:56:37 -0700
Message-ID: <CABP7RbcU64sUopxp_rwiZqNtES3qTyOSDR0Z+Z-armLtcs1p7A@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=001636ef01956e01ce04ccc53d6f
Received-SPF: pass client-ip=209.85.216.43; envelope-from=jasnell@gmail.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-2.419, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQr9o-0007oe-6g 299fd16b2989c07503ce65695633162f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CABP7RbcU64sUopxp_rwiZqNtES3qTyOSDR0Z+Z-armLtcs1p7A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15439
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>

--001636ef01956e01ce04ccc53d6f
Content-Type: text/plain; charset=UTF-8

On Tue, Oct 23, 2012 at 7:29 PM, Roberto Peon <grmocg@gmail.com> wrote:

> [snip]
> > Also, how would one go about re-writing the entire legacy web page set
> to use http2:// URLs when the server (or even just its frontend proxy!)
> upgrades?
>
> As I understand the suggestion, that want required. What I understood was
> that a scheme of http2 meant one should assume you can use HTTP/2. An HTTP
> scheme , however didn't mean only http/1.x-- it could also be http/2 after
> negotiations.
>
Yep. http2:// would mean skip the negotiation.

>  Proxies make any of this moot, however, if they are used-- a negotiation
> must happen if there is ever anything other than direct connectivity. If
> the scheme is just used as a hint instead of an assertion (I.e. one can
> always fall back to 1.1) it is technically useful in potentially , maybe,
> saving an rtt... but ugly and it could end up costing more in the case
> where a proxy doesn't understand http/2 and where the session must be
> restarted...
>
>
> The point of the http2 scheme is that backwards compatibility with
http/1.1 infrastructure is not always going to be requirement. I'm not
arguing that it should be used for all cases... just in the subset of cases
where explicitly skipping negotiation makes sense. For example, if I have a
media server running on my local home wireless network and I have a
dedicated client app for that on my mobile device connected to the same
wireless network. There is no proxy between the two devices, just a direct
connection between a client app and a server app. There's no reason at all
why upgrade negotiation would be required in this case. A client stack on
the mobile device could be given a url.. http2://10.0.0.2/movies and just
know that http/2 is to be used.

One thing that needs to be recognized is that there will not be a single
solution that's going to work for all cases.

- James

--001636ef01956e01ce04ccc53d6f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Oct 23, 2012 at 7:29 PM, Roberto Peon <span dir=3D"ltr">&lt;<a =
href=3D"mailto:grmocg@gmail.com" target=3D"_blank">grmocg@gmail.com</a>&gt;=
</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5"><p d=
ir=3D"ltr">[snip]<br>
&gt; Also, how would one go about re-writing the entire legacy web page set=
 to use http2:// URLs when the server (or even just its frontend proxy!) up=
grades?</p>
</div></div><p dir=3D"ltr">As I understand the suggestion, that want requir=
ed. What I understood was that a scheme of http2 meant one should assume yo=
u can use HTTP/2. An HTTP scheme , however didn&#39;t mean only http/1.x-- =
it could also be http/2 after negotiations.</p>

</blockquote><div>Yep. http2:// would mean skip the negotiation. =C2=A0</di=
v><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">

<p dir=3D"ltr"> Proxies make any of this moot, however, if they are used-- =
a negotiation must happen if there is ever anything other than direct conne=
ctivity. If the scheme is just used as a hint instead of an assertion (I.e.=
 one can always fall back to 1.1) it is technically useful in potentially ,=
 maybe, saving an rtt... but ugly and it could end up costing more in the c=
ase where a proxy doesn&#39;t understand http/2 and where the session must =
be restarted...</p>



<p dir=3D"ltr"><br></p></blockquote><div>The point of the http2 scheme is t=
hat backwards compatibility with http/1.1 infrastructure is not always goin=
g to be requirement. I&#39;m not arguing that it should be used for all cas=
es... just in the subset of cases where explicitly skipping negotiation mak=
es sense. For example, if I have a media server running on my local home wi=
reless network and I have a dedicated client app for that on my mobile devi=
ce connected to the same wireless network. There is no proxy between the tw=
o devices, just a direct connection between a client app and a server app. =
There&#39;s no reason at all why upgrade negotiation would be required in t=
his case. A client stack on the mobile device could be given a url.. http2:=
//<a href=3D"http://10.0.0.2/movies">10.0.0.2/movies</a> and just know that=
 http/2 is to be used.=C2=A0</div>

<div><br></div><div>One thing that needs to be recognized is that there wil=
l not be a single solution that&#39;s going to work for all cases.</div><di=
v><br></div><div>- James</div></div>

--001636ef01956e01ce04ccc53d6f--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 20:22:53 2012
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 09CF711E810B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 20:22:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.126
X-Spam-Level: 
X-Spam-Status: No, score=-8.126 tagged_above=-999 required=5 tests=[AWL=2.473, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XgelV5H3211X for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 20:22:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB40911E80D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 20:22:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQrX9-0002bF-9U for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 03:21:31 +0000
Resent-Date: Wed, 24 Oct 2012 03:21:31 +0000
Resent-Message-Id: <E1TQrX9-0002bF-9U@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQrX4-0002aW-UZ for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 03:21:26 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQrX3-0000UB-R1 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 03:21:26 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id F2C6622E25B; Tue, 23 Oct 2012 23:21:01 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <5086D127.9010805@cisco.com>
Date: Wed, 24 Oct 2012 14:21:01 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <95A549EF-73F0-4E94-9D64-24193E5E5C79@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <5086D127.9010805@cisco.com>
To: Eliot Lear <lear@cisco.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.8
X-W3C-Hub-Spam-Report: AWL=-2.798, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQrX3-0000UB-R1 697610dce5aa7bbf211e5f37c418c0d1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/95A549EF-73F0-4E94-9D64-24193E5E5C79@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15440
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>

On 24/10/2012, at 4:17 AM, Eliot Lear <lear@cisco.com> wrote:

> Mark,
>=20
> On 10/23/12 4:03 AM, Mark Nottingham wrote:
>> The question for us right now is what requirements we want to place =
upon that work. Currently, I have:
>>=20
>> ---8<---
>> TLS Working Group Chairs,
>>=20
>> This is a request from the HTTPbis Working Group for you to commence =
work upon a mechanism that allows clients and servers to negotiate the =
particular application protocol to use once the session is established.
>>=20
>> Our use case is for HTTP/2.0 in conjunction with HTTP URIs; rather =
than defining a new port, which incurs both performance and deployment =
penalties, a negotiation mechanism would allow for better deployment of =
HTTP/2.0 for HTTPS URIs.
>>=20
>> We would expect such a mechanism to allow the client and server to =
negotiate the use of one of potentially many such protocols (in our =
case, HTTP/1.x and HTTP/2.x), identified by tokens, and falling back to =
a default for the port in use (in our case, HTTP/1.x) when either side =
doesn't support negotiation, or an agreement can't be found.
>>=20
>> We also note existing work in this area:
>>  http://tools.ietf.org/html/draft-agl-tls-nextprotoneg-04
>>=20
>> The HTTPbis Working Group will be happy to coordinate schedules, =
review drafts and provide further input as required.
>>=20
>> --->8---
>>=20
>=20
> It's a little odd having to have one working group liaise a request to
> another working group, but alright.  Traditionally we do not name
> individual drafts in liaisons, and I suggest we not do that in this
> case, as there are posted alternatives.


OK, I think they're aware of it anyway. :)

Cheers,

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 20:33:26 2012
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 89B1B11E815E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 20:33:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V2JbZUJONcIh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 20:33:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CBC5A11E80D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 20:33:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQrhL-0008C5-2K for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 03:32:03 +0000
Resent-Date: Wed, 24 Oct 2012 03:32:03 +0000
Resent-Message-Id: <E1TQrhL-0008C5-2K@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dpkendal@dpk.org.uk>) id 1TQrhH-0008B4-O3 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 03:31:59 +0000
Received: from glados.default.trilby.uk0.bigv.io ([213.138.101.80] helo=dpk.org.uk) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <dpkendal@dpk.org.uk>) id 1TQrhG-0000pR-RB for ietf-http-wg@w3.org; Wed, 24 Oct 2012 03:31:59 +0000
Received: (qmail 48035 invoked by uid 1001); 24 Oct 2012 03:31:36 -0000
Content-Type: text/plain; charset=windows-1252
Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1486\))
From: David Kendal <dpkendal@dpk.org.uk>
In-Reply-To: <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com>
Date: Wed, 24 Oct 2012 04:31:24 +0100
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <837F4B06-5C53-4019-A974-6273673F3E76@dpk.org.uk>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1486)
Received-SPF: none client-ip=213.138.101.80; envelope-from=dpkendal@dpk.org.uk; helo=dpk.org.uk
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: none
X-W3C-Scan-Sig: lisa.w3.org 1TQrhG-0000pR-RB deff6808490a21a512e19bd2abe0265a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/837F4B06-5C53-4019-A974-6273673F3E76@dpk.org.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15441
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>

On 23 Oct 2012, at 17:50, James M Snell <jasnell@gmail.com> wrote:

> Alternatively, I firmly believe that a http2 URI scheme as a =
reasonable
> fallback needs to be considered as an option here... particularly if =
we do
> define a dedicated http/2 default port.

Bear in mind that if this happens HTTP would become the only (well-
known, at least) many-to-many (ie. any client should be able to talk to
any server talking any version of the protocol, for public access by
strangers -- with eg. IMAP that is not a problem because it's not so
unreasonable to ask people to switch mail client to be able to retrieve
mail from their *own* server) protocol to be specified where different
versions exist on different ports and have different URI schemes.

This would significantly slow deployment. It also breaks the meaning of
URIs: consider the number of existing http:// links published already.
If someone clicks one of those in a new HTTP/2.0 era, we have two
choices: we can either just use HTTP/1.x, which will force servers to
support that protocol forever, which could involve leaving another port
open, and it will also probably neutralise the speed benefits of
HTTP/2.0 for some of those links (I'll bet that the cost of Upgrade/101
negotiation turns out to be more than the savings of HTTP/2.0; I concede
that for any resources linked to that page will likely get the benefits
of 2); or we can break the meaning of the URI, try an HTTP/2.0 request
first and if that fails, degrade to HTTP/1.1. In the latter case, why
bother maintaining the http URI scheme for years if browsers will just
treat it more-or-less like http2?

My preferred solution to this would be to ask clients to send an
HTTP/2.0 request to every server, with a old-fashioned http URI, on port
80. If the server doesn't understand, it will either not respond -- just
close the connection (some servers do this, I forget which) -- or send a
response (quite possibly a 400 or 505, but it could be anything, even
success) with an HTTP/1.x version indicated in the header. If that
happens, the client should try again with an appropriate HTTP/1.1
version. It will be slightly slower to get things from HTTP/1.x servers
than before, but no negotiation will be needed for HTTP/2.0.

Obviously this isn't a very "pure" solution, in that it involves
muddying the waters of HTTP versions. But it does get the job done.

Now, to get this right, a few rules are needed:

- an HTTP/2.0 client MUST retry with an HTTP/1.x request if the response
 from the server has a non-HTTP/2.x version in the header, regardless of
 response code, including success. (This is to ensure that any new
 headers introduced in 2.0 which could change the resulting response
 somehow are properly respected by the server.) It should close the
 connection to the server as soon as it receives the response-line.
 (This is to stop large files which might be included in the response
 from being downloaded, wasting bandwidth, before the retry.)
- an HTTP/2.0 client MUST retry with an HTTP/1.1 request if the server
 closes the connection without responding.
- an HTTP/x.y client (x > 2) MUST apply the same policy.
- an HTTP/1.x server which is aware of the existence of HTTP/2.0 but
 does not yet support it SHOULD reply with a 505 status code.
- an HTTP/2.x server MUST reply with an HTTP/2.x version number in the
 response-line.
- an HTTP/2.x server SHOULD also support the HTTP/1.x line, but in case
 this is not desired or needed (for instance, in a proprietary system
 where the capabilities of all clients that will access the server are
 known) it SHOULD respond with a 505 status code. It SHOULD in all cases
 be able to give an appropriate 101 response to an HTTP/1.x client which
 sends an Upgrade header which indicates 2.0 support.

> - James

=97 dpk.



From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 20:46:08 2012
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 61F711F0C89 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 20:46:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.156
X-Spam-Level: 
X-Spam-Status: No, score=-8.156 tagged_above=-999 required=5 tests=[AWL=2.443, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qp27nh3ygDUY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 20:46:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B5D8B1F0C7E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 20:46:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQruH-0006Fh-Ge for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 03:45:25 +0000
Resent-Date: Wed, 24 Oct 2012 03:45:25 +0000
Resent-Message-Id: <E1TQruH-0006Fh-Ge@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQruD-0006E8-1t for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 03:45:21 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQruC-0000ku-2o for ietf-http-wg@w3.org; Wed, 24 Oct 2012 03:45:21 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E961A22E257; Tue, 23 Oct 2012 23:44:53 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz>
Date: Wed, 24 Oct 2012 14:44:48 +1100
Cc: <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: AWL=-2.719, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQruC-0000ku-2o 35d020210ef56b40d35a5d2e654f4bbd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15443
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>

On 24/10/2012, at 12:23 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

>> For browsers, upgrading on the first connection is obviously going to =
be
>> critical. The DNS option seems like the best approach for the most =
general
>> case, despite the various flaws in that approach.
>=20
> *except* for all those cases where middleware exists. In which case =
DNS hinting will be the cause of problems, not the solution.

How so?

For  accelerators / "reverse" proxies, the party in control of the =
middleware is in control of the DNS.

For configured proxies, the client is aware of the middleware and can =
figure out and remember its capabilities, via the upgrade mechanism.

It's only for unconfigured / "transparent" / intercepting proxies that =
this might be a problem. If the protocol is designed to fail fast in =
their presence, this too should be manageable -- there might be some =
latency on first request in these networks, at worst. Bonus points for =
putting the blame squarely where it lies somehow...

Cheers,

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 20:46:08 2012
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 A0B431F0C7E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 20:46:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.185
X-Spam-Level: 
X-Spam-Status: No, score=-8.185 tagged_above=-999 required=5 tests=[AWL=2.414, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KVHrhfMuOVXm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 20:46:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9F91F1F0C5F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 20:46:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQru4-0006Dv-09 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 03:45:12 +0000
Resent-Date: Wed, 24 Oct 2012 03:45:12 +0000
Resent-Message-Id: <E1TQru4-0006Dv-09@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQrtz-0005oL-9q for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 03:45:07 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQrty-0000ke-A0 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 03:45:07 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3318D22E255; Tue, 23 Oct 2012 23:44:42 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com>
Date: Wed, 24 Oct 2012 14:44:46 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0BFC4563-2283-4C5C-9856-2FDC9343ACFF@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.8
X-W3C-Hub-Spam-Report: AWL=-2.819, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQrty-0000ke-A0 b3317a10a9a5a3795f8501c019c8f1fa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/0BFC4563-2283-4C5C-9856-2FDC9343ACFF@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15442
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>

On 24/10/2012, at 3:50 AM, James M Snell <jasnell@gmail.com> wrote:

[...]
>>  Does anyone object to us defining such a record (type TBD), as long =
as it's not the only way to get to HTTP/2 for HTTP URIs?
>=20
> Defining a new dns record type would be unnecessary and would be the =
wrong approach. SRV records were made specifically for this kind of use. =
They're certainly not perfect but inventing a new record type =
specifically for http2 stuff is even less so.

We're not talking about defining a new record type, only deciding =
whether DNS is an appropriate OPTIONAL upgrade path, and EVENTUALLY =
which existing record type to use.

Everyone, please focus on the questions at hand -- we don't need to have =
a round of +1s and resulting back-and-forth on an issue that's not even =
being discussed yet.


> 2) Using a response header to hint that HTTP/2 is available on another =
port.
>=20
> This approach hasn't been talked about in detail yet, but it =
apparently (as some have noted) has the disadvantage of not upgrading =
the first interaction, and of requiring a separate cache (and caching =
model) for this information.
>=20
> Who wants to pursue this approach? If so, we need a small proposal =
written, preferably as an I-D, but an e-mail would do.
>=20
>=20
> This is one of those ideas that sounds interesting in theory but I =
don't see how it would be effective in practice.

Yep - that's why I asked for proposals.=20


>  And, are there any other approaches we want to put on the table?
>=20
> For browsers, upgrading on the first connection is obviously going to =
be critical. The DNS option seems like the best approach for the most =
general case, despite the various flaws in that approach. =
montenegro-httpbis-http2-negotiation seems to provide a reasonable =
fallback when we're talking primarily about GET/HEAD traffic, but it has =
obvious issues when dealing with POST/PUT/PATCH type operations. I do =
not really want to always have to send PUT requests as HTTP/1.1 when =
what I really want is to use HTTP/2.0 for the entire flow. For =
payload-bearing requests, upgrade needs to be negotiated before the =
initial request is sent.
>=20
> One possible way to mitigate this would be to combine the Upgrade =
header approach with a new Expect token. For instance...
>=20
>   POST /default.htm HTTP/1.1
>   Host: server.example.com
>   Connection: Upgrade
>   Upgrade: HTTP/2.0
>   Expect: 101-upgrade
>=20
> The addition of the Expect header does two things...
>=20
> 1. It makes the upgrade a requirement rather than optional...
> 2. The client would then wait as reasonable time for the 101 Switching =
Protocols before it proceeds to send the http/2.0 encoded data...
>=20
> When the client does start sending the data (after receiving the 101 =
response), it would do so by first sending a SYN_STREAM.. To http/1.1 =
servers, this would appear to be nothing more than regular POST payload =
data. For http/2 traffic, this requires an initial round trip but it =
addresses the upgrade on payload-bearing request issue... and is exactly =
the kind of thing the Expect header was intended for. The scheme is =
obviously far from perfect, however.

Hm. I'd be interested to hear from implementers on this. The only =
advantage that I see is that you'd be able to start multiplexing other =
requests on the same connection sooner. However, you could also just use =
SRV, or a different connection if it's not available.=20


> Alternatively, I firmly believe that a http2 URI scheme as a =
reasonable fallback needs to be considered as an option here... =
particularly if we do define a dedicated http/2 default port. Yes, I =
agree with the whole "we want to do existing http:// and https:// =
traffic over http/2 transparently" argument and fully understand the =
challenges of introducing a new URI scheme. However, there will be =
instances where upgrade negotiation is simply not going to be necessary =
and for which backwards compatibility with existing infrastructure is =
going to be unnecessary. For those cases, the ability to pass a URL like =
"http2://example.org" and have it just automatically understood that =
it's "http/2 over port whatever" will be extremely useful. A no brainer =
even. So much so that if the working group here doesn't choose to define =
it, I'll likely just end up writing it up as an individual submission. =
That way, when I write.. <form method=3D"post" =
action=3D"http2://example.org">...</form> the notion that http/2 is =
being used is explicit and no upgrade discovery/negotiation is required =
at all. That's what url schemes are for in the first place, right?

I don't see any consensus to do this here; does anyone support James' =
position, or want to discuss it more?

(i.e., we've heard enough from folks challenging this approach, for now)

Regards,

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 20:59:38 2012
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 E18FD11E80D3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 20:59:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.677
X-Spam-Level: 
X-Spam-Status: No, score=-9.677 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gokwq3w4KvfI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 20:59:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C66A611E810B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 20:59:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQs6k-0001Ol-M2 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 03:58:18 +0000
Resent-Date: Wed, 24 Oct 2012 03:58:18 +0000
Resent-Message-Id: <E1TQs6k-0001Ol-M2@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 1TQs6g-0001O1-Jp for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 03:58:14 +0000
Received: from mail-qa0-f43.google.com ([209.85.216.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1TQs6f-00017D-J7 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 03:58:14 +0000
Received: by mail-qa0-f43.google.com with SMTP id k1so2674885qaf.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 20:57: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 :content-transfer-encoding:x-system-of-record; bh=4o6ymRvpU8sy5IkPBEyvqWjbewkc5AtTKRcFzeWmTAI=; b=VoxkITqn6baglJVWFAYDvG5lNX1aXtfrR49vnElJptHF+0UAXzc1PkHQcEWD8RhJH7 omK8/Q0OkoNy8kC7S4U4KDD2ErAhId9glbrG57ON26WrcUBx8cg+1w5n99ZwXUg1TtAq RH+IMTu04aHfKZoKadDExpW1+56K9h97hQbczk24W6nu6I7ZQ985aJuA4TQBwu1H/SNa 9gtlOFpWDoZiF3BJ7nETxx3Q7QUb67+uzCs7wkkuattCvD84MFC4Z3HJkDGjZuuPHK5b vHzMJg8iOcgn1t+yvJyTA+OqdxwGHYLe/oiM5z9e3sBx1FQ+qbTfkqLSZRrIUR/cbpyQ SSSg==
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 :content-transfer-encoding:x-system-of-record:x-gm-message-state; bh=4o6ymRvpU8sy5IkPBEyvqWjbewkc5AtTKRcFzeWmTAI=; b=XZavpgzXJg5+1pqKExXsN+mXxpzt7EDGSlI5SlWj5YzUP2nbnAw+aB51efnNK2P+w1 BKtFgNr6L3D7gN/hDEG/Fsk/besEKxi/YXh0FxEbTEbESi6G/92uBnqxdB4/9K+Lhoij pS8LLAjtZgkUPrw2WFF03FTqVg5Vdg0w+1rsvkOqL85gUPFPqvFGVL+AQBXgxUzT/QxA qv+rYu/2MmshW8JhbwcMDPqhRSE+MIHQTCEcsyCAO/xezu7k3+eEaK+Fr7iRVQZkJqiy T5vwZvGAEy7T/tSV4Ecw9pKqibF8F3+t7/8ew2GULw16B2CUx4iKmXQIYcjb8F125LKK tXOQ==
MIME-Version: 1.0
Received: by 10.224.33.135 with SMTP id h7mr3961103qad.26.1351051067360; Tue, 23 Oct 2012 20:57:47 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.195.65 with HTTP; Tue, 23 Oct 2012 20:57:47 -0700 (PDT)
In-Reply-To: <0BFC4563-2283-4C5C-9856-2FDC9343ACFF@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <0BFC4563-2283-4C5C-9856-2FDC9343ACFF@mnot.net>
Date: Tue, 23 Oct 2012 20:57:47 -0700
X-Google-Sender-Auth: 8LoeCh1nS40SfexmpzD_Z3Txol8
Message-ID: <CAA4WUYgHUeyMYBryZhAA9y-e+w8rPBBi6nTOB8dHiiogboGpHw@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Mark Nottingham <mnot@mnot.net>
Cc: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQkZpTOK8kVDWXo1R4HVEITi7EwSTPSe8yQiMPwSaRB2esJ1rHm/MdYUWs+2Sd1ChKN/ckZRlal2k0yDDN3WHRB+ilfj2XvlMGZqKHY73bliwJuFs/XvISmMnGny5zH1XZnQZp6wL/bsk8sY24ybNn06ctztVO5DN1hcbs4ACQkNqA6tm+bcVED6K0Zdbo03Oxn+/6HG
Received-SPF: pass client-ip=209.85.216.43; envelope-from=willchan@google.com; helo=mail-qa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-2.400, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQs6f-00017D-J7 383e04bd45162a368d0a46280ba42961
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAA4WUYgHUeyMYBryZhAA9y-e+w8rPBBi6nTOB8dHiiogboGpHw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15444
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>

On Tue, Oct 23, 2012 at 8:44 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
> On 24/10/2012, at 3:50 AM, James M Snell <jasnell@gmail.com> wrote:
>
> [...]
>>>  Does anyone object to us defining such a record (type TBD), as long as=
 it's not the only way to get to HTTP/2 for HTTP URIs?
>>
>> Defining a new dns record type would be unnecessary and would be the wro=
ng approach. SRV records were made specifically for this kind of use. They'=
re certainly not perfect but inventing a new record type specifically for h=
ttp2 stuff is even less so.
>
> We're not talking about defining a new record type, only deciding whether=
 DNS is an appropriate OPTIONAL upgrade path, and EVENTUALLY which existing=
 record type to use.
>
> Everyone, please focus on the questions at hand -- we don't need to have =
a round of +1s and resulting back-and-forth on an issue that's not even bei=
ng discussed yet.
>
>
>> 2) Using a response header to hint that HTTP/2 is available on another p=
ort.
>>
>> This approach hasn't been talked about in detail yet, but it apparently =
(as some have noted) has the disadvantage of not upgrading the first intera=
ction, and of requiring a separate cache (and caching model) for this infor=
mation.
>>
>> Who wants to pursue this approach? If so, we need a small proposal writt=
en, preferably as an I-D, but an e-mail would do.
>>
>>
>> This is one of those ideas that sounds interesting in theory but I don't=
 see how it would be effective in practice.
>
> Yep - that's why I asked for proposals.

It works in practice. Alternate-Protocol is deployed and live. I'm not
terribly excited about it, since I'd rather people use https:// with
whatever negotiation scheme the TLS WG comes up with.

>
>
>>  And, are there any other approaches we want to put on the table?
>>
>> For browsers, upgrading on the first connection is obviously going to be=
 critical. The DNS option seems like the best approach for the most general=
 case, despite the various flaws in that approach. montenegro-httpbis-http2=
-negotiation seems to provide a reasonable fallback when we're talking prim=
arily about GET/HEAD traffic, but it has obvious issues when dealing with P=
OST/PUT/PATCH type operations. I do not really want to always have to send =
PUT requests as HTTP/1.1 when what I really want is to use HTTP/2.0 for the=
 entire flow. For payload-bearing requests, upgrade needs to be negotiated =
before the initial request is sent.
>>
>> One possible way to mitigate this would be to combine the Upgrade header=
 approach with a new Expect token. For instance...
>>
>>   POST /default.htm HTTP/1.1
>>   Host: server.example.com
>>   Connection: Upgrade
>>   Upgrade: HTTP/2.0
>>   Expect: 101-upgrade
>>
>> The addition of the Expect header does two things...
>>
>> 1. It makes the upgrade a requirement rather than optional...
>> 2. The client would then wait as reasonable time for the 101 Switching P=
rotocols before it proceeds to send the http/2.0 encoded data...
>>
>> When the client does start sending the data (after receiving the 101 res=
ponse), it would do so by first sending a SYN_STREAM.. To http/1.1 servers,=
 this would appear to be nothing more than regular POST payload data. For h=
ttp/2 traffic, this requires an initial round trip but it addresses the upg=
rade on payload-bearing request issue... and is exactly the kind of thing t=
he Expect header was intended for. The scheme is obviously far from perfect=
, however.
>
> Hm. I'd be interested to hear from implementers on this. The only advanta=
ge that I see is that you'd be able to start multiplexing other requests on=
 the same connection sooner. However, you could also just use SRV, or a dif=
ferent connection if it's not available.

I agree with Mark.

>
>
>> Alternatively, I firmly believe that a http2 URI scheme as a reasonable =
fallback needs to be considered as an option here... particularly if we do =
define a dedicated http/2 default port. Yes, I agree with the whole "we wan=
t to do existing http:// and https:// traffic over http/2 transparently" ar=
gument and fully understand the challenges of introducing a new URI scheme.=
 However, there will be instances where upgrade negotiation is simply not g=
oing to be necessary and for which backwards compatibility with existing in=
frastructure is going to be unnecessary. For those cases, the ability to pa=
ss a URL like "http2://example.org" and have it just automatically understo=
od that it's "http/2 over port whatever" will be extremely useful. A no bra=
iner even. So much so that if the working group here doesn't choose to defi=
ne it, I'll likely just end up writing it up as an individual submission. T=
hat way, when I write.. <form method=3D"post" action=3D"http2://example.org=
">...</form> the notion that http/2 is being used is explicit and no upgrad=
e discovery/negotiation is required at all. That's what url schemes are for=
 in the first place, right?
>
> I don't see any consensus to do this here; does anyone support James' pos=
ition, or want to discuss it more?
>
> (i.e., we've heard enough from folks challenging this approach, for now)
>
> Regards,
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 21:00:38 2012
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 DE26F11E810B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:00:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.05
X-Spam-Level: 
X-Spam-Status: No, score=-8.05 tagged_above=-999 required=5 tests=[AWL=2.249, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LFexfnQj02Vj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:00:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 063E411E80D3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 21:00:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQs8H-0001X0-7W for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 03:59:53 +0000
Resent-Date: Wed, 24 Oct 2012 03:59:53 +0000
Resent-Message-Id: <E1TQs8H-0001X0-7W@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQs8E-0001VM-HD for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 03:59:50 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQs8D-000197-Lt for ietf-http-wg@w3.org; Wed, 24 Oct 2012 03:59:50 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 14ED722E253; Tue, 23 Oct 2012 23:59:26 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAA4WUYgHUeyMYBryZhAA9y-e+w8rPBBi6nTOB8dHiiogboGpHw@mail.gmail.com>
Date: Wed, 24 Oct 2012 14:59:27 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8BE2CF3F-C861-4F7B-A68A-8EC119C579B5@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <0BFC4563-2283-4C5C-9856-2FDC9343ACFF@mnot.net> <CAA4WUYgHUeyMYBryZhAA9y-e+w8rPBBi6nTOB8dHiiogboGpHw@mail.gmail.com>
To: =?utf-8?Q?William_Chan_=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: AWL=-2.625, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQs8D-000197-Lt 140137a8c9dd6714cdd7c25008b2afc0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/8BE2CF3F-C861-4F7B-A68A-8EC119C579B5@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15445
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>

On 24/10/2012, at 2:57 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) =
<willchan@chromium.org> wrote:

> It works in practice. Alternate-Protocol is deployed and live. I'm not
> terribly excited about it, since I'd rather people use https:// with
> whatever negotiation scheme the TLS WG comes up with.

Would you or someone else familiar with it mind writing up a small spec =
for it?=20

Ideally an I-D, but an e-mail will suffice.

Thanks,

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 21:06:12 2012
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 9562D11E8115 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:06:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.281
X-Spam-Level: 
X-Spam-Status: No, score=-8.281 tagged_above=-999 required=5 tests=[AWL=2.317, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V7ilWeJ+Ff9e for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:06:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2732211E810B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 21:06:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQsDE-0005hr-JA for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 04:05:00 +0000
Resent-Date: Wed, 24 Oct 2012 04:05:00 +0000
Resent-Message-Id: <E1TQsDE-0005hr-JA@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQsDA-0005h8-HT for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 04:04:56 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQsD9-00027M-Ei for ietf-http-wg@w3.org; Wed, 24 Oct 2012 04:04:56 +0000
Received: by mail-qc0-f171.google.com with SMTP id d1so52647qca.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 21:04:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=dE/H7bpePNgdp313EzzH0nSpO5GTOC0+jNrPSNu7i/Q=; b=iqr9sBTQ22HMrE+pnM83OA13pHy8zt96kNE9FaTiGB0UlYgumz2BKIpoUGSaoWt1A5 mu07YZeXA+jB24Rvz7eJMKk1JEPkZHe3olkSKCBbhVtWHRExMrrTJ/1FYRWRt2r673be WTaUsGfu1uKe8plsG/WyhCi4VEGglkbougaWrdYYdFRgOhzWeCwDyMV1u5qGZmODjU9W gFa0WqcBUNBDImCRLhmQIEYXyniMWSp939nRr9ou62wzJzmwp9rLWIuRzZ9EhiJe6BWa wksvjeY+W2nYXLSuI7hFtEGKu6rg4sEsLhJ2lYgBXcewIVwrfDd7rua33/eJl93rvn0Y Eexw==
Received: by 10.224.188.200 with SMTP id db8mr6785233qab.86.1351051469682; Tue, 23 Oct 2012 21:04:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Tue, 23 Oct 2012 21:04:09 -0700 (PDT)
In-Reply-To: <0BFC4563-2283-4C5C-9856-2FDC9343ACFF@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <0BFC4563-2283-4C5C-9856-2FDC9343ACFF@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 23 Oct 2012 21:04:09 -0700
Message-ID: <CABP7RbcRGUBeED2ZRMh4wYGvhGDg67+duc7BwhW++Uk1Ms0sRQ@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf303347fbec773404ccc62e98
Received-SPF: pass client-ip=209.85.216.171; envelope-from=jasnell@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQsD9-00027M-Ei 7aba4b4e526c6b52ca813a663aa1e756
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CABP7RbcRGUBeED2ZRMh4wYGvhGDg67+duc7BwhW++Uk1Ms0sRQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15446
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>

--20cf303347fbec773404ccc62e98
Content-Type: text/plain; charset=UTF-8

On Tue, Oct 23, 2012 at 8:44 PM, Mark Nottingham <mnot@mnot.net> wrote:

>
> On 24/10/2012, at 3:50 AM, James M Snell <jasnell@gmail.com> wrote:
>
> [...]
> >>  Does anyone object to us defining such a record (type TBD), as long as
> it's not the only way to get to HTTP/2 for HTTP URIs?
> >
> > Defining a new dns record type would be unnecessary and would be the
> wrong approach. SRV records were made specifically for this kind of use.
> They're certainly not perfect but inventing a new record type specifically
> for http2 stuff is even less so.
>
> We're not talking about defining a new record type, only deciding whether
> DNS is an appropriate OPTIONAL upgrade path, and EVENTUALLY which existing
> record type to use.
>
> Everyone, please focus on the questions at hand -- we don't need to have a
> round of +1s and resulting back-and-forth on an issue that's not even being
> discussed yet.
>
>
Ok.. consider this a proposal then ;-)


>
> > 2) Using a response header to hint that HTTP/2 is available on another
> port.
> >
> > This approach hasn't been talked about in detail yet, but it apparently
> (as some have noted) has the disadvantage of not upgrading the first
> interaction, and of requiring a separate cache (and caching model) for this
> information.
> >
> > Who wants to pursue this approach? If so, we need a small proposal
> written, preferably as an I-D, but an e-mail would do.
> >
> >
> > This is one of those ideas that sounds interesting in theory but I don't
> see how it would be effective in practice.
>
> Yep - that's why I asked for proposals.
>
>
> >  And, are there any other approaches we want to put on the table?
> >
> > For browsers, upgrading on the first connection is obviously going to be
> critical. The DNS option seems like the best approach for the most general
> case, despite the various flaws in that approach.
> montenegro-httpbis-http2-negotiation seems to provide a reasonable fallback
> when we're talking primarily about GET/HEAD traffic, but it has obvious
> issues when dealing with POST/PUT/PATCH type operations. I do not really
> want to always have to send PUT requests as HTTP/1.1 when what I really
> want is to use HTTP/2.0 for the entire flow. For payload-bearing requests,
> upgrade needs to be negotiated before the initial request is sent.
> >
> > One possible way to mitigate this would be to combine the Upgrade header
> approach with a new Expect token. For instance...
> >
> >   POST /default.htm HTTP/1.1
> >   Host: server.example.com
> >   Connection: Upgrade
> >   Upgrade: HTTP/2.0
> >   Expect: 101-upgrade
> >
> > The addition of the Expect header does two things...
> >
> > 1. It makes the upgrade a requirement rather than optional...
> > 2. The client would then wait as reasonable time for the 101 Switching
> Protocols before it proceeds to send the http/2.0 encoded data...
> >
> > When the client does start sending the data (after receiving the 101
> response), it would do so by first sending a SYN_STREAM.. To http/1.1
> servers, this would appear to be nothing more than regular POST payload
> data. For http/2 traffic, this requires an initial round trip but it
> addresses the upgrade on payload-bearing request issue... and is exactly
> the kind of thing the Expect header was intended for. The scheme is
> obviously far from perfect, however.
>
> Hm. I'd be interested to hear from implementers on this. The only
> advantage that I see is that you'd be able to start multiplexing other
> requests on the same connection sooner. However, you could also just use
> SRV, or a different connection if it's not available.
>
>
Well.. the other advantage is that you upgrade before sending payload data,
which is a step up from montenegro-httpbis-http2-negotiation... It's
certainly not without it's problems, however. For my money, however, the
SRV route is preferable but certainly has it's own range of issues.

(and, so we're clear, who exactly do you classify as "implementors" here?)


>
> > Alternatively, I firmly believe that a http2 URI scheme as a reasonable
> fallback needs to be considered as an option here... particularly if we do
> define a dedicated http/2 default port. Yes, I agree with the whole "we
> want to do existing http:// and https:// traffic over http/2
> transparently" argument and fully understand the challenges of introducing
> a new URI scheme. However, there will be instances where upgrade
> negotiation is simply not going to be necessary and for which backwards
> compatibility with existing infrastructure is going to be unnecessary. For
> those cases, the ability to pass a URL like "http2://example.org" and
> have it just automatically understood that it's "http/2 over port whatever"
> will be extremely useful. A no brainer even. So much so that if the working
> group here doesn't choose to define it, I'll likely just end up writing it
> up as an individual submission. That way, when I write.. <form
> method="post" action="http2://example.org">...</form> the notion that
> http/2 is being used is explicit and no upgrade discovery/negotiation is
> required at all. That's what url schemes are for in the first place, right?
>
> I don't see any consensus to do this here; does anyone support James'
> position, or want to discuss it more?
>
>
You're the one who asked for proposals ;-) ... I believe you're also the
one who said, "we don't need to have a round of +1s and resulting
back-and-forth on an issue that's not even being discussed yet." ... I
brought this up as one of several possible proposals for discussion at some
point. I'm not going to argue this particular point of view further right
now but it does need to be recognized that
http2-without-upgrade-negotiation is definitely something that needs to be
considered in-scope.

- James


> (i.e., we've heard enough from folks challenging this approach, for now)
>
> Regards,
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>

--20cf303347fbec773404ccc62e98
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Oct 23, 2012 at 8:44 PM, Mark Nottingham <span dir=3D"ltr">&lt;=
<a href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</s=
pan> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
On 24/10/2012, at 3:50 AM, James M Snell &lt;<a href=3D"mailto:jasnell@gmai=
l.com">jasnell@gmail.com</a>&gt; wrote:<br>
<br>
[...]<br>
<div class=3D"im">&gt;&gt; =C2=A0Does anyone object to us defining such a r=
ecord (type TBD), as long as it&#39;s not the only way to get to HTTP/2 for=
 HTTP URIs?<br>
&gt;<br>
&gt; Defining a new dns record type would be unnecessary and would be the w=
rong approach. SRV records were made specifically for this kind of use. The=
y&#39;re certainly not perfect but inventing a new record type specifically=
 for http2 stuff is even less so.<br>


<br>
</div>We&#39;re not talking about defining a new record type, only deciding=
 whether DNS is an appropriate OPTIONAL upgrade path, and EVENTUALLY which =
existing record type to use.<br>
<br>
Everyone, please focus on the questions at hand -- we don&#39;t need to hav=
e a round of +1s and resulting back-and-forth on an issue that&#39;s not ev=
en being discussed yet.<br>
<div class=3D"im"><br></div></blockquote><div><br></div><div>Ok.. consider =
this a proposal then ;-)</div><div>=C2=A0</div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x"><div class=3D"im">


<br>
&gt; 2) Using a response header to hint that HTTP/2 is available on another=
 port.<br>
&gt;<br>
&gt; This approach hasn&#39;t been talked about in detail yet, but it appar=
ently (as some have noted) has the disadvantage of not upgrading the first =
interaction, and of requiring a separate cache (and caching model) for this=
 information.<br>


&gt;<br>
&gt; Who wants to pursue this approach? If so, we need a small proposal wri=
tten, preferably as an I-D, but an e-mail would do.<br>
&gt;<br>
&gt;<br>
&gt; This is one of those ideas that sounds interesting in theory but I don=
&#39;t see how it would be effective in practice.<br>
<br>
</div>Yep - that&#39;s why I asked for proposals.<br>
<div class=3D"im"><br>
<br>
&gt; =C2=A0And, are there any other approaches we want to put on the table?=
<br>
&gt;<br>
&gt; For browsers, upgrading on the first connection is obviously going to =
be critical. The DNS option seems like the best approach for the most gener=
al case, despite the various flaws in that approach. montenegro-httpbis-htt=
p2-negotiation seems to provide a reasonable fallback when we&#39;re talkin=
g primarily about GET/HEAD traffic, but it has obvious issues when dealing =
with POST/PUT/PATCH type operations. I do not really want to always have to=
 send PUT requests as HTTP/1.1 when what I really want is to use HTTP/2.0 f=
or the entire flow. For payload-bearing requests, upgrade needs to be negot=
iated before the initial request is sent.<br>


&gt;<br>
&gt; One possible way to mitigate this would be to combine the Upgrade head=
er approach with a new Expect token. For instance...<br>
&gt;<br>
&gt; =C2=A0 POST /default.htm HTTP/1.1<br>
&gt; =C2=A0 Host: <a href=3D"http://server.example.com" target=3D"_blank">s=
erver.example.com</a><br>
&gt; =C2=A0 Connection: Upgrade<br>
&gt; =C2=A0 Upgrade: HTTP/2.0<br>
&gt; =C2=A0 Expect: 101-upgrade<br>
&gt;<br>
&gt; The addition of the Expect header does two things...<br>
&gt;<br>
&gt; 1. It makes the upgrade a requirement rather than optional...<br>
&gt; 2. The client would then wait as reasonable time for the 101 Switching=
 Protocols before it proceeds to send the http/2.0 encoded data...<br>
&gt;<br>
&gt; When the client does start sending the data (after receiving the 101 r=
esponse), it would do so by first sending a SYN_STREAM.. To http/1.1 server=
s, this would appear to be nothing more than regular POST payload data. For=
 http/2 traffic, this requires an initial round trip but it addresses the u=
pgrade on payload-bearing request issue... and is exactly the kind of thing=
 the Expect header was intended for. The scheme is obviously far from perfe=
ct, however.<br>


<br>
</div>Hm. I&#39;d be interested to hear from implementers on this. The only=
 advantage that I see is that you&#39;d be able to start multiplexing other=
 requests on the same connection sooner. However, you could also just use S=
RV, or a different connection if it&#39;s not available.<br>


<div class=3D"im"><br></div></blockquote><div><br></div><div>Well.. the oth=
er advantage is that you upgrade before sending payload data, which is a st=
ep up from=C2=A0<span style=3D"font-size:13.333333015441895px;color:rgb(80,=
0,80);font-family:arial,sans-serif;background-color:rgb(255,255,255)">monte=
negro-httpbis-http2-</span><span style=3D"font-size:13.333333015441895px;co=
lor:rgb(80,0,80);font-family:arial,sans-serif;background-color:rgb(255,255,=
255)">negotiation... It&#39;s certainly not without it&#39;s problems, howe=
ver. For my money, however, the SRV route is preferable but certainly has i=
t&#39;s own range of issues.=C2=A0</span></div>

<div><span style=3D"font-size:13.333333015441895px;color:rgb(80,0,80);font-=
family:arial,sans-serif;background-color:rgb(255,255,255)"><br></span></div=
><div><span style=3D"font-size:13.333333015441895px;color:rgb(80,0,80);font=
-family:arial,sans-serif;background-color:rgb(255,255,255)">(and, so we&#39=
;re clear, who exactly do you classify as &quot;implementors&quot; here?)</=
span></div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"im">
<br>
&gt; Alternatively, I firmly believe that a http2 URI scheme as a reasonabl=
e fallback needs to be considered as an option here... particularly if we d=
o define a dedicated http/2 default port. Yes, I agree with the whole &quot=
;we want to do existing http:// and https:// traffic over http/2 transparen=
tly&quot; argument and fully understand the challenges of introducing a new=
 URI scheme. However, there will be instances where upgrade negotiation is =
simply not going to be necessary and for which backwards compatibility with=
 existing infrastructure is going to be unnecessary. For those cases, the a=
bility to pass a URL like &quot;http2://<a href=3D"http://example.org" targ=
et=3D"_blank">example.org</a>&quot; and have it just automatically understo=
od that it&#39;s &quot;http/2 over port whatever&quot; will be extremely us=
eful. A no brainer even. So much so that if the working group here doesn&#3=
9;t choose to define it, I&#39;ll likely just end up writing it up as an in=
dividual submission. That way, when I write.. &lt;form method=3D&quot;post&=
quot; action=3D&quot;http2://<a href=3D"http://example.org" target=3D"_blan=
k">example.org</a>&quot;&gt;...&lt;/form&gt; the notion that http/2 is bein=
g used is explicit and no upgrade discovery/negotiation is required at all.=
 That&#39;s what url schemes are for in the first place, right?<br>


<br>
</div>I don&#39;t see any consensus to do this here; does anyone support Ja=
mes&#39; position, or want to discuss it more?<br>
<br></blockquote><div><br></div><div>You&#39;re the one who asked for propo=
sals ;-) ... I believe you&#39;re also the one who said, &quot;<span style=
=3D"background-color:rgb(255,255,255);color:rgb(34,34,34);font-family:arial=
,sans-serif;font-size:13.333333015441895px">we don&#39;t need to have a rou=
nd of +1s and resulting back-and-forth on an issue that&#39;s not even bein=
g discussed yet.&quot; ... I brought this up as one of several possible pro=
posals for discussion at some point. I&#39;m not going to argue this partic=
ular point of view further right now but it does need to be recognized that=
 http2-without-upgrade-negotiation is definitely something that needs to be=
 considered in-scope.</span></div>

<div><span style=3D"background-color:rgb(255,255,255);color:rgb(34,34,34);f=
ont-family:arial,sans-serif;font-size:13.333333015441895px"><br></span></di=
v><div><span style=3D"background-color:rgb(255,255,255);color:rgb(34,34,34)=
;font-family:arial,sans-serif;font-size:13.333333015441895px">- James</span=
></div>

<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
(i.e., we&#39;ve heard enough from folks challenging this approach, for now=
)<br>
<br>
Regards,<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
Mark Nottingham =C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">h=
ttp://www.mnot.net/</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br>

--20cf303347fbec773404ccc62e98--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 21:14:19 2012
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 B9A0B11E8115 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:14:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.677
X-Spam-Level: 
X-Spam-Status: No, score=-9.677 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0gsjTQuiztM5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:14:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8755511E810B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 21:14:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQsLP-0000Kq-9H for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 04:13:27 +0000
Resent-Date: Wed, 24 Oct 2012 04:13:27 +0000
Resent-Message-Id: <E1TQsLP-0000Kq-9H@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1TQsLL-0000Jb-Dz for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 04:13:23 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1TQsLK-0002KA-Di for ietf-http-wg@w3.org; Wed, 24 Oct 2012 04:13:23 +0000
Received: by mail-qc0-f171.google.com with SMTP id d1so55143qca.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 21:12:56 -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 :content-transfer-encoding:x-system-of-record; bh=sWkn9xEG6HBEUt61lwaM7jEXuDN9BJZ0/duA+Bs91Sk=; b=RZ5M0VuJCY6ZOWSgANvXgJG1XQkAgif0jHMgrUMumEVQlF4nR7uP1xqPhjEevw+M+Y jk5iI5i9nZfPhwncSDn90nQefR6dHvFFlnnZqEnnjUOvZVV0G5jbAL7+e9v0DLHyWyRA dtmI3BmsSyGOw7Yb05ykAFQEq+qYh5ZW/Uqx+K8iXPzZfmQG+GE/XWvDHKIFm3mpxjYb BYyIBVLdTyHRiCVQ3Q/mjsIbQxHEWWk8g7a43l6TiwTXCLLh1SIC1HdjFK5cP9sOqhRr c00DXREVjyuEMps23+MRgRkSxAa7cpGVsNEx6hJkPaDqkeSXQ/Qdy9jNM2av04zQpM+Q UXGg==
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 :content-transfer-encoding:x-system-of-record:x-gm-message-state; bh=sWkn9xEG6HBEUt61lwaM7jEXuDN9BJZ0/duA+Bs91Sk=; b=hmlBBxmHO+xq3J5ZBcRLJtjkWFkh+j0/2UtTfSpgEQHTr3WzjwFwRcPtPL3CZ/rluS HEJDqECkl+79LyNOSc08xfc6cT14VyjbYgoLsOTNfnSoAZF59xlhWmvLxkWc4FJFeXF1 a7H4MuRe0Q9OnQIDmspqDu5N5jxlb43Y51FqCjiawBa9o+Kw5VycwBwn1/Uk6xUOX+KA Z0dZh3DHbsqEjY5ZkbZlxrMgfhh7HUzGIdZ56bdyUcFkdXFlGoHOx7Qp62bG8KuYTUXk Bb/xM9rR2JBXdOGfvzy19YjxNoAONOu1pIs9CffvuJkD4WXDBk3y0Y1hde8oJ8dJ/FkP Lekw==
MIME-Version: 1.0
Received: by 10.49.3.227 with SMTP id f3mr8175416qef.60.1351051976771; Tue, 23 Oct 2012 21:12:56 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.195.65 with HTTP; Tue, 23 Oct 2012 21:12:56 -0700 (PDT)
In-Reply-To: <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net>
Date: Tue, 23 Oct 2012 21:12:56 -0700
X-Google-Sender-Auth: gZmgQEvj4i2mTz9KPEFtoe-Hiq0
Message-ID: <CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQmK99wE4xow5Jn/Rx/LOM1olaGNgwKVfotwxsoScenROdlczlP8Mt7E6aJ8TpGNElQ9i7iVWptl/HOlRH6URlREgbISsoAObJDP+v0pjj11M1RZz2YvvYoRD1ar31MGSMWbpmjGSD2CR3YPHrOzayBwopw2SLLIZvO6VA15TARpVOI49bFpyWnIrjO9Etcn7xpQObLy
Received-SPF: pass client-ip=209.85.216.171; envelope-from=willchan@google.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-2.400, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQsLK-0002KA-Di c2ba78c984310623f20a2644f369e152
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15447
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>

On Mon, Oct 22, 2012 at 7:50 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
> On 23/10/2012, at 1:33 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) <wi=
llchan@chromium.org> wrote:
>
>> Overall, sounds good. I've included some clarifications/questions below.
>
> [...]
>
>>> Who's willing to do some experimentation? Specifically, does anyone hav=
e access to the code that was used before (IIRC, people bought some ads and=
 inserted some Java to probe the network)?
>>
>> Do you mean the Chromium HTTP upgrade experiment agl referred to in
>> http://www.ietf.org/mail-archive/web/tls/current/msg05593.html?
>
> No, IIRC there was also some broader experimentation using ads; I'll dig =
around a bit more.
>
> Of course, if Chrome (or any other browser) would be interested in runnin=
g an experiment, we'd love to do that too -- provided we can have input int=
o the design.

Is there anything you'd like to change about the design in
http://www.ietf.org/mail-archive/web/tls/current/msg05593.html? I'm in
general supportive of running experiments, I just don't want to waste
our time unless there was something deficient about the previous
experiment. Also, I suspect a non-Google experiment would carry more
weight :) External validation is good.

On that point, at Realtime Conf today, Arnout Kazemier provided a
bunch of data on issues with WebSockets deployment.
https://speakerdeck.com/3rdeden/realtimeconf-dot-oct-dot-2012. As he
says "tl;dl: Always use SSL".

>
>
>>> Does anyone object to us defining such a record (type TBD), as long as =
it's not the only way to get to HTTP/2 for HTTP URIs?
>>
>> I'm not sure if my previous emails were taken to indicate "interest"
>> here. I forget what I said too :) As long as this is more of an
>> optional optimization than anything, I guess I'm OK with it. I'm very
>> much concerned about relying on it, due to experiments we have run
>> with TXT records that show us noticeably higher failure rates in
>> comparison to port 443, higher latency (we'd definitely have to race
>> this), and extra DNS queries.
>
> Yes, I think relying on it would be a mistake, for a variety of reasons.
>
>
>>> 2) Using a response header to hint that HTTP/2 is available on another =
port.
>>>
>>> This approach hasn't been talked about in detail yet, but it apparently=
 (as some have noted) has the disadvantage of not upgrading the first inter=
action, and of requiring a separate cache (and caching model) for this info=
rmation.
>>
>> Just to be clear, SRV records also have the disadvantage of not
>> upgrading the first interaction, unless you block on the response,
>> which Chromium definitely is not going to do unless the environment
>> changes such that it doesn't kill performance.
>
>
> I'll leave it to the DNS experts to debate the capabilities and merits he=
re.
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 21:20:53 2012
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 577A911E810B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:20:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.225
X-Spam-Level: 
X-Spam-Status: No, score=-8.225 tagged_above=-999 required=5 tests=[AWL=2.374, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ly8A-1HOIHJJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:20:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4AE4B21F884A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 21:20:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQsRm-0004jD-QT for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 04:20:02 +0000
Resent-Date: Wed, 24 Oct 2012 04:20:02 +0000
Resent-Message-Id: <E1TQsRm-0004jD-QT@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQsRi-0004NA-Ci for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 04:19:58 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQsRh-0001bv-8d for ietf-http-wg@w3.org; Wed, 24 Oct 2012 04:19:58 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3EAB622E253; Wed, 24 Oct 2012 00:19:33 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7RbcRGUBeED2ZRMh4wYGvhGDg67+duc7BwhW++Uk1Ms0sRQ@mail.gmail.com>
Date: Wed, 24 Oct 2012 15:19:35 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2C50F907-B73F-4193-BC7E-9232605D5D42@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <0BFC4563-2283-4C5C-9856-2FDC9343ACFF@mnot.net> <CABP7RbcRGUBeED2ZRMh4wYGvhGDg67+duc7BwhW++Uk1Ms0sRQ@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: AWL=-2.538, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQsRh-0001bv-8d c5c107cf228bb40d6a73c6f3b50625e8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/2C50F907-B73F-4193-BC7E-9232605D5D42@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15448
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>

On 24/10/2012, at 3:04 PM, James M Snell <jasnell@gmail.com> wrote:
>=20
>>>> Does anyone object to us defining such a record (type TBD), as long =
as it's not the only way to get to HTTP/2 for HTTP URIs?
>>>>=20
>>> Defining a new dns record type would be unnecessary and would be the =
wrong approach. SRV records were made specifically for this kind of use. =
They're certainly not perfect but inventing a new record type =
specifically for http2 stuff is even less so.
>>>=20
>> We're not talking about defining a new record type, only deciding =
whether DNS is an appropriate OPTIONAL upgrade path, and EVENTUALLY =
which existing record type to use.
>>=20
>> Everyone, please focus on the questions at hand -- we don't need to =
have a round of +1s and resulting back-and-forth on an issue that's not =
even being discussed yet.
>>=20
> Ok.. consider this a proposal then ;-)

For what?  I asked a very clear question, and you jumped to the next =
phase of the discussion prematurely.=20

<soapbox>
We need to start to control the discussion here; it was comparatively =
free-wheeling before we re-chartered, but if it's allowed to meander too =
much now, we'll get off track. Every message sent to this list is =
delivered to thousands of mailboxes, and needs to be read by (at least) =
hundreds of people. The more noise we have on the list, the more likely =
it is to scare away folks who have valuable input but not much time.

Please understand I'm not picking on you in particular; this is for =
everyone.
</soapbox>

>>> Hm. I'd be interested to hear from implementers on this. The only =
advantage that I see is that you'd be able to start multiplexing other =
requests on the same connection sooner. However, you could also just use =
SRV, or a different connection if it's not available.
>>=20
> Well.. the other advantage is that you upgrade before sending payload =
data, which is a step up from montenegro-httpbis-http2-negotiation... =
It's certainly not without it's problems, however. For my money, =
however, the SRV route is preferable but certainly has it's own range of =
issues.=20

Ack.

> (and, so we're clear, who exactly do you classify as "implementors" =
here?)

See the charter.=20

In this case, it's the people who have to implement the upgrade =
mechanism, both on the client side and the server side. This includes =
everyone, but I'll be paying particular attention to the implementations =
that can "move the needle" and get market adoption.=20

In other words, we want this to work for someone when they write a Perl =
library to do it, but we NEED it to work for that handful of =
implementations that define the lion's share of traffic on the Web -- =
again, both client and server.


>>  Alternatively, I firmly believe that a http2 URI scheme as a =
reasonable fallback needs to be considered as an option here... =
particularly if we do define a dedicated http/2 default port. Yes, I =
agree with the whole "we want to do existing http:// and https:// =
traffic over http/2 transparently" argument and fully understand the =
challenges of introducing a new URI scheme. However, there will be =
instances where upgrade negotiation is simply not going to be necessary =
and for which backwards compatibility with existing infrastructure is =
going to be unnecessary. For those cases, the ability to pass a URL like =
"http2://example.org" and have it just automatically understood that =
it's "http/2 over port whatever" will be extremely useful. A no brainer =
even. So much so that if the working group here doesn't choose to define =
it, I'll likely just end up writing it up as an individual submission. =
That way, when I write.. <form method=3D"post" =
action=3D"http2://example.org">...</form> the notion that http/2 is =
being used is explicit and no upgrade discovery/negotiation is required =
at all. That's what url schemes are for in the first place, right?
>>=20
>> I don't see any consensus to do this here; does anyone support James' =
position, or want to discuss it more?
>=20
>=20
> You're the one who asked for proposals ;-)

Yes, and you've made yours. If you'd like to add to it, that's fine, but =
I'm not sure what point you're trying make here.


> ... I believe you're also the one who said, "we don't need to have a =
round of +1s and resulting back-and-forth on an issue that's not even =
being discussed yet." ... I brought this up as one of several possible =
proposals for discussion at some point. I'm not going to argue this =
particular point of view further right now but it does need to be =
recognized that http2-without-upgrade-negotiation is definitely =
something that needs to be considered in-scope.

It's been brought up before, and I'd characterise the reaction of the WG =
so far as very much against it. This is why I asked for anyone who =
wanted to support it, to firm up that characterisation.=20

Regards,

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 21:27:03 2012
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 39C0121F8854 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:27:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.677
X-Spam-Level: 
X-Spam-Status: No, score=-9.677 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HMcF44Xb7n+y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:27:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8CC5621F83EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 21:27: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 1TQsXA-0007tV-MZ for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 04:25:36 +0000
Resent-Date: Wed, 24 Oct 2012 04:25:36 +0000
Resent-Message-Id: <E1TQsXA-0007tV-MZ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1TQsX7-0007sq-Fq for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 04:25:33 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1TQsX6-0002qz-Jt for ietf-http-wg@w3.org; Wed, 24 Oct 2012 04:25:33 +0000
Received: by mail-qa0-f50.google.com with SMTP id t11so860811qaa.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 21:25:06 -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 :content-transfer-encoding:x-system-of-record; bh=CvYr88TQhF4oaa3VKZzDBeyYzOWQqfrBt1THYV06kRg=; b=l6Z2beQqZ8vyyXJBUFFsxp0j76l4BKtPrnSR+2wQ3+URSqe/9A5GU3/lfgup/3P05X kZ/kN1cyHMxPoUVZtZKW62UdrbbPmXnDL0owLVex6oQSHWHnq6wmvhSRJW4W6WUWELWP lTXDYDX49AB9R63sqNzLAWLJu7pucYyzAPJnJ8EvaZkRJKkqYvSJao23yXYlV4TK+Uju caW++c/TbKqLjx8YoRpc+wT3awYBk20Bp7BXrkV0fYlXDfCq1xUL1U26DAlZ3f6F+lDI 27rreLezG43DFM2cWRb0dL2tfAuMZcUXA+hgMppJYQCqAQTtQwtJ6p+xIcskbfF6Cdr9 h44g==
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 :content-transfer-encoding:x-system-of-record:x-gm-message-state; bh=CvYr88TQhF4oaa3VKZzDBeyYzOWQqfrBt1THYV06kRg=; b=FojY22X+UufYezVSjhAjg03mG9yBMbx9lmFCzphajNwp1IPv4PlK+dGfL1R/t0n53P f/S/tnpULymo+ah9SNJQm1ZjnsKSnIP1j/tq+h1TEbTdN/AoFAWr/7nNYAJ/yDenS0Bb nztlxp6dQxKSHhpxKZ2KCFfXnVMEwnBWabvgiB+HXFEPVY44T7RmZ4fdIm0WrVn+NLbJ Cn8Ki8ZGVkzN0vRbmIU8anghy4hEHosVgsV+O4A2uJDEBQwp36ad4qVqBGMJXo+t8Bnk D4u/dfkVBOlKuQmXsdg3xtW4/5T/wgoHsh96ts4z2NoLn5ohHsChIRD7GxU6JAXUH72Z 3Sfw==
MIME-Version: 1.0
Received: by 10.49.118.40 with SMTP id kj8mr8077639qeb.64.1351052706598; Tue, 23 Oct 2012 21:25:06 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.195.65 with HTTP; Tue, 23 Oct 2012 21:25:06 -0700 (PDT)
In-Reply-To: <CAOdDvNodck+yQAavBPi8-EWsAOpMXMYTFQCVoAVY46FAC5-89w@mail.gmail.com>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <CAOdDvNodck+yQAavBPi8-EWsAOpMXMYTFQCVoAVY46FAC5-89w@mail.gmail.com>
Date: Tue, 23 Oct 2012 21:25:06 -0700
X-Google-Sender-Auth: UvMIymC-LymHV4S2aaxZfN8oB_c
Message-ID: <CAA4WUYj7X3=PotU_ZFrZVhgi+tzhucoCcVZ5tgsD=JX6Kf4MFA@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQnPVplL6c177mYdFNmB3HySc34QWFH5ne3lM6vb31/EAAlL+rIQARgdTJXXZJp0KFvXEh+e2hzXU1LcPxuK2xInv09aqT5O1Uqi/mQSVkriqYTBAdegEVr9cW1pZS/nM1rFxy12cw4BVH0m4H1cQrvr4Oc2AFhBzPBRsY6pGjVWAitm9p8IuyAkaVBqoJIza0w7YRxW
Received-SPF: pass client-ip=209.85.216.50; envelope-from=willchan@google.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-1.800, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQsX6-0002qz-Jt a011d309d140d6c576d1d71ccd653cfc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAA4WUYj7X3=PotU_ZFrZVhgi+tzhucoCcVZ5tgsD=JX6Kf4MFA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15449
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>

On Tue, Oct 23, 2012 at 11:54 AM, Patrick McManus <mcmanus@ducksong.com> wr=
ote:
>
>
> On Mon, Oct 22, 2012 at 10:33 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=
=8C) <willchan@chromium.org>
> wrote:
>>
>>
>> Just to be clear, SRV records also have the disadvantage of not
>> upgrading the first interaction, unless you block on the response,
>
>
> also being clear - in cases where SRV wins the race there is an advantage=
 to
> be had without blocking. A high quality implementation can bundle the srv
> response with the A as an additional record.. even if that isn't what is
> happening today, supporting this mechanism provides a path for servers to
> opt themselves into it without blocking on it. And of course sometimes na=
me
> resolution happens considerably before connect happens so there still mig=
ht
> be an opportunity to collect both the a* and the srv before going to conn=
ect
> without blocking on it even if the SRV considerably lags the A. So I thin=
k
> this is an important optimization.

Ah, I totally forgot that DNS prefetches might significantly mitigate
the penalty of an srv lookup. Good point, thanks.

>
> but +1 on not building in a mandatory delay inducer like blocking on srv,=
 or
> an upgrade with an empty payload.
>


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 21:28:19 2012
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 3D19421F8BB2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:28:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.677
X-Spam-Level: 
X-Spam-Status: No, score=-9.677 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wKqO6pc6zDya for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:28:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8B3D521F83EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 21:28:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQsZE-00089b-Ns for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 04:27:44 +0000
Resent-Date: Wed, 24 Oct 2012 04:27:44 +0000
Resent-Message-Id: <E1TQsZE-00089b-Ns@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <willchan@google.com>) id 1TQsZB-00088w-K6 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 04:27:41 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1TQsZA-0002yz-Lw for ietf-http-wg@w3.org; Wed, 24 Oct 2012 04:27:41 +0000
Received: by mail-qc0-f171.google.com with SMTP id d1so59004qca.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 21:27:15 -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 :content-transfer-encoding:x-system-of-record; bh=topucJFG8Q3UNBztcGaT0XAEmlkqpZ17AzqgixyzqSY=; b=ogObHqUWDt5VUiawFCJobUjAGVrsXWTxmSa7WerLcFA+AR16N/owcyz2sxPDSrc03k +bUNF4MwgjCYsmvyZbbwl4FF66y5y2f11Kp42OFMwHsCV0N4530M1HcWIhLfv8/PD1Zs EELYujrxX5WWA/Nuy+wK6Ui93egD/pFhqJImKsh39fWV3iGiPJawPKjnHVJLg3P+2QVy uIfBraXAIpQJshQoqW8dL5Unjv5y4N2lF/wST8x1ZpWV2ynr6Q5Fmw6unbIb1iiy8F3a tORdNCt9H7Ke6yaAubjwiM9X9BbIbhEyg5ZGCDQcXNxTk/P2ol5jDkMwS/+0Oeu+jvt0 OqQw==
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 :content-transfer-encoding:x-system-of-record:x-gm-message-state; bh=topucJFG8Q3UNBztcGaT0XAEmlkqpZ17AzqgixyzqSY=; b=m6M+XEvmDAtAnLfGW68pgJZOw2ZnrcbtLXE4FguPQXQjWqnMkPQm7kwndWxfj/0E6M TJ8cq1WZ4laVCcBrSp7dI6+hI8XCMB7fYBOTNhDIQ5rW4vnywy2ZkLwfqrNfgJse8rhX 0Nh8C9f4kUZ7bjUmikIn2+leR1SsZQZau0RsPgt2fZG3Jl4ogdruthDmfBDmdtT1MwFH ey1QXWFUmGEs+eDL4zSQx7V5qOSXS3d8NpzmrVL9q9m8DbB8gmGWQ+wp0CEKIC2eJBXv ANwnTJ/Acjf84NSDmc/2G8Yr6gR+5rjd9givP+qy+HsbD2qob+FmcNorUxa3Fpo0KusM Pmgw==
MIME-Version: 1.0
Received: by 10.49.104.65 with SMTP id gc1mr8184240qeb.22.1351052834978; Tue, 23 Oct 2012 21:27:14 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.229.195.65 with HTTP; Tue, 23 Oct 2012 21:27:14 -0700 (PDT)
In-Reply-To: <8BE2CF3F-C861-4F7B-A68A-8EC119C579B5@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <0BFC4563-2283-4C5C-9856-2FDC9343ACFF@mnot.net> <CAA4WUYgHUeyMYBryZhAA9y-e+w8rPBBi6nTOB8dHiiogboGpHw@mail.gmail.com> <8BE2CF3F-C861-4F7B-A68A-8EC119C579B5@mnot.net>
Date: Tue, 23 Oct 2012 21:27:14 -0700
X-Google-Sender-Auth: E74BlPMvScYcIHr6SwdR9HdT74Y
Message-ID: <CAA4WUYii5bj2j1KMyYDVUh7aUPRSUgGq_V2_ZNx1em8-6EGxkQ@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQnAxZvkEpMktBOfU3PmOu4I1QgMk01SUuhkx7sO6txtP0AmnliLdC5yvzsTB55n+qcrLmvulvU9q8tpVs774WiZy82LKXUoOtKDOORLhVN9lw8do0V9LgqPrwEqe+4OQeFuqzgvaG0uIarsfqmiEnXub10qrY080iNNEQxZYc2nIpyi9WHYWFfRn+gYAAk6oyzMtryq
Received-SPF: pass client-ip=209.85.216.171; envelope-from=willchan@google.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=-1.440, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQsZA-0002yz-Lw 1995a43c82eda78799ee9485ee47c854
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAA4WUYii5bj2j1KMyYDVUh7aUPRSUgGq_V2_ZNx1em8-6EGxkQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15450
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>

Will http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft2#TOC-Se=
rver-Advertisement-of-SPDY-through-the-HTTP-Alternate-Protocol-header
do for now? I'd like to reiterate though that I'd rather people just
use the TLS WG mechanism, whatever it is :)

On Tue, Oct 23, 2012 at 8:59 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
> On 24/10/2012, at 2:57 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) <wi=
llchan@chromium.org> wrote:
>
>> It works in practice. Alternate-Protocol is deployed and live. I'm not
>> terribly excited about it, since I'd rather people use https:// with
>> whatever negotiation scheme the TLS WG comes up with.
>
> Would you or someone else familiar with it mind writing up a small spec f=
or it?
>
> Ideally an I-D, but an e-mail will suffice.
>
> Thanks,
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 21:35:01 2012
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 A35D611E8164 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:35:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.102
X-Spam-Level: 
X-Spam-Status: No, score=-8.102 tagged_above=-999 required=5 tests=[AWL=2.197, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J5g4e7aFit1X for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:35:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3F23111E8170 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 21:35:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQsew-00033B-9W for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 04:33:38 +0000
Resent-Date: Wed, 24 Oct 2012 04:33:38 +0000
Resent-Message-Id: <E1TQsew-00033B-9W@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQseq-000327-1L for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 04:33:32 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQsep-0003Aw-7I for ietf-http-wg@w3.org; Wed, 24 Oct 2012 04:33:31 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9BAA622E253; Wed, 24 Oct 2012 00:33:08 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAA4WUYii5bj2j1KMyYDVUh7aUPRSUgGq_V2_ZNx1em8-6EGxkQ@mail.gmail.com>
Date: Wed, 24 Oct 2012 15:33:10 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <1D13DD5E-11AA-4726-80A9-A780625FE950@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <0BFC4563-2283-4C5C-9856-2FDC9343ACFF@mnot.net> <CAA4WUYgHUeyMYBryZhAA9y-e+w8rPBBi6nTOB8dHiiogboGpHw@mail.gmail.com> <8BE2CF3F-C861-4F7B-A68A-8EC119C579B5@mnot.net> <CAA4WUYii5bj2j1KMyYDVUh7aUPRSUgGq_V2_ZNx1em8-6EGxkQ@mail.gmail.com>
To: =?utf-8?Q?William_Chan_=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: AWL=-2.698, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQsep-0003Aw-7I 01df6a73891b38d14a1ef38b18d456f0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/1D13DD5E-11AA-4726-80A9-A780625FE950@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15451
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>

Thanks, that's fine for now.

Cheers,


On 24/10/2012, at 3:27 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) =
<willchan@chromium.org> wrote:

> Will =
http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft2#TOC-Server=
-Advertisement-of-SPDY-through-the-HTTP-Alternate-Protocol-header
> do for now? I'd like to reiterate though that I'd rather people just
> use the TLS WG mechanism, whatever it is :)
>=20
> On Tue, Oct 23, 2012 at 8:59 PM, Mark Nottingham <mnot@mnot.net> =
wrote:
>>=20
>> On 24/10/2012, at 2:57 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) =
<willchan@chromium.org> wrote:
>>=20
>>> It works in practice. Alternate-Protocol is deployed and live. I'm =
not
>>> terribly excited about it, since I'd rather people use https:// with
>>> whatever negotiation scheme the TLS WG comes up with.
>>=20
>> Would you or someone else familiar with it mind writing up a small =
spec for it?
>>=20
>> Ideally an I-D, but an e-mail will suffice.
>>=20
>> Thanks,
>>=20
>> --
>> Mark Nottingham   http://www.mnot.net/
>>=20
>>=20
>>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 21:49:42 2012
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 AA6AC21F8C0E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:49:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.524
X-Spam-Level: 
X-Spam-Status: No, score=-10.524 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F0fAHmfJI-n3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:49:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 52C6221F8C00 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 21:49:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQstE-000320-Kg for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 04:48:24 +0000
Resent-Date: Wed, 24 Oct 2012 04:48:24 +0000
Resent-Message-Id: <E1TQstE-000320-Kg@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQstB-00031E-0I for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 04:48:21 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQst9-0003Wp-It for ietf-http-wg@w3.org; Wed, 24 Oct 2012 04:48:20 +0000
Received: from [192.168.1.102] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 9157B10ED2D for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 17:47:54 +1300 (NZDT)
Message-ID: <508772F3.1020706@treenet.co.nz>
Date: Wed, 24 Oct 2012 17:47:47 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net> <CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com>
In-Reply-To: <CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQst9-0003Wp-It bb78d8dc734ae9737bf67037602b1bf8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/508772F3.1020706@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15452
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>

On 24/10/2012 5:12 p.m., William Chan (陈智昌) wrote:
> On Mon, Oct 22, 2012 at 7:50 PM, Mark Nottingham <mnot@mnot.net> wrote:
>> On 23/10/2012, at 1:33 PM, William Chan (陈智昌) <willchan@chromium.org> wrote:
>>
>>> Overall, sounds good. I've included some clarifications/questions below.
>> [...]
>>
>>>> Who's willing to do some experimentation? Specifically, does anyone have access to the code that was used before (IIRC, people bought some ads and inserted some Java to probe the network)?
>>> Do you mean the Chromium HTTP upgrade experiment agl referred to in
>>> http://www.ietf.org/mail-archive/web/tls/current/msg05593.html?
>> No, IIRC there was also some broader experimentation using ads; I'll dig around a bit more.
>>
>> Of course, if Chrome (or any other browser) would be interested in running an experiment, we'd love to do that too -- provided we can have input into the design.
> Is there anything you'd like to change about the design in
> http://www.ietf.org/mail-archive/web/tls/current/msg05593.html? I'm in
> general supportive of running experiments, I just don't want to waste
> our time unless there was something deficient about the previous
> experiment. Also, I suspect a non-Google experiment would carry more
> weight :) External validation is good.
>
> On that point, at Realtime Conf today, Arnout Kazemier provided a
> bunch of data on issues with WebSockets deployment.
> https://speakerdeck.com/3rdeden/realtimeconf-dot-oct-dot-2012. As he
> says "tl;dl: Always use SSL".

The main deficiency I can see there is that it is aging data already and 
measures what the situation is in a market where middleware authors were 
given no incentive to support the feature.

The use case for Upgrade:HTTP/2.0 in particular is now providing that 
incentive for middleware implementations to support Upgrade better and 
indeed seems to have stronger support from middleware than end-software 
authors. Working with us rather than assuming we we never implement a 
needed feature will go a long way towards seeing that feature rolled 
out. The results of that single test could change dramatically in the 
coming years and are very likely to flow along with HTTP/2 rollout.

Amos


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 21:52:40 2012
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 877C621F8C18 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:52:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.127
X-Spam-Level: 
X-Spam-Status: No, score=-8.127 tagged_above=-999 required=5 tests=[AWL=2.172, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m8wJm3o3wSje for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:52:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3493D21F8C17 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 21:52:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQswe-0004nm-Ls for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 04:51:56 +0000
Resent-Date: Wed, 24 Oct 2012 04:51:56 +0000
Resent-Message-Id: <E1TQswe-0004nm-Ls@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQswb-0004n7-CY for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 04:51:53 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQswa-0003cC-6g for ietf-http-wg@w3.org; Wed, 24 Oct 2012 04:51:53 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 57DAF22E253; Wed, 24 Oct 2012 00:51:28 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com>
Date: Wed, 24 Oct 2012 15:51:31 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8AF3AFC2-8642-43F7-8472-FAAB1FD28827@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net> <CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com>
To: =?utf-8?Q?William_Chan_=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: AWL=-2.605, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQswa-0003cC-6g 0d88de9fdef5d180166ad94a5774c244
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/8AF3AFC2-8642-43F7-8472-FAAB1FD28827@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15453
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>

On 24/10/2012, at 3:12 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) =
<willchan@chromium.org> wrote:
>>=20
>>>> Who's willing to do some experimentation? Specifically, does anyone =
have access to the code that was used before (IIRC, people bought some =
ads and inserted some Java to probe the network)?
>>>=20
>>> Do you mean the Chromium HTTP upgrade experiment agl referred to in
>>> http://www.ietf.org/mail-archive/web/tls/current/msg05593.html?
>>=20
>> No, IIRC there was also some broader experimentation using ads; I'll =
dig around a bit more.
>>=20
>> Of course, if Chrome (or any other browser) would be interested in =
running an experiment, we'd love to do that too -- provided we can have =
input into the design.
>=20
> Is there anything you'd like to change about the design in
> http://www.ietf.org/mail-archive/web/tls/current/msg05593.html? I'm in
> general supportive of running experiments, I just don't want to waste
> our time unless there was something deficient about the previous
> experiment.

Could you dig up the exact bytes-on-the-wire handshake that was used?


> Also, I suspect a non-Google experiment would carry more
> weight :) External validation is good.

Agreed.


> On that point, at Realtime Conf today, Arnout Kazemier provided a
> bunch of data on issues with WebSockets deployment.
> https://speakerdeck.com/3rdeden/realtimeconf-dot-oct-dot-2012. As he
> says "tl;dl: Always use SSL".


Thanks.

I'd like to validate an assumption that has been discussed in-person in =
a meeting (forget which one) but IIRC not yet on-list.

It's that if we can design an upgrade that fails fast and reliably for =
HTTP URLs, it's acceptable for there to be a (say) 70% success rate =
initially, with the idea that it will rise over time -- perhaps slowly, =
in terms of browser releases, but relatively quickly, in terms of the =
lifetime of HTTP.

Can we (everyone) agree upon that?

WRT WebSockets, keep in mind that the proxy/firewall/virus scanning =
vendors have had less than a year since it became an RFC, for a protocol =
that has (relatively) unproven demand and hard-to-nail-down semantics.

I suspect that HTTP2, once we finish, will be get more priority from =
them; the demand is already proven, and the semantics of the protocol =
are easier to fit into their existing threat models, etc.

Cheers,

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 21:52:50 2012
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 EA3EF21F8C0D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:52:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.318
X-Spam-Level: 
X-Spam-Status: No, score=-8.318 tagged_above=-999 required=5 tests=[AWL=2.280, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OKDIwxsl6qhP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 21:52:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CE9B721F8C0C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 21:52:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQsx3-0004pv-2Y for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 04:52:21 +0000
Resent-Date: Wed, 24 Oct 2012 04:52:21 +0000
Resent-Message-Id: <E1TQsx3-0004pv-2Y@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQswz-0004p7-OG for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 04:52:17 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQswy-0002kB-G5 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 04:52:17 +0000
Received: by mail-qc0-f171.google.com with SMTP id d1so65323qca.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 21:51:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Mry6uRBUkbvKwK+9SGWKAhNiIW1n9yqYhGDTtz7jMlE=; b=fh2WGe4PXrJDM5FFCU3dFkeJSlv/KCvIRNMpopiXfUFyC+ZBEzES3kcrWNU8asKqOM gkkavJnQR5quhSqQ4cXydECr4KtqMAlnjTx9CSGqhdqh3YrMicc65FnCNvtIVMcC6qpe RcTsFNPmKUwr555TYOm8lHELqabmRb55+0/P5LSpsJLksfSVP1cSVqqA0lIXwTTVG7wq E/rHl3bcTAZEHYSLCUX7C/s+Dln7AGlqvnrr2PBesTYznxpvJczZ+RIPcxW76qz+lhwP CWe9A6uHMKxa4uewEAkxxhzwTJmwdsK8Y+DKvLUj7FMhTYxMZLvhXhr8ACPRmFZBpOHR yRWg==
Received: by 10.224.188.200 with SMTP id db8mr6826800qab.86.1351054310696; Tue, 23 Oct 2012 21:51:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Tue, 23 Oct 2012 21:51:30 -0700 (PDT)
In-Reply-To: <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 23 Oct 2012 21:51:30 -0700
Message-ID: <CABP7RbfQmcYQ4YPHeXaUmfdjccCLEs44kxB9JJinJ4ijv_cntg@mail.gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf303347fb42e6dd04ccc6d8ae
Received-SPF: pass client-ip=209.85.216.171; envelope-from=jasnell@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-2.335, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQswy-0002kB-G5 00d8533428f2c3ee07becc6ad56c6d90
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CABP7RbfQmcYQ4YPHeXaUmfdjccCLEs44kxB9JJinJ4ijv_cntg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15454
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>

--20cf303347fb42e6dd04ccc6d8ae
Content-Type: text/plain; charset=UTF-8

On Tue, Oct 23, 2012 at 6:23 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> [snip]
>
>  montenegro-httpbis-http2-**negotiation seems to provide a reasonable
>> fallback
>> when we're talking primarily about GET/HEAD traffic, but it has obvious
>> issues when dealing with POST/PUT/PATCH type operations. I do not really
>> want to always have to send PUT requests as HTTP/1.1 when what I really
>> want is to use HTTP/2.0 for the entire flow. For payload-bearing requests,
>> upgrade needs to be negotiated before the initial request is sent.
>>
>
> That said, how prevalent is first-contact PUT/POST as opposed to a page
> GET followed by further interaction from scripts and forms?
>  Is it just from badly designed sites using cross-domain PUT/POST?
>  or from non-browser agents which should be able to know better anyway
> with less critical timing requirements?
>
>
Likely significantly more prevalent in the "web applications" space than
within browser-based environments. For instance, POST a new entry to an
Atompub Collection does not first require a GET on the collection URI...

Other examples include...

  - Posting a new tweet (
https://dev.twitter.com/docs/api/1.1/post/statuses/update)
  - Publishing to facebook (
https://developers.facebook.com/docs/reference/api/#publishing)
  - Pushing content notifications (
http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.3.html#publishing
)
  - https://developers.google.com/+/history/#writing_moments
  - http://developer.github.com/v3/issues/#create-an-issue
  - ...

While such apis generally can consist of a mixture of GET/POST/PUT/DELETE
operations, these can generally be spread out over separate sessions over
time and first-contact payload-bearing requests are not unusual.

Also consider (while all the cool kids are going to cringe and snicker in
the corner when I mention it...) there is still a significant amount of
WS-* traffic out there to deal with that tunnels all traffic over POST.

- James

--20cf303347fb42e6dd04ccc6d8ae
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Tue, Oct 23, 2012 at 6:23 PM, Amos Jeffries <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:squid3@treenet.co.nz" target=3D"_blank">squid3@treenet.co.n=
z</a>&gt;</span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">[snip]</div><div class=3D"=
im">
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
montenegro-httpbis-http2-<u></u>negotiation seems to provide a reasonable f=
allback<br>
when we&#39;re talking primarily about GET/HEAD traffic, but it has obvious=
<br>
issues when dealing with POST/PUT/PATCH type operations. I do not really<br=
>
want to always have to send PUT requests as HTTP/1.1 when what I really<br>
want is to use HTTP/2.0 for the entire flow. For payload-bearing requests,<=
br>
upgrade needs to be negotiated before the initial request is sent.<br>
</blockquote>
<br></div>
That said, how prevalent is first-contact PUT/POST as opposed to a page GET=
 followed by further interaction from scripts and forms?<br>
=C2=A0Is it just from badly designed sites using cross-domain PUT/POST?<br>
=C2=A0or from non-browser agents which should be able to know better anyway=
 with less critical timing requirements?<div class=3D"im"><br></div></block=
quote><div><br></div><div>Likely significantly more prevalent in the &quot;=
web applications&quot; space than within browser-based environments. For in=
stance, POST a new entry to an Atompub Collection does not first require a =
GET on the collection URI...</div>

<div><br></div><div>Other examples include...</div><div><br></div><div>=C2=
=A0 - Posting a new tweet (<a href=3D"https://dev.twitter.com/docs/api/1.1/=
post/statuses/update">https://dev.twitter.com/docs/api/1.1/post/statuses/up=
date</a>)</div>

<div>=C2=A0 - Publishing to facebook (<a href=3D"https://developers.faceboo=
k.com/docs/reference/api/#publishing">https://developers.facebook.com/docs/=
reference/api/#publishing</a>)</div><div>=C2=A0 - Pushing content notificat=
ions (<a href=3D"http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-=
core-0.3.html#publishing">http://pubsubhubbub.googlecode.com/svn/trunk/pubs=
ubhubbub-core-0.3.html#publishing</a>)</div>

<div>=C2=A0 -=C2=A0<a href=3D"https://developers.google.com/+/history/#writ=
ing_moments">https://developers.google.com/+/history/#writing_moments</a></=
div><div>=C2=A0 -=C2=A0<a href=3D"http://developer.github.com/v3/issues/#cr=
eate-an-issue">http://developer.github.com/v3/issues/#create-an-issue</a></=
div>

<div>=C2=A0 - ...</div><div><br></div><div>While such apis generally can co=
nsist of a mixture of GET/POST/PUT/DELETE operations, these can generally b=
e spread out over separate sessions over time and first-contact payload-bea=
ring requests are not unusual.=C2=A0</div>

<div><br></div><div>Also consider (while all the cool kids are going to cri=
nge and snicker in the corner when I mention it...) there is still a signif=
icant amount of WS-* traffic out there to deal with that tunnels all traffi=
c over POST.=C2=A0</div>

<div><br></div><div>- James</div><div><br></div><div><br></div></div>

--20cf303347fb42e6dd04ccc6d8ae--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 22:02:12 2012
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 C50CA21F8C41 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 22:02:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.283
X-Spam-Level: 
X-Spam-Status: No, score=-8.283 tagged_above=-999 required=5 tests=[AWL=2.316, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lkfWEcweyoOQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 22:02:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A3C7621F8C40 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 22:02:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQt4l-00013T-Pn for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 05:00:19 +0000
Resent-Date: Wed, 24 Oct 2012 05:00:19 +0000
Resent-Message-Id: <E1TQt4l-00013T-Pn@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQt4i-00012n-AK for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 05:00:16 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQt4c-0003s2-D8 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 05:00:16 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 046D222DD6D; Wed, 24 Oct 2012 00:59:47 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <5086FCE2.2090708@schokola.de>
Date: Wed, 24 Oct 2012 15:59:50 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <B0D66A8B-8D99-440B-B53C-3177B112322A@mnot.net>
References: <50800A50.2050207@schokola.de> <A676CFB6-224E-4BB7-9C7B-115A20BAFC53@mnot.net> <5086FCE2.2090708@schokola.de>
To: Nils Goroll <slink@schokola.de>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: AWL=-2.518, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQt4c-0003s2-D8 ff16fe8f4068bb84002b4238d99d55d3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC issue: (minor?) scope of client/server attributes (specifically:   downgrades) in p1
Archived-At: <http://www.w3.org/mid/B0D66A8B-8D99-440B-B53C-3177B112322A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15455
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>

On 24/10/2012, at 7:24 AM, Nils Goroll <slink@schokola.de> wrote:

> Hi Mark,
>=20
> On 10/23/12 01:09 AM, Mark Nottingham wrote:
>> we generally try not to define / require things unless they're needed =
for interoperability
>=20
> So shouldn't the scope for downgrades be defined for interoperability?
>=20
> For upgrades, the draft defines the scope to be the connection, and it =
appears to me that this would be a sensible scope also for downgrades.


A UA might decide to "remember" the downgrade longer than the scope of a =
single connection.

Cheers,

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 22:14:23 2012
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 5CF4521F8CCE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 22:14:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.36
X-Spam-Level: 
X-Spam-Status: No, score=-6.36 tagged_above=-999 required=5 tests=[AWL=3.616, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bj6oohD1P9pO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 22:14:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71E7821F8CCB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 22:14:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQtHd-0005Cv-4z for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 05:13:37 +0000
Resent-Date: Wed, 24 Oct 2012 05:13:37 +0000
Resent-Message-Id: <E1TQtHd-0005Cv-4z@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tyoshino@google.com>) id 1TQtHZ-0005CG-I3 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 05:13:33 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tyoshino@google.com>) id 1TQtHY-0004JA-92 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 05:13:33 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so870663lbo.2 for <ietf-http-wg@w3.org>; Tue, 23 Oct 2012 22:13:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record; bh=qEmohXYoEtQy1e6T5RCWUCfxxo3Nt45xKDlsQD4Pfsk=; b=EUguuW67SO6LJLyO6MVM5NlBFADh0NfF6wtzh8L9cVpOltcYOcUn2kmCFCo36pPqmf f4qZiI+BikyJ+BzSSUdMJu8uTh3JbJqg4sWALvO+66IyZvW1BuYOLeIScaJvm3CL3dEn zAl3rLoYpL0G3b8sk+6BUPImoo5RAKu1GYRR/ZJqk5UPs4V9XROyN2u/T9gdDJq3x6hv GAJctq4MyQ3GXX+j2w3ZMeMYnsiPBEYNX5mK7XGyvCR7G1z3IVxzbGNGobsUVqCaSlts CFaiC/1Q6o6hoTVl3r/2+HNsMgF5j0qfdvL9ER5GWcjPnDZUe8g/A9OnImtmF0zF4CMG JLnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=qEmohXYoEtQy1e6T5RCWUCfxxo3Nt45xKDlsQD4Pfsk=; b=Tl5ev+uz7zhF8vfN96VxePsdhqhF5WREG3PBZnyQRaZjyRQEwR7VkRLvhoNTq9uboR v6VWwUKrNkt8i27KVvz903/XYw+ytQYwFpAbmr/uzZAt8BLEQ504dIGHq7xJoPxrejNZ QPAKxFYmtsmufLD/d1A9/ZsPD5L6sfSKdYfBQYGcWYqEB/T/SLeTHFcXQrkcE9c5cvv2 r7/dbgrIFo41UXnh6TJKpYUtO9bDwiMpxO5fsSpa4/1w2++Y2C4yAWmcKBGlRgziJf5S E37kb7GRj0Tf8Y+Dr4hTJuc2FwVlHRGKFs4CUcsH6/lwtxqkjSMqNmpNZKX0RyFSaWVj k7TQ==
Received: by 10.152.47.97 with SMTP id c1mr13051125lan.37.1351055584989; Tue, 23 Oct 2012 22:13:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.112.19.103 with HTTP; Tue, 23 Oct 2012 22:12:44 -0700 (PDT)
In-Reply-To: <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Wed, 24 Oct 2012 14:12:44 +0900
Message-ID: <CAH9hSJZHExYP6erHwgVTrMj3sLx9viyNfvyyRs597YZ=PvQvTw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec554025a3712fb04ccc72408
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQmVuab8xsf3S0p9H6BjxquU49zL5jOXVVp5Leesn1LuEFToLLFcrNCloBE3A4hCrEi2fliLG5z/JGHjyK+nf9Zaea1hIJLFM7+KGiQh0iXFhVLnOvKcV0VSXO1fKW4Im4XDEP3rZsJ+Ei1+Qx6FDSwyuXo6nfaxDHgQ/NHBLNYMMvI2C1XgQ2RdrlghtQi2EJJnGKhr
Received-SPF: pass client-ip=209.85.217.171; envelope-from=tyoshino@google.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.5
X-W3C-Hub-Spam-Report: 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=-0.735, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQtHY-0004JA-92 258b396a4794b14331d8b85af82e264c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAH9hSJZHExYP6erHwgVTrMj3sLx9viyNfvyyRs597YZ=PvQvTw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15456
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>

--bcaec554025a3712fb04ccc72408
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 23, 2012 at 11:50 AM, Mark Nottingham <mnot@mnot.net> wrote:

>
> On 23/10/2012, at 1:33 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) <wi=
llchan@chromium.org>
> wrote:
> >> Who's willing to do some experimentation? Specifically, does anyone
> have access to the code that was used before (IIRC, people bought some ad=
s
> and inserted some Java to probe the network)?
> >
> > Do you mean the Chromium HTTP upgrade experiment agl referred to in
> > http://www.ietf.org/mail-archive/web/tls/current/msg05593.html?
>
> No, IIRC there was also some broader experimentation using ads; I'll dig
> around a bit more.
>
>
Maybe this work http://w2spconf.com/2011/papers/websocket.pdf which
resulted in introduction of masking to the WebSocket protocol.

--bcaec554025a3712fb04ccc72408
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 23, 2012 at 11:50 AM, Mark Nottingham <span dir=3D"ltr">&lt;<a =
href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</span=
> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im"><br>
On 23/10/2012, at 1:33 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) &lt;<=
a href=3D"mailto:willchan@chromium.org">willchan@chromium.org</a>&gt; wrote=
:<br></div><div class=3D"im">
&gt;&gt; Who&#39;s willing to do some experimentation? Specifically, does a=
nyone have access to the code that was used before (IIRC, people bought som=
e ads and inserted some Java to probe the network)?<br>
&gt;<br>
&gt; Do you mean the Chromium HTTP upgrade experiment agl referred to in<br=
>
&gt; <a href=3D"http://www.ietf.org/mail-archive/web/tls/current/msg05593.h=
tml" target=3D"_blank">http://www.ietf.org/mail-archive/web/tls/current/msg=
05593.html</a>?<br>
<br>
</div>No, IIRC there was also some broader experimentation using ads; I&#39=
;ll dig around a bit more.<br><div class=3D"im"><br></div></blockquote><div=
><br></div><div>Maybe this work <a href=3D"http://w2spconf.com/2011/papers/=
websocket.pdf">http://w2spconf.com/2011/papers/websocket.pdf</a> which resu=
lted in introduction of masking to the WebSocket protocol.</div>

</div>

--bcaec554025a3712fb04ccc72408--


From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 22:23:03 2012
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 C419421F8D15 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 22:23:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.539
X-Spam-Level: 
X-Spam-Status: No, score=-10.539 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YPDf4AAD2ZmI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 22:23:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EEC6D21F8D13 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 22:23: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 1TQtQ8-0002Y4-J4 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 05:22:24 +0000
Resent-Date: Wed, 24 Oct 2012 05:22:24 +0000
Resent-Message-Id: <E1TQtQ8-0002Y4-J4@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQtQ5-0002XP-IQ for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 05:22:21 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQtQ4-0003hg-8p for ietf-http-wg@w3.org; Wed, 24 Oct 2012 05:22:21 +0000
Received: from [192.168.1.102] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id A5022E70F2; Wed, 24 Oct 2012 18:21:54 +1300 (NZDT)
Message-ID: <50877AEB.6080808@treenet.co.nz>
Date: Wed, 24 Oct 2012 18:21:47 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: ietf-http-wg@w3.org
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net>
In-Reply-To: <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQtQ4-0003hg-8p e491d875de2205197deaf222e2d46ca3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/50877AEB.6080808@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15457
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>

On 24/10/2012 4:44 p.m., Mark Nottingham wrote:
> On 24/10/2012, at 12:23 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
>
>>> For browsers, upgrading on the first connection is obviously going to be
>>> critical. The DNS option seems like the best approach for the most general
>>> case, despite the various flaws in that approach.
>> *except* for all those cases where middleware exists. In which case DNS hinting will be the cause of problems, not the solution.
> How so?
>
> For  accelerators / "reverse" proxies, the party in control of the middleware is in control of the DNS.
>
> For configured proxies, the client is aware of the middleware and can figure out and remember its capabilities, via the upgrade mechanism.
>
> It's only for unconfigured / "transparent" / intercepting proxies that this might be a problem. If the protocol is designed to fail fast in their presence, this too should be manageable -- there might be some latency on first request in these networks, at worst. Bonus points for putting the blame squarely where it lies somehow...

Yes they are the major hassle and they are not going away until that 
blocker problem of browsers not supporting TLS to proxies is resolved. 
Rolling out DNS record dependency, even if only as a first attempted 
connection in their presence is a guaranteed fail for that DNS mechanism.

For the other types of middleware the DNS is irrelevant as you say. So 
where is the benefit come in from doing it when middleware is involved? 
there is none. Yet the interceptors will cause problems. A very 
unbalanced situation leaning towards breakage.

I'm +0 on the DNS mechanism. Looks good, but only for a small segment of 
the market.

Amos



From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 22:27:13 2012
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 7230F21F8D0E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 22:27:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.27
X-Spam-Level: 
X-Spam-Status: No, score=-8.27 tagged_above=-999 required=5 tests=[AWL=2.329, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oMlOlYV9HlJY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 22:27:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0829121F8CEC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 22:27:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQtU9-0004lJ-Jb for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 05:26:33 +0000
Resent-Date: Wed, 24 Oct 2012 05:26:33 +0000
Resent-Message-Id: <E1TQtU9-0004lJ-Jb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQtU6-0004kV-9x for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 05:26:30 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQtU5-0004lY-9R for ietf-http-wg@w3.org; Wed, 24 Oct 2012 05:26:30 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DFDA122E255; Wed, 24 Oct 2012 01:26:06 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr>
Date: Wed, 24 Oct 2012 16:26:10 +1100
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr>
To: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.4
X-W3C-Hub-Spam-Report: AWL=-2.437, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQtU5-0004lY-9R 35c70558005f1a87cf0379b3bd23a9df
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15458
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>

Hi Herve,

On 23/10/2012, at 3:26 AM, RUELLAN Herve <Herve.Ruellan@crf.canon.fr> =
wrote:
> Hi all,

Welcome :)

> We are currently studying the compaction results for different header =
encoding formats, including various SPDY versions and an internally =
developed format (we plan to publish its description as soon as =
possible).

It's very good to hear that you're doing this.=20

> We are wondering whether anyone is aware of a test corpus for HTTP =
exchanges that would be available, or could be made available. This =
would help us obtaining fair and realistic results.


I've been thinking about this too, and have started writing some =
software to sniff unadulterated HTTP headers (request and response) off =
the wire. I know that some browsers make headers available, but they =
also have a habit of "cleaning up" the headers before presenting them to =
APIs, IME.

Currently I have a pcap-based sniffer for HTTP sites =
<https://github.com/mnot/hdrgrab>; soon I should have a MITM proxy for =
HTTPS ones.

Once we start to collect a corpus, I'd suggest we put them on github: =
<https://github.com/http2>. That will let everyone share a common base =
for testing, and review it to make sure that it's appropriate.

If you'd like to put your framework for comparison up there, you'd be =
welcome to; please ping me.=20

> Currently we are using web pages obtained from Alexa's top ranked =
sites. While computing our results, we are taking into account several =
parameters: separate study of requests and responses, using deflate or =
not (when relevant), variable number of exchanged messages =
(corresponding to loading from 1 to 10 web pages). Any advice on these =
measurements would be appreciated.

For the time being, mine combines all of the requests / responses on =
different connections to the same server into the same file, under the =
assumption that multiplexing will enable this. Eventually I'd like to =
get something more sophisticated in there.

It also removes connection headers, as they're really HTTP/1 specific.

What else should we be doing?

> Last, we would like to share our results to help the WG discussions on =
this topic. As we're rather new to the IETF, we're not sure of the best =
way to do this. I plan to attend the IEFT 85 meeting in Atlanta, so I =
could use this occasion to share these results.

If you'd like to give a short (10-20 minute) presentation in the Atlanta =
meeting, I'd be happy to accommodate that. Please ping me if you're =
interested.

Cheers,

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 23:51:28 2012
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 D1E6C21F8C88 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 23:51:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.938
X-Spam-Level: 
X-Spam-Status: No, score=-8.938 tagged_above=-999 required=5 tests=[AWL=1.661, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gg+MFuC0GK5N for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 23:51:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C951021F8C94 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 23:51:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQumc-00016I-D5 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 06:49:42 +0000
Resent-Date: Wed, 24 Oct 2012 06:49:42 +0000
Resent-Message-Id: <E1TQumc-00016I-D5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TQumY-00015W-V0 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 06:49:38 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TQumU-0006Qu-M6 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 06:49:37 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9O6moZk009272; Wed, 24 Oct 2012 08:48:50 +0200
Date: Wed, 24 Oct 2012 08:48:50 +0200
From: Willy Tarreau <w@1wt.eu>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
Message-ID: <20121024064850.GD7331@1wt.eu>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <50877AEB.6080808@treenet.co.nz>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.692, RP_MATCHES_RCVD=-0.737, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQumU-0006Qu-M6 6efe3f4c238fbf645c2a021865f1dddd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/20121024064850.GD7331@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15459
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>

On Wed, Oct 24, 2012 at 06:21:47PM +1300, Amos Jeffries wrote:
> For the other types of middleware the DNS is irrelevant as you say. So 
> where is the benefit come in from doing it when middleware is involved? 
> there is none. Yet the interceptors will cause problems. A very 
> unbalanced situation leaning towards breakage.
> 
> I'm +0 on the DNS mechanism. Looks good, but only for a small segment of 
> the market.

I'd go further, the problem with DNS is that by design it's used to
provide information for one record which corresponds to a host name.
In my opinion it's totally unsuited for use with HTTP the way it's
used today because I see no way it would cover the following cases :

  - multiple IP addresses advertised at different locations for the
    same record, possibly talking different protocol versions due to
    a progressive deployment. Eg :

	$ host -t a google.com
	google.com has address 74.125.230.197
	google.com has address 74.125.230.196
	google.com has address 74.125.230.201
	google.com has address 74.125.230.200
	google.com has address 74.125.230.192
	google.com has address 74.125.230.199
	google.com has address 74.125.230.195
	google.com has address 74.125.230.193
	google.com has address 74.125.230.198
	google.com has address 74.125.230.206
	google.com has address 74.125.230.194

  - anycast routing : the same name and IP address exist on two continents,
    but they don't necessarily speak the same version. Some CDNs right now
    use anycast, it would be better if we don't tell them "switch all your
    nodes at once".

  - react to quick changes : you're installing your shiny new gateway
    supposed to talk http/2. You advertise it in DNS. Then you realize
    it crashes. Oops, rollover to previous 1.1 gateway, but the bad was
    already made, the world knows you're on the new one and caches this
    for some time. Site remains randomly accessible for the time users
    cache the record ;

  - multiple service versions at the same IP address as is often encountered
    on internal networks. For example, you have dynamic on :80 and :443 in
    HTTP/1 and static on :8080 and :8443 using HTTP/2. And note that in
    developer environments, it's very common to have 100+ ports bound on
    a same host with different applications being developped. I wouldn't be
    one of these users if my browser randomly used either version to access
    the application I'm developing depending on DNS records...

Seriously, I think that using negociation for the standard scheme is the
only way to make something compatible with what exists. Having a new scheme
is fine to say 2.0 only but as someone (I don't remember whom) said a
few months ago, proxies will have no choice but to obey and they won't all
be 2.0 ready for some (long) time.

Willy



From ietf-http-wg-request@listhub.w3.org  Tue Oct 23 23:54:05 2012
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 7424921F8C8D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 23:54:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.277
X-Spam-Level: 
X-Spam-Status: No, score=-8.277 tagged_above=-999 required=5 tests=[AWL=2.322, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fsAy8HyfNfhR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 23 Oct 2012 23:54:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7701721F8C09 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 23 Oct 2012 23:54:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQuq7-0002hx-LO for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 06:53:19 +0000
Resent-Date: Wed, 24 Oct 2012 06:53:19 +0000
Resent-Message-Id: <E1TQuq7-0002hx-LO@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQuq3-0002hB-DI for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 06:53:15 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQupy-0006Wl-Ay for ietf-http-wg@w3.org; Wed, 24 Oct 2012 06:53:13 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 444D522E255; Wed, 24 Oct 2012 02:52:46 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20121024064850.GD7331@1wt.eu>
Date: Wed, 24 Oct 2012 17:52:52 +1100
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.3
X-W3C-Hub-Spam-Report: AWL=-2.329, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQupy-0006Wl-Ay 149f495d2858a2333c585365bce17460
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15460
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>

On 24/10/2012, at 5:48 PM, Willy Tarreau <w@1wt.eu> wrote:

> On Wed, Oct 24, 2012 at 06:21:47PM +1300, Amos Jeffries wrote:
>> For the other types of middleware the DNS is irrelevant as you say. =
So=20
>> where is the benefit come in from doing it when middleware is =
involved?=20
>> there is none. Yet the interceptors will cause problems. A very=20
>> unbalanced situation leaning towards breakage.
>>=20
>> I'm +0 on the DNS mechanism. Looks good, but only for a small segment =
of=20
>> the market.
>=20
> I'd go further, the problem with DNS is that by design it's used to
> provide information for one record which corresponds to a host name.
> In my opinion it's totally unsuited for use with HTTP the way it's
> used today because I see no way it would cover the following cases :
>=20
>  - multiple IP addresses advertised at different locations for the
>    same record, possibly talking different protocol versions due to
>    a progressive deployment. Eg :
>=20
> 	$ host -t a google.com
> 	google.com has address 74.125.230.197
> 	google.com has address 74.125.230.196
> 	google.com has address 74.125.230.201
> 	google.com has address 74.125.230.200
> 	google.com has address 74.125.230.192
> 	google.com has address 74.125.230.199
> 	google.com has address 74.125.230.195
> 	google.com has address 74.125.230.193
> 	google.com has address 74.125.230.198
> 	google.com has address 74.125.230.206
> 	google.com has address 74.125.230.194
>=20
>  - anycast routing : the same name and IP address exist on two =
continents,
>    but they don't necessarily speak the same version. Some CDNs right =
now
>    use anycast, it would be better if we don't tell them "switch all =
your
>    nodes at once".
>=20
>  - react to quick changes : you're installing your shiny new gateway
>    supposed to talk http/2. You advertise it in DNS. Then you realize
>    it crashes. Oops, rollover to previous 1.1 gateway, but the bad was
>    already made, the world knows you're on the new one and caches this
>    for some time. Site remains randomly accessible for the time users
>    cache the record ;
>=20
>  - multiple service versions at the same IP address as is often =
encountered
>    on internal networks. For example, you have dynamic on :80 and :443 =
in
>    HTTP/1 and static on :8080 and :8443 using HTTP/2. And note that in
>    developer environments, it's very common to have 100+ ports bound =
on
>    a same host with different applications being developped. I =
wouldn't be
>    one of these users if my browser randomly used either version to =
access
>    the application I'm developing depending on DNS records...
>=20
> Seriously, I think that using negociation for the standard scheme is =
the
> only way to make something compatible with what exists. Having a new =
scheme
> is fine to say 2.0 only but as someone (I don't remember whom) said a
> few months ago, proxies will have no choice but to obey and they won't =
all
> be 2.0 ready for some (long) time.

Willy,=20

A fair number of folks has said they want this, and no one is saying =
that it's mandatory.

AFAICT most of your problems can be boiled down to:

1) Different servers may back up one DNS record - in which case, they =
don't have to use SRV

2) Clients assuming HTTP/2 may fail - in which case, we need to design =
things so they can recognise this and fall back to 1.1 seamlessly.

Make sense?

Regards,



--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 00:12:49 2012
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 A5A8521F8C9F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:12:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.005
X-Spam-Level: 
X-Spam-Status: No, score=-9.005 tagged_above=-999 required=5 tests=[AWL=1.594, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sp2yHqu3DUww for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:12:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CEB9221F8BCA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 00:12:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQv7d-000366-Nw for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 07:11:25 +0000
Resent-Date: Wed, 24 Oct 2012 07:11:25 +0000
Resent-Message-Id: <E1TQv7d-000366-Nw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TQv7a-000355-Dq for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 07:11:22 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TQv7Z-0007C5-18 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 07:11:22 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9O7AkUw009371; Wed, 24 Oct 2012 09:10:46 +0200
Date: Wed, 24 Oct 2012 09:10:46 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20121024071046.GE7331@1wt.eu>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-2.422, RP_MATCHES_RCVD=-0.737, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQv7Z-0007C5-18 7e9e48c9b10fe2be41811b0d4a56efb6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/20121024071046.GE7331@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15461
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>

On Wed, Oct 24, 2012 at 05:52:52PM +1100, Mark Nottingham wrote:
> 
> On 24/10/2012, at 5:48 PM, Willy Tarreau <w@1wt.eu> wrote:
> 
> > On Wed, Oct 24, 2012 at 06:21:47PM +1300, Amos Jeffries wrote:
> >> For the other types of middleware the DNS is irrelevant as you say. So 
> >> where is the benefit come in from doing it when middleware is involved? 
> >> there is none. Yet the interceptors will cause problems. A very 
> >> unbalanced situation leaning towards breakage.
> >> 
> >> I'm +0 on the DNS mechanism. Looks good, but only for a small segment of 
> >> the market.
> > 
> > I'd go further, the problem with DNS is that by design it's used to
> > provide information for one record which corresponds to a host name.
> > In my opinion it's totally unsuited for use with HTTP the way it's
> > used today because I see no way it would cover the following cases :
> > 
> >  - multiple IP addresses advertised at different locations for the
> >    same record, possibly talking different protocol versions due to
> >    a progressive deployment. Eg :
> > 
> > 	$ host -t a google.com
> > 	google.com has address 74.125.230.197
> > 	google.com has address 74.125.230.196
> > 	google.com has address 74.125.230.201
> > 	google.com has address 74.125.230.200
> > 	google.com has address 74.125.230.192
> > 	google.com has address 74.125.230.199
> > 	google.com has address 74.125.230.195
> > 	google.com has address 74.125.230.193
> > 	google.com has address 74.125.230.198
> > 	google.com has address 74.125.230.206
> > 	google.com has address 74.125.230.194
> > 
> >  - anycast routing : the same name and IP address exist on two continents,
> >    but they don't necessarily speak the same version. Some CDNs right now
> >    use anycast, it would be better if we don't tell them "switch all your
> >    nodes at once".
> > 
> >  - react to quick changes : you're installing your shiny new gateway
> >    supposed to talk http/2. You advertise it in DNS. Then you realize
> >    it crashes. Oops, rollover to previous 1.1 gateway, but the bad was
> >    already made, the world knows you're on the new one and caches this
> >    for some time. Site remains randomly accessible for the time users
> >    cache the record ;
> > 
> >  - multiple service versions at the same IP address as is often encountered
> >    on internal networks. For example, you have dynamic on :80 and :443 in
> >    HTTP/1 and static on :8080 and :8443 using HTTP/2. And note that in
> >    developer environments, it's very common to have 100+ ports bound on
> >    a same host with different applications being developped. I wouldn't be
> >    one of these users if my browser randomly used either version to access
> >    the application I'm developing depending on DNS records...
> > 
> > Seriously, I think that using negociation for the standard scheme is the
> > only way to make something compatible with what exists. Having a new scheme
> > is fine to say 2.0 only but as someone (I don't remember whom) said a
> > few months ago, proxies will have no choice but to obey and they won't all
> > be 2.0 ready for some (long) time.
> 
> Willy, 
> 
> A fair number of folks has said they want this, and no one is saying that it's mandatory.

Not being mandatory still means that browsers will have to decide what to
do based on this record at one point, with lists of exceptions.

> AFAICT most of your problems can be boiled down to:
> 
> 1) Different servers may back up one DNS record - in which case, they don't have to use SRV
> 
> 2) Clients assuming HTTP/2 may fail - in which case, we need to design things so they can recognise this and fall back to 1.1 seamlessly.

While this seems to be a prerequisite to me, it does not sound like the
solution to everything : failing fast is what we all hope for, but we
know well that there are environments where the failure will cause delays
etc... (you're well aware of the issues faced by pipelining for example).
So similarly we'll have some boxes drop packets or simply not forward data
when they discover junk after the request headers.

DNS records are just for global view of how the server is presented to the
net, but it does not take into account the whole path to the clients.

I'd suggest that the zero-roundtrip upgrade is made only on TLS using the
NPN extension that already works well with SPDY. The advantage is that it
says what protocol can be spoken on top of a connection and does not rely
on external components unaware of the path.

And for clear text we'd keep the good old HTTP upgrade which should be
optimal for the most common usages (GET/HEAD first) and require that
other methods would be handled as 1.1 during the first round trip. I
don't see this as a terrible tradeoff.

Willy



From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 00:27:28 2012
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 4497B21F84AF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:27:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.301
X-Spam-Level: 
X-Spam-Status: No, score=-8.301 tagged_above=-999 required=5 tests=[AWL=2.298, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KIUkjQjLaOUC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:27:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5DC7921F8456 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 00:27:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQvM1-00028v-K4 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 07:26:17 +0000
Resent-Date: Wed, 24 Oct 2012 07:26:17 +0000
Resent-Message-Id: <E1TQvM1-00028v-K4@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQvLy-00027o-7U for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 07:26:14 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQvLx-0008Hj-Df for ietf-http-wg@w3.org; Wed, 24 Oct 2012 07:26:14 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 778B522E255; Wed, 24 Oct 2012 03:25:50 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20121024071046.GE7331@1wt.eu>
Date: Wed, 24 Oct 2012 18:25:57 +1100
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-2.167, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQvLx-0008Hj-Df 54d705a1a1dd1fc0b92a0a7a16bbaa9a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15462
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>

On 24/10/2012, at 6:10 PM, Willy Tarreau <w@1wt.eu> wrote:

>> A fair number of folks has said they want this, and no one is saying =
that it's mandatory.
>=20
> Not being mandatory still means that browsers will have to decide what =
to
> do based on this record at one point, with lists of exceptions.

Yes -- but I'm hearing (so far) from the browser folks that they're =
willing to do this.


>> AFAICT most of your problems can be boiled down to:
>>=20
>> 1) Different servers may back up one DNS record - in which case, they =
don't have to use SRV
>>=20
>> 2) Clients assuming HTTP/2 may fail - in which case, we need to =
design things so they can recognise this and fall back to 1.1 =
seamlessly.
>=20
> While this seems to be a prerequisite to me, it does not sound like =
the
> solution to everything : failing fast is what we all hope for, but we
> know well that there are environments where the failure will cause =
delays
> etc... (you're well aware of the issues faced by pipelining for =
example).
> So similarly we'll have some boxes drop packets or simply not forward =
data
> when they discover junk after the request headers.
>=20
> DNS records are just for global view of how the server is presented to =
the
> net, but it does not take into account the whole path to the clients.
>=20
> I'd suggest that the zero-roundtrip upgrade is made only on TLS using =
the
> NPN extension that already works well with SPDY. The advantage is that =
it
> says what protocol can be spoken on top of a connection and does not =
rely
> on external components unaware of the path.

So, I'd put it this way:

The DNS-based upgrade is optimistic; it will be fast as long as there =
isn't an unknown middlebox present; if there is, it'll be slower to =
start. The question is how often that will happen, and how detectable / =
variable it is.

On the other hand, the Upgrade-based negotiation is pessimistic; it =
assume that something will go wrong until we prove that both ends speak =
the same language. It'll be fast but have some limitations at the start =
(as discussed).

Ideally, we'd have exactly one way to upgrade for HTTP URIs. However, =
that *may* not be possible -- if enough people's needs aren't met by the =
Upgrade path, other mechanisms for doing it will be developed, and if =
that's going to happen, I'd like it to be interoperable, and ideally =
part of the spec itself.

I do hear what you're saying, though. We'll need more data to make hard =
decisions; at this point I'm just trying to figure out what high-level =
approaches we're going to pursue in earnest.=20


> And for clear text we'd keep the good old HTTP upgrade which should be
> optimal for the most common usages (GET/HEAD first) and require that
> other methods would be handled as 1.1 during the first round trip. I
> don't see this as a terrible tradeoff.


At this (early) point it looks like we're going that way, yes. The =
question is whether we have an optimistic path as well.

Cheers,

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 00:48:19 2012
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 70DC721F890D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:48:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.439
X-Spam-Level: 
X-Spam-Status: No, score=-10.439 tagged_above=-999 required=5 tests=[AWL=0.159, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bn51onwpu0Vs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:48:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9379E21F8905 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 00:48:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQvg8-0004JJ-FZ for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 07:47:04 +0000
Resent-Date: Wed, 24 Oct 2012 07:47:04 +0000
Resent-Message-Id: <E1TQvg8-0004JJ-FZ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1TQvg3-0004IY-2F for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 07:46:59 +0000
Received: from ams-iport-2.cisco.com ([144.254.224.141]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1TQvfv-0008Tl-Vi for ietf-http-wg@w3.org; Wed, 24 Oct 2012 07:46:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3951; q=dns/txt; s=iport; t=1351064811; x=1352274411; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=YGQLlPWUm+/BHukgi88Bs+Aacsc+PWyX5wP0aRGq8UM=; b=b4kAauSLRnALO0uf4Q47Fp2nrkKNJeO7EP4M+RNoE0QGKkrYpBHouV4s dPQhbYrCW9YfoBMsoWGY/NEpemTOc5E7OMWQQWDbNyT6hmVt77YC/gb16 Pa3OgqyxiF4H7Mm/6IwviC06glWxC3yrImlt4Co1kAqkx2J/ceUHsJ/8U U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap0FADOch1CQ/khR/2dsb2JhbABEhhSFX7YJgQiCHgEBAQQSARBVARAJAgQUCRYIAwICCQMCAQIBNBEGDQEFAgEBHodimxWNIZJai2AnhTKBEgOVc45OgWuCcYFaHg
X-IronPort-AV: E=Sophos;i="4.80,639,1344211200";  d="scan'208,217";a="77707079"
Received: from ams-core-1.cisco.com ([144.254.72.81]) by ams-iport-2.cisco.com with ESMTP; 24 Oct 2012 07:46:25 +0000
Received: from dhcp-10-55-83-243.cisco.com (dhcp-10-55-83-243.cisco.com [10.55.83.243]) by ams-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id q9O7kO9C011163 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Oct 2012 07:46:24 GMT
Message-ID: <50879CD0.9050606@cisco.com>
Date: Wed, 24 Oct 2012 09:46:24 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Patrick McManus <mcmanus@ducksong.com>
CC: =?UTF-8?B?IldpbGxpYW0gQ2hhbiAo6ZmI5pm65piMKSI=?= <willchan@chromium.org>, Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <CAOdDvNodck+yQAavBPi8-EWsAOpMXMYTFQCVoAVY46FAC5-89w@mail.gmail.com>
In-Reply-To: <CAOdDvNodck+yQAavBPi8-EWsAOpMXMYTFQCVoAVY46FAC5-89w@mail.gmail.com>
X-Enigmail-Version: 1.4.5
Content-Type: multipart/alternative; boundary="------------060208000103010808000907"
Received-SPF: pass client-ip=144.254.224.141; envelope-from=lear@cisco.com; helo=ams-iport-2.cisco.com
X-W3C-Hub-Spam-Status: No, score=-13.6
X-W3C-Hub-Spam-Report: AWL=-0.250, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.737, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1TQvfv-0008Tl-Vi 3753ab6c90c93aa8652547f1d1a6678a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/50879CD0.9050606@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15463
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>

This is a multi-part message in MIME format.
--------------060208000103010808000907
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit


On 10/23/12 8:54 PM, Patrick McManus wrote:
>
>
> On Mon, Oct 22, 2012 at 10:33 PM, William Chan (陈智昌)
> <willchan@chromium.org <mailto:willchan@chromium.org>> wrote:
>
>
>     Just to be clear, SRV records also have the disadvantage of not
>     upgrading the first interaction, unless you block on the response,
>
>
> also being clear - in cases where SRV wins the race there is an
> advantage to be had without blocking. A high quality implementation
> can bundle the srv response with the A as an additional record.. even
> if that isn't what is happening today, supporting this mechanism
> provides a path for servers to opt themselves into it without blocking
> on it. And of course sometimes name resolution happens considerably
> before connect happens so there still might be an opportunity to
> collect both the a* and the srv before going to connect without
> blocking on it even if the SRV considerably lags the A. So I think
> this is an important optimization.


I continue to be concerned about the use of SRV for any number of
reasons, but one big one is that what you describe above could induce
cache pollution due to different sources of authority.  I would prefer
to see a different record used that uses the same name, and therefore,
the same authority.

Eliot

--------------060208000103010808000907
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 10/23/12 8:54 PM, Patrick McManus
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAOdDvNodck+yQAavBPi8-EWsAOpMXMYTFQCVoAVY46FAC5-89w@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <br>
      <br>
      <div class="gmail_quote">On Mon, Oct 22, 2012 at 10:33 PM, William
        Chan (陈智昌) <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:willchan@chromium.org" target="_blank">willchan@chromium.org</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <br>
          Just to be clear, SRV records also have the disadvantage of
          not<br>
          upgrading the first interaction, unless you block on the
          response,<br>
        </blockquote>
        <div><br>
          also being clear - in cases where SRV wins the race there is
          an advantage to be had without blocking. A high quality
          implementation can bundle the srv response with the A as an
          additional record.. even if that isn't what is happening
          today, supporting this mechanism provides a path for servers
          to opt themselves into it without blocking on it. And of
          course sometimes name resolution happens considerably before
          connect happens so there still might be an opportunity to
          collect both the a* and the srv before going to connect
          without blocking on it even if the SRV considerably lags the
          A. So I think this is an important optimization. <br>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    I continue to be concerned about the use of SRV for any number of
    reasons, but one big one is that what you describe above could
    induce cache pollution due to different sources of authority.  I
    would prefer to see a different record used that uses the same name,
    and therefore, the same authority.<br>
    <br>
    Eliot<br>
  </body>
</html>

--------------060208000103010808000907--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 00:48:56 2012
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 1458221F890D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:48:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.316
X-Spam-Level: 
X-Spam-Status: No, score=-8.316 tagged_above=-999 required=5 tests=[AWL=2.282, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PSTVInRnNCKI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:48:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F1EB121F8905 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 00:48:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQvhW-0004fO-JK for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 07:48:30 +0000
Resent-Date: Wed, 24 Oct 2012 07:48:30 +0000
Resent-Message-Id: <E1TQvhW-0004fO-JK@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQvhT-0004dl-ME for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 07:48:27 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TQvhQ-00007J-84 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 07:48:25 +0000
Received: by mail-qc0-f171.google.com with SMTP id d1so115336qca.2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 00:47:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6R4XGMFi2Cm4CuUc7J4ZtgTYutsGYjH8g50xGx6jzvc=; b=ghB8qtVSUKVwRp6+YY5gabYazcPhgJtoxFq0n9C7EQ5Kebk4CxrtmeX298qfKHTEXB NqI7LgGWrDKkuD9glXaVUyaAi63/ZlgTb1mY7U1yB/T8AEZF5yjTioXiWVhHh9V60OBu fC5NQFssWAITyf20TmTQdVN/9eDRcJU9MpA3tjXEkvFNWRb7p008kERUgME2sSrhFbaW B2207E5f+CKvNC4rLcdtbigxwSNB97EYVKermhOmH7sJqIt+SgPHuYkrewL8dVr5oe7Q PGmbBkjZOh3Ghfdahm0vdawRjfHzRPw1TjLqX0qb0kv/atmhY+p+B8WJJkzuZzr1KibC o7Lg==
Received: by 10.49.131.199 with SMTP id oo7mr8343179qeb.14.1351064878424; Wed, 24 Oct 2012 00:47:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Wed, 24 Oct 2012 00:47:38 -0700 (PDT)
In-Reply-To: <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 24 Oct 2012 00:47:38 -0700
Message-ID: <CABP7RbdUhc01quGxUEpk3YGNYpbeG4iMwkcgBSAHegVQKwi0_Q@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Willy Tarreau <w@1wt.eu>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=047d7bdc7c2425a2af04ccc94e54
Received-SPF: pass client-ip=209.85.216.171; envelope-from=jasnell@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQvhQ-00007J-84 e0f372e06636a54da4a0b18346cdcd93
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CABP7RbdUhc01quGxUEpk3YGNYpbeG4iMwkcgBSAHegVQKwi0_Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15464
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>

--047d7bdc7c2425a2af04ccc94e54
Content-Type: text/plain; charset=UTF-8

On Wed, Oct 24, 2012 at 12:25 AM, Mark Nottingham <mnot@mnot.net> wrote:

> [snip[
>
> So, I'd put it this way:
>
> The DNS-based upgrade is optimistic; it will be fast as long as there
> isn't an unknown middlebox present; if there is, it'll be slower to start.
> The question is how often that will happen, and how detectable / variable
> it is.
>
> On the other hand, the Upgrade-based negotiation is pessimistic; it assume
> that something will go wrong until we prove that both ends speak the same
> language. It'll be fast but have some limitations at the start (as
> discussed).
>
> Ideally, we'd have exactly one way to upgrade for HTTP URIs. However, that
> *may* not be possible -- if enough people's needs aren't met by the Upgrade
> path, other mechanisms for doing it will be developed, and if that's going
> to happen, I'd like it to be interoperable, and ideally part of the spec
> itself.
>
>
An optimistic approach where DNS is not in the picture is going to be a
necessity at some point.

- James

--047d7bdc7c2425a2af04ccc94e54
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Wed, Oct 24, 2012 at 12:25 AM, Mark Nottingham <span dir=3D"ltr">&lt=
;<a href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</=
span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div class=3D"im">[snip[</div><div class=3D"=
im">
<br>
</div>So, I&#39;d put it this way:<br>
<br>
The DNS-based upgrade is optimistic; it will be fast as long as there isn&#=
39;t an unknown middlebox present; if there is, it&#39;ll be slower to star=
t. The question is how often that will happen, and how detectable / variabl=
e it is.<br>


<br>
On the other hand, the Upgrade-based negotiation is pessimistic; it assume =
that something will go wrong until we prove that both ends speak the same l=
anguage. It&#39;ll be fast but have some limitations at the start (as discu=
ssed).<br>


<br>
Ideally, we&#39;d have exactly one way to upgrade for HTTP URIs. However, t=
hat *may* not be possible -- if enough people&#39;s needs aren&#39;t met by=
 the Upgrade path, other mechanisms for doing it will be developed, and if =
that&#39;s going to happen, I&#39;d like it to be interoperable, and ideall=
y part of the spec itself.<br>


<br></blockquote><div><br></div><div>An optimistic approach where DNS is no=
t in the picture is going to be a necessity at some point.</div><div><br></=
div><div>- James</div></div>

--047d7bdc7c2425a2af04ccc94e54--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 00:49:30 2012
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 70DC021F893B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:49:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rq3eN0gFxZ0a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:49:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6F74521F8939 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 00:49:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQviI-0004u9-D1 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 07:49:18 +0000
Resent-Date: Wed, 24 Oct 2012 07:49:18 +0000
Resent-Message-Id: <E1TQviI-0004u9-D1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <talismanium@gmail.com>) id 1TQviF-0004t7-Jk for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 07:49:15 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <talismanium@gmail.com>) id 1TQviA-00009q-Nk for ietf-http-wg@w3.org; Wed, 24 Oct 2012 07:49:15 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so228635vbb.2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 00:48:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=liwoPFYALbPmXIx0s7uqVJF6mPNHNUPnmfMtYreIGA8=; b=A5M+7QK78VddztQu9r5WhTAAoO8vH0c5a6y3wCpOq5/ESfCjOopxFgUliwJxdD++wp P88CIB99rPgWzdeClPQzHXCCY+m+svuZC/8/YBqdn0irruOvOUWuwKmS05jS+zhmzNAU k8nnk7dsmuglmKyw4J+l6NdSE9oVqk8APeRt+u2sVK8r6EUbW76EpbV+M1gQwwmRzQGz TUaVYRCqHpfMJySk1LUCHoNkD3wtgFJ0stySJnFlKvkFm0jBbCNExYwwd3OS9oxbm1sb 4CEzl0Ca5CBfXI5LisPhq34K/89odIbuk0cFxWgvUlR1s96+kL159iNEeXGTP4pWcDhz 8yNA==
Received: by 10.220.247.200 with SMTP id md8mr6662385vcb.1.1351064924480; Wed, 24 Oct 2012 00:48:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.220.190.129 with HTTP; Wed, 24 Oct 2012 00:48:24 -0700 (PDT)
From: Talisman Dima <talismanium@gmail.com>
Date: Wed, 24 Oct 2012 11:48:24 +0400
Message-ID: <CAMT41AORVo1EvyxEt_QSoRmyExfDETU5o4iKPYinq957xGQQgQ@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=bcaec54fb3e4e4637204ccc95073
Received-SPF: pass client-ip=209.85.212.43; envelope-from=talismanium@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-0.8
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQviA-00009q-Nk 81513d75848ac9b1081418ee35a57848
X-Original-To: ietf-http-wg@w3.org
Subject: X-Content-Warning response for better world
Archived-At: <http://www.w3.org/mid/CAMT41AORVo1EvyxEt_QSoRmyExfDETU5o4iKPYinq957xGQQgQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15465
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>

--bcaec54fb3e4e4637204ccc95073
Content-Type: text/plain; charset=ISO-8859-1

I think about children-safety and want discuss next thing:

What you think about creating new HTTP response-header, for example:
"X-Content-Warning:"

which for example will contain warnings about: adult content, harmful
content, obscene language

In browser settings parents could activate filtering of such content, It
will make Internet much more safer for children's.

For instance, website may response with header: "X-Content-Warning: adult,
harmful, obscene" if content is inappropriate for children's.

Is this nice thing, if sites will mark content in such way?

===
Dmitry Syrovatskiy

--bcaec54fb3e4e4637204ccc95073
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I think about children-safety and want discuss next thing:<br><br>What you =
think about creating new HTTP response-header, for example: &quot;X-Content=
-Warning:&quot;<br><br>which for example will contain warnings about: adult=
 content, harmful content, obscene language<br>

<br>In browser settings parents could activate filtering of such content, I=
t will make Internet much more safer for children&#39;s.<br><br>For instanc=
e, website may response with header: &quot;X-Content-Warning: adult, harmfu=
l, obscene&quot; if content is inappropriate for children&#39;s.<br>

<br>Is this nice thing, if sites will mark content in such way?<br><br>=3D=
=3D=3D<br>Dmitry Syrovatskiy<br>

--bcaec54fb3e4e4637204ccc95073--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 00:58:23 2012
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 8254921F8B83 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:58:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.066
X-Spam-Level: 
X-Spam-Status: No, score=-9.066 tagged_above=-999 required=5 tests=[AWL=1.533, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x-DUdVs9qPvW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 00:58:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E7A0821F8B81 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 00:58:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQvqA-0000BJ-H5 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 07:57:26 +0000
Resent-Date: Wed, 24 Oct 2012 07:57:26 +0000
Resent-Message-Id: <E1TQvqA-0000BJ-H5@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TQvq7-0000AZ-00 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 07:57:23 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TQvq6-0000yM-26 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 07:57:22 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9O7umjg009534; Wed, 24 Oct 2012 09:56:48 +0200
Date: Wed, 24 Oct 2012 09:56:48 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Message-ID: <20121024075648.GF7331@1wt.eu>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.692, RP_MATCHES_RCVD=-0.737, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQvq6-0000yM-26 9a444f8f46dcc4bacb780fee8ac29543
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/20121024075648.GF7331@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15466
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>

On Wed, Oct 24, 2012 at 06:25:57PM +1100, Mark Nottingham wrote:
> 
> On 24/10/2012, at 6:10 PM, Willy Tarreau <w@1wt.eu> wrote:
> 
> >> A fair number of folks has said they want this, and no one is saying that it's mandatory.
> > 
> > Not being mandatory still means that browsers will have to decide what to
> > do based on this record at one point, with lists of exceptions.
> 
> Yes -- but I'm hearing (so far) from the browser folks that they're willing to do this.

I know, I'm just raising some points so that we don't forget anything.

(...)
> So, I'd put it this way:
> 
> The DNS-based upgrade is optimistic; it will be fast as long as there isn't an unknown middlebox present; if there is, it'll be slower to start. The question is how often that will happen, and how detectable / variable it is.
> 
> On the other hand, the Upgrade-based negotiation is pessimistic; it assume that something will go wrong until we prove that both ends speak the same language. It'll be fast but have some limitations at the start (as discussed).
> 
> Ideally, we'd have exactly one way to upgrade for HTTP URIs. However, that *may* not be possible -- if enough people's needs aren't met by the Upgrade path, other mechanisms for doing it will be developed, and if that's going to happen, I'd like it to be interoperable, and ideally part of the spec itself.
> 
> I do hear what you're saying, though. We'll need more data to make hard decisions; at this point I'm just trying to figure out what high-level approaches we're going to pursue in earnest. 
> 
> 
> > And for clear text we'd keep the good old HTTP upgrade which should be
> > optimal for the most common usages (GET/HEAD first) and require that
> > other methods would be handled as 1.1 during the first round trip. I
> > don't see this as a terrible tradeoff.
> 
> 
> At this (early) point it looks like we're going that way, yes. The question is whether we have an optimistic path as well.

I really think that we could consider that https:// is the only fast path.
After all, the web is progressively moving towards more https, and even the
SPDY team wanted full TLS at the beginning. Why not have it this way ? It
would be another incentive for moving web sites to TLS, and would also make
https look faster than http in some carefully biased benchmarks :-)

That said for https to work we still need to fix browser-to-proxy
communications.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 01:04:25 2012
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 B131221F84B3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 01:04:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.324
X-Spam-Level: 
X-Spam-Status: No, score=-8.324 tagged_above=-999 required=5 tests=[AWL=2.275, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lb3dYhOiSpkU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 01:04:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A4AFF21F849B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 01:04:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQvwD-00054i-FL for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 08:03:41 +0000
Resent-Date: Wed, 24 Oct 2012 08:03:41 +0000
Resent-Message-Id: <E1TQvwD-00054i-FL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQvwA-00053O-43 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 08:03:38 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQvw3-0000av-Dp for ietf-http-wg@w3.org; Wed, 24 Oct 2012 08:03:35 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 46B1C22E253; Wed, 24 Oct 2012 04:03:07 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAMT41AORVo1EvyxEt_QSoRmyExfDETU5o4iKPYinq957xGQQgQ@mail.gmail.com>
Date: Wed, 24 Oct 2012 19:03:15 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <F874A774-BE4C-4841-8D21-09A1C3D8DC20@mnot.net>
References: <CAMT41AORVo1EvyxEt_QSoRmyExfDETU5o4iKPYinq957xGQQgQ@mail.gmail.com>
To: Talisman Dima <talismanium@gmail.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-3.117, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQvw3-0000av-Dp 51aade44d4ffaafe85d0ccaddad6f7d0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: X-Content-Warning response for better world
Archived-At: <http://www.w3.org/mid/F874A774-BE4C-4841-8D21-09A1C3D8DC20@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15467
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>

See:
  http://www.w3.org/PICS/
  http://www.w3.org/2007/powder/

Cheers,


On 24/10/2012, at 6:48 PM, Talisman Dima <talismanium@gmail.com> wrote:

> I think about children-safety and want discuss next thing:
>=20
> What you think about creating new HTTP response-header, for example: =
"X-Content-Warning:"
>=20
> which for example will contain warnings about: adult content, harmful =
content, obscene language
>=20
> In browser settings parents could activate filtering of such content, =
It will make Internet much more safer for children's.
>=20
> For instance, website may response with header: "X-Content-Warning: =
adult, harmful, obscene" if content is inappropriate for children's.
>=20
> Is this nice thing, if sites will mark content in such way?
>=20
> =3D=3D=3D
> Dmitry Syrovatskiy

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 01:42:19 2012
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 64F8521F8BBA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 01:42:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.549
X-Spam-Level: 
X-Spam-Status: No, score=-10.549 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7v4vS4XeeJO4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 01:42:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0BCF521F8BB7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 01:42:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQwW5-0000ly-6P for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 08:40:45 +0000
Resent-Date: Wed, 24 Oct 2012 08:40:45 +0000
Resent-Message-Id: <E1TQwW5-0000ly-6P@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQwW1-0000lA-HA for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 08:40:41 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQwVw-0001pv-1S for ietf-http-wg@w3.org; Wed, 24 Oct 2012 08:40:37 +0000
Received: from [192.168.1.102] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 0FD24E70F2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 21:40:11 +1300 (NZDT)
Message-ID: <5087A964.3090805@treenet.co.nz>
Date: Wed, 24 Oct 2012 21:40:04 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net> <CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com> <8AF3AFC2-8642-43F7-8472-FAAB1FD28827@mnot.net>
In-Reply-To: <8AF3AFC2-8642-43F7-8472-FAAB1FD28827@mnot.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQwVw-0001pv-1S 1c44fdc82141236b7aaf61bb9d58db27
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/5087A964.3090805@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15468
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>

On 24/10/2012 5:51 p.m., Mark Nottingham wrote:
> On 24/10/2012, at 3:12 PM, William Chan (陈智昌) <willchan@chromium.org> wrote:
>>>>> Who's willing to do some experimentation? Specifically, does anyone have access to the code that was used before (IIRC, people bought some ads and inserted some Java to probe the network)?
>>>> Do you mean the Chromium HTTP upgrade experiment agl referred to in
>>>> http://www.ietf.org/mail-archive/web/tls/current/msg05593.html?
>>> No, IIRC there was also some broader experimentation using ads; I'll dig around a bit more.
>>>
>>> Of course, if Chrome (or any other browser) would be interested in running an experiment, we'd love to do that too -- provided we can have input into the design.
>> Is there anything you'd like to change about the design in
>> http://www.ietf.org/mail-archive/web/tls/current/msg05593.html? I'm in
>> general supportive of running experiments, I just don't want to waste
>> our time unless there was something deficient about the previous
>> experiment.
> Could you dig up the exact bytes-on-the-wire handshake that was used?
>
>
>> Also, I suspect a non-Google experiment would carry more
>> weight :) External validation is good.
> Agreed.
>
>
>> On that point, at Realtime Conf today, Arnout Kazemier provided a
>> bunch of data on issues with WebSockets deployment.
>> https://speakerdeck.com/3rdeden/realtimeconf-dot-oct-dot-2012. As he
>> says "tl;dl: Always use SSL".
>
> Thanks.
>
> I'd like to validate an assumption that has been discussed in-person in a meeting (forget which one) but IIRC not yet on-list.
>
> It's that if we can design an upgrade that fails fast and reliably for HTTP URLs, it's acceptable for there to be a (say) 70% success rate initially, with the idea that it will rise over time -- perhaps slowly, in terms of browser releases, but relatively quickly, in terms of the lifetime of HTTP.
>
> Can we (everyone) agree upon that?


I thought we are working from a baseline of Upgrade: being *the* 
existing defined HTTP/1.1 method for negotiation. Those Chromium 
experimentd proving it had ~67% success rate. Now just looking for ways 
to use it more efficiently and alternative methods that would improve 
that success rate faster?

> WRT WebSockets, keep in mind that the proxy/firewall/virus scanning vendors have had less than a year since it became an RFC, for a protocol that has (relatively) unproven demand and hard-to-nail-down semantics.
>
> I suspect that HTTP2, once we finish, will be get more priority from them; the demand is already proven, and the semantics of the protocol are easier to fit into their existing threat models, etc.
>


Amos


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 01:42:43 2012
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 DB98421F8BC0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 01:42:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.442
X-Spam-Level: 
X-Spam-Status: No, score=-10.442 tagged_above=-999 required=5 tests=[AWL=0.157, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qtG6YqPNPQMf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 01:42:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1EE5321F8BBF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 01:42:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQwXO-0000wu-4d for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 08:42:06 +0000
Resent-Date: Wed, 24 Oct 2012 08:42:06 +0000
Resent-Message-Id: <E1TQwXO-0000wu-4d@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1TQwXK-0000vQ-Kk for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 08:42:02 +0000
Received: from ams-iport-1.cisco.com ([144.254.224.140]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1TQwXC-0001sm-Ej for ietf-http-wg@w3.org; Wed, 24 Oct 2012 08:41:59 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1406; q=dns/txt; s=iport; t=1351068114; x=1352277714; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=+ujQPpgHP6qLBAL6oAJvt+ePy299INlqzGK55RQZdTs=; b=YYPql2Xx3hxuBuFT2YjKwF2o7oSuXn6sZ8TEzEJC4Z3sM7zwuxOcjaRt 4ZKA+ZnexKfKWfsw2xPs8no9K59mCh2X0cweE7Z5LxHmk6xGVxvPSO3Wf KPljPu/Cyp9XOKeLhnVZo5WadLWt8jo5KqeCy5I4PlJ+fdLlqG7k3MCUd s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgAFAG6oh1CQ/khN/2dsb2JhbABEhhS7aIEIgh4BAQEEEgEQVQEQCw4KAgIFFgsCAgkDAgECAUUGDQEHAQEXB4dimyONIZJfgSCQGYESA5VzgReNN4FrgnE
X-IronPort-AV: E=Sophos;i="4.80,639,1344211200";  d="scan'208";a="145727111"
Received: from ams-core-4.cisco.com ([144.254.72.77]) by ams-iport-1.cisco.com with ESMTP; 24 Oct 2012 08:41:28 +0000
Received: from dhcp-10-55-83-243.cisco.com (dhcp-10-55-83-243.cisco.com [10.55.83.243]) by ams-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id q9O8fR9B029419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Oct 2012 08:41:27 GMT
Message-ID: <5087A9B7.1040009@cisco.com>
Date: Wed, 24 Oct 2012 10:41:27 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <CAOdDvNodck+yQAavBPi8-EWsAOpMXMYTFQCVoAVY46FAC5-89w@mail.gmail.com> <50879CD0.9050606@cisco.com> <50BC2FE7-D1E4-45D6-AF73-D80CF5A0DEB2@mnot.net>
In-Reply-To: <50BC2FE7-D1E4-45D6-AF73-D80CF5A0DEB2@mnot.net>
X-Enigmail-Version: 1.4.5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=144.254.224.140; envelope-from=lear@cisco.com; helo=ams-iport-1.cisco.com
X-W3C-Hub-Spam-Status: No, score=-13.5
X-W3C-Hub-Spam-Report: AWL=-0.124, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.737, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: maggie.w3.org 1TQwXC-0001sm-Ej 8309fc06dc7333d22500aee4bf5e905b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/5087A9B7.1040009@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15469
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>

On 10/24/12 9:48 AM, Mark Nottingham wrote:
> Can you expand upon that a bit? You mean where the successive DNS
> lookups come from different servers, or...?

The issue is additional information that Patrik is suggesting that we
use (to be fair I may have made the same suggestion without thinking it
through earlier).  So, take for instance the case where you want to look
up what the server on example.com is using.  You might have the
following SRV response:

_http2._tcp.example.com    IN    SRV 0 10 880 http2server.example.com

and additional information of

http2server.example.com    IN    A 192.0.2.1

The problem is that _http2._tcp.example.com may not be in the same zone
as http2server.example.com, and the querying resolver can't tell, simply
based on one query.  The nameserver for _http2._tcp.example.com doesn't
really have the right to make claims about anything outside its zone. 
There are common enterprise deployments in which this is in fact the
case.  Someone even asked me if it was possible NOT to have a zone cut
at _tcp....!!!

Now let's take a more nefarious example:

_http2._tcp.badguy.com    IN    SRV 0 880    mybank.com

and additional information of

mybank.com    IN    A    192.0.2.18 ;; where this address leads you to
the wrong site.

A solution to this issue is to use the same name.  That guarantees the
same authority.

Eliot




From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 02:11:24 2012
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 8D87921F8567 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 02:11:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.556
X-Spam-Level: 
X-Spam-Status: No, score=-10.556 tagged_above=-999 required=5 tests=[AWL=0.043, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6L4ZrSHecrkT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 02:11:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8E4B221F84FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 02:11:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQwyf-0007gh-FQ for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 09:10:17 +0000
Resent-Date: Wed, 24 Oct 2012 09:10:17 +0000
Resent-Message-Id: <E1TQwyf-0007gh-FQ@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQwyb-0007fV-I6 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 09:10:13 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQwya-0003YH-6X for ietf-http-wg@w3.org; Wed, 24 Oct 2012 09:10:13 +0000
Received: from [192.168.1.102] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 04838E70F2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 22:09:47 +1300 (NZDT)
Message-ID: <5087B054.60903@treenet.co.nz>
Date: Wed, 24 Oct 2012 22:09:40 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net>
In-Reply-To: <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQwya-0003YH-6X 77ef0384d9bddcfed295789510a19689
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/5087B054.60903@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15470
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>

On 24/10/2012 8:25 p.m., Mark Nottingham wrote:
> On 24/10/2012, at 6:10 PM, Willy Tarreau <w@1wt.eu> wrote:
>
>>> A fair number of folks has said they want this, and no one is saying that it's mandatory.
>> Not being mandatory still means that browsers will have to decide what to
>> do based on this record at one point, with lists of exceptions.
> Yes -- but I'm hearing (so far) from the browser folks that they're willing to do this.

They are very willing to implement NTLM as well.  Which you will notice 
... also works very well on the same single-hop connections as DNS SRV 
record.

The problems occur when a multi-hop path in introduced. Not so bad in 
the DNS feature but enough to make it a no-gain feature not worth 
looking up the DNS for configured proxies.


Are we also going to define this official DNS record for locating the 
local LAN proxy?
  It would only need to define what port + HTTP(S) version to connect 
with. Same details as an origin server domain. *That* would be far more 
useful than just an origin server record IMO. Since it goes a long way 
to eradicating those pesky WPAD issues as well as being re-usable for 
origin hosts.


>
>>> AFAICT most of your problems can be boiled down to:
>>>
>>> 1) Different servers may back up one DNS record - in which case, they don't have to use SRV
>>>
>>> 2) Clients assuming HTTP/2 may fail - in which case, we need to design things so they can recognise this and fall back to 1.1 seamlessly.
>> While this seems to be a prerequisite to me, it does not sound like the
>> solution to everything : failing fast is what we all hope for, but we
>> know well that there are environments where the failure will cause delays
>> etc... (you're well aware of the issues faced by pipelining for example).
>> So similarly we'll have some boxes drop packets or simply not forward data
>> when they discover junk after the request headers.
>>
>> DNS records are just for global view of how the server is presented to the
>> net, but it does not take into account the whole path to the clients.
>>
>> I'd suggest that the zero-roundtrip upgrade is made only on TLS using the
>> NPN extension that already works well with SPDY. The advantage is that it
>> says what protocol can be spoken on top of a connection and does not rely
>> on external components unaware of the path.
> So, I'd put it this way:
>
> The DNS-based upgrade is optimistic; it will be fast as long as there isn't an unknown middlebox present; if there is, it'll be slower to start. The question is how often that will happen, and how detectable / variable it is.

I think it would be safe to assume most of those 33% failed Upgrade: 
attempts over port 80 the Chromium experiments were on proxied 
connections. A repeat experiment could be defined to clarify what 
portion were configured proxy, interception proxy, other failure.

> On the other hand, the Upgrade-based negotiation is pessimistic; it assume that something will go wrong until we prove that both ends speak the same language. It'll be fast but have some limitations at the start (as discussed).
>
> Ideally, we'd have exactly one way to upgrade for HTTP URIs. However, that *may* not be possible -- if enough people's needs aren't met by the Upgrade path, other mechanisms for doing it will be developed, and if that's going to happen, I'd like it to be interoperable, and ideally part of the spec itself.
>
> I do hear what you're saying, though. We'll need more data to make hard decisions; at this point I'm just trying to figure out what high-level approaches we're going to pursue in earnest.
>
>
>> And for clear text we'd keep the good old HTTP upgrade which should be
>> optimal for the most common usages (GET/HEAD first) and require that
>> other methods would be handled as 1.1 during the first round trip. I
>> don't see this as a terrible tradeoff.
>
> At this (early) point it looks like we're going that way, yes. The question is whether we have an optimistic path as well.
>

Amos


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 02:27:37 2012
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 92C8721F8BC1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 02:27:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.561
X-Spam-Level: 
X-Spam-Status: No, score=-10.561 tagged_above=-999 required=5 tests=[AWL=0.038, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N2hUOmMhl5BO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 02:27:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BBA4021F8BC3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 02:27:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQxE7-00066B-Ev for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 09:26:15 +0000
Resent-Date: Wed, 24 Oct 2012 09:26:15 +0000
Resent-Message-Id: <E1TQxE7-00066B-Ev@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQxE4-00064m-3Z for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 09:26:12 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TQxE2-00043d-Bw for ietf-http-wg@w3.org; Wed, 24 Oct 2012 09:26:12 +0000
Received: from [192.168.1.102] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 370ACE70F2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 22:25:47 +1300 (NZDT)
Message-ID: <5087B413.1000801@treenet.co.nz>
Date: Wed, 24 Oct 2012 22:25:39 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net>
In-Reply-To: <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-2.956, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQxE2-00043d-Bw 53cddd6b0d3942dac806723cf07932bd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/5087B413.1000801@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15471
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>

On 24/10/2012 6:26 p.m., Mark Nottingham wrote:
> Hi Herve,
>
> On 23/10/2012, at 3:26 AM, RUELLAN Herve <Herve.Ruellan@crf.canon.fr> wrote:
>> Hi all,
> Welcome :)
>
>> We are currently studying the compaction results for different header encoding formats, including various SPDY versions and an internally developed format (we plan to publish its description as soon as possible).
> It's very good to hear that you're doing this.
>
>> We are wondering whether anyone is aware of a test corpus for HTTP exchanges that would be available, or could be made available. This would help us obtaining fair and realistic results.
>
> I've been thinking about this too, and have started writing some software to sniff unadulterated HTTP headers (request and response) off the wire. I know that some browsers make headers available, but they also have a habit of "cleaning up" the headers before presenting them to APIs, IME.
>
> Currently I have a pcap-based sniffer for HTTP sites <https://github.com/mnot/hdrgrab>; soon I should have a MITM proxy for HTTPS ones.
>
> Once we start to collect a corpus, I'd suggest we put them on github: <https://github.com/http2>. That will let everyone share a common base for testing, and review it to make sure that it's appropriate.

FYI;  we have implemented raw HTTP header dumps on inbound/outbound 
traffic in Squid-3.2 linked with TCP socket details and timing. If 
anyone else is interested in a quick and easy source of data without 
tcpdump they are welcome to use Squid for that. "debug_options 11,2" is 
the magic config stanza to output the traffic into cache.log.

> If you'd like to put your framework for comparison up there, you'd be welcome to; please ping me.
>
>> Currently we are using web pages obtained from Alexa's top ranked sites. While computing our results, we are taking into account several parameters: separate study of requests and responses, using deflate or not (when relevant), variable number of exchanged messages (corresponding to loading from 1 to 10 web pages). Any advice on these measurements would be appreciated.
> For the time being, mine combines all of the requests / responses on different connections to the same server into the same file, under the assumption that multiplexing will enable this. Eventually I'd like to get something more sophisticated in there.
>
> It also removes connection headers, as they're really HTTP/1 specific.
>
> What else should we be doing?

I think the HTTP/1 traces should leave those headers in. The data corpus 
might be used as example raw input from HTTP/1 clients or servers to 
test upgrading speeds on middleware. Which will need to also test time 
taken stripping those headers away.

The data corpus can come with an example HTTP/1->HTTP/2 convert script 
to prepare for tests of HTTP/2 native traffic speeds and/or of speed 
testing implementations gateway conversions.


>
>> Last, we would like to share our results to help the WG discussions on this topic. As we're rather new to the IETF, we're not sure of the best way to do this. I plan to attend the IEFT 85 meeting in Atlanta, so I could use this occasion to share these results.
> If you'd like to give a short (10-20 minute) presentation in the Atlanta meeting, I'd be happy to accommodate that. Please ping me if you're interested.
>

Amos


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 03:14:01 2012
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 6D5DA21F8B46 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 03:14:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.347
X-Spam-Level: 
X-Spam-Status: No, score=-8.347 tagged_above=-999 required=5 tests=[AWL=2.252, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l2wUBCqV4SOL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 03:14:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7BD5B21F893F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 03:14:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQxwo-0003gx-Jh for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 10:12:26 +0000
Resent-Date: Wed, 24 Oct 2012 10:12:26 +0000
Resent-Message-Id: <E1TQxwo-0003gx-Jh@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQxwl-0003gD-3J for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 10:12:23 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQxwk-0006OL-2v for ietf-http-wg@w3.org; Wed, 24 Oct 2012 10:12:23 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 82B5722E255; Wed, 24 Oct 2012 06:11:59 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <5087A964.3090805@treenet.co.nz>
Date: Wed, 24 Oct 2012 21:12:12 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <43BEC327-FE5F-4D70-A2B8-1430BCEA7513@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net> <CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com> <8AF3AFC2-8642-43F7-8472-FAAB1FD28827@mnot.net> <5087A964.3090805@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-3.058, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQxwk-0006OL-2v 14a06d475081d5db3de1957c4032ae85
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/43BEC327-FE5F-4D70-A2B8-1430BCEA7513@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15472
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>

On 24/10/2012, at 7:40 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

>> I'd like to validate an assumption that has been discussed in-person =
in a meeting (forget which one) but IIRC not yet on-list.
>>=20
>> It's that if we can design an upgrade that fails fast and reliably =
for HTTP URLs, it's acceptable for there to be a (say) 70% success rate =
initially, with the idea that it will rise over time -- perhaps slowly, =
in terms of browser releases, but relatively quickly, in terms of the =
lifetime of HTTP.
>>=20
>> Can we (everyone) agree upon that?
>=20
>=20
> I thought we are working from a baseline of Upgrade: being *the* =
existing defined HTTP/1.1 method for negotiation. Those Chromium =
experimentd proving it had ~67% success rate. Now just looking for ways =
to use it more efficiently and alternative methods that would improve =
that success rate faster?

Yes, that appears to be the case right now.

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 04:22:28 2012
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 F384121F88A9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 04:22:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FcH54MPgV8cP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 04:22:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C4BA321F8830 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 04:22:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQz0n-00015f-K3 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 11:20:37 +0000
Resent-Date: Wed, 24 Oct 2012 11:20:37 +0000
Resent-Message-Id: <E1TQz0n-00015f-K3@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <slink@schokola.de>) id 1TQz0k-00014d-EI for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 11:20:34 +0000
Received: from smtp.mcs.de ([212.1.60.21]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <slink@schokola.de>) id 1TQz0f-00008K-Hd for ietf-http-wg@w3.org; Wed, 24 Oct 2012 11:20:34 +0000
Received: from hmbg-4d06b1ad.pool.mediaways.net ([77.6.177.173]:38947 helo=[192.168.64.65]) by smtp.mcs.de with esmtpa (Exim 4.76) (envelope-from <slink@schokola.de>) id 1TQz0I-0006dc-CY; Wed, 24 Oct 2012 13:20:07 +0200
Message-ID: <5087CEE5.1020207@schokola.de>
Date: Wed, 24 Oct 2012 13:20:05 +0200
From: Nils Goroll <slink@schokola.de>
User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:10.0.2) Gecko/20120217 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: ietf-http-wg@w3.org
References: <50800A50.2050207@schokola.de> <A676CFB6-224E-4BB7-9C7B-115A20BAFC53@mnot.net> <5086FCE2.2090708@schokola.de> <B0D66A8B-8D99-440B-B53C-3177B112322A@mnot.net>
In-Reply-To: <B0D66A8B-8D99-440B-B53C-3177B112322A@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=212.1.60.21; envelope-from=slink@schokola.de; helo=smtp.mcs.de
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1TQz0f-00008K-Hd 9eb0417348f045480d908fb35795998c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC issue: (minor?) scope of client/server attributes (specifically:    downgrades) in p1
Archived-At: <http://www.w3.org/mid/5087CEE5.1020207@schokola.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15473
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>

> A UA might decide to "remember" the downgrade longer than the scope of a single connection.

Then the implication would be that all actual server processes behind an address 
or fqdn had to support the same version(s).

Also, this would not be consistent with the definition for upgrades, which I'd 
find confusion.

Thanks, Nils


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 04:32:42 2012
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 E019021F8B88 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 04:32:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.308
X-Spam-Level: 
X-Spam-Status: No, score=-7.308 tagged_above=-999 required=5 tests=[AWL=3.291, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2r6Pf-P-OB7V for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 04:32:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2741F21F8A07 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 04:32:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQzBZ-0006uB-On for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 11:31:45 +0000
Resent-Date: Wed, 24 Oct 2012 11:31:45 +0000
Resent-Message-Id: <E1TQzBZ-0006uB-On@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TQzBW-0006tI-3w for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 11:31:42 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TQzBR-0000ZA-BJ for ietf-http-wg@w3.org; Wed, 24 Oct 2012 11:31:42 +0000
Received: (qmail invoked by alias); 24 Oct 2012 11:24:37 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp010) with SMTP; 24 Oct 2012 13:24:37 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19jzuZ6GBxjXlxdC0oqBR2iln4ejhNbap0VgjUV8y lLzhEaz6u74qmj
Message-ID: <5087CFF5.1070105@gmx.de>
Date: Wed, 24 Oct 2012 13:24:37 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Maciej Stachowiak <mjs@apple.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com> <5086409B.4010802@gmx.de> <702054BA-0177-488B-963F-BB496D5A2E14@mnot.net> <0E032E53-04DD-466B-8F05-FDB4976DFA56@mnot.net>
In-Reply-To: <0E032E53-04DD-466B-8F05-FDB4976DFA56@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQzBR-0000ZA-BJ 1837b41030bd83fbd61a5d2d160be30e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #388: User interface requirements for redirecting to unsafe methods
Archived-At: <http://www.w3.org/mid/5087CFF5.1070105@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15474
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>

On 2012-10-24 03:39, Mark Nottingham wrote:
> Now <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/388>. Is editorial, since the decision was already made in #238.
> ...

I believe we can just drop that sentence, as there's another paragraph 
later on that deals with the issue. With that change, the introduction 
would read:

7.4.  Redirection 3xx

    This class of status code indicates that further action needs to be
    taken by the user agent in order to fulfill the request.

    There are several types of redirects:

    1.  Redirects of the request to another URI, either temporarily or
        permanently.  The new URI is specified in the Location header
        field.  In this specification, the status codes 301 (Moved
        Permanently), 302 (Found), and 307 (Temporary Redirect) fall
        under this category.

    2.  Redirection to a new location that represents an indirect
        response to the request, such as the result of a POST operation
        to be retrieved with a subsequent GET request.  This is status
        code 303 (See Other).

    3.  Redirection offering a choice of matching resources for use by
        reactive content negotiation (Section 3.4.2).  This is status
        code 300 (Multiple Choices).

    4.  Other kinds of redirection, such as to a cached result (status
        code 304 (Not Modified), see Section 4.1 of [Part4]).

       Note: In HTTP/1.0, only the status codes 301 (Moved Permanently)
       and 302 (Found) were defined for the first type of redirect, and
       the second type did not exist at all ([RFC1945], Section 9.3).
       However it turned out that web forms using POST expected redirects
       to change the operation for the subsequent request to retrieval
       (GET).  To address this use case, HTTP/1.1 introduced the second
       type of redirect with the status code 303 (See Other) ([RFC2068],
       Section 10.3.4).  As user agents did not change their behavior to
       maintain backwards compatibility, the first revision of HTTP/1.1
       added yet another status code, 307 (Temporary Redirect), for which
       the backwards compatibility problems did not apply ([RFC2616],
       Section 10.3.8).  Over 10 years later, most user agents still do
       method rewriting for status codes 301 and 302, therefore this
       specification makes that behavior conformant in case the original
       request was POST.

    A Location header field on a 3xx response indicates that a client MAY
    automatically redirect to the URI provided; see Section 8.1.2.

    Note that for methods not known to be "safe", as defined in
    Section 5.2.1, automatic redirection needs to done with care, since
    the redirect might change the conditions under which the request was
    issued.

    Clients SHOULD detect and intervene in cyclical redirections (i.e.,
    "infinite" redirection loops).

       Note: An earlier version of this specification recommended a
       maximum of five redirections ([RFC2068], Section 10.3).  Content
       developers need to be aware that some clients might implement such
       a fixed limitation.

(see 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/388/388.diff>)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 05:04:05 2012
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 5075F21F86A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 05:04:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.37
X-Spam-Level: 
X-Spam-Status: No, score=-8.37 tagged_above=-999 required=5 tests=[AWL=2.230, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qxs1b5YRGB-I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 05:04:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 625A621F869B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 05:04:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQzfk-0004l8-1u for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 12:02:56 +0000
Resent-Date: Wed, 24 Oct 2012 12:02:56 +0000
Resent-Message-Id: <E1TQzfk-0004l8-1u@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQzfc-0004k0-Oz for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 12:02:48 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TQzfb-0001TL-O5 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 12:02:48 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 06DF122DD6D; Wed, 24 Oct 2012 08:02:24 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <5087CFF5.1070105@gmx.de>
Date: Wed, 24 Oct 2012 23:02:41 +1100
Cc: Maciej Stachowiak <mjs@apple.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <DA0C95E1-B54A-4514-802B-15433F12B90D@mnot.net>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com> <5086409B.4010802@gmx.de> <702054BA-0177-488B-963F-BB496D5A2E14@mnot.net> <0E032E53-04DD-466B-8F05-FDB4976DFA56@mnot.net> <5087CFF5.1070105@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-2.978, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TQzfb-0001TL-O5 8b5be68339c9d13c28cafd975ce3377a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #388: User interface requirements for redirecting to unsafe methods
Archived-At: <http://www.w3.org/mid/DA0C95E1-B54A-4514-802B-15433F12B90D@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15475
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>

+1

On 24/10/2012, at 10:24 PM, Julian Reschke <julian.reschke@gmx.de> =
wrote:

> On 2012-10-24 03:39, Mark Nottingham wrote:
>> Now <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/388>. Is =
editorial, since the decision was already made in #238.
>> ...
>=20
> I believe we can just drop that sentence, as there's another paragraph =
later on that deals with the issue. With that change, the introduction =
would read:
>=20
> 7.4.  Redirection 3xx
>=20
>   This class of status code indicates that further action needs to be
>   taken by the user agent in order to fulfill the request.
>=20
>   There are several types of redirects:
>=20
>   1.  Redirects of the request to another URI, either temporarily or
>       permanently.  The new URI is specified in the Location header
>       field.  In this specification, the status codes 301 (Moved
>       Permanently), 302 (Found), and 307 (Temporary Redirect) fall
>       under this category.
>=20
>   2.  Redirection to a new location that represents an indirect
>       response to the request, such as the result of a POST operation
>       to be retrieved with a subsequent GET request.  This is status
>       code 303 (See Other).
>=20
>   3.  Redirection offering a choice of matching resources for use by
>       reactive content negotiation (Section 3.4.2).  This is status
>       code 300 (Multiple Choices).
>=20
>   4.  Other kinds of redirection, such as to a cached result (status
>       code 304 (Not Modified), see Section 4.1 of [Part4]).
>=20
>      Note: In HTTP/1.0, only the status codes 301 (Moved Permanently)
>      and 302 (Found) were defined for the first type of redirect, and
>      the second type did not exist at all ([RFC1945], Section 9.3).
>      However it turned out that web forms using POST expected =
redirects
>      to change the operation for the subsequent request to retrieval
>      (GET).  To address this use case, HTTP/1.1 introduced the second
>      type of redirect with the status code 303 (See Other) ([RFC2068],
>      Section 10.3.4).  As user agents did not change their behavior to
>      maintain backwards compatibility, the first revision of HTTP/1.1
>      added yet another status code, 307 (Temporary Redirect), for =
which
>      the backwards compatibility problems did not apply ([RFC2616],
>      Section 10.3.8).  Over 10 years later, most user agents still do
>      method rewriting for status codes 301 and 302, therefore this
>      specification makes that behavior conformant in case the original
>      request was POST.
>=20
>   A Location header field on a 3xx response indicates that a client =
MAY
>   automatically redirect to the URI provided; see Section 8.1.2.
>=20
>   Note that for methods not known to be "safe", as defined in
>   Section 5.2.1, automatic redirection needs to done with care, since
>   the redirect might change the conditions under which the request was
>   issued.
>=20
>   Clients SHOULD detect and intervene in cyclical redirections (i.e.,
>   "infinite" redirection loops).
>=20
>      Note: An earlier version of this specification recommended a
>      maximum of five redirections ([RFC2068], Section 10.3).  Content
>      developers need to be aware that some clients might implement =
such
>      a fixed limitation.
>=20
> (see =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/388/388.diff=
>)
>=20
> Best regards, Julian
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 05:23:01 2012
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 3880621F8A17 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 05:23:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.402
X-Spam-Level: 
X-Spam-Status: No, score=-7.402 tagged_above=-999 required=5 tests=[AWL=3.197, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nZuTIXb2Pyiw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 05:23:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5968E21F8B88 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 05:22:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TQzxq-0006F5-Qm for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 12:21:38 +0000
Resent-Date: Wed, 24 Oct 2012 12:21:38 +0000
Resent-Message-Id: <E1TQzxq-0006F5-Qm@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TQzxn-0006Dn-C0 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 12:21:35 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TQzxi-0001Zs-Jl for ietf-http-wg@w3.org; Wed, 24 Oct 2012 12:21:35 +0000
Received: (qmail invoked by alias); 24 Oct 2012 12:21:03 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp012) with SMTP; 24 Oct 2012 14:21:03 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX191iXEJGg513eZ2ABfbjyvWOcwdx1ZoKAAbMqBoe9 B3R7S6wDV3T0ax
Message-ID: <5087DD2F.7000303@gmx.de>
Date: Wed, 24 Oct 2012 14:21:03 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-3.220, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TQzxi-0001Zs-Jl 535043e33349c7afe9cb6930d79389ea
X-Original-To: ietf-http-wg@w3.org
Subject: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range Not Satisfiable"
Archived-At: <http://www.w3.org/mid/5087DD2F.7000303@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15476
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>

<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p5-range-21.html#status.416>:

"When this status code is returned for a byte-range request, the 
response SHOULD include a Content-Range header field specifying the 
current length of the representation (see Section 5.2). This response 
MUST NOT use the multipart/byteranges content-type. For example,"

What is this "MUST NOT" about? Are there clients that will ignore the 
status code and assume success if they see the expected content-type?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 05:37:53 2012
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 90A2321F8A62 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 05:37:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.491
X-Spam-Level: 
X-Spam-Status: No, score=-7.491 tagged_above=-999 required=5 tests=[AWL=3.108, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 71R7+ixkC3O4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 05:37:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1CDCA21F8A2A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 05:37:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR0CW-00075e-VX for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 12:36:49 +0000
Resent-Date: Wed, 24 Oct 2012 12:36:48 +0000
Resent-Message-Id: <E1TR0CW-00075e-VX@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TR0CT-00074c-L5 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 12:36:45 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TR0CS-0002OZ-C2 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 12:36:45 +0000
Received: (qmail invoked by alias); 24 Oct 2012 12:35:40 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp004) with SMTP; 24 Oct 2012 14:35:40 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX180tC1PK4Y0DMvHdCDRiwuDyvXtIuQWiYVmDMiwIB x2lJPIFnEk9UKk
Message-ID: <5087E098.5040203@gmx.de>
Date: Wed, 24 Oct 2012 14:35:36 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Maciej Stachowiak <mjs@apple.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <61A1D0E5-23AD-4DF4-BDE8-DE9E3BE7FD5A@apple.com> <664D77AB-BA98-4843-8FCC-9620654CE8A1@apple.com> <5086409B.4010802@gmx.de> <702054BA-0177-488B-963F-BB496D5A2E14@mnot.net> <0E032E53-04DD-466B-8F05-FDB4976DFA56@mnot.net> <5087CFF5.1070105@gmx.de> <DA0C95E1-B54A-4514-802B-15433F12B90D@mnot.net>
In-Reply-To: <DA0C95E1-B54A-4514-802B-15433F12B90D@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-3.018, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TR0CS-0002OZ-C2 e65d34ae060ecdf7e189cc5ed15a907d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #388: User interface requirements for redirecting to unsafe methods
Archived-At: <http://www.w3.org/mid/5087E098.5040203@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15477
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>

On 2012-10-24 14:02, Mark Nottingham wrote:
> +1

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1950>



From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 06:59:49 2012
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 5F09A21F882B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 06:59:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VdFwZvXM6Uwk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 06:59:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AC13D21F8829 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 06:59:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR1TJ-00062O-Tt for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 13:58:13 +0000
Resent-Date: Wed, 24 Oct 2012 13:58:13 +0000
Resent-Message-Id: <E1TR1TJ-00062O-Tt@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TR1TF-0005zF-03 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 13:58:09 +0000
Received: from mail-oa0-f43.google.com ([209.85.219.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TR1TD-0006yQ-3w for ietf-http-wg@w3.org; Wed, 24 Oct 2012 13:58:08 +0000
Received: by mail-oa0-f43.google.com with SMTP id k1so497533oag.2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 06:57:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=yqChaSY8E9fbLEntlmDQ3+2Qhi+kuFzstLPjSZfV/RI=; b=uRE1e1bWpFzuVWFyzqTtVMN0zy+gdr0Y6QwJdwbzD0IowoWtuBWbncUI4cjrpMua66 IeDMrVMwGLPLEaok42w3s55RTP/nQluj5LmSVJoaTv2QekFhRLKEleiW/RQ9Je8sPnHp PoHlV7JtVKHu4ciappClakAEp2zipVUbUIxKpYaIEomrG4AYzWxSkqK/GuauUYFbScBd q5Cr/IBDKue74824j4gQUlLMc+VvMwrduauUQCSnRQ8mTAx9ATLmjoWKhV4vL2tangEW k0egrkkgRKzMn4oairlXIbu8JYNftIcdXqbRettsozq/qvHNT1svcgiXyNzVC6DuFX10 oGLw==
MIME-Version: 1.0
Received: by 10.60.11.162 with SMTP id r2mr13644560oeb.114.1351087061018; Wed, 24 Oct 2012 06:57:41 -0700 (PDT)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.116.67 with HTTP; Wed, 24 Oct 2012 06:57:40 -0700 (PDT)
In-Reply-To: <5087A9B7.1040009@cisco.com>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <CAOdDvNodck+yQAavBPi8-EWsAOpMXMYTFQCVoAVY46FAC5-89w@mail.gmail.com> <50879CD0.9050606@cisco.com> <50BC2FE7-D1E4-45D6-AF73-D80CF5A0DEB2@mnot.net> <5087A9B7.1040009@cisco.com>
Date: Wed, 24 Oct 2012 09:57:40 -0400
X-Google-Sender-Auth: A-hKs1GcNsuGbG3seuOETR8Sx8s
Message-ID: <CAOdDvNqXaLo3ORfuL0rXh+DSaCmZRr4ESwEbkMRw4G_JeuyG1w@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Eliot Lear <lear@cisco.com>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8fb1f8325528c904ccce7817
Received-SPF: pass client-ip=209.85.219.43; envelope-from=patrick.ducksong@gmail.com; helo=mail-oa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-0.7
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TR1TD-0006yQ-3w 9b36378feb215242f7908457fe98860a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAOdDvNqXaLo3ORfuL0rXh+DSaCmZRr4ESwEbkMRw4G_JeuyG1w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15478
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>

--e89a8fb1f8325528c904ccce7817
Content-Type: text/plain; charset=ISO-8859-1

Hi,

I'm not an expert here, but yes, there are lots of ways to badly design
your DNS and incur delays - but there are also reasonable ones. This is not
substantially different than the 'out of baliwick' DNS issues from the 90's
right? but that also shows it is resolvable within the current record type
framework, as you say in this case by using the same name which is what I
think we're all envisioning.

something like

www.example.com 86400 IN A 10.10.10.100
_http2tls._tcp.www.example.com. 86400 IN SRV 0 5 443 www.example.com.


there is nothing really unworkable about using a different target name, it
just might incur delays (depending on cache state) that remove the value of
the scheme. So don't do that :)

-Patrick

[eliot, sorry for the double send to you - meant to send it to the list the
first time.]

On Wed, Oct 24, 2012 at 4:41 AM, Eliot Lear <lear@cisco.com> wrote:


A solution to this issue is to use the same name.  That guarantees the
same authority.

Eliot

--e89a8fb1f8325528c904ccce7817
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi, <br><br>I&#39;m not an expert here, but yes, there are lots of ways to =
badly design=20
your DNS and incur delays - but there are also reasonable ones. This is=20
not substantially different than the &#39;out of baliwick&#39; DNS issues f=
rom=20
the 90&#39;s right? but that also shows it is resolvable within the current=
=20
record type framework, as you say in this case by using the same name=20
which is what I think we&#39;re all envisioning. <br>
<br>something like<br><br><pre><a href=3D"http://www.example.com" target=3D=
"_blank">www.example.com</a> 86400 IN A 10.10.10.100<br>_http2tls._<a href=
=3D"http://tcp.www.example.com" target=3D"_blank">tcp.www.example.com</a>. =
86400 IN SRV 0 5 443 <a href=3D"http://www.example.com" target=3D"_blank">w=
ww.example.com</a>.</pre>

<br>there is nothing really unworkable about using a different target=20
name, it just might incur delays (depending on cache state) that remove=20
the value of the scheme. So don&#39;t do that :)<br><br>-Patrick<br><br>[el=
iot, sorry for the double send to you - meant to send it to the list the fi=
rst time.]<br><br>
On Wed, Oct 24, 2012 at 4:41 AM, Eliot Lear <span dir=3D"ltr">&lt;<a href=
=3D"mailto:lear@cisco.com" target=3D"_blank">lear@cisco.com</a>&gt;</span> =
wrote:<br>

<br>
<br>
A solution to this issue is to use the same name. =A0That guarantees the<br=
>
same authority.<br>
<span><font color=3D"#888888"><br>
Eliot<br>
</font></span><br>

--e89a8fb1f8325528c904ccce7817--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 08:54:17 2012
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 1213221F86FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 08:54:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id koGQGRrdW74s for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 08:54:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1176021F86A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 08:54:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR3G7-00061u-BI for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 15:52:43 +0000
Resent-Date: Wed, 24 Oct 2012 15:52:43 +0000
Resent-Message-Id: <E1TR3G7-00061u-BI@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TR3G0-0005zY-Ax for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 15:52:36 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TR3Fv-0002fh-Ke for ietf-http-wg@w3.org; Wed, 24 Oct 2012 15:52:36 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so709969vbb.2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 08:52:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Toyhlp/LhkObOa58lr+65QmLTXkrmaab+dHuZ0Parm8=; b=CbAE0shrY3Cdxi0pTv7ZE5Gwbh6zWDjU2jwyQCGy5wscZgL7r0B3nPquaL1RLYmoOw DvnLoBbyaHEM/anAdMhWYpfrA7gYmf5nWUTftNCKNz/L3EaKuNEkFQceYQ2LRAS/8wrA bDc34cUZB6Zt7BI38XGzX+4psXSPSOWyHReO4SvP25ipPM3WAbPwx1/3n+4I14O1c389 /KU1RxPRs93hfm20ECnLWL80IdIXkTnN97B8jnIpqrbq/dLW2VtTVkF3vxDGeQ2jl4N5 /+d1/G6zAR5lCzCasl9G27AzmaFC3BqdB0LlerCUXEvtQFRjtYMUYJwBr53uQ7fUEak5 2knQ==
MIME-Version: 1.0
Received: by 10.52.89.146 with SMTP id bo18mr21613491vdb.33.1351093923769; Wed, 24 Oct 2012 08:52:03 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Wed, 24 Oct 2012 08:52:03 -0700 (PDT)
In-Reply-To: <5087DD2F.7000303@gmx.de>
References: <5087DD2F.7000303@gmx.de>
Date: Wed, 24 Oct 2012 10:52:03 -0500
Message-ID: <CACuKZqHoiNmcfa=E1nRzGGrdh2i7EuBWBP01ehNk950WhNiVVg@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.698, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TR3Fv-0002fh-Ke dcad8b85a38b9330e52619ff0615dc88
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range Not Satisfiable"
Archived-At: <http://www.w3.org/mid/CACuKZqHoiNmcfa=E1nRzGGrdh2i7EuBWBP01ehNk950WhNiVVg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15480
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>

Wouldn't "Content-Type: multipart/byteranges" cause confusions if it's
used anywhere other than in a 206 response?

Suppose a representation itself has the content type of "multipart/byteranges"

    Get /slivers HTTP/1.1


    HTTP/1.1 200 OK
    Content-Type: multipart/byteranges

That's pretty confusing for observers. Even more confusingly

    Get/slivers HTTP/1.1
    Range: bytes=0-499


    HTTP/1.1 206 Partial Content
    Content-Type: multipart/byteranges
    Content-Range: bytes 0-499/1234

Maybe we should strongly discourage the use of multipart/byteranges in
any application except in a HTTP 206 response.

Zhong Yu



On Wed, Oct 24, 2012 at 7:21 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p5-range-21.html#status.416>:
>
> "When this status code is returned for a byte-range request, the response
> SHOULD include a Content-Range header field specifying the current length of
> the representation (see Section 5.2). This response MUST NOT use the
> multipart/byteranges content-type. For example,"
>
> What is this "MUST NOT" about? Are there clients that will ignore the status
> code and assume success if they see the expected content-type?
>
> Best regards, Julian
>


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 08:54:17 2012
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 419B021F86A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 08:54:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.35
X-Spam-Level: 
X-Spam-Status: No, score=-8.35 tagged_above=-999 required=5 tests=[AWL=2.248, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LdsQxdIIcAVB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 08:54:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6922321F86B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 08:54:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR3G3-00060m-3M for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 15:52:39 +0000
Resent-Date: Wed, 24 Oct 2012 15:52:39 +0000
Resent-Message-Id: <E1TR3G3-00060m-3M@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TR3Fz-0005zL-On for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 15:52:35 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TR3Fv-0003ek-AF for ietf-http-wg@w3.org; Wed, 24 Oct 2012 15:52:35 +0000
Received: by mail-qa0-f50.google.com with SMTP id t11so1204767qaa.2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 08:52:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=26cIbqF43cM3X6sRgGk1MzQJaH2pIRk1HtmA5GTYy8k=; b=o9XBOse0C6k+w0Ztf33LMyUzfpNZ9JjUTTofCHzhb1s9a/H/KGNzpV5V5PBnT0HfZD SK6vTYghttVJx/NEuKMJ5Qpnyiy/A/4+P+/YqGVD6Tin23YVAFd2vA8nyq977y8vZim8 824eYfDBq8/2mhP7mENxmvOZoQZXpRdrBsWNnSpJQLrr1CYIf7YVtrDPlQ9ef/7hvxdn jw+dYF3A6l6BXCI4WWYjvWFgt2djlX4+0AgCSzFOrkMur+TqgbnS+0noU0xd/ref5JF8 Yr/wnuJ5zkMQ+wO5byeLHCUZ9mWdeuM9eKKwgzbT6sY9THpn9VxClTRvWykkMAbmlvl+ ptPA==
Received: by 10.224.33.205 with SMTP id i13mr7390271qad.35.1351093925328; Wed, 24 Oct 2012 08:52:05 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Wed, 24 Oct 2012 08:51:45 -0700 (PDT)
In-Reply-To: <20121024154717.11819.58061.idtracker@ietfa.amsl.com>
References: <20121024154717.11819.58061.idtracker@ietfa.amsl.com>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 24 Oct 2012 08:51:45 -0700
Message-ID: <CABP7RbchMZ1bvywfukwiNEMst9spVn2kog3EH-KafHKrSL4oGg@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf3074d58c7a370404ccd01136
Received-SPF: pass client-ip=209.85.216.50; envelope-from=jasnell@gmail.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-2.540, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TR3Fv-0003ek-AF aba7b336a9b68153f1b3ff3a9b5ea828
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: New Version Notification - draft-snell-http-prefer-16.txt
Archived-At: <http://www.w3.org/mid/CABP7RbchMZ1bvywfukwiNEMst9spVn2kog3EH-KafHKrSL4oGg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15479
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>

--20cf3074d58c7a370404ccd01136
Content-Type: text/plain; charset=UTF-8

FYI... a new version of the HTTP Prefer header draft has been published
based on all of the excellent last call feedback received.

There are several significant changes, all driven by received feedback...

 - "return-representation" and "return-minimal" are now
"return=representation" and "return=minimal".. that is, a single "return"
preference with two possible values
 - "return-asynch" has been renamed to "respond-async" to avoid possible
confusion with the revised "return" preference (and to get rid of that
trailing "h" that was driving so many of you crazy ;-) ...)
 - "lenient" and "strict" are now "handling=lenient" and
"handling=strict".. that is, a single "handling" preference with two
possible values
 - The IANA registration template has been updated to include Value and
Optional Parameter fields
 - Considerations for Expert Review have been clarified for the Preference
Registry, including a specific mention of preference security considerations
 - Ordering parameters is now explicitly dealt with along with several
other minor details relating to parameters
 - A few editorial changes here and there.

- James


---------- Forwarded message ----------
From: ID Tracker <internet-drafts-reply@ietf.org>
Date: Wed, Oct 24, 2012 at 8:47 AM
Subject: New Version Notification - draft-snell-http-prefer-16.txt
To: jasnell@gmail.com, mnot@mnot.net, draft-snell-http-prefer@tools.ietf.org,
barryleiba@computer.org, presnick@qti.qualcomm.com


New version (-16) has been submitted for draft-snell-http-prefer-16.txt.
http://www.ietf.org/internet-drafts/draft-snell-http-prefer-16.txt

Diff from previous version:
http://tools.ietf.org/rfcdiff?url2=draft-snell-http-prefer-16

IETF Secretariat.

--20cf3074d58c7a370404ccd01136
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace">FYI... a new version of the HTTP Prefe=
r header draft has been published based on all of the excellent last call f=
eedback received.</font><div><font face=3D"courier new, monospace"><br></fo=
nt></div>

<div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-si=
ze:13.333333015441895px;background-color:rgb(255,255,255)"><font face=3D"co=
urier new, monospace">There are several significant changes, all driven by =
received feedback...</font></div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
.333333015441895px;background-color:rgb(255,255,255)"><br></div><div style=
=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13.333333015=
441895px;background-color:rgb(255,255,255)">

<font face=3D"courier new, monospace">=C2=A0- &quot;return-representation&q=
uot; and &quot;return-minimal&quot; are now &quot;return=3Drepresentation&q=
uot; and &quot;return=3Dminimal&quot;.. that is, a single &quot;return&quot=
; preference with two possible values</font></div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
.333333015441895px;background-color:rgb(255,255,255)"><span style=3D"font-f=
amily:&#39;courier new&#39;,monospace">=C2=A0- &quot;return-asynch&quot; ha=
s been renamed to &quot;respond-async&quot; to avoid possible confusion wit=
h the revised &quot;return&quot; preference (and to get rid of that trailin=
g &quot;h&quot; that was driving so many of you crazy ;-) ...)</span></div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
.333333015441895px;background-color:rgb(255,255,255)"><font face=3D"courier=
 new, monospace">=C2=A0- &quot;lenient&quot; and &quot;strict&quot; are now=
 &quot;handling=3Dlenient&quot; and &quot;handling=3Dstrict&quot;.. that is=
, a single &quot;handling&quot; preference with two possible values</font><=
/div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
.333333015441895px;background-color:rgb(255,255,255)"><font face=3D"courier=
 new, monospace">=C2=A0- The IANA registration template has been updated to=
 include Value and Optional Parameter fields</font></div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
.333333015441895px;background-color:rgb(255,255,255)"><font face=3D"courier=
 new, monospace">=C2=A0- Considerations for Expert Review have been clarifi=
ed for the Preference Registry, including a specific mention of preference =
security considerations</font></div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
.333333015441895px;background-color:rgb(255,255,255)"><font face=3D"courier=
 new, monospace">=C2=A0- Ordering parameters is now explicitly dealt with a=
long with several other minor details relating to parameters</font></div>

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
.333333015441895px;background-color:rgb(255,255,255)"><font face=3D"courier=
 new, monospace">=C2=A0- A few editorial changes here and there.</font></di=
v><font face=3D"courier new,monospace"></font><div>


<font face=3D"courier new,monospace"><br></font></div><div><font face=3D"co=
urier new, monospace">- James</font></div><div><font face=3D"courier new,mo=
nospace"><br></font><br><div class=3D"gmail_quote">---------- Forwarded mes=
sage ----------<br>

From: <b class=3D"gmail_sendername">ID Tracker</b> <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:internet-drafts-reply@ietf.org" target=3D"_blank">internet-=
drafts-reply@ietf.org</a>&gt;</span><br>
Date: Wed, Oct 24, 2012 at 8:47 AM<br>Subject: New Version Notification - d=
raft-snell-http-prefer-16.txt<br>To: <a href=3D"mailto:jasnell@gmail.com" t=
arget=3D"_blank">jasnell@gmail.com</a>, <a href=3D"mailto:mnot@mnot.net" ta=
rget=3D"_blank">mnot@mnot.net</a>, <a href=3D"mailto:draft-snell-http-prefe=
r@tools.ietf.org" target=3D"_blank">draft-snell-http-prefer@tools.ietf.org<=
/a>, <a href=3D"mailto:barryleiba@computer.org" target=3D"_blank">barryleib=
a@computer.org</a>, <a href=3D"mailto:presnick@qti.qualcomm.com" target=3D"=
_blank">presnick@qti.qualcomm.com</a><br>


<br><br>New version (-16) has been submitted for draft-snell-http-prefer-16=
.txt.<br>
<a href=3D"http://www.ietf.org/internet-drafts/draft-snell-http-prefer-16.t=
xt" target=3D"_blank">http://www.ietf.org/internet-drafts/draft-snell-http-=
prefer-16.txt</a><br>
<br>
Diff from previous version:<br>
<a href=3D"http://tools.ietf.org/rfcdiff?url2=3Ddraft-snell-http-prefer-16"=
 target=3D"_blank">http://tools.ietf.org/rfcdiff?url2=3Ddraft-snell-http-pr=
efer-16</a><br>
<br>
IETF Secretariat.<br>
</div><br></div>
</div>

--20cf3074d58c7a370404ccd01136--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 08:59:44 2012
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 4016D21F8C4B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 08:59:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.575
X-Spam-Level: 
X-Spam-Status: No, score=-7.575 tagged_above=-999 required=5 tests=[AWL=3.024, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UM2MsBqJ3cqg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 08:59:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BAA9C21F8C48 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 08:59:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR3MJ-0000Zd-Nw for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 15:59:07 +0000
Resent-Date: Wed, 24 Oct 2012 15:59:07 +0000
Resent-Message-Id: <E1TR3MJ-0000Zd-Nw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TR3MC-0000Wh-Vi for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 15:59:01 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TR3M0-00042s-ND for ietf-http-wg@w3.org; Wed, 24 Oct 2012 15:59:00 +0000
Received: (qmail invoked by alias); 24 Oct 2012 15:58:21 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp069) with SMTP; 24 Oct 2012 17:58:21 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1812VYkYNg14YOpyF8YnFs9fjVUTFRe+YgED+6LyX 0PsttCVvv5HEkk
Message-ID: <5088101C.7070500@gmx.de>
Date: Wed, 24 Oct 2012 17:58:20 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: ietf-http-wg@w3.org
References: <5087DD2F.7000303@gmx.de> <CACuKZqHoiNmcfa=E1nRzGGrdh2i7EuBWBP01ehNk950WhNiVVg@mail.gmail.com>
In-Reply-To: <CACuKZqHoiNmcfa=E1nRzGGrdh2i7EuBWBP01ehNk950WhNiVVg@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-2.8
X-W3C-Hub-Spam-Report: AWL=-2.841, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TR3M0-00042s-ND d7f13a4d267cdcaa30b932d687f07419
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range Not  Satisfiable"
Archived-At: <http://www.w3.org/mid/5088101C.7070500@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15481
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>

On 2012-10-24 17:52, Zhong Yu wrote:
> Wouldn't "Content-Type: multipart/byteranges" cause confusions if it's
> used anywhere other than in a 206 response?
> ...

Potentially.

On the other hand, it's very strange to special case one specific media 
type, when the media type of the content should be completely orthogonal 
to the response semantics.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 10:07:56 2012
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 E879E21F8529 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 10:07:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.606
X-Spam-Level: 
X-Spam-Status: No, score=-10.606 tagged_above=-999 required=5 tests=[AWL=-0.008, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nZboNqYVIK07 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 10:07:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5484721F84C1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 10:07:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR4PV-0007mZ-F8 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 17:06:29 +0000
Resent-Date: Wed, 24 Oct 2012 17:06:29 +0000
Resent-Message-Id: <E1TR4PV-0007mZ-F8@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TR4PQ-0007kL-Sk for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 17:06:24 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TR4PK-0006YI-KW for ietf-http-wg@w3.org; Wed, 24 Oct 2012 17:06:24 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so472007lah.2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 10:05:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TFeIcfwcMSlN3KK4Ejxeyqvk5E6kJ2eTUlRZeuzHlzs=; b=cNxbUYHRuKrF+utUjY00IrwVLYoaJ39NQnp4z9ZvB5GuhEePdQH492vw663kCc64Bt FWY2fQlg43t0nlhnwW5OJ9dec1qQIIK1EKlFhw+aVT6fDlrq29HTPSdA3IL4hkzWUxWv XvqNoEeUHg9k3iu/iuBGP65lvJR20FyTzEVDP8rKddjO3qTjRUZfheU8Lw5DvnSZpryw CfM2vBZVHkLwbYoHjud74UCA2STrgq2Nviju1efELqbw4hOFwvEkHzNyNgpWTgd0ugxY Mxy2+pMVCIdCkzAnlL/F5Fxhv3Oc8mJuGsXt/BxE76Znuy+gCPy+Eq3r5z1HihQG/TY/ C1HQ==
MIME-Version: 1.0
Received: by 10.152.105.236 with SMTP id gp12mr15140854lab.35.1351098351826; Wed, 24 Oct 2012 10:05:51 -0700 (PDT)
Received: by 10.114.39.113 with HTTP; Wed, 24 Oct 2012 10:05:51 -0700 (PDT)
Received: by 10.114.39.113 with HTTP; Wed, 24 Oct 2012 10:05:51 -0700 (PDT)
In-Reply-To: <5087B413.1000801@treenet.co.nz>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net> <5087B413.1000801@treenet.co.nz>
Date: Wed, 24 Oct 2012 10:05:51 -0700
Message-ID: <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Amos Jeffries <squid3@treenet.co.nz>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0407144b51380804ccd1196c
Received-SPF: pass client-ip=209.85.215.43; envelope-from=grmocg@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.711, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TR4PK-0006YI-KW 9dbc18af8b51b26b6394506058967cbe
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15482
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>

--f46d0407144b51380804ccd1196c
Content-Type: text/plain; charset=ISO-8859-1

On Oct 24, 2012 2:27 AM, "Amos Jeffries" <squid3@treenet.co.nz> wrote:
>
> On 24/10/2012 6:26 p.m., Mark Nottingham wrote:
>>
>> Hi Herve,
>>
>> On 23/10/2012, at 3:26 AM, RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
wrote:
>>>
>>> Hi all,
>>
>> Welcome :)
>>
>>> We are currently studying the compaction results for different header
encoding formats, including various SPDY versions and an internally
developed format (we plan to publish its description as soon as possible).
>>
>> It's very good to hear that you're doing this.
>>
>>> We are wondering whether anyone is aware of a test corpus for HTTP
exchanges that would be available, or could be made available. This would
help us obtaining fair and realistic results.
>>
>>
>> I've been thinking about this too, and have started writing some
software to sniff unadulterated HTTP headers (request and response) off the
wire. I know that some browsers make headers available, but they also have
a habit of "cleaning up" the headers before presenting them to APIs, IME.
>>
>> Currently I have a pcap-based sniffer for HTTP sites <
https://github.com/mnot/hdrgrab>; soon I should have a MITM proxy for HTTPS
ones.

I believe that browsers using nss can be compiled to dump the TLS private
keys, and that wireshark has been patched to use them. Just another option
in case MITM proves difficult in some unknown way. It has been of great
benefit to me when debugging, regardless...

>>
>> Once we start to collect a corpus, I'd suggest we put them on github: <
https://github.com/http2>. That will let everyone share a common base for
testing, and review it to make sure that it's appropriate.
>
>
> FYI;  we have implemented raw HTTP header dumps on inbound/outbound
traffic in Squid-3.2 linked with TCP socket details and timing. If anyone
else is interested in a quick and easy source of data without tcpdump they
are welcome to use Squid for that. "debug_options 11,2" is the magic config
stanza to output the traffic into cache.log.
>
>
>> If you'd like to put your framework for comparison up there, you'd be
welcome to; please ping me.
>>
>>> Currently we are using web pages obtained from Alexa's top ranked
sites. While computing our results, we are taking into account several
parameters: separate study of requests and responses, using deflate or not
(when relevant), variable number of exchanged messages (corresponding to
loading from 1 to 10 web pages). Any advice on these measurements would be
appreciated.
>>
>> For the time being, mine combines all of the requests / responses on
different connections to the same server into the same file, under the
assumption that multiplexing will enable this. Eventually I'd like to get
something more sophisticated in there.
>>
>> It also removes connection headers, as they're really HTTP/1 specific.
>>
>> What else should we be doing?
>
>
> I think the HTTP/1 traces should leave those headers in. The data corpus
might be used as example raw input from HTTP/1 clients or servers to test
upgrading speeds on middleware. Which will need to also test time taken
stripping those headers away.
>
> The data corpus can come with an example HTTP/1->HTTP/2 convert script to
prepare for tests of HTTP/2 native traffic speeds and/or of speed testing
implementations gateway conversions.

++

If we do end up with an awesome common test corpus , let's have the data
unadulterated (reformatting doesn't count as adulteration)

-=R

>
>
>
>>
>>> Last, we would like to share our results to help the WG discussions on
this topic. As we're rather new to the IETF, we're not sure of the best way
to do this. I plan to attend the IEFT 85 meeting in Atlanta, so I could use
this occasion to share these results.
>>
>> If you'd like to give a short (10-20 minute) presentation in the Atlanta
meeting, I'd be happy to accommodate that. Please ping me if you're
interested.
>>
>
> Amos
>

--f46d0407144b51380804ccd1196c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr"><br>
On Oct 24, 2012 2:27 AM, &quot;Amos Jeffries&quot; &lt;<a href=3D"mailto:sq=
uid3@treenet.co.nz">squid3@treenet.co.nz</a>&gt; wrote:<br>
&gt;<br>
&gt; On 24/10/2012 6:26 p.m., Mark Nottingham wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi Herve,<br>
&gt;&gt;<br>
&gt;&gt; On 23/10/2012, at 3:26 AM, RUELLAN Herve &lt;<a href=3D"mailto:Her=
ve.Ruellan@crf.canon.fr">Herve.Ruellan@crf.canon.fr</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; Welcome :)<br>
&gt;&gt;<br>
&gt;&gt;&gt; We are currently studying the compaction results for different=
 header encoding formats, including various SPDY versions and an internally=
 developed format (we plan to publish its description as soon as possible).=
<br>

&gt;&gt;<br>
&gt;&gt; It&#39;s very good to hear that you&#39;re doing this.<br>
&gt;&gt;<br>
&gt;&gt;&gt; We are wondering whether anyone is aware of a test corpus for =
HTTP exchanges that would be available, or could be made available. This wo=
uld help us obtaining fair and realistic results.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve been thinking about this too, and have started writing so=
me software to sniff unadulterated HTTP headers (request and response) off =
the wire. I know that some browsers make headers available, but they also h=
ave a habit of &quot;cleaning up&quot; the headers before presenting them t=
o APIs, IME.<br>

&gt;&gt;<br>
&gt;&gt; Currently I have a pcap-based sniffer for HTTP sites &lt;<a href=
=3D"https://github.com/mnot/hdrgrab">https://github.com/mnot/hdrgrab</a>&gt=
;; soon I should have a MITM proxy for HTTPS ones.</p>
<p dir=3D"ltr">I believe that browsers using nss can be compiled to dump th=
e TLS private keys, and that wireshark has been patched to use them. Just a=
nother option in case MITM proves difficult in some unknown way. It has bee=
n of great benefit to me when debugging, regardless...<br>
</p>
<p dir=3D"ltr">&gt;&gt;<br>
&gt;&gt; Once we start to collect a corpus, I&#39;d suggest we put them on =
github: &lt;<a href=3D"https://github.com/http2">https://github.com/http2</=
a>&gt;. That will let everyone share a common base for testing, and review =
it to make sure that it&#39;s appropriate.<br>

&gt;<br>
&gt;<br>
&gt; FYI; =A0we have implemented raw HTTP header dumps on inbound/outbound =
traffic in Squid-3.2 linked with TCP socket details and timing. If anyone e=
lse is interested in a quick and easy source of data without tcpdump they a=
re welcome to use Squid for that. &quot;debug_options 11,2&quot; is the mag=
ic config stanza to output the traffic into cache.log.<br>

&gt;<br>
&gt;<br>
&gt;&gt; If you&#39;d like to put your framework for comparison up there, y=
ou&#39;d be welcome to; please ping me.<br>
&gt;&gt;<br>
&gt;&gt;&gt; Currently we are using web pages obtained from Alexa&#39;s top=
 ranked sites. While computing our results, we are taking into account seve=
ral parameters: separate study of requests and responses, using deflate or =
not (when relevant), variable number of exchanged messages (corresponding t=
o loading from 1 to 10 web pages). Any advice on these measurements would b=
e appreciated.<br>

&gt;&gt;<br>
&gt;&gt; For the time being, mine combines all of the requests / responses =
on different connections to the same server into the same file, under the a=
ssumption that multiplexing will enable this. Eventually I&#39;d like to ge=
t something more sophisticated in there.<br>

&gt;&gt;<br>
&gt;&gt; It also removes connection headers, as they&#39;re really HTTP/1 s=
pecific.<br>
&gt;&gt;<br>
&gt;&gt; What else should we be doing?<br>
&gt;<br>
&gt;<br>
&gt; I think the HTTP/1 traces should leave those headers in. The data corp=
us might be used as example raw input from HTTP/1 clients or servers to tes=
t upgrading speeds on middleware. Which will need to also test time taken s=
tripping those headers away.<br>

&gt;<br>
&gt; The data corpus can come with an example HTTP/1-&gt;HTTP/2 convert scr=
ipt to prepare for tests of HTTP/2 native traffic speeds and/or of speed te=
sting implementations gateway conversions.</p>
<p dir=3D"ltr">++</p>
<p dir=3D"ltr">If we do end up with an awesome common test corpus , let&#39=
;s have the data unadulterated (reformatting doesn&#39;t count as adulterat=
ion)</p>
<p dir=3D"ltr">-=3DR</p>
<p dir=3D"ltr">&gt;<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; Last, we would like to share our results to help the WG discus=
sions on this topic. As we&#39;re rather new to the IETF, we&#39;re not sur=
e of the best way to do this. I plan to attend the IEFT 85 meeting in Atlan=
ta, so I could use this occasion to share these results.<br>

&gt;&gt;<br>
&gt;&gt; If you&#39;d like to give a short (10-20 minute) presentation in t=
he Atlanta meeting, I&#39;d be happy to accommodate that. Please ping me if=
 you&#39;re interested.<br>
&gt;&gt;<br>
&gt;<br>
&gt; Amos<br>
&gt;<br>
</p>

--f46d0407144b51380804ccd1196c--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 10:44:36 2012
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 3BBD721F86DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 10:44:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CC9N8JRsNFnz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 10:44:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A239B21F86BE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 10:44:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR4z5-0008On-Lp for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 17:43:15 +0000
Resent-Date: Wed, 24 Oct 2012 17:43:15 +0000
Resent-Message-Id: <E1TR4z5-0008On-Lp@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <TFossati@velocix.com>) id 1TR4z2-0008O8-65 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 17:43:12 +0000
Received: from mail-out1.velocix.com ([81.134.152.10] helo=owa.velocix.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <TFossati@velocix.com>) id 1TR4yx-0006xW-5o for ietf-http-wg@w3.org; Wed, 24 Oct 2012 17:43:12 +0000
Received: from EXB01-MLT.corp.velocix.com ([169.254.2.232]) by EXC00CAM.corp.velocix.com ([172.18.4.40]) with mapi id 14.02.0247.003; Wed, 24 Oct 2012 18:42:39 +0100
From: Thomas Fossati <TFossati@velocix.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: draft-ietf-httpbis-p5-range-latest, "5.3 If-Range"
Thread-Index: AQHNsg71UzQyjWFphkuc4csZIIGTGQ==
Date: Wed, 24 Oct 2012 17:42:39 +0000
Message-ID: <DA86AAEF6E448540808AFA696EA47E5A4006A858@EXB01-MLT.corp.velocix.com>
Accept-Language: en-US, en-GB
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [81.134.152.4]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <559484B1D344D943BA52FE058A1616EC@velocix.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=81.134.152.10; envelope-from=TFossati@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.082, RP_MATCHES_RCVD=-0.737
X-W3C-Scan-Sig: lisa.w3.org 1TR4yx-0006xW-5o 3513c43cc58ea1ffd0b57e0602aafe39
X-Original-To: ietf-http-wg@w3.org
Subject: draft-ietf-httpbis-p5-range-latest, "5.3 If-Range"
Archived-At: <http://www.w3.org/mid/DA86AAEF6E448540808AFA696EA47E5A4006A858@EXB01-MLT.corp.velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15483
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>

<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p5-ran
ge.html#header.if-range>:

Last paragraph: what should be sent by the server in case the validator in
the If-Range does not match, and the byte-range-set in the Range header
has empty intersection with the current resource representation ?



From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 11:02:13 2012
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 A9E9F21F8778 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 11:02:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id djLmm7sexNXM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 11:02:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AFFDF21F8758 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 11:02:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR5Gb-0003c1-W5 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 18:01:22 +0000
Resent-Date: Wed, 24 Oct 2012 18:01:21 +0000
Resent-Message-Id: <E1TR5Gb-0003c1-W5@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TR5GY-0003bH-23 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 18:01:18 +0000
Received: from mail-oa0-f43.google.com ([209.85.219.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TR5GT-0008WS-Gp for ietf-http-wg@w3.org; Wed, 24 Oct 2012 18:01:17 +0000
Received: by mail-oa0-f43.google.com with SMTP id k1so792089oag.2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 11:00:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=G3EilnJ9CZ4QdttG25Q357zLf1n7tO/GrPItUnSJKz8=; b=hAM5hqVkNKANGl3+/etGplH7opMJbryrh34Bheze8TwbnH4zbMiXodyKrdwVvmX6Vx 2wciffsADhPqPBtLurk4qW01prevDh2eafacfns+4ryg0ayyX7ydz0UhwZQUiL9rW2SI Wxm15FEIjeImjNb6emmViLcGpe+BjQvCCOEb9AiWIs9gRX7u5FSG7JmfjBfG8RlrVzpn ohOevNaok/6r1YFcapQ9KXyTGNRHpj6sJwFOrZWxbpgyC/8AGKIGvYvrMCVHFherojQT Qnb0luaBA8g0PQI0bbqrkkxohL2s73yOIO4gNQ5zsHd4U2rHy5yttQhv+gJajemQc4py i0zQ==
MIME-Version: 1.0
Received: by 10.182.10.6 with SMTP id e6mr13419227obb.16.1351101647493; Wed, 24 Oct 2012 11:00:47 -0700 (PDT)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.116.67 with HTTP; Wed, 24 Oct 2012 11:00:47 -0700 (PDT)
In-Reply-To: <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net> <5087B413.1000801@treenet.co.nz> <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com>
Date: Wed, 24 Oct 2012 14:00:47 -0400
X-Google-Sender-Auth: 19Nq3N6uqqehWp2oatC5_lSMdbU
Message-ID: <CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Roberto Peon <grmocg@gmail.com>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04446911c11bed04ccd1dd9d
Received-SPF: pass client-ip=209.85.219.43; envelope-from=patrick.ducksong@gmail.com; helo=mail-oa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-0.7
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TR5GT-0008WS-Gp 88364dbd84eb811187b9e6e857bb71fa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15484
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>

--f46d04446911c11bed04ccd1dd9d
Content-Type: text/plain; charset=ISO-8859-1

On Wed, Oct 24, 2012 at 1:05 PM, Roberto Peon <grmocg@gmail.com> wrote:

>
> I believe that browsers using nss can be compiled to dump the TLS private
> keys, and that wireshark has been patched to use them.
>

for reference https://developer.mozilla.org/en-US/docs/NSS_Key_Log_Format

--f46d04446911c11bed04ccd1dd9d
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Wed, Oct 24, 2012 at 1:05 PM, Roberto=
 Peon <span dir=3D"ltr">&lt;<a href=3D"mailto:grmocg@gmail.com" target=3D"_=
blank">grmocg@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail=
_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:=
1ex">
<p dir=3D"ltr"><br></p>
<p dir=3D"ltr">I believe that browsers using nss can be compiled to dump th=
e TLS private keys, and that wireshark has been patched to use them.<br></p=
></blockquote><div><br>for reference <a href=3D"https://developer.mozilla.o=
rg/en-US/docs/NSS_Key_Log_Format">https://developer.mozilla.org/en-US/docs/=
NSS_Key_Log_Format</a> <br>
</div></div>

--f46d04446911c11bed04ccd1dd9d--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 11:11:59 2012
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 5BAE721F8837 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 11:11:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.448
X-Spam-Level: 
X-Spam-Status: No, score=-10.448 tagged_above=-999 required=5 tests=[AWL=0.151, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id isKflcP1lq62 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 11:11:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B948F21F873F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 11:11:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR5Q1-0008RZ-Nb for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 18:11:05 +0000
Resent-Date: Wed, 24 Oct 2012 18:11:05 +0000
Resent-Message-Id: <E1TR5Q1-0008RZ-Nb@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <lear@cisco.com>) id 1TR5Pw-0008Qu-AQ for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 18:11:00 +0000
Received: from ams-iport-3.cisco.com ([144.254.224.146]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <lear@cisco.com>) id 1TR5Pv-000821-BQ for ietf-http-wg@w3.org; Wed, 24 Oct 2012 18:11:00 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1391; q=dns/txt; s=iport; t=1351102259; x=1352311859; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=aYOBUtDHJDJaMygFg+byZp2TDuYZ7mmOxn0bxrTTQ6o=; b=cUgT8e1wBtfh+Wm0KLenewl7R/GHSw1GqDpnCtxOSVhR02vT/+IN32Hu qVbABWG1VgKPtMW6CVyc4mgrtv0TNUva+YT1op5g7nF4OD6JiVsckDlDE RLTl7gm861wLf4SYEG2l/zkdmuADLN7lXKz9xqpc+eq91Nf10pONSIvbZ E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av8EAMUuiFCQ/khR/2dsb2JhbABEhhS7ZYEIgh4BAQEEEgEQJiIOEAsYAgIFIQICDwJGBg0BBwEBHodinEeNIpJ3gSCQG4ETA5Vzjk6Ba4Jx
X-IronPort-AV: E=Sophos;i="4.80,640,1344211200";  d="scan'208";a="9062075"
Received: from ams-core-1.cisco.com ([144.254.72.81]) by ams-iport-3.cisco.com with ESMTP; 24 Oct 2012 18:10:32 +0000
Received: from dhcp-10-55-83-243.cisco.com (dhcp-10-55-83-243.cisco.com [10.55.83.243]) by ams-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id q9OIAVmX031536 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 24 Oct 2012 18:10:32 GMT
Message-ID: <50882F17.20108@cisco.com>
Date: Wed, 24 Oct 2012 20:10:31 +0200
From: Eliot Lear <lear@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Patrick McManus <pmcmanus@mozilla.com>
CC: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <CAOdDvNodck+yQAavBPi8-EWsAOpMXMYTFQCVoAVY46FAC5-89w@mail.gmail.com> <50879CD0.9050606@cisco.com> <50BC2FE7-D1E4-45D6-AF73-D80CF5A0DEB2@mnot.net> <5087A9B7.1040009@cisco.com> <CAOdDvNqXaLo3ORfuL0rXh+DSaCmZRr4ESwEbkMRw4G_JeuyG1w@mail.gmail.com>
In-Reply-To: <CAOdDvNqXaLo3ORfuL0rXh+DSaCmZRr4ESwEbkMRw4G_JeuyG1w@mail.gmail.com>
X-Enigmail-Version: 1.4.5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=144.254.224.146; envelope-from=lear@cisco.com; helo=ams-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-13.6
X-W3C-Hub-Spam-Report: AWL=-0.249, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.737, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: lisa.w3.org 1TR5Pv-000821-BQ f12e596b1a01d6b8716fdf9b8df6b013
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/50882F17.20108@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15485
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>

Hi Patrick,

On 10/24/12 3:51 PM, Patrick McManus wrote:
> I'm not an expert here, but yes, there are lots of ways to badly
> design your DNS and incur delays - but there are also reasonable ones.
> This is not substantially different than the 'out of baliwick' DNS
> issues from the 90's right? but that also shows it is resolvable
> within the current record type framework, as you say in this case by
> using the same name which is what I think we're all envisioning.

You're right in that none of this is new.  The nefarious example I gave
wasn't under control of the administrator of www.example.com, but rather
the bad guy.  That's why there's a fair amount of code in many
implementations to avoid accepting additional information in any
authoritative way, but that may well cause additional lookups, defeating
the purpose of the shortcut.  It might be possible to race lookups in
some heuristic or predictive manner, but it may be just as well to
address this with a new record.

My suggestion is to ask the DNS directorate for a view.  They could say
that I'm in the weeds, but then I doubt it.  I think they would say that
we should carefully consider our requirements and available engineering
choices (buy/build).  Yes, SRV is there.  No, it's not that hard to do
another record, but it does take time to get out there, should we go
that route.

Eliot



From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 12:12:36 2012
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 CB9D121F890E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 12:12:36 -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=[AWL=-0.000, 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 ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iwTDHF+FKgjY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 12:12:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B30FD21F88FF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 12:12:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR6M3-0006Y5-J3 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 19:11:03 +0000
Resent-Date: Wed, 24 Oct 2012 19:11:03 +0000
Resent-Message-Id: <E1TR6M3-0006Y5-J3@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 1TR6Ly-0006X4-NT for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 19:10:58 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1TR6Lw-0002qm-OK for ietf-http-wg@w3.org; Wed, 24 Oct 2012 19:10:58 +0000
Received: by mail-ob0-f171.google.com with SMTP id 16so875492obc.2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 12:10:30 -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 :x-system-of-record; bh=KygXqZVr3dNNBvxmx3f3uRdjIEZX3qQPvfXFmFRfFS4=; b=EmEVuopOhrz78qw6e8FoqxjjuhG+YKc2ji67IkOiPHjVsNQf70Jf4BC2rYTL+PmX/q jxBX0dvXaHMvMSCbd2IZ+JseOJmwORl6r804MxdYr5fIWtVbqX4StAO+cS24fJji7JL7 OADocw7vpLsZy6X8n1dbVwwq/U0n9P15W32jmJcvpfDdmmpJhEVVsOveRUB3Pldk8PIj sO7Xqth1vK/QclSLXaKbaTqrYSKLc3jQc9yuCdCIV6XpI2FWvFEZGL6eQUrORPhSC9c6 DlEuOfPmOO6hSDzfbfSh69zyW4YdGl/6ut+OSlVa2OpIHEuA5iK+g/sbusH4cTzby9aG vcFA==
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-system-of-record:x-gm-message-state; bh=KygXqZVr3dNNBvxmx3f3uRdjIEZX3qQPvfXFmFRfFS4=; b=M70ikXSdNQT57fsLeMCzgq6Wm1gBeOL8JHwyJqDT+CCRpvbd/DQhXNpiymwmxj5lNE F5WCqeNbV4z1KnfO1/q39Bpr0/jAyW2sktXvMxcSVbdELfy8Sc/IIvMVdTERH8CToxy4 ht0VglPt9KhUtQdPVowkZdCmoUzZtspF+dCr57Lbpwee924k8DgUJThzT4X7dI64JmmT 0TCD0X05GldufwgFy6xuCstdYfhMdWpLrAl6aCDgpjNkpi7rH2s/Lhs73zZQyQvHRaSK pWM1lHeulBcgu/5SMySafiPxtFhrISO/1RE5BrRXx65jKw6e7BrxG9CPHLnjEnh/9Efp wVkw==
MIME-Version: 1.0
Received: by 10.60.8.65 with SMTP id p1mr7595499oea.92.1351105830284; Wed, 24 Oct 2012 12:10:30 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.182.106.6 with HTTP; Wed, 24 Oct 2012 12:10:30 -0700 (PDT)
In-Reply-To: <8AF3AFC2-8642-43F7-8472-FAAB1FD28827@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net> <CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com> <8AF3AFC2-8642-43F7-8472-FAAB1FD28827@mnot.net>
Date: Wed, 24 Oct 2012 12:10:30 -0700
X-Google-Sender-Auth: QY7k3OcziVQ51Ng0BtsndEHHlto
Message-ID: <CAA4WUYj+yjt1KX9ZBJcooE_82+VKx2G-Ww1HiocY7RzBy5=Z6g@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Mark Nottingham <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8ff1c56a116e5f04ccd2d773
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQn9fZIsnBbE4r9GPbaF17ssz51q9tNXn++ddxqT8X52NDr17CkOgLZ8JVhEUIi+oYaC/jGKIB8Yc5VmjYJdL/KeatwMJU4EsblfQwpa6MLLUUps9YkBZvYHhAAm8SktlUmI2unsMyR64bggb5mT7yUGkMQavm35Ea42w8OT4H0Z64f9QEauE/4qy/bq143gAi9Lj6LZ
Received-SPF: pass client-ip=209.85.214.171; envelope-from=willchan@google.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-2.399, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.737, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TR6Lw-0002qm-OK 1dfcb09ce2ad5aa7ed15aa86055c80e2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAA4WUYj+yjt1KX9ZBJcooE_82+VKx2G-Ww1HiocY7RzBy5=Z6g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15486
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>

--e89a8ff1c56a116e5f04ccd2d773
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 23, 2012 at 9:51 PM, Mark Nottingham <mnot@mnot.net> wrote:

>
> On 24/10/2012, at 3:12 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) <wi=
llchan@chromium.org>
> wrote:
> >>
> >>>> Who's willing to do some experimentation? Specifically, does anyone
> have access to the code that was used before (IIRC, people bought some ad=
s
> and inserted some Java to probe the network)?
> >>>
> >>> Do you mean the Chromium HTTP upgrade experiment agl referred to in
> >>> http://www.ietf.org/mail-archive/web/tls/current/msg05593.html?
> >>
> >> No, IIRC there was also some broader experimentation using ads; I'll
> dig around a bit more.
> >>
> >> Of course, if Chrome (or any other browser) would be interested in
> running an experiment, we'd love to do that too -- provided we can have
> input into the design.
> >
> > Is there anything you'd like to change about the design in
> > http://www.ietf.org/mail-archive/web/tls/current/msg05593.html? I'm in
> > general supportive of running experiments, I just don't want to waste
> > our time unless there was something deficient about the previous
> > experiment.
>
> Could you dig up the exact bytes-on-the-wire handshake that was used?
>

Er, I'm not an expert here, but here's the experiment
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/net/websocke=
t_experiment/websocket_experiment_runner.cc?view=3Dmarkup&pathrev=3D63020an=
d
the handshake code (
http://src.chromium.org/viewvc/chrome/trunk/src/net/websockets/websocket_ha=
ndshake.cc?view=3Dmarkup&pathrev=3D63020
).


>
>
> > Also, I suspect a non-Google experiment would carry more
> > weight :) External validation is good.
>
> Agreed.
>
>
> > On that point, at Realtime Conf today, Arnout Kazemier provided a
> > bunch of data on issues with WebSockets deployment.
> > https://speakerdeck.com/3rdeden/realtimeconf-dot-oct-dot-2012. As he
> > says "tl;dl: Always use SSL".
>
>
> Thanks.
>
> I'd like to validate an assumption that has been discussed in-person in a
> meeting (forget which one) but IIRC not yet on-list.
>
> It's that if we can design an upgrade that fails fast and reliably for
> HTTP URLs, it's acceptable for there to be a (say) 70% success rate
> initially, with the idea that it will rise over time -- perhaps slowly, i=
n
> terms of browser releases, but relatively quickly, in terms of the lifeti=
me
> of HTTP.
>
> Can we (everyone) agree upon that?
>

Not trying to derail the thread, but <mumble>TLS</mumble> :)


>
> WRT WebSockets, keep in mind that the proxy/firewall/virus scanning
> vendors have had less than a year since it became an RFC, for a protocol
> that has (relatively) unproven demand and hard-to-nail-down semantics.
>
> I suspect that HTTP2, once we finish, will be get more priority from them=
;
> the demand is already proven, and the semantics of the protocol are easie=
r
> to fit into their existing threat models, etc.


This is probably true, but I just wanted to point out that vendor support
!=3D actual deployments.


>
> Cheers,
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>

--e89a8ff1c56a116e5f04ccd2d773
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 23, 2012 at 9:51 PM, Mark Nottingham <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:mnot@mnot.net" target=3D"_blank" class=3D"cremed">mnot@mnot.n=
et</a>&gt;</span> wrote:<br><div class=3D"gmail_extra"><div class=3D"gmail_=
quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:=
solid;padding-left:1ex">
<div class=3D"im"><br>
On 24/10/2012, at 3:12 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) &lt;<=
a href=3D"mailto:willchan@chromium.org" class=3D"cremed">willchan@chromium.=
org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt;&gt; Who&#39;s willing to do some experimentation? Specifically=
, does anyone have access to the code that was used before (IIRC, people bo=
ught some ads and inserted some Java to probe the network)?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Do you mean the Chromium HTTP upgrade experiment agl referred =
to in<br>
&gt;&gt;&gt; <a href=3D"http://www.ietf.org/mail-archive/web/tls/current/ms=
g05593.html" target=3D"_blank" class=3D"cremed">http://www.ietf.org/mail-ar=
chive/web/tls/current/msg05593.html</a>?<br>
&gt;&gt;<br>
&gt;&gt; No, IIRC there was also some broader experimentation using ads; I&=
#39;ll dig around a bit more.<br>
&gt;&gt;<br>
&gt;&gt; Of course, if Chrome (or any other browser) would be interested in=
 running an experiment, we&#39;d love to do that too -- provided we can hav=
e input into the design.<br>
&gt;<br>
&gt; Is there anything you&#39;d like to change about the design in<br>
&gt; <a href=3D"http://www.ietf.org/mail-archive/web/tls/current/msg05593.h=
tml" target=3D"_blank" class=3D"cremed">http://www.ietf.org/mail-archive/we=
b/tls/current/msg05593.html</a>? I&#39;m in<br>
&gt; general supportive of running experiments, I just don&#39;t want to wa=
ste<br>
&gt; our time unless there was something deficient about the previous<br>
&gt; experiment.<br>
<br>
</div>Could you dig up the exact bytes-on-the-wire handshake that was used?=
<br></blockquote><div><br></div><div>Er, I&#39;m not an expert here, but he=
re&#39;s the experiment=C2=A0<a href=3D"http://src.chromium.org/viewvc/chro=
me/trunk/src/chrome/browser/net/websocket_experiment/websocket_experiment_r=
unner.cc?view=3Dmarkup&amp;pathrev=3D63020">http://src.chromium.org/viewvc/=
chrome/trunk/src/chrome/browser/net/websocket_experiment/websocket_experime=
nt_runner.cc?view=3Dmarkup&amp;pathrev=3D63020</a> and the handshake code (=
<a href=3D"http://src.chromium.org/viewvc/chrome/trunk/src/net/websockets/w=
ebsocket_handshake.cc?view=3Dmarkup&amp;pathrev=3D63020">http://src.chromiu=
m.org/viewvc/chrome/trunk/src/net/websockets/websocket_handshake.cc?view=3D=
markup&amp;pathrev=3D63020</a>).</div>
<div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-l=
eft-style:solid;padding-left:1ex">
<div class=3D"im"><br>
<br>
&gt; Also, I suspect a non-Google experiment would carry more<br>
&gt; weight :) External validation is good.<br>
<br>
</div>Agreed.<br>
<div class=3D"im"><br>
<br>
&gt; On that point, at Realtime Conf today, Arnout Kazemier provided a<br>
&gt; bunch of data on issues with WebSockets deployment.<br>
&gt; <a href=3D"https://speakerdeck.com/3rdeden/realtimeconf-dot-oct-dot-20=
12" target=3D"_blank" class=3D"cremed">https://speakerdeck.com/3rdeden/real=
timeconf-dot-oct-dot-2012</a>. As he<br>
&gt; says &quot;tl;dl: Always use SSL&quot;.<br>
<br>
<br>
</div>Thanks.<br>
<br>
I&#39;d like to validate an assumption that has been discussed in-person in=
 a meeting (forget which one) but IIRC not yet on-list.<br>
<br>
It&#39;s that if we can design an upgrade that fails fast and reliably for =
HTTP URLs, it&#39;s acceptable for there to be a (say) 70% success rate ini=
tially, with the idea that it will rise over time -- perhaps slowly, in ter=
ms of browser releases, but relatively quickly, in terms of the lifetime of=
 HTTP.<br>

<br>
Can we (everyone) agree upon that?<br></blockquote><div><br></div><div>Not =
trying to derail the thread, but &lt;mumble&gt;TLS&lt;/mumble&gt; :)</div><=
div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-le=
ft-style:solid;padding-left:1ex">

<br>
WRT WebSockets, keep in mind that the proxy/firewall/virus scanning vendors=
 have had less than a year since it became an RFC, for a protocol that has =
(relatively) unproven demand and hard-to-nail-down semantics.<br>
<br>
I suspect that HTTP2, once we finish, will be get more priority from them; =
the demand is already proven, and the semantics of the protocol are easier =
to fit into their existing threat models, etc.</blockquote><div><br></div>
<div>This is probably true, but I just wanted to point out that vendor supp=
ort !=3D actual deployments.</div><div>=C2=A0</div><blockquote class=3D"gma=
il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-le=
ft-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
Cheers,<br>
<div class=3D""><div class=3D"h5"><br>
--<br>
Mark Nottingham =C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_blank" c=
lass=3D"cremed">http://www.mnot.net/</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>

--e89a8ff1c56a116e5f04ccd2d773--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 12:41:23 2012
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 4615021F892A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 12:41:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.392
X-Spam-Level: 
X-Spam-Status: No, score=-8.392 tagged_above=-999 required=5 tests=[AWL=2.207, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id etQwJfJrd0pa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 12:41:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 582E521F8645 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 12:41:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR6oC-00052Y-Ig for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 19:40:08 +0000
Resent-Date: Wed, 24 Oct 2012 19:40:08 +0000
Resent-Message-Id: <E1TR6oC-00052Y-Ig@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TR6o8-00051i-UA for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 19:40:04 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TR6o3-0002xw-Un for ietf-http-wg@w3.org; Wed, 24 Oct 2012 19:40:04 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D937A22E25D; Wed, 24 Oct 2012 15:39:36 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com>
Date: Thu, 25 Oct 2012 06:39:34 +1100
Cc: Roberto Peon <grmocg@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <3ECAB5C9-E2A8-47DF-B4F5-2AEB1C4125C4@mnot.net>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net> <5087B413.1000801@treenet.co.nz> <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com> <CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com>
To: Patrick McManus <pmcmanus@mozilla.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.9
X-W3C-Hub-Spam-Report: AWL=-2.902, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TR6o3-0002xw-Un 16cbe7ce90342df3eb58d34b6e052070
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/3ECAB5C9-E2A8-47DF-B4F5-2AEB1C4125C4@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15487
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>

On 25/10/2012, at 5:00 AM, Patrick McManus <pmcmanus@mozilla.com> wrote:
>=20
> for reference =
https://developer.mozilla.org/en-US/docs/NSS_Key_Log_Format=20

Thanks; I looked for that before, but couldn't find it. Should have =
asked.

I agree that the logs should be 'raw'; we can always post-process (as =
long as we do it in a uniform manner :)

How would people prefer to store them? I've been storing them as just =
text files, one per direction per stream (e.g., "response headers on =
this connection to 1.2.3.4"), with header blocks delimited by a blank =
line.  However, IIRC someone mentioned HAR as well -- any preferences?

Cheers,


--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 12:45:31 2012
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 6694121F89A8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 12:45:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.346
X-Spam-Level: 
X-Spam-Status: No, score=-8.346 tagged_above=-999 required=5 tests=[AWL=2.252, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id p0tNVMViiVJs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 12:45:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9CBE721F8942 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 12:45:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR6sn-0005Ub-KM for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 19:44:53 +0000
Resent-Date: Wed, 24 Oct 2012 19:44:53 +0000
Resent-Message-Id: <E1TR6sn-0005Ub-KM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TR6sk-0005To-ET for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 19:44:50 +0000
Received: from mail-qa0-f50.google.com ([209.85.216.50]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TR6sj-00034f-Gw for ietf-http-wg@w3.org; Wed, 24 Oct 2012 19:44:50 +0000
Received: by mail-qa0-f50.google.com with SMTP id t11so1530720qaa.2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 12:44:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=oDB7h4lUkdonpSaLOv93dH64MeCYqwQXJZj2cjsbcbk=; b=EUAHqblWU2SLhaMzkvX4A3REfRTlaLvj0K4u4Uh5BDY1LnCYZ72xR+ncwtANnXAYik RgKpvwPmC46LTVgJ+RMq89uq2Me8aILjGqmLvHCtQMv1zfKR9XEiQ+JofyhSPyiOPajc uZIgXMzAT1Lbr4tbq//JtAY6MbqHFSBObAy9v6nk+b+2L8FZzbuxqfHcRkefsUQKSqCC DS03IMdSgVsEivFwXFR19zmYTgjBQvmD4HrRzbiwGuKlMCV2LQcj+rfxLtc8nvfteIFX 8kgZlWjc2FH5SUoWqdB/stuskjs1uShUzDWTSpNHOIvpk1HQfJ3Ek0vMrZalbe4cUI7w 9Z/Q==
Received: by 10.224.33.205 with SMTP id i13mr7715401qad.35.1351107863960; Wed, 24 Oct 2012 12:44:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Wed, 24 Oct 2012 12:44:03 -0700 (PDT)
In-Reply-To: <3ECAB5C9-E2A8-47DF-B4F5-2AEB1C4125C4@mnot.net>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net> <5087B413.1000801@treenet.co.nz> <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com> <CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com> <3ECAB5C9-E2A8-47DF-B4F5-2AEB1C4125C4@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Wed, 24 Oct 2012 12:44:03 -0700
Message-ID: <CABP7Rbe4r2S_2LbeyqkihwEzPnb-TrmVf5HkjP+r+jb8dawJ+w@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Patrick McManus <pmcmanus@mozilla.com>, Roberto Peon <grmocg@gmail.com>,  Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf3074d58c48dd1b04ccd35011
Received-SPF: pass client-ip=209.85.216.50; envelope-from=jasnell@gmail.com; helo=mail-qa0-f50.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TR6sj-00034f-Gw f30703d434d07e9f1d902494866b819a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/CABP7Rbe4r2S_2LbeyqkihwEzPnb-TrmVf5HkjP+r+jb8dawJ+w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15488
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>

--20cf3074d58c48dd1b04ccd35011
Content-Type: text/plain; charset=UTF-8

On Wed, Oct 24, 2012 at 12:39 PM, Mark Nottingham <mnot@mnot.net> wrote:

> On 25/10/2012, at 5:00 AM, Patrick McManus <pmcmanus@mozilla.com> wrote:
> >
> > for reference
> https://developer.mozilla.org/en-US/docs/NSS_Key_Log_Format
>
> Thanks; I looked for that before, but couldn't find it. Should have asked.
>
> I agree that the logs should be 'raw'; we can always post-process (as long
> as we do it in a uniform manner :)
>
> How would people prefer to store them? I've been storing them as just text
> files, one per direction per stream (e.g., "response headers on this
> connection to 1.2.3.4"), with header blocks delimited by a blank line.
>  However, IIRC someone mentioned HAR as well -- any preferences?
>
>
text files would work just fine.

- James


>  Cheers,
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>

--20cf3074d58c48dd1b04ccd35011
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new,monospace"><br></font><br><div class=3D"gmail_quo=
te">On Wed, Oct 24, 2012 at 12:39 PM, Mark Nottingham <span dir=3D"ltr">&lt=
;<a href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</=
span> wrote:<br>

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">On 25/10/2012, at 5:00 AM, Patrick McManus &=
lt;<a href=3D"mailto:pmcmanus@mozilla.com">pmcmanus@mozilla.com</a>&gt; wro=
te:<br>


&gt;<br>
&gt; for reference <a href=3D"https://developer.mozilla.org/en-US/docs/NSS_=
Key_Log_Format" target=3D"_blank">https://developer.mozilla.org/en-US/docs/=
NSS_Key_Log_Format</a><br>
<br>
Thanks; I looked for that before, but couldn&#39;t find it. Should have ask=
ed.<br>
<br>
I agree that the logs should be &#39;raw&#39;; we can always post-process (=
as long as we do it in a uniform manner :)<br>
<br>
How would people prefer to store them? I&#39;ve been storing them as just t=
ext files, one per direction per stream (e.g., &quot;response headers on th=
is connection to 1.2.3.4&quot;), with header blocks delimited by a blank li=
ne. =C2=A0However, IIRC someone mentioned HAR as well -- any preferences?<b=
r>


<div class=3D"HOEnZb"><div class=3D"h5"><br></div></div></blockquote><div><=
br></div><div>text files would work just fine.</div><div><br></div><div>- J=
ames</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"HOEnZb"><div class=3D"h5">
Cheers,<br>
<br>
<br>
--<br>
Mark Nottingham =C2=A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">h=
ttp://www.mnot.net/</a><br>
<br>
<br>
<br>
<br>
</div></div></blockquote></div><br>

--20cf3074d58c48dd1b04ccd35011--


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 13:00:25 2012
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 5062321F8940 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 13:00:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.882
X-Spam-Level: 
X-Spam-Status: No, score=-9.882 tagged_above=-999 required=5 tests=[AWL=0.717, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id clhzd+akuBJ2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 13:00:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7DF6D21F893D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 13:00:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR76x-0004Tg-30 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 19:59:31 +0000
Resent-Date: Wed, 24 Oct 2012 19:59:31 +0000
Resent-Message-Id: <E1TR76x-0004Tg-30@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TR76t-0004Sf-AZ for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 19:59:27 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TR76r-0003iz-4r for ietf-http-wg@w3.org; Wed, 24 Oct 2012 19:59:27 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.3.0 (Build 3461)) with SMTP id <0019321952@smtp.qbik.com>; Thu, 25 Oct 2012 08:59:00 +1300
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Zhong Yu" <zhong.j.yu@gmail.com>, "Julian Reschke" <julian.reschke@gmx.de>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 24 Oct 2012 19:58:59 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <CACuKZqHoiNmcfa=E1nRzGGrdh2i7EuBWBP01ehNk950WhNiVVg@mail.gmail.com>
Message-Id: <em0867683c-8daf-4aa5-a833-b26eb329123b@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.080, RP_MATCHES_RCVD=-0.737, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TR76r-0003iz-4r eac2590c2ea61eeccead28f865b71559
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range Not Satisfiable"
Archived-At: <http://www.w3.org/mid/em0867683c-8daf-4aa5-a833-b26eb329123b@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15489
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've always considered multipart/byteranges to be less than optimal=20
design for the problem.

A server should be able to send the byte ranges coalesced in a single=20
message body, since it advertised the ranges coming back it's possible=20
to unpick it, and doesn't then require the part separators etc.

that way you don't need to overload the Content-Type which then removes=20
your ability to transfer the actual content type (although presumably=20
this has been communicated earlier).

Does anyone actually use multiple ranges? =20


------ Original Message ------
From: "Zhong Yu" <zhong.j.yu@gmail.com>
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 25/10/2012 4:52:03 a.m.
Subject: Re: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range=20
Not Satisfiable"
>Wouldn't "Content-Type: multipart/byteranges" cause confusions if it's
>used anywhere other than in a 206 response?
>
>Suppose a representation itself has the content type of "multipart/byteran=
ges"
>
>   Get /slivers HTTP/1.1
>
>
>   HTTP/1.1 200 OK
>   Content-Type: multipart/byteranges
>
>That's pretty confusing for observers. Even more confusingly
>
>   Get/slivers HTTP/1.1
>   Range: bytes=3D0-499
>
>
>   HTTP/1.1 206 Partial Content
>   Content-Type: multipart/byteranges
>   Content-Range: bytes 0-499/1234
>
>Maybe we should strongly discourage the use of multipart/byteranges in
>any application except in a HTTP 206 response.
>
>Zhong Yu
>
>
>
>On Wed, Oct 24, 2012 at 7:21 AM, Julian Reschke <julian.reschke@gmx.de>=
 wrote:
>
>>
>><http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p5-range-21.html#sta=
tus.416>:
>>
>>"When this status code is returned for a byte-range request, the response
>>SHOULD include a Content-Range header field specifying the current length=
 of
>>the representation (see Section 5.2). This response MUST NOT use the
>>multipart/byteranges content-type. For example,"
>>
>>What is this "MUST NOT" about? Are there clients that will ignore the =
status
>>code and assume success if they see the expected content-type?
>>
>>Best regards, Julian
>>
>>
>



From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 14:02:21 2012
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 13B2E21F8B6C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 14:02:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y9c822g8b06Y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 14:02:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E716421F8AC0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 14:02:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR846-0001eP-1Q for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 21:00:38 +0000
Resent-Date: Wed, 24 Oct 2012 21:00:38 +0000
Resent-Message-Id: <E1TR846-0001eP-1Q@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TR841-0001dM-Qh for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 21:00:33 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TR83z-0006Xk-C4 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 21:00:33 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so200824vbb.2 for <ietf-http-wg@w3.org>; Wed, 24 Oct 2012 14:00:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LnEt95k0PdKIBzqGD6kN7PtVmphm9TYJE0F6+Zra1cc=; b=mdGyYCdVpRBgE9H1JkWrD9/gHq9hVOYSYbKpQLkrMXfjo0aS/EW9UZ8nIloQkxNMA5 8CX0cMg5z6GvYva2kRErsXNuWfWQCQjDwMsee79LbMsWkrvhobCeIEMHYU6j0D9LmkUl CW/KVJRnL0KITk/O8zb6wuGwX3woGduWTUbN2UUSEZHIXGLihdH46KR/CBlNR/mTIEia MA1r1hzmM9+qKyFXnXtKdVFqc0CeNMcXyHpdICOL3DTWrbDCq7KfUG0mAl0b5n7reHkW kZplqKDDFNc5RAObn7fSXRdU5cJHxPmu6n2q8kcxeYJwcvfR1x2rt4zAmFuNpA+6yQDU E4dg==
MIME-Version: 1.0
Received: by 10.221.0.10 with SMTP id nk10mr10205066vcb.39.1351112404505; Wed, 24 Oct 2012 14:00:04 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Wed, 24 Oct 2012 14:00:04 -0700 (PDT)
In-Reply-To: <em0867683c-8daf-4aa5-a833-b26eb329123b@bombed>
References: <CACuKZqHoiNmcfa=E1nRzGGrdh2i7EuBWBP01ehNk950WhNiVVg@mail.gmail.com> <em0867683c-8daf-4aa5-a833-b26eb329123b@bombed>
Date: Wed, 24 Oct 2012 16:00:04 -0500
Message-ID: <CACuKZqFW0i8_WGND9XLh2Sq4ttCruZy7svPp9TBhPz4OCZdntw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.698, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TR83z-0006Xk-C4 2d5ca36e43d85ad221149392f0666e45
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range Not Satisfiable"
Archived-At: <http://www.w3.org/mid/CACuKZqFW0i8_WGND9XLh2Sq4ttCruZy7svPp9TBhPz4OCZdntw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15490
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>

On Wed, Oct 24, 2012 at 2:58 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
> I've always considered multipart/byteranges to be less than optimal design
> for the problem.
>
> A server should be able to send the byte ranges coalesced in a single
> message body, since it advertised the ranges coming back it's possible to
> unpick it, and doesn't then require the part separators etc.

That doesn't work for other range units though (but does anyone
actually use non-byte units?)

I agree multipart sucks. It was probably designed for human eyes? It's
hard for programming, both in generating and in parsing.

>
> that way you don't need to overload the Content-Type which then removes your
> ability to transfer the actual content type (although presumably this has
> been communicated earlier).
>
> Does anyone actually use multiple ranges?

It doesn't seem necessary at all. The client can always send multiple
requests, each for a single range; the overhead of multiple requests
is probably inconsequential compared to the bytes of the body.

>
>
> ------ Original Message ------
> From: "Zhong Yu" <zhong.j.yu@gmail.com>
> To: "Julian Reschke" <julian.reschke@gmx.de>
> Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: 25/10/2012 4:52:03 a.m.
> Subject: Re: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range Not
> Satisfiable"
>>
>> Wouldn't "Content-Type: multipart/byteranges" cause confusions if it's
>> used anywhere other than in a 206 response?
>>
>> Suppose a representation itself has the content type of
>> "multipart/byteranges"
>>
>>   Get /slivers HTTP/1.1
>>
>>
>>   HTTP/1.1 200 OK
>>   Content-Type: multipart/byteranges
>>
>> That's pretty confusing for observers. Even more confusingly
>>
>>   Get/slivers HTTP/1.1
>>   Range: bytes=0-499
>>
>>
>>   HTTP/1.1 206 Partial Content
>>   Content-Type: multipart/byteranges
>>   Content-Range: bytes 0-499/1234
>>
>> Maybe we should strongly discourage the use of multipart/byteranges in
>> any application except in a HTTP 206 response.
>>
>> Zhong Yu
>>
>>
>>
>> On Wed, Oct 24, 2012 at 7:21 AM, Julian Reschke <julian.reschke@gmx.de>
>> wrote:
>>
>>>
>>>
>>> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p5-range-21.html#status.416>:
>>>
>>> "When this status code is returned for a byte-range request, the response
>>> SHOULD include a Content-Range header field specifying the current length
>>> of
>>> the representation (see Section 5.2). This response MUST NOT use the
>>> multipart/byteranges content-type. For example,"
>>>
>>> What is this "MUST NOT" about? Are there clients that will ignore the
>>> status
>>> code and assume success if they see the expected content-type?
>>>
>>> Best regards, Julian
>>>
>>>
>>
>


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 14:06:00 2012
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 8C27D21F88EB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 14:06:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.649
X-Spam-Level: 
X-Spam-Status: No, score=-7.649 tagged_above=-999 required=5 tests=[AWL=2.950, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yPOz89GXvBa7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 14:06:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DC0C821F8B71 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 14:05:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR88b-0003CR-TC for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 21:05:17 +0000
Resent-Date: Wed, 24 Oct 2012 21:05:17 +0000
Resent-Message-Id: <E1TR88b-0003CR-TC@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TR88Y-0003Bb-AK for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 21:05:14 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TR88W-0005oA-Sf for ietf-http-wg@w3.org; Wed, 24 Oct 2012 21:05:14 +0000
Received: (qmail invoked by alias); 24 Oct 2012 21:04:38 -0000
Received: from p5DD96BB4.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.107.180] by mail.gmx.net (mp036) with SMTP; 24 Oct 2012 23:04:38 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19F05BrfTVFo4g1XdFqkjZ5tKxrXMOofN5QyX0+vi jBxJpiXyn8e5N3
Message-ID: <508857E1.2040809@gmx.de>
Date: Wed, 24 Oct 2012 23:04:33 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: "Adrien W. de Croy" <adrien@qbik.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CACuKZqHoiNmcfa=E1nRzGGrdh2i7EuBWBP01ehNk950WhNiVVg@mail.gmail.com> <em0867683c-8daf-4aa5-a833-b26eb329123b@bombed> <CACuKZqFW0i8_WGND9XLh2Sq4ttCruZy7svPp9TBhPz4OCZdntw@mail.gmail.com>
In-Reply-To: <CACuKZqFW0i8_WGND9XLh2Sq4ttCruZy7svPp9TBhPz4OCZdntw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-3.332, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TR88W-0005oA-Sf 64a45777c37154bb3fcbf96e2f4faca5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range Not  Satisfiable"
Archived-At: <http://www.w3.org/mid/508857E1.2040809@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15491
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>

On 2012-10-24 23:00, Zhong Yu wrote:
> On Wed, Oct 24, 2012 at 2:58 PM, Adrien W. de Croy <adrien@qbik.com> wrote:
>> I've always considered multipart/byteranges to be less than optimal design
>> for the problem.
>>
>> A server should be able to send the byte ranges coalesced in a single
>> message body, since it advertised the ranges coming back it's possible to
>> unpick it, and doesn't then require the part separators etc.
>
> That doesn't work for other range units though (but does anyone
> actually use non-byte units?)
>
> I agree multipart sucks. It was probably designed for human eyes? It's
> hard for programming, both in generating and in parsing.
>
>>
>> that way you don't need to overload the Content-Type which then removes your
>> ability to transfer the actual content type (although presumably this has
>> been communicated earlier).
>>
>> Does anyone actually use multiple ranges?
>
> It doesn't seem necessary at all. The client can always send multiple
> requests, each for a single range; the overhead of multiple requests
> is probably inconsequential compared to the bytes of the body.


Well, we know that it *is* used.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 14:08:15 2012
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 1630521F8A62 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 14:08:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.985
X-Spam-Level: 
X-Spam-Status: No, score=-9.985 tagged_above=-999 required=5 tests=[AWL=0.614, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5WzH3SF5EN+J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 14:08:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F224E21F8B71 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 14:08:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TR8As-0003fz-0Q for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 21:07:38 +0000
Resent-Date: Wed, 24 Oct 2012 21:07:38 +0000
Resent-Message-Id: <E1TR8As-0003fz-0Q@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TR8Ao-0003fF-76 for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 21:07:34 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TR8An-0005t7-06 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 21:07:34 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.3.0 (Build 3461)) with SMTP id <0019322146@smtp.qbik.com>; Thu, 25 Oct 2012 10:07:10 +1300
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Zhong Yu" <zhong.j.yu@gmail.com>
Cc: "Julian Reschke" <julian.reschke@gmx.de>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 24 Oct 2012 21:07:09 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <CACuKZqFW0i8_WGND9XLh2Sq4ttCruZy7svPp9TBhPz4OCZdntw@mail.gmail.com>
Message-Id: <emb9a23e22-dbff-4c95-bb1a-157a89430344@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-2.3
X-W3C-Hub-Spam-Report: AWL=-1.540, RP_MATCHES_RCVD=-0.737, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TR8An-0005t7-06 5edd8d727780a26dd160230ed5b38879
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range Not Satisfiable"
Archived-At: <http://www.w3.org/mid/emb9a23e22-dbff-4c95-bb1a-157a89430344@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15492
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>

=EF=BB=BF
------ Original Message ------
From: "Zhong Yu" <zhong.j.yu@gmail.com>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: "Julian Reschke" <julian.reschke@gmx.de>;"ietf-http-wg@w3.org"=20
<ietf-http-wg@w3.org>
Sent: 25/10/2012 10:00:04 a.m.
Subject: Re: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range=20
Not Satisfiable"
>On Wed, Oct 24, 2012 at 2:58 PM, Adrien W. de Croy <adrien@qbik.com> wrote=
:
>
>>
>>I've always considered multipart/byteranges to be less than optimal desig=
n
>>for the problem.
>>
>>A server should be able to send the byte ranges coalesced in a single
>>message body, since it advertised the ranges coming back it's possible=
 to
>>unpick it, and doesn't then require the part separators etc.
>>
>
>
>That doesn't work for other range units though (but does anyone
>actually use non-byte units?)
>

I've always considered any other range unit to be a Really Bad Idea=20
which I hope never sees the light of day.  In fact I'd love to see the=20
extensibility of Range deprecated.

there is always another way to do different types of range (e.g. pages,=20
frames etc) which doesn't break everything (esp caches).

>
>
>I agree multipart sucks. It was probably designed for human eyes? It's
>hard for programming, both in generating and in parsing.
>
It's horrible to parse.  MIME multipart is not a good format for=20
performance.
>>
>>
>>that way you don't need to overload the Content-Type which then removes=
 your
>>ability to transfer the actual content type (although presumably this =
has
>>been communicated earlier).
>>
>>Does anyone actually use multiple ranges?
>>
>
>
>It doesn't seem necessary at all. The client can always send multiple
>requests, each for a single range; the overhead of multiple requests
>is probably inconsequential compared to the bytes of the body.
>
>
>>
>>
>>
>>------ Original Message ------
>>From: "Zhong Yu" <zhong.j.yu@gmail.com>
>>To: "Julian Reschke" <julian.reschke@gmx.de>
>>Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
>>Sent: 25/10/2012 4:52:03 a.m.
>>Subject: Re: draft-ietf-httpbis-p5-range-21, "3.2 416 Requested Range =
Not
>>Satisfiable"
>>
>>>
>>>
>>>Wouldn't "Content-Type: multipart/byteranges" cause confusions if it's
>>>used anywhere other than in a 206 response?
>>>
>>>Suppose a representation itself has the content type of
>>>"multipart/byteranges"
>>>
>>>  Get /slivers HTTP/1.1
>>>
>>>
>>>  HTTP/1.1 200 OK
>>>  Content-Type: multipart/byteranges
>>>
>>>That's pretty confusing for observers. Even more confusingly
>>>
>>>  Get/slivers HTTP/1.1
>>>  Range: bytes=3D0-499
>>>
>>>
>>>  HTTP/1.1 206 Partial Content
>>>  Content-Type: multipart/byteranges
>>>  Content-Range: bytes 0-499/1234
>>>
>>>Maybe we should strongly discourage the use of multipart/byteranges in
>>>any application except in a HTTP 206 response.
>>>
>>>Zhong Yu
>>>
>>>
>>>
>>>On Wed, Oct 24, 2012 at 7:21 AM, Julian Reschke <julian.reschke@gmx.de>
>>>wrote:
>>>
>>>
>>>>
>>>>
>>>>
>>>><http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p5-range-21.html#s=
tatus.416>:
>>>>
>>>>"When this status code is returned for a byte-range request, the respon=
se
>>>>SHOULD include a Content-Range header field specifying the current leng=
th
>>>>of
>>>>the representation (see Section 5.2). This response MUST NOT use the
>>>>multipart/byteranges content-type. For example,"
>>>>
>>>>What is this "MUST NOT" about? Are there clients that will ignore the
>>>>status
>>>>code and assume success if they see the expected content-type?
>>>>
>>>>Best regards, Julian
>>>>
>>>>
>>>>
>



From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 16:59:11 2012
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 C39A021F87A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 16:59:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.413
X-Spam-Level: 
X-Spam-Status: No, score=-8.413 tagged_above=-999 required=5 tests=[AWL=2.186, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2RqpRUDZlg2C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 16:59:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4A57721F874C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 16:59:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRAop-0007K2-Q7 for ietf-http-wg-dist@listhub.w3.org; Wed, 24 Oct 2012 23:57:03 +0000
Resent-Date: Wed, 24 Oct 2012 23:57:03 +0000
Resent-Message-Id: <E1TRAop-0007K2-Q7@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TRAol-0007JN-1s for ietf-http-wg@listhub.w3.org; Wed, 24 Oct 2012 23:56:59 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TRAoi-0004NE-V8 for ietf-http-wg@w3.org; Wed, 24 Oct 2012 23:56:58 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 86A1C22DD6D; Wed, 24 Oct 2012 19:56:34 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <5087CEE5.1020207@schokola.de>
Date: Thu, 25 Oct 2012 10:56:39 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <59237B14-07B7-4BE1-A338-65A6C5C76C16@mnot.net>
References: <50800A50.2050207@schokola.de> <A676CFB6-224E-4BB7-9C7B-115A20BAFC53@mnot.net> <5086FCE2.2090708@schokola.de> <B0D66A8B-8D99-440B-B53C-3177B112322A@mnot.net> <5087CEE5.1020207@schokola.de>
To: Nils Goroll <slink@schokola.de>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-3.033, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRAoi-0004NE-V8 f0f62cdd839af478b3c9cb4c1faa611f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC issue: (minor?) scope of client/server attributes (specifically: downgrades) in p1
Archived-At: <http://www.w3.org/mid/59237B14-07B7-4BE1-A338-65A6C5C76C16@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15493
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>

On 24/10/2012, at 10:20 PM, Nils Goroll <slink@schokola.de> wrote:

>=20
>> A UA might decide to "remember" the downgrade longer than the scope =
of a single connection.
>=20
> Then the implication would be that all actual server processes behind =
an address or fqdn had to support the same version(s).


No - HTTP/1.0 is backwards-compatible with 1.1. There is not =
interoperability problem, because it still works.


--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 20:36:06 2012
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 93D191F0C82 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 20:36:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.305
X-Spam-Level: 
X-Spam-Status: No, score=-8.305 tagged_above=-999 required=5 tests=[AWL=1.994, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6B7UxndKDYND for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 20:36:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D6F891F0C6A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 20:36:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRECv-00063s-VR for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 03:34:10 +0000
Resent-Date: Thu, 25 Oct 2012 03:34:09 +0000
Resent-Message-Id: <E1TRECv-00063s-VR@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TRECs-000632-98 for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 03:34:06 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TRECr-0001Sy-4y for ietf-http-wg@w3.org; Thu, 25 Oct 2012 03:34:06 +0000
Received: from host28cfda006b07.mnot.net (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 861DC22E255; Wed, 24 Oct 2012 23:33:42 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAA4WUYj+yjt1KX9ZBJcooE_82+VKx2G-Ww1HiocY7RzBy5=Z6g@mail.gmail.com>
Date: Thu, 25 Oct 2012 14:33:44 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <7505240D-EEA1-4AB2-AE7E-12D3D9153697@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net> <CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com> <8AF3AFC2-8642-43F7-8472-FAAB1FD28827@mnot.net> <CAA4WUYj+yjt1KX9ZBJcooE_82+VKx2G-Ww1HiocY7RzBy5=Z6g@mail.gmail.com>
To: =?utf-8?Q?William_Chan_=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-2.8
X-W3C-Hub-Spam-Report: AWL=-2.829, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRECr-0001Sy-4y 5cf245eb62decd835330fdd34ff50578
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/7505240D-EEA1-4AB2-AE7E-12D3D9153697@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15495
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>

On 25/10/2012, at 6:10 AM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) =
<willchan@chromium.org> wrote:
>=20
> Could you dig up the exact bytes-on-the-wire handshake that was used?
>=20
> Er, I'm not an expert here, but here's the experiment =
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/net/websock=
et_experiment/websocket_experiment_runner.cc?view=3Dmarkup&pathrev=3D63020=
 and the handshake code =
(http://src.chromium.org/viewvc/chrome/trunk/src/net/websockets/websocket_=
handshake.cc?view=3Dmarkup&pathrev=3D63020).

That's helpful, thanks.




--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 20:36:06 2012
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 894DA1F0C4A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 20:36:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.434
X-Spam-Level: 
X-Spam-Status: No, score=-8.434 tagged_above=-999 required=5 tests=[AWL=2.165, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rYpCjGsDlNfW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 20:36:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D6FEB1F0C7E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 20:36:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TREBl-00060H-PD for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 03:32:57 +0000
Resent-Date: Thu, 25 Oct 2012 03:32:57 +0000
Resent-Message-Id: <E1TREBl-00060H-PD@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TREBb-0005zT-0W for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 03:32:47 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TREBZ-00039r-Co for ietf-http-wg@w3.org; Thu, 25 Oct 2012 03:32:46 +0000
Received: from host28cfda006b07.mnot.net (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6C71022E255; Wed, 24 Oct 2012 23:32:22 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <BB72E60F7A18154A9B1352D1DF6FEE571E2687E6@NASANEXD01E.na.qualcomm.com>
Date: Thu, 25 Oct 2012 14:32:23 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0AE0EC57-F2BC-4DAD-B939-C07E2B584D53@mnot.net>
References: <BB72E60F7A18154A9B1352D1DF6FEE571E2687E6@NASANEXD01E.na.qualcomm.com>
To: "Fall, Kevin" <kfall@qti.qualcomm.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-2.953, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TREBZ-00039r-Co d86b0360942d2cc693cef7b07b4d7c94
X-Original-To: ietf-http-wg@w3.org
Subject: draft-kfall-httpbis-server-ranges [was: Preliminary agenda for Atlanta]
Archived-At: <http://www.w3.org/mid/0AE0EC57-F2BC-4DAD-B939-C07E2B584D53@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15494
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>

Kevin,

On 23/10/2012, at 3:11 PM, "Fall, Kevin" <kfall@qti.qualcomm.com> wrote:

> Would like a chance to briefly bring up the range / partial delivery =
issue
> I mentioned on the list.
> [and what's behind=20
> http://tools.ietf.org/id/draft-kfall-httpbis-server-ranges-00.txt]


We can spend a bit of time on it in the "related work" item of the =
session on Monday, yes.

To make the use case a bit more concrete, and make sure I understand it, =
one example AIUI would be a request for

  Range: bytes=3D100-

to which you return, say:

  Content-Range: bytes 100-200/1000
  ETag: "1234"

and then to a subseqent, identical request

  Content-Range: bytes 100-400/1000
  ETag: "1234"

Correct?

Cheers,


--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Wed Oct 24 23:25:13 2012
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 0965421F903C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 23:25:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.528
X-Spam-Level: 
X-Spam-Status: No, score=-8.528 tagged_above=-999 required=5 tests=[AWL=2.071, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KeoNjt-RBrJ3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 24 Oct 2012 23:25:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 07F5521F8F26 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 24 Oct 2012 23:25:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRGpc-0005gG-3z for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 06:22:16 +0000
Resent-Date: Thu, 25 Oct 2012 06:22:16 +0000
Resent-Message-Id: <E1TRGpc-0005gG-3z@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1TRGpW-0005fX-SF for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 06:22:10 +0000
Received: from mailgw2.ericsson.se ([193.180.251.37]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1TRGpV-0000Uu-4z for ietf-http-wg@w3.org; Thu, 25 Oct 2012 06:22:10 +0000
X-AuditID: c1b4fb25-b7f956d0000011c3-b2-5088da7ad964
Received: from esessmw0184.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id CE.64.04547.A7AD8805; Thu, 25 Oct 2012 08:21:46 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0184.eemea.ericsson.se (153.88.115.82) with Microsoft SMTP Server id 8.3.279.1; Thu, 25 Oct 2012 08:21:46 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3])	by mail.lmf.ericsson.se (Postfix) with ESMTP id 0211E2B0A	for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 09:21:46 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 7D03553997	for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 09:21:45 +0300 (EEST)
Received: from n94.nomadiclab.com (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 2E44253987	for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 09:21:45 +0300 (EEST)
Message-ID: <5088DA79.1020808@ericsson.com>
Date: Thu, 25 Oct 2012 09:21:45 +0300
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz>
In-Reply-To: <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz>
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPLMWRmVeSWpSXmKPExsUyM+JvrW7VrY4Ag3fP1S0Ot8xicmD0ODpv P2sAYxSXTUpqTmZZapG+XQJXxsyF39gKDllWbFv/mbWB8YJuFyMnh4SAicTJFzvZIWwxiQv3 1rN1MXJxCAmcYpT40raZHcLZwCjxZN41KOcqo8Ss35+hnBOMElMn/2SCcA4wSnx828wEMoxX QFtib+snZhCbRUBV4tb3v2A2m4CZxPOHW8BsUYFkiXkbrjJD1AtKnJz5hAXEFhEQl+i6v4MR xBYW0JPY8qERattGRol9nxaBLeAUsJWY0XQd7HJmAQuJxW8OQtnyEtvfzmGG+EhN4uq5TWC2 kICWRO/ZTqYJjCKzkOybhaR9FpL2BYzMqxiFcxMzc9LLjfRSizKTi4vz8/SKUzcxAgP94Jbf qjsY75wTOcQozcGiJM5rvXWPv5BAemJJanZqakFqUXxRaU5q8SFGJg5OqQbG3WFbnXpanpzN vMewzf9gdLXUuvdRBXdZQ7l438vMkZENu+j05dtFo9sdrUWyVnNc/1aVzdv5h9F2V9nD6rzd ezl8I+oU5Ezm7KzpjTNh6vhy52b03OjPBu6fgxqrbdm+bFebnrZYVF++QqNSaW/vg/NSgmaT 5u5sL1vV0it9N9X54Zk7Ae+VWIozEg21mIuKEwEyz0ZRQgIAAA==
Received-SPF: pass client-ip=193.180.251.37; envelope-from=salvatore.loreto@ericsson.com; helo=mailgw2.ericsson.se
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-1.967, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRGpV-0000Uu-4z dc8d0fdbc256a8ffca8d69fd4bf9276a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/5088DA79.1020808@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15496
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>

On 10/24/12 4:23 AM, Amos Jeffries wrote:
> On 24.10.2012 05:50, James M Snell wrote:
>> On Mon, Oct 22, 2012 at 7:03 PM, Mark Nottingham <mnot@mnot.net> wrote:
>>> [snip]
>>>
>>> 1) Using a SRV (or other DNS) record. There seems to be a fair 
>>> amount of
>>> interest in this from the browser implementers; the only resistance 
>>> seems
>>> to be around how hard this would be to deploy, but if it's not the only
>>> mechanism for upgrading to HTTP/2, it shouldn't be a concern.
>>>
>>> Presumably, we'd define a default port for HTTP/2-only communication 
>>> when
>>> used in conjunction with this, so that firewalls would know to open 
>>> it, etc.
>>>
>> Such a dedicated default port definitely needs to be defined. There are
>> many scenarios where upgrade negotiation simply is not going to be 
>> required
>> at all.
>>
> My understanding of the charter was that defining a new scheme was out 
> of bounds. A *default* port would mean a new scheme name was mandatory 
> to identify default http://*:80 from default http://*:443 from default 
> http2 port.
>
> I find it highly undesirable either way. Lets make HTTP/2 the 
> successor to merge both HTTP/1.1 port 80 and HTTP/1.1 port 443 safely 
> with scheme http:// and default port 80. Note that this does not 
> require it being ASCII text initial request. We can easily and safely 
> prefix with a TLS-follows frame to determine HTTPS over port 80.

I am not really convinced that defining a *new* default port for 
HTTP/2-only communication is a good idea.



>
>>> Does anyone object to us defining such a record (type TBD), as long as
>>> it's not the only way to get to HTTP/2 for HTTP URIs?
>>>
>>
>> Defining a new dns record type would be unnecessary and would be the 
>> wrong
>> approach. SRV records were made specifically for this kind of use. 
>> They're
>> certainly not perfect but inventing a new record type specifically for
>> http2 stuff is even less so.
>>
> +1 on that.

+1 on SRV record

>>>
>>> 2) Using a response header to hint that HTTP/2 is available on another
>>> port.
>>>
>>> This approach hasn't been talked about in detail yet, but it apparently
>>> (as some have noted) has the disadvantage of not upgrading the first
>>> interaction, and of requiring a separate cache (and caching model) 
>>> for this
>>> information.
>>>
>>> Who wants to pursue this approach? If so, we need a small proposal
>>> written, preferably as an I-D, but an e-mail would do.
>>>
>>>
>> This is one of those ideas that sounds interesting in theory but I don't
>> see how it would be effective in practice.
>>
>
> Maybe yes maybe no. This seems to me to be a repetition of the Via: 
> header with its path version hints. Equally valid in HTTP/1.a and 2.0 
> and covers this use-case already.
>
>>
>>> And, are there any other approaches we want to put on the table?
>>>
>>>
>> For browsers, upgrading on the first connection is obviously going to be
>> critical. The DNS option seems like the best approach for the most 
>> general
>> case, despite the various flaws in that approach.
>
> *except* for all those cases where middleware exists. In which case 
> DNS hinting will be the cause of problems, not the solution.
>
>> montenegro-httpbis-http2-negotiation seems to provide a reasonable 
>> fallback
>> when we're talking primarily about GET/HEAD traffic, but it has obvious
>> issues when dealing with POST/PUT/PATCH type operations. I do not really
>> want to always have to send PUT requests as HTTP/1.1 when what I really
>> want is to use HTTP/2.0 for the entire flow. For payload-bearing 
>> requests,
>> upgrade needs to be negotiated before the initial request is sent.
>
> That said, how prevalent is first-contact PUT/POST as opposed to a 
> page GET followed by further interaction from scripts and forms?
>  Is it just from badly designed sites using cross-domain PUT/POST?
>  or from non-browser agents which should be able to know better anyway 
> with less critical timing requirements?
>
>>
>> One possible way to mitigate this would be to combine the Upgrade header
>> approach with a new Expect token. For instance...
>>
>>   POST /default.htm HTTP/1.1
>>   Host: server.example.com
>>   Connection: Upgrade
>>   Upgrade: HTTP/2.0
>>   Expect: 101-upgrade
>>
>> The addition of the Expect header does two things...
>>
>> 1. It makes the upgrade a requirement rather than optional...
>> 2. The client would then wait as reasonable time for the 101 Switching
>> Protocols before it proceeds to send the http/2.0 encoded data...
>>
>> When the client does start sending the data (after receiving the 101
>> response), it would do so by first sending a SYN_STREAM.. To http/1.1
>> servers, this would appear to be nothing more than regular POST payload
>> data. For http/2 traffic, this requires an initial round trip but it
>> addresses the upgrade on payload-bearing request issue... and is exactly
>> the kind of thing the Expect header was intended for. The scheme is
>> obviously far from perfect, however.
>
> +1.
>
> Also note that the new Expect token needs to be defined as hop-by-hop 
> to prevent its relay.
>
> This is also just as useful for Upgrade:HTTP/1.1 to mandate HTTP/1.1 
> feature support on the connection.

+1 on the Expected token, it is really useful


/Salvatore

>
>
>>
>> Alternatively, I firmly believe that a http2 URI scheme as a reasonable
>> fallback needs to be considered as an option here... particularly if 
>> we do
>> define a dedicated http/2 default port. Yes, I agree with the whole "we
>> want to do existing http:// and https:// traffic over http/2 
>> transparently"
>> argument and fully understand the challenges of introducing a new URI
>> scheme. However, there will be instances where upgrade negotiation is
>> simply not going to be necessary and for which backwards 
>> compatibility with
>> existing infrastructure is going to be unnecessary. For those cases, the
>> ability to pass a URL like "http2://example.org" and have it just
>> automatically understood that it's "http/2 over port whatever" will be
>> extremely useful. A no brainer even. So much so that if the working 
>> group
>> here doesn't choose to define it, I'll likely just end up writing it 
>> up as
>> an individual submission. That way, when I write.. <form method="post"
>> action="http2://example.org">...</form> the notion that http/2 is being
>> used is explicit and no upgrade discovery/negotiation is required at 
>> all.
>> That's what url schemes are for in the first place, right?
>
> Consider whether you are making HTTP/2 an second protocol to exist in 
> parallel to HTTP/1 or a replacement version of the protocol.
>
> A parallel protocol would have a separate scheme (eg. HTTP vs HTTPS 
> today). And may as well be called HTTP2/1.1 or "HTTP/1.1 over port 
> 1234" as HTTP/2.0.
>
> A replacement would use the same scheme and let the agents negotiate 
> the version level between themselves without the web developers 
> getting involved with specific URL versions.
>
> Also, how would one go about re-writing the entire legacy web page set 
> to use http2:// URLs when the server (or even just its frontend 
> proxy!) upgrades?
>
>
> Amos



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 00:06:08 2012
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 31FD911E80A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 00:06:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.121
X-Spam-Level: 
X-Spam-Status: No, score=-7.121 tagged_above=-999 required=5 tests=[AWL=3.478, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JxcACSPLFWFa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 00:06:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6F5F411E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 00:06:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRHTW-0008Rn-WD for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 07:03:31 +0000
Resent-Date: Thu, 25 Oct 2012 07:03:30 +0000
Resent-Message-Id: <E1TRHTW-0008Rn-WD@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1TRHTO-0008Q2-T5 for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 07:03:22 +0000
Received: from na01-by2-obe.ptr.protection.outlook.com ([207.46.100.28] helo=NA01-BY2-obe.outbound.protection.outlook.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1TRHTN-00023u-Kf for ietf-http-wg@w3.org; Thu, 25 Oct 2012 07:03:22 +0000
Received: from BY2FFO11FD012.protection.gbl (10.1.15.203) by BY2FFO11HUB017.protection.gbl (10.1.14.91) with Microsoft SMTP Server (TLS) id 15.0.545.8; Thu, 25 Oct 2012 07:02:52 +0000
Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (131.107.125.37) by BY2FFO11FD012.mail.protection.outlook.com (10.1.14.130) with Microsoft SMTP Server (TLS) id 15.0.545.8 via Frontend Transport; Thu, 25 Oct 2012 07:02:52 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14HUBC102.redmond.corp.microsoft.com (157.54.7.154) with Microsoft SMTP Server (TLS) id 14.2.318.3; Thu, 25 Oct 2012 07:02:35 +0000
Received: from TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com (157.54.71.39) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) with Microsoft SMTP Server (TLS) id 14.2.318.3; Thu, 25 Oct 2012 00:02:35 -0700
Received: from TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com ([169.254.4.233]) by TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.39]) with mapi id 14.02.0318.003; Thu, 25 Oct 2012 00:02:35 -0700
From: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
To: Mark Nottingham <mnot@mnot.net>, Willy Tarreau <w@1wt.eu>
CC: Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: #385: HTTP2 Upgrade / Negotiation
Thread-Index: AQHNsML4Xu+ZJ6lhSUikX0wNkl0SrpfHkNAAgACPVICAACeDAIAAGxiAgAAYUwCAAAEgAIAABQAAgAAEPoCAARKZ4A==
Date: Thu, 25 Oct 2012 07:02:34 +0000
Message-ID: <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net>
In-Reply-To: <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.41]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Forefront-Antispam-Report: CIP:131.107.125.37;CTRY:US;IPV:CAL;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(35774002)(31966008)(74662001)(47446002)(44976002)(16796002)(16696001)(51856001)(16406001)(33656001)(20776001)(47776002)(54316001)(46102001)(53806001)(74502001)(47736001)(3846001)(4396001)(4196001)(50466001)(2666001)(1076001)(8716001)(50986001)(54356001)(49866001)(47976001)(48376001)(316001)(781001)(3746001)(3556001);DIR:OUT;LANG:en;
X-OriginatorOrg: microsoft.onmicrosoft.com
X-Forefront-PRVS: 0645BEB7AA
Received-SPF: pass client-ip=207.46.100.28; envelope-from=Gabriel.Montenegro@microsoft.com; helo=NA01-BY2-obe.outbound.protection.outlook.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRHTN-00023u-Kf 4e7adf094f270691805731040875f843
X-Original-To: ietf-http-wg@w3.org
Subject: RE: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15497
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>

> On the other hand, the Upgrade-based negotiation is pessimistic; it assum=
e
> that something will go wrong until we prove that both ends speak the same
> language. It'll be fast but have some limitations at the start (as discus=
sed).

I've been thinking about this, and think we may be able to make it more opt=
imistic after the first exchange.

This is the scenario:
1. client has no prior knowledge whether this server supports http2 on this=
 port in the clear.
2. client performs Upgrade (presumably, he'd be using NPN if over SSL)
3. server sends 101 back.
4. they now speak http2, and the client learns that this server speaks http=
2 at this port.
5. time passes, and this http2 connection goes away.
6. a subsequent message from client to server (without a pre-existing http2=
 connection) could bypass the Upgrade and send http2 frames directly.

This would require the server to be able to detect if any given message is =
either http 1.X or http 2. Given the binary framing of the latter, it seems=
 possible to figure out how to make this unambiguous at the server.

Comments?

Gabriel


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 00:06:08 2012
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 43E4E11E8097 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 00:06:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.123
X-Spam-Level: 
X-Spam-Status: No, score=-9.123 tagged_above=-999 required=5 tests=[AWL=1.476, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Okc1gi7j7afl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 00:06:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6F95E11E809C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 00:06:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRHUc-000089-SI for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 07:04:38 +0000
Resent-Date: Thu, 25 Oct 2012 07:04:38 +0000
Resent-Message-Id: <E1TRHUc-000089-SI@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRHUZ-00006l-IL for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 07:04:35 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRHUS-000268-DD for ietf-http-wg@w3.org; Thu, 25 Oct 2012 07:04:35 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9P73xIV015741; Thu, 25 Oct 2012 09:03:59 +0200
Date: Thu, 25 Oct 2012 09:03:59 +0200
From: Willy Tarreau <w@1wt.eu>
To: Takeshi Yoshino <tyoshino@google.com>
Cc: Mark Nottingham <mnot@mnot.net>, "William Chan (?????????)" <willchan@chromium.org>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <20121025070359.GC15587@1wt.eu>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net> <CAH9hSJZHExYP6erHwgVTrMj3sLx9viyNfvyyRs597YZ=PvQvTw@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAH9hSJZHExYP6erHwgVTrMj3sLx9viyNfvyyRs597YZ=PvQvTw@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-1.742, BAYES_00=-1.9, RP_MATCHES_RCVD=-0.736, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRHUS-000268-DD 5bb85d2e1a0aaa99051382a21f34a4dc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/20121025070359.GC15587@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15498
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>

Hi Takeshi,

On Wed, Oct 24, 2012 at 02:12:44PM +0900, Takeshi Yoshino wrote:
> > > Do you mean the Chromium HTTP upgrade experiment agl referred to in
> > > http://www.ietf.org/mail-archive/web/tls/current/msg05593.html?
> >
> > No, IIRC there was also some broader experimentation using ads; I'll dig
> > around a bit more.
> >
> >
> Maybe this work http://w2spconf.com/2011/papers/websocket.pdf which
> resulted in introduction of masking to the WebSocket protocol.

Yes I think this is the work Mark was talking about, but warning,
there were some issues with this test due to the inability to analyse
intermediaries behaviour. While very useful, we must keep in mind that
several of the issues detected were assigned a possible cause that
justified masking (eg: connection resets supposed to be caused by
interpretation of payload contents as requests), while a number of
other causes were much more likely true for a number of us implemntors
(eg: classic close upon response receipt). I don't have all the details
in mind anymore, this was discussed to such great lengths on the hybi
list :-)

Today I'd much rather trust real-world tests from websocket clients
running in browsers !

Willy



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 00:33:00 2012
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 BD06821F8630 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 00:33:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.175
X-Spam-Level: 
X-Spam-Status: No, score=-9.175 tagged_above=-999 required=5 tests=[AWL=1.424, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T0w6mypEmiwR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 00:33:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 003B321F85E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 00:32:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRHtl-0005mu-8n for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 07:30:37 +0000
Resent-Date: Thu, 25 Oct 2012 07:30:37 +0000
Resent-Message-Id: <E1TRHtl-0005mu-8n@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRHth-0005mB-DB for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 07:30:33 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRHtg-00019V-Cw for ietf-http-wg@w3.org; Thu, 25 Oct 2012 07:30:33 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9P7TgAi015834; Thu, 25 Oct 2012 09:29:42 +0200
Date: Thu, 25 Oct 2012 09:29:42 +0200
From: Willy Tarreau <w@1wt.eu>
To: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Cc: Mark Nottingham <mnot@mnot.net>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20121025072942.GD15587@1wt.eu>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net> <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.692, RP_MATCHES_RCVD=-0.736, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRHtg-00019V-Cw 47d510a3ba6c4b70f5fc572dcd6c19ca
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/20121025072942.GD15587@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15499
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>

Hi Gabriel,

On Thu, Oct 25, 2012 at 07:02:34AM +0000, Gabriel Montenegro wrote:
> > On the other hand, the Upgrade-based negotiation is pessimistic; it assume
> > that something will go wrong until we prove that both ends speak the same
> > language. It'll be fast but have some limitations at the start (as discussed).
> 
> I've been thinking about this, and think we may be able to make it more optimistic after the first exchange.
> 
> This is the scenario:
> 1. client has no prior knowledge whether this server supports http2 on this port in the clear.
> 2. client performs Upgrade (presumably, he'd be using NPN if over SSL)
> 3. server sends 101 back.
> 4. they now speak http2, and the client learns that this server speaks http2 at this port.
> 5. time passes, and this http2 connection goes away.
> 6. a subsequent message from client to server (without a pre-existing http2 connection) could bypass the Upgrade and send http2 frames directly.
> 
> This would require the server to be able to detect if any given message is
> either http 1.X or http 2. Given the binary framing of the latter, it seems
> possible to figure out how to make this unambiguous at the server.
> 
> Comments?

This cannot work in environment where transparent protocol analysers and
intercepting proxies are installed. The first success only means one thing,
which is that the scenario used along the whole path works, it does not
preclude that changing the opening handshake would too woke. Two examples :

- in March I informed the hybi WG that I got a report from a user that
  Trend Micro's OfficeScan installed on his machine was blocking WS
  upgrades because it was analysing exchanges between the browser and
  the outer world and did not like 101 responses. When this program
  is eventually fixed, it will still inspect contents and expect HTTP
  to be spoken there, which would not be the case on the second handshake ;

- I was aware of an ISP combining haproxy + squid to save on bandwidth costs.
  The principle was very simple, haproxy was set up as an intercepting proxy
  at the border, and balanced the load across a squid farm. Haproxy was
  configured to bypass squid for websocket since there was no added value
  in solliciting the caches for this. Haproxy doesn't understand websocket,
  it only understands HTTP/1.1 and its associated Upgrade mechanism. If you
  start sending non-HTTP/1.1 frames at it while it expects HTTP, you can be
  sure to get a 400/badreq quickly in return (at least once the protocols
  diverge).

So what we learn from the first successful connection is that we should
continue to use the same mechanism.

However I think we should experiment with the same principle as pipelining, ie
when a handshake has worked once, we can probably start sending HTTP/2 frames
after the initial client handshake without waiting for a response since we know
that the whole path supports the Upgrade well.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 01:11:51 2012
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 8CF3121F89E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 01:11:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 82jHVl8TalMd for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 01:11:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C720F21F89E1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 01:11:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRIVU-0006dp-8W for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 08:09:36 +0000
Resent-Date: Thu, 25 Oct 2012 08:09:36 +0000
Resent-Message-Id: <E1TRIVU-0006dp-8W@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1TRIVQ-0006d6-If for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 08:09:32 +0000
Received: from inari-msr.crf.canon.fr ([194.2.158.67]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1TRIVP-0004VQ-H1 for ietf-http-wg@w3.org; Thu, 25 Oct 2012 08:09:32 +0000
Received: from mir-msr.corp.crf.canon.fr (mir-msr.corp.crf.canon.fr [172.19.77.98]) by inari-msr.crf.canon.fr (8.13.8/8.13.8) with ESMTP id q9P891HF016435; Thu, 25 Oct 2012 10:09:02 +0200
Received: from ADELE.crf.canon.fr (adele.fesl2.crf.canon.fr [172.19.70.17]) by mir-msr.corp.crf.canon.fr (8.13.8/8.13.8) with ESMTP id q9P891MP000368; Thu, 25 Oct 2012 10:09:01 +0200
Received: from ADELE.crf.canon.fr ([::1]) by ADELE.crf.canon.fr ([::1]) with mapi id 14.02.0318.004; Thu, 25 Oct 2012 10:09:01 +0200
From: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP Header Compaction Results
Thread-Index: Ac2wcgXit5LTd9P6QaaUL6UpBFu20ABJUngAADvbFHA=
Date: Thu, 25 Oct 2012 08:09:00 +0000
Message-ID: <6C71876BDCCD01488E70A2399529D5E522F9AC@ADELE.crf.canon.fr>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net>
In-Reply-To: <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net>
Accept-Language: en-US, fr-FR
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [172.20.5.239]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: none client-ip=194.2.158.67; envelope-from=Herve.Ruellan@crf.canon.fr; helo=inari-msr.crf.canon.fr
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.083, RP_MATCHES_RCVD=-0.736
X-W3C-Scan-Sig: maggie.w3.org 1TRIVP-0004VQ-H1 51adfb7f8904d0841c335e8219171d5d
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/6C71876BDCCD01488E70A2399529D5E522F9AC@ADELE.crf.canon.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15500
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>

> -----Original Message-----
> From: Mark Nottingham [mailto:mnot@mnot.net]
> Sent: mercredi 24 octobre 2012 07:26
> To: RUELLAN Herve
> Cc: ietf-http-wg@w3.org
> Subject: Re: HTTP Header Compaction Results
>=20
> > Currently we are using web pages obtained from Alexa's top ranked sites=
.
> While computing our results, we are taking into account several parameter=
s:
> separate study of requests and responses, using deflate or not (when
> relevant), variable number of exchanged messages (corresponding to
> loading from 1 to 10 web pages). Any advice on these measurements would
> be appreciated.
>=20
> For the time being, mine combines all of the requests / responses on
> different connections to the same server into the same file, under the
> assumption that multiplexing will enable this. Eventually I'd like to get
> something more sophisticated in there.
>=20
> It also removes connection headers, as they're really HTTP/1 specific.
>=20
> What else should we be doing?

On our side, we use har files, that are generated directly by Chrome. In on=
e har file, we have all the requests/responses to all the servers necessary=
 to load a set of web pages. The web pages themselves come from only one se=
rver. We therefore have to do some processing to split the requests/respons=
es according to their target server.

We've not yet implemented any specific filtering on the headers, but should=
 probably do this to remove connection headers for example.

Regards,

Herv=E9.


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 01:15:47 2012
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 0FC8321F887A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 01:15:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.249
X-Spam-Level: 
X-Spam-Status: No, score=-10.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_FR=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Joxk2HZ8YTpb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 01:15:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7562B21F8847 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 01:15:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRIaF-0001gr-U7 for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 08:14:31 +0000
Resent-Date: Thu, 25 Oct 2012 08:14:31 +0000
Resent-Message-Id: <E1TRIaF-0001gr-U7@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1TRIaB-0001gC-Gw for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 08:14:27 +0000
Received: from inari-msr.crf.canon.fr ([194.2.158.67]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <Herve.Ruellan@crf.canon.fr>) id 1TRIaA-0002be-GH for ietf-http-wg@w3.org; Thu, 25 Oct 2012 08:14:27 +0000
Received: from mir-msr.corp.crf.canon.fr (mir-msr.corp.crf.canon.fr [172.19.77.98]) by inari-msr.crf.canon.fr (8.13.8/8.13.8) with ESMTP id q9P8DdZk016667; Thu, 25 Oct 2012 10:13:39 +0200
Received: from ADELE.crf.canon.fr (adele.fesl2.crf.canon.fr [172.19.70.17]) by mir-msr.corp.crf.canon.fr (8.13.8/8.13.8) with ESMTP id q9P8Dd4T000537; Thu, 25 Oct 2012 10:13:39 +0200
Received: from ADELE.crf.canon.fr ([::1]) by ADELE.crf.canon.fr ([::1]) with mapi id 14.02.0318.004; Thu, 25 Oct 2012 10:13:39 +0200
From: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
To: James M Snell <jasnell@gmail.com>, Mark Nottingham <mnot@mnot.net>
CC: Patrick McManus <pmcmanus@mozilla.com>, Roberto Peon <grmocg@gmail.com>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: HTTP Header Compaction Results
Thread-Index: Ac2wcgXit5LTd9P6QaaUL6UpBFu20ABJUngAAAhdJoAAEBKCgAAB6ySAAANzMQAAACgWgAAeN+vA
Date: Thu, 25 Oct 2012 08:13:38 +0000
Message-ID: <6C71876BDCCD01488E70A2399529D5E522F9BE@ADELE.crf.canon.fr>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net> <5087B413.1000801@treenet.co.nz> <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com> <CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com> <3ECAB5C9-E2A8-47DF-B4F5-2AEB1C4125C4@mnot.net> <CABP7Rbe4r2S_2LbeyqkihwEzPnb-TrmVf5HkjP+r+jb8dawJ+w@mail.gmail.com>
In-Reply-To: <CABP7Rbe4r2S_2LbeyqkihwEzPnb-TrmVf5HkjP+r+jb8dawJ+w@mail.gmail.com>
Accept-Language: en-US, fr-FR
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [172.20.5.239]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: none client-ip=194.2.158.67; envelope-from=Herve.Ruellan@crf.canon.fr; helo=inari-msr.crf.canon.fr
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.083, RP_MATCHES_RCVD=-0.736
X-W3C-Scan-Sig: lisa.w3.org 1TRIaA-0002be-GH 7fedf7a9e0729531342a6157aee5c97e
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/6C71876BDCCD01488E70A2399529D5E522F9BE@ADELE.crf.canon.fr>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15501
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>

PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKYW1lcyBNIFNuZWxsIFttYWls
dG86amFzbmVsbEBnbWFpbC5jb21dDQo+IFNlbnQ6IG1lcmNyZWRpIDI0IG9jdG9icmUgMjAxMiAy
MTo0NA0KPiBUbzogTWFyayBOb3R0aW5naGFtDQo+IENjOiBQYXRyaWNrIE1jTWFudXM7IFJvYmVy
dG8gUGVvbjsgQW1vcyBKZWZmcmllczsgaWV0Zi1odHRwLXdnQHczLm9yZw0KPiBTdWJqZWN0OiBS
ZTogSFRUUCBIZWFkZXIgQ29tcGFjdGlvbiBSZXN1bHRzDQo+IA0KPiANCj4gDQo+IA0KPiBPbiBX
ZWQsIE9jdCAyNCwgMjAxMiBhdCAxMjozOSBQTSwgTWFyayBOb3R0aW5naGFtIDxtbm90QG1ub3Qu
bmV0Pg0KPiB3cm90ZToNCj4gDQo+IA0KPiAJT24gMjUvMTAvMjAxMiwgYXQgNTowMCBBTSwgUGF0
cmljayBNY01hbnVzDQo+IDxwbWNtYW51c0Btb3ppbGxhLmNvbT4gd3JvdGU6DQo+IAk+DQo+IAk+
IGZvciByZWZlcmVuY2UgaHR0cHM6Ly9kZXZlbG9wZXIubW96aWxsYS5vcmcvZW4tDQo+IFVTL2Rv
Y3MvTlNTX0tleV9Mb2dfRm9ybWF0DQo+IA0KPiAJVGhhbmtzOyBJIGxvb2tlZCBmb3IgdGhhdCBi
ZWZvcmUsIGJ1dCBjb3VsZG4ndCBmaW5kIGl0LiBTaG91bGQgaGF2ZQ0KPiBhc2tlZC4NCj4gDQo+
IAlJIGFncmVlIHRoYXQgdGhlIGxvZ3Mgc2hvdWxkIGJlICdyYXcnOyB3ZSBjYW4gYWx3YXlzIHBv
c3QtcHJvY2VzcyAoYXMNCj4gbG9uZyBhcyB3ZSBkbyBpdCBpbiBhIHVuaWZvcm0gbWFubmVyIDop
DQo+IA0KPiAJSG93IHdvdWxkIHBlb3BsZSBwcmVmZXIgdG8gc3RvcmUgdGhlbT8gSSd2ZSBiZWVu
IHN0b3JpbmcgdGhlbSBhcw0KPiBqdXN0IHRleHQgZmlsZXMsIG9uZSBwZXIgZGlyZWN0aW9uIHBl
ciBzdHJlYW0gKGUuZy4sICJyZXNwb25zZSBoZWFkZXJzIG9uIHRoaXMNCj4gY29ubmVjdGlvbiB0
byAxLjIuMy40IiksIHdpdGggaGVhZGVyIGJsb2NrcyBkZWxpbWl0ZWQgYnkgYSBibGFuayBsaW5l
Lg0KPiBIb3dldmVyLCBJSVJDIHNvbWVvbmUgbWVudGlvbmVkIEhBUiBhcyB3ZWxsIC0tIGFueSBw
cmVmZXJlbmNlcz8NCj4gDQo+IA0KPiANCj4gDQo+IHRleHQgZmlsZXMgd291bGQgd29yayBqdXN0
IGZpbmUuDQoNCkkgYWdyZWUgdGhhdCB0ZXh0IGZpbGVzIGFyZSBPSy4NCg0KSEFSIGNvdWxkIGFs
c28gd29yaywgYnV0IGFyZSBzb21ld2hhdCBtb3JlIGNvbXBsZXggdG8gcHJvY2Vzcy4gTW9yZW92
ZXIgSSB0aGluayBpdCdzIGVhc2llciB0byB3cml0ZSBhIEhBUiB0byB0ZXh0IGZpbGVzIHRyYW5z
bGF0b3IgdGhhbiB0aGUgcmV2ZXJzZS4NCg0KSGVydsOpLg0KDQo+IC0gSmFtZXMNCj4gDQo+IA0K
PiAJQ2hlZXJzLA0KPiANCj4gDQo+IAktLQ0KPiAJTWFyayBOb3R0aW5naGFtICAgaHR0cDovL3d3
dy5tbm90Lm5ldC8NCj4gDQo+IA0KPiANCj4gDQo+IA0KPiANCg0K


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 02:55:34 2012
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 420BA21F899E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 02:55:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.566
X-Spam-Level: 
X-Spam-Status: No, score=-10.566 tagged_above=-999 required=5 tests=[AWL=0.033, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1na6WYzPZWLI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 02:55:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6FEDF21F899B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 02:55:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRK7P-0003VJ-C6 for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 09:52:51 +0000
Resent-Date: Thu, 25 Oct 2012 09:52:51 +0000
Resent-Message-Id: <E1TRK7P-0003VJ-C6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TRK7L-0003UC-PS for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 09:52:47 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TRK7K-0006cJ-Ik for ietf-http-wg@w3.org; Thu, 25 Oct 2012 09:52:47 +0000
Received: from [192.168.1.102] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 933421274C4 for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 22:52:20 +1300 (NZDT)
Message-ID: <50890BCC.2030600@treenet.co.nz>
Date: Thu, 25 Oct 2012 22:52:12 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net> <5087B413.1000801@treenet.co.nz> <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com> <CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com> <3ECAB5C9-E2A8-47DF-B4F5-2AEB1C4125C4@mnot.net> <CABP7Rbe4r2S_2LbeyqkihwEzPnb-TrmVf5HkjP+r+jb8dawJ+w@mail.gmail.com> <6C71876BDCCD01488E70A2399529D5E522F9BE@ADELE.crf.canon.fr>
In-Reply-To: <6C71876BDCCD01488E70A2399529D5E522F9BE@ADELE.crf.canon.fr>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRK7K-0006cJ-Ik 56c350fe741d9d1481136c2880ac9fa8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/50890BCC.2030600@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15502
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>

On 25/10/2012 9:13 p.m., RUELLAN Herve wrote:
>> -----Original Message-----
>> From: James M Snell [mailto:jasnell@gmail.com]
>> Sent: mercredi 24 octobre 2012 21:44
>> To: Mark Nottingham
>> Cc: Patrick McManus; Roberto Peon; Amos Jeffries; ietf-http-wg@w3.org
>> Subject: Re: HTTP Header Compaction Results
>>
>>
>>
>>
>> On Wed, Oct 24, 2012 at 12:39 PM, Mark Nottingham <mnot@mnot.net>
>> wrote:
>>
>>
>> 	On 25/10/2012, at 5:00 AM, Patrick McManus
>> <pmcmanus@mozilla.com> wrote:
>> 	>
>> 	> for reference https://developer.mozilla.org/en-
>> US/docs/NSS_Key_Log_Format
>>
>> 	Thanks; I looked for that before, but couldn't find it. Should have
>> asked.
>>
>> 	I agree that the logs should be 'raw'; we can always post-process (as
>> long as we do it in a uniform manner :)
>>
>> 	How would people prefer to store them? I've been storing them as
>> just text files, one per direction per stream (e.g., "response headers on this
>> connection to 1.2.3.4"), with header blocks delimited by a blank line.
>> However, IIRC someone mentioned HAR as well -- any preferences?
>>
>>
>>
>>
>> text files would work just fine.
> I agree that text files are OK.
>
> HAR could also work, but are somewhat more complex to process. Moreover I think it's easier to write a HAR to text files translator than the reverse.

Since the traffic is arriving in HTTP text format to produce a HAR file 
one needs to write such a translator and apply it on the data stream. 
Producing a .txt can be just a packet buffer dump.

Amos


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 03:05:05 2012
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 47EC721F89A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 03:05:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.637
X-Spam-Level: 
X-Spam-Status: No, score=-8.637 tagged_above=-999 required=5 tests=[AWL=1.962, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4QEyeUvhZ2Mg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 03:05:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AE09B21F89A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 03:05:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRKHJ-0000cZ-4B for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 10:03:05 +0000
Resent-Date: Thu, 25 Oct 2012 10:03:05 +0000
Resent-Message-Id: <E1TRKHJ-0000cZ-4B@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1TRKHE-0000bu-K3 for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 10:03:00 +0000
Received: from mailgw2.ericsson.se ([193.180.251.37]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1TRKHD-00070H-Dg for ietf-http-wg@w3.org; Thu, 25 Oct 2012 10:03:00 +0000
X-AuditID: c1b4fb25-b7f956d0000011c3-14-50890e3b814c
Received: from esessmw0237.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw2.ericsson.se (Symantec Mail Security) with SMTP id 56.BD.04547.B3E09805; Thu, 25 Oct 2012 12:02:36 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0237.eemea.ericsson.se (153.88.115.91) with Microsoft SMTP Server id 8.3.279.1; Thu, 25 Oct 2012 12:02:35 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3])	by mail.lmf.ericsson.se (Postfix) with ESMTP id 797142B0A	for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 13:02:35 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id CE8275383E	for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 13:02:34 +0300 (EEST)
Received: from n94.nomadiclab.com (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 8DC5553737	for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 13:02:34 +0300 (EEST)
Message-ID: <50890E3A.5050105@ericsson.com>
Date: Thu, 25 Oct 2012 13:02:34 +0300
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net> <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20121025072942.GD15587@1wt.eu>
In-Reply-To: <20121025072942.GD15587@1wt.eu>
Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrHLMWRmVeSWpSXmKPExsUyM+Jvra4NX2eAQdMpNovDLbOYHBg9js7b zxrAGMVlk5Kak1mWWqRvl8CV0d17gq3gs1zF7Icf2BsY90h0MXJySAiYSLy5PJMVwhaTuHBv PVsXIxeHkMApRon3538wQjgbGCXmPPwClbnKKPHy7goo5wSjxMzb31khnAOMEidedrOADOMV 0JbY/fcsG4jNIqAq0ThzBzOIzSZgJvH84RYwW1QgWWLehqvMEPWCEidnPgHrFREQl+i6v4MR xBYW0JPY8qGRHWLBQhaJvZNAmjk4OAV0JPY8lQapYRawlbgw5zoLhC0vsf3tHGaIh9Qkrp7b BGYLCWhJ9J7tZJrAKDILybpZSNpnIWlfwMi8ilE4NzEzJ73cSC+1KDO5uDg/T684dRMjMMwP bvmtuoPxzjmRQ4zSHCxK4rzWW/f4CwmkJ5akZqemFqQWxReV5qQWH2Jk4uCUamB0jZwpMonj nIPPDdlzG6QLXZzi5j3n6dxR/FL1wR/5/V7n7y1KWiMRJj77hIFldmn9k+lHPqf0HYvJlm6t 8yxj2RXXtc6u/Bv/9AwBDuVLr1flrBezOdvFueHqGc9Z+aon625F+cc3aBpppZzbEdb1rtog k/GNQH1xVpjfP1UxkcO/89w3yCqxFGckGmoxFxUnAgA2QXQsQQIAAA==
Received-SPF: pass client-ip=193.180.251.37; envelope-from=salvatore.loreto@ericsson.com; helo=mailgw2.ericsson.se
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-1.967, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRKHD-00070H-Dg f41cafb28f5537f9262b48c88d4f0b97
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/50890E3A.5050105@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15503
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>

On 10/25/12 10:29 AM, Willy Tarreau wrote:
> Hi Gabriel,
>
> On Thu, Oct 25, 2012 at 07:02:34AM +0000, Gabriel Montenegro wrote:
>>> On the other hand, the Upgrade-based negotiation is pessimistic; it assume
>>> that something will go wrong until we prove that both ends speak the same
>>> language. It'll be fast but have some limitations at the start (as discussed).
>> I've been thinking about this, and think we may be able to make it more optimistic after the first exchange.
>>
>> This is the scenario:
>> 1. client has no prior knowledge whether this server supports http2 on this port in the clear.
>> 2. client performs Upgrade (presumably, he'd be using NPN if over SSL)
>> 3. server sends 101 back.
>> 4. they now speak http2, and the client learns that this server speaks http2 at this port.
>> 5. time passes, and this http2 connection goes away.
>> 6. a subsequent message from client to server (without a pre-existing http2 connection) could bypass the Upgrade and send http2 frames directly.
>>
>> This would require the server to be able to detect if any given message is
>> either http 1.X or http 2. Given the binary framing of the latter, it seems
>> possible to figure out how to make this unambiguous at the server.
>>
>> Comments?
> This cannot work in environment where transparent protocol analysers and
> intercepting proxies are installed.
just to clarify
the bad is not with the intercepting proxies in general,
but only with the one that would expect a connection always starting 
with an Upgrade
However if we will standardize the possibility that an HTTP connection 
can start directly
from HTTP/2.0 then the intercepting proxy should not stop it
and then the Gabriel proposal may or may not work for other reasons...


> The first success only means one thing,
> which is that the scenario used along the whole path works, it does not
> preclude that changing the opening handshake would too woke. Two examples :
>
> - in March I informed the hybi WG that I got a report from a user that
>    Trend Micro's OfficeScan installed on his machine was blocking WS
>    upgrades because it was analysing exchanges between the browser and
>    the outer world and did not like 101 responses. When this program
>    is eventually fixed, it will still inspect contents and expect HTTP
>    to be spoken there, which would not be the case on the second handshake ;
>
> - I was aware of an ISP combining haproxy + squid to save on bandwidth costs.
>    The principle was very simple, haproxy was set up as an intercepting proxy
>    at the border, and balanced the load across a squid farm. Haproxy was
>    configured to bypass squid for websocket since there was no added value
>    in solliciting the caches for this. Haproxy doesn't understand websocket,
>    it only understands HTTP/1.1 and its associated Upgrade mechanism. If you
>    start sending non-HTTP/1.1 frames at it while it expects HTTP, you can be
>    sure to get a 400/badreq quickly in return (at least once the protocols
>    diverge).
that is WebSocket specific that only specifies and mandate the HTTP/1.1 
Upgrade handshake
so the Haproxy is acting correctly (and I had no doubt about it).

>
> So what we learn from the first successful connection is that we should
> continue to use the same mechanism.
>
> However I think we should experiment with the same principle as pipelining, ie
> when a handshake has worked once, we can probably start sending HTTP/2 frames
> after the initial client handshake without waiting for a response since we know
> that the whole path supports the Upgrade well.
that would work in a desktop,
but if you are using a mobile scenario you can not be so sure that whole 
path is going
to be use is exactly the old path that supported the Upgrade well.
or I am missing something here?

br
/Salvatore

-- 
Salvatore Loreto, PhD
www.sloreto.com





From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 03:07:11 2012
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 DCE5121F89A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 03:07:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.457
X-Spam-Level: 
X-Spam-Status: No, score=-8.457 tagged_above=-999 required=5 tests=[AWL=2.142, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 65i45Xswesyy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 03:07:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E739421F89A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 03:07:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRKKU-0002W1-Bi for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 10:06:22 +0000
Resent-Date: Thu, 25 Oct 2012 10:06:22 +0000
Resent-Message-Id: <E1TRKKU-0002W1-Bi@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TRKKP-0002VD-Uy for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 10:06:17 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TRKKO-00079h-T7 for ietf-http-wg@w3.org; Thu, 25 Oct 2012 10:06:17 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 8402C22DD6D; Thu, 25 Oct 2012 06:05:53 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <50890BCC.2030600@treenet.co.nz>
Date: Thu, 25 Oct 2012 21:05:55 +1100
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <163BECE9-5B27-46D3-A43C-B448421E84A1@mnot.net>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net> <5087B413.1000801@treenet.co.nz> <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com> <CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com> <3ECAB5C9-E2A8-47DF-B4F5-2AEB1C4125C4@mnot.net> <CABP7Rbe4r2S_2LbeyqkihwEzPnb-TrmVf5HkjP+r+jb8dawJ+w@mail.gmail.com> <6C71876BDCCD01488E70A2399529D5E522F9BE@ADELE.crf.canon.fr> <50890BCC.2030600@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-3.117, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRKKO-00079h-T7 887c9e0742f97f4c8bbb8bb332030f08
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/163BECE9-5B27-46D3-A43C-B448421E84A1@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15504
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>

The only thing that gives me pause about using plain text is that if we =
want to combine streams to the same server to simulate multiplexing, we =
may want to apply a time-based heuristic to do so, meaning we'll need =
some metadata.

Date is in responses, but not requests; I *guess* we could infer it from =
the paired responses, but then there's clock skew, etc.

Just a thought; I'm happy with text if that doesn't worry anyone else.

Cheers,


On 25/10/2012, at 8:52 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 25/10/2012 9:13 p.m., RUELLAN Herve wrote:
>>> -----Original Message-----
>>> From: James M Snell [mailto:jasnell@gmail.com]
>>> Sent: mercredi 24 octobre 2012 21:44
>>> To: Mark Nottingham
>>> Cc: Patrick McManus; Roberto Peon; Amos Jeffries; =
ietf-http-wg@w3.org
>>> Subject: Re: HTTP Header Compaction Results
>>>=20
>>>=20
>>>=20
>>>=20
>>> On Wed, Oct 24, 2012 at 12:39 PM, Mark Nottingham <mnot@mnot.net>
>>> wrote:
>>>=20
>>>=20
>>> 	On 25/10/2012, at 5:00 AM, Patrick McManus
>>> <pmcmanus@mozilla.com> wrote:
>>> 	>
>>> 	> for reference https://developer.mozilla.org/en-
>>> US/docs/NSS_Key_Log_Format
>>>=20
>>> 	Thanks; I looked for that before, but couldn't find it. Should =
have
>>> asked.
>>>=20
>>> 	I agree that the logs should be 'raw'; we can always =
post-process (as
>>> long as we do it in a uniform manner :)
>>>=20
>>> 	How would people prefer to store them? I've been storing them as
>>> just text files, one per direction per stream (e.g., "response =
headers on this
>>> connection to 1.2.3.4"), with header blocks delimited by a blank =
line.
>>> However, IIRC someone mentioned HAR as well -- any preferences?
>>>=20
>>>=20
>>>=20
>>>=20
>>> text files would work just fine.
>> I agree that text files are OK.
>>=20
>> HAR could also work, but are somewhat more complex to process. =
Moreover I think it's easier to write a HAR to text files translator =
than the reverse.
>=20
> Since the traffic is arriving in HTTP text format to produce a HAR =
file one needs to write such a translator and apply it on the data =
stream. Producing a .txt can be just a packet buffer dump.
>=20
> Amos
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 03:47:29 2012
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 11CCD21F89A9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 03:47:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.225
X-Spam-Level: 
X-Spam-Status: No, score=-9.225 tagged_above=-999 required=5 tests=[AWL=1.374, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YbbB1Pd2afrZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 03:47:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 454E621F8847 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 03:47: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 1TRKwF-000724-3V for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 10:45:23 +0000
Resent-Date: Thu, 25 Oct 2012 10:45:23 +0000
Resent-Message-Id: <E1TRKwF-000724-3V@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRKw7-00071L-Jc for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 10:45:15 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRKw2-0002SH-FG for ietf-http-wg@w3.org; Thu, 25 Oct 2012 10:45:15 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9PAijPd016687; Thu, 25 Oct 2012 12:44:45 +0200
Date: Thu, 25 Oct 2012 12:44:45 +0200
From: Willy Tarreau <w@1wt.eu>
To: Salvatore Loreto <salvatore.loreto@ericsson.com>
Cc: ietf-http-wg@w3.org
Message-ID: <20121025104445.GE16195@1wt.eu>
References: <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net> <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <20121025072942.GD15587@1wt.eu> <50890E3A.5050105@ericsson.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <50890E3A.5050105@ericsson.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.692, RP_MATCHES_RCVD=-0.736, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRKw2-0002SH-FG c5259118288207ce1b4e68f68ce7f2f2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/20121025104445.GE16195@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15505
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>

Hi Sal,

On Thu, Oct 25, 2012 at 01:02:34PM +0300, Salvatore Loreto wrote:
> >>This is the scenario:
> >>1. client has no prior knowledge whether this server supports http2 on 
> >>this port in the clear.
> >>2. client performs Upgrade (presumably, he'd be using NPN if over SSL)
> >>3. server sends 101 back.
> >>4. they now speak http2, and the client learns that this server speaks 
> >>http2 at this port.
> >>5. time passes, and this http2 connection goes away.
> >>6. a subsequent message from client to server (without a pre-existing 
> >>http2 connection) could bypass the Upgrade and send http2 frames directly.
> >>
> >>This would require the server to be able to detect if any given message is
> >>either http 1.X or http 2. Given the binary framing of the latter, it 
> >>seems
> >>possible to figure out how to make this unambiguous at the server.
> >>
> >>Comments?
> >This cannot work in environment where transparent protocol analysers and
> >intercepting proxies are installed.
> just to clarify
> the bad is not with the intercepting proxies in general,
> but only with the one that would expect a connection always starting 
> with an Upgrade
> However if we will standardize the possibility that an HTTP connection 
> can start directly
> from HTTP/2.0 then the intercepting proxy should not stop it
> and then the Gabriel proposal may or may not work for other reasons...

HTTP/1.1 intercepting proxies will block if there is no HTTP/1.1 header
prepended to the request. That's the point I'm making. And as I said in
an earlier mail, I don't really see the point in trying to optimize for
a handshake-less 2.0 connection over plain text since we already have
this possibility with TLS NPN. So I'd suggest that for clear text we
always have the Upgrade handshake prefix to remain compatible with the
HTTP/1.1 infrastructure in place, we could possibly optimize the handhsake
so that the client does not wait for the server's response once it knows
the path supports it, and for usages where we want to get rid of the
Upgrade handshake, then we use TLS where the equivalent of the Upgrade
handshake may be performed by the NPN extension.

> >- I was aware of an ISP combining haproxy + squid to save on bandwidth 
> >costs.
> >   The principle was very simple, haproxy was set up as an intercepting 
> >   proxy
> >   at the border, and balanced the load across a squid farm. Haproxy was
> >   configured to bypass squid for websocket since there was no added value
> >   in solliciting the caches for this. Haproxy doesn't understand 
> >   websocket,
> >   it only understands HTTP/1.1 and its associated Upgrade mechanism. If 
> >   you
> >   start sending non-HTTP/1.1 frames at it while it expects HTTP, you can 
> >   be
> >   sure to get a 400/badreq quickly in return (at least once the protocols
> >   diverge).
> that is WebSocket specific that only specifies and mandate the HTTP/1.1 
> Upgrade handshake
> so the Haproxy is acting correctly (and I had no doubt about it).

It's not specific, websocket uses the standard HTTP/1.1 Upgrade handshake,
precisely to be compatible with deployed components. And it works when
components comply with the standard. And for the same reason we cannot
decide to send raw WS frames over port 80 to a server which is known to
support WS, we cannot send raw HTTP/2 frames to a server which is known
to support HTTP/2, precisely because all we know is that intermediaries
are 1.1 compliant but not necessarily 2.0 compliant.

> >However I think we should experiment with the same principle as 
> >pipelining, ie
> >when a handshake has worked once, we can probably start sending HTTP/2 
> >frames
> >after the initial client handshake without waiting for a response since we 
> >know
> >that the whole path supports the Upgrade well.
> that would work in a desktop,
> but if you are using a mobile scenario you can not be so sure that whole 
> path is going
> to be use is exactly the old path that supported the Upgrade well.
> or I am missing something here?

That's the point I was making about the risk of changing the connection
method between the first and subsequent connections :-) If you reuse the
same mechanism for all connections, you have much less risk of failure
than if you change. I think we're saying the same thing in fact :-)

Cheers,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 03:50:51 2012
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 5DBCA21F8991 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 03:50:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.488
X-Spam-Level: 
X-Spam-Status: No, score=-6.488 tagged_above=-999 required=5 tests=[AWL=3.488, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BgNxM6DZTkeD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 03:50:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6FDA721F889E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 03:50:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRL0w-0000Jk-OM for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 10:50:14 +0000
Resent-Date: Thu, 25 Oct 2012 10:50:14 +0000
Resent-Message-Id: <E1TRL0w-0000Jk-OM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <tyoshino@google.com>) id 1TRL0s-0000J3-5F for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 10:50:10 +0000
Received: from mail-ia0-f171.google.com ([209.85.210.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tyoshino@google.com>) id 1TRL0r-0000pY-5i for ietf-http-wg@w3.org; Thu, 25 Oct 2012 10:50:10 +0000
Received: by mail-ia0-f171.google.com with SMTP id u21so1212882ial.2 for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 03:49:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record; bh=NRutcVF8PI2V6FLmFDGPigWAwKlqKrPcv5TMezMQYqE=; b=Z0stUTu1+empdLAfhkLL6clOPNZ3QFkHVEB4v72rJn183rgyf1OC88rB6IcvZWO77y 0cRsaLQEaTSob5uq7mO1iZBcqG6j8h8F0RQBiV+0fHYfY6JO3FhEOugEti1RHuSNy7N1 iXEdpMu4int27ZX2WB7VVlrUxwglBn1l7VKQ9wSj9naejFlxLZS88dhaefeaLni19wgV y1LSx9uP6oJWYi5nTcGdhS/Bf0jxUS1a/3UGDrOPdLfzsJpyCMjCSthvGkI/wpiyj2RY LQgkpiEJD9nVcHvOjWLzLfP6JyXBJN4AI/Ax+vTYjgjy5PRGdckqFMkdrknhEZp8Eq6q rX/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-system-of-record:x-gm-message-state; bh=NRutcVF8PI2V6FLmFDGPigWAwKlqKrPcv5TMezMQYqE=; b=VnQsVFGI+RA/mWi2GmIiq+ocaw9YBBoGPEME436Gk2O6+3X70eki39oQEZIsLIY6pC 0X3VqLN6NVAI5EUDAEZXg/6gzJ5Zfq+1M9+DDCfxk/8Fkp87eIb4fbJWH2hirSgM3VBn QEY0OM1nYTm05yA2T2QLvqalSTAqy/+I7398/1rdEcEbUlguE+Or6ZYgGN+LyxtEPcfm oNbLNXS8RdsjV8vV08Qp8qNVMjN6sqTn9kPR/NaEczy27pS06XKmZTGjGkzZxC5yynSX pdUu5hYch07eVgcA0MC+wW21KyuvouOcnlt2ZYMyRmyZe+PwynTU6nfUs8e3lFP7jtkG CmyQ==
Received: by 10.50.183.199 with SMTP id eo7mr5545178igc.36.1351162182948; Thu, 25 Oct 2012 03:49:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.231.240.7 with HTTP; Thu, 25 Oct 2012 03:49:22 -0700 (PDT)
In-Reply-To: <7505240D-EEA1-4AB2-AE7E-12D3D9153697@mnot.net>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CAA4WUYjBv0GAtFGONt1AxX7_gxFg1OKynrt3a-Dx0QacJxr=UA@mail.gmail.com> <D50A6AF2-356F-4BDF-9DCF-3916F8AA2345@mnot.net> <CAA4WUYjQHpnFear2Ptya7nxdz4atgqNrQw=swGn=Gu7HLvk-AQ@mail.gmail.com> <8AF3AFC2-8642-43F7-8472-FAAB1FD28827@mnot.net> <CAA4WUYj+yjt1KX9ZBJcooE_82+VKx2G-Ww1HiocY7RzBy5=Z6g@mail.gmail.com> <7505240D-EEA1-4AB2-AE7E-12D3D9153697@mnot.net>
From: Takeshi Yoshino <tyoshino@google.com>
Date: Thu, 25 Oct 2012 19:49:22 +0900
Message-ID: <CAH9hSJb30SKaU+aCUeXCQ7D-nnkmbMZYY+G1HeevVmWiYWFDfA@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>,  "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=14dae934042df2d6af04ccdff55f
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQnjT3rfuTvLNLwFITUfc3Vd6JldA8z0ZDbduQUH9lVrIBJhm5IYZb/+TzEN+eLwe0s+pyx357BPu7mZZYYeMWkh5ZGfoAPgovK9NNNMOVNuC/9Azgehus0Ya8ZpS69I4AqyLCDCvGKYck8z8b0ad/hvHo89KoIZ11A9mFBrrrVMiPZfeJCQonKB73/ZncGEjoKKmAU0
Received-SPF: pass client-ip=209.85.210.171; envelope-from=tyoshino@google.com; helo=mail-ia0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: AWL=-1.000, 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=-0.736, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRL0r-0000pY-5i 4af9995e5201bc32ec19a49e64fde3dd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAH9hSJb30SKaU+aCUeXCQ7D-nnkmbMZYY+G1HeevVmWiYWFDfA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15506
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>

--14dae934042df2d6af04ccdff55f
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 25, 2012 at 12:33 PM, Mark Nottingham <mnot@mnot.net> wrote:

>
> On 25/10/2012, at 6:10 AM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) <wi=
llchan@chromium.org>
> wrote:
> >
> > Could you dig up the exact bytes-on-the-wire handshake that was used?
> >
> > Er, I'm not an expert here, but here's the experiment
> http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/net/websoc=
ket_experiment/websocket_experiment_runner.cc?view=3Dmarkup&pathrev=3D63020=
and the handshake code (
> http://src.chromium.org/viewvc/chrome/trunk/src/net/websockets/websocket_=
handshake.cc?view=3Dmarkup&pathrev=3D63020
> ).
>
> That's helpful, thanks.
>
>
This experiment was done by using very old WebSocket protocol. Hixie 75 or
prior. Take a look at this section to see what's sent/received
http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-75#section-1.2i=
n
handshake stage. The files Will pointed contains code for newer
protocol, but older one was used to get the stats that agl@ posted to
tls@ietf.

In the experiment, Chrome did

- Send basic HTTP request
- Receive basic HTTP response

to check that the port is not blocked for normal HTTP (this is baseline).
If it's successful, it then did

- Send WebSocket handshake (HTTP Upgrade)
- Receive WebSocket handshake response
- Send "0x00 Hello 0xff" over the Web Socket
- Receive "0x00 Hello 0xff" over the Web Socket
- Wait for 1 sec (making the connection idle) to see the idle connection is
not closed immediately by anyone
- Wait for a server push message and verify (expected message is "0x00 This
message must be echoed back to the
server.\n=E3=81=93=E3=81=AE=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC=E3=82=B8=E3=
=81=8C=E3=82=B5=E3=83=BC=E3=83=90=E3=81=AB=E3=82=A8=E3=82=B3=E3=83=BC=E3=83=
=90=E3=83=83=E3=82=AF=E3=81=95=E3=82=8C=E3=81=AA=E3=81=91=E3=82=8C=E3=81=B0=
=E3=81=AA=E3=82=8A=E3=81=BE=E3=81=9B=E3=82=93=E3=80=82\n 0xff") (the same s=
entence in
English and Japanese (to check UTF-8 encoded string is transferred
correctly))
- Echo back the message to the server
- Wait for "0x00 B y e 0xff"
- Close

If all of these steps are done without any error, the experiment session
was considered to be successful. agl@'s post listed the ratio (WebSocket
success) / (HTTP success).

Thanks

--14dae934042df2d6af04ccdff55f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 25, 2012 at 12:33 PM, Mark Nottingham <span dir=3D"ltr">&lt;<a =
href=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</span=
> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class=3D"im"><br>
On 25/10/2012, at 6:10 AM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) &lt;<=
a href=3D"mailto:willchan@chromium.org">willchan@chromium.org</a>&gt; wrote=
:<br>
&gt;<br>
&gt; Could you dig up the exact bytes-on-the-wire handshake that was used?<=
br>
&gt;<br>
&gt; Er, I&#39;m not an expert here, but here&#39;s the experiment <a href=
=3D"http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/net/webs=
ocket_experiment/websocket_experiment_runner.cc?view=3Dmarkup&amp;pathrev=
=3D63020" target=3D"_blank">http://src.chromium.org/viewvc/chrome/trunk/src=
/chrome/browser/net/websocket_experiment/websocket_experiment_runner.cc?vie=
w=3Dmarkup&amp;pathrev=3D63020</a> and the handshake code (<a href=3D"http:=
//src.chromium.org/viewvc/chrome/trunk/src/net/websockets/websocket_handsha=
ke.cc?view=3Dmarkup&amp;pathrev=3D63020" target=3D"_blank">http://src.chrom=
ium.org/viewvc/chrome/trunk/src/net/websockets/websocket_handshake.cc?view=
=3Dmarkup&amp;pathrev=3D63020</a>).<br>


<br>
</div>That&#39;s helpful, thanks.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
</div></div></blockquote></div><br><div>This experiment was done by using v=
ery old WebSocket protocol. Hixie 75 or prior. Take a look at this section =
to see what&#39;s sent/received=C2=A0<a href=3D"http://tools.ietf.org/html/=
draft-hixie-thewebsocketprotocol-75#section-1.2">http://tools.ietf.org/html=
/draft-hixie-thewebsocketprotocol-75#section-1.2</a> in handshake stage. Th=
e files Will pointed contains code for newer protocol, but older one was us=
ed to get the stats that agl@ posted to tls@ietf.</div>

<div><br></div><div>In the experiment, Chrome did</div><div><br></div><div>=
<div>- Send basic HTTP request</div><div>- Receive basic HTTP response</div=
><div><br></div><div>to check that the port is not blocked for normal HTTP =
(this is baseline). If it&#39;s successful, it then did</div>

<div><br></div><div>- Send WebSocket handshake (HTTP Upgrade)</div><div>- R=
eceive WebSocket handshake response</div><div>- Send &quot;0x00 Hello 0xff&=
quot; over the Web Socket</div><div>- Receive &quot;0x00 Hello 0xff&quot; o=
ver the Web Socket</div>

<div>- Wait for 1 sec (making the connection idle) to see the idle connecti=
on is not closed immediately by anyone</div><div>- Wait for a server push m=
essage and verify (expected message is &quot;0x00 This message must be echo=
ed back to the server.\n=E3=81=93=E3=81=AE=E3=83=A1=E3=83=83=E3=82=BB=E3=83=
=BC=E3=82=B8=E3=81=8C=E3=82=B5=E3=83=BC=E3=83=90=E3=81=AB=E3=82=A8=E3=82=B3=
=E3=83=BC=E3=83=90=E3=83=83=E3=82=AF=E3=81=95=E3=82=8C=E3=81=AA=E3=81=91=E3=
=82=8C=E3=81=B0=E3=81=AA=E3=82=8A=E3=81=BE=E3=81=9B=E3=82=93=E3=80=82\n 0xf=
f&quot;) (the same sentence in English and Japanese (to check UTF-8 encoded=
 string is transferred correctly))</div>

<div>- Echo back the message to the server</div><div>- Wait for &quot;0x00 =
B y e 0xff&quot;</div><div>- Close</div></div><div><br></div><div>If all of=
 these steps are done without any error, the experiment session was conside=
red to be successful. agl@&#39;s post listed the ratio (WebSocket success) =
/ (HTTP success).</div>

<div><br></div><div>Thanks</div>

--14dae934042df2d6af04ccdff55f--


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 03:51:01 2012
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 9CE1121F8991 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 03:50:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xSltHTAEbGen for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 03:50:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3AE9021F889E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 03:50:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRL19-0000NS-D4 for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 10:50:27 +0000
Resent-Date: Thu, 25 Oct 2012 10:50:27 +0000
Resent-Message-Id: <E1TRL19-0000NS-D4@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <slink@schokola.de>) id 1TRL16-0000Kr-8r for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 10:50:24 +0000
Received: from smtp.mcs.de ([212.1.60.21]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <slink@schokola.de>) id 1TRL15-0002d5-AR for ietf-http-wg@w3.org; Thu, 25 Oct 2012 10:50:24 +0000
Received: from pd9e793cf.dip0.t-ipconnect.de ([217.231.147.207]:61040 helo=[192.168.2.9]) by smtp.mcs.de with esmtpa (Exim 4.76) (envelope-from <slink@schokola.de>) id 1TRL0i-00025m-AJ; Thu, 25 Oct 2012 12:50:00 +0200
Message-ID: <50891957.9070708@schokola.de>
Date: Thu, 25 Oct 2012 12:49:59 +0200
From: Nils Goroll <slink@schokola.de>
User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:10.0.2) Gecko/20120217 Thunderbird/10.0.2
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: ietf-http-wg@w3.org
References: <50800A50.2050207@schokola.de> <A676CFB6-224E-4BB7-9C7B-115A20BAFC53@mnot.net> <5086FCE2.2090708@schokola.de> <B0D66A8B-8D99-440B-B53C-3177B112322A@mnot.net> <5087CEE5.1020207@schokola.de> <59237B14-07B7-4BE1-A338-65A6C5C76C16@mnot.net>
In-Reply-To: <59237B14-07B7-4BE1-A338-65A6C5C76C16@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=212.1.60.21; envelope-from=slink@schokola.de; helo=smtp.mcs.de
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1TRL15-0002d5-AR e9d9361f8b2fee597914d83febd5abe0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC issue: (minor?) scope of client/server attributes (specifically:  downgrades) in p1
Archived-At: <http://www.w3.org/mid/50891957.9070708@schokola.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15507
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>

Hi Mark,

On 10/25/12 01:56 AM, Mark Nottingham wrote:
> No - HTTP/1.0 is backwards-compatible with 1.1. There is not interoperability problem, because it still works.

sorry, now you've lost me. The whole point of the downgrades is corner case 
handling, iiuc.

 > --- 8< ---
 > 2.6. Protocol Versioning
 > [...]
 > An HTTP client MAY send a lower request version if it is known that
 > the server incorrectly implements the HTTP specification, but only
 > after the client has attempted at least one normal request and
 > determined from the response status or header fields (e.g., Server)
 > that the server improperly handles higher request versions.
 > --- 8< ---

At any rate, I don't have any personal interest in this topic, so I'm fine with 
leaving it as it is. But I still believe that it would be a good idea to define 
the scope for downgrades as for upgrades.

Thank you, Nils


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 04:39:48 2012
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 8592421F895B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 04:39:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9OPg5n5AifjB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 04:39:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 779B321F879E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 04:39:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRLkf-0004h2-RY for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 11:37:29 +0000
Resent-Date: Thu, 25 Oct 2012 11:37:29 +0000
Resent-Message-Id: <E1TRLkf-0004h2-RY@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1TRLkc-0004gI-69 for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 11:37:26 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1TRLka-0002T1-QJ for ietf-http-wg@w3.org; Thu, 25 Oct 2012 11:37:26 +0000
Received: from riaa (oslo.jvpn.opera.com [213.236.208.46]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q9PBatMF023186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 25 Oct 2012 11:36:56 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "Roberto Peon" <grmocg@gmail.com>
Cc: ietf-http-wg@w3.org
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <CAKe6YvO0AOUQO7PS=zHqfKLH8=Omzh9SV1K6-_DH+Pjupp2QsA@mail.gmail.com> <op.wmmf9fewiw9drz@uranium.saslounge> <CAP+FsNfn2d1zCAPrDd=Wp2+cF448A=_MW9RzS1kP_iAP0rMPAw@mail.gmail.com>
Date: Thu, 25 Oct 2012 13:36:54 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wmqfvsbliw9drz@riaa>
In-Reply-To: <CAP+FsNfn2d1zCAPrDd=Wp2+cF448A=_MW9RzS1kP_iAP0rMPAw@mail.gmail.com>
User-Agent: Opera Mail/12.02 (Linux)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.736, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRLka-0002T1-QJ 1f8845b95d805b4b12655275d4e8abcb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/op.wmqfvsbliw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15508
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>

On Tue, 23 Oct 2012 17:29:28 +0200, Roberto Peon <grmocg@gmail.com> wrote:

> What Martin said... with special emphasis on the difficulty of sanitizing
> the headers. :)
>

One way that perhaps is possible is to split the request headers into  
three groups, user agent-specific (accept, host, user-agent etc),  
network-specific (x-up-calling-line-id, x-msisdn etc) and site-specific  
(cookie). Processing of captured data can then generate rules for how to  
generate the headers for each set (Nokia5130c-2 device, AT&T no privilege  
network, Google search logged in repeat visit).

And immediately I realized that there are cross over issues, like the  
cookie header both being a site specific header, with user-agent specific  
formatting, as well as possibly added by the network equipment for  
specific destinations...

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 06:04:09 2012
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 B0FA821F86C8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:04:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FvzaTqzim0rR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:04:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8401A21F8698 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 06:04:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRN46-00010x-8b for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 13:01:38 +0000
Resent-Date: Thu, 25 Oct 2012 13:01:38 +0000
Resent-Message-Id: <E1TRN46-00010x-8b@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TRN40-00010I-6S for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 13:01:32 +0000
Received: from mail-oa0-f43.google.com ([209.85.219.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TRN3v-0005fg-7u for ietf-http-wg@w3.org; Thu, 25 Oct 2012 13:01:32 +0000
Received: by mail-oa0-f43.google.com with SMTP id k1so1623215oag.2 for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 06:01:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=Ivnis7Hqy79t3YuGyhcqjD6Zquqfuz06tG9owLje8cg=; b=xnYv270Mwqs8mSdvc5KSoy3dxMba8uB9GvHt7Tx16Ur8QqTr0q3f8KDdNiY/wNisAT 8WCa6T7DBSP2pVTUPiBEd7IA4jj0J+Nqn9BcJuPq6sZFvhi8izTUqnd4Mo9RqjyqNe6u Phdu9VIwhbtSgFZp3sRbgwgVI4sUiDUxmhPGC1e9rdLFuadbPtnRowjDaaEVzlvzcbzP I46fzqmSHHVazTr9nwQL+aHQR4cnXZyGbMu4ZZUvP8pScW0mGgs6NdXUxZFqdhdxGVtG Z6lP85wV0hkSgOyPFgBfLb2dLIo/ZBQFlCEI+PHQzKQnmxKyY3zYHGVBTgiuncXyj7Zx qVUg==
MIME-Version: 1.0
Received: by 10.182.38.101 with SMTP id f5mr15790585obk.80.1351170061260; Thu, 25 Oct 2012 06:01:01 -0700 (PDT)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.116.67 with HTTP; Thu, 25 Oct 2012 06:01:01 -0700 (PDT)
In-Reply-To: <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net> <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com>
Date: Thu, 25 Oct 2012 09:01:01 -0400
X-Google-Sender-Auth: PAsO8sj2HQcgslD7ZWC-a6lpI9o
Message-ID: <CAOdDvNoaseeuR-cg5PP5CowXB_Cgqg1ORgAwgx1bZoZcyiNRmg@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Cc: Mark Nottingham <mnot@mnot.net>, Willy Tarreau <w@1wt.eu>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d044630088856b104cce1cbdf
Received-SPF: pass client-ip=209.85.219.43; envelope-from=patrick.ducksong@gmail.com; helo=mail-oa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.711, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRN3v-0005fg-7u 93f6f2196110d9f9050a6e43185fcd84
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAOdDvNoaseeuR-cg5PP5CowXB_Cgqg1ORgAwgx1bZoZcyiNRmg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15509
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>

--f46d044630088856b104cce1cbdf
Content-Type: text/plain; charset=ISO-8859-1

I know this has been said before by the Chrome team, but I too am starting
to see websocket bugs pile up due to transparent proxies that don't speak
upgrade and explicit proxies that don't let you tunnel to port 80 as
configured. (bluecoat and MS ISA/TMG are the most common I hear about).
ws:// hasn't been very successful in those environments but wss:// has
been. Good thing that in the websockets world there aren't a lot of legacy
urls to worry about - not true for http :(

For http2, I don't think it is enough to just fail fast to http/1 when for
most cases we could get those users speaking HTTP/2 over tls on 443. A
mechanism like Alternate-Protocol accomplishes that and I think that is a
more important property than upgrading in band (which is admittedly nice!).

As for caching successful upgrades or successful A-P's they pretty much
have the same set of tradeoffs.

-P

On Thu, Oct 25, 2012 at 3:02 AM, Gabriel Montenegro <
Gabriel.Montenegro@microsoft.com> wrote:

> > On the other hand, the Upgrade-based negotiation is pessimistic; it
> assume
> > that something will go wrong until we prove that both ends speak the same
> > language. It'll be fast but have some limitations at the start (as
> discussed).
>
> I've been thinking about this, and think we may be able to make it more
> optimistic after the first exchange.
>
> This is the scenario:
> 1. client has no prior knowledge whether this server supports http2 on
> this port in the clear.
> 2. client performs Upgrade (presumably, he'd be using NPN if over SSL)
> 3. server sends 101 back.
> 4. they now speak http2, and the client learns that this server speaks
> http2 at this port.
> 5. time passes, and this http2 connection goes away.
> 6. a subsequent message from client to server (without a pre-existing
> http2 connection) could bypass the Upgrade and send http2 frames directly.
>
> This would require the server to be able to detect if any given message is
> either http 1.X or http 2. Given the binary framing of the latter, it seems
> possible to figure out how to make this unambiguous at the server.
>
> Comments?
>
> Gabriel
>
>

--f46d044630088856b104cce1cbdf
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I know this has been said before by the Chrome team, but I too am starting =
to see websocket bugs pile up due to transparent proxies that don&#39;t spe=
ak upgrade and explicit proxies that don&#39;t let you tunnel to port 80 as=
 configured. (bluecoat and MS ISA/TMG are the most common I hear about). ws=
:// hasn&#39;t been very successful in those environments but wss:// has be=
en. Good thing that in the websockets world there aren&#39;t a lot of legac=
y urls to worry about - not true for http :(<br>
<br>For http2, I don&#39;t think it is enough to just fail fast to http/1 w=
hen for most cases we could get those users speaking HTTP/2 over tls on 443=
. A mechanism like Alternate-Protocol accomplishes that and I think that is=
 a more important property than upgrading in band (which is admittedly nice=
!).<br>
<br>As for caching successful upgrades or successful A-P&#39;s they pretty =
much have the same set of tradeoffs.<br><br>-P<br><br><div class=3D"gmail_q=
uote">On Thu, Oct 25, 2012 at 3:02 AM, Gabriel Montenegro <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:Gabriel.Montenegro@microsoft.com" target=3D"_blank">=
Gabriel.Montenegro@microsoft.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">&gt; On the other hand, the Upgrade-based ne=
gotiation is pessimistic; it assume<br>
&gt; that something will go wrong until we prove that both ends speak the s=
ame<br>
&gt; language. It&#39;ll be fast but have some limitations at the start (as=
 discussed).<br>
<br>
I&#39;ve been thinking about this, and think we may be able to make it more=
 optimistic after the first exchange.<br>
<br>
This is the scenario:<br>
1. client has no prior knowledge whether this server supports http2 on this=
 port in the clear.<br>
2. client performs Upgrade (presumably, he&#39;d be using NPN if over SSL)<=
br>
3. server sends 101 back.<br>
4. they now speak http2, and the client learns that this server speaks http=
2 at this port.<br>
5. time passes, and this http2 connection goes away.<br>
6. a subsequent message from client to server (without a pre-existing http2=
 connection) could bypass the Upgrade and send http2 frames directly.<br>
<br>
This would require the server to be able to detect if any given message is =
either http 1.X or http 2. Given the binary framing of the latter, it seems=
 possible to figure out how to make this unambiguous at the server.<br>

<br>
Comments?<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Gabriel<br>
<br>
</font></span></blockquote></div><br>

--f46d044630088856b104cce1cbdf--


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 06:05:50 2012
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 48A6821F89D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:05:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nKSoG1Y6ZC87 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:05:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 84CF921F8869 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 06:05:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRN76-0001GP-If for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 13:04:44 +0000
Resent-Date: Thu, 25 Oct 2012 13:04:44 +0000
Resent-Message-Id: <E1TRN76-0001GP-If@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TRN6y-0001FW-K2 for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 13:04:36 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TRN6t-0005m6-L4 for ietf-http-wg@w3.org; Thu, 25 Oct 2012 13:04:36 +0000
Received: by mail-ob0-f171.google.com with SMTP id 16so1605326obc.2 for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 06:04:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=oWo78sBYG1MXgw+Mly9azM91vcs3jd1Y2gw2o8ooiGY=; b=Q0J8ELqfWNtl56n5P9tNJnA6D6sENsVYbUI/1Hn0nEA5sDL7ypgDEqwIsCPvASQPtT B4fFNxpJ8Ni4HR+FSr+CTekmziornoAZQI1kFmxsAwPKNOPOL/7LR8+ThREzIBsGQenF 9gChb0adQhXWuSPET3sHuYQR3WmhQpGJhkBhjvRDHUe7HrwH88O1EZ42UfwbK8kbu898 2aDrCQbmsAbEUdMh8JcOGc3lNLDV9pzGl/lo18tZ4KvIfB8j89bJzWHZP0f6ZBqWX+J4 6hCD27cOiUN/eqpR5NjJHUEWtFbY+o9jCCcdic0QhOKo6iRr2yhqHDZyHZNiX5Zm6Lai SfXw==
MIME-Version: 1.0
Received: by 10.182.235.46 with SMTP id uj14mr9968699obc.40.1351170245677; Thu, 25 Oct 2012 06:04:05 -0700 (PDT)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.116.67 with HTTP; Thu, 25 Oct 2012 06:04:05 -0700 (PDT)
In-Reply-To: <163BECE9-5B27-46D3-A43C-B448421E84A1@mnot.net>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net> <5087B413.1000801@treenet.co.nz> <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com> <CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com> <3ECAB5C9-E2A8-47DF-B4F5-2AEB1C4125C4@mnot.net> <CABP7Rbe4r2S_2LbeyqkihwEzPnb-TrmVf5HkjP+r+jb8dawJ+w@mail.gmail.com> <6C71876BDCCD01488E70A2399529D5E522F9BE@ADELE.crf.canon.fr> <50890BCC.2030600@treenet.co.nz> <163BECE9-5B27-46D3-A43C-B448421E84A1@mnot.net>
Date: Thu, 25 Oct 2012 09:04:05 -0400
X-Google-Sender-Auth: jyWNpZtrBd2EkNFkQ_K7_DvvgZY
Message-ID: <CAOdDvNrzpSO6ELpbQzn8s-JqO8GYnq8fasjk--5a5=pbmTdqvg@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=14dae93b602486512e04cce1d66f
Received-SPF: pass client-ip=209.85.214.171; envelope-from=patrick.ducksong@gmail.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.5
X-W3C-Hub-Spam-Report: AWL=-1.807, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRN6t-0005m6-L4 a2335dc930982a14f008716a65fc6f3f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/CAOdDvNrzpSO6ELpbQzn8s-JqO8GYnq8fasjk--5a5=pbmTdqvg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15510
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>

--14dae93b602486512e04cce1d66f
Content-Type: text/plain; charset=ISO-8859-1

+1 on the timestamp.. it also gives some idea of data rate which can be
useful for calculating cpu budgets.
And if you're going to give meta data we can include a header length
instead of the blank line. (hey, where have I heard that discussion before?
:))

-P


On Thu, Oct 25, 2012 at 6:05 AM, Mark Nottingham <mnot@mnot.net> wrote:

> The only thing that gives me pause about using plain text is that if we
> want to combine streams to the same server to simulate multiplexing, we may
> want to apply a time-based heuristic to do so, meaning we'll need some
> metadata.
>
> Date is in responses, but not requests; I *guess* we could infer it from
> the paired responses, but then there's clock skew, etc.
>
> Just a thought; I'm happy with text if that doesn't worry anyone else.
>
> Cheers,
>
>
> On 25/10/2012, at 8:52 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:
>
> > On 25/10/2012 9:13 p.m., RUELLAN Herve wrote:
> >>> -----Original Message-----
> >>> From: James M Snell [mailto:jasnell@gmail.com]
> >>> Sent: mercredi 24 octobre 2012 21:44
> >>> To: Mark Nottingham
> >>> Cc: Patrick McManus; Roberto Peon; Amos Jeffries; ietf-http-wg@w3.org
> >>> Subject: Re: HTTP Header Compaction Results
> >>>
> >>>
> >>>
> >>>
> >>> On Wed, Oct 24, 2012 at 12:39 PM, Mark Nottingham <mnot@mnot.net>
> >>> wrote:
> >>>
> >>>
> >>>     On 25/10/2012, at 5:00 AM, Patrick McManus
> >>> <pmcmanus@mozilla.com> wrote:
> >>>     >
> >>>     > for reference https://developer.mozilla.org/en-
> >>> US/docs/NSS_Key_Log_Format
> >>>
> >>>     Thanks; I looked for that before, but couldn't find it. Should have
> >>> asked.
> >>>
> >>>     I agree that the logs should be 'raw'; we can always post-process
> (as
> >>> long as we do it in a uniform manner :)
> >>>
> >>>     How would people prefer to store them? I've been storing them as
> >>> just text files, one per direction per stream (e.g., "response headers
> on this
> >>> connection to 1.2.3.4"), with header blocks delimited by a blank line.
> >>> However, IIRC someone mentioned HAR as well -- any preferences?
> >>>
> >>>
> >>>
> >>>
> >>> text files would work just fine.
> >> I agree that text files are OK.
> >>
> >> HAR could also work, but are somewhat more complex to process. Moreover
> I think it's easier to write a HAR to text files translator than the
> reverse.
> >
> > Since the traffic is arriving in HTTP text format to produce a HAR file
> one needs to write such a translator and apply it on the data stream.
> Producing a .txt can be just a packet buffer dump.
> >
> > Amos
> >
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>

--14dae93b602486512e04cce1d66f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

+1 on the timestamp.. it also gives some idea of data rate which can be use=
ful for calculating cpu budgets.<br>And if you&#39;re going to give meta da=
ta we can include a header length instead of the blank line. (hey, where ha=
ve I heard that discussion before? :))<br>
<br>-P<br><br><br><div class=3D"gmail_quote">On Thu, Oct 25, 2012 at 6:05 A=
M, Mark Nottingham <span dir=3D"ltr">&lt;<a href=3D"mailto:mnot@mnot.net" t=
arget=3D"_blank">mnot@mnot.net</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
The only thing that gives me pause about using plain text is that if we wan=
t to combine streams to the same server to simulate multiplexing, we may wa=
nt to apply a time-based heuristic to do so, meaning we&#39;ll need some me=
tadata.<br>

<br>
Date is in responses, but not requests; I *guess* we could infer it from th=
e paired responses, but then there&#39;s clock skew, etc.<br>
<br>
Just a thought; I&#39;m happy with text if that doesn&#39;t worry anyone el=
se.<br>
<br>
Cheers,<br>
<br>
<br>
On 25/10/2012, at 8:52 PM, Amos Jeffries &lt;<a href=3D"mailto:squid3@treen=
et.co.nz">squid3@treenet.co.nz</a>&gt; wrote:<br>
<br>
&gt; On 25/10/2012 9:13 p.m., RUELLAN Herve wrote:<br>
&gt;&gt;&gt; -----Original Message-----<br>
&gt;&gt;&gt; From: James M Snell [mailto:<a href=3D"mailto:jasnell@gmail.co=
m">jasnell@gmail.com</a>]<br>
&gt;&gt;&gt; Sent: mercredi 24 octobre 2012 21:44<br>
&gt;&gt;&gt; To: Mark Nottingham<br>
&gt;&gt;&gt; Cc: Patrick McManus; Roberto Peon; Amos Jeffries; <a href=3D"m=
ailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a><br>
&gt;&gt;&gt; Subject: Re: HTTP Header Compaction Results<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Wed, Oct 24, 2012 at 12:39 PM, Mark Nottingham &lt;<a href=
=3D"mailto:mnot@mnot.net">mnot@mnot.net</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; =A0 =A0 On 25/10/2012, at 5:00 AM, Patrick McManus<br>
&gt;&gt;&gt; &lt;<a href=3D"mailto:pmcmanus@mozilla.com">pmcmanus@mozilla.c=
om</a>&gt; wrote:<br>
&gt;&gt;&gt; =A0 =A0 &gt;<br>
&gt;&gt;&gt; =A0 =A0 &gt; for reference <a href=3D"https://developer.mozill=
a.org/en-" target=3D"_blank">https://developer.mozilla.org/en-</a><br>
&gt;&gt;&gt; US/docs/NSS_Key_Log_Format<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; =A0 =A0 Thanks; I looked for that before, but couldn&#39;t fin=
d it. Should have<br>
&gt;&gt;&gt; asked.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; =A0 =A0 I agree that the logs should be &#39;raw&#39;; we can =
always post-process (as<br>
&gt;&gt;&gt; long as we do it in a uniform manner :)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; =A0 =A0 How would people prefer to store them? I&#39;ve been s=
toring them as<br>
&gt;&gt;&gt; just text files, one per direction per stream (e.g., &quot;res=
ponse headers on this<br>
&gt;&gt;&gt; connection to 1.2.3.4&quot;), with header blocks delimited by =
a blank line.<br>
&gt;&gt;&gt; However, IIRC someone mentioned HAR as well -- any preferences=
?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; text files would work just fine.<br>
&gt;&gt; I agree that text files are OK.<br>
&gt;&gt;<br>
&gt;&gt; HAR could also work, but are somewhat more complex to process. Mor=
eover I think it&#39;s easier to write a HAR to text files translator than =
the reverse.<br>
&gt;<br>
&gt; Since the traffic is arriving in HTTP text format to produce a HAR fil=
e one needs to write such a translator and apply it on the data stream. Pro=
ducing a .txt can be just a packet buffer dump.<br>
&gt;<br>
&gt; Amos<br>
&gt;<br>
<br>
--<br>
Mark Nottingham =A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">http=
://www.mnot.net/</a><br>
<br>
<br>
<br>
<br>
</blockquote></div><br>

--14dae93b602486512e04cce1d66f--


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 06:16:13 2012
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 4AF1C21F8A16 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:16:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.27
X-Spam-Level: 
X-Spam-Status: No, score=-9.27 tagged_above=-999 required=5 tests=[AWL=1.329, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zNOrjsTo84hw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:16:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BC1B821F8A0A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 06:16:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRNGb-0004ra-Oc for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 13:14:33 +0000
Resent-Date: Thu, 25 Oct 2012 13:14:33 +0000
Resent-Message-Id: <E1TRNGb-0004ra-Oc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRNGX-0004pl-St for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 13:14:29 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRNGW-0008Mw-SP for ietf-http-wg@w3.org; Thu, 25 Oct 2012 13:14:29 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9PDDnkK017414; Thu, 25 Oct 2012 15:13:49 +0200
Date: Thu, 25 Oct 2012 15:13:49 +0200
From: Willy Tarreau <w@1wt.eu>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Mark Nottingham <mnot@mnot.net>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20121025131349.GG16195@1wt.eu>
References: <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net> <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <CAOdDvNoaseeuR-cg5PP5CowXB_Cgqg1ORgAwgx1bZoZcyiNRmg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAOdDvNoaseeuR-cg5PP5CowXB_Cgqg1ORgAwgx1bZoZcyiNRmg@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-2.485, RP_MATCHES_RCVD=-0.736, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRNGW-0008Mw-SP 41fbda61be2688772aec06b3351e5db8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/20121025131349.GG16195@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15511
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>

Hi Patrick,

On Thu, Oct 25, 2012 at 09:01:01AM -0400, Patrick McManus wrote:
> I know this has been said before by the Chrome team, but I too am starting
> to see websocket bugs pile up due to transparent proxies that don't speak
> upgrade and explicit proxies that don't let you tunnel to port 80 as
> configured. (bluecoat and MS ISA/TMG are the most common I hear about).
> ws:// hasn't been very successful in those environments but wss:// has
> been. Good thing that in the websockets world there aren't a lot of legacy
> urls to worry about - not true for http :(

On the other hand, we could say that one big difference between WS and HTTP
is that with WS you don't have much possible fallback while with HTTP the
fallback is HTTP/1.1.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 06:25:10 2012
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 D477A21F87A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:25:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.587
X-Spam-Level: 
X-Spam-Status: No, score=-10.587 tagged_above=-999 required=5 tests=[AWL=0.012, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ksch1vvhAeqn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:25:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BF97B21F879C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 06:25:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRNPL-0003ka-R6 for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 13:23:35 +0000
Resent-Date: Thu, 25 Oct 2012 13:23:35 +0000
Resent-Message-Id: <E1TRNPL-0003ka-R6@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1TRNPE-0003ie-Ew for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 13:23:28 +0000
Received: from smtp.checkpoint.com ([194.29.34.68]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1TRNPC-0000SB-Rc for ietf-http-wg@w3.org; Thu, 25 Oct 2012 13:23:28 +0000
Received: from il-ex01.ad.checkpoint.com (il-ex01.ad.checkpoint.com [194.29.34.26]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id q9PDLlPv015319; Thu, 25 Oct 2012 15:21:47 +0200
X-CheckPoint: {50893ACA-1E-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com ([194.29.34.26]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Thu, 25 Oct 2012 15:21:46 +0200
From: Yoav Nir <ynir@checkpoint.com>
To: Patrick McManus <pmcmanus@mozilla.com>
CC: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Mark Nottingham <mnot@mnot.net>, Willy Tarreau <w@1wt.eu>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 25 Oct 2012 15:21:46 +0200
Thread-Topic: #385: HTTP2 Upgrade / Negotiation
Thread-Index: Ac2ys653hTUgQxAmTyeP8LfH0BtL0g==
Message-ID: <874F094A-2EEE-4574-827A-6677143748A2@checkpoint.com>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz>	<20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net> <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <CAOdDvNoaseeuR-cg5PP5CowXB_Cgqg1ORgAwgx1bZoZcyiNRmg@mail.gmail.com>
In-Reply-To: <CAOdDvNoaseeuR-cg5PP5CowXB_Cgqg1ORgAwgx1bZoZcyiNRmg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=smtp.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: AWL=0.960, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.736, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRNPC-0000SB-Rc f7259b119e19bbc050731c11a3dc1f97
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/874F094A-2EEE-4574-827A-6677143748A2@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15512
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>

On Oct 25, 2012, at 3:01 PM, Patrick McManus wrote:

> I know this has been said before by the Chrome team, but I too am startin=
g to see websocket bugs pile up due to transparent proxies that don't speak=
 upgrade and explicit proxies that don't let you tunnel to port 80 as confi=
gured.

Transparent proxies should learn about Upgrade: and either support websocke=
ts/http2 or remove the header. Hopefully they will have done this by the ti=
me HTTP/2.0 over port 80 is actually deployed.

> (bluecoat and MS ISA/TMG are the most common I hear about). ws:// hasn't =
been very successful in those environments but wss:// has been. Good thing =
that in the websockets world there aren't a lot of legacy urls to worry abo=
ut - not true for http :(
>=20
> For http2, I don't think it is enough to just fail fast to http/1 when fo=
r most cases we could get those users speaking HTTP/2 over tls on 443. A me=
chanism like Alternate-Protocol accomplishes that and I think that is a mor=
e important property than upgrading in band (which is admittedly nice!).

So rather than go to HTTP/1.1 you'd prefer going to TLS with an anonymous c=
iphersuite?  I don't think that would help much, as the transparent proxies=
 that also MitM SSL are getting ever more popular.

> As for caching successful upgrades or successful A-P's they pretty much h=
ave the same set of tradeoffs.

Yes, but I don't think it's all that bad. Browsers and operating systems ha=
ve some feeling of location, which changes when any of your IP addresses ch=
ange, or your routing table changes, or the configuration of the proxy or D=
NS servers changes. Browsers notice these things so that they can quickly r=
e-establish connections, re-query the DNS, and reload pages that had some f=
ailure.  If you have this event also invalidate the cache, so that you go t=
hrough the Upgrade handshake again, you should usually not have a case wher=
e a proxy has suddenly got in your path and won't let you use HTTP/2 over T=
CP port 80 any more.

Yoav



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 06:35:35 2012
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 A6D5621F8971 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:35:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TFi76oiOp50I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:35:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 22EEC21F896F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 06:35:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRNZ1-0001Tq-Ua for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 13:33:35 +0000
Resent-Date: Thu, 25 Oct 2012 13:33:35 +0000
Resent-Message-Id: <E1TRNZ1-0001Tq-Ua@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <kfall@qti.qualcomm.com>) id 1TRNYx-0001SP-1l for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 13:33:31 +0000
Received: from sabertooth01.qualcomm.com ([65.197.215.72]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <kfall@qti.qualcomm.com>) id 1TRNYp-00076g-CC for ietf-http-wg@w3.org; Thu, 25 Oct 2012 13:33:31 +0000
X-IronPort-AV: E=McAfee;i="5400,1158,6875"; a="1957568"
Received: from ironmsg04-l.qualcomm.com ([172.30.48.19]) by sabertooth01.qualcomm.com with ESMTP; 25 Oct 2012 06:19:09 -0700
X-IronPort-AV: E=Sophos;i="4.80,646,1344236400";  d="scan'208";a="327399032"
Received: from nasanexhc01.na.qualcomm.com ([172.30.48.25]) by Ironmsg04-L.qualcomm.com with ESMTP/TLS/RC4-SHA; 25 Oct 2012 06:32:45 -0700
Received: from NASANEXD01E.na.qualcomm.com ([169.254.5.59]) by NASANEXHC01.na.qualcomm.com ([172.30.48.25]) with mapi id 14.02.0318.001; Thu, 25 Oct 2012 06:32:45 -0700
From: "Fall, Kevin" <kfall@qti.qualcomm.com>
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: draft-kfall-httpbis-server-ranges [was: Preliminary agenda for Atlanta]
Thread-Index: AQHNsmFbGV2ozWIlDEeUnXbEZXBMOJfKBaeA
Date: Thu, 25 Oct 2012 13:32:44 +0000
Message-ID: <BB72E60F7A18154A9B1352D1DF6FEE571E268F46@NASANEXD01E.na.qualcomm.com>
In-Reply-To: <0AE0EC57-F2BC-4DAD-B939-C07E2B584D53@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [199.106.115.132]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <0909BB60130D8D41BBED89E4A2E9D568@qualcomm.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=65.197.215.72; envelope-from=kfall@qti.qualcomm.com; helo=sabertooth01.qualcomm.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.082, RP_MATCHES_RCVD=-0.736, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRNYp-00076g-CC 11dfee9298dffe80840ad06e8bc18916
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-kfall-httpbis-server-ranges [was: Preliminary agenda for  Atlanta]
Archived-At: <http://www.w3.org/mid/BB72E60F7A18154A9B1352D1DF6FEE571E268F46@NASANEXD01E.na.qualcomm.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15513
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>

That is one case, but perhaps more interesting/controversial is this one:

  Range: bytes=3D100-

  Content-Range: bytes 200-300/1000.

A subsequent request might likely then be:

  Range: 100-200, 300-1000

for which the responses might be

  Content-Range: 100-200, 300-1000

or even something like

  Range: 100-1000

(although this later case isn't as desirable due the redundancy).

It would still be straightforward to implement the current rule of not
returning multiple ranges unless multiple ranges were given in the request.
Although I don't know if the intent is to continue with this guidance
given a new HTTP version. [?]

A related issue is which response code to use for such responses.
Although 206 seems most logical given the current set of defined codes (it
is, after all, 'Partial Content'), perhaps it might be more clear if a
different code were used.  I'm neutral on that issue for the moment; the
draft suggests 206.

thx
- K

On 10/24/12 8:32 PM PDT, "Mark Nottingham" <mnot@mnot.net> wrote:

>Kevin,
>
>On 23/10/2012, at 3:11 PM, "Fall, Kevin" <kfall@qti.qualcomm.com> wrote:
>
>> Would like a chance to briefly bring up the range / partial delivery
>>issue
>> I mentioned on the list.
>> [and what's behind
>> http://tools.ietf.org/id/draft-kfall-httpbis-server-ranges-00.txt]
>
>
>We can spend a bit of time on it in the "related work" item of the
>session on Monday, yes.
>
>To make the use case a bit more concrete, and make sure I understand it,
>one example AIUI would be a request for
>
>  Range: bytes=3D100-
>
>to which you return, say:
>
>  Content-Range: bytes 100-200/1000
>  ETag: "1234"
>
>and then to a subseqent, identical request
>
>  Content-Range: bytes 100-400/1000
>  ETag: "1234"
>
>Correct?
>
>Cheers,
>
>
>--
>Mark Nottingham   http://www.mnot.net/
>
>
>



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 06:43:30 2012
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 B4E2421F8977 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:43:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.976
X-Spam-Level: 
X-Spam-Status: No, score=-9.976 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IFU3rUlz5V4z for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:43:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5465321F8973 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 06:43:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRNgw-0004ur-Vo for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 13:41:47 +0000
Resent-Date: Thu, 25 Oct 2012 13:41:46 +0000
Resent-Message-Id: <E1TRNgw-0004ur-Vo@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TRNgs-0004u7-QR for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 13:41:42 +0000
Received: from mail-oa0-f43.google.com ([209.85.219.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <patrick.ducksong@gmail.com>) id 1TRNgq-0001DL-Pi for ietf-http-wg@w3.org; Thu, 25 Oct 2012 13:41:42 +0000
Received: by mail-oa0-f43.google.com with SMTP id k1so1667114oag.2 for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 06:41:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=eBJaXt/LUyI8gNAYGNVJqAWyi39RKMmrgNZXV3QJsiM=; b=FHh092DmS4G3psvuiI0qmpSLG0ZG49Lw54MXsmCLrLMcvkv2LQ/i+JX1dgL6aWlX0E IR9ytDsITuKHYqJzQTX3H7glE8WRevJDKM38TT+DFEsnB6RdeTlgALafsAs+Vgmj6Y5y 7dqZ5s8sWegr8XhUCtllTX0pyNBbF4akdePoa1Q/KkTkl8M+vR6gMSYD3aXE7DOJgQKa w24hfxm3AogqKn6UGCJ2ADtr7KA7iuRP1o2sCg6jJSaVtR0A8hl4aLurX+NyS7qiG6Zy 7WYP/24Bv0lgKWp0ie8xd2XypTGGQZ6sqCaL86b2e94MiSVOCbHN+aMroeb/hHDqTDfB nWUA==
MIME-Version: 1.0
Received: by 10.60.170.115 with SMTP id al19mr6333312oec.102.1351172474388; Thu, 25 Oct 2012 06:41:14 -0700 (PDT)
Sender: patrick.ducksong@gmail.com
Received: by 10.76.116.67 with HTTP; Thu, 25 Oct 2012 06:41:14 -0700 (PDT)
In-Reply-To: <874F094A-2EEE-4574-827A-6677143748A2@checkpoint.com>
References: <37965570-0B05-4928-A04F-82B8C8C5E74A@mnot.net> <CABP7RbdE3g8T7P70=wgN6nJaOTRDLSNK_FJHjKFvf1JWB3=0Xg@mail.gmail.com> <35a9153febf0bbd1ae8b1a06665e54fd@treenet.co.nz> <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net> <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <CAOdDvNoaseeuR-cg5PP5CowXB_Cgqg1ORgAwgx1bZoZcyiNRmg@mail.gmail.com> <874F094A-2EEE-4574-827A-6677143748A2@checkpoint.com>
Date: Thu, 25 Oct 2012 09:41:14 -0400
X-Google-Sender-Auth: 0wg81DzQWLJXpvAGysw__7W1Ufg
Message-ID: <CAOdDvNrjVtfPe_VzOR2daWDX4BupkmkPBMvrO7nuZows1t_LoQ@mail.gmail.com>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Yoav Nir <ynir@checkpoint.com>
Cc: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Mark Nottingham <mnot@mnot.net>,  Willy Tarreau <w@1wt.eu>, Amos Jeffries <squid3@treenet.co.nz>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec54d41d05dc18b04cce25b71
Received-SPF: pass client-ip=209.85.219.43; envelope-from=patrick.ducksong@gmail.com; helo=mail-oa0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.4
X-W3C-Hub-Spam-Report: AWL=-2.711, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRNgq-0001DL-Pi 24f6d00aeb5eab253d38de80700e9ceb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/CAOdDvNrjVtfPe_VzOR2daWDX4BupkmkPBMvrO7nuZows1t_LoQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15514
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>

--bcaec54d41d05dc18b04cce25b71
Content-Type: text/plain; charset=ISO-8859-1

On Thu, Oct 25, 2012 at 9:21 AM, Yoav Nir <ynir@checkpoint.com> wrote:

>
>
> > For http2, I don't think it is enough to just fail fast to http/1 when
> for most cases we could get those users speaking HTTP/2 over tls on 443. A
> mechanism like Alternate-Protocol accomplishes that and I think that is a
> more important property than upgrading in band (which is admittedly nice!).
>
> So rather than go to HTTP/1.1 you'd prefer going to TLS with an anonymous
> ciphersuite?  I don't think that would help much, as the transparent
> proxies that also MitM SSL are getting ever more popular.
>
>
The websockets results show that the TLS approach will work well with
legacy infrastructure and yes I'd rather have everyone that can use http2
actually use it before falling back to http/1 because there are significant
performance gains to be had.

no doubt that an unauth-tls-http2 would create growth in the transparent
ssl proxy market but that isn't really a big legacy compatibility isssue.
That's one place where I would expect to see compatibility with http2. For
the long tail of compat problems then sure, we're down to http/1 fallback.


> > As for caching successful upgrades or successful A-P's they pretty much
> have the same set of tradeoffs.
>
> Yes, but I don't think it's all that bad


I concur with that.

--bcaec54d41d05dc18b04cce25b71
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Thu, Oct 25, 2012 at 9:21 AM, Yoav Ni=
r <span dir=3D"ltr">&lt;<a href=3D"mailto:ynir@checkpoint.com" target=3D"_b=
lank">ynir@checkpoint.com</a>&gt;</span> wrote:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">
<br>
<br>
&gt; For http2, I don&#39;t think it is enough to just fail fast to http/1 =
when for most cases we could get those users speaking HTTP/2 over tls on 44=
3. A mechanism like Alternate-Protocol accomplishes that and I think that i=
s a more important property than upgrading in band (which is admittedly nic=
e!).<br>

<br>
So rather than go to HTTP/1.1 you&#39;d prefer going to TLS with an anonymo=
us ciphersuite? =A0I don&#39;t think that would help much, as the transpare=
nt proxies that also MitM SSL are getting ever more popular.<br>
<br></blockquote><div><br>The websockets results show that the TLS approach=
 will work well with legacy infrastructure and yes I&#39;d rather have ever=
yone that can use http2 actually use it before falling back to http/1 becau=
se there are significant performance gains to be had.<br>
<br>no doubt that an unauth-tls-http2 would create growth in the transparen=
t ssl proxy market but that isn&#39;t really a big legacy compatibility iss=
sue. That&#39;s one place where I would expect to see compatibility with ht=
tp2. For the long tail of compat problems then sure, we&#39;re down to http=
/1 fallback.<br>
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
&gt; As for caching successful upgrades or successful A-P&#39;s they pretty=
 much have the same set of tradeoffs.<br>
<br>
Yes, but I don&#39;t think it&#39;s all that bad</blockquote><div><br>I con=
cur with that.<br><br></div></div>

--bcaec54d41d05dc18b04cce25b71--


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 06:56:50 2012
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 EE2E221F894C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:56:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.313
X-Spam-Level: 
X-Spam-Status: No, score=-9.313 tagged_above=-999 required=5 tests=[AWL=1.286, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ekxvyx7+ZqWK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 06:56:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5D2F721F875A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 06:56:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRNtt-0004Uq-NH for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 13:55:09 +0000
Resent-Date: Thu, 25 Oct 2012 13:55:09 +0000
Resent-Message-Id: <E1TRNtt-0004Uq-NH@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRNtp-0004UB-Rh for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 13:55:05 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRNto-0007ma-UQ for ietf-http-wg@w3.org; Thu, 25 Oct 2012 13:55:05 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9PDsGaC017723; Thu, 25 Oct 2012 15:54:16 +0200
Date: Thu, 25 Oct 2012 15:54:16 +0200
From: Willy Tarreau <w@1wt.eu>
To: Patrick McManus <pmcmanus@mozilla.com>
Cc: Yoav Nir <ynir@checkpoint.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Mark Nottingham <mnot@mnot.net>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20121025135416.GH16195@1wt.eu>
References: <2C6C7452-CDDA-4FA9-B94E-D1D862EAA223@mnot.net> <50877AEB.6080808@treenet.co.nz> <20121024064850.GD7331@1wt.eu> <E6668847-2CA5-43C5-B8CC-C7C8AB06CFF1@mnot.net> <20121024071046.GE7331@1wt.eu> <F1D1DFCD-0851-49F6-90E6-0EB6C53D6B8A@mnot.net> <CA566BAEAD6B3F4E8B5C5C4F61710C116377CAC0@TK5EX14MBXW604.wingroup.windeploy.ntdev.microsoft.com> <CAOdDvNoaseeuR-cg5PP5CowXB_Cgqg1ORgAwgx1bZoZcyiNRmg@mail.gmail.com> <874F094A-2EEE-4574-827A-6677143748A2@checkpoint.com> <CAOdDvNrjVtfPe_VzOR2daWDX4BupkmkPBMvrO7nuZows1t_LoQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAOdDvNrjVtfPe_VzOR2daWDX4BupkmkPBMvrO7nuZows1t_LoQ@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.2
X-W3C-Hub-Spam-Report: AWL=-2.485, RP_MATCHES_RCVD=-0.736, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRNto-0007ma-UQ f1051746204496f358764b71a3e370ab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/20121025135416.GH16195@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15515
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>

On Thu, Oct 25, 2012 at 09:41:14AM -0400, Patrick McManus wrote:
> On Thu, Oct 25, 2012 at 9:21 AM, Yoav Nir <ynir@checkpoint.com> wrote:
> 
> >
> >
> > > For http2, I don't think it is enough to just fail fast to http/1 when
> > for most cases we could get those users speaking HTTP/2 over tls on 443. A
> > mechanism like Alternate-Protocol accomplishes that and I think that is a
> > more important property than upgrading in band (which is admittedly nice!).
> >
> > So rather than go to HTTP/1.1 you'd prefer going to TLS with an anonymous
> > ciphersuite?  I don't think that would help much, as the transparent
> > proxies that also MitM SSL are getting ever more popular.
> >
> >
> The websockets results show that the TLS approach will work well with
> legacy infrastructure and yes I'd rather have everyone that can use http2
> actually use it before falling back to http/1 because there are significant
> performance gains to be had.

I see a good point here : I expect that support for Upgrade and unfiltered TLS
will be very complementary. I mean :
  - in completely opened networks, both will work.
  - In corporate networks, port 443 will continue to work with the usual
    whitelists and will not be suited for HTTP/2, however these infrastructures
    are maintained and managed and the proxies will quickly be upgraded to
    support the Upgrade if not ready yet.
  - and at places where interception proxies are in place (eg: ISPs, mobile
    phone ops), it's common to find the opposite : interception proxies are
    a bit outdated and not well maintained, but port 443 is wide open.

The reason for this complementarity is simple : corporate networks need to
control what enters and leaves the network, while ISPs need to save bandwidth
and optimize only.

Thus I would not be surprized to see a success rate close to 100% with the
following sequence to sites accepting both ports when HTTP/2 is released :
  1) HTTP Upgrade on port 80
  2) fallback to TLS on port 443

And when both fail, clearly 1.1 is the only way to go.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 08:50:56 2012
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 1839E21F8934 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 08:50:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NrRMtov8teu4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 08:50:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 38D2021F8918 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 08:50:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRPfk-0004m2-UL for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 15:48:40 +0000
Resent-Date: Thu, 25 Oct 2012 15:48:40 +0000
Resent-Message-Id: <E1TRPfk-0004m2-UL@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TRPfd-0004kw-Iz for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 15:48:33 +0000
Received: from mail-wi0-f173.google.com ([209.85.212.173]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TRPfc-0006C9-GF for ietf-http-wg@w3.org; Thu, 25 Oct 2012 15:48:33 +0000
Received: by mail-wi0-f173.google.com with SMTP id hm4so4900139wib.8 for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 08:48:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=l5/gXg1wAhTCkCl4VfKCktlP5UrmDTH/LU06Omk5EEE=; b=DfikfnRUTNhG24Nn+XNFe/2JcCjNSv6brcXxrXHNBlTKAvfza/efXiwJck+LmCKT7S BV8R8le7VCrTP4oueIxlSDhoHXNHbly6gAPMxSD1fVtT6f9cN5Og/JmKuLO/J5NGg3s3 9kXXRAAgqwSDPnwfyEAAjbKNfMkL9dC52jzMEK/lY2oCozoUJFwSgPc3D94WVEltWwMR 5n58fsbBFZBAeRp8wofbJzoTvV8MTaTzfgs9b0eKzt9lv82YHMtouhgRMq1Wx5T/fHjC Cex8dAkH66ZVqFhs9W7bz9D5YyglMpaqApyWJjv32NekWwZyjjtgZ+wzFjOllE2YVEfB V6ug==
MIME-Version: 1.0
Received: by 10.180.24.4 with SMTP id q4mr11331578wif.19.1351180086058; Thu, 25 Oct 2012 08:48:06 -0700 (PDT)
Received: by 10.217.64.198 with HTTP; Thu, 25 Oct 2012 08:48:05 -0700 (PDT)
In-Reply-To: <BB72E60F7A18154A9B1352D1DF6FEE571E268F46@NASANEXD01E.na.qualcomm.com>
References: <0AE0EC57-F2BC-4DAD-B939-C07E2B584D53@mnot.net> <BB72E60F7A18154A9B1352D1DF6FEE571E268F46@NASANEXD01E.na.qualcomm.com>
Date: Thu, 25 Oct 2012 10:48:05 -0500
Message-ID: <CACuKZqHBgwbnL5O4dgJe82-hDcZDbpiG3yStX18TKrTmg71z4w@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: "Fall, Kevin" <kfall@qti.qualcomm.com>
Cc: Mark Nottingham <mnot@mnot.net>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.173; envelope-from=zhong.j.yu@gmail.com; helo=mail-wi0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.700, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRPfc-0006C9-GF 5e69e6f08b744c622589cdac7c432c83
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-kfall-httpbis-server-ranges [was: Preliminary agenda for Atlanta]
Archived-At: <http://www.w3.org/mid/CACuKZqHBgwbnL5O4dgJe82-hDcZDbpiG3yStX18TKrTmg71z4w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15516
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>

Could your use cases be solved by a new transfer coding?

For example, a "shattered" coding, where entity body is transmitted in
pieces, and the pieces are in undetermined order:

  GET /data HTTP/1.1
  TE: shattered

  HTTP/1.1 200 OK
  Transfer-Encoding: shattered, chunked

  message_body=chunked(
    "500-600:" data[500-600]
    "150-300:" data[150-300]
    ....
    )

Client can specify range filters

  GET /data HTTP/1.1
  Range: bytes=1000-
  TE: shattered

  HTTP/1.1 206 Partial Content
  Content-Range : 1000-N/N
  Transfer-Encoding: shattered, chunked

  message_body=chunked(
    "700-800:" data[1700-1800]
    "200-300:" data[1200-1300]
    ....
    )

Zhong Yu

On Thu, Oct 25, 2012 at 8:32 AM, Fall, Kevin <kfall@qti.qualcomm.com> wrote:
> That is one case, but perhaps more interesting/controversial is this one:
>
>   Range: bytes=100-
>
>   Content-Range: bytes 200-300/1000.
>
> A subsequent request might likely then be:
>
>   Range: 100-200, 300-1000
>
> for which the responses might be
>
>   Content-Range: 100-200, 300-1000
>
> or even something like
>
>   Range: 100-1000
>
> (although this later case isn't as desirable due the redundancy).
>
> It would still be straightforward to implement the current rule of not
> returning multiple ranges unless multiple ranges were given in the request.
> Although I don't know if the intent is to continue with this guidance
> given a new HTTP version. [?]
>
> A related issue is which response code to use for such responses.
> Although 206 seems most logical given the current set of defined codes (it
> is, after all, 'Partial Content'), perhaps it might be more clear if a
> different code were used.  I'm neutral on that issue for the moment; the
> draft suggests 206.
>
> thx
> - K
>
> On 10/24/12 8:32 PM PDT, "Mark Nottingham" <mnot@mnot.net> wrote:
>
>>Kevin,
>>
>>On 23/10/2012, at 3:11 PM, "Fall, Kevin" <kfall@qti.qualcomm.com> wrote:
>>
>>> Would like a chance to briefly bring up the range / partial delivery
>>>issue
>>> I mentioned on the list.
>>> [and what's behind
>>> http://tools.ietf.org/id/draft-kfall-httpbis-server-ranges-00.txt]
>>
>>
>>We can spend a bit of time on it in the "related work" item of the
>>session on Monday, yes.
>>
>>To make the use case a bit more concrete, and make sure I understand it,
>>one example AIUI would be a request for
>>
>>  Range: bytes=100-
>>
>>to which you return, say:
>>
>>  Content-Range: bytes 100-200/1000
>>  ETag: "1234"
>>
>>and then to a subseqent, identical request
>>
>>  Content-Range: bytes 100-400/1000
>>  ETag: "1234"
>>
>>Correct?
>>
>>Cheers,
>>
>>
>>--
>>Mark Nottingham   http://www.mnot.net/
>>
>>
>>
>
>


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 10:18:04 2012
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 E864321F89CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 10:18:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.605
X-Spam-Level: 
X-Spam-Status: No, score=-10.605 tagged_above=-999 required=5 tests=[AWL=-0.007, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YtrlvuxcX-se for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 10:18:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F0CDE21F89A7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 10:18:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRR1i-00058g-0Q for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 17:15:26 +0000
Resent-Date: Thu, 25 Oct 2012 17:15:26 +0000
Resent-Message-Id: <E1TRR1i-00058g-0Q@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TRR1d-0004cB-SC for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 17:15:21 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1TRR1b-0006sB-M1 for ietf-http-wg@w3.org; Thu, 25 Oct 2012 17:15:21 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so1724923lah.2 for <ietf-http-wg@w3.org>; Thu, 25 Oct 2012 10:14:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rFJPhVZE7iQiHvp0zp+BtWx42bWMzaXrD/qHZ5jKb4s=; b=U1c2AcJtyi8JamO65nNdZyu2buypnBNcvE2/HW6BQF4Aa+/W7gXO1wmM+I79rZ2VYI 2VEyHpC3hsV4Y+iYCGPjEq9sybspWOK8xA1Or0p+kxofn7qBlKyReYgaYnV81cR+lEej 6J4envBkXOqzyf48ggnyx2BvrGXL7pmEWlQvi/S8xcL+k4ZSElJp6gbPa+wnBMeVOBHN FxZ3f80HMWqxYTvLiGBwe/j1Ay2Og/i663sNgsKXYT0bsGuXOg2UVU+crDuXrT/mANnR I2levyB4c/4DhqclYcMjq5CViDV5N4SgARjDVN/kVxe8Dw4+q5eXXIhoK3zcwsqfB7NZ +LUA==
MIME-Version: 1.0
Received: by 10.152.103.100 with SMTP id fv4mr17923146lab.39.1351185292773; Thu, 25 Oct 2012 10:14:52 -0700 (PDT)
Received: by 10.114.39.113 with HTTP; Thu, 25 Oct 2012 10:14:52 -0700 (PDT)
Received: by 10.114.39.113 with HTTP; Thu, 25 Oct 2012 10:14:52 -0700 (PDT)
In-Reply-To: <6C71876BDCCD01488E70A2399529D5E522F9BE@ADELE.crf.canon.fr>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net> <5087B413.1000801@treenet.co.nz> <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com> <CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com> <3ECAB5C9-E2A8-47DF-B4F5-2AEB1C4125C4@mnot.net> <CABP7Rbe4r2S_2LbeyqkihwEzPnb-TrmVf5HkjP+r+jb8dawJ+w@mail.gmail.com> <6C71876BDCCD01488E70A2399529D5E522F9BE@ADELE.crf.canon.fr>
Date: Thu, 25 Oct 2012 10:14:52 -0700
Message-ID: <CAP+FsNf5qTQhG06f2hd6DtSdevYJFBuB+gwHiwJHM3079wHrAQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>
Cc: Amos Jeffries <squid3@treenet.co.nz>, Patrick McManus <pmcmanus@mozilla.com>,  James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>
Content-Type: multipart/alternative; boundary=f46d040711e566c92504cce557dc
Received-SPF: pass client-ip=209.85.215.43; envelope-from=grmocg@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.710, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRR1b-0006sB-M1 03790536831c92f385008c495a91c40d
X-Original-To: ietf-http-wg@w3.org
Subject: RE: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/CAP+FsNf5qTQhG06f2hd6DtSdevYJFBuB+gwHiwJHM3079wHrAQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15517
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>

--f46d040711e566c92504cce557dc
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

My github repo has some code for parsing the .har files. In python and js
it is trivial  (around 3 loc) to parse them. For my c++ code, I invoke
(fork)  the python to parse them and then put them in simplified http/1
header format and pipe it into the c++ code.

-=3DR
On Oct 25, 2012 1:13 AM, "RUELLAN Herve" <Herve.Ruellan@crf.canon.fr> wrote=
:

> > -----Original Message-----
> > From: James M Snell [mailto:jasnell@gmail.com]
> > Sent: mercredi 24 octobre 2012 21:44
> > To: Mark Nottingham
> > Cc: Patrick McManus; Roberto Peon; Amos Jeffries; ietf-http-wg@w3.org
> > Subject: Re: HTTP Header Compaction Results
> >
> >
> >
> >
> > On Wed, Oct 24, 2012 at 12:39 PM, Mark Nottingham <mnot@mnot.net>
> > wrote:
> >
> >
> >       On 25/10/2012, at 5:00 AM, Patrick McManus
> > <pmcmanus@mozilla.com> wrote:
> >       >
> >       > for reference https://developer.mozilla.org/en-
> > US/docs/NSS_Key_Log_Format
> >
> >       Thanks; I looked for that before, but couldn't find it. Should ha=
ve
> > asked.
> >
> >       I agree that the logs should be 'raw'; we can always post-process
> (as
> > long as we do it in a uniform manner :)
> >
> >       How would people prefer to store them? I've been storing them as
> > just text files, one per direction per stream (e.g., "response headers
> on this
> > connection to 1.2.3.4"), with header blocks delimited by a blank line.
> > However, IIRC someone mentioned HAR as well -- any preferences?
> >
> >
> >
> >
> > text files would work just fine.
>
> I agree that text files are OK.
>
> HAR could also work, but are somewhat more complex to process. Moreover I
> think it's easier to write a HAR to text files translator than the revers=
e.
>
> Herv=E9.
>
> > - James
> >
> >
> >       Cheers,
> >
> >
> >       --
> >       Mark Nottingham   http://www.mnot.net/
> >
> >
> >
> >
> >
> >
>
>

--f46d040711e566c92504cce557dc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">My github repo has some code for parsing the .har files. In =
python and js it is trivial=A0 (around 3 loc) to parse them. For my c++ cod=
e, I invoke (fork)=A0 the python to parse them and then put them in simplif=
ied http/1 header format and pipe it into the c++ code.</p>

<p dir=3D"ltr">-=3DR</p>
<div class=3D"gmail_quote">On Oct 25, 2012 1:13 AM, &quot;RUELLAN Herve&quo=
t; &lt;<a href=3D"mailto:Herve.Ruellan@crf.canon.fr">Herve.Ruellan@crf.cano=
n.fr</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&gt; -----Original Message-----<br>
&gt; From: James M Snell [mailto:<a href=3D"mailto:jasnell@gmail.com">jasne=
ll@gmail.com</a>]<br>
&gt; Sent: mercredi 24 octobre 2012 21:44<br>
&gt; To: Mark Nottingham<br>
&gt; Cc: Patrick McManus; Roberto Peon; Amos Jeffries; <a href=3D"mailto:ie=
tf-http-wg@w3.org">ietf-http-wg@w3.org</a><br>
&gt; Subject: Re: HTTP Header Compaction Results<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Oct 24, 2012 at 12:39 PM, Mark Nottingham &lt;<a href=3D"mailt=
o:mnot@mnot.net">mnot@mnot.net</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 On 25/10/2012, at 5:00 AM, Patrick McManus<br>
&gt; &lt;<a href=3D"mailto:pmcmanus@mozilla.com">pmcmanus@mozilla.com</a>&g=
t; wrote:<br>
&gt; =A0 =A0 =A0 &gt;<br>
&gt; =A0 =A0 =A0 &gt; for reference <a href=3D"https://developer.mozilla.or=
g/en-" target=3D"_blank">https://developer.mozilla.org/en-</a><br>
&gt; US/docs/NSS_Key_Log_Format<br>
&gt;<br>
&gt; =A0 =A0 =A0 Thanks; I looked for that before, but couldn&#39;t find it=
. Should have<br>
&gt; asked.<br>
&gt;<br>
&gt; =A0 =A0 =A0 I agree that the logs should be &#39;raw&#39;; we can alwa=
ys post-process (as<br>
&gt; long as we do it in a uniform manner :)<br>
&gt;<br>
&gt; =A0 =A0 =A0 How would people prefer to store them? I&#39;ve been stori=
ng them as<br>
&gt; just text files, one per direction per stream (e.g., &quot;response he=
aders on this<br>
&gt; connection to 1.2.3.4&quot;), with header blocks delimited by a blank =
line.<br>
&gt; However, IIRC someone mentioned HAR as well -- any preferences?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; text files would work just fine.<br>
<br>
I agree that text files are OK.<br>
<br>
HAR could also work, but are somewhat more complex to process. Moreover I t=
hink it&#39;s easier to write a HAR to text files translator than the rever=
se.<br>
<br>
Herv=E9.<br>
<br>
&gt; - James<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 Cheers,<br>
&gt;<br>
&gt;<br>
&gt; =A0 =A0 =A0 --<br>
&gt; =A0 =A0 =A0 Mark Nottingham =A0 <a href=3D"http://www.mnot.net/" targe=
t=3D"_blank">http://www.mnot.net/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</blockquote></div>

--f46d040711e566c92504cce557dc--


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 14:37:40 2012
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 385B121F86A9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 14:37:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.061
X-Spam-Level: 
X-Spam-Status: No, score=-10.061 tagged_above=-999 required=5 tests=[AWL=0.538, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wixcEuO+hCBH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 14:37:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7FEA921F869B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 14:37:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRV4V-0001nU-S6 for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 21:34:35 +0000
Resent-Date: Thu, 25 Oct 2012 21:34:35 +0000
Resent-Message-Id: <E1TRV4V-0001nU-S6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TRV4P-0001mZ-Pi for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 21:34:29 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TRV4N-00088T-Ed for ietf-http-wg@w3.org; Thu, 25 Oct 2012 21:34:29 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.3.0 (Build 3461)) with SMTP id <0019324119@smtp.qbik.com>; Fri, 26 Oct 2012 10:34:03 +1300
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Yoav Nir" <ynir@checkpoint.com>, "Patrick McManus" <pmcmanus@mozilla.com>
Cc: "Gabriel Montenegro" <Gabriel.Montenegro@microsoft.com>, "Mark Nottingham" <mnot@mnot.net>, "Willy Tarreau" <w@1wt.eu>, "Amos Jeffries" <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 25 Oct 2012 21:34:01 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <874F094A-2EEE-4574-827A-6677143748A2@checkpoint.com>
Message-Id: <emdf39c150-5e16-4fc0-b38a-681408f0e78f@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.081, RP_MATCHES_RCVD=-0.736, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRV4N-00088T-Ed a9ca5d29c4693a00f809221ef38a9dc4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/emdf39c150-5e16-4fc0-b38a-681408f0e78f@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15518
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>

------ Original Message ------
From: "Yoav Nir" <ynir@checkpoint.com>
To: "Patrick McManus" <pmcmanus@mozilla.com>
Cc: "Gabriel Montenegro" <Gabriel.Montenegro@microsoft.com>;"Mark=20
Nottingham" <mnot@mnot.net>;"Willy Tarreau" <w@1wt.eu>;"Amos Jeffries"=20
<squid3@treenet.co.nz>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Sent: 26/10/2012 2:21:46 a.m.
Subject: Re: #385: HTTP2 Upgrade / Negotiation
>On Oct 25, 2012, at 3:01 PM, Patrick McManus wrote:
>
>
>>
>>I know this has been said before by the Chrome team, but I too am startin=
g to see websocket bugs pile up due to transparent proxies that don't speak=
 upgrade and explicit proxies that don't let you tunnel to port 80 as confi=
gured.
>>
>
>
>Transparent proxies should learn about Upgrade: and either support websock=
ets/http2 or remove the header. Hopefully they will have done this by the=
 time HTTP/2.0 over port 80 is actually deployed.
>
>
>>
>>(bluecoat and MS ISA/TMG are the most common I hear about). ws:// hasn't=
 been very successful in those environments but wss:// has been. Good thing=
 that in the websockets world there aren't a lot of legacy urls to worry=
 about - not true for http :(
>>
>>For http2, I don't think it is enough to just fail fast to http/1 when=
 for most cases we could get those users speaking HTTP/2 over tls on 443.=
 A mechanism like Alternate-Protocol accomplishes that and I think that =
is a more important property than upgrading in band (which is admittedly=
 nice!).
>>
>
>
>So rather than go to HTTP/1.1 you'd prefer going to TLS with an anonymous=
 ciphersuite?  I don't think that would help much, as the transparent proxi=
es that also MitM SSL are getting ever more popular.
>
>
>>
>>As for caching successful upgrades or successful A-P's they pretty much=
 have the same set of tradeoffs.
>>
>
>
>Yes, but I don't think it's all that bad. Browsers and operating systems=
 have some feeling of location, which changes when any of your IP addresses=
 change, or your routing table changes, or the configuration of the proxy=
 or DNS servers changes. Browsers notice these things so that they can quic=
kly re-establish connections, re-query the DNS, and reload pages that had=
 some failure.  If you have this event also invalidate the cache, so that=
 you go through the Upgrade handshake again, you should usually not have=
 a case where a proxy has suddenly got in your path and won't let you use=
 HTTP/2 over TCP port 80 any more.
>

On this note, I think it would be really useful if there could be some=20
machine-readable way to query a proxy for HTTP-related capabilities. =20
If that were part of 2.0, then failure to respond appropriately to such=20
a query would in itself be an indication of lack of support for 2.0.

The client could do this test whenever it became aware of using a new=20
proxy, e.g. before anyone types a URI or clicks a shortcut.  So by the=20
time the first user request is made, the client should know all it=20
needs to know about the proxy.  We should at least be able to solve=20
that part of the problem.

Adrien


>
>
>Yoav
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 14:41:20 2012
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 C8CDA21F867C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 14:41:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.121
X-Spam-Level: 
X-Spam-Status: No, score=-10.121 tagged_above=-999 required=5 tests=[AWL=0.478, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qoh7CNgr39ET for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 14:41:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 445C121F860F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 14:41:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRVA3-000516-Nj for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 21:40:19 +0000
Resent-Date: Thu, 25 Oct 2012 21:40:19 +0000
Resent-Message-Id: <E1TRVA3-000516-Nj@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TRV9z-00050R-RV for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 21:40:15 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TRV9y-0008Oi-QP for ietf-http-wg@w3.org; Thu, 25 Oct 2012 21:40:15 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.3.0 (Build 3461)) with SMTP id <0019324129@smtp.qbik.com>; Fri, 26 Oct 2012 10:39:53 +1300
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Willy Tarreau" <w@1wt.eu>, "Patrick McManus" <pmcmanus@mozilla.com>
Cc: "Yoav Nir" <ynir@checkpoint.com>, "Gabriel Montenegro" <Gabriel.Montenegro@microsoft.com>, "Mark Nottingham" <mnot@mnot.net>, "Amos Jeffries" <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 25 Oct 2012 21:39:52 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <20121025135416.GH16195@1wt.eu>
Message-Id: <em482594e0-a9e2-4b58-8abe-0e03525b0750@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-2.311, RP_MATCHES_RCVD=-0.736, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRV9y-0008Oi-QP b8a8b51b4578bc897894a3fea7a36a03
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/em482594e0-a9e2-4b58-8abe-0e03525b0750@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15519
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>

------ Original Message ------
From: "Willy Tarreau" <w@1wt.eu>
>Thus I would not be surprized to see a success rate close to 100% with =
the
>following sequence to sites accepting both ports when HTTP/2 is released=
 :
> 1) HTTP Upgrade on port 80
> 2) fallback to TLS on port 443
>
>
I think 2 could introduce a significant delay.  What proportion of=20
websites support TLS on 443?

Or is this purely to get past intermediaries to a site you already know=20
supports 2.0?  Or how do you know already that the site is available on=20
443, and if someone clicked a http:// URL, is it valid to make a https=20
connection?  Sometimes it's a different site on the different port.

In fact for that reason alone, you can't change the port that the URI=20
specified from 80 to 443.  You can end up getting the wrong site.

I foresee a bunch of problems where 1 fails due to intercepting proxy=20
not understanding Upgrade, and 2 fails because the site is http only on=20
80 only.

Or did I misunderstand what you're getting at?

Regards

Adrien
>
>And when both fail, clearly 1.1 is the only way to go.
>
>Regards,
>Willy
>
>
>
>



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 14:48:47 2012
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 B4C8521F8782 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 14:48:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.353
X-Spam-Level: 
X-Spam-Status: No, score=-9.353 tagged_above=-999 required=5 tests=[AWL=1.246, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IU4t2jupGSOv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 14:48:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0BB3221F8727 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 14:48:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRVGh-0000gw-QP for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 21:47:11 +0000
Resent-Date: Thu, 25 Oct 2012 21:47:11 +0000
Resent-Message-Id: <E1TRVGh-0000gw-QP@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRVGe-0000gG-D4 for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 21:47:08 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1TRVGd-0000BH-8Z for ietf-http-wg@w3.org; Thu, 25 Oct 2012 21:47:08 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q9PLkIaB020183; Thu, 25 Oct 2012 23:46:18 +0200
Date: Thu, 25 Oct 2012 23:46:18 +0200
From: Willy Tarreau <w@1wt.eu>
To: "Adrien W. de Croy" <adrien@qbik.com>
Cc: Patrick McManus <pmcmanus@mozilla.com>, Yoav Nir <ynir@checkpoint.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Mark Nottingham <mnot@mnot.net>, Amos Jeffries <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20121025214618.GK16195@1wt.eu>
References: <20121025135416.GH16195@1wt.eu> <em482594e0-a9e2-4b58-8abe-0e03525b0750@bombed>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <em482594e0-a9e2-4b58-8abe-0e03525b0750@bombed>
User-Agent: Mutt/1.4.2.3i
Received-SPF: pass client-ip=62.212.114.60; envelope-from=w@1wt.eu; helo=1wt.eu
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-2.307, RP_MATCHES_RCVD=-0.736, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRVGd-0000BH-8Z b9e5018803e09058f8319ea858aa705c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/20121025214618.GK16195@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15520
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>

Hi Adrien,

On Thu, Oct 25, 2012 at 09:39:52PM +0000, Adrien W. de Croy wrote:
> I think 2 could introduce a significant delay.  What proportion of 
> websites support TLS on 443?

it is increasing but some of them will still block 443 (mine used to
until not long ago).

> Or is this purely to get past intermediaries to a site you already know 
> supports 2.0?

Could be a reasonable prerequisite.

> Or how do you know already that the site is available on 
> 443, and if someone clicked a http:// URL, is it valid to make a https 
> connection?  Sometimes it's a different site on the different port.

Hmmm you're right, I had not thought about this one. It could even
cause a security issue if the port is relayed to someone else who
controls the TLS termination. Please forget this idea.

> In fact for that reason alone, you can't change the port that the URI 
> specified from 80 to 443.  You can end up getting the wrong site.
> 
> I foresee a bunch of problems where 1 fails due to intercepting proxy 
> not understanding Upgrade, and 2 fails because the site is http only on 
> 80 only.
> 
> Or did I misunderstand what you're getting at?

No you did not, and instead you proved that my suggestion was stupid,
so there's no point thinking about it anymore :-)

Thanks !
Willy



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 15:58:16 2012
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 AAA3821F8893 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 15:58:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.169
X-Spam-Level: 
X-Spam-Status: No, score=-10.169 tagged_above=-999 required=5 tests=[AWL=0.430, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aRQ8tuv8vldX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 15:58:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C740C21F8886 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 15:58:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRWL5-0004kj-77 for ietf-http-wg-dist@listhub.w3.org; Thu, 25 Oct 2012 22:55:47 +0000
Resent-Date: Thu, 25 Oct 2012 22:55:47 +0000
Resent-Message-Id: <E1TRWL5-0004kj-77@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TRWKz-0004k0-O8 for ietf-http-wg@listhub.w3.org; Thu, 25 Oct 2012 22:55:41 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TRWKy-0002L8-8a for ietf-http-wg@w3.org; Thu, 25 Oct 2012 22:55:41 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.3.0 (Build 3461)) with SMTP id <0019324279@smtp.qbik.com>; Fri, 26 Oct 2012 11:55:17 +1300
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Fall, Kevin" <kfall@qti.qualcomm.com>, "Mark Nottingham" <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Date: Thu, 25 Oct 2012 22:55:16 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <BB72E60F7A18154A9B1352D1DF6FEE571E268F46@NASANEXD01E.na.qualcomm.com>
Message-Id: <em5c25be47-cbb4-4234-8881-2839a127c1d0@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: AWL=-1.849, RP_MATCHES_RCVD=-0.736, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRWKy-0002L8-8a 8abce4f324e20ac98471e0501cc47f08
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-kfall-httpbis-server-ranges [was: Preliminary agenda for Atlanta]
Archived-At: <http://www.w3.org/mid/em5c25be47-cbb4-4234-8881-2839a127c1d0@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15521
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>

=EF=BB=BF
Hi

------ Original Message ------
From: "Fall, Kevin" <kfall@qti.qualcomm.com>
To: "Mark Nottingham" <mnot@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Sent: 26/10/2012 2:32:44 a.m.
Subject: Re: draft-kfall-httpbis-server-ranges [was: Preliminary agenda=20
for Atlanta]
>That is one case, but perhaps more interesting/controversial is this one:
>
> Range: bytes=3D100-
>
> Content-Range: bytes 200-300/1000.
>

I'm struggling to see the point of this.

What real world case would something like this solve?  Presumably the=20
client would need to request 100-200 again?  If not, then why even deal=20
in bytes and part ranges like this at all?

Regards

Adrien


>
>
>A subsequent request might likely then be:
>
> Range: 100-200, 300-1000
>
>for which the responses might be
>
> Content-Range: 100-200, 300-1000
>
>or even something like
>
> Range: 100-1000
>
>(although this later case isn't as desirable due the redundancy).
>
>It would still be straightforward to implement the current rule of not
>returning multiple ranges unless multiple ranges were given in the request=
.
>Although I don't know if the intent is to continue with this guidance
>given a new HTTP version. [?]
>
>A related issue is which response code to use for such responses.
>Although 206 seems most logical given the current set of defined codes =
(it
>is, after all, 'Partial Content'), perhaps it might be more clear if a
>different code were used.  I'm neutral on that issue for the moment; the
>draft suggests 206.
>
>thx
>- K
>
>On 10/24/12 8:32 PM PDT, "Mark Nottingham" <mnot@mnot.net> wrote:
>
>
>>
>>Kevin,
>>
>>On 23/10/2012, at 3:11 PM, "Fall, Kevin" <kfall@qti.qualcomm.com> wrote:
>>
>>
>>>
>>>Would like a chance to briefly bring up the range / partial delivery
>>>issue
>>>I mentioned on the list.
>>>[and what's behind
>>>http://tools.ietf.org/id/draft-kfall-httpbis-server-ranges-00.txt]
>>>
>>
>>
>>
>>We can spend a bit of time on it in the "related work" item of the
>>session on Monday, yes.
>>
>>To make the use case a bit more concrete, and make sure I understand it,
>>one example AIUI would be a request for
>>
>> Range: bytes=3D100-
>>
>>to which you return, say:
>>
>> Content-Range: bytes 100-200/1000
>> ETag: "1234"
>>
>>and then to a subseqent, identical request
>>
>> Content-Range: bytes 100-400/1000
>> ETag: "1234"
>>
>>Correct?
>>
>>Cheers,
>>
>>
>>--
>>Mark Nottingham   http://www.mnot.net/
>>
>>
>>
>>
>



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 18:31:59 2012
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 4B18521F84C0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 18:31:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.569
X-Spam-Level: 
X-Spam-Status: No, score=-10.569 tagged_above=-999 required=5 tests=[AWL=0.030, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tij7f7JziVTT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 18:31:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C789821F84CA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 18:31:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRYjB-0000lF-5L for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 01:28:49 +0000
Resent-Date: Fri, 26 Oct 2012 01:28:49 +0000
Resent-Message-Id: <E1TRYjB-0000lF-5L@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TRYj5-0000kJ-WA for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 01:28:44 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TRYj4-000773-CZ for ietf-http-wg@w3.org; Fri, 26 Oct 2012 01:28:43 +0000
Received: from [192.168.1.102] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 5B33EE7190 for <ietf-http-wg@w3.org>; Fri, 26 Oct 2012 14:28:18 +1300 (NZDT)
Message-ID: <5089E729.9050801@treenet.co.nz>
Date: Fri, 26 Oct 2012 14:28:09 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <emdf39c150-5e16-4fc0-b38a-681408f0e78f@bombed>
In-Reply-To: <emdf39c150-5e16-4fc0-b38a-681408f0e78f@bombed>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-3.104, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRYj4-000773-CZ f3aa5911f8010fc536e299eddbbb6beb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/5089E729.9050801@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15522
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>

On 26/10/2012 10:34 a.m., Adrien W. de Croy wrote:
>
> ------ Original Message ------
> From: "Yoav Nir" <ynir@checkpoint.com>
> To: "Patrick McManus" <pmcmanus@mozilla.com>
> Cc: "Gabriel Montenegro" <Gabriel.Montenegro@microsoft.com>;"Mark 
> Nottingham" <mnot@mnot.net>;"Willy Tarreau" <w@1wt.eu>;"Amos Jeffries" 
> <squid3@treenet.co.nz>;"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Sent: 26/10/2012 2:21:46 a.m.
> Subject: Re: #385: HTTP2 Upgrade / Negotiation
>> On Oct 25, 2012, at 3:01 PM, Patrick McManus wrote:
>>
>>
>>>
>>> I know this has been said before by the Chrome team, but I too am 
>>> starting to see websocket bugs pile up due to transparent proxies 
>>> that don't speak upgrade and explicit proxies that don't let you 
>>> tunnel to port 80 as configured.
>>>
>>
>>
>> Transparent proxies should learn about Upgrade: and either support 
>> websockets/http2 or remove the header. Hopefully they will have done 
>> this by the time HTTP/2.0 over port 80 is actually deployed.
>>
>>
>>>
>>> (bluecoat and MS ISA/TMG are the most common I hear about). ws:// 
>>> hasn't been very successful in those environments but wss:// has 
>>> been. Good thing that in the websockets world there aren't a lot of 
>>> legacy urls to worry about - not true for http :(
>>>
>>> For http2, I don't think it is enough to just fail fast to http/1 
>>> when for most cases we could get those users speaking HTTP/2 over 
>>> tls on 443. A mechanism like Alternate-Protocol accomplishes that 
>>> and I think that is a more important property than upgrading in band 
>>> (which is admittedly nice!).
>>>
>>
>>
>> So rather than go to HTTP/1.1 you'd prefer going to TLS with an 
>> anonymous ciphersuite?  I don't think that would help much, as the 
>> transparent proxies that also MitM SSL are getting ever more popular.
>>
>>
>>>
>>> As for caching successful upgrades or successful A-P's they pretty 
>>> much have the same set of tradeoffs.
>>>
>>
>>
>> Yes, but I don't think it's all that bad. Browsers and operating 
>> systems have some feeling of location, which changes when any of your 
>> IP addresses change, or your routing table changes, or the 
>> configuration of the proxy or DNS servers changes. Browsers notice 
>> these things so that they can quickly re-establish connections, 
>> re-query the DNS, and reload pages that had some failure.  If you 
>> have this event also invalidate the cache, so that you go through the 
>> Upgrade handshake again, you should usually not have a case where a 
>> proxy has suddenly got in your path and won't let you use HTTP/2 over 
>> TCP port 80 any more.
>>
>
> On this note, I think it would be really useful if there could be some 
> machine-readable way to query a proxy for HTTP-related capabilities.  
> If that were part of 2.0, then failure to respond appropriately to 
> such a query would in itself be an indication of lack of support for 2.0.
>
> The client could do this test whenever it became aware of using a new 
> proxy, e.g. before anyone types a URI or clicks a shortcut. So by the 
> time the first user request is made, the client should know all it 
> needs to know about the proxy.  We should at least be able to solve 
> that part of the problem.

You mean "OPTIONS * HTTP/..." ?

Amos


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 18:49:54 2012
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 A268921F8522 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 18:49:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.208
X-Spam-Level: 
X-Spam-Status: No, score=-10.208 tagged_above=-999 required=5 tests=[AWL=0.391, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WRcWXVeWlm1X for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 18:49:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9CB8021F850B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 18:49:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRZ1Y-0002sH-Fk for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 01:47:48 +0000
Resent-Date: Fri, 26 Oct 2012 01:47:48 +0000
Resent-Message-Id: <E1TRZ1Y-0002sH-Fk@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TRZ1U-0002rc-MU for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 01:47:44 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TRZ1S-0007l5-WE for ietf-http-wg@w3.org; Fri, 26 Oct 2012 01:47:44 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.3.0 (Build 3461)) with SMTP id <0019324570@smtp.qbik.com>; Fri, 26 Oct 2012 14:47:19 +1300
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "Amos Jeffries" <squid3@treenet.co.nz>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Fri, 26 Oct 2012 01:47:18 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8
In-Reply-To: <5089E729.9050801@treenet.co.nz>
Message-Id: <emcc9604a4-b61e-4704-b0ae-c80c3d8430de@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-2.3
X-W3C-Hub-Spam-Report: AWL=-1.541, RP_MATCHES_RCVD=-0.736, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRZ1S-0007l5-WE 1040ee4d5fc688111766440ad4faa650
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/emcc9604a4-b61e-4704-b0ae-c80c3d8430de@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15523
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>

=EF=BB=BF
------ Original Message ------
From: "Amos Jeffries" <squid3@treenet.co.nz>
>>>

>>
>>On this note, I think it would be really useful if there could be=20
>>some machine-readable way to query a proxy for HTTP-related=20
>>capabilities. If that were part of 2.0, then failure to respond=20
>>appropriately to such a query would in itself be an indication of=20
>>lack of support for 2.0.=20
>>
>>The client could do this test whenever it became aware of using a new=20
>>proxy, e.g. before anyone types a URI or clicks a shortcut. So by the=20
>>time the first user request is made, the client should know all it=20
>>needs to know about the proxy. We should at least be able to solve=20
>>that part of the problem.=20
>
>You mean "OPTIONS * HTTP/..." ?=20

that kind of thing, but need to be more specific about what and how to=20
advertise things.  RFC2616 is fairly vague.  E.g. bodies on request or=20
response aren't specified, but may be specified in extension etc,=20
otherwise you get to send headers indicating optional features, but=20
like what?  Accept-range, Allow, T-E?

maybe I need to do some more research for docs describing specific=20
option advertisements.  Is there a list of such specs anywhere?

Adrien
>
>
>Amos=20
>



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 19:16:24 2012
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 F36CB21F88CB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 19:16:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.572
X-Spam-Level: 
X-Spam-Status: No, score=-10.572 tagged_above=-999 required=5 tests=[AWL=0.027, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F83dZ9QNS27Q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 19:16:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6780B21F88AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 19:16:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRZR4-0003d8-Rp for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 02:14:10 +0000
Resent-Date: Fri, 26 Oct 2012 02:14:10 +0000
Resent-Message-Id: <E1TRZR4-0003d8-Rp@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TRZR1-0003cK-2e for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 02:14:07 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TRZR0-0000Ft-5b for ietf-http-wg@w3.org; Fri, 26 Oct 2012 02:14:07 +0000
Received: from [192.168.1.102] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 9A4E8E717B for <ietf-http-wg@w3.org>; Fri, 26 Oct 2012 15:13:42 +1300 (NZDT)
Message-ID: <5089F1CD.4010907@treenet.co.nz>
Date: Fri, 26 Oct 2012 15:13:33 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <em5c25be47-cbb4-4234-8881-2839a127c1d0@bombed>
In-Reply-To: <em5c25be47-cbb4-4234-8881-2839a127c1d0@bombed>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-2.8
X-W3C-Hub-Spam-Report: AWL=-2.822, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRZR0-0000Ft-5b 47598456e7c0e26c41e98078568be176
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-kfall-httpbis-server-ranges [was: Preliminary agenda for  Atlanta]
Archived-At: <http://www.w3.org/mid/5089F1CD.4010907@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15524
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>

On 26/10/2012 11:55 a.m., Adrien W. de Croy wrote:
>
> Hi
>
> ------ Original Message ------
> From: "Fall, Kevin"
>> That is one case, but perhaps more interesting/controversial is this 
>> one:
>>
>> Range: bytes=100-
>>
>> Content-Range: bytes 200-300/1000.
>>
>
> I'm struggling to see the point of this.
>
> What real world case would something like this solve?  Presumably the 
> client would need to request 100-200 again?  If not, then why even 
> deal in bytes and part ranges like this at all?
>

Squid would potentially implement this.

* stale-while-revalidate and stale-if-error could use cached but not 
quite matching range entities to respond while the upstream request is 
being processed.

  *  our "collaped forwarding" feature has some issues with late 
arriving requests when the start of the response entity has been 
discarded from buffer already. Currently we are forced to re-fetch. This 
would permit the some Range requests to be served despite missing chunks 
of entity.

Amos


From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 19:43:00 2012
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 35D9F21F8755 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 19:43:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SD33LoEFJ9eL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 19:42:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B147921F84D8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 19:42:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRZqm-00072L-3h for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 02:40:44 +0000
Resent-Date: Fri, 26 Oct 2012 02:40:44 +0000
Resent-Message-Id: <E1TRZqm-00072L-3h@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <albert-lunde@northwestern.edu>) id 1TRZqi-00071g-Qx for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 02:40:40 +0000
Received: from mailbackend.panix.com ([166.84.1.89]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <albert-lunde@northwestern.edu>) id 1TRZqi-0003ne-2t for ietf-http-wg@w3.org; Fri, 26 Oct 2012 02:40:40 +0000
Received: from [192.168.15.3] (unknown [184.78.58.209]) by mailbackend.panix.com (Postfix) with ESMTP id 9C6402E035; Thu, 25 Oct 2012 22:40:18 -0400 (EDT)
Message-ID: <5089F813.4020209@northwestern.edu>
Date: Thu, 25 Oct 2012 21:40:19 -0500
From: Albert Lunde <albert-lunde@northwestern.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <0AE0EC57-F2BC-4DAD-B939-C07E2B584D53@mnot.net> <BB72E60F7A18154A9B1352D1DF6FEE571E268F46@NASANEXD01E.na.qualcomm.com> <CACuKZqHBgwbnL5O4dgJe82-hDcZDbpiG3yStX18TKrTmg71z4w@mail.gmail.com>
In-Reply-To: <CACuKZqHBgwbnL5O4dgJe82-hDcZDbpiG3yStX18TKrTmg71z4w@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=166.84.1.89; envelope-from=albert-lunde@northwestern.edu; helo=mailbackend.panix.com
X-W3C-Hub-Spam-Status: No, score=-2.3
X-W3C-Hub-Spam-Report: RCVD_IN_DNSWL_MED=-2.3
X-W3C-Scan-Sig: maggie.w3.org 1TRZqi-0003ne-2t 8e2412fc2c9b86540dbafdeb48dae5c5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-kfall-httpbis-server-ranges [was: Preliminary agenda for  Atlanta]
Archived-At: <http://www.w3.org/mid/5089F813.4020209@northwestern.edu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15525
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>

On 10/25/2012 10:48 AM, Zhong Yu wrote:
> Could your use cases be solved by a new transfer coding?
>
> For example, a "shattered" coding, where entity body is transmitted in
> pieces, and the pieces are in undetermined order:

Bear in mind the previous issues with denial of service attacks based on 
too-complex range requests.

There needs to be relatively simple bounds (that a server can enforce) 
on the complexity of what one request can ask for.



From ietf-http-wg-request@listhub.w3.org  Thu Oct 25 20:09:14 2012
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 2FD1821F84B5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 20:09:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T76jzJwZXt0g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 25 Oct 2012 20:09:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 52BDC21F8481 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 25 Oct 2012 20:09:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRaGB-0000kL-Fr for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 03:06:59 +0000
Resent-Date: Fri, 26 Oct 2012 03:06:59 +0000
Resent-Message-Id: <E1TRaGB-0000kL-Fr@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <kfall@qti.qualcomm.com>) id 1TRaG6-0000ht-Bw for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 03:06:54 +0000
Received: from sabertooth01.qualcomm.com ([65.197.215.72]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <kfall@qti.qualcomm.com>) id 1TRaG5-0001fV-3u for ietf-http-wg@w3.org; Fri, 26 Oct 2012 03:06:54 +0000
X-IronPort-AV: E=McAfee;i="5400,1158,6876"; a="2137939"
Received: from ironmsg03-l.qualcomm.com ([172.30.48.18]) by sabertooth01.qualcomm.com with ESMTP; 25 Oct 2012 19:52:29 -0700
X-IronPort-AV: E=Sophos;i="4.80,650,1344236400";  d="scan'208";a="354350642"
Received: from nasanexhc16.na.qualcomm.com ([129.46.52.216]) by Ironmsg03-L.qualcomm.com with ESMTP/TLS/RC4-SHA; 25 Oct 2012 20:06:17 -0700
Received: from NASANEXD01E.na.qualcomm.com ([169.254.5.59]) by nasanexhc16.na.qualcomm.com ([129.46.52.216]) with mapi id 14.02.0318.001; Thu, 25 Oct 2012 20:06:17 -0700
From: "Fall, Kevin" <kfall@qti.qualcomm.com>
To: "Adrien W. de Croy" <adrien@qbik.com>, Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Thread-Topic: draft-kfall-httpbis-server-ranges [was: Preliminary agenda for Atlanta]
Thread-Index: AQHNsmFbGV2ozWIlDEeUnXbEZXBMOJfKBaeAgAEShwD//9DDgA==
Date: Fri, 26 Oct 2012 03:06:16 +0000
Message-ID: <BB72E60F7A18154A9B1352D1DF6FEE571E2692A3@NASANEXD01E.na.qualcomm.com>
In-Reply-To: <em5c25be47-cbb4-4234-8881-2839a127c1d0@bombed>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [199.106.115.132]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <1BC1C85806C80F4283E2CE884AD9CEA8@qualcomm.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Received-SPF: pass client-ip=65.197.215.72; envelope-from=kfall@qti.qualcomm.com; helo=sabertooth01.qualcomm.com
X-W3C-Hub-Spam-Status: No, score=-2.3
X-W3C-Hub-Spam-Report: AWL=-1.541, RP_MATCHES_RCVD=-0.736, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRaG5-0001fV-3u c6f4e13ecba3867c74b8871175cdfdc6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-kfall-httpbis-server-ranges [was: Preliminary agenda for  Atlanta]
Archived-At: <http://www.w3.org/mid/BB72E60F7A18154A9B1352D1DF6FEE571E2692A3@NASANEXD01E.na.qualcomm.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15526
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>

The real world reason this comes up is described in the draft. [basically,
portions of multimedia segments]
The issue is when the server has some portion of an entity that may be out
of sequence from the start.
(that is, the server may have 200-300 but not 100-200.  The client may ask
later for 100-200 or decide to move on without those parts).

I was hoping to have a few mins at the ATL meeting to describe how/why
this issue comes up.

thx
- K

On 10/25/12 3:55 PM PDT, "Adrien W. de Croy" <adrien@qbik.com> wrote:

>
>Hi
>
>------ Original Message ------
>From: "Fall, Kevin" <kfall@qti.qualcomm.com>
>To: "Mark Nottingham" <mnot@mnot.net>
>Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
>Sent: 26/10/2012 2:32:44 a.m.
>Subject: Re: draft-kfall-httpbis-server-ranges [was: Preliminary agenda
>for Atlanta]
>>That is one case, but perhaps more interesting/controversial is this one:
>>
>> Range: bytes=3D100-
>>
>> Content-Range: bytes 200-300/1000.
>>
>
>I'm struggling to see the point of this.
>
>What real world case would something like this solve?  Presumably the
>client would need to request 100-200 again?  If not, then why even deal
>in bytes and part ranges like this at all?
>
>Regards
>
>Adrien
>
>
>>
>>
>>A subsequent request might likely then be:
>>
>> Range: 100-200, 300-1000
>>
>>for which the responses might be
>>
>> Content-Range: 100-200, 300-1000
>>
>>or even something like
>>
>> Range: 100-1000
>>
>>(although this later case isn't as desirable due the redundancy).
>>
>>It would still be straightforward to implement the current rule of not
>>returning multiple ranges unless multiple ranges were given in the
>>request.
>>Although I don't know if the intent is to continue with this guidance
>>given a new HTTP version. [?]
>>
>>A related issue is which response code to use for such responses.
>>Although 206 seems most logical given the current set of defined codes
>>(it
>>is, after all, 'Partial Content'), perhaps it might be more clear if a
>>different code were used.  I'm neutral on that issue for the moment; the
>>draft suggests 206.
>>
>>thx
>>- K
>>
>>On 10/24/12 8:32 PM PDT, "Mark Nottingham" <mnot@mnot.net> wrote:
>>
>>
>>>
>>>Kevin,
>>>
>>>On 23/10/2012, at 3:11 PM, "Fall, Kevin" <kfall@qti.qualcomm.com> wrote:
>>>
>>>
>>>>
>>>>Would like a chance to briefly bring up the range / partial delivery
>>>>issue
>>>>I mentioned on the list.
>>>>[and what's behind
>>>>http://tools.ietf.org/id/draft-kfall-httpbis-server-ranges-00.txt]
>>>>
>>>
>>>
>>>
>>>We can spend a bit of time on it in the "related work" item of the
>>>session on Monday, yes.
>>>
>>>To make the use case a bit more concrete, and make sure I understand it,
>>>one example AIUI would be a request for
>>>
>>> Range: bytes=3D100-
>>>
>>>to which you return, say:
>>>
>>> Content-Range: bytes 100-200/1000
>>> ETag: "1234"
>>>
>>>and then to a subseqent, identical request
>>>
>>> Content-Range: bytes 100-400/1000
>>> ETag: "1234"
>>>
>>>Correct?
>>>
>>>Cheers,
>>>
>>>
>>>--
>>>Mark Nottingham   http://www.mnot.net/
>>>
>>>
>>>
>>>
>>
>



From ietf-http-wg-request@listhub.w3.org  Fri Oct 26 01:50:50 2012
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 793A821F84F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 01:50:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.455
X-Spam-Level: 
X-Spam-Status: No, score=-6.455 tagged_above=-999 required=5 tests=[AWL=4.144, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VFLZW+9BgNem for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 01:50:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E08D621F84E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 Oct 2012 01:50:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRfaI-00012R-Cg for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 08:48:06 +0000
Resent-Date: Fri, 26 Oct 2012 08:48:06 +0000
Resent-Message-Id: <E1TRfaI-00012R-Cg@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TRfaD-00011m-8h for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 08:48:01 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TRfaA-0005eR-4N for ietf-http-wg@w3.org; Fri, 26 Oct 2012 08:47:59 +0000
Received: (qmail invoked by alias); 26 Oct 2012 08:47:28 -0000
Received: from p54BB3E68.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.62.104] by mail.gmx.net (mp001) with SMTP; 26 Oct 2012 10:47:28 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/MVx83f+TMT3SnCGAm0baDt4WxuroZNyNe3uDuTD qKYPPkZCIbtUB3
Message-ID: <508A4E1B.6060603@gmx.de>
Date: Fri, 26 Oct 2012 10:47:23 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: ietf-http-wg@w3.org
References: <20121024154717.11819.58061.idtracker@ietfa.amsl.com> <CABP7RbchMZ1bvywfukwiNEMst9spVn2kog3EH-KafHKrSL4oGg@mail.gmail.com>
In-Reply-To: <CABP7RbchMZ1bvywfukwiNEMst9spVn2kog3EH-KafHKrSL4oGg@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.450, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRfaA-0005eR-4N 857475d27c1a074b586c371607f8b06d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification - draft-snell-http-prefer-16.txt
Archived-At: <http://www.w3.org/mid/508A4E1B.6060603@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15527
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>

On 2012-10-24 17:51, James M Snell wrote:
> FYI... a new version of the HTTP Prefer header draft has been published
> based on all of the excellent last call feedback received.
>
> There are several significant changes, all driven by received feedback...
> ...

So I think there should be another LC, optimally after we are done with 
the HTTPbis WGLCs.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Oct 26 05:15:02 2012
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 DBA6121F852E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 05:15:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.601
X-Spam-Level: 
X-Spam-Status: No, score=-7.601 tagged_above=-999 required=5 tests=[AWL=2.998, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xD8rt-rQ7lfb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 05:15:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5B70A21F8513 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 Oct 2012 05:15:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRilk-0006fU-GM for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 12:12:08 +0000
Resent-Date: Fri, 26 Oct 2012 12:12:08 +0000
Resent-Message-Id: <E1TRilk-0006fU-GM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TRild-0006e9-6i for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 12:12:01 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TRikY-00013i-4e for ietf-http-wg@w3.org; Fri, 26 Oct 2012 12:11:16 +0000
Received: (qmail invoked by alias); 26 Oct 2012 12:09:35 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp041) with SMTP; 26 Oct 2012 14:09:35 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18bFOJGqiYbFCgkJOu5Tng4ET/LAQLL9EEvgKWOs/ SvxB0hWHddBwA3
Message-ID: <508A7D7F.3030603@gmx.de>
Date: Fri, 26 Oct 2012 14:09:35 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: ietf-http-wg@w3.org, Barry Leiba <barryleiba@computer.org>
References: <20121024154717.11819.58061.idtracker@ietfa.amsl.com> <CABP7RbchMZ1bvywfukwiNEMst9spVn2kog3EH-KafHKrSL4oGg@mail.gmail.com> <508A4E1B.6060603@gmx.de>
In-Reply-To: <508A4E1B.6060603@gmx.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-2.403, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRikY-00013i-4e 32c1ca5772e3cd538f95d29e520ceb5d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification - draft-snell-http-prefer-16.txt
Archived-At: <http://www.w3.org/mid/508A7D7F.3030603@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15528
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>

On 2012-10-26 10:47, Julian Reschke wrote:
> On 2012-10-24 17:51, James M Snell wrote:
>> FYI... a new version of the HTTP Prefer header draft has been published
>> based on all of the excellent last call feedback received.
>>
>> There are several significant changes, all driven by received feedback...
>> ...
>
> So I think there should be another LC, optimally after we are done with
> the HTTPbis WGLCs.

So I hear this was approved in the meantime without another round of 
review. This is bad.

For instance, the newly introduced Preference-Applied header field is 
defined as:

   Preference-Applied = "Preference-Applied" ":" 1#token

and has the example:

    Response:

      HTTP/1.1 200 OK
      Content-Type: application/json
      Preference-Applied: return=representation
      Content-Location: /my-document

      {"a": 1}

But the "token" ABNF production doesn't include "=".

There may be more problems like these. Please go back to LC.

Best regards, Julian





From ietf-http-wg-request@listhub.w3.org  Fri Oct 26 05:19:36 2012
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 9C8C121F843D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 05:19:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.583
X-Spam-Level: 
X-Spam-Status: No, score=-6.583 tagged_above=-999 required=5 tests=[AWL=3.393, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TE9LXrWZ2xgR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 05:19:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DD49421F8422 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 Oct 2012 05:19:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRirl-000314-Hw for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 12:18:21 +0000
Resent-Date: Fri, 26 Oct 2012 12:18:21 +0000
Resent-Message-Id: <E1TRirl-000314-Hw@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1TRirh-00030N-OS for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 12:18:17 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1TRirf-0004RT-PH for ietf-http-wg@w3.org; Fri, 26 Oct 2012 12:18:16 +0000
Received: by mail-vc0-f171.google.com with SMTP id m18so3122460vcm.2 for <ietf-http-wg@w3.org>; Fri, 26 Oct 2012 05:17:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=O75I+i4PrHmH3ZUEGe4p2gsFRuNwSwPZlfneYP6SkNs=; b=BTBqcroojrO/Wstt2SnkZnrIKj4MRcVl/b+jThJGN0Xw1EmaVo/4xXgl5wVOACD4Z3 cviLQH/cghLLpT/v4ESpIVCuFgJbWG5Y0j+Mqk916aqa9xazWMWgEcS+4PqawIjxsLjM 3UGmrzPyDpmiEKypCK8Gm4urvTMftlENuQ7MZzJZvmxcTAnlPG6AZ43I/ZHSj7jIFuqq fVOkzYSmG1XjLU0smtIcpbvqnMKNz0Be9yaO95LnQ5YHYSe1K8oapaKp+e76e/rk1UKb Qdcvmiuv41bknj1/AqYSoE/ADmQ8GrIdA8NJCTjP/84nL8xh/+rkYiMIXSD3cNm6wy6H PzSA==
MIME-Version: 1.0
Received: by 10.220.220.5 with SMTP id hw5mr18493926vcb.53.1351253869917; Fri, 26 Oct 2012 05:17:49 -0700 (PDT)
Sender: barryleiba@gmail.com
Received: by 10.58.28.231 with HTTP; Fri, 26 Oct 2012 05:17:49 -0700 (PDT)
In-Reply-To: <508A7D7F.3030603@gmx.de>
References: <20121024154717.11819.58061.idtracker@ietfa.amsl.com> <CABP7RbchMZ1bvywfukwiNEMst9spVn2kog3EH-KafHKrSL4oGg@mail.gmail.com> <508A4E1B.6060603@gmx.de> <508A7D7F.3030603@gmx.de>
Date: Fri, 26 Oct 2012 08:17:49 -0400
X-Google-Sender-Auth: bc1ptUDhhGr6Yd1lcLpz3ek6UFo
Message-ID: <CALaySJJv4afosoKHApVtd53oLshqaD+5SSZ-nZ+QdT7-Fr4k9A@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=14dae9cfcc02eaf67304ccf54e85
Received-SPF: pass client-ip=209.85.220.171; envelope-from=barryleiba@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-2.632, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TRirf-0004RT-PH 0813f3309840904b9117fb6c23b350b7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification - draft-snell-http-prefer-16.txt
Archived-At: <http://www.w3.org/mid/CALaySJJv4afosoKHApVtd53oLshqaD+5SSZ-nZ+QdT7-Fr4k9A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15529
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>

--14dae9cfcc02eaf67304ccf54e85
Content-Type: text/plain; charset=ISO-8859-1

>
>
>> So I think there should be another LC, optimally after we are done with
>> the HTTPbis WGLCs.
>>
>
> So I hear this was approved in the meantime without another round of
> review. This is bad.


You needed to have brought this up a lot sooner.


>
> For instance, the newly introduced Preference-Applied header field is
> defined as:
>
>   Preference-Applied = "Preference-Applied" ":" 1#token
>
> and has the example:
>
>    Response:
>
>      HTTP/1.1 200 OK
>      Content-Type: application/json
>      Preference-Applied: return=representation
>      Content-Location: /my-document
>
>      {"a": 1}
>
> But the "token" ABNF production doesn't include "=".
>
> There may be more problems like these. Please go back to LC.


No.  Please work out any issues with James, and they can be fixed in AUTH48
(which won't happen until the httpbis docs are done anyway).  That
shouldn't be a problem.  But work them out now, before anyone forgets, and
let me know the result so I can be sure the changes get in.

Barry

--14dae9cfcc02eaf67304ccf54e85
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
So I think there should be another LC, optimally after we are done with<br>
the HTTPbis WGLCs.<br>
</blockquote>
<br>
So I hear this was approved in the meantime without another round of review=
. This is bad.</blockquote><div><br></div><div>You needed to have brought t=
his up a lot sooner.</div><div>=A0</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
For instance, the newly introduced Preference-Applied header field is defin=
ed as:<br>
<br>
=A0 Preference-Applied =3D &quot;Preference-Applied&quot; &quot;:&quot; 1#t=
oken<br>
<br>
and has the example:<br>
<br>
=A0 =A0Response:<br>
<br>
=A0 =A0 =A0HTTP/1.1 200 OK<br>
=A0 =A0 =A0Content-Type: application/json<br>
=A0 =A0 =A0Preference-Applied: return=3Drepresentation<br>
=A0 =A0 =A0Content-Location: /my-document<br>
<br>
=A0 =A0 =A0{&quot;a&quot;: 1}<br>
<br>
But the &quot;token&quot; ABNF production doesn&#39;t include &quot;=3D&quo=
t;.<br>
<br>
There may be more problems like these. Please go back to LC.</blockquote><d=
iv><br></div><div>No. =A0Please work out any issues with James, and they ca=
n be fixed in AUTH48 (which won&#39;t happen until the httpbis docs are don=
e anyway). =A0That shouldn&#39;t be a problem. =A0But work them out now, be=
fore anyone forgets, and let me know the result so I can be sure the change=
s get in.</div>
<div><br></div><div>Barry</div><div>=A0<span></span></div>

--14dae9cfcc02eaf67304ccf54e85--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 26 05:23:20 2012
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 768F821F8513 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 05:23:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.649
X-Spam-Level: 
X-Spam-Status: No, score=-7.649 tagged_above=-999 required=5 tests=[AWL=2.950, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id flecBdcePgP4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 05:23:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DCF2821F84ED for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 Oct 2012 05:23:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRivL-000558-EG for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 12:22:03 +0000
Resent-Date: Fri, 26 Oct 2012 12:22:03 +0000
Resent-Message-Id: <E1TRivL-000558-EG@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TRivG-00054P-Vt for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 12:21:59 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TRivG-0001ls-4t for ietf-http-wg@w3.org; Fri, 26 Oct 2012 12:21:58 +0000
Received: (qmail invoked by alias); 26 Oct 2012 12:21:31 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp037) with SMTP; 26 Oct 2012 14:21:31 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/GNx0x5vDGc6NxE31WxHawcrzJcIibElBqP8Ru/W qMYeV/MGG+gmhY
Message-ID: <508A8048.4010007@gmx.de>
Date: Fri, 26 Oct 2012 14:21:28 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf@ietf.org
CC: SM <sm@resistor.net>, James M Snell <jasnell@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>, Barry Leiba <barryleiba@computer.org>
References: <20120914184457.16683.33382.idtracker@ietfa.amsl.com> <6.2.5.6.2.20120914153648.09f87700@resistor.net> <506EF8FA.1030100@gmx.de>
In-Reply-To: <506EF8FA.1030100@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-2.298, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRivG-0001ls-4t 8f2796ec00e57ac7dd1ad178f6b3d31c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Last Call: <draft-snell-http-prefer-14.txt> (Prefer Header for   HTTP) to Proposed Standard
Archived-At: <http://www.w3.org/mid/508A8048.4010007@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15530
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>

On 2012-10-05 17:12, Julian Reschke wrote:
> Hi James,
>
> see below for my (mostly editorial) feedback:

I note that there was no reply to this mail, and at least one problem is 
still present in the latest draft...:

> 2.2.  Examples
>
>     The following examples illustrate the use of various preferences
>     defined by this specification, as well as undefined extensions for
>     strictly illustrative purposes:
>
>     1.  Return a "202 Accepted" response for asynchronous processing if
>     the response cannot be processed within 10 seconds.  An undefined
>     "priority" preference is also specified:
>
>       Prefer: return-asynch, wait=10;
>       Prefer: priority=5;
>
> Shouldn't that be:
>
>       Prefer: return-asynch; wait=10
>       Prefer: priority=5
>
> ???

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Fri Oct 26 05:23:31 2012
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 60AD421F859C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 05:23:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.603
X-Spam-Level: 
X-Spam-Status: No, score=-6.603 tagged_above=-999 required=5 tests=[AWL=3.373, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o4STdDzD7qZx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 05:23:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C19C921F85AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 Oct 2012 05:23:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRivr-00056S-FA for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 12:22:35 +0000
Resent-Date: Fri, 26 Oct 2012 12:22:35 +0000
Resent-Message-Id: <E1TRivr-00056S-FA@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1TRivm-00055j-F2 for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 12:22:30 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba@gmail.com>) id 1TRivl-0001n0-Ls for ietf-http-wg@w3.org; Fri, 26 Oct 2012 12:22:30 +0000
Received: by mail-vc0-f171.google.com with SMTP id m18so3126809vcm.2 for <ietf-http-wg@w3.org>; Fri, 26 Oct 2012 05:22:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.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=Cq8y7JM0oGdHrNvBe4/2i3n+Zexj3goOIacCwuRM5Q0=; b=0AVRo0amqvNZkOh0Gz1Axb9DMsh8deIL2fLPGflzhPkJ5KTgCDOaJghKP6//ii2pLg W6CQwH8Zaso96tSd5ANXLjMYK4ghAaFTXv/LkRjh3TLJLOpitksY5YctMCt31eNcviBH MQbne5BQqjwRZ6q3wlMz318j1m9RssDazmWWva2DI0bb9Y0VlcQh9AFIJ0U716NwGdda EzConI/oWGok4/72H8jgFRFde4UIJXNBLXJ4gKKQN2vwmOBD9FOHqH/es8NJxQzkVhN9 EEg5xDAp1hQVuWtagazyDafBxAL+e9tvLqnakxHkQ5KTcsTvcDjPoHkZIbG8U92Q1pQ7 bjog==
MIME-Version: 1.0
Received: by 10.52.65.51 with SMTP id u19mr29981968vds.3.1351254124136; Fri, 26 Oct 2012 05:22:04 -0700 (PDT)
Sender: barryleiba@gmail.com
Received: by 10.58.28.231 with HTTP; Fri, 26 Oct 2012 05:22:04 -0700 (PDT)
In-Reply-To: <CALaySJJv4afosoKHApVtd53oLshqaD+5SSZ-nZ+QdT7-Fr4k9A@mail.gmail.com>
References: <20121024154717.11819.58061.idtracker@ietfa.amsl.com> <CABP7RbchMZ1bvywfukwiNEMst9spVn2kog3EH-KafHKrSL4oGg@mail.gmail.com> <508A4E1B.6060603@gmx.de> <508A7D7F.3030603@gmx.de> <CALaySJJv4afosoKHApVtd53oLshqaD+5SSZ-nZ+QdT7-Fr4k9A@mail.gmail.com>
Date: Fri, 26 Oct 2012 08:22:04 -0400
X-Google-Sender-Auth: Ou4U0YKs2ZQzp03sYjgA2P3twyo
Message-ID: <CALaySJ+ZCZvrMbn2ecsg30dXJC3VBc4W4YnEeq2vW+M6Zkv+FQ@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3071d0b21207c804ccf55ece
Received-SPF: pass client-ip=209.85.220.171; envelope-from=barryleiba@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-1.682, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRivl-0001n0-Ls 3b856cb65a0bfbd05284f99bdd401ecc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification - draft-snell-http-prefer-16.txt
Archived-At: <http://www.w3.org/mid/CALaySJ+ZCZvrMbn2ecsg30dXJC3VBc4W4YnEeq2vW+M6Zkv+FQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15531
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>

--20cf3071d0b21207c804ccf55ece
Content-Type: text/plain; charset=ISO-8859-1

Actually, clarifying the "sooner" (or, really, backing off on it):
For the example below, Julian really had little chance to comment.  That
was made because of a late comment during IESG Evaluation.  Sorry: this
happens sometimes, much as it shouldn't.  I'm glad you caught it.

In any case, the advice stands: please work this out now, and we'll fix it
in AUTH48.

b

On Friday, October 26, 2012, Barry Leiba wrote:

>
>>> So I think there should be another LC, optimally after we are done with
>>> the HTTPbis WGLCs.
>>>
>>
>> So I hear this was approved in the meantime without another round of
>> review. This is bad.
>
>
> You needed to have brought this up a lot sooner.
>
>
>>
>> For instance, the newly introduced Preference-Applied header field is
>> defined as:
>>
>>   Preference-Applied = "Preference-Applied" ":" 1#token
>>
>> and has the example:
>>
>>    Response:
>>
>>      HTTP/1.1 200 OK
>>      Content-Type: application/json
>>      Preference-Applied: return=representation
>>      Content-Location: /my-document
>>
>>      {"a": 1}
>>
>> But the "token" ABNF production doesn't include "=".
>>
>> There may be more problems like these. Please go back to LC.
>
>
> No.  Please work out any issues with James, and they can be fixed in
> AUTH48 (which won't happen until the httpbis docs are done anyway).  That
> shouldn't be a problem.  But work them out now, before anyone forgets, and
> let me know the result so I can be sure the changes get in.
>
> Barry
>
>

--20cf3071d0b21207c804ccf55ece
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Actually, clarifying the &quot;sooner&quot; (or, really, backing off on it)=
:<div>For the example below, Julian really had little chance to comment. =
=A0That was made because of a late comment during IESG Evaluation. =A0Sorry=
: this happens sometimes, much as it shouldn&#39;t. =A0I&#39;m glad you cau=
ght it.</div>
<div><br></div><div>In any case, the advice stands: please work this out no=
w, and we&#39;ll fix it in AUTH48.</div><div><br></div><div>b<span></span><=
br><br>On Friday, October 26, 2012, Barry Leiba  wrote:<br><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
So I think there should be another LC, optimally after we are done with<br>
the HTTPbis WGLCs.<br>
</blockquote>
<br>
So I hear this was approved in the meantime without another round of review=
. This is bad.</blockquote><div><br></div><div>You needed to have brought t=
his up a lot sooner.</div><div>=A0</div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
For instance, the newly introduced Preference-Applied header field is defin=
ed as:<br>
<br>
=A0 Preference-Applied =3D &quot;Preference-Applied&quot; &quot;:&quot; 1#t=
oken<br>
<br>
and has the example:<br>
<br>
=A0 =A0Response:<br>
<br>
=A0 =A0 =A0HTTP/1.1 200 OK<br>
=A0 =A0 =A0Content-Type: application/json<br>
=A0 =A0 =A0Preference-Applied: return=3Drepresentation<br>
=A0 =A0 =A0Content-Location: /my-document<br>
<br>
=A0 =A0 =A0{&quot;a&quot;: 1}<br>
<br>
But the &quot;token&quot; ABNF production doesn&#39;t include &quot;=3D&quo=
t;.<br>
<br>
There may be more problems like these. Please go back to LC.</blockquote><d=
iv><br></div><div>No. =A0Please work out any issues with James, and they ca=
n be fixed in AUTH48 (which won&#39;t happen until the httpbis docs are don=
e anyway). =A0That shouldn&#39;t be a problem. =A0But work them out now, be=
fore anyone forgets, and let me know the result so I can be sure the change=
s get in.</div>

<div><br></div><div>Barry</div><div>=A0<span></span></div>
</blockquote></div>

--20cf3071d0b21207c804ccf55ece--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 26 07:03:40 2012
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 E136E21F8575 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 07:03:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.621
X-Spam-Level: 
X-Spam-Status: No, score=-6.621 tagged_above=-999 required=5 tests=[AWL=3.355, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FF3+dvuz3A0K for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 07:03:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E41EC21F84EB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 Oct 2012 07:03:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRkSo-0006zl-Q9 for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 14:00:42 +0000
Resent-Date: Fri, 26 Oct 2012 14:00:42 +0000
Resent-Message-Id: <E1TRkSo-0006zl-Q9@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1TRkSk-0006xr-LT for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 14:00:38 +0000
Received: from mail-la0-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <barryleiba.mailing.lists@gmail.com>) id 1TRkSj-00058v-FM for ietf-http-wg@w3.org; Fri, 26 Oct 2012 14:00:38 +0000
Received: by mail-la0-f43.google.com with SMTP id i5so2448267lah.2 for <ietf-http-wg@w3.org>; Fri, 26 Oct 2012 07:00:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=TmRqicDxztOrzwahxqGRUr/7mvslVB4EpbqfcYey7s0=; b=xSItkWRQtyF+KTjU7oGba84CdwxJuOK+rnqtYrG5I/ADy+IMUEmXDDc3spsOxPH3cO yyPQbOXkv7C5eRdUXcdWjGRGKfqmOtw7dEPBF4DK0fdei/shQ/NMFh42IC7+mkgW9OwD SkmlUsO3iYr4EG8j650hjDEhj9uyx9gEtKU4Z0zXPuCj8RVp9MycUWzMVfTweLQqx3oK lnghW1FNkMuprHIpMUj081gGS34q86+9EgcpaW8DeY71IJCOJKwZDJxxUoblpkYyYwok 67oh/cNcrW4UeMrCjBKQuKCFcNO9H7lN/ia23JvnGvAFJVumcWTZQ/VkdMFQakw/bpJn J+4A==
MIME-Version: 1.0
Received: by 10.112.87.167 with SMTP id az7mr9310397lbb.47.1351260010806; Fri, 26 Oct 2012 07:00:10 -0700 (PDT)
Sender: barryleiba.mailing.lists@gmail.com
Received: by 10.112.99.131 with HTTP; Fri, 26 Oct 2012 07:00:10 -0700 (PDT)
In-Reply-To: <CALaySJ+ZCZvrMbn2ecsg30dXJC3VBc4W4YnEeq2vW+M6Zkv+FQ@mail.gmail.com>
References: <20121024154717.11819.58061.idtracker@ietfa.amsl.com> <CABP7RbchMZ1bvywfukwiNEMst9spVn2kog3EH-KafHKrSL4oGg@mail.gmail.com> <508A4E1B.6060603@gmx.de> <508A7D7F.3030603@gmx.de> <CALaySJJv4afosoKHApVtd53oLshqaD+5SSZ-nZ+QdT7-Fr4k9A@mail.gmail.com> <CALaySJ+ZCZvrMbn2ecsg30dXJC3VBc4W4YnEeq2vW+M6Zkv+FQ@mail.gmail.com>
Date: Fri, 26 Oct 2012 10:00:10 -0400
X-Google-Sender-Auth: pUlOkrVyRJJG7MuG3We7hGTphxo
Message-ID: <CAC4RtVBtDuHWv9BXZJBSEWvQorVLAyK8PYZOLouDaB0gjaioLg@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d0401f96df17f5004ccf6bcb7
Received-SPF: pass client-ip=209.85.215.43; envelope-from=barryleiba.mailing.lists@gmail.com; helo=mail-la0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-1.542, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRkSj-00058v-FM 1bc4e836fda41162f8e0ea163eccbce9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification - draft-snell-http-prefer-16.txt
Archived-At: <http://www.w3.org/mid/CAC4RtVBtDuHWv9BXZJBSEWvQorVLAyK8PYZOLouDaB0gjaioLg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15532
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>

--f46d0401f96df17f5004ccf6bcb7
Content-Type: text/plain; charset=ISO-8859-1

>
> For the example below, Julian really had little chance to comment.  That
> was made because of a late comment during IESG Evaluation.  Sorry: this
> happens sometimes, much as it shouldn't.  I'm glad you caught it.
>
> In any case, the advice stands: please work this out now, and we'll fix it
> in AUTH48.
>

Repeating something I said to Julian and James off list, so it's on the
record here:
The Secretariat hasn't sent out the approval announcement yet, so I've
asked them not to, and have put the document substate back to "point
raised, writeup needed".  That will give us a chance to get these last
issues reviewed and fixed, and James can post a -17 version after the
pre-meeting blackout ends.

Barry

--f46d0401f96df17f5004ccf6bcb7
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div>For the example below, Julian really ha=
d little chance to comment. =A0That was made because of a late comment duri=
ng IESG Evaluation. =A0Sorry: this happens sometimes, much as it shouldn&#3=
9;t. =A0I&#39;m glad you caught it.</div>

<div><br></div><div>In any case, the advice stands: please work this out no=
w, and we&#39;ll fix it in AUTH48.</div></blockquote><div><br></div><div>Re=
peating something I said to Julian and James off list, so it&#39;s on the r=
ecord here:</div>
<div>The Secretariat hasn&#39;t sent out the approval announcement yet, so =
I&#39;ve asked them not to, and have put the document substate back to &quo=
t;point raised, writeup needed&quot;. =A0That will give us a chance to get =
these last issues reviewed and fixed, and James can post a -17 version afte=
r the pre-meeting blackout ends.</div>
<div><br></div><div>Barry<span></span></div>

--f46d0401f96df17f5004ccf6bcb7--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 26 08:52:51 2012
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 5EF4721F85D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 08:52:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.378
X-Spam-Level: 
X-Spam-Status: No, score=-8.378 tagged_above=-999 required=5 tests=[AWL=2.220, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bfPbHUzlahZI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 08:52:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 69F2E21F8574 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 Oct 2012 08:52:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRmA4-0008TQ-UM for ietf-http-wg-dist@listhub.w3.org; Fri, 26 Oct 2012 15:49:28 +0000
Resent-Date: Fri, 26 Oct 2012 15:49:28 +0000
Resent-Message-Id: <E1TRmA4-0008TQ-UM@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TRm9x-0008Ga-IV for ietf-http-wg@listhub.w3.org; Fri, 26 Oct 2012 15:49:21 +0000
Received: from mail-qc0-f171.google.com ([209.85.216.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <jasnell@gmail.com>) id 1TRm9p-0000Tn-Nv for ietf-http-wg@w3.org; Fri, 26 Oct 2012 15:49:21 +0000
Received: by mail-qc0-f171.google.com with SMTP id d1so1447563qca.2 for <ietf-http-wg@w3.org>; Fri, 26 Oct 2012 08:48:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=K1EwtGEnOzoANjVlid2D5nvXh07zJNeqYWigg225Z3c=; b=y2GNf+wg3tSCee7pISqfvGu/MaevUENKfiqZRW5xjfmCsSJm3ax2cGMtG4uoCkmQVI yXrMMzq/hbaPMo12DIC4ySe9HjyhTaESo0om3rt/GXoE81I/qErtfzg/faaHollx5ak0 1p934qK2fFtJSo1sQWOGSKQ/VUQcmkQgYm6q5sgFHuN+20xwjs8FPto/899Vc6Em5hE9 AkE6H2m+iyUX8dFsFmDMur9wS8me/G1Mbal+7ic/ExvE3MualJXpOyoNYTULMKS3GUh9 yVZ//tyKQxzR41SGdCvfgSDdw+eu7YkTUXZP26KhcRl1ZA1spF5qPrXZ65dWA18xJGLQ vhrA==
Received: by 10.224.97.197 with SMTP id m5mr11770794qan.57.1351266527680; Fri, 26 Oct 2012 08:48:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.49.81.230 with HTTP; Fri, 26 Oct 2012 08:48:27 -0700 (PDT)
From: James M Snell <jasnell@gmail.com>
Date: Fri, 26 Oct 2012 08:48:27 -0700
Message-ID: <CABP7Rbe7Sp-yyQ=niX90PB1oKWDUOqdGZDuUvbffKqkb+2Ma3A@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/mixed; boundary=20cf3074b0da61185304ccf84139
Received-SPF: pass client-ip=209.85.216.171; envelope-from=jasnell@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.760, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRm9p-0000Tn-Nv 05c41c36a68ceb895f4162b09bf8fc9b
X-Original-To: ietf-http-wg@w3.org
Subject: Prefer pre-publish errata...
Archived-At: <http://www.w3.org/mid/CABP7Rbe7Sp-yyQ=niX90PB1oKWDUOqdGZDuUvbffKqkb+2Ma3A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15533
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>

--20cf3074b0da61185304ccf84139
Content-Type: multipart/alternative; boundary=20cf3074b0da61184e04ccf84137

--20cf3074b0da61184e04ccf84137
Content-Type: text/plain; charset=UTF-8

The HTTP Prefer draft was approved yesterday with a few editorial nits...
it's going to be a while before the doc makes it's way through the RFC
editor queue since it's waiting on httpbis to be wrapped up so to address
the reported nits, I've updated to draft -17. The draft will be posted as
soon as the blackout is lifted. In the meantime, I've attached a copy of
-17 here per Barry's request.

- James

--20cf3074b0da61184e04ccf84137
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"courier new, monospace">The HTTP Prefer draft was approved ye=
sterday with a few editorial nits... it&#39;s going to be a while before th=
e doc makes it&#39;s way through the RFC editor queue since it&#39;s waitin=
g on httpbis to be wrapped up so to address the reported nits, I&#39;ve upd=
ated to draft -17. The draft will be posted as soon as the blackout is lift=
ed. In the meantime, I&#39;ve attached a copy of -17 here per Barry&#39;s r=
equest.=C2=A0</font><div>

<br></div><div><font face=3D"courier new, monospace">- James</font></div>

--20cf3074b0da61184e04ccf84137--
--20cf3074b0da61185304ccf84139
Content-Type: text/plain; charset=US-ASCII; name="draft-snell-http-prefer-17.txt"
Content-Disposition: attachment; filename="draft-snell-http-prefer-17.txt"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_h8rh6eun0

CgoKTmV0d29yayBXb3JraW5nIEdyb3VwICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIEouIFNuZWxsCkludGVybmV0LURyYWZ0ICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgT2N0b2JlciAyNiwgMjAxMgpJbnRlbmRlZCBzdGF0dXM6IFN0YW5k
YXJkcyBUcmFjawpFeHBpcmVzOiBBcHJpbCAyOSwgMjAxMwoKCiAgICAgICAgICAgICAgICAgICAg
ICAgICBQcmVmZXIgSGVhZGVyIGZvciBIVFRQCiAgICAgICAgICAgICAgICAgICAgICAgZHJhZnQt
c25lbGwtaHR0cC1wcmVmZXItMTcKCkFic3RyYWN0CgogICBUaGlzIHNwZWNpZmljYXRpb24gZGVm
aW5lcyBhbiBIVFRQIGhlYWRlciBmaWVsZCB0aGF0IGNhbiBiZSB1c2VkIGJ5IGEKICAgY2xpZW50
IHRvIHJlcXVlc3QgdGhhdCBjZXJ0YWluIGJlaGF2aW9ycyBiZSBlbXBsb3llZCBieSBhIHNlcnZl
cgogICB3aGlsZSBwcm9jZXNzaW5nIGEgcmVxdWVzdC4KClN0YXR1cyBvZiB0aGlzIE1lbW8KCiAg
IFRoaXMgSW50ZXJuZXQtRHJhZnQgaXMgc3VibWl0dGVkIHRvIElFVEYgaW4gZnVsbCBjb25mb3Jt
YW5jZSB3aXRoIHRoZQogICBwcm92aXNpb25zIG9mIEJDUCA3OCBhbmQgQkNQIDc5LgoKICAgSW50
ZXJuZXQtRHJhZnRzIGFyZSB3b3JraW5nIGRvY3VtZW50cyBvZiB0aGUgSW50ZXJuZXQgRW5naW5l
ZXJpbmcKICAgVGFzayBGb3JjZSAoSUVURikuICBOb3RlIHRoYXQgb3RoZXIgZ3JvdXBzIG1heSBh
bHNvIGRpc3RyaWJ1dGUKICAgd29ya2luZyBkb2N1bWVudHMgYXMgSW50ZXJuZXQtRHJhZnRzLiAg
VGhlIGxpc3Qgb2YgY3VycmVudCBJbnRlcm5ldC0KICAgRHJhZnRzIGlzIGF0IGh0dHA6Ly9kYXRh
dHJhY2tlci5pZXRmLm9yZy9kcmFmdHMvY3VycmVudC8uCgogICBJbnRlcm5ldC1EcmFmdHMgYXJl
IGRyYWZ0IGRvY3VtZW50cyB2YWxpZCBmb3IgYSBtYXhpbXVtIG9mIHNpeCBtb250aHMKICAgYW5k
IG1heSBiZSB1cGRhdGVkLCByZXBsYWNlZCwgb3Igb2Jzb2xldGVkIGJ5IG90aGVyIGRvY3VtZW50
cyBhdCBhbnkKICAgdGltZS4gIEl0IGlzIGluYXBwcm9wcmlhdGUgdG8gdXNlIEludGVybmV0LURy
YWZ0cyBhcyByZWZlcmVuY2UKICAgbWF0ZXJpYWwgb3IgdG8gY2l0ZSB0aGVtIG90aGVyIHRoYW4g
YXMgIndvcmsgaW4gcHJvZ3Jlc3MuIgoKICAgVGhpcyBJbnRlcm5ldC1EcmFmdCB3aWxsIGV4cGly
ZSBvbiBBcHJpbCAyOSwgMjAxMy4KCkNvcHlyaWdodCBOb3RpY2UKCiAgIENvcHlyaWdodCAoYykg
MjAxMiBJRVRGIFRydXN0IGFuZCB0aGUgcGVyc29ucyBpZGVudGlmaWVkIGFzIHRoZQogICBkb2N1
bWVudCBhdXRob3JzLiAgQWxsIHJpZ2h0cyByZXNlcnZlZC4KCiAgIFRoaXMgZG9jdW1lbnQgaXMg
c3ViamVjdCB0byBCQ1AgNzggYW5kIHRoZSBJRVRGIFRydXN0J3MgTGVnYWwKICAgUHJvdmlzaW9u
cyBSZWxhdGluZyB0byBJRVRGIERvY3VtZW50cwogICAoaHR0cDovL3RydXN0ZWUuaWV0Zi5vcmcv
bGljZW5zZS1pbmZvKSBpbiBlZmZlY3Qgb24gdGhlIGRhdGUgb2YKICAgcHVibGljYXRpb24gb2Yg
dGhpcyBkb2N1bWVudC4gIFBsZWFzZSByZXZpZXcgdGhlc2UgZG9jdW1lbnRzCiAgIGNhcmVmdWxs
eSwgYXMgdGhleSBkZXNjcmliZSB5b3VyIHJpZ2h0cyBhbmQgcmVzdHJpY3Rpb25zIHdpdGggcmVz
cGVjdAogICB0byB0aGlzIGRvY3VtZW50LiAgQ29kZSBDb21wb25lbnRzIGV4dHJhY3RlZCBmcm9t
IHRoaXMgZG9jdW1lbnQgbXVzdAogICBpbmNsdWRlIFNpbXBsaWZpZWQgQlNEIExpY2Vuc2UgdGV4
dCBhcyBkZXNjcmliZWQgaW4gU2VjdGlvbiA0LmUgb2YKICAgdGhlIFRydXN0IExlZ2FsIFByb3Zp
c2lvbnMgYW5kIGFyZSBwcm92aWRlZCB3aXRob3V0IHdhcnJhbnR5IGFzCiAgIGRlc2NyaWJlZCBp
biB0aGUgU2ltcGxpZmllZCBCU0QgTGljZW5zZS4KCgoKCgpTbmVsbCAgICAgICAgICAgICAgICAg
ICAgRXhwaXJlcyBBcHJpbCAyOSwgMjAxMyAgICAgICAgICAgICAgICAgW1BhZ2UgMV0KDApJbnRl
cm5ldC1EcmFmdCAgICAgICAgICAgICAgICAgSFRUUCBQcmVmZXIgICAgICAgICAgICAgICAgICBP
Y3RvYmVyIDIwMTIKCgpUYWJsZSBvZiBDb250ZW50cwoKICAgMS4gIEludHJvZHVjdGlvbiAuIC4g
LiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuICAzCiAgICAgMS4x
LiAgU3ludGF4IE5vdGF0aW9uICAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAu
IC4gLiAgNAogICAyLiAgVGhlIFByZWZlciBSZXF1ZXN0IEhlYWRlciBGaWVsZCAgLiAuIC4gLiAu
IC4gLiAuIC4gLiAuIC4gLiAuIC4gIDQKICAgICAyLjEuICBFeGFtcGxlcyAuIC4gLiAuIC4gLiAu
IC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuICA2CiAgIDMuICBUaGUgUHJlZmVy
ZW5jZS1BcHBsaWVkIFJlc3BvbnNlIEhlYWRlciBGaWVsZCAuIC4gLiAuIC4gLiAuIC4gLiAgNwog
ICA0LiAgUHJlZmVyZW5jZSBEZWZpbml0aW9ucyAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4g
LiAuIC4gLiAuIC4gIDgKICAgICA0LjEuICBUaGUgInJlc3BvbmQtYXN5bmMiIFByZWZlcmVuY2Ug
LiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuICA4CiAgICAgNC4yLiAgVGhlICJyZXR1cm49cmVw
cmVzZW50YXRpb24iIGFuZCAicmV0dXJuPW1pbmltYWwiCiAgICAgICAgICAgUHJlZmVyZW5jZXMg
IC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAgOQogICAgIDQu
My4gIFRoZSAid2FpdCIgUHJlZmVyZW5jZSAgLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4g
LiAuIC4gMTEKICAgICA0LjQuICBUaGUgImhhbmRsaW5nPXN0cmljdCIgYW5kICJoYW5kbGluZz1s
ZW5pZW50IgogICAgICAgICAgIFByb2Nlc3NpbmcgUHJlZmVyZW5jZXMgLiAuIC4gLiAuIC4gLiAu
IC4gLiAuIC4gLiAuIC4gLiAuIC4gMTIKICAgNS4gIElBTkEgQ29uc2lkZXJhdGlvbnMgIC4gLiAu
IC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIDEzCiAgICAgNS4xLiAgVGhlIFJl
Z2lzdHJ5IG9mIFByZWZlcmVuY2VzICAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAxMwog
ICAgIDUuMi4gIEluaXRpYWwgUmVnaXN0cnkgQ29udGVudHMgIC4gLiAuIC4gLiAuIC4gLiAuIC4g
LiAuIC4gLiAuIC4gMTQKICAgNi4gIFNlY3VyaXR5IENvbnNpZGVyYXRpb25zICAuIC4gLiAuIC4g
LiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIDE1CiAgIDcuICBSZWZlcmVuY2VzIC4gLiAuIC4g
LiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAxNQogICAgIDcuMS4g
IE5vcm1hdGl2ZSBSZWZlcmVuY2VzIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAu
IC4gMTUKICAgICA3LjIuICBJbmZvcm1hdGl2ZSBSZWZlcmVuY2VzIC4gLiAuIC4gLiAuIC4gLiAu
IC4gLiAuIC4gLiAuIC4gLiAuIDE2CiAgIEF1dGhvcidzIEFkZHJlc3MgLiAuIC4gLiAuIC4gLiAu
IC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAuIC4gLiAxNgoKCgoKCgoKCgoKCgoKCgoKCgoK
CgoKCgoKCgoKClNuZWxsICAgICAgICAgICAgICAgICAgICBFeHBpcmVzIEFwcmlsIDI5LCAyMDEz
ICAgICAgICAgICAgICAgICBbUGFnZSAyXQoMCkludGVybmV0LURyYWZ0ICAgICAgICAgICAgICAg
ICBIVFRQIFByZWZlciAgICAgICAgICAgICAgICAgIE9jdG9iZXIgMjAxMgoKCjEuICBJbnRyb2R1
Y3Rpb24KCiAgIFdpdGhpbiB0aGUgY291cnNlIG9mIHByb2Nlc3NpbmcgYW4gSFRUUCByZXF1ZXN0
IHRoZXJlIGFyZSB0eXBpY2FsbHkgYQogICByYW5nZSBvZiByZXF1aXJlZCBhbmQgb3B0aW9uYWwg
YmVoYXZpb3JzIHRoYXQgYSBzZXJ2ZXIgb3IKICAgaW50ZXJtZWRpYXJ5IGNhbiBlbXBsb3kuICBU
aGVzZSBvZnRlbiBtYW5pZmVzdCBpbiBhIHZhcmlldHkgb2Ygc3VidGxlCiAgIGFuZCBub3Qtc28t
c3VidGxlIHdheXMgd2l0aGluIHRoZSByZXNwb25zZS4KCiAgIEZvciBleGFtcGxlLCB3aGVuIHVz
aW5nIHRoZSBIVFRQIFBVVCBtZXRob2QgdG8gbW9kaWZ5IGEgcmVzb3VyY2UgLS0KICAgc2ltaWxh
ciB0byB0aGF0IGRlZmluZWQgZm9yIHRoZSBBdG9tIFB1Ymxpc2hpbmcgUHJvdG9jb2wgW1JGQzUw
MjNdIC0tCiAgIHRoZSBzZXJ2ZXIgaXMgZ2l2ZW4gdGhlIG9wdGlvbiBvZiByZXR1cm5pbmcgZWl0
aGVyIGEgY29tcGxldGUKICAgcmVwcmVzZW50YXRpb24gb2YgYSBtb2RpZmllZCByZXNvdXJjZSBv
ciBhIG1pbmltYWwgcmVzcG9uc2UgdGhhdAogICBpbmRpY2F0ZXMgb25seSB0aGUgc3VjY2Vzc2Z1
bCBjb21wbGV0aW9uIG9mIHRoZSBvcGVyYXRpb24uICBUaGUKICAgc2VsZWN0aW9uIG9mIHdoaWNo
IHR5cGUgb2YgcmVzcG9uc2UgdG8gcmV0dXJuIHRvIHRoZSBjbGllbnQgZ2VuZXJhbGx5CiAgIGhh
cyBubyBiZWFyaW5nIG9uIHRoZSBzdWNjZXNzZnVsIHByb2Nlc3Npbmcgb2YgdGhlIHJlcXVlc3Qg
YnV0IGNvdWxkLAogICBmb3IgaW5zdGFuY2UsIGhhdmUgYW4gaW1wYWN0IG9uIHdoYXQgYWN0aW9u
cyB0aGUgY2xpZW50IG11c3QgdGFrZQogICBhZnRlciByZWNlaXZpbmcgdGhlIHJlc3BvbnNlLiAg
VGhhdCBpcywgcmV0dXJuaW5nIGEgcmVwcmVzZW50YXRpb24gb2YKICAgdGhlIG1vZGlmaWVkIHJl
c291cmNlIHdpdGhpbiB0aGUgcmVzcG9uc2UgY2FuIGFsbG93IHRoZSBjbGllbnQgdG8KICAgYXZv
aWQgc2VuZGluZyBhbiBhZGRpdGlvbmFsIHN1YnNlcXVlbnQgR0VUIHJlcXVlc3QuCgogICBTaW1p
bGFybHksIHNlcnZlcnMgdGhhdCBwcm9jZXNzIHJlcXVlc3RzIGFyZSBvZnRlbiBmYWNlZCB3aXRo
CiAgIGRlY2lzaW9ucyBhYm91dCBob3cgdG8gcHJvY2VzcyByZXF1ZXN0cyB0aGF0IG1heSBiZSB0
ZWNobmljYWxseQogICBpbnZhbGlkIG9yIGluY29ycmVjdCBidXQgYXJlIHN0aWxsIHVuZGVyc3Rh
bmRhYmxlLiAgSXQgbWlnaHQgYmUgdGhlCiAgIGNhc2UgdGhhdCB0aGUgc2VydmVyIGlzIGFibGUg
dG8gb3Zlcmxvb2sgdGhlIHRlY2huaWNhbCBlcnJvcnMgaW4gdGhlCiAgIHJlcXVlc3QgYnV0IHN0
aWxsIHN1Y2Nlc3NmdWxseSBwcm9jZXNzIHRoZSByZXF1ZXN0LiAgRGVwZW5kaW5nIG9uIHRoZQog
ICBzcGVjaWZpYyByZXF1aXJlbWVudHMgb2YgdGhlIGFwcGxpY2F0aW9uIGFuZCB0aGUgbmF0dXJl
IG9mIHRoZQogICByZXF1ZXN0IGJlaW5nIG1hZGUsIHRoZSBjbGllbnQgbWlnaHQgb3IgbWlnaHQg
bm90IGNvbnNpZGVyIHN1Y2gKICAgbGVuaWVudCBwcm9jZXNzaW5nIG9mIGl0cyByZXF1ZXN0IHRv
IGJlIGFwcHJvcHJpYXRlLgoKICAgV2hpbGUgdGhlIGRlY2lzaW9uIG9mIGV4YWN0bHkgd2hpY2gg
YmVoYXZpb3JzIHRvIGFwcGx5IGluIHRoZXNlIGNhc2VzCiAgIGxpZXMgd2l0aCB0aGUgc2VydmVy
IHByb2Nlc3NpbmcgdGhlIHJlcXVlc3QsIHRoZSBzZXJ2ZXIgbWlnaHQgd2lzaCB0bwogICBkZWZl
ciB0byB0aGUgY2xpZW50IHRvIHNwZWNpZnkgd2hpY2ggb3B0aW9uYWwgYmVoYXZpb3IgaXMgcHJl
ZmVycmVkLgoKICAgQ3VycmVudGx5LCBIVFRQIG9mZmVycyBubyBleHBsaWNpdGx5IGRlZmluZWQg
bWVhbnMgb2YgZXhwcmVzc2luZyB0aGUKICAgY2xpZW50J3MgcHJlZmVyZW5jZXMgcmVnYXJkaW5n
IHRoZSBvcHRpb25hbCBhc3BlY3RzIG9mIGhhbmRsaW5nIG9mIGEKICAgZ2l2ZW4gcmVxdWVzdC4g
IFdoaWxlIEhUVFAgZG9lcyBwcm92aWRlIHRoZSBFeHBlY3QgaGVhZGVyIC0tIHdoaWNoCiAgIGNh
biBiZSB1c2VkIHRvIGlkZW50aWZ5IG1hbmRhdG9yeSBleHBlY3RhdGlvbnMgZm9yIHRoZSBwcm9j
ZXNzaW5nIG9mCiAgIGEgcmVxdWVzdCAtLSB1c2Ugb2YgdGhlIGZpZWxkIHRvIGNvbW11bmljYXRl
IG9wdGlvbmFsIHByZWZlcmVuY2VzIGlzCiAgIHByb2JsZW1hdGljOgogICAxLiAgVGhlIHNlbWFu
dGljcyBvZiB0aGUgRXhwZWN0IGhlYWRlciBmaWVsZCBhcmUgc3VjaCB0aGF0CiAgICAgICBpbnRl
cm1lZGlhcmllcyBhbmQgc2VydmVycyBhcmUgcmVxdWlyZWQgdG8gcmVqZWN0IGFueSByZXF1ZXN0
CiAgICAgICB0aGF0IHN0YXRlcyB1bnJlY29nbml6ZWQgb3IgdW5zdXBwb3J0ZWQgZXhwZWN0YXRp
b25zLgogICAyLiAgV2hpbGUgdGhlIEV4cGVjdCBoZWFkZXIgZmllbGQgaXMgZW5kLXRvLWVuZCwg
dGhlIEhUVFAKICAgICAgIHNwZWNpZmljYXRpb24gcmVxdWlyZXMgdGhhdCB0aGUgaGVhZGVyIGJl
IHByb2Nlc3NlZCBob3AtYnktaG9wLgogICAgICAgVGhhdCBpcywgZXZlcnkgaW50ZXJjZWRpbmcg
aW50ZXJtZWRpYXJ5IHRoYXQgaGFuZGxlcyBhIHJlcXVlc3QKICAgICAgIGJldHdlZW4gdGhlIGNs
aWVudCBhbmQgdGhlIG9yaWdpbiBzZXJ2ZXIgaXMgcmVxdWlyZWQgdG8gcHJvY2VzcwogICAgICAg
YW4gZXhwZWN0YXRpb24gYW5kIGRldGVybWluZSB3aGV0aGVyIGl0IGlzIGNhcGFibGUgb2YKICAg
ICAgIGFwcHJvcHJpYXRlbHkgaGFuZGxpbmcgaXQuCgoKCgpTbmVsbCAgICAgICAgICAgICAgICAg
ICAgRXhwaXJlcyBBcHJpbCAyOSwgMjAxMyAgICAgICAgICAgICAgICAgW1BhZ2UgM10KDApJbnRl
cm5ldC1EcmFmdCAgICAgICAgICAgICAgICAgSFRUUCBQcmVmZXIgICAgICAgICAgICAgICAgICBP
Y3RvYmVyIDIwMTIKCgogICBUaGUgcmlnaWQsIG11c3QtdW5kZXJzdGFuZCBzZW1hbnRpY3Mgb2Yg
dGhlIEV4cGVjdCBoZWFkZXIsIHRoZXJlZm9yZSwKICAgbWFrZSBpdCBhIHBvb3IgY2hvaWNlIGZv
ciB0aGUgZ2VuZXJhbCBleHByZXNzaW9uIG9mIG9wdGlvbmFsCiAgIHByZWZlcmVuY2VzIHRoYXQg
bWF5IGJlIHNwZWNpZmljIHRvIGFuIGluZGl2aWR1YWwgYXBwbGljYXRpb24gYW5kIGFyZQogICB0
aGVyZWZvcmUgdW5rbm93biB0byBhbiBpbnRlcm1lZGlhcnkgb3IgYXJlIG90aGVyd2lzZSBpcnJl
bGV2YW50IHRvCiAgIHRoZSBpbnRlcm1lZGlhcmllcyBzdWNjZXNzZnVsIGhhbmRsaW5nIG9mIHRo
ZSByZXF1ZXN0IGFuZCByZXNwb25zZS4KCiAgIEFub3RoZXIgb3B0aW9uIGF2YWlsYWJsZSB0byBj
bGllbnRzIGlzIHRvIHV0aWxpemUgUmVxdWVzdCBVUkkgcXVlcnktCiAgIHN0cmluZyBwYXJhbWV0
ZXJzIHRvIGV4cHJlc3MgcHJlZmVyZW5jZXMuICBEb2luZyBzbywgaG93ZXZlciwgcmVzdWx0cwog
ICBpbiBhIHZhcmlldHkgb2YgaXNzdWVzIGFmZmVjdGluZyB0aGUgY2FjaGVhYmlsaXR5IG9mIHJl
c3BvbnNlcy4KCiAgIEFzIGFuIGFsdGVybmF0aXZlLCB0aGlzIHNwZWNpZmljYXRpb24gZGVmaW5l
cyBhIG5ldyBIVFRQIHJlcXVlc3QKICAgaGVhZGVyIGZpZWxkIHRoYXQgY2FuIGJlIHVzZWQgYnkg
Y2xpZW50cyB0byByZXF1ZXN0IHRoYXQgb3B0aW9uYWwKICAgYmVoYXZpb3JzIGJlIGFwcGxpZWQg
YnkgYSBzZXJ2ZXIgZHVyaW5nIHRoZSBwcm9jZXNzaW5nIHRoZSByZXF1ZXN0LgogICBBZGRpdGlv
bmFsbHksIGEgaGFuZGZ1bCBvZiBpbml0aWFsIHByZWZlcmVuY2UgdG9rZW5zIGZvciB1c2Ugd2l0
aCB0aGUKICAgbmV3IGhlYWRlciBhcmUgZGVmaW5lZC4KCiAgIEluIHRoaXMgZG9jdW1lbnQsIHRo
ZSBrZXkgd29yZHMgIk1VU1QiLCAiTVVTVCBOT1QiLCAiUkVRVUlSRUQiLAogICAiU0hBTEwiLCAi
U0hBTEwgTk9UIiwgIlNIT1VMRCIsICJTSE9VTEQgTk9UIiwgIlJFQ09NTUVOREVEIiwgIk1BWSIs
CiAgIGFuZCAiT1BUSU9OQUwiIGFyZSB0byBiZSBpbnRlcnByZXRlZCBhcyBkZXNjcmliZWQgaW4g
W1JGQzIxMTldLgoKMS4xLiAgU3ludGF4IE5vdGF0aW9uCgogICBUaGlzIHNwZWNpZmljYXRpb24g
dXNlcyB0aGUgQXVnbWVudGVkIEJhY2t1cy1OYXVyIEZvcm0gKEFCTkYpCiAgIG5vdGF0aW9uIG9m
IFtSRkM1MjM0XSBhbmQgaW5jbHVkZXMsIGJ5IHJlZmVyZW5jZSwgdGhlICJ0b2tlbiIsCiAgICJ3
b3JkIiwgIk9XUyIsICJCV1MiIHJ1bGVzIGFuZCB0aGUgI3J1bGUgZXh0ZW5zaW9uIGFzIGRlZmlu
ZWQgd2l0aGluCiAgIFNlY3Rpb25zIDMuMi4xIGFuZCAzLjIuNCBvZiBbSS1ELmlldGYtaHR0cGJp
cy1wMS1tZXNzYWdpbmddOyBhcyB3ZWxsCiAgIGFzIHRoZSAiZGVsdGEtc2Vjb25kcyIgcnVsZSBk
ZWZpbmVkIGluIFNlY3Rpb24gOC4zLjEgb2YKICAgW0ktRC5pZXRmLWh0dHBiaXMtcDItc2VtYW50
aWNzXS4KCgoyLiAgVGhlIFByZWZlciBSZXF1ZXN0IEhlYWRlciBGaWVsZAoKICAgVGhlIFByZWZl
ciByZXF1ZXN0IGhlYWRlciBmaWVsZCBpcyB1c2VkIHRvIGluZGljYXRlIHRoYXQgcGFydGljdWxh
cgogICBzZXJ2ZXIgYmVoYXZpb3JzIGFyZSBwcmVmZXJyZWQgYnkgdGhlIGNsaWVudCwgYnV0IG5v
dCByZXF1aXJlZCBmb3IKICAgc3VjY2Vzc2Z1bCBjb21wbGV0aW9uIG9mIHRoZSByZXF1ZXN0LiAg
UHJlZmVyIGlzIHNpbWlsYXIgaW4gbmF0dXJlIHRvCiAgIHRoZSBFeHBlY3QgaGVhZGVyIGZpZWxk
IGRlZmluZWQgYnkgU2VjdGlvbiA2LjEuMiBvZgogICBbSS1ELmlldGYtaHR0cGJpcy1wMi1zZW1h
bnRpY3NdIHdpdGggdGhlIGV4Y2VwdGlvbiB0aGF0IHNlcnZlcnMgYXJlCiAgIGFsbG93ZWQgdG8g
aWdub3JlIHN0YXRlZCBwcmVmZXJlbmNlcy4KCiAgIEFCTkY6CgogICAgIFByZWZlciAgICAgPSAi
UHJlZmVyIiAiOiIgMSNwcmVmZXJlbmNlCiAgICAgcHJlZmVyZW5jZSA9IHRva2VuIFsgQldTICI9
IiBCV1Mgd29yZCBdCiAgICAgICAgICAgICAgICAgICooIE9XUyAiOyIgWyBPV1MgcGFyYW1ldGVy
IF0gKQogICAgIHBhcmFtZXRlciAgPSB0b2tlbiBbIEJXUyAiPSIgQldTIHdvcmQgXQoKICAgVGhp
cyBoZWFkZXIgZmllbGQgaXMgZGVmaW5lZCB3aXRoIGFuIGV4dGVuc2libGUgc3ludGF4IHRvIGFs
bG93IGZvcgogICBmdXR1cmUgdmFsdWVzIGluY2x1ZGVkIGluIHRoZSBSZWdpc3RyeSBvZiBQcmVm
ZXJlbmNlcyAoU2VjdGlvbiA1LjEpLgoKCgpTbmVsbCAgICAgICAgICAgICAgICAgICAgRXhwaXJl
cyBBcHJpbCAyOSwgMjAxMyAgICAgICAgICAgICAgICAgW1BhZ2UgNF0KDApJbnRlcm5ldC1EcmFm
dCAgICAgICAgICAgICAgICAgSFRUUCBQcmVmZXIgICAgICAgICAgICAgICAgICBPY3RvYmVyIDIw
MTIKCgogICBBIHNlcnZlciB0aGF0IGRvZXMgbm90IHJlY29nbml6ZSBvciBpcyB1bmFibGUgdG8g
Y29tcGx5IHdpdGgKICAgcGFydGljdWxhciBwcmVmZXJlbmNlIHRva2VucyBpbiB0aGUgUHJlZmVy
IGhlYWRlciBmaWVsZCBvZiBhIHJlcXVlc3QKICAgTVVTVCBpZ25vcmUgdGhvc2UgdG9rZW5zIGFu
ZCBjb250aW51ZSBwcm9jZXNzaW5nIGluc3RlYWQgb2YKICAgc2lnbmFsbGluZyBhbiBlcnJvci4K
CiAgIEEgcHJlZmVyZW5jZSB0b2tlbiBjYW4gY29udGFpbiBhIHZhbHVlLiAgRW1wdHksIG9yIHpl
cm8gbGVuZ3RoIHZhbHVlcwogICBvbiBib3RoIHRoZSBwcmVmZXJlbmNlIHRva2VuIGFuZCB3aXRo
aW4gcGFyYW1ldGVycyBhcmUgZXF1aXZhbGVudCB0bwogICBubyB2YWx1ZSBiZWluZyBzcGVjaWZp
ZWQgYXQgYWxsLiAgVGhlIGZvbGxvd2luZywgdGhlbiwgYXJlIGVxdWl2YWxlbnQKICAgZXhhbXBs
ZXMgb2YgYSAiZm9vIiBwcmVmZXJlbmNlIHdpdGggYSBzaW5nbGUgImJhciIgcGFyYW1ldGVyLgoK
ICAgICBQcmVmZXI6IGZvbzsgYmFyCiAgICAgUHJlZmVyOiBmb287IGJhcj0iIgogICAgIFByZWZl
cjogZm9vPSIiOyBiYXIKCiAgIEFuIG9wdGlvbmFsIHNldCBvZiBwYXJhbWV0ZXJzIGNhbiBiZSBz
cGVjaWZpZWQgZm9yIGFueSBwcmVmZXJlbmNlCiAgIHRva2VuLiAgVGhlIG1lYW5pbmcgYW5kIGFw
cGxpY2F0aW9uIG9mIHN1Y2ggcGFyYW1ldGVycyBpcyBkZXBlbmRlbnQKICAgb24gdGhlIGRlZmlu
aXRpb24gb2YgZWFjaCBwcmVmZXJlbmNlIHRva2VuIGFuZCB0aGUgc2VydmVyJ3MKICAgaW1wbGVt
ZW50YXRpb24gdGhlcmVvZi4gIFRoZXJlIGlzIG5vIHNpZ25pZmljYW5jZSBnaXZlbiB0byB0aGUK
ICAgb3JkZXJpbmcgb2YgcGFyYW1ldGVycyBvbiBhbnkgZ2l2ZW4gcHJlZmVyZW5jZS4KCiAgIEZv
ciBib3RoIHByZWZlcmVuY2UgdG9rZW4gbmFtZXMgYW5kIHBhcmFtZXRlciBuYW1lcywgY29tcGFy
aXNvbiBpcwogICBjYXNlLWluc2Vuc2l0aXZlIHdoaWxlIHZhbHVlcyBhcmUgY2FzZS1zZW5zaXRp
dmUgcmVnYXJkbGVzcyBvZgogICB3aGV0aGVyIHRva2VuIG9yIHF1b3RlZC1zdHJpbmcgdmFsdWVz
IGFyZSB1c2VkLgoKICAgVGhlIFByZWZlciBoZWFkZXIgZmllbGQgaXMgZW5kLXRvLWVuZCBhbmQg
TVVTVCBiZSBmb3J3YXJkZWQgYnkgYQogICBwcm94eSBpZiB0aGUgcmVxdWVzdCBpcyBmb3J3YXJk
ZWQgdW5sZXNzIFByZWZlciBpcyBleHBsaWNpdGx5CiAgIGlkZW50aWZpZWQgYXMgYmVpbmcgaG9w
LWJ5LWhvcCB1c2luZyB0aGUgQ29ubmVjdGlvbiBoZWFkZXIgZmllbGQKICAgZGVmaW5lZCBieSBb
SS1ELmlldGYtaHR0cGJpcy1wMS1tZXNzYWdpbmddLCBTZWN0aW9uIDYuMS4KCiAgIEluIHZhcmlv
dXMgc2l0dWF0aW9ucywgYSBwcm94eSBtaWdodCBkZXRlcm1pbmUgdGhhdCBpdCBpcyBjYXBhYmxl
IG9mCiAgIGhvbm9yaW5nIGEgcHJlZmVyZW5jZSBpbmRlcGVuZGVudGx5IG9mIHRoZSBzZXJ2ZXIg
dG8gd2hpY2ggdGhlCiAgIHJlcXVlc3QgaGFzIGJlZW4gZGlyZWN0ZWQuICBGb3IgaW5zdGFuY2Us
IGFuIGludGVydmVuaW5nIHByb3h5IG1pZ2h0CiAgIGJlIGNhcGFibGUgb2YgcHJvdmlkaW5nIGFz
eW5jaHJvbm91cyBoYW5kbGluZyBvZiBhIHJlcXVlc3QgdXNpbmcgMjAyCiAgIEFjY2VwdGVkIHJl
c3BvbnNlcyBpbmRlcGVuZGVudGx5IG9mIHRoZSBvcmlnaW4gc2VydmVyLiAgU3VjaCBwcm94aWVz
CiAgIGNhbiBjaG9vc2UgdG8gaG9ub3IgdGhlICJyZXNwb25kLWFzeW5jIiBwcmVmZXJlbmNlIG9u
IHRoZWlyIG93bgogICBkZXNwaXRlIHdoZXRoZXIgdGhlIG9yaWdpbiBpcyBjYXBhYmxlIG9yIHdp
bGxpbmcgdG8gZG8gc28uCgogICBJbmRpdmlkdWFsIHByZWZlcmVuY2UgdG9rZW5zIE1BWSBkZWZp
bmUgdGhlaXIgb3duIHJlcXVpcmVtZW50cyBhbmQKICAgcmVzdHJpY3Rpb25zIGFzIHRvIHdoZXRo
ZXIgYW5kIGhvdyBpbnRlcm1lZGlhcmllcyBjYW4gYXBwbHkgdGhlCiAgIHByZWZlcmVuY2UgdG8g
YSByZXF1ZXN0IGluZGVwZW5kZW50bHkgb2YgdGhlIG9yaWdpbiBzZXJ2ZXIuCgogICBBIGNsaWVu
dCBNQVkgdXNlIG11bHRpcGxlIGluc3RhbmNlcyBvZiB0aGUgUHJlZmVyIGhlYWRlciBmaWVsZCBp
biBhCiAgIHNpbmdsZSBtZXNzYWdlLCBvciBpdCBNQVkgdXNlIGEgc2luZ2xlIFByZWZlciBoZWFk
ZXIgZmllbGQgd2l0aAogICBtdWx0aXBsZSBjb21tYS1zZXBhcmF0ZWQgcHJlZmVyZW5jZSB0b2tl
bnMuICBJZiBtdWx0aXBsZSBQcmVmZXIKICAgaGVhZGVyIGZpZWxkcyBhcmUgdXNlZCwgaXQgaXMg
ZXF1aXZhbGVudCB0byBhIHNpbmdsZSBQcmVmZXIgaGVhZGVyCiAgIGZpbGVkIHdpdGggdGhlIGNv
bW1hLXNlcGFyYXRlZCBjb25jYXRlbnRhdGlvbiBvZiBhbGwgb2YgdGhlIHRva2Vucy4KICAgRm9y
IGV4YW1wbGUsIHRoZSBmb2xsb3dpbmcgYXJlIGVxdWl2YWxlbnQ6CgoKCgpTbmVsbCAgICAgICAg
ICAgICAgICAgICAgRXhwaXJlcyBBcHJpbCAyOSwgMjAxMyAgICAgICAgICAgICAgICAgW1BhZ2Ug
NV0KDApJbnRlcm5ldC1EcmFmdCAgICAgICAgICAgICAgICAgSFRUUCBQcmVmZXIgICAgICAgICAg
ICAgICAgICBPY3RvYmVyIDIwMTIKCgogICBNdWx0aXBsZSBQcmVmZXIgaGVhZGVyIGZpZWxkcyBk
ZWZpbmluZyB0aHJlZSBkaXN0aW5jdCBwcmVmZXJlbmNlCiAgIHRva2VuczoKCiAgICAgUE9TVCAv
Zm9vIEhUVFAvMS4xCiAgICAgSG9zdDogZXhhbXBsZS5vcmcKICAgICBQcmVmZXI6IHJlc3BvbmQt
YXN5bmMsIHdhaXQ9MTAwCiAgICAgUHJlZmVyOiBoYW5kbGluZz1sZW5pZW50CiAgICAgRGF0ZTog
VHVlLCAyMCBEZWMgMjAxMSAxMjozNDo1NiBHTVQKCiAgIEEgc2luZ2xlIFByZWZlciBoZWFkZXIg
ZmllbGQgZGVmaW5pbmcgdGhlIHNhbWUgdGhyZWUgcHJlZmVyZW5jZQogICB0b2tlbnM6CgogICAg
IFBPU1QgL2ZvbyBIVFRQLzEuMQogICAgIEhvc3Q6IGV4YW1wbGUub3JnCiAgICAgUHJlZmVyOiBo
YW5kbGluZz1sZW5pZW50LCB3YWl0PTEwMCwgcmVzcG9uZC1hc3luYwogICAgIERhdGU6IFR1ZSwg
MjAgRGVjIDIwMTEgMTI6MzQ6NTYgR01UCgogICBUbyBhdm9pZCBhbnkgcG9zc2libGUgYW1iaWd1
aXR5LCBpbmRpdmlkdWFsIHByZWZlcmVuY2UgdG9rZW5zIFNIT1VMRAogICBOT1QgYXBwZWFyIG11
bHRpcGxlIHRpbWVzIHdpdGhpbiBhIHNpbmdsZSByZXF1ZXN0LiAgSWYgYW55IHByZWZlcmVuY2UK
ICAgaXMgc3BlY2lmaWVkIG1vcmUgdGhhbiBvbmNlLCBvbmx5IHRoZSBmaXJzdCBpbnN0YW5jZSBp
cyB0byBiZQogICBjb25zaWRlcmVkLiAgQWxsIHN1YnNlcXVlbnQgb2NjdXJyZW5jZXMgU0hPVUxE
IGJlIGlnbm9yZWQgd2l0aG91dAogICBzaWduYWxpbmcgYW4gZXJyb3Igb3Igb3RoZXJ3aXNlIGFs
dGVyaW5nIHRoZSBwcm9jZXNzaW5nIG9mIHRoZQogICByZXF1ZXN0LiAgVGhpcyBpcyB0aGUgb25s
eSBjYXNlIGluIHdoaWNoIHRoZSBvcmRlcmluZyBvZiBwcmVmZXJlbmNlcwogICB3aXRoaW4gYSBy
ZXF1ZXN0IGlzIGNvbnNpZGVyZWQgdG8gYmUgc2lnbmlmaWNhbnQuCgogICBEdWUgdG8gdGhlIGlu
aGVyZW50IGNvbXBsZXhpdGllcyBpbnZvbHZlZCB3aXRoIHByb3Blcmx5IGltcGxlbWVudGluZwog
ICBzZXJ2ZXItZHJpdmVuIGNvbnRlbnQgbmVnb3RpYXRpb24sIGVmZmVjdGl2ZSBjYWNoaW5nLCBh
bmQgdGhlCiAgIGFwcGxpY2F0aW9uIG9mIG9wdGlvbmFsIHByZWZlcmVuY2VzLCBpbXBsZW1lbnRv
cnMgYXJlIHVyZ2VkIHRvCiAgIGV4ZXJjaXNlIGNhdXRpb24gd2hlbiB1c2luZyBwcmVmZXJlbmNl
cyBpbiBhIHdheSB0aGF0IGltcGFjdHMgdGhlCiAgIGNhY2hpbmcgb2YgYSByZXNwb25zZSBhbmQg
U0hPVUxEIE5PVCB1c2UgdGhlIFByZWZlciBoZWFkZXIgbWVjaGFuaXNtCiAgIGZvciBjb250ZW50
IG5lZ290aWF0aW9uLiAgSWYgYSBzZXJ2ZXIgc3VwcG9ydHMgdGhlIG9wdGlvbmFsCiAgIGFwcGxp
Y2F0aW9uIG9mIGEgcHJlZmVyZW5jZSB0aGF0IG1pZ2h0IHJlc3VsdCBpbiBhIHZhcmlhbmNlIHRv
IGEKICAgY2FjaGUncyBoYW5kbGluZyBvZiBhIHJlc3BvbnNlIGVudGl0eSwgYSBWYXJ5IGhlYWRl
ciBmaWVsZCBNVVNUIGJlCiAgIGluY2x1ZGVkIGluIHRoZSByZXNwb25zZSBsaXN0aW5nIHRoZSBQ
cmVmZXIgaGVhZGVyIGZpZWxkIHJlZ2FyZGxlc3MKICAgb2Ygd2hldGhlciB0aGUgY2xpZW50IGFj
dHVhbGx5IHVzZWQgUHJlZmVyIGluIHRoZSByZXF1ZXN0LgogICBBbHRlcm5hdGl2ZWx5LCB0aGUg
c2VydmVyIE1BWSBpbmNsdWRlIGEgVmFyeSBoZWFkZXIgd2l0aCB0aGUgc3BlY2lhbAogICB2YWx1
ZSAiKiIgYXMgZGVmaW5lZCBieSBbSS1ELmlldGYtaHR0cGJpcy1wMi1zZW1hbnRpY3NdLCBTZWN0
aW9uCiAgIDguMi4xLiAgTm90ZSwgaG93ZXZlciwgdGhhdCB1c2Ugb2YgdGhlICJWYXJ5OiAqIiBo
ZWFkZXIgd2lsbCBtYWtlIGl0CiAgIGltcG9zc2libGUgZm9yIGEgcHJveHkgdG8gY2FjaGUgdGhl
IHJlc3BvbnNlLgoKICAgTm90ZSB0aGF0IHdoaWxlIFByZWZlcmVuY2UgdG9rZW5zIGFyZSBzaW1p
bGFyIGluIHN0cnVjdHVyZSB0byBIVFRQCiAgIEV4cGVjdCB0b2tlbnMsIHRoZSBQcmVmZXIgYW5k
IEV4cGVjdCBoZWFkZXIgZmllbGRzIHNlcnZlIHZlcnkKICAgZGlzdGluY3QgcHVycG9zZXMgYW5k
IHByZWZlcmVuY2VzIGNhbm5vdCBiZSB1c2VkIGFzIGV4cGVjdGF0aW9ucy4KCjIuMS4gIEV4YW1w
bGVzCgogICBUaGUgZm9sbG93aW5nIGV4YW1wbGVzIGlsbHVzdHJhdGUgdGhlIHVzZSBvZiB2YXJp
b3VzIHByZWZlcmVuY2VzCiAgIGRlZmluZWQgYnkgdGhpcyBzcGVjaWZpY2F0aW9uLCBhcyB3ZWxs
IGFzIHVuZGVmaW5lZCBleHRlbnNpb25zIGZvcgoKCgpTbmVsbCAgICAgICAgICAgICAgICAgICAg
RXhwaXJlcyBBcHJpbCAyOSwgMjAxMyAgICAgICAgICAgICAgICAgW1BhZ2UgNl0KDApJbnRlcm5l
dC1EcmFmdCAgICAgICAgICAgICAgICAgSFRUUCBQcmVmZXIgICAgICAgICAgICAgICAgICBPY3Rv
YmVyIDIwMTIKCgogICBzdHJpY3RseSBpbGx1c3RyYXRpdmUgcHVycG9zZXM6CgogICAxLiAgUmV0
dXJuIGEgIjIwMiBBY2NlcHRlZCIgcmVzcG9uc2UgZm9yIGFzeW5jaHJvbm91cyBwcm9jZXNzaW5n
IGlmCiAgIHRoZSByZXF1ZXN0IGNhbm5vdCBiZSBwcm9jZXNzZWQgd2l0aGluIDEwIHNlY29uZHMu
ICBBbiB1bmRlZmluZWQKICAgInByaW9yaXR5IiBwcmVmZXJlbmNlIGlzIGFsc28gc3BlY2lmaWVk
OgoKICAgICBQT1NUIC9zb21lLXJlc291cmNlIEhUVFAvMS4xCiAgICAgSG9zdDogZXhhbXBsZS5v
cmcKICAgICBDb250ZW50LVR5cGU6IHRleHQvcGxhaW4KICAgICBQcmVmZXI6IHJlc3BvbmQtYXN5
bmMsIHdhaXQ9MTAKICAgICBQcmVmZXI6IHByaW9yaXR5PTUKCiAgICAgey4uLn0KCiAgIDIuICBV
c2UgbGVuaWVudCBwcm9jZXNzaW5nOgoKICAgICBQT1NUIC9zb21lLXJlc291cmNlIEhUVFAvMS4x
CiAgICAgSG9zdDogZXhhbXBsZS5vcmcKICAgICBDb250ZW50LVR5cGU6IHRleHQvcGxhaW4KICAg
ICBQcmVmZXI6IExlbmllbnQKCiAgICAgey4uLn0KCiAgIDMuICBVc2Ugb2YgYW4gb3B0aW9uYWws
IHVuZGVmaW5lZCBwYXJhbWV0ZXIgb24gdGhlIHJldHVybj1taW5pbWFsCiAgIHByZWZlcmVuY2U6
CgogICAgIFBPU1QgL3NvbWUtcmVzb3VyY2UgSFRUUC8xLjEKICAgICBIb3N0OiBleGFtcGxlLm9y
ZwogICAgIENvbnRlbnQtVHlwZTogdGV4dC9wbGFpbgogICAgIFByZWZlcjogcmV0dXJuPW1pbmlt
YWw7IGZvbz0ic29tZSBwYXJhbWV0ZXIiCgogICAgIHsuLi59CgoKMy4gIFRoZSBQcmVmZXJlbmNl
LUFwcGxpZWQgUmVzcG9uc2UgSGVhZGVyIEZpZWxkCgogICBUaGUgUHJlZmVyZW5jZS1BcHBsaWVk
IHJlc3BvbnNlIGhlYWRlciBNQVkgYmUgaW5jbHVkZWQgd2l0aGluIGEKICAgcmVzcG9uc2UgbWVz
c2FnZSBhcyBhbiBpbmRpY2F0aW9uIGFzIHRvIHdoaWNoIFByZWZlciB0b2tlbnMgd2VyZQogICBo
b25vcmVkIGJ5IHRoZSBzZXJ2ZXIgYW5kIGFwcGxpZWQgdG8gdGhlIHByb2Nlc3Npbmcgb2YgYSBy
ZXF1ZXN0LgoKICAgQUJORjoKCiAgICAgUHJlZmVyZW5jZS1BcHBsaWVkID0gIlByZWZlcmVuY2Ut
QXBwbGllZCIgIjoiIDEjYXBwbGllZC1wcmVmCiAgICAgYXBwbGllZC1wcmVmID0gdG9rZW4gWyBC
V1MgIj0iIEJXUyB3b3JkIF0KCiAgIFRoZSBzeW50YXggb2YgdGhlIFByZWZlcmVuY2UtQXBwbGll
ZCBoZWFkZXIgZGlmZmVycyBmcm9tIHRoYXQgb2YgdGhlCiAgIFByZWZlciBoZWFkZXIgaW4gdGhh
dCBwYXJhbWV0ZXJzIGFyZSBub3QgaW5jbHVkZWQuCgoKCgpTbmVsbCAgICAgICAgICAgICAgICAg
ICAgRXhwaXJlcyBBcHJpbCAyOSwgMjAxMyAgICAgICAgICAgICAgICAgW1BhZ2UgN10KDApJbnRl
cm5ldC1EcmFmdCAgICAgICAgICAgICAgICAgSFRUUCBQcmVmZXIgICAgICAgICAgICAgICAgICBP
Y3RvYmVyIDIwMTIKCgogICBVc2Ugb2YgdGhlIFByZWZlcmVuY2UtQXBwbGllZCBoZWFkZXIgaXMg
b25seSBuZWNlc3Nhcnkgd2hlbiBpdCBpcyBub3QKICAgcmVhZGlseSBhbmQgb2J2aW91c2x5IGFw
cGFyZW50IHRoYXQgYSBzZXJ2ZXIgYXBwbGllZCBhIGdpdmVuCiAgIHByZWZlcmVuY2UgYW5kIHN1
Y2ggYW1iaWd1aXR5IG1pZ2h0IGhhdmUgYW4gaW1wYWN0IG9uIHRoZSBjbGllbnQncwogICBoYW5k
bGluZyBvZiB0aGUgcmVzcG9uc2UuICBGb3IgaW5zdGFuY2UsIHdoZW4gdXNpbmcgZWl0aGVyIHRo
ZQogICAicmV0dXJuPXJlcHJlc2VudGF0aW9uIiBvciAicmV0dXJuPW1pbmltYWwiIHByZWZlcmVu
Y2VzLCBhIGNsaWVudAogICBhcHBsaWNhdGlvbiBtaWdodCBub3QgYmUgY2FwYWJsZSBvZiByZWxp
YWJseSBkZXRlcm1pbmluZyBpZiB0aGUKICAgcHJlZmVyZW5jZSB3YXMgKG9yIHdhcyBub3QpIGFw
cGxpZWQgc2ltcGx5IGJ5IGV4YW1pbmluZyB0aGUgcGF5bG9hZAogICBvZiB0aGUgcmVzcG9uc2Uu
ICBJbiBzdWNoIGNhc2UgdGhlIFByZWZlcmVuY2UtQXBwbGllZCBoZWFkZXIgZmllbGQKICAgY2Fu
IGJlIHVzZWQuCgogICBSZXF1ZXN0OgoKICAgICBQQVRDSCAvbXktZG9jdW1lbnQgSFRUUC8xLjEK
ICAgICBIb3N0OiBleGFtcGxlLm9yZwogICAgIENvbnRlbnQtVHlwZTogYXBwbGljYXRpb24vanNv
bi1wYXRjaAogICAgIFByZWZlcjogcmV0dXJuPXJlcHJlc2VudGF0aW9uCgogICAgIFt7Im9wIjog
ImFkZCIsICJwYXRoIjogIi9hIiwgInZhbHVlIjogMX1dCgogICBSZXNwb25zZToKCiAgICAgSFRU
UC8xLjEgMjAwIE9LCiAgICAgQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9qc29uCiAgICAgUHJl
ZmVyZW5jZS1BcHBsaWVkOiByZXR1cm49cmVwcmVzZW50YXRpb24KICAgICBDb250ZW50LUxvY2F0
aW9uOiAvbXktZG9jdW1lbnQKCiAgICAgeyJhIjogMX0KCgo0LiAgUHJlZmVyZW5jZSBEZWZpbml0
aW9ucwoKICAgVGhlIGZvbGxvd2luZyBzdWJzZWN0aW9ucyBkZWZpbmUgYW4gaW5pdGlhbCBzZXQg
b2YgcHJlZmVyZW5jZXMuCiAgIEFkZGl0aW9uYWwgcHJlZmVyZW5jZXMgY2FuIGJlIHJlZ2lzdGVy
ZWQgZm9yIGNvbnZlbmllbmNlIGFuZC9vciB0bwogICBwcm9tb3RlIHJldXNlIGJ5IG90aGVyIGFw
cGxpY2F0aW9ucy4gIFRoaXMgc3BlY2lmaWNhdGlvbiBlc3RhYmxpc2hlcwogICBhbiBJQU5BIHJl
Z2lzdHJ5IG9mIHByZWZlcmVuY2VzIChzZWUgU2VjdGlvbiA1LjEpLgoKNC4xLiAgVGhlICJyZXNw
b25kLWFzeW5jIiBQcmVmZXJlbmNlCgogICBUaGUgInJlc3BvbmQtYXN5bmMiIHByZWZlcmVuY2Ug
aW5kaWNhdGVzIHRoYXQgdGhlIGNsaWVudCBwcmVmZXJzIHRoZQogICBzZXJ2ZXIgdG8gcmVzcG9u
ZCBhc3luY2hyb25vdXNseSB0byBhIHJlc3BvbnNlLiAgRm9yIGluc3RhbmNlLCBpbiB0aGUKICAg
Y2FzZSB3aGVuIHRoZSBsZW5ndGggb2YgdGltZSBpdCB0YWtlcyB0byBnZW5lcmF0ZSBhIHJlc3Bv
bnNlIHdpbGwKICAgZXhjZWVkIHNvbWUgYXJiaXRyYXJ5IHRocmVzaG9sZCBlc3RhYmxpc2hlZCBi
eSB0aGUgc2VydmVyLCB0aGUgc2VydmVyCiAgIGNhbiBob25vciB0aGUgcmVzcG9uZC1hc3luYyBw
cmVmZXJlbmNlIGJ5IHJldHVybmluZyBhICIyMDIgQWNjZXB0ZWQiCiAgIHJlc3BvbnNlLgoKICAg
QUJORjoKCiAgICAgcmVzcG9uZC1hc3luYyA9ICJyZXNwb25kLWFzeW5jIgoKCgpTbmVsbCAgICAg
ICAgICAgICAgICAgICAgRXhwaXJlcyBBcHJpbCAyOSwgMjAxMyAgICAgICAgICAgICAgICAgW1Bh
Z2UgOF0KDApJbnRlcm5ldC1EcmFmdCAgICAgICAgICAgICAgICAgSFRUUCBQcmVmZXIgICAgICAg
ICAgICAgICAgICBPY3RvYmVyIDIwMTIKCgogICBUaGUga2V5IG1vdGl2YXRpb24gZm9yIHRoZSAi
cmVzcG9uZC1hc3luYyIgcHJlZmVyZW5jZSBpcyB0bwogICBmYWNpbGl0YXRlIHRoZSBvcGVyYXRp
b24gb2YgYXN5bmNocm9ub3VzIHJlcXVlc3QgaGFuZGxpbmcgYnkgYWxsb3dpbmcKICAgdGhlIGNs
aWVudCB0byBpbmRpY2F0ZSB0byBhIHNlcnZlciBpdHMgY2FwYWJpbGl0eSBhbmQgcHJlZmVyZW5j
ZSBmb3IKICAgaGFuZGxpbmcgYXN5bmNocm9ub3VzIHJlc3BvbnNlcy4KCiAgIEFuIGV4YW1wbGUg
cmVxdWVzdCBzcGVjaWZ5aW5nIHRoZSAicmVzcG9uZC1hc3luYyIgcHJlZmVyZW5jZToKCiAgICAg
UE9TVCAvY29sbGVjdGlvbiBIVFRQLzEuMQogICAgIEhvc3Q6IGV4YW1wbGUub3JnCiAgICAgQ29u
dGVudC1UeXBlOiB0ZXh0L3BsYWluCiAgICAgUHJlZmVyOiByZXNwb25kLWFzeW5jCgogICAgIHtE
YXRhfQoKICAgQW4gZXhhbXBsZSBhc3luY2hyb25vdXMgcmVzcG9uc2UgdXNpbmcgIjIwMiBBY2Nl
cHRlZCI6CgogICAgIEhUVFAvMS4xIDIwMiBBY2NlcHRlZAogICAgIExvY2F0aW9uOiBodHRwOi8v
ZXhhbXBsZS5vcmcvY29sbGVjdGlvbi8xMjMKCiAgIFdoaWxlIHRoZSAiMjAyIEFjY2VwdGVkIiBy
ZXNwb25zZSBzdGF0dXMgaXMgZGVmaW5lZCBieQogICBbSS1ELmlldGYtaHR0cGJpcy1wMi1zZW1h
bnRpY3NdLCBsaXR0bGUgZ3VpZGFuY2UgaXMgZ2l2ZW4gb24gaG93IGFuZAogICB3aGVuIHRvIHVz
ZSB0aGUgcmVzcG9uc2UgY29kZSBhbmQgdGhlIHByb2Nlc3MgZm9yIGRldGVybWluaW5nIHRoZQog
ICBzdWJzZXF1ZW50IGZpbmFsIHJlc3VsdCBvZiB0aGUgb3BlcmF0aW9uIGlzIGxlZnQgZW50aXJl
bHkgdW5kZWZpbmVkLgogICBUaGVyZWZvcmUsIHdoZXRoZXIgYW5kIGhvdyBhbnkgZ2l2ZW4gc2Vy
dmVyIHN1cHBvcnRzIGFzeW5jaHJvbm91cwogICByZXNwb25zZXMgaXMgYW4gaW1wbGVtZW50YXRp
b24gc3BlY2lmaWMgZGV0YWlsIHRoYXQgaXMgY29uc2lkZXJlZCB0bwogICBiZSBvdXQgb2YgdGhl
IHNjb3BlIG9mIHRoaXMgc3BlY2lmaWNhdGlvbi4KCjQuMi4gIFRoZSAicmV0dXJuPXJlcHJlc2Vu
dGF0aW9uIiBhbmQgInJldHVybj1taW5pbWFsIiBQcmVmZXJlbmNlcwoKICAgVGhlICJyZXR1cm49
cmVwcmVzZW50YXRpb24iIHByZWZlcmVuY2UgaW5kaWNhdGVzIHRoYXQgdGhlIGNsaWVudAogICBw
cmVmZXJzIHRoYXQgdGhlIHNlcnZlciBpbmNsdWRlIGFuIGVudGl0eSByZXByZXNlbnRpbmcgdGhl
IGN1cnJlbnQKICAgc3RhdGUgb2YgdGhlIHJlc291cmNlIGluIHRoZSByZXNwb25zZSB0byBhIHN1
Y2Nlc3NmdWwgcmVxdWVzdC4KCiAgIFRoZSAicmV0dXJuPW1pbmltYWwiIHByZWZlcmVuY2UsIG9u
IHRoZSBvdGhlciBoYW5kLCBpbmRpY2F0ZXMgdGhhdAogICB0aGUgY2xpZW50IHdpc2hlcyB0aGUg
c2VydmVyIHRvIHJldHVybiBvbmx5IGEgbWluaW1hbCByZXNwb25zZSB0byBhCiAgIHN1Y2Nlc3Nm
dWwgcmVxdWVzdC4gIFR5cGljYWxseSwgc3VjaCByZXNwb25zZXMgd291bGQgdXRpbGl6ZSB0aGUg
IjIwNAogICBObyBDb250ZW50IiBzdGF0dXMsIGJ1dCBvdGhlciBjb2RlcyBNQVkgYmUgdXNlZCBh
cyBhcHByb3ByaWF0ZSwgc3VjaAogICBhcyBhICIyMDAiIHN0YXR1cyB3aXRoIGEgemVyby1sZW5n
dGggcmVzcG9uc2UgZW50aXR5LiAgVGhlCiAgIGRldGVybWluYXRpb24gb2Ygd2hhdCBjb25zdGl0
dXRlcyBhbiBhcHByb3ByaWF0ZSBtaW5pbWFsIHJlc3BvbnNlIGlzCiAgIHNvbGVseSBhdCB0aGUg
ZGlzY3JldGlvbiBvZiB0aGUgc2VydmVyLgoKICAgQUJORjoKCiAgICAgcmV0dXJuID0gInJldHVy
biIgQldTICI9IiBCV1MgKCJyZXByZXNlbnRhdGlvbiIgLyAibWluaW1hbCIpCgogICBXaGVuIGhv
bm9yaW5nIHRoZSAicmV0dXJuPXJlcHJlc2VudGF0aW9uIiBwcmVmZXJlbmNlLCB0aGUgcmV0dXJu
ZWQKICAgcmVwcmVzZW50YXRpb24gbWlnaHQgbm90IGJlIGEgcmVwcmVzZW50YXRpb24gb2YgdGhl
IGVmZmVjdGl2ZSByZXF1ZXN0CiAgIFVSSSB3aGVuIHRoZSByZXF1ZXN0IGlzIGFmZmVjdGluZyBh
bm90aGVyIHJlc291cmNlLiAgSW4gc3VjaCBjYXNlcywKCgoKU25lbGwgICAgICAgICAgICAgICAg
ICAgIEV4cGlyZXMgQXByaWwgMjksIDIwMTMgICAgICAgICAgICAgICAgIFtQYWdlIDldCgwKSW50
ZXJuZXQtRHJhZnQgICAgICAgICAgICAgICAgIEhUVFAgUHJlZmVyICAgICAgICAgICAgICAgICAg
T2N0b2JlciAyMDEyCgoKICAgdGhlIENvbnRlbnQtTG9jYXRpb24gaGVhZGVyIGNhbiBiZSB1c2Vk
IHRvIGlkZW50aWZ5IHRoZSBVUkkgb2YgdGhlCiAgIHJldHVybmVkIHJlcHJlc2VudGF0aW9uLgoK
ICAgVGhlICJyZXR1cm49cmVwcmVzZW50YXRpb24iIHByZWZlcmVuY2UgaXMgaW50ZW5kZWQgdG8g
cHJvdmlkZSBhIG1lYW5zCiAgIG9mIG9wdGltaXppbmcgY29tbXVuaWNhdGlvbiBiZXR3ZWVuIHRo
ZSBjbGllbnQgYW5kIHNlcnZlciBieQogICBlbGltaW5hdGluZyB0aGUgbmVlZCBmb3IgYSBzdWJz
ZXF1ZW50IEdFVCByZXF1ZXN0IHRvIHJldHJpZXZlIHRoZQogICBjdXJyZW50IHJlcHJlc2VudGF0
aW9uIG9mIHRoZSByZXNvdXJjZSBmb2xsb3dpbmcgYSBtb2RpZmljYXRpb24uCgogICBBZnRlciBz
dWNjZXNzZnVsbHkgcHJvY2Vzc2luZyBhIG1vZGlmaWNhdGlvbiByZXF1ZXN0IHN1Y2ggYXMgYSBQ
T1NUCiAgIG9yIFBVVCwgYSBzZXJ2ZXIgY2FuIGNob29zZSB0byByZXR1cm4gZWl0aGVyIGFuIGVu
dGl0eSBkZXNjcmliaW5nIHRoZQogICBzdGF0dXMgb2YgdGhlIG9wZXJhdGlvbiBvciBhIHJlcHJl
c2VudGF0aW9uIG9mIHRoZSBtb2RpZmllZCByZXNvdXJjZQogICBpdHNlbGYuICBXaGlsZSB0aGUg
c2VsZWN0aW9uIG9mIHdoaWNoIHR5cGUgb2YgZW50aXR5IHRvIHJldHVybiwgaWYKICAgYW55IGF0
IGFsbCwgaXMgc29sZWx5IGF0IHRoZSBkaXNjcmV0aW9uIG9mIHRoZSBzZXJ2ZXIsIHRoZQogICAi
cmV0dXJuPXJlcHJlc2VudGF0aW9uIiBwcmVmZXJlbmNlIC0tIGFsb25nIHdpdGggdGhlICJyZXR1
cm49bWluaW1hbCIKICAgcHJlZmVyZW5jZSBkZWZpbmVkIGJlbG93IC0tIGFsbG93IHRoZSBzZXJ2
ZXIgdG8gdGFrZSB0aGUgY2xpZW50J3MKICAgcHJlZmVyZW5jZXMgaW50byBjb25zaWRlcmF0aW9u
IHdoaWxlIGNvbnN0cnVjdGluZyB0aGUgcmVzcG9uc2UuCgogICBBbiBleGFtcGxlIHJlcXVlc3Qg
c3BlY2lmeWluZyB0aGUgInJldHVybj1yZXByZXNlbnRhdGlvbiIgcHJlZmVyZW5jZToKCiAgICAg
UEFUQ0ggL2l0ZW0vMTIzIEhUVFAvMS4xCiAgICAgSG9zdDogZXhhbXBsZS5vcmcKICAgICBDb250
ZW50LVR5cGU6IHRleHQvcGF0Y2gKICAgICBQcmVmZXI6IHJldHVybj1yZXByZXNlbnRhdGlvbgoK
ICAgICAxYzEKICAgICA8IEFCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaCiAgICAgLS0tCiAgICAg
PiBCQ0RGR0hKS0xNTlBRUlNUVldYWVoKCiAgIEFuIGV4YW1wbGUgcmVzcG9uc2UgY29udGFpbmlu
ZyB0aGUgcmVzb3VyY2UgcmVwcmVzZW50YXRpb246CgogICAgIEhUVFAvMS4xIDIwMCBPSwogICAg
IENvbnRlbnQtTG9jYXRpb246IGh0dHA6Ly9leGFtcGxlLm9yZy9pdGVtLzEyMwogICAgIENvbnRl
bnQtVHlwZTogdGV4dC9wbGFpbgogICAgIEVUYWc6ICJkM2IwNzM4NGQxMTNlZGVjNDllYWE2MjM4
YWQ1ZmYwMCIKCiAgICAgQkNERkdISktMTU5QUVJTVFZXWFlaCgogICBJbiBjb250cmFzdCwgdGhl
ICJyZXR1cm49bWluaW1hbCIgcHJlZmVyZW5jZSBjYW4gcmVkdWNlIHRoZSBhbW91bnQgb2YKICAg
ZGF0YSB0aGUgc2VydmVyIGlzIHJlcXVpcmVkIHRvIHJldHVybiB0byB0aGUgY2xpZW50IGZvbGxv
d2luZyBhCiAgIHJlcXVlc3QuICBUaGlzIGNhbiBiZSBwYXJ0aWN1bGFybHkgdXNlZnVsLCBmb3Ig
aW5zdGFuY2UsIHdoZW4KICAgY29tbXVuaWNhdGluZyB3aXRoIGxpbWl0ZWQtYmFuZHdpZHRoIG1v
YmlsZSBkZXZpY2VzIG9yIHdoZW4gdGhlCiAgIGNsaWVudCBzaW1wbHkgZG9lcyBub3QgcmVxdWly
ZSBhbnkgZnVydGhlciBpbmZvcm1hdGlvbiBhYm91dCB0aGUKICAgcmVzdWx0IG9mIGEgcmVxdWVz
dCBiZXlvbmQga25vd2luZyBpZiBpdCB3YXMgc3VjY2Vzc2Z1bGx5IHByb2Nlc3NlZC4KCgoKCgoK
ClNuZWxsICAgICAgICAgICAgICAgICAgICBFeHBpcmVzIEFwcmlsIDI5LCAyMDEzICAgICAgICAg
ICAgICAgIFtQYWdlIDEwXQoMCkludGVybmV0LURyYWZ0ICAgICAgICAgICAgICAgICBIVFRQIFBy
ZWZlciAgICAgICAgICAgICAgICAgIE9jdG9iZXIgMjAxMgoKCiAgIEFuIGV4YW1wbGUgcmVxdWVz
dCBzcGVjaWZ5aW5nIHRoZSAicmV0dXJuPW1pbmltYWwiIHByZWZlcmVuY2U6CgogICAgIFBPU1Qg
L2NvbGxlY3Rpb24gSFRUUC8xLjEKICAgICBIb3N0OiBleGFtcGxlLm9yZwogICAgIENvbnRlbnQt
VHlwZTogdGV4dC9wbGFpbgogICAgIFByZWZlcjogcmV0dXJuPW1pbmltYWwKCiAgICAge0RhdGF9
CgogICBBbiBleGFtcGxlIG1pbmltYWwgcmVzcG9uc2U6CgogICAgIEhUVFAvMS4xIDIwMSBDcmVh
dGVkCiAgICAgTG9jYXRpb246IGh0dHA6Ly9leGFtcGxlLm9yZy9jb2xsZWN0aW9uLzEyMwoKICAg
VGhlICJyZXR1cm49bWluaW1hbCIgYW5kICJyZXR1cm49cmVwcmVzZW50YXRpb24iIHByZWZlcmVu
Y2VzIGFyZQogICBtdXR1YWxseSBleGNsdXNpdmUgZGlyZWN0aXZlcy4gIEl0IGlzIGFudGljaXBh
dGVkIHRoYXQgdGhlcmUgd2lsbAogICBuZXZlciBiZSBhIHNpdHVhdGlvbiB3aGVyZSBpdCB3aWxs
IG1ha2Ugc2Vuc2UgZm9yIGEgc2luZ2xlIHJlcXVlc3QgdG8KICAgaW5jbHVkZSBib3RoIHByZWZl
cmVuY2VzLiAgQW55IHN1Y2ggcmVxdWVzdHMgd2lsbCBsaWtlbHkgYmUgdGhlCiAgIHJlc3VsdCBv
ZiBhIGNvZGluZyBlcnJvciB3aXRoaW4gdGhlIGNsaWVudC4gIEFzIHN1Y2gsIGEgcmVxdWVzdAog
ICBjb250YWluaW5nIGJvdGggcHJlZmVyZW5jZXMgY2FuIGJlIHRyZWF0ZWQgYXMgdGhvdWdoIG5l
aXRoZXIgd2VyZQogICBzcGVjaWZpZWQuCgo0LjMuICBUaGUgIndhaXQiIFByZWZlcmVuY2UKCiAg
IFRoZSAid2FpdCIgcHJlZmVyZW5jZSBjYW4gYmUgdXNlZCB0byBlc3RhYmxpc2ggYW4gdXBwZXIg
Ym91bmQgb24gdGhlCiAgIGxlbmd0aCBvZiB0aW1lLCBpbiBzZWNvbmRzLCB0aGUgY2xpZW50IGV4
cGVjdHMgaXQgd2lsbCB0YWtlIHRoZQogICBzZXJ2ZXIgdG8gcHJvY2VzcyB0aGUgcmVxdWVzdCBv
bmNlIGl0IGhhcyBiZWVuIHJlY2VpdmVkLiAgSW4gdGhlIGNhc2UKICAgdGhhdCBnZW5lcmF0aW5n
IGEgcmVzcG9uc2Ugd2lsbCB0YWtlIGxvbmdlciB0aGFuIHRoZSB0aW1lIHNwZWNpZmllZCwKICAg
dGhlIHNlcnZlciwgb3IgcHJveHksIGNhbiBjaG9vc2UgdG8gdXRpbGl6ZSBhbiBhc3luY2hyb25v
dXMKICAgcHJvY2Vzc2luZyBtb2RlbCBieSByZXR1cm5pbmcgLS0gZm9yIGV4YW1wbGUgLS0gYSAi
MjAyIEFjY2VwdGVkIgogICByZXNwb25zZS4KCiAgIEFCTkY6CgogICAgIHdhaXQgPSAid2FpdCIg
QldTICI9IiBCV1MgZGVsdGEtc2Vjb25kcwoKICAgSXQgaXMgaW1wb3J0YW50IHRvIGNvbnNpZGVy
IHRoYXQgSFRUUCBtZXNzYWdlcyBzcGVuZCBzb21lIHRpbWUKICAgdHJhdmVyc2luZyB0aGUgbmV0
d29yayBhbmQgYmVpbmcgcHJvY2Vzc2VkIGJ5IGludGVybWVkaWFyaWVzLiAgVGhpcwogICBpbmNy
ZWFzZXMgdGhlIGxlbmd0aCBvZiB0aW1lIHRoYXQgYSBjbGllbnQgd2lsbCB3YWl0IGZvciBhIHJl
c3BvbnNlCiAgIGluIGFkZGl0aW9uIHRvIHRoZSB0aW1lIHRoZSBzZXJ2ZXIgdGFrZXMgdG8gcHJv
Y2VzcyB0aGUgcmVxdWVzdC4gIEEKICAgY2xpZW50IHRoYXQgaGFzIHN0cmljdCB0aW1pbmcgcmVx
dWlyZW1lbnRzIGNhbiBlc3RpbWF0ZSB0aGVzZSBmYWN0b3JzCiAgIGFuZCBhZGp1c3QgdGhlIHdh
aXQgdmFsdWUgYWNjb3JkaW5nbHkuCgogICBBcyB3aXRoIG90aGVyIHByZWZlcmVuY2VzLCB0aGUg
IndhaXQiIHByZWZlcmVuY2UgY291bGQgYmUgaWdub3JlZC4KICAgQ2xpZW50cyBjYW4gYWJhbmRv
biByZXF1ZXN0cyB0aGF0IHRha2UgbG9uZ2VyIHRoYW4gdGhleSBhcmUgcHJlcGFyZWQKICAgdG8g
d2FpdC4KCgoKCgpTbmVsbCAgICAgICAgICAgICAgICAgICAgRXhwaXJlcyBBcHJpbCAyOSwgMjAx
MyAgICAgICAgICAgICAgICBbUGFnZSAxMV0KDApJbnRlcm5ldC1EcmFmdCAgICAgICAgICAgICAg
ICAgSFRUUCBQcmVmZXIgICAgICAgICAgICAgICAgICBPY3RvYmVyIDIwMTIKCgogICBGb3IgZXhh
bXBsZSwgYSBzZXJ2ZXIgcmVjZWl2aW5nIHRoZSBmb2xsb3dpbmcgcmVxdWVzdCBtaWdodCBjaG9v
c2UgdG8KICAgcmVzcG9uZCBhc3luY2hyb25vdXNseSBpZiBwcm9jZXNzaW5nIHRoZSByZXF1ZXN0
IHdpbGwgdGFrZSBsb25nZXIKICAgdGhhbiAxMCBzZWNvbmRzOgoKICAgICBQT1NUIC9jb2xsZWN0
aW9uIEhUVFAvMS4xCiAgICAgSG9zdDogZXhhbXBsZS5vcmcKICAgICBDb250ZW50LVR5cGU6IHRl
eHQvcGxhaW4KICAgICBQcmVmZXI6IHJlc3BvbmQtYXN5bmMsIHdhaXQ9MTAKCiAgICAge0RhdGF9
Cgo0LjQuICBUaGUgImhhbmRsaW5nPXN0cmljdCIgYW5kICJoYW5kbGluZz1sZW5pZW50IiBQcm9j
ZXNzaW5nCiAgICAgIFByZWZlcmVuY2VzCgogICBUaGUgImhhbmRsaW5nPXN0cmljdCIgYW5kICJo
YW5kbGluZz1sZW5pZW50IiBwcmVmZXJlbmNlcyBpbmRpY2F0ZSwgYXQKICAgdGhlIHNlcnZlcidz
IGRpc2NyZXRpb24sIGhvdyB0aGUgY2xpZW50IHdpc2hlcyB0aGUgc2VydmVyIHRvIGhhbmRsZQog
ICBwb3RlbnRpYWwgZXJyb3IgY29uZGl0aW9ucyB0aGF0IGNhbiBhcmlzZSBpbiB0aGUgcHJvY2Vz
c2luZyBvZiBhCiAgIHJlcXVlc3QuICBGb3IgaW5zdGFuY2UsIGlmIHRoZSBwYXlsb2FkIG9mIGEg
cmVxdWVzdCBjb250YWlucyB2YXJpb3VzCiAgIG1pbm9yIHN5bnRhY3RpY2FsIG9yIHNlbWFudGlj
IGVycm9ycywgYnV0IHRoZSBzZXJ2ZXIgaXMgc3RpbGwgY2FwYWJsZQogICBvZiBjb21wcmVoZW5k
aW5nIGFuZCBzdWNjZXNzZnVsbHkgcHJvY2Vzc2luZyB0aGUgcmVxdWVzdCwgYSBkZWNpc2lvbgog
ICBtdXN0IGJlIG1hZGUgdG8gZWl0aGVyIHJlamVjdCB0aGUgcmVxdWVzdCB3aXRoIGFuIGFwcHJv
cHJpYXRlICI0eHgiCiAgIGVycm9yIHJlc3BvbnNlIG9yIGdvIGFoZWFkIHdpdGggcHJvY2Vzc2lu
Zy4gIFRoZSAiaGFuZGxpbmc9c3RyaWN0IgogICBwcmVmZXJlbmNlIGNhbiBiZSB1c2VkIHRvIGlu
ZGljYXRlIHRoYXQsIHdoaWxlIGFueSBwYXJ0aWN1bGFyIGVycm9yCiAgIG1heSBiZSByZWNvdmVy
YWJsZSwgdGhlIGNsaWVudCB3b3VsZCBwcmVmZXIgdGhhdCB0aGUgc2VydmVyIHJlamVjdAogICB0
aGUgcmVxdWVzdC4gIFRoZSAiaGFuZGxpbmc9bGVuaWVudCIgcHJlZmVyZW5jZSwgb24gdGhlIG90
aGVyIGhhbmQsCiAgIGluZGljYXRlcyB0aGF0IHRoZSBjbGllbnQgd2lzaGVzIHRoZSBzZXJ2ZXIg
dG8gYXR0ZW1wdCB0byBwcm9jZXNzIHRoZQogICByZXF1ZXN0LgoKICAgQUJORjoKCiAgICAgaGFu
ZGxpbmcgPSAiaGFuZGxpbmciIEJXUyAiPSIgQldTICgic3RyaWN0IiAvICJsZW5pZW50IikKCiAg
IEFuIGV4YW1wbGUgcmVxdWVzdCBzcGVjaWZ5aW5nIHRoZSAic3RyaWN0IiBwcmVmZXJlbmNlOgoK
ICAgICBQT1NUIC9jb2xsZWN0aW9uIEhUVFAvMS4xCiAgICAgSG9zdDogZXhhbXBsZS5vcmcKICAg
ICBDb250ZW50LVR5cGU6IHRleHQvcGxhaW4KICAgICBQcmVmZXI6IGhhbmRsaW5nPXN0cmljdAoK
ICAgVGhlICJoYW5kbGluZz1zdHJpY3QiIGFuZCAiaGFuZGxpbmc9bGVuaWVudCIgcHJlZmVyZW5j
ZXMgYXJlIG11dHVhbGx5CiAgIGV4Y2x1c2l2ZSBkaXJlY3RpdmVzLiAgSXQgaXMgYW50aWNpcGF0
ZWQgdGhhdCB0aGVyZSB3aWxsIG5ldmVyIGJlIGEKICAgc2l0dWF0aW9uIHdoZXJlIGl0IHdpbGwg
bWFrZSBzZW5zZSBmb3IgYSBzaW5nbGUgcmVxdWVzdCB0byBpbmNsdWRlCiAgIGJvdGggcHJlZmVy
ZW5jZXMuICBBbnkgc3VjaCByZXF1ZXN0cyB3aWxsIGxpa2VseSBiZSB0aGUgcmVzdWx0IG9mIGEK
ICAgY29kaW5nIGVycm9yIHdpdGhpbiB0aGUgY2xpZW50LiAgQXMgc3VjaCwgYSByZXF1ZXN0IGNv
bnRhaW5pbmcgYm90aAogICBwcmVmZXJlbmNlcyBjYW4gYmUgdHJlYXRlZCBhcyB0aG91Z2ggbmVp
dGhlciB3ZXJlIHNwZWNpZmllZC4KCgoKCgoKU25lbGwgICAgICAgICAgICAgICAgICAgIEV4cGly
ZXMgQXByaWwgMjksIDIwMTMgICAgICAgICAgICAgICAgW1BhZ2UgMTJdCgwKSW50ZXJuZXQtRHJh
ZnQgICAgICAgICAgICAgICAgIEhUVFAgUHJlZmVyICAgICAgICAgICAgICAgICAgT2N0b2JlciAy
MDEyCgoKNS4gIElBTkEgQ29uc2lkZXJhdGlvbnMKCiAgIFRoZSAnUHJlZmVyJyBhbmQgJ1ByZWZl
cmVuY2UtQXBwbGllZCcgaGVhZGVyIGZpZWxkcyBzaG91bGQgYmUgYWRkZWQKICAgdG8gdGhlIFBl
cm1hbmVudCBNZXNzYWdlIEhlYWRlciBGaWVsZHMgcmVnaXN0cnkgZGVmaW5lZCBpbiBbUkZDMzg2
NF0KICAgKGh0dHA6Ly93d3cuaWFuYS5vcmcvYXNzaWdubWVudHMvbWVzc2FnZS1oZWFkZXJzL3Bl
cm0taGVhZGVycy5odG1sKS4KCiAgICAgIEhlYWRlciBmaWVsZCBuYW1lOiBQcmVmZXIKICAgICAg
QXBwbGljYWJsZSBQcm90b2NvbDogSFRUUAogICAgICBTdGF0dXM6IFN0YW5kYXJkCiAgICAgIEF1
dGhvcjogSmFtZXMgTSBTbmVsbCA8amFzbmVsbEBnbWFpbC5jb20+CiAgICAgIENoYW5nZSBjb250
cm9sbGVyOiBJRVRGCiAgICAgIFNwZWNpZmljYXRpb24gZG9jdW1lbnQ6IHRoaXMgc3BlY2lmaWNh
dGlvbiwgU2VjdGlvbiAyCgogICAgICBIZWFkZXIgZmllbGQgbmFtZTogUHJlZmVyZW5jZS1BcHBs
aWVkCiAgICAgIEFwcGxpY2FibGUgUHJvdG9jb2w6IEhUVFAKICAgICAgU3RhdHVzOiBTdGFuZGFy
ZAogICAgICBBdXRob3I6IEphbWVzIE0gU25lbGwgPGphc25lbGxAZ21haWwuY29tPgogICAgICBD
aGFuZ2UgY29udHJvbGxlcjogSUVURgogICAgICBTcGVjaWZpY2F0aW9uIGRvY3VtZW50OiB0aGlz
IHNwZWNpZmljYXRpb24sIFNlY3Rpb24gMwoKNS4xLiAgVGhlIFJlZ2lzdHJ5IG9mIFByZWZlcmVu
Y2VzCgogICBJQU5BIGlzIGFza2VkIHRvIGNyZWF0ZSBhIG5ldyByZWdpc3RyeSwgIkhUVFAgUHJl
ZmVyZW5jZXMiLCB1bmRlciB0aGUKICAgSHlwZXJ0ZXh0IFRyYW5zZmVyIFByb3RvY29sIChIVFRQ
KSBQYXJhbWV0ZXJzIGdyb3VwLiAgTmV3CiAgIHJlZ2lzdHJhdGlvbnMgd2lsbCB1c2UgdGhlIFNw
ZWNpZmljYXRpb24gUmVxdWlyZWQgcG9saWN5IFtSRkM1MjI2XS4KICAgVGhlIHJlcXVpcmVtZW50
cyBmb3IgcmVnaXN0ZXJlZCBwcmVmZXJlbmNlcyBhcmUgZGVzY3JpYmVkIGluCiAgIFNlY3Rpb24g
NC4KCiAgIFJlZ2lzdHJhdGlvbiByZXF1ZXN0cyBjb25zaXN0IG9mIHRoZSBjb21wbGV0ZWQgcmVn
aXN0cmF0aW9uIHRlbXBsYXRlCiAgIGJlbG93LCB0eXBpY2FsbHkgcHVibGlzaGVkIGluIHRoZSBy
ZXF1aXJlZCBzcGVjaWZpY2F0aW9uLiAgSG93ZXZlciwKICAgdG8gYWxsb3cgZm9yIHRoZSBhbGxv
Y2F0aW9uIG9mIHZhbHVlcyBwcmlvciB0byBwdWJsaWNhdGlvbiwgdGhlCiAgIERlc2lnbmF0ZWQg
RXhwZXJ0IGNhbiBhcHByb3ZlIHJlZ2lzdHJhdGlvbiBiYXNlZCBvbiBhIHNlcGFyYXRlbHkKICAg
c3VibWl0dGVkIHRlbXBsYXRlIG9uY2UgdGhleSBhcmUgc2F0aXNmaWVkIHRoYXQgYSBzcGVjaWZp
Y2F0aW9uIHdpbGwKICAgYmUgcHVibGlzaGVkLiAgUHJlZmVyZW5jZXMgY2FuIGJlIHJlZ2lzdGVy
ZWQgYnkgdGhpcmQgcGFydGllcyBpZiB0aGUKICAgRGVzaWduYXRlZCBFeHBlcnQgZGV0ZXJtaW5l
cyB0aGF0IGFuIHVucmVnaXN0ZXJlZCBwcmVmZXJlbmNlIGlzCiAgIHdpZGVseSBkZXBsb3llZCBh
bmQgbm90IGxpa2VseSB0byBiZSByZWdpc3RlcmVkIGluIGEgdGltZWx5IG1hbm5lci4KCiAgIFRo
ZSByZWdpc3RyYXRpb24gdGVtcGxhdGUgaXM6CgogICBvICBQcmVmZXJlbmNlOiAoQSB2YWx1ZSBm
b3IgdGhlIFByZWZlciByZXF1ZXN0IGhlYWRlciBmaWVsZCB0aGF0CiAgICAgIGNvbmZvcm1zIHRv
IHRoZSBzeW50YXggcnVsZSBnaXZlbiBpbiBTZWN0aW9uIDIpCiAgIG8gIFZhbHVlOiAoQW4gZW51
bWVyYXRpb24gb3IgZGVzY3JpcHRpb24gb2YgcG9zc2libGUgdmFsdWVzIGZvciB0aGUKICAgICAg
cHJlZmVyZW5jZSB0b2tlbikuCiAgIG8gIE9wdGlvbmFsIFBhcmFtZXRlcnM6IChBbiBlbnVtZXJh
dGlvbiBvZiBvcHRpb25hbCBwYXJhbWV0ZXJzLCBhbmQKICAgICAgdGhlaXIgdmFsdWVzLCBhc3Nv
Y2lhdGVkIHdpdGggdGhlIHRoZSBwcmVmZXJlbmNlIHRva2VuKS4KICAgbyAgRGVzY3JpcHRpb246
CgoKCgoKU25lbGwgICAgICAgICAgICAgICAgICAgIEV4cGlyZXMgQXByaWwgMjksIDIwMTMgICAg
ICAgICAgICAgICAgW1BhZ2UgMTNdCgwKSW50ZXJuZXQtRHJhZnQgICAgICAgICAgICAgICAgIEhU
VFAgUHJlZmVyICAgICAgICAgICAgICAgICAgT2N0b2JlciAyMDEyCgoKICAgbyAgUmVmZXJlbmNl
OgogICBvICBOb3RlczogW29wdGlvbmFsXQoKICAgVGhlICJWYWx1ZSIgYW5kICJPcHRpb25hbCBQ
YXJhbWV0ZXJzIiBmaWVsZHMgTUFZIGJlIG9taXR0ZWQgZnJvbSB0aGUKICAgcmVnaXN0cmF0aW9u
IHRlbXBsYXRlIGlmIHRoZSBzcGVjaWZpYyBwcmVmZXJlbmNlIHRva2VuIGRlZmluaXRpb24KICAg
ZG9lcyBub3QgZGVmaW5lIGVpdGhlci4KCiAgIFJlZ2lzdHJhdGlvbiByZXF1ZXN0cyBzaG91bGQg
YmUgc2VudCB0byB0aGUgaWV0Zi1odHRwLXdnQHczLm9yZwogICBtYWlsaW5nIGxpc3QsIG1hcmtl
ZCBjbGVhcmx5IGluIHRoZSBzdWJqZWN0IGxpbmUgKGUuZy4sICJORVcKICAgUFJFRkVSRU5DRSAt
IGV4YW1wbGUiIHRvIHJlZ2lzdGVyIGFuICJleGFtcGxlIiBwcmVmZXJlbmNlKS4gIFdpdGhpbgog
ICBhdCBtb3N0IDE0IGRheXMgb2YgdGhlIHJlcXVlc3QsIHRoZSBEZXNpZ25hdGVkIEV4cGVydChz
KSB3aWxsIGVpdGhlcgogICBhcHByb3ZlIG9yIGRlbnkgdGhlIHJlZ2lzdHJhdGlvbiByZXF1ZXN0
LCBjb21tdW5pY2F0aW5nIHRoaXMgZGVjaXNpb24KICAgdG8gdGhlIHJldmlldyBsaXN0IGFuZCBJ
QU5BLiAgRGVuaWFscyBzaG91bGQgaW5jbHVkZSBhbiBleHBsYW5hdGlvbgogICBhbmQsIGlmIGFw
cGxpY2FibGUsIHN1Z2dlc3Rpb25zIGFzIHRvIGhvdyB0byBtYWtlIHRoZSByZXF1ZXN0CiAgIHN1
Y2Nlc3NmdWwuCgogICBUaGUgRXhwZXJ0IFJldmlld2VyIHNoYWxsIGVuc3VyZToKICAgbyAgVGhh
dCB0aGUgcmVxdWVzdGVkIHByZWZlcmVuY2UgbmFtZSBjb25mb3JtcyB0byB0aGUgdG9rZW4gcnVs
ZSBpbgogICAgICBTZWN0aW9uIDIgYW5kIHRoYXQgaXQgaXMgbm90IGlkZW50aWNhbCB0byBhbnkg
b3RoZXIgcmVnaXN0ZXJlZAogICAgICBwcmVmZXJlbmNlIG5hbWU7CiAgIG8gIFRoYXQgYW55IGFz
c29jaWF0ZWQgdmFsdWUsIHBhcmFtZXRlciBuYW1lcywgYW5kIHZhbHVlcyBjb25mb3JtIHRvCiAg
ICAgIHRoZSByZWxldmFudCBBQk5GIGdyYW1tYXIgc3BlY2lmaWNhdGlvbnMgaW4gU2VjdGlvbiAy
OwogICBvICBUaGF0IHRoZSBuYW1lIGlzIGFwcHJvcHJpYXRlIHRvIHRoZSBzcGVjaWZpY2l0eSBv
ZiB0aGUgcHJlZmVyZW5jZTsKICAgICAgaS5lLiwgaWYgdGhlIHNlbWFudGljcyBhcmUgaGlnaGx5
IHNwZWNpZmljIHRvIGEgcGFydGljdWxhcgogICAgICBhcHBsaWNhdGlvbiwgdGhlIG5hbWUgc2hv
dWxkIHJlZmxlY3QgdGhhdCwgc28gdGhhdCBtb3JlIGdlbmVyYWwKICAgICAgbmFtZXMgcmVtYWlu
IGF2YWlsYWJsZSBmb3IgbGVzcyBzcGVjaWZpYyB1c2UuCiAgIG8gIFRoYXQgcmVxdWVzdGVkIHBy
ZWZlcmVuY2VzIGRvIG5vdCBjb25zdHJhaW4gc2VydmVycywgY2xpZW50cyBvcgogICAgICBhbnkg
aW50ZXJtZWRpYXJpZXMgdG8gYW55IGJlaGF2aW9yIHJlcXVpcmVkIGZvciBzdWNjZXNzZnVsCiAg
ICAgIHByb2Nlc3Npbmc7IGFuZAogICBvICBUaGF0IHRoZSBzcGVjaWZpY2F0aW9uIGRvY3VtZW50
IGRlZmluaW5nIHRoZSBwcmVmZXJlbmNlIGluY2x1ZGVzIGEKICAgICAgcHJvcGVyIGFuZCBjb21w
bGV0ZSBkaXNjdXNzaW9uIG9mIGFueSBzZWN1cml0eSBjb25zaWRlcmF0aW9ucwogICAgICByZWxl
dmFudCB0byB0aGUgdXNlIG9mIHRoZSBwcmVmZXJlbmNlLgoKNS4yLiAgSW5pdGlhbCBSZWdpc3Ry
eSBDb250ZW50cwoKICAgVGhlIFByZWZlcmVuY2VzIFJlZ2lzdHJ5J3MgaW5pdGlhbCBjb250ZW50
cyBhcmU6CgogICBvICBQcmVmZXJlbmNlOiByZXNwb25kLWFzeW5jCiAgIG8gIERlc2NyaXB0aW9u
OiBJbmRpY2F0ZXMgdGhhdCB0aGUgY2xpZW50IHByZWZlcnMgdGhlIHNlcnZlciB0bwogICAgICBy
ZXNwb25kIGFzeW5jaHJvbm91c2x5IHRvIGEgcmVxdWVzdC4KICAgbyAgUmVmZXJlbmNlOiBbdGhp
cyBzcGVjaWZpY2F0aW9uXSwgU2VjdGlvbiA0LjEKCiAgIG8gIFByZWZlcmVuY2U6IHJldHVybgog
ICBvICBWYWx1ZTogT25lIG9mIGVpdGhlciAibWluaW1hbCIgb3IgInJlcHJlc2VudGF0aW9uIgog
ICBvICBEZXNjcmlwdGlvbjogV2hlbiB2YWx1ZSBpcyAibWluaW1hbCIsIGluZGljYXRlcyB0aGF0
IHRoZSBjbGllbnQKICAgICAgcHJlZmVycyB0aGUgc2VydmVyIHJldHVybiBhIG1pbmltYWwgcmVz
cG9uc2UgdG8gYSByZXF1ZXN0LiAgV2hlbgogICAgICB2YWx1ZSBpcyAicmVwcmVzZW50YXRpb24i
LCBpbmRpY2F0ZXMgdGhhdCB0aGUgY2xpZW50IHByZWZlcnMgdGhlCiAgICAgIHNlcnZlciB0byBp
bmNsdWRlIGEgcmVwcmVzZW50YXRpb24gb2YgdGhlIGN1cnJlbnQgc3RhdGUgb2YgdGhlCgoKClNu
ZWxsICAgICAgICAgICAgICAgICAgICBFeHBpcmVzIEFwcmlsIDI5LCAyMDEzICAgICAgICAgICAg
ICAgIFtQYWdlIDE0XQoMCkludGVybmV0LURyYWZ0ICAgICAgICAgICAgICAgICBIVFRQIFByZWZl
ciAgICAgICAgICAgICAgICAgIE9jdG9iZXIgMjAxMgoKCiAgICAgIHJlc291cmNlIGluIHJlc3Bv
bnNlIHRvIGEgcmVxdWVzdC4KICAgbyAgUmVmZXJlbmNlOiBbdGhpcyBzcGVjaWZpY2F0aW9uXSwg
U2VjdGlvbiA0LjIKCiAgIG8gIFByZWZlcmVuY2U6IHdhaXQKICAgbyAgRGVzY3JpcHRpb246IElu
ZGljYXRlcyBhbiB1cHBlciBib3VuZCB0byB0aGUgbGVuZ3RoIG9mIHRpbWUgdGhlCiAgICAgIGNs
aWVudCBleHBlY3RzIGl0IHdpbGwgdGFrZSB0aGUgc2VydmVyIHRvIHByb2Nlc3MgdGhlIHJlcXVl
c3Qgb25jZQogICAgICBpdCBoYXMgYmVlbiByZWNlaXZlZC4KICAgbyAgUmVmZXJlbmNlOiBbdGhp
cyBzcGVjaWZpY2F0aW9uXSwgU2VjdGlvbiA0LjMKCiAgIG8gIFByZWZlcmVuY2U6IGhhbmRsaW5n
CiAgIG8gIFZhbHVlOiBPbmUgb2YgZWl0aGVyICJzdHJpY3QiIG9yICJsZW5pZW50IgogICBvICBE
ZXNjcmlwdGlvbjogV2hlbiB2YWx1ZSBpcyAic3RyaWN0IiwgaW5kaWNhdGVzIHRoYXQgdGhlIGNs
aWVudAogICAgICB3aXNoZXMgdGhlIHNlcnZlciB0byBhcHBseSBzdHJpY3QgdmFsaWRhdGlvbiBh
bmQgZXJyb3IgaGFuZGxpbmcgdG8KICAgICAgdGhlIHByb2Nlc3Npbmcgb2YgYSByZXF1ZXN0LiAg
V2hlbiB2YWx1ZSBpcyAibGVuaWVudCIsIGluZGljYXRlcwogICAgICB0aGF0IHRoZSBjbGllbnQg
d2lzaGVzIHRoZSBzZXJ2ZXIgdG8gYXBwbHkgbGVuaWVudCB2YWxpZGF0aW9uIGFuZAogICAgICBl
cnJvciBoYW5kbGluZyB0byB0aGUgcHJvY2Vzc2luZyBvZiB0aGUgcmVxdWVzdC4KICAgbyAgUmVm
ZXJlbmNlOiBbdGhpcyBzcGVjaWZpY2F0aW9uXSwgU2VjdGlvbiA0LjQKCgo2LiAgU2VjdXJpdHkg
Q29uc2lkZXJhdGlvbnMKCiAgIFNwZWNpZmljIHByZWZlcmVuY2VzIHJlcXVlc3RlZCBieSBhIGNs
aWVudCBjYW4gaW50cm9kdWNlIHNlY3VyaXR5CiAgIGNvbnNpZGVyYXRpb25zIGFuZCBjb25jZXJu
cyBiZXlvbmQgdGhvc2UgZGlzY3Vzc2VkIHdpdGhpbiBIVFRQLzEuMQogICBbSS1ELmlldGYtaHR0
cGJpcy1wMS1tZXNzYWdpbmddIGFuZCBpdCdzIGFkZGl0aW9uYWwgYXNzb2NpYXRlZAogICBzcGVj
aWZpY2F0aW9uIGRvY3VtZW50cy4gIEltcGxlbWVudGVycyBuZWVkIHRvIHJlZmVyIHRvIHRoZQog
ICBzcGVjaWZpY2F0aW9ucyBhbmQgZGVzY3JpcHRpb25zIG9mIGVhY2ggcHJlZmVyZW5jZSB0byBk
ZXRlcm1pbmUgdGhlCiAgIHNlY3VyaXR5IGNvbnNpZGVyYXRpb25zIHJlbGV2YW50IHRvIGVhY2gu
CgogICBBIHNlcnZlciBjb3VsZCBpbmN1ciBncmVhdGVyIGNvc3RzIGluIGF0dGVtcHRpbmcgdG8g
Y29tcGx5IHdpdGggYQogICBwYXJ0aWN1bGFyIHByZWZlcmVuY2UgKGZvciBpbnN0YW5jZSwgdGhl
IGNvc3Qgb2YgcHJvdmlkaW5nIGEKICAgcmVwcmVzZW50YXRpb24gaW4gYSByZXNwb25zZSB0aGF0
IHdvdWxkIG5vdCBvcmRpbmFyaWx5IGNvbnRhaW4gb25lOwogICBvciB0aGUgY29tbWl0bWVudCBv
ZiByZXNvdXJjZXMgbmVjZXNzYXJ5IHRvIHRyYWNrIHN0YXRlIGZvciBhbgogICBhc3luY2hyb25v
dXMgcmVzcG9uc2UpLiAgVW5jb25kaXRpb25hbCBjb21wbGlhbmNlIGZyb20gYSBzZXJ2ZXIgY291
bGQKICAgYWxsb3cgdGhlIHVzZSBvZiBwcmVmZXJlbmNlcyBmb3IgZGVuaWFsIG9mIHNlcnZpY2Uu
ICBBIHNlcnZlciBjYW4KICAgaWdub3JlIGFuIGV4cHJlc3NlZCBwcmVmZXJlbmNlIHRvIGF2b2lk
IGV4cGVuZGluZyByZXNvdXJjZXMgdGhhdCBpdAogICBkb2VzIG5vdCB3aXNoIHRvIGNvbW1pdC4K
Cgo3LiAgUmVmZXJlbmNlcwoKNy4xLiAgTm9ybWF0aXZlIFJlZmVyZW5jZXMKCiAgIFtJLUQuaWV0
Zi1odHRwYmlzLXAxLW1lc3NhZ2luZ10KICAgICAgICAgICAgICBGaWVsZGluZywgUi4gYW5kIEou
IFJlc2Noa2UsICJIeXBlcnRleHQgVHJhbnNmZXIgUHJvdG9jb2wKICAgICAgICAgICAgICAoSFRU
UC8xLjEpOiBNZXNzYWdlIFN5bnRheCBhbmQgUm91dGluZyIsCiAgICAgICAgICAgICAgZHJhZnQt
aWV0Zi1odHRwYmlzLXAxLW1lc3NhZ2luZy0yMSAod29yayBpbiBwcm9ncmVzcyksCiAgICAgICAg
ICAgICAgT2N0b2JlciAyMDEyLgoKCgoKU25lbGwgICAgICAgICAgICAgICAgICAgIEV4cGlyZXMg
QXByaWwgMjksIDIwMTMgICAgICAgICAgICAgICAgW1BhZ2UgMTVdCgwKSW50ZXJuZXQtRHJhZnQg
ICAgICAgICAgICAgICAgIEhUVFAgUHJlZmVyICAgICAgICAgICAgICAgICAgT2N0b2JlciAyMDEy
CgoKICAgW0ktRC5pZXRmLWh0dHBiaXMtcDItc2VtYW50aWNzXQogICAgICAgICAgICAgIEZpZWxk
aW5nLCBSLiBhbmQgSi4gUmVzY2hrZSwgIkh5cGVydGV4dCBUcmFuc2ZlciBQcm90b2NvbAogICAg
ICAgICAgICAgIChIVFRQLzEuMSk6IFNlbWFudGljcyBhbmQgQ29udGVudCIsCiAgICAgICAgICAg
ICAgZHJhZnQtaWV0Zi1odHRwYmlzLXAyLXNlbWFudGljcy0yMSAod29yayBpbiBwcm9ncmVzcyks
CiAgICAgICAgICAgICAgT2N0b2JlciAyMDEyLgoKICAgW1JGQzIwMjZdICBCcmFkbmVyLCBTLiwg
IlRoZSBJbnRlcm5ldCBTdGFuZGFyZHMgUHJvY2VzcyAtLSBSZXZpc2lvbgogICAgICAgICAgICAg
IDMiLCBCQ1AgOSwgUkZDIDIwMjYsIE9jdG9iZXIgMTk5Ni4KCiAgIFtSRkMyMTE5XSAgQnJhZG5l
ciwgUy4sICJLZXkgd29yZHMgZm9yIHVzZSBpbiBSRkNzIHRvIEluZGljYXRlCiAgICAgICAgICAg
ICAgUmVxdWlyZW1lbnQgTGV2ZWxzIiwgQkNQIDE0LCBSRkMgMjExOSwgTWFyY2ggMTk5Ny4KCiAg
IFtSRkMzODY0XSAgS2x5bmUsIEcuLCBOb3R0aW5naGFtLCBNLiwgYW5kIEouIE1vZ3VsLCAiUmVn
aXN0cmF0aW9uCiAgICAgICAgICAgICAgUHJvY2VkdXJlcyBmb3IgTWVzc2FnZSBIZWFkZXIgRmll
bGRzIiwgQkNQIDkwLCBSRkMgMzg2NCwKICAgICAgICAgICAgICBTZXB0ZW1iZXIgMjAwNC4KCiAg
IFtSRkM1MjI2XSAgTmFydGVuLCBULiBhbmQgSC4gQWx2ZXN0cmFuZCwgIkd1aWRlbGluZXMgZm9y
IFdyaXRpbmcgYW4KICAgICAgICAgICAgICBJQU5BIENvbnNpZGVyYXRpb25zIFNlY3Rpb24gaW4g
UkZDcyIsIEJDUCAyNiwgUkZDIDUyMjYsCiAgICAgICAgICAgICAgTWF5IDIwMDguCgogICBbUkZD
NTIzNF0gIENyb2NrZXIsIEQuIGFuZCBQLiBPdmVyZWxsLCAiQXVnbWVudGVkIEJORiBmb3IgU3lu
dGF4CiAgICAgICAgICAgICAgU3BlY2lmaWNhdGlvbnM6IEFCTkYiLCBTVEQgNjgsIFJGQyA1MjM0
LCBKYW51YXJ5IDIwMDguCgo3LjIuICBJbmZvcm1hdGl2ZSBSZWZlcmVuY2VzCgogICBbUkZDNTAy
M10gIEdyZWdvcmlvLCBKLiBhbmQgQi4gZGUgaE9yYSwgIlRoZSBBdG9tIFB1Ymxpc2hpbmcKICAg
ICAgICAgICAgICBQcm90b2NvbCIsIFJGQyA1MDIzLCBPY3RvYmVyIDIwMDcuCgoKQXV0aG9yJ3Mg
QWRkcmVzcwoKICAgSmFtZXMgTSBTbmVsbAoKICAgRW1haWw6IGphc25lbGxAZ21haWwuY29tCgoK
CgoKCgoKCgoKCgoKCgoKU25lbGwgICAgICAgICAgICAgICAgICAgIEV4cGlyZXMgQXByaWwgMjks
IDIwMTMgICAgICAgICAgICAgICAgW1BhZ2UgMTZdCgw=
--20cf3074b0da61185304ccf84139
Content-Type: text/xml; charset=US-ASCII; name="draft-snell-http-prefer-17.xml"
Content-Disposition: attachment; filename="draft-snell-http-prefer-17.xml"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_h8rh6ev11

PD94bWwgdmVyc2lvbj0iMS4wIj8+IAo8IURPQ1RZUEUgcmZjIFNZU1RFTSAicmZjMjYyOS5kdGQi
IFsKICA8IUVOVElUWSByZmMyNjE2IFBVQkxJQyAnJyAnaHR0cDovL3htbC5yZXNvdXJjZS5vcmcv
cHVibGljL3JmYy9iaWJ4bWwvcmVmZXJlbmNlLlJGQy4yNjE2LnhtbCc+IAogIDwhRU5USVRZIHJm
YzQ5MTggUFVCTElDICcnICdodHRwOi8veG1sLnJlc291cmNlLm9yZy9wdWJsaWMvcmZjL2JpYnht
bC9yZWZlcmVuY2UuUkZDLjQ5MTgueG1sJz4gCiAgPCFFTlRJVFkgcmZjMjExOSBQVUJMSUMgJycg
J2h0dHA6Ly94bWwucmVzb3VyY2Uub3JnL3B1YmxpYy9yZmMvYmlieG1sL3JlZmVyZW5jZS5SRkMu
MjExOS54bWwnPiAKICA8IUVOVElUWSByZmMzODY0IFBVQkxJQyAnJyAnaHR0cDovL3htbC5yZXNv
dXJjZS5vcmcvcHVibGljL3JmYy9iaWJ4bWwvcmVmZXJlbmNlLlJGQy4zODY0LnhtbCc+CiAgPCFF
TlRJVFkgcmZjNTIyNiBQVUJMSUMgJycgJ2h0dHA6Ly94bWwucmVzb3VyY2Uub3JnL3B1YmxpYy9y
ZmMvYmlieG1sL3JlZmVyZW5jZS5SRkMuNTIyNi54bWwnPgogIDwhRU5USVRZIHJmYzIwMjYgUFVC
TElDICcnICdodHRwOi8veG1sLnJlc291cmNlLm9yZy9wdWJsaWMvcmZjL2JpYnhtbC9yZWZlcmVu
Y2UuUkZDLjIwMjYueG1sJz4KICA8IUVOVElUWSByZmM1MjM0IFBVQkxJQyAnJyAnaHR0cDovL3ht
bC5yZXNvdXJjZS5vcmcvcHVibGljL3JmYy9iaWJ4bWwvcmVmZXJlbmNlLlJGQy41MjM0LnhtbCc+
CiAgPCFFTlRJVFkgcmZjNTAyMyBQVUJMSUMgJycgJ2h0dHA6Ly94bWwucmVzb3VyY2Uub3JnL3B1
YmxpYy9yZmMvYmlieG1sL3JlZmVyZW5jZS5SRkMuNTAyMy54bWwnPgogIAogIDwhRU5USVRZIHBh
cnQxIFBVQkxJQyAnJyAnaHR0cDovL3htbC5yZXNvdXJjZS5vcmcvcHVibGljL3JmYy9iaWJ4bWwz
L3JlZmVyZW5jZS5JLUQuZHJhZnQtaWV0Zi1odHRwYmlzLXAxLW1lc3NhZ2luZy0yMS54bWwnPgog
IDwhRU5USVRZIHBhcnQyIFBVQkxJQyAnJyAnaHR0cDovL3htbC5yZXNvdXJjZS5vcmcvcHVibGlj
L3JmYy9iaWJ4bWwzL3JlZmVyZW5jZS5JLUQuZHJhZnQtaWV0Zi1odHRwYmlzLXAyLXNlbWFudGlj
cy0yMS54bWwnPgpdPgo8P3JmYyB0b2M9InllcyI/PiAKPD9yZmMgc3RyaWN0PSJ5ZXMiPz4gCjw/
cmZjIHN5bXJlZnM9InllcyIgPz4gCjw/cmZjIHNvcnRyZWZzPSJ5ZXMiPz4gCjw/cmZjIGNvbXBh
Y3Q9InllcyI/PiAKPHJmYyBjYXRlZ29yeT0ic3RkIiBpcHI9InRydXN0MjAwODExIiBkb2NOYW1l
PSJkcmFmdC1zbmVsbC1odHRwLXByZWZlci0xNyI+IAogIDxmcm9udD4gCiAgICA8dGl0bGUgYWJi
cmV2PSJIVFRQIFByZWZlciI+IAogICAgICBQcmVmZXIgSGVhZGVyIGZvciBIVFRQCiAgICA8L3Rp
dGxlPiAKIAogICAgPGF1dGhvciBpbml0aWFscz0iSi5NLiIgc3VybmFtZT0iU25lbGwiIGZ1bGxu
YW1lPSJKYW1lcyBNIFNuZWxsIj4gCiAgICAgIDxhZGRyZXNzPiAKICAgICAgICA8ZW1haWw+amFz
bmVsbEBnbWFpbC5jb208L2VtYWlsPiAKICAgICAgPC9hZGRyZXNzPiAKICAgIDwvYXV0aG9yPiAK
ICAgIAogICAgPGRhdGUgbW9udGg9Ik9jdG9iZXIiIHllYXI9IjIwMTIiIC8+IAogCiAgICA8YXJl
YT5BcHBsaWNhdGlvbnM8L2FyZWE+IAogICAgPGtleXdvcmQ+SS1EPC9rZXl3b3JkPiAKICAgIDxr
ZXl3b3JkPmh0dHA8L2tleXdvcmQ+IAogICAgPGtleXdvcmQ+cHJlZmVyPC9rZXl3b3JkPiAKIAog
ICAgPGFic3RyYWN0PiAKICAgICAgPHQ+VGhpcyBzcGVjaWZpY2F0aW9uIGRlZmluZXMgYW4gSFRU
UCBoZWFkZXIgZmllbGQgdGhhdCBjYW4gYmUKICAgICAgdXNlZCBieSBhIGNsaWVudCB0byByZXF1
ZXN0IHRoYXQgY2VydGFpbiBiZWhhdmlvcnMgYmUgZW1wbG95ZWQKICAgICAgYnkgYSBzZXJ2ZXIg
d2hpbGUgcHJvY2Vzc2luZyBhIHJlcXVlc3QuPC90PiAKICAgIDwvYWJzdHJhY3Q+IAogCiAgPC9m
cm9udD4gCiAgCiAgPG1pZGRsZT4gCiAgICA8c2VjdGlvbiBhbmNob3I9ImludHJvIiB0aXRsZT0i
SW50cm9kdWN0aW9uIj4gCiAKICAgICAgPHQ+V2l0aGluIHRoZSBjb3Vyc2Ugb2YgcHJvY2Vzc2lu
ZyBhbiBIVFRQIHJlcXVlc3QgdGhlcmUgYXJlIHR5cGljYWxseQogICAgICBhIHJhbmdlIG9mIHJl
cXVpcmVkIGFuZCBvcHRpb25hbCBiZWhhdmlvcnMgdGhhdCBhIHNlcnZlciBvciBpbnRlcm1lZGlh
cnkgCiAgICAgIGNhbiBlbXBsb3kuIFRoZXNlIG9mdGVuIG1hbmlmZXN0IGluIGEgdmFyaWV0eSBv
ZiBzdWJ0bGUgYW5kIG5vdC1zby1zdWJ0bGUgCiAgICAgIHdheXMgd2l0aGluIHRoZSByZXNwb25z
ZS48L3Q+CiAgICAgIAogICAgICA8dD5Gb3IgZXhhbXBsZSwgd2hlbiB1c2luZyB0aGUgSFRUUCBQ
VVQgbWV0aG9kIHRvIG1vZGlmeSBhIHJlc291cmNlIC0tIAogICAgICBzaW1pbGFyIHRvIHRoYXQg
ZGVmaW5lZCBmb3IgdGhlIEF0b20gUHVibGlzaGluZyBQcm90b2NvbCA8eHJlZiB0YXJnZXQ9IlJG
QzUwMjMiIC8+IC0tCiAgICAgIHRoZSBzZXJ2ZXIgaXMgZ2l2ZW4gdGhlIG9wdGlvbiBvZiByZXR1
cm5pbmcgZWl0aGVyIGEgY29tcGxldGUgcmVwcmVzZW50YXRpb24gCiAgICAgIG9mIGEgbW9kaWZp
ZWQgcmVzb3VyY2Ugb3IgYSBtaW5pbWFsIHJlc3BvbnNlIHRoYXQgaW5kaWNhdGVzIG9ubHkgdGhl
IHN1Y2Nlc3NmdWwKICAgICAgY29tcGxldGlvbiBvZiB0aGUgb3BlcmF0aW9uLiBUaGUgc2VsZWN0
aW9uIG9mIHdoaWNoIHR5cGUgb2YgcmVzcG9uc2UgdG8gCiAgICAgIHJldHVybiB0byB0aGUgY2xp
ZW50IGdlbmVyYWxseSBoYXMgbm8gYmVhcmluZyBvbiB0aGUgc3VjY2Vzc2Z1bCBwcm9jZXNzaW5n
CiAgICAgIG9mIHRoZSByZXF1ZXN0IGJ1dCBjb3VsZCwgZm9yIGluc3RhbmNlLCBoYXZlIGFuIGlt
cGFjdCBvbiB3aGF0IGFjdGlvbnMgdGhlIAogICAgICBjbGllbnQgbXVzdCB0YWtlIGFmdGVyIHJl
Y2VpdmluZyB0aGUgcmVzcG9uc2UuIFRoYXQgaXMsIHJldHVybmluZyBhIAogICAgICByZXByZXNl
bnRhdGlvbiBvZiB0aGUgbW9kaWZpZWQgcmVzb3VyY2Ugd2l0aGluIHRoZSByZXNwb25zZSBjYW4g
YWxsb3cgdGhlIAogICAgICBjbGllbnQgdG8gYXZvaWQgc2VuZGluZyBhbiBhZGRpdGlvbmFsIHN1
YnNlcXVlbnQgR0VUIHJlcXVlc3QuPC90PgogICAgICAKICAgICAgPHQ+U2ltaWxhcmx5LCBzZXJ2
ZXJzIHRoYXQgcHJvY2VzcyByZXF1ZXN0cyBhcmUgb2Z0ZW4gZmFjZWQgd2l0aCBkZWNpc2lvbnMK
ICAgICAgYWJvdXQgaG93IHRvIHByb2Nlc3MgcmVxdWVzdHMgdGhhdCBtYXkgYmUgdGVjaG5pY2Fs
bHkgaW52YWxpZCBvciBpbmNvcnJlY3QgCiAgICAgIGJ1dCBhcmUgc3RpbGwgdW5kZXJzdGFuZGFi
bGUuIEl0IG1pZ2h0IGJlIHRoZSBjYXNlIHRoYXQgdGhlIHNlcnZlciBpcyBhYmxlIHRvIAogICAg
ICBvdmVybG9vayB0aGUgdGVjaG5pY2FsIGVycm9ycyBpbiB0aGUgcmVxdWVzdCBidXQgc3RpbGwg
c3VjY2Vzc2Z1bGx5IHByb2Nlc3MKICAgICAgdGhlIHJlcXVlc3QuIERlcGVuZGluZyBvbiB0aGUg
c3BlY2lmaWMgcmVxdWlyZW1lbnRzIG9mIHRoZSBhcHBsaWNhdGlvbiBhbmQgCiAgICAgIHRoZSBu
YXR1cmUgb2YgdGhlIHJlcXVlc3QgYmVpbmcgbWFkZSwgdGhlIGNsaWVudCBtaWdodCBvciBtaWdo
dCBub3QgCiAgICAgIGNvbnNpZGVyIHN1Y2ggbGVuaWVudCBwcm9jZXNzaW5nIG9mIGl0cyByZXF1
ZXN0IHRvIGJlIGFwcHJvcHJpYXRlLjwvdD4KICAgICAgCiAgICAgIDx0PldoaWxlIHRoZSBkZWNp
c2lvbiBvZiBleGFjdGx5IHdoaWNoIGJlaGF2aW9ycyB0byBhcHBseSBpbiB0aGVzZSBjYXNlcyBs
aWVzIAogICAgICB3aXRoIHRoZSBzZXJ2ZXIgcHJvY2Vzc2luZyB0aGUgcmVxdWVzdCwgdGhlIHNl
cnZlciBtaWdodCB3aXNoIHRvIGRlZmVyIHRvIHRoZSAKICAgICAgY2xpZW50IHRvIHNwZWNpZnkg
d2hpY2ggb3B0aW9uYWwgYmVoYXZpb3IgaXMgcHJlZmVycmVkLjwvdD4KICAgICAgCiAgICAgIDx0
PkN1cnJlbnRseSwgSFRUUCBvZmZlcnMgbm8gZXhwbGljaXRseSBkZWZpbmVkIG1lYW5zIG9mIGV4
cHJlc3NpbmcKICAgICAgdGhlIGNsaWVudCdzIHByZWZlcmVuY2VzIHJlZ2FyZGluZyB0aGUgb3B0
aW9uYWwgYXNwZWN0cyBvZiBoYW5kbGluZyBvZiBhIAogICAgICBnaXZlbiByZXF1ZXN0LiBXaGls
ZSBIVFRQIGRvZXMgcHJvdmlkZSB0aGUgRXhwZWN0IGhlYWRlciAtLSB3aGljaCBjYW4gYmUgdXNl
ZCAKICAgICAgdG8gaWRlbnRpZnkgbWFuZGF0b3J5IGV4cGVjdGF0aW9ucyBmb3IgdGhlIHByb2Nl
c3Npbmcgb2YgYSByZXF1ZXN0IC0tIHVzZSBvZiAKICAgICAgdGhlIGZpZWxkIHRvIGNvbW11bmlj
YXRlIG9wdGlvbmFsIHByZWZlcmVuY2VzIGlzIHByb2JsZW1hdGljOgogICAgICAgIDxsaXN0IHN0
eWxlPSJudW1iZXJzIj4KICAgICAgICAgIDx0PlRoZSBzZW1hbnRpY3Mgb2YgdGhlIEV4cGVjdCBo
ZWFkZXIgZmllbGQgYXJlIHN1Y2ggdGhhdCBpbnRlcm1lZGlhcmllcyBhbmQgCiAgICAgICAgICBz
ZXJ2ZXJzIGFyZSByZXF1aXJlZCB0byByZWplY3QgYW55IHJlcXVlc3QgdGhhdCBzdGF0ZXMgdW5y
ZWNvZ25pemVkIG9yIAogICAgICAgICAgdW5zdXBwb3J0ZWQgZXhwZWN0YXRpb25zLjwvdD4KICAg
ICAgICAgIDx0PldoaWxlIHRoZSBFeHBlY3QgaGVhZGVyIGZpZWxkIGlzIGVuZC10by1lbmQsIHRo
ZSBIVFRQIHNwZWNpZmljYXRpb24KICAgICAgICAgIHJlcXVpcmVzIHRoYXQgdGhlIGhlYWRlciBi
ZSBwcm9jZXNzZWQgaG9wLWJ5LWhvcC4gVGhhdCBpcywgZXZlcnkgaW50ZXJjZWRpbmcKICAgICAg
ICAgIGludGVybWVkaWFyeSB0aGF0IGhhbmRsZXMgYSByZXF1ZXN0IGJldHdlZW4gdGhlIGNsaWVu
dCBhbmQgdGhlIG9yaWdpbgogICAgICAgICAgc2VydmVyIGlzIHJlcXVpcmVkIHRvIHByb2Nlc3Mg
YW4gZXhwZWN0YXRpb24gYW5kIGRldGVybWluZSB3aGV0aGVyIGl0IGlzCiAgICAgICAgICBjYXBh
YmxlIG9mIGFwcHJvcHJpYXRlbHkgaGFuZGxpbmcgaXQuPC90PgogICAgICAgIDwvbGlzdD4KICAg
ICAgPC90PgogICAgICA8dD5UaGUgcmlnaWQsIG11c3QtdW5kZXJzdGFuZCBzZW1hbnRpY3Mgb2Yg
dGhlIEV4cGVjdCBoZWFkZXIsIHRoZXJlZm9yZSwgbWFrZSBpdAogICAgICBhIHBvb3IgY2hvaWNl
IGZvciB0aGUgZ2VuZXJhbCBleHByZXNzaW9uIG9mIG9wdGlvbmFsIHByZWZlcmVuY2VzIHRoYXQg
bWF5IGJlIAogICAgICBzcGVjaWZpYyB0byBhbiBpbmRpdmlkdWFsIGFwcGxpY2F0aW9uIGFuZCBh
cmUgdGhlcmVmb3JlIHVua25vd24gdG8gYW4gaW50ZXJtZWRpYXJ5CiAgICAgIG9yIGFyZSBvdGhl
cndpc2UgaXJyZWxldmFudCB0byB0aGUgaW50ZXJtZWRpYXJpZXMgc3VjY2Vzc2Z1bCBoYW5kbGlu
ZyBvZiB0aGUgCiAgICAgIHJlcXVlc3QgYW5kIHJlc3BvbnNlLjwvdD4KICAgICAgCiAgICAgIDx0
PkFub3RoZXIgb3B0aW9uIGF2YWlsYWJsZSB0byBjbGllbnRzIGlzIHRvIHV0aWxpemUgUmVxdWVz
dCBVUkkgcXVlcnktc3RyaW5nCiAgICAgIHBhcmFtZXRlcnMgdG8gZXhwcmVzcyBwcmVmZXJlbmNl
cy4gRG9pbmcgc28sIGhvd2V2ZXIsIHJlc3VsdHMgaW4gYSB2YXJpZXR5IG9mCiAgICAgIGlzc3Vl
cyBhZmZlY3RpbmcgdGhlIGNhY2hlYWJpbGl0eSBvZiByZXNwb25zZXMuPC90PgoKICAgICAgPHQ+
QXMgYW4gYWx0ZXJuYXRpdmUsIHRoaXMgc3BlY2lmaWNhdGlvbiBkZWZpbmVzIGEgbmV3IEhUVFAg
cmVxdWVzdCBoZWFkZXIgCiAgICAgIGZpZWxkIHRoYXQgY2FuIGJlIHVzZWQgYnkgY2xpZW50cyB0
byByZXF1ZXN0IHRoYXQgb3B0aW9uYWwgYmVoYXZpb3JzIGJlIGFwcGxpZWQKICAgICAgYnkgYSBz
ZXJ2ZXIgZHVyaW5nIHRoZSBwcm9jZXNzaW5nIHRoZSByZXF1ZXN0LiBBZGRpdGlvbmFsbHksIGEg
aGFuZGZ1bCBvZiAKICAgICAgaW5pdGlhbCBwcmVmZXJlbmNlIHRva2VucyBmb3IgdXNlIHdpdGgg
dGhlIG5ldyBoZWFkZXIgYXJlIGRlZmluZWQuPC90PiAKICAgICAgCiAgICAgIDx0PkluIHRoaXMg
ZG9jdW1lbnQsIHRoZSBrZXkgd29yZHMgIk1VU1QiLCAiTVVTVCBOT1QiLCAiUkVRVUlSRUQiLCAi
U0hBTEwiLCAKICAgICAgIlNIQUxMIE5PVCIsICJTSE9VTEQiLCAiU0hPVUxEIE5PVCIsICJSRUNP
TU1FTkRFRCIsICJNQVkiLCBhbmQgIk9QVElPTkFMIiAKICAgICAgYXJlIHRvIGJlICBpbnRlcnBy
ZXRlZCBhcyBkZXNjcmliZWQgaW4gPHhyZWYgdGFyZ2V0PSJSRkMyMTE5IiAvPi48L3Q+IAogCiAg
ICAgIDxzZWN0aW9uIHRpdGxlPSJTeW50YXggTm90YXRpb24iPgogICAgICAgIDx0PlRoaXMgc3Bl
Y2lmaWNhdGlvbiB1c2VzIHRoZSBBdWdtZW50ZWQgQmFja3VzLU5hdXIgRm9ybSAoQUJORikgCiAg
ICAgICAgbm90YXRpb24gb2YgPHhyZWYgdGFyZ2V0PSJSRkM1MjM0Ii8+IGFuZCBpbmNsdWRlcywg
YnkgcmVmZXJlbmNlLAogICAgICAgIHRoZSAidG9rZW4iLCAid29yZCIsICJPV1MiLCAiQldTIiBy
dWxlcyBhbmQgdGhlICNydWxlIAogICAgICAgIGV4dGVuc2lvbiBhcyBkZWZpbmVkIHdpdGhpbiBT
ZWN0aW9ucyAzLjIuMSBhbmQgMy4yLjQgb2YgCiAgICAgICAgPHhyZWYgdGFyZ2V0PSJJLUQuaWV0
Zi1odHRwYmlzLXAxLW1lc3NhZ2luZyIvPjsgYXMgd2VsbCBhcyAKICAgICAgICB0aGUgImRlbHRh
LXNlY29uZHMiIHJ1bGUgZGVmaW5lZCBpbiBTZWN0aW9uIDguMy4xIG9mIAogICAgICAgIDx4cmVm
IHRhcmdldD0iSS1ELmlldGYtaHR0cGJpcy1wMi1zZW1hbnRpY3MiLz4uPC90PgogICAgICA8L3Nl
Y3Rpb24+CiAKICAgIDwvc2VjdGlvbj4gCiAgICAgICAgCiAgICA8c2VjdGlvbiB0aXRsZT0iVGhl
IFByZWZlciBSZXF1ZXN0IEhlYWRlciBGaWVsZCIgYW5jaG9yPSJwcmVmZXIiPiAKICAgIAogICAg
ICA8dD5UaGUgUHJlZmVyIHJlcXVlc3QgaGVhZGVyIGZpZWxkIGlzIHVzZWQgdG8gaW5kaWNhdGUg
dGhhdCBwYXJ0aWN1bGFyIAogICAgICBzZXJ2ZXIgYmVoYXZpb3JzIGFyZSBwcmVmZXJyZWQgYnkg
dGhlIGNsaWVudCwgYnV0IG5vdCByZXF1aXJlZCBmb3IgCiAgICAgIHN1Y2Nlc3NmdWwgY29tcGxl
dGlvbiBvZiB0aGUgcmVxdWVzdC4gIFByZWZlciBpcyBzaW1pbGFyIGluIG5hdHVyZSB0byB0aGUg
CiAgICAgIEV4cGVjdCBoZWFkZXIgZmllbGQgZGVmaW5lZCBieSBTZWN0aW9uIDYuMS4yIG9mIDx4
cmVmIHRhcmdldD0iSS1ELmlldGYtaHR0cGJpcy1wMi1zZW1hbnRpY3MiLz4gCiAgICAgIHdpdGgg
dGhlIGV4Y2VwdGlvbiB0aGF0IHNlcnZlcnMgYXJlIGFsbG93ZWQgdG8gaWdub3JlIHN0YXRlZCBw
cmVmZXJlbmNlcy48L3Q+IAogICAgICAKICAgICAgPGZpZ3VyZT48cHJlYW1ibGU+QUJORjo8L3By
ZWFtYmxlPjxhcnR3b3JrPiAKICBQcmVmZXIgICAgID0gIlByZWZlciIgIjoiIDEjcHJlZmVyZW5j
ZQogIHByZWZlcmVuY2UgPSB0b2tlbiBbIEJXUyAiPSIgQldTIHdvcmQgXSAKICAgICAgICAgICAg
ICAgKiggT1dTICI7IiBbIE9XUyBwYXJhbWV0ZXIgXSApCiAgcGFyYW1ldGVyICA9IHRva2VuIFsg
QldTICI9IiBCV1Mgd29yZCBdCiAgICAgIDwvYXJ0d29yaz48L2ZpZ3VyZT4gCiAgCiAgICAgIDx0
PlRoaXMgaGVhZGVyIGZpZWxkIGlzIGRlZmluZWQgd2l0aCBhbiBleHRlbnNpYmxlIHN5bnRheCB0
byBhbGxvdyBmb3IgZnV0dXJlCiAgICAgIHZhbHVlcyBpbmNsdWRlZCBpbiB0aGUgPHhyZWYgdGFy
Z2V0PSJyZWdpc3RyeSI+UmVnaXN0cnkgb2YgUHJlZmVyZW5jZXM8L3hyZWY+LiAKICAgICAgQSBz
ZXJ2ZXIgdGhhdCBkb2VzIG5vdCByZWNvZ25pemUgb3IgaXMgdW5hYmxlIHRvIGNvbXBseSB3aXRo
CiAgICAgIHBhcnRpY3VsYXIgcHJlZmVyZW5jZSB0b2tlbnMgaW4gdGhlIFByZWZlciBoZWFkZXIg
ZmllbGQgb2YgYSByZXF1ZXN0CiAgICAgIE1VU1QgaWdub3JlIHRob3NlIHRva2VucyBhbmQgY29u
dGludWUgcHJvY2Vzc2luZyBpbnN0ZWFkIG9mIHNpZ25hbGxpbmcKICAgICAgYW4gZXJyb3IuPC90
PiAKICAgICAgCiAgICAgIDx0PkEgcHJlZmVyZW5jZSB0b2tlbiBjYW4gY29udGFpbiBhIHZhbHVl
LiBFbXB0eSwgb3IgemVybyAKICAgICAgbGVuZ3RoIHZhbHVlcyBvbiBib3RoIHRoZSBwcmVmZXJl
bmNlIHRva2VuIGFuZCB3aXRoaW4gcGFyYW1ldGVycyBhcmUgCiAgICAgIGVxdWl2YWxlbnQgdG8g
bm8gdmFsdWUgYmVpbmcgc3BlY2lmaWVkIGF0IGFsbC4gVGhlIGZvbGxvd2luZywgdGhlbiwgYXJl
IAogICAgICBlcXVpdmFsZW50IGV4YW1wbGVzIG9mIGEgImZvbyIgcHJlZmVyZW5jZSB3aXRoIGEg
c2luZ2xlICJiYXIiIHBhcmFtZXRlci48L3Q+CiAgICAgIAogICAgICA8ZmlndXJlPjxhcnR3b3Jr
PgogIFByZWZlcjogZm9vOyBiYXIKICBQcmVmZXI6IGZvbzsgYmFyPSIiCiAgUHJlZmVyOiBmb289
IiI7IGJhcgogICAgICA8L2FydHdvcms+PC9maWd1cmU+CiAgICAgIAogICAgICA8dD5BbiBvcHRp
b25hbCBzZXQgb2YgcGFyYW1ldGVycyBjYW4gYmUgc3BlY2lmaWVkIGZvciBhbnkgcHJlZmVyZW5j
ZSB0b2tlbi4gCiAgICAgIFRoZSBtZWFuaW5nIGFuZCBhcHBsaWNhdGlvbiBvZiBzdWNoIHBhcmFt
ZXRlcnMgaXMgZGVwZW5kZW50IG9uIHRoZSBkZWZpbml0aW9uIAogICAgICBvZiBlYWNoIHByZWZl
cmVuY2UgdG9rZW4gYW5kIHRoZSBzZXJ2ZXIncyBpbXBsZW1lbnRhdGlvbiB0aGVyZW9mLiBUaGVy
ZSBpcwogICAgICBubyBzaWduaWZpY2FuY2UgZ2l2ZW4gdG8gdGhlIG9yZGVyaW5nIG9mIHBhcmFt
ZXRlcnMgb24gYW55IGdpdmVuIHByZWZlcmVuY2UuPC90PgogICAgICAKICAgICAgPHQ+Rm9yIGJv
dGggcHJlZmVyZW5jZSB0b2tlbiBuYW1lcyBhbmQgcGFyYW1ldGVyIG5hbWVzLCBjb21wYXJpc29u
IGlzIAogICAgICBjYXNlLWluc2Vuc2l0aXZlIHdoaWxlIHZhbHVlcyBhcmUgY2FzZS1zZW5zaXRp
dmUgcmVnYXJkbGVzcyBvZiB3aGV0aGVyIAogICAgICB0b2tlbiBvciBxdW90ZWQtc3RyaW5nIHZh
bHVlcyBhcmUgdXNlZC48L3Q+IAogICAgICAgCiAgICAgIDx0PlRoZSBQcmVmZXIgaGVhZGVyIGZp
ZWxkIGlzIGVuZC10by1lbmQgYW5kIE1VU1QgYmUgZm9yd2FyZGVkIAogICAgICBieSBhIHByb3h5
IGlmIHRoZSByZXF1ZXN0IGlzIGZvcndhcmRlZCB1bmxlc3MgUHJlZmVyIGlzIGV4cGxpY2l0bHkK
ICAgICAgaWRlbnRpZmllZCBhcyBiZWluZyBob3AtYnktaG9wIHVzaW5nIHRoZSBDb25uZWN0aW9u
IGhlYWRlciBmaWVsZCAKICAgICAgZGVmaW5lZCBieSA8eHJlZiB0YXJnZXQ9IkktRC5pZXRmLWh0
dHBiaXMtcDEtbWVzc2FnaW5nIi8+LCBTZWN0aW9uIDYuMS48L3Q+IAogICAgICAKICAgICAgPHQ+
SW4gdmFyaW91cyBzaXR1YXRpb25zLCBhIHByb3h5IG1pZ2h0IGRldGVybWluZSB0aGF0IGl0IGlz
IGNhcGFibGUgb2YgCiAgICAgIGhvbm9yaW5nIGEgcHJlZmVyZW5jZSBpbmRlcGVuZGVudGx5IG9m
IHRoZSBzZXJ2ZXIgdG8gd2hpY2ggdGhlIHJlcXVlc3QgCiAgICAgIGhhcyBiZWVuIGRpcmVjdGVk
LiBGb3IgaW5zdGFuY2UsIGFuIGludGVydmVuaW5nIHByb3h5IG1pZ2h0IGJlIGNhcGFibGUgCiAg
ICAgIG9mIHByb3ZpZGluZyBhc3luY2hyb25vdXMgaGFuZGxpbmcgb2YgYSByZXF1ZXN0IHVzaW5n
IDIwMiBBY2NlcHRlZCAKICAgICAgcmVzcG9uc2VzIGluZGVwZW5kZW50bHkgb2YgdGhlIG9yaWdp
biBzZXJ2ZXIuIFN1Y2ggcHJveGllcyBjYW4gY2hvb3NlIHRvIAogICAgICBob25vciB0aGUgInJl
c3BvbmQtYXN5bmMiIHByZWZlcmVuY2Ugb24gdGhlaXIgb3duIGRlc3BpdGUgd2hldGhlciB0aGUg
CiAgICAgIG9yaWdpbiBpcyBjYXBhYmxlIG9yIHdpbGxpbmcgdG8gZG8gc28uPC90PiAKICAgICAg
CiAgICAgIDx0PkluZGl2aWR1YWwgcHJlZmVyZW5jZSB0b2tlbnMgTUFZIGRlZmluZSB0aGVpciBv
d24gcmVxdWlyZW1lbnRzIGFuZCAKICAgICAgcmVzdHJpY3Rpb25zIGFzIHRvIHdoZXRoZXIgYW5k
IGhvdyBpbnRlcm1lZGlhcmllcyBjYW4gYXBwbHkgdGhlIHByZWZlcmVuY2UgdG8gCiAgICAgIGEg
cmVxdWVzdCBpbmRlcGVuZGVudGx5IG9mIHRoZSBvcmlnaW4gc2VydmVyLjwvdD4gCiAgICAgIAog
ICAgICA8dD5BIGNsaWVudCBNQVkgdXNlIG11bHRpcGxlIGluc3RhbmNlcyBvZiB0aGUgUHJlZmVy
IGhlYWRlciBmaWVsZCBpbiBhCiAgICAgIHNpbmdsZSBtZXNzYWdlLCBvciBpdCBNQVkgdXNlIGEg
c2luZ2xlIFByZWZlciBoZWFkZXIgZmllbGQgd2l0aAogICAgICBtdWx0aXBsZSBjb21tYS1zZXBh
cmF0ZWQgcHJlZmVyZW5jZSB0b2tlbnMuIElmIG11bHRpcGxlIFByZWZlciBoZWFkZXIKICAgICAg
ZmllbGRzIGFyZSB1c2VkLCBpdCBpcyBlcXVpdmFsZW50IHRvIGEgc2luZ2xlIFByZWZlciBoZWFk
ZXIgZmlsZWQKICAgICAgd2l0aCB0aGUgY29tbWEtc2VwYXJhdGVkIGNvbmNhdGVudGF0aW9uIG9m
IGFsbCBvZiB0aGUgdG9rZW5zLiBGb3IKICAgICAgZXhhbXBsZSwgdGhlIGZvbGxvd2luZyBhcmUg
ZXF1aXZhbGVudDo8L3Q+CiAgICAgIAogICAgICA8ZmlndXJlPjxwcmVhbWJsZT5NdWx0aXBsZSBQ
cmVmZXIgaGVhZGVyIGZpZWxkcyBkZWZpbmluZyB0aHJlZSBkaXN0aW5jdAogICAgICAgIHByZWZl
cmVuY2UgdG9rZW5zOjwvcHJlYW1ibGU+PGFydHdvcms+CiAgUE9TVCAvZm9vIEhUVFAvMS4xCiAg
SG9zdDogZXhhbXBsZS5vcmcKICBQcmVmZXI6IHJlc3BvbmQtYXN5bmMsIHdhaXQ9MTAwCiAgUHJl
ZmVyOiBoYW5kbGluZz1sZW5pZW50CiAgRGF0ZTogVHVlLCAyMCBEZWMgMjAxMSAxMjozNDo1NiBH
TVQKICAgICAgPC9hcnR3b3JrPjwvZmlndXJlPgogIAogICAgICA8ZmlndXJlPjxwcmVhbWJsZT5B
IHNpbmdsZSBQcmVmZXIgaGVhZGVyIGZpZWxkIGRlZmluaW5nIHRoZSBzYW1lIHRocmVlCiAgICAg
ICAgcHJlZmVyZW5jZSB0b2tlbnM6PC9wcmVhbWJsZT48YXJ0d29yaz4KICBQT1NUIC9mb28gSFRU
UC8xLjEKICBIb3N0OiBleGFtcGxlLm9yZwogIFByZWZlcjogaGFuZGxpbmc9bGVuaWVudCwgd2Fp
dD0xMDAsIHJlc3BvbmQtYXN5bmMKICBEYXRlOiBUdWUsIDIwIERlYyAyMDExIDEyOjM0OjU2IEdN
VAogICAgICA8L2FydHdvcms+PC9maWd1cmU+CgogICAgICA8dD5UbyBhdm9pZCBhbnkgcG9zc2li
bGUgYW1iaWd1aXR5LCBpbmRpdmlkdWFsIHByZWZlcmVuY2UgdG9rZW5zIAogICAgICBTSE9VTEQg
Tk9UIGFwcGVhciBtdWx0aXBsZSB0aW1lcyB3aXRoaW4gYSBzaW5nbGUgcmVxdWVzdC4gSWYgYW55
IHByZWZlcmVuY2UgCiAgICAgIGlzIHNwZWNpZmllZCBtb3JlIHRoYW4gb25jZSwgb25seSB0aGUg
Zmlyc3QgaW5zdGFuY2UgaXMgdG8gYmUgY29uc2lkZXJlZC4gCiAgICAgIEFsbCBzdWJzZXF1ZW50
IG9jY3VycmVuY2VzIFNIT1VMRCBiZSBpZ25vcmVkIHdpdGhvdXQgc2lnbmFsaW5nIGFuIGVycm9y
IG9yIAogICAgICBvdGhlcndpc2UgYWx0ZXJpbmcgdGhlIHByb2Nlc3Npbmcgb2YgdGhlIHJlcXVl
c3QuIFRoaXMgaXMgdGhlIG9ubHkgY2FzZQogICAgICBpbiB3aGljaCB0aGUgb3JkZXJpbmcgb2Yg
cHJlZmVyZW5jZXMgd2l0aGluIGEgcmVxdWVzdCBpcyBjb25zaWRlcmVkIHRvIAogICAgICBiZSBz
aWduaWZpY2FudC48L3Q+CiAgICAgIAogICAgICA8dD5EdWUgdG8gdGhlIGluaGVyZW50IGNvbXBs
ZXhpdGllcyBpbnZvbHZlZCB3aXRoIHByb3Blcmx5IAogICAgICBpbXBsZW1lbnRpbmcgc2VydmVy
LWRyaXZlbiBjb250ZW50IG5lZ290aWF0aW9uLCBlZmZlY3RpdmUgY2FjaGluZywKICAgICAgYW5k
IHRoZSBhcHBsaWNhdGlvbiBvZiBvcHRpb25hbCBwcmVmZXJlbmNlcywgaW1wbGVtZW50b3JzIAog
ICAgICBhcmUgdXJnZWQgdG8gZXhlcmNpc2UgY2F1dGlvbiB3aGVuIHVzaW5nIHByZWZlcmVuY2Vz
IGluIGEgd2F5IHRoYXQgCiAgICAgIGltcGFjdHMgdGhlIGNhY2hpbmcgb2YgYSByZXNwb25zZSBh
bmQgU0hPVUxEIE5PVCB1c2UgdGhlIFByZWZlcgogICAgICBoZWFkZXIgbWVjaGFuaXNtIGZvciBj
b250ZW50IG5lZ290aWF0aW9uLiBJZiBhIHNlcnZlciBzdXBwb3J0cyAKICAgICAgdGhlIG9wdGlv
bmFsIGFwcGxpY2F0aW9uIG9mIGEgcHJlZmVyZW5jZSB0aGF0IG1pZ2h0IHJlc3VsdCBpbiBhIAog
ICAgICB2YXJpYW5jZSB0byBhIGNhY2hlJ3MgaGFuZGxpbmcgb2YgYSByZXNwb25zZSBlbnRpdHks
IGEgVmFyeSBoZWFkZXIgCiAgICAgIGZpZWxkIE1VU1QgYmUgaW5jbHVkZWQgaW4gdGhlIHJlc3Bv
bnNlIGxpc3RpbmcgdGhlIFByZWZlciBoZWFkZXIgCiAgICAgIGZpZWxkIHJlZ2FyZGxlc3Mgb2Yg
d2hldGhlciB0aGUgY2xpZW50IGFjdHVhbGx5IHVzZWQgUHJlZmVyIGluIHRoZSAKICAgICAgcmVx
dWVzdC4gQWx0ZXJuYXRpdmVseSwgdGhlIHNlcnZlciBNQVkgaW5jbHVkZSBhIFZhcnkgaGVhZGVy
IHdpdGggCiAgICAgIHRoZSBzcGVjaWFsIHZhbHVlICIqIiBhcyBkZWZpbmVkIGJ5IDx4cmVmIHRh
cmdldD0iSS1ELmlldGYtaHR0cGJpcy1wMi1zZW1hbnRpY3MiLz4sIFNlY3Rpb24gOC4yLjEuCiAg
ICAgIE5vdGUsIGhvd2V2ZXIsIHRoYXQgdXNlIG9mIHRoZSAiVmFyeTogKiIgaGVhZGVyIHdpbGwg
bWFrZSBpdCBpbXBvc3NpYmxlCiAgICAgIGZvciBhIHByb3h5IHRvIGNhY2hlIHRoZSByZXNwb25z
ZS48L3Q+CiAgICAgIAogICAgICA8dD5Ob3RlIHRoYXQgd2hpbGUgUHJlZmVyZW5jZSB0b2tlbnMg
YXJlIHNpbWlsYXIgaW4gc3RydWN0dXJlIHRvIAogICAgICBIVFRQIEV4cGVjdCB0b2tlbnMsIHRo
ZSBQcmVmZXIgYW5kIEV4cGVjdCBoZWFkZXIgZmllbGRzIHNlcnZlIHZlcnkgCiAgICAgIGRpc3Rp
bmN0IHB1cnBvc2VzIGFuZCBwcmVmZXJlbmNlcyBjYW5ub3QgYmUgdXNlZCBhcyBleHBlY3RhdGlv
bnMuPC90PgogIAogICAgICA8c2VjdGlvbiB0aXRsZT0iRXhhbXBsZXMiPgogICAgICAKICAgICAg
PHQ+VGhlIGZvbGxvd2luZyBleGFtcGxlcyBpbGx1c3RyYXRlIHRoZSB1c2Ugb2YgdmFyaW91cyBw
cmVmZXJlbmNlcyAKICAgICAgZGVmaW5lZCBieSB0aGlzIHNwZWNpZmljYXRpb24sIGFzIHdlbGwg
YXMgdW5kZWZpbmVkIGV4dGVuc2lvbnMgZm9yIAogICAgICBzdHJpY3RseSBpbGx1c3RyYXRpdmUg
cHVycG9zZXM6PC90PgogICAgICAKICAgICAgPGZpZ3VyZT48cHJlYW1ibGU+MS4gUmV0dXJuIGEg
IjIwMiBBY2NlcHRlZCIgcmVzcG9uc2UgZm9yIGFzeW5jaHJvbm91cyAKICAgICAgcHJvY2Vzc2lu
ZyBpZiB0aGUgcmVxdWVzdCBjYW5ub3QgYmUgcHJvY2Vzc2VkIHdpdGhpbiAxMCBzZWNvbmRzLiBB
biAKICAgICAgdW5kZWZpbmVkICJwcmlvcml0eSIgcHJlZmVyZW5jZSBpcyBhbHNvIHNwZWNpZmll
ZDo8L3ByZWFtYmxlPjxhcnR3b3JrPgogIFBPU1QgL3NvbWUtcmVzb3VyY2UgSFRUUC8xLjEKICBI
b3N0OiBleGFtcGxlLm9yZwogIENvbnRlbnQtVHlwZTogdGV4dC9wbGFpbgogIFByZWZlcjogcmVz
cG9uZC1hc3luYywgd2FpdD0xMAogIFByZWZlcjogcHJpb3JpdHk9NQogIAogIHsuLi59CiAgICAg
IDwvYXJ0d29yaz48L2ZpZ3VyZT4KCiAgICAgIDxmaWd1cmU+PHByZWFtYmxlPjIuIFVzZSBsZW5p
ZW50IHByb2Nlc3Npbmc6PC9wcmVhbWJsZT48YXJ0d29yaz4KICBQT1NUIC9zb21lLXJlc291cmNl
IEhUVFAvMS4xCiAgSG9zdDogZXhhbXBsZS5vcmcKICBDb250ZW50LVR5cGU6IHRleHQvcGxhaW4K
ICBQcmVmZXI6IExlbmllbnQKICAKICB7Li4ufQogICAgICA8L2FydHdvcms+PC9maWd1cmU+CiAg
ICAgICAKICAgICAgPGZpZ3VyZT48cHJlYW1ibGU+My4gVXNlIG9mIGFuIG9wdGlvbmFsLCB1bmRl
ZmluZWQgcGFyYW1ldGVyIG9uIHRoZSAKICAgICAgcmV0dXJuPW1pbmltYWwgcHJlZmVyZW5jZTo8
L3ByZWFtYmxlPjxhcnR3b3JrPiAgCiAgUE9TVCAvc29tZS1yZXNvdXJjZSBIVFRQLzEuMQogIEhv
c3Q6IGV4YW1wbGUub3JnCiAgQ29udGVudC1UeXBlOiB0ZXh0L3BsYWluCiAgUHJlZmVyOiByZXR1
cm49bWluaW1hbDsgZm9vPSJzb21lIHBhcmFtZXRlciIKICAKICB7Li4ufQogICAgICA8L2FydHdv
cms+PC9maWd1cmU+CiAgICAgICAKICAgICAgPC9zZWN0aW9uPgogCiAgICA8L3NlY3Rpb24+IAoK
ICAgIDxzZWN0aW9uIHRpdGxlPSJUaGUgUHJlZmVyZW5jZS1BcHBsaWVkIFJlc3BvbnNlIEhlYWRl
ciBGaWVsZCIgYW5jaG9yPSJwcmVmZXJlbmNlLWFwcGxpZWQiPgogICAgICAKICAgICAgPHQ+VGhl
IFByZWZlcmVuY2UtQXBwbGllZCByZXNwb25zZSBoZWFkZXIgTUFZIGJlIGluY2x1ZGVkIHdpdGhp
biBhCiAgICAgIHJlc3BvbnNlIG1lc3NhZ2UgYXMgYW4gaW5kaWNhdGlvbiBhcyB0byB3aGljaCBQ
cmVmZXIgdG9rZW5zIHdlcmUKICAgICAgaG9ub3JlZCBieSB0aGUgc2VydmVyIGFuZCBhcHBsaWVk
IHRvIHRoZSBwcm9jZXNzaW5nIG9mIGEgcmVxdWVzdC48L3Q+CgogICAgICA8ZmlndXJlPjxwcmVh
bWJsZT5BQk5GOjwvcHJlYW1ibGU+PGFydHdvcms+IAogIFByZWZlcmVuY2UtQXBwbGllZCA9ICJQ
cmVmZXJlbmNlLUFwcGxpZWQiICI6IiAxI2FwcGxpZWQtcHJlZgogIGFwcGxpZWQtcHJlZiA9IHRv
a2VuIFsgQldTICI9IiBCV1Mgd29yZCBdCiAgICAgIDwvYXJ0d29yaz48L2ZpZ3VyZT4KCiAgICAg
IDx0PlRoZSBzeW50YXggb2YgdGhlIFByZWZlcmVuY2UtQXBwbGllZCBoZWFkZXIgZGlmZmVycyBm
cm9tIHRoYXQgb2YgCiAgICAgIHRoZSBQcmVmZXIgaGVhZGVyIGluIHRoYXQgcGFyYW1ldGVycyBh
cmUgbm90IGluY2x1ZGVkLjwvdD4KCiAgICAgIDx0PlVzZSBvZiB0aGUgUHJlZmVyZW5jZS1BcHBs
aWVkIGhlYWRlciBpcyBvbmx5IG5lY2Vzc2FyeSB3aGVuIGl0IGlzIAogICAgICBub3QgcmVhZGls
eSBhbmQgb2J2aW91c2x5IGFwcGFyZW50IHRoYXQgYSBzZXJ2ZXIgYXBwbGllZCBhIGdpdmVuIHBy
ZWZlcmVuY2UgCiAgICAgIGFuZCBzdWNoIGFtYmlndWl0eSBtaWdodCBoYXZlIGFuIGltcGFjdCBv
biB0aGUgY2xpZW50J3MgaGFuZGxpbmcgb2YgdGhlIAogICAgICByZXNwb25zZS4gRm9yIGluc3Rh
bmNlLCB3aGVuIHVzaW5nIGVpdGhlciB0aGUgInJldHVybj1yZXByZXNlbnRhdGlvbiIgb3IgCiAg
ICAgICJyZXR1cm49bWluaW1hbCIgcHJlZmVyZW5jZXMsIGEgY2xpZW50IGFwcGxpY2F0aW9uIG1p
Z2h0IG5vdCBiZSBjYXBhYmxlIG9mIAogICAgICByZWxpYWJseSBkZXRlcm1pbmluZyBpZiB0aGUg
cHJlZmVyZW5jZSB3YXMgKG9yIHdhcyBub3QpIGFwcGxpZWQgc2ltcGx5IGJ5IAogICAgICBleGFt
aW5pbmcgdGhlIHBheWxvYWQgb2YgdGhlIHJlc3BvbnNlLiBJbiBzdWNoIGNhc2UgdGhlIFByZWZl
cmVuY2UtQXBwbGllZCAKICAgICAgaGVhZGVyIGZpZWxkIGNhbiBiZSB1c2VkLjwvdD4KCiAgICAg
IDxmaWd1cmU+PHByZWFtYmxlPlJlcXVlc3Q6PC9wcmVhbWJsZT48YXJ0d29yaz4KICBQQVRDSCAv
bXktZG9jdW1lbnQgSFRUUC8xLjEKICBIb3N0OiBleGFtcGxlLm9yZwogIENvbnRlbnQtVHlwZTog
YXBwbGljYXRpb24vanNvbi1wYXRjaAogIFByZWZlcjogcmV0dXJuPXJlcHJlc2VudGF0aW9uCgog
IFt7Im9wIjogImFkZCIsICJwYXRoIjogIi9hIiwgInZhbHVlIjogMX1dCiAgICAgIDwvYXJ0d29y
az48L2ZpZ3VyZT4KCiAgICAgIDxmaWd1cmU+PHByZWFtYmxlPlJlc3BvbnNlOjwvcHJlYW1ibGU+
PGFydHdvcms+CiAgSFRUUC8xLjEgMjAwIE9LCiAgQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9q
c29uCiAgUHJlZmVyZW5jZS1BcHBsaWVkOiByZXR1cm49cmVwcmVzZW50YXRpb24KICBDb250ZW50
LUxvY2F0aW9uOiAvbXktZG9jdW1lbnQKCiAgeyJhIjogMX0KICAgICAgPC9hcnR3b3JrPjwvZmln
dXJlPgogICAgICAKICAgIDwvc2VjdGlvbj4KCiAgICA8c2VjdGlvbiB0aXRsZT0iUHJlZmVyZW5j
ZSBEZWZpbml0aW9ucyIgYW5jaG9yPSJkZWZpbml0aW9ucyI+ICAKICAgICAKICAgICAgPHQ+VGhl
IGZvbGxvd2luZyBzdWJzZWN0aW9ucyBkZWZpbmUgYW4gaW5pdGlhbCBzZXQgb2YgcHJlZmVyZW5j
ZXMuCiAgICAgIEFkZGl0aW9uYWwgcHJlZmVyZW5jZXMgY2FuIGJlIHJlZ2lzdGVyZWQgZm9yIGNv
bnZlbmllbmNlIGFuZC9vciB0bwogICAgICBwcm9tb3RlIHJldXNlIGJ5IG90aGVyIGFwcGxpY2F0
aW9ucy4gIFRoaXMgc3BlY2lmaWNhdGlvbiBlc3RhYmxpc2hlcwogICAgICBhbiBJQU5BIHJlZ2lz
dHJ5IG9mIHByZWZlcmVuY2VzIChzZWUgPHhyZWYgdGFyZ2V0PSJyZWdpc3RyeSIvPikuPC90Pgog
ICAgICAgICAgICAgICAgCiAgICA8c2VjdGlvbiB0aXRsZT0iVGhlICZxdW90O3Jlc3BvbmQtYXN5
bmMmcXVvdDsgUHJlZmVyZW5jZSIgYW5jaG9yPSJyZXNwb25kLWFzeW5jIj4KICAgICAgPHQ+VGhl
ICJyZXNwb25kLWFzeW5jIiBwcmVmZXJlbmNlIGluZGljYXRlcyB0aGF0IHRoZSBjbGllbnQgcHJl
ZmVycwogICAgICB0aGUgc2VydmVyIHRvIHJlc3BvbmQgYXN5bmNocm9ub3VzbHkgdG8gYSByZXNw
b25zZS4gRm9yIGluc3RhbmNlLCBpbiB0aGUgY2FzZQogICAgICB3aGVuIHRoZSBsZW5ndGggb2Yg
dGltZSBpdCB0YWtlcyB0byBnZW5lcmF0ZSBhIHJlc3BvbnNlIHdpbGwgZXhjZWVkIAogICAgICBz
b21lIGFyYml0cmFyeSB0aHJlc2hvbGQgZXN0YWJsaXNoZWQgYnkgdGhlIHNlcnZlciwgdGhlIHNl
cnZlciBjYW4gCiAgICAgIGhvbm9yIHRoZSByZXNwb25kLWFzeW5jIHByZWZlcmVuY2UgYnkgcmV0
dXJuaW5nIGEgIjIwMiBBY2NlcHRlZCIgcmVzcG9uc2UuPC90PgogICAgICAKICAgICAgPGZpZ3Vy
ZT48cHJlYW1ibGU+QUJORjo8L3ByZWFtYmxlPjxhcnR3b3JrPgogIHJlc3BvbmQtYXN5bmMgPSAi
cmVzcG9uZC1hc3luYyIKICAgICAgPC9hcnR3b3JrPjwvZmlndXJlPgogICAgICAKICAgICAgPHQ+
VGhlIGtleSBtb3RpdmF0aW9uIGZvciB0aGUgInJlc3BvbmQtYXN5bmMiIHByZWZlcmVuY2UgaXMg
dG8gZmFjaWxpdGF0ZSAKICAgICAgdGhlIG9wZXJhdGlvbiBvZiBhc3luY2hyb25vdXMgcmVxdWVz
dCBoYW5kbGluZyBieSBhbGxvd2luZyB0aGUgCiAgICAgIGNsaWVudCB0byBpbmRpY2F0ZSB0byBh
IHNlcnZlciBpdHMgY2FwYWJpbGl0eSBhbmQgcHJlZmVyZW5jZSBmb3IgCiAgICAgIGhhbmRsaW5n
IGFzeW5jaHJvbm91cyByZXNwb25zZXMuPC90PgogICAgICAKICAgICAgPGZpZ3VyZT48cHJlYW1i
bGU+QW4gZXhhbXBsZSByZXF1ZXN0IHNwZWNpZnlpbmcgdGhlICJyZXNwb25kLWFzeW5jIiBwcmVm
ZXJlbmNlOjwvcHJlYW1ibGU+CiAgICAgIDxhcnR3b3JrPgogIFBPU1QgL2NvbGxlY3Rpb24gSFRU
UC8xLjEKICBIb3N0OiBleGFtcGxlLm9yZwogIENvbnRlbnQtVHlwZTogdGV4dC9wbGFpbgogIFBy
ZWZlcjogcmVzcG9uZC1hc3luYwogIAogIHtEYXRhfQogICAgICA8L2FydHdvcms+PC9maWd1cmU+
CiAgICAgIAogICAgICA8ZmlndXJlPjxwcmVhbWJsZT5BbiBleGFtcGxlIGFzeW5jaHJvbm91cyBy
ZXNwb25zZSB1c2luZyAiMjAyIEFjY2VwdGVkIjo8L3ByZWFtYmxlPgogICAgICA8YXJ0d29yaz4K
ICBIVFRQLzEuMSAyMDIgQWNjZXB0ZWQKICBMb2NhdGlvbjogaHR0cDovL2V4YW1wbGUub3JnL2Nv
bGxlY3Rpb24vMTIzCiAgICAgIDwvYXJ0d29yaz48L2ZpZ3VyZT4KICAgICAgICAgICAgCiAgICAg
IDx0PldoaWxlIHRoZSAiMjAyIEFjY2VwdGVkIiByZXNwb25zZSBzdGF0dXMgaXMgZGVmaW5lZCBi
eSAKICAgICAgPHhyZWYgdGFyZ2V0PSJJLUQuaWV0Zi1odHRwYmlzLXAyLXNlbWFudGljcyIvPiwg
bGl0dGxlIGd1aWRhbmNlIGlzIGdpdmVuIG9uIAogICAgICBob3cgYW5kIHdoZW4gdG8gdXNlIHRo
ZSByZXNwb25zZSBjb2RlIGFuZCB0aGUgcHJvY2VzcyBmb3IgZGV0ZXJtaW5pbmcKICAgICAgdGhl
IHN1YnNlcXVlbnQgZmluYWwgcmVzdWx0IG9mIHRoZSBvcGVyYXRpb24gaXMgbGVmdCBlbnRpcmVs
eSB1bmRlZmluZWQuIFRoZXJlZm9yZSwKICAgICAgd2hldGhlciBhbmQgaG93IGFueSBnaXZlbiBz
ZXJ2ZXIgc3VwcG9ydHMgYXN5bmNocm9ub3VzIHJlc3BvbnNlcyBpcyBhbiAKICAgICAgaW1wbGVt
ZW50YXRpb24gc3BlY2lmaWMgZGV0YWlsIHRoYXQgaXMgY29uc2lkZXJlZCB0byBiZSBvdXQgb2Yg
dGhlIHNjb3BlCiAgICAgIG9mIHRoaXMgc3BlY2lmaWNhdGlvbi48L3Q+CiAgICAgIAogICAgPC9z
ZWN0aW9uPgoKICAgIDxzZWN0aW9uIHRpdGxlPSJUaGUgJnF1b3Q7cmV0dXJuPXJlcHJlc2VudGF0
aW9uJnF1b3Q7IGFuZCAmcXVvdDtyZXR1cm49bWluaW1hbCZxdW90OyBQcmVmZXJlbmNlcyIgYW5j
aG9yPSJyZXR1cm4iPiAKICAgICAgPHQ+VGhlICJyZXR1cm49cmVwcmVzZW50YXRpb24iIHByZWZl
cmVuY2UgaW5kaWNhdGVzIHRoYXQgdGhlIGNsaWVudCBwcmVmZXJzCiAgICAgIHRoYXQgdGhlIHNl
cnZlciBpbmNsdWRlIGFuIGVudGl0eSByZXByZXNlbnRpbmcgdGhlIGN1cnJlbnQgc3RhdGUgb2Yg
dGhlIAogICAgICByZXNvdXJjZSBpbiB0aGUgcmVzcG9uc2UgdG8gYSBzdWNjZXNzZnVsIHJlcXVl
c3QuPC90PgogICAgICAKICAgICAgPHQ+VGhlICJyZXR1cm49bWluaW1hbCIgcHJlZmVyZW5jZSwg
b24gdGhlIG90aGVyIGhhbmQsIGluZGljYXRlcyB0aGF0IHRoZSBjbGllbnQgd2lzaGVzCiAgICAg
IHRoZSBzZXJ2ZXIgdG8gcmV0dXJuIG9ubHkgYSBtaW5pbWFsIHJlc3BvbnNlIHRvIGEgc3VjY2Vz
c2Z1bCByZXF1ZXN0LgogICAgICBUeXBpY2FsbHksIHN1Y2ggcmVzcG9uc2VzIHdvdWxkIHV0aWxp
emUgdGhlICIyMDQgTm8gQ29udGVudCIgc3RhdHVzLCBidXQgb3RoZXIKICAgICAgY29kZXMgTUFZ
IGJlIHVzZWQgYXMgYXBwcm9wcmlhdGUsIHN1Y2ggYXMgYSAiMjAwIiBzdGF0dXMgd2l0aCBhIHpl
cm8tbGVuZ3RoCiAgICAgIHJlc3BvbnNlIGVudGl0eS4gVGhlIGRldGVybWluYXRpb24gb2Ygd2hh
dCBjb25zdGl0dXRlcyBhbiBhcHByb3ByaWF0ZSBtaW5pbWFsIHJlc3BvbnNlCiAgICAgIGlzIHNv
bGVseSBhdCB0aGUgZGlzY3JldGlvbiBvZiB0aGUgc2VydmVyLjwvdD4KICAgICAgCiAgICAgIDxm
aWd1cmU+PHByZWFtYmxlPkFCTkY6PC9wcmVhbWJsZT48YXJ0d29yaz4KICByZXR1cm4gPSAicmV0
dXJuIiBCV1MgIj0iIEJXUyAoInJlcHJlc2VudGF0aW9uIiAvICJtaW5pbWFsIikKICAgICAgPC9h
cnR3b3JrPjwvZmlndXJlPgogICAgICAKICAgICAgPHQ+V2hlbiBob25vcmluZyB0aGUgInJldHVy
bj1yZXByZXNlbnRhdGlvbiIgcHJlZmVyZW5jZSwgdGhlIHJldHVybmVkIAogICAgICByZXByZXNl
bnRhdGlvbiBtaWdodCBub3QgYmUgYSByZXByZXNlbnRhdGlvbiBvZiB0aGUgZWZmZWN0aXZlIHJl
cXVlc3QgVVJJCiAgICAgIHdoZW4gdGhlIHJlcXVlc3QgaXMgYWZmZWN0aW5nIGFub3RoZXIgcmVz
b3VyY2UuIEluIHN1Y2ggY2FzZXMsIHRoZSAKICAgICAgQ29udGVudC1Mb2NhdGlvbiBoZWFkZXIg
Y2FuIGJlIHVzZWQgdG8gaWRlbnRpZnkgdGhlIFVSSSBvZiB0aGUgcmV0dXJuZWQKICAgICAgcmVw
cmVzZW50YXRpb24uPC90PgogICAgICAKICAgICAgPHQ+VGhlICJyZXR1cm49cmVwcmVzZW50YXRp
b24iIHByZWZlcmVuY2UgaXMgaW50ZW5kZWQgdG8gcHJvdmlkZQogICAgICBhIG1lYW5zIG9mIG9w
dGltaXppbmcgY29tbXVuaWNhdGlvbiBiZXR3ZWVuIHRoZSBjbGllbnQgYW5kIHNlcnZlcgogICAg
ICBieSBlbGltaW5hdGluZyB0aGUgbmVlZCBmb3IgYSBzdWJzZXF1ZW50IEdFVCByZXF1ZXN0IHRv
IHJldHJpZXZlIHRoZSAKICAgICAgY3VycmVudCByZXByZXNlbnRhdGlvbiBvZiB0aGUgcmVzb3Vy
Y2UgZm9sbG93aW5nIGEgbW9kaWZpY2F0aW9uLjwvdD4KICAgICAgCiAgICAgIDx0PkFmdGVyIHN1
Y2Nlc3NmdWxseSBwcm9jZXNzaW5nIGEgbW9kaWZpY2F0aW9uIHJlcXVlc3Qgc3VjaAogICAgICBh
cyBhIFBPU1Qgb3IgUFVULCBhIHNlcnZlciBjYW4gY2hvb3NlIHRvIHJldHVybiBlaXRoZXIgYW4g
ZW50aXR5IGRlc2NyaWJpbmcKICAgICAgdGhlIHN0YXR1cyBvZiB0aGUgb3BlcmF0aW9uIG9yIGEg
cmVwcmVzZW50YXRpb24gb2YgdGhlIG1vZGlmaWVkIHJlc291cmNlCiAgICAgIGl0c2VsZi4gV2hp
bGUgdGhlIHNlbGVjdGlvbiBvZiB3aGljaCB0eXBlIG9mIGVudGl0eSB0byByZXR1cm4sIGlmIGFu
eSBhdCBhbGwsCiAgICAgIGlzIHNvbGVseSBhdCB0aGUgZGlzY3JldGlvbiBvZiB0aGUgc2VydmVy
LCB0aGUgInJldHVybj1yZXByZXNlbnRhdGlvbiIgcHJlZmVyZW5jZSAtLQogICAgICBhbG9uZyB3
aXRoIHRoZSAicmV0dXJuPW1pbmltYWwiIHByZWZlcmVuY2UgZGVmaW5lZCBiZWxvdyAtLSBhbGxv
dyB0aGUgCiAgICAgIHNlcnZlciB0byB0YWtlIHRoZSBjbGllbnQncyBwcmVmZXJlbmNlcyBpbnRv
IGNvbnNpZGVyYXRpb24gd2hpbGUgCiAgICAgIGNvbnN0cnVjdGluZyB0aGUgcmVzcG9uc2UuPC90
PgogICAgICAKICAgICAgPGZpZ3VyZT48cHJlYW1ibGU+QW4gZXhhbXBsZSByZXF1ZXN0IHNwZWNp
ZnlpbmcgdGhlICJyZXR1cm49cmVwcmVzZW50YXRpb24iIHByZWZlcmVuY2U6PC9wcmVhbWJsZT4K
ICAgICAgPGFydHdvcms+PCFbQ0RBVEFbCiAgUEFUQ0ggL2l0ZW0vMTIzIEhUVFAvMS4xCiAgSG9z
dDogZXhhbXBsZS5vcmcKICBDb250ZW50LVR5cGU6IHRleHQvcGF0Y2gKICBQcmVmZXI6IHJldHVy
bj1yZXByZXNlbnRhdGlvbgogIAogIDFjMQogIDwgQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVoK
ICAtLS0KICA+IEJDREZHSEpLTE1OUFFSU1RWV1hZWgogICAgICBdXT48L2FydHdvcms+CiAgICAg
IDwvZmlndXJlPgogICAgICAKICAgICAgPGZpZ3VyZT48cHJlYW1ibGU+QW4gZXhhbXBsZSByZXNw
b25zZSBjb250YWluaW5nIHRoZSByZXNvdXJjZSByZXByZXNlbnRhdGlvbjo8L3ByZWFtYmxlPgog
ICAgICA8YXJ0d29yaz4KICBIVFRQLzEuMSAyMDAgT0sKICBDb250ZW50LUxvY2F0aW9uOiBodHRw
Oi8vZXhhbXBsZS5vcmcvaXRlbS8xMjMKICBDb250ZW50LVR5cGU6IHRleHQvcGxhaW4KICBFVGFn
OiAiZDNiMDczODRkMTEzZWRlYzQ5ZWFhNjIzOGFkNWZmMDAiCiAgCiAgQkNERkdISktMTU5QUVJT
VFZXWFlaCiAgICAgIDwvYXJ0d29yaz4KICAgICAgPC9maWd1cmU+CiAgICAgIAogICAgICA8dD5J
biBjb250cmFzdCwgdGhlICJyZXR1cm49bWluaW1hbCIgcHJlZmVyZW5jZSBjYW4gcmVkdWNlIHRo
ZSBhbW91bnQgCiAgICAgIG9mIGRhdGEgdGhlIHNlcnZlciBpcyByZXF1aXJlZCB0byByZXR1cm4g
dG8gdGhlIGNsaWVudCBmb2xsb3dpbmcgYSByZXF1ZXN0LiAKICAgICAgVGhpcyBjYW4gYmUgcGFy
dGljdWxhcmx5IHVzZWZ1bCwgZm9yIGluc3RhbmNlLCB3aGVuIGNvbW11bmljYXRpbmcgd2l0aCAK
ICAgICAgbGltaXRlZC1iYW5kd2lkdGggbW9iaWxlIGRldmljZXMgb3Igd2hlbiB0aGUgY2xpZW50
IHNpbXBseSAKICAgICAgZG9lcyBub3QgcmVxdWlyZSBhbnkgZnVydGhlciBpbmZvcm1hdGlvbiBh
Ym91dCB0aGUgcmVzdWx0IG9mIGEgCiAgICAgIHJlcXVlc3QgYmV5b25kIGtub3dpbmcgaWYgaXQg
d2FzIHN1Y2Nlc3NmdWxseSBwcm9jZXNzZWQuPC90PgogICAgICAKICAgICAgPGZpZ3VyZT48cHJl
YW1ibGU+QW4gZXhhbXBsZSByZXF1ZXN0IHNwZWNpZnlpbmcgdGhlICJyZXR1cm49bWluaW1hbCIg
cHJlZmVyZW5jZTo8L3ByZWFtYmxlPgogICAgICA8YXJ0d29yaz4KICBQT1NUIC9jb2xsZWN0aW9u
IEhUVFAvMS4xCiAgSG9zdDogZXhhbXBsZS5vcmcKICBDb250ZW50LVR5cGU6IHRleHQvcGxhaW4K
ICBQcmVmZXI6IHJldHVybj1taW5pbWFsCiAgCiAge0RhdGF9CiAgICAgIDwvYXJ0d29yaz4KICAg
ICAgPC9maWd1cmU+CiAgICAgIAogICAgICA8ZmlndXJlPjxwcmVhbWJsZT5BbiBleGFtcGxlIG1p
bmltYWwgcmVzcG9uc2U6PC9wcmVhbWJsZT4KICAgICAgPGFydHdvcms+CiAgSFRUUC8xLjEgMjAx
IENyZWF0ZWQKICBMb2NhdGlvbjogaHR0cDovL2V4YW1wbGUub3JnL2NvbGxlY3Rpb24vMTIzCiAg
ICAgIDwvYXJ0d29yaz4KICAgICAgPC9maWd1cmU+CiAgICAgIAogICAgICA8dD5UaGUgInJldHVy
bj1taW5pbWFsIiBhbmQgInJldHVybj1yZXByZXNlbnRhdGlvbiIgcHJlZmVyZW5jZXMgYXJlIAog
ICAgICBtdXR1YWxseSBleGNsdXNpdmUgZGlyZWN0aXZlcy4gSXQgaXMgYW50aWNpcGF0ZWQgdGhh
dCB0aGVyZSB3aWxsIG5ldmVyIAogICAgICBiZSBhIHNpdHVhdGlvbiB3aGVyZSBpdCB3aWxsIG1h
a2Ugc2Vuc2UgZm9yIGEgc2luZ2xlIHJlcXVlc3QgdG8gaW5jbHVkZSAKICAgICAgYm90aCBwcmVm
ZXJlbmNlcy4gQW55IHN1Y2ggcmVxdWVzdHMgd2lsbCBsaWtlbHkgYmUgdGhlIHJlc3VsdCBvZiBh
IAogICAgICBjb2RpbmcgZXJyb3Igd2l0aGluIHRoZSBjbGllbnQuIEFzIHN1Y2gsIGEgcmVxdWVz
dCBjb250YWluaW5nIGJvdGggCiAgICAgIHByZWZlcmVuY2VzIGNhbiBiZSB0cmVhdGVkIGFzIHRo
b3VnaCBuZWl0aGVyIHdlcmUgc3BlY2lmaWVkLjwvdD4KICAgICAgCiAgICA8L3NlY3Rpb24+IAog
ICAgICAgICAgICAgIAogICAgPHNlY3Rpb24gdGl0bGU9IlRoZSAmcXVvdDt3YWl0JnF1b3Q7IFBy
ZWZlcmVuY2UiIGFuY2hvcj0id2FpdCI+CiAgICAgIDx0PlRoZSAid2FpdCIgcHJlZmVyZW5jZSBj
YW4gYmUgdXNlZCB0byBlc3RhYmxpc2ggYW4gdXBwZXIgYm91bmQgb24gdGhlIAogICAgICBsZW5n
dGggb2YgdGltZSwgaW4gc2Vjb25kcywgdGhlIGNsaWVudCBleHBlY3RzIGl0IHdpbGwgdGFrZSB0
aGUgc2VydmVyIAogICAgICB0byBwcm9jZXNzIHRoZSByZXF1ZXN0IG9uY2UgaXQgaGFzIGJlZW4g
cmVjZWl2ZWQuIEluIHRoZSBjYXNlIHRoYXQgCiAgICAgIGdlbmVyYXRpbmcgYSByZXNwb25zZSB3
aWxsIHRha2UgbG9uZ2VyIHRoYW4gdGhlIHRpbWUgc3BlY2lmaWVkLCAKICAgICAgdGhlIHNlcnZl
ciwgb3IgcHJveHksIGNhbiBjaG9vc2UgdG8gdXRpbGl6ZSBhbiBhc3luY2hyb25vdXMgcHJvY2Vz
c2luZyAKICAgICAgbW9kZWwgYnkgcmV0dXJuaW5nIC0tIGZvciBleGFtcGxlIC0tIGEgIjIwMiBB
Y2NlcHRlZCIgcmVzcG9uc2UuPC90PgoKICAgICAgPGZpZ3VyZT48cHJlYW1ibGU+QUJORjo8L3By
ZWFtYmxlPjxhcnR3b3JrPgogIHdhaXQgPSAid2FpdCIgQldTICI9IiBCV1MgZGVsdGEtc2Vjb25k
cwogICAgICA8L2FydHdvcms+PC9maWd1cmU+CgogICAgICA8dD5JdCBpcyBpbXBvcnRhbnQgdG8g
Y29uc2lkZXIgdGhhdCBIVFRQIG1lc3NhZ2VzIHNwZW5kIHNvbWUgdGltZSAKICAgICAgdHJhdmVy
c2luZyB0aGUgbmV0d29yayBhbmQgYmVpbmcgcHJvY2Vzc2VkIGJ5IGludGVybWVkaWFyaWVzLiAg
VGhpcyAKICAgICAgaW5jcmVhc2VzIHRoZSBsZW5ndGggb2YgdGltZSB0aGF0IGEgY2xpZW50IHdp
bGwgd2FpdCBmb3IgYSByZXNwb25zZSAKICAgICAgaW4gYWRkaXRpb24gdG8gdGhlIHRpbWUgdGhl
IHNlcnZlciB0YWtlcyB0byBwcm9jZXNzIHRoZSByZXF1ZXN0LiAgCiAgICAgIEEgY2xpZW50IHRo
YXQgaGFzIHN0cmljdCB0aW1pbmcgcmVxdWlyZW1lbnRzIGNhbiBlc3RpbWF0ZSB0aGVzZSBmYWN0
b3JzIAogICAgICBhbmQgYWRqdXN0IHRoZSB3YWl0IHZhbHVlIGFjY29yZGluZ2x5LjwvdD4KCiAg
ICAgIDx0PkFzIHdpdGggb3RoZXIgcHJlZmVyZW5jZXMsIHRoZSAid2FpdCIgcHJlZmVyZW5jZSBj
b3VsZCBiZSBpZ25vcmVkLgogICAgICBDbGllbnRzIGNhbiBhYmFuZG9uIHJlcXVlc3RzIHRoYXQg
dGFrZSBsb25nZXIgdGhhbiB0aGV5IGFyZQogICAgICBwcmVwYXJlZCB0byB3YWl0LjwvdD4KICAg
ICAgICAgICAgCiAgICAgIDxmaWd1cmU+PHByZWFtYmxlPkZvciBleGFtcGxlLCBhIHNlcnZlciBy
ZWNlaXZpbmcgdGhlIGZvbGxvd2luZyAKICAgICAgcmVxdWVzdCBtaWdodCBjaG9vc2UgdG8gcmVz
cG9uZCBhc3luY2hyb25vdXNseSBpZiBwcm9jZXNzaW5nIHRoZSAKICAgICAgcmVxdWVzdCB3aWxs
IHRha2UgbG9uZ2VyIHRoYW4gMTAgc2Vjb25kczo8L3ByZWFtYmxlPgogICAgICA8YXJ0d29yaz4K
ICBQT1NUIC9jb2xsZWN0aW9uIEhUVFAvMS4xCiAgSG9zdDogZXhhbXBsZS5vcmcKICBDb250ZW50
LVR5cGU6IHRleHQvcGxhaW4KICBQcmVmZXI6IHJlc3BvbmQtYXN5bmMsIHdhaXQ9MTAKICAKICB7
RGF0YX0KICAgICAgPC9hcnR3b3JrPjwvZmlndXJlPgogICAgICAKICAgIDwvc2VjdGlvbj4KICAg
ICAKICAgIDxzZWN0aW9uIHRpdGxlPSJUaGUgJnF1b3Q7aGFuZGxpbmc9c3RyaWN0JnF1b3Q7IGFu
ZCAmcXVvdDtoYW5kbGluZz1sZW5pZW50JnF1b3Q7IFByb2Nlc3NpbmcgUHJlZmVyZW5jZXMiIGFu
Y2hvcj0iaGFuZGxpbmciPgogICAgCiAgICA8dD5UaGUgImhhbmRsaW5nPXN0cmljdCIgYW5kICJo
YW5kbGluZz1sZW5pZW50IiBwcmVmZXJlbmNlcyBpbmRpY2F0ZSwgCiAgICBhdCB0aGUgc2VydmVy
J3MgZGlzY3JldGlvbiwgaG93IHRoZSBjbGllbnQgd2lzaGVzIHRoZSBzZXJ2ZXIgdG8gCiAgICBo
YW5kbGUgcG90ZW50aWFsIGVycm9yIGNvbmRpdGlvbnMgdGhhdCBjYW4gYXJpc2UgaW4gdGhlIHBy
b2Nlc3Npbmcgb2YgYQogICAgcmVxdWVzdC4gRm9yIGluc3RhbmNlLCBpZiB0aGUgcGF5bG9hZCBv
ZiBhIHJlcXVlc3QgY29udGFpbnMgdmFyaW91cyAKICAgIG1pbm9yIHN5bnRhY3RpY2FsIG9yIHNl
bWFudGljIGVycm9ycywgYnV0IHRoZSBzZXJ2ZXIgaXMgc3RpbGwgY2FwYWJsZSBvZiAKICAgIGNv
bXByZWhlbmRpbmcgYW5kIHN1Y2Nlc3NmdWxseSBwcm9jZXNzaW5nIHRoZSByZXF1ZXN0LCBhIGRl
Y2lzaW9uIG11c3QgYmUKICAgIG1hZGUgdG8gZWl0aGVyIHJlamVjdCB0aGUgcmVxdWVzdCB3aXRo
IGFuIGFwcHJvcHJpYXRlICI0eHgiIGVycm9yIHJlc3BvbnNlCiAgICBvciBnbyBhaGVhZCB3aXRo
IHByb2Nlc3NpbmcuIFRoZSAiaGFuZGxpbmc9c3RyaWN0IiBwcmVmZXJlbmNlIGNhbiBiZSB1c2Vk
IHRvIGluZGljYXRlIAogICAgdGhhdCwgd2hpbGUgYW55IHBhcnRpY3VsYXIgZXJyb3IgbWF5IGJl
IHJlY292ZXJhYmxlLCB0aGUgY2xpZW50IHdvdWxkIHByZWZlciAKICAgIHRoYXQgdGhlIHNlcnZl
ciByZWplY3QgdGhlIHJlcXVlc3QuIFRoZSAiaGFuZGxpbmc9bGVuaWVudCIgcHJlZmVyZW5jZSwg
b24gdGhlIG90aGVyCiAgICBoYW5kLCBpbmRpY2F0ZXMgdGhhdCB0aGUgY2xpZW50IHdpc2hlcyB0
aGUgc2VydmVyIHRvIGF0dGVtcHQgdG8gcHJvY2VzcyB0aGUgCiAgICByZXF1ZXN0LjwvdD4KICAg
IAogICAgPGZpZ3VyZT48cHJlYW1ibGU+QUJORjo8L3ByZWFtYmxlPjxhcnR3b3JrPgogIGhhbmRs
aW5nID0gImhhbmRsaW5nIiBCV1MgIj0iIEJXUyAoInN0cmljdCIgLyAibGVuaWVudCIpCiAgICA8
L2FydHdvcms+PC9maWd1cmU+CiAgICAKICAgIDxmaWd1cmU+PHByZWFtYmxlPkFuIGV4YW1wbGUg
cmVxdWVzdCBzcGVjaWZ5aW5nIHRoZSAic3RyaWN0IiBwcmVmZXJlbmNlOjwvcHJlYW1ibGU+CiAg
ICA8YXJ0d29yaz4KICBQT1NUIC9jb2xsZWN0aW9uIEhUVFAvMS4xCiAgSG9zdDogZXhhbXBsZS5v
cmcKICBDb250ZW50LVR5cGU6IHRleHQvcGxhaW4KICBQcmVmZXI6IGhhbmRsaW5nPXN0cmljdAog
ICAgPC9hcnR3b3JrPgogICAgPC9maWd1cmU+CiAgICAKICAgIDx0PlRoZSAiaGFuZGxpbmc9c3Ry
aWN0IiBhbmQgImhhbmRsaW5nPWxlbmllbnQiIHByZWZlcmVuY2VzIGFyZSAKICAgIG11dHVhbGx5
IGV4Y2x1c2l2ZSBkaXJlY3RpdmVzLiBJdCBpcyBhbnRpY2lwYXRlZCB0aGF0IHRoZXJlIHdpbGwg
bmV2ZXIgCiAgICBiZSBhIHNpdHVhdGlvbiB3aGVyZSBpdCB3aWxsIG1ha2Ugc2Vuc2UgZm9yIGEg
c2luZ2xlIHJlcXVlc3QgdG8gaW5jbHVkZSAKICAgIGJvdGggcHJlZmVyZW5jZXMuIEFueSBzdWNo
IHJlcXVlc3RzIHdpbGwgbGlrZWx5IGJlIHRoZSByZXN1bHQgb2YgYSBjb2RpbmcgCiAgICBlcnJv
ciB3aXRoaW4gdGhlIGNsaWVudC4gQXMgc3VjaCwgYSByZXF1ZXN0IGNvbnRhaW5pbmcgYm90aCBw
cmVmZXJlbmNlcyAKICAgIGNhbiBiZSB0cmVhdGVkIGFzIHRob3VnaCBuZWl0aGVyIHdlcmUgc3Bl
Y2lmaWVkLjwvdD4KICAgIAogICAgPC9zZWN0aW9uPgogICAgICAgICAgIAogICAgPC9zZWN0aW9u
PgogICAgICAKICAgIDxzZWN0aW9uIHRpdGxlPSJJQU5BIENvbnNpZGVyYXRpb25zIj4gCiAKICAg
ICAgPHQ+VGhlICdQcmVmZXInIGFuZCAnUHJlZmVyZW5jZS1BcHBsaWVkJyBoZWFkZXIgZmllbGRz
IHNob3VsZCBiZSBhZGRlZCB0byB0aGUgUGVybWFuZW50CiAgICAgIE1lc3NhZ2UgSGVhZGVyIEZp
ZWxkcyByZWdpc3RyeSBkZWZpbmVkIGluIDx4cmVmIHRhcmdldD0iUkZDMzg2NCIvPgogICAgICAo
aHR0cDovL3d3dy5pYW5hLm9yZy9hc3NpZ25tZW50cy9tZXNzYWdlLWhlYWRlcnMvcGVybS1oZWFk
ZXJzLmh0bWwpLjwvdD4KICAgICAgICAKICAgIDx0PjxsaXN0PiAKICAgIDx0PkhlYWRlciBmaWVs
ZCBuYW1lOiBQcmVmZXI8L3Q+ICAKICAgIDx0PkFwcGxpY2FibGUgUHJvdG9jb2w6IEhUVFA8L3Q+
CiAgICA8dD5TdGF0dXM6IFN0YW5kYXJkPC90PgogICAgPHQ+PCFbQ0RBVEFbQXV0aG9yOiBKYW1l
cyBNIFNuZWxsIDxqYXNuZWxsQGdtYWlsLmNvbT5dXT48L3Q+CiAgICA8dD5DaGFuZ2UgY29udHJv
bGxlcjogSUVURjwvdD4KICAgIDx0PlNwZWNpZmljYXRpb24gZG9jdW1lbnQ6IHRoaXMgc3BlY2lm
aWNhdGlvbiwgPHhyZWYgdGFyZ2V0PSJwcmVmZXIiLz48L3Q+CiAgICA8L2xpc3Q+PC90PiAKICAg
IAogICAgPHQ+PGxpc3Q+IAogICAgPHQ+SGVhZGVyIGZpZWxkIG5hbWU6IFByZWZlcmVuY2UtQXBw
bGllZDwvdD4gIAogICAgPHQ+QXBwbGljYWJsZSBQcm90b2NvbDogSFRUUDwvdD4KICAgIDx0PlN0
YXR1czogU3RhbmRhcmQ8L3Q+CiAgICA8dD48IVtDREFUQVtBdXRob3I6IEphbWVzIE0gU25lbGwg
PGphc25lbGxAZ21haWwuY29tPl1dPjwvdD4KICAgIDx0PkNoYW5nZSBjb250cm9sbGVyOiBJRVRG
PC90PgogICAgPHQ+U3BlY2lmaWNhdGlvbiBkb2N1bWVudDogdGhpcyBzcGVjaWZpY2F0aW9uLCA8
eHJlZiB0YXJnZXQ9InByZWZlcmVuY2UtYXBwbGllZCIvPjwvdD4KICAgIDwvbGlzdD48L3Q+IAog
ICAgICAKICAgICAgPHNlY3Rpb24gdGl0bGU9IlRoZSBSZWdpc3RyeSBvZiBQcmVmZXJlbmNlcyIg
YW5jaG9yPSJyZWdpc3RyeSI+IAogICAgICAKICAgICAgICA8dD5JQU5BIGlzIGFza2VkIHRvIGNy
ZWF0ZSBhIG5ldyByZWdpc3RyeSwgIkhUVFAgUHJlZmVyZW5jZXMiLAogICAgICAgIHVuZGVyIHRo
ZSBIeXBlcnRleHQgVHJhbnNmZXIgUHJvdG9jb2wgKEhUVFApIFBhcmFtZXRlcnMgZ3JvdXAuCiAg
ICAgICAgTmV3IHJlZ2lzdHJhdGlvbnMgd2lsbCB1c2UgdGhlIFNwZWNpZmljYXRpb24gUmVxdWly
ZWQgcG9saWN5IAogICAgICAgIDx4cmVmIHRhcmdldD0iUkZDNTIyNiIvPi4gVGhlIHJlcXVpcmVt
ZW50cyBmb3IgcmVnaXN0ZXJlZCAKICAgICAgICBwcmVmZXJlbmNlcyBhcmUgZGVzY3JpYmVkIGlu
IDx4cmVmIHRhcmdldD0iZGVmaW5pdGlvbnMiIC8+LjwvdD4KCiAgICAgICAgPHQ+UmVnaXN0cmF0
aW9uIHJlcXVlc3RzIGNvbnNpc3Qgb2YgdGhlIGNvbXBsZXRlZCByZWdpc3RyYXRpb24gdGVtcGxh
dGUKICAgICAgICBiZWxvdywgdHlwaWNhbGx5IHB1Ymxpc2hlZCBpbiB0aGUgcmVxdWlyZWQgc3Bl
Y2lmaWNhdGlvbi4gIEhvd2V2ZXIsIHRvCiAgICAgICAgYWxsb3cgZm9yIHRoZSBhbGxvY2F0aW9u
IG9mIHZhbHVlcyBwcmlvciB0byBwdWJsaWNhdGlvbiwgdGhlIERlc2lnbmF0ZWQKICAgICAgICBF
eHBlcnQgY2FuIGFwcHJvdmUgcmVnaXN0cmF0aW9uIGJhc2VkIG9uIGEgc2VwYXJhdGVseSBzdWJt
aXR0ZWQKICAgICAgICB0ZW1wbGF0ZSBvbmNlIHRoZXkgYXJlIHNhdGlzZmllZCB0aGF0IGEgc3Bl
Y2lmaWNhdGlvbiB3aWxsIGJlIHB1Ymxpc2hlZC4KICAgICAgICBQcmVmZXJlbmNlcyBjYW4gYmUg
cmVnaXN0ZXJlZCBieSB0aGlyZCBwYXJ0aWVzIGlmIHRoZSBEZXNpZ25hdGVkIEV4cGVydCAKICAg
ICAgICBkZXRlcm1pbmVzIHRoYXQgYW4gdW5yZWdpc3RlcmVkIHByZWZlcmVuY2UgaXMgd2lkZWx5
IGRlcGxveWVkIGFuZCBub3QgCiAgICAgICAgbGlrZWx5IHRvIGJlIHJlZ2lzdGVyZWQgaW4gYSB0
aW1lbHkgbWFubmVyLjwvdD4KCiAgICAgICAgPHQ+VGhlIHJlZ2lzdHJhdGlvbiB0ZW1wbGF0ZSBp
czo8L3Q+CgogICAgICAgIDx0PiAKICAgICAgICAgIDxsaXN0IHN0eWxlPSJzeW1ib2xzIj4gCiAg
ICAgICAgICAgIDx0PlByZWZlcmVuY2U6IChBIHZhbHVlIGZvciB0aGUgUHJlZmVyIHJlcXVlc3Qg
aGVhZGVyIGZpZWxkIHRoYXQgY29uZm9ybXMgdG8gdGhlCiAgICAgICAgICAgIHN5bnRheCBydWxl
IGdpdmVuIGluIDx4cmVmIHRhcmdldD0icHJlZmVyIi8+KTwvdD4gCiAgICAgICAgICAgIDx0PlZh
bHVlOiAoQW4gZW51bWVyYXRpb24gb3IgZGVzY3JpcHRpb24gb2YgcG9zc2libGUgdmFsdWVzIGZv
ciB0aGUgcHJlZmVyZW5jZSB0b2tlbikuPC90PgogICAgICAgICAgICA8dD5PcHRpb25hbCBQYXJh
bWV0ZXJzOiAoQW4gZW51bWVyYXRpb24gb2Ygb3B0aW9uYWwgcGFyYW1ldGVycywgYW5kIHRoZWly
IHZhbHVlcywgYXNzb2NpYXRlZCB3aXRoIHRoZSB0aGUgcHJlZmVyZW5jZSB0b2tlbikuPC90Pgog
ICAgICAgICAgICA8dD5EZXNjcmlwdGlvbjo8L3Q+IAogICAgICAgICAgICA8dD5SZWZlcmVuY2U6
PC90PgogICAgICAgICAgICA8dD5Ob3RlczogW29wdGlvbmFsXTwvdD4KICAgICAgICAgIDwvbGlz
dD4gCiAgICAgICAgPC90PiAKICAgICAgICAKICAgICAgICA8dD5UaGUgIlZhbHVlIiBhbmQgIk9w
dGlvbmFsIFBhcmFtZXRlcnMiIGZpZWxkcyBNQVkgYmUgb21pdHRlZCBmcm9tIHRoZSAKICAgICAg
ICByZWdpc3RyYXRpb24gdGVtcGxhdGUgaWYgdGhlIHNwZWNpZmljIHByZWZlcmVuY2UgdG9rZW4g
ZGVmaW5pdGlvbiBkb2VzIG5vdCAKICAgICAgICBkZWZpbmUgZWl0aGVyLjwvdD4KCiAgICAgICAg
PHQ+UmVnaXN0cmF0aW9uIHJlcXVlc3RzIHNob3VsZCBiZSBzZW50IHRvIHRoZSBpZXRmLWh0dHAt
d2dAdzMub3JnCiAgICAgICAgbWFpbGluZyBsaXN0LCBtYXJrZWQgY2xlYXJseSBpbiB0aGUgc3Vi
amVjdCBsaW5lIChlLmcuLCAiTkVXIFBSRUZFUkVOQ0UKICAgICAgICAtIGV4YW1wbGUiIHRvIHJl
Z2lzdGVyIGFuICJleGFtcGxlIiBwcmVmZXJlbmNlKS4gV2l0aGluIGF0IG1vc3QgMTQgZGF5cyAK
ICAgICAgICBvZiB0aGUgcmVxdWVzdCwgdGhlIERlc2lnbmF0ZWQgRXhwZXJ0KHMpIHdpbGwgZWl0
aGVyIGFwcHJvdmUgb3IgZGVueSAKICAgICAgICB0aGUgcmVnaXN0cmF0aW9uIHJlcXVlc3QsIGNv
bW11bmljYXRpbmcgdGhpcyBkZWNpc2lvbiB0byB0aGUgcmV2aWV3IGxpc3QgCiAgICAgICAgYW5k
IElBTkEuICBEZW5pYWxzIHNob3VsZCBpbmNsdWRlIGFuIGV4cGxhbmF0aW9uIGFuZCwgaWYgYXBw
bGljYWJsZSwgCiAgICAgICAgc3VnZ2VzdGlvbnMgYXMgdG8gaG93IHRvIG1ha2UgdGhlIHJlcXVl
c3Qgc3VjY2Vzc2Z1bC48L3Q+CiAgICAgICAgCiAgICAgICAgPHQ+VGhlIEV4cGVydCBSZXZpZXdl
ciBzaGFsbCBlbnN1cmU6CiAgICAgICAgICA8bGlzdCBzdHlsZT0ic3ltYm9scyI+CiAgICAgICAg
ICAgIDx0PlRoYXQgdGhlIHJlcXVlc3RlZCBwcmVmZXJlbmNlIG5hbWUgY29uZm9ybXMgdG8gdGhl
IHRva2VuIHJ1bGUgCiAgICAgICAgICAgIGluIFNlY3Rpb24gMiBhbmQgdGhhdCBpdCBpcyBub3Qg
aWRlbnRpY2FsIHRvIGFueSBvdGhlciAKICAgICAgICAgICAgcmVnaXN0ZXJlZCBwcmVmZXJlbmNl
IG5hbWU7PC90PiAKICAgICAgICAgICAgPHQ+VGhhdCBhbnkgYXNzb2NpYXRlZCB2YWx1ZSwgcGFy
YW1ldGVyIG5hbWVzLCBhbmQgdmFsdWVzIGNvbmZvcm0KICAgICAgICAgICAgdG8gdGhlIHJlbGV2
YW50IEFCTkYgZ3JhbW1hciBzcGVjaWZpY2F0aW9ucyBpbiBTZWN0aW9uIDI7PC90PgogICAgICAg
ICAgICA8dD5UaGF0IHRoZSBuYW1lIGlzIGFwcHJvcHJpYXRlIHRvIHRoZSBzcGVjaWZpY2l0eSBv
ZiB0aGUgCiAgICAgICAgICAgIHByZWZlcmVuY2U7IGkuZS4sIGlmIHRoZSBzZW1hbnRpY3MgYXJl
IGhpZ2hseSBzcGVjaWZpYyB0byBhIHBhcnRpY3VsYXIKICAgICAgICAgICAgYXBwbGljYXRpb24s
IHRoZSBuYW1lIHNob3VsZCByZWZsZWN0IHRoYXQsIHNvIHRoYXQgbW9yZSBnZW5lcmFsCiAgICAg
ICAgICAgIG5hbWVzIHJlbWFpbiBhdmFpbGFibGUgZm9yIGxlc3Mgc3BlY2lmaWMgdXNlLjwvdD4K
ICAgICAgICAgICAgPHQ+VGhhdCByZXF1ZXN0ZWQgcHJlZmVyZW5jZXMgZG8gbm90IGNvbnN0cmFp
biBzZXJ2ZXJzLCBjbGllbnRzIG9yIGFueSAKICAgICAgICAgICAgaW50ZXJtZWRpYXJpZXMgdG8g
YW55IGJlaGF2aW9yIHJlcXVpcmVkIGZvciBzdWNjZXNzZnVsIAogICAgICAgICAgICBwcm9jZXNz
aW5nOyBhbmQgPC90PgogICAgICAgICAgICA8dD5UaGF0IHRoZSBzcGVjaWZpY2F0aW9uIGRvY3Vt
ZW50IGRlZmluaW5nIHRoZSBwcmVmZXJlbmNlIGluY2x1ZGVzIAogICAgICAgICAgICBhIHByb3Bl
ciBhbmQgY29tcGxldGUgZGlzY3Vzc2lvbiBvZiBhbnkgc2VjdXJpdHkgY29uc2lkZXJhdGlvbnMK
ICAgICAgICAgICAgcmVsZXZhbnQgdG8gdGhlIHVzZSBvZiB0aGUgcHJlZmVyZW5jZS48L3Q+CiAg
ICAgICAgICA8L2xpc3Q+CiAgICAgICAgPC90PgogICAgICAgIAogICAgICA8L3NlY3Rpb24+IAog
ICAgICAKICAgICAgPHNlY3Rpb24gdGl0bGU9IkluaXRpYWwgUmVnaXN0cnkgQ29udGVudHMiPgog
ICAgICAKICAgICAgPHQ+VGhlIFByZWZlcmVuY2VzIFJlZ2lzdHJ5J3MgaW5pdGlhbCBjb250ZW50
cyBhcmU6PC90PgogICAgICAKICAgICAgPHQ+IAogICAgICAgICAgPGxpc3Qgc3R5bGU9InN5bWJv
bHMiPiAKICAgICAgICAgICAgPHQ+UHJlZmVyZW5jZTogcmVzcG9uZC1hc3luYzwvdD4gCiAgICAg
ICAgICAgIDx0PkRlc2NyaXB0aW9uOiBJbmRpY2F0ZXMgdGhhdCB0aGUgY2xpZW50IHByZWZlcnMK
ICAgICAgICAgICAgICAgdGhlIHNlcnZlciB0byByZXNwb25kIGFzeW5jaHJvbm91c2x5IHRvIGEg
cmVxdWVzdC48L3Q+IAogICAgICAgICAgICA8dD5SZWZlcmVuY2U6IFt0aGlzIHNwZWNpZmljYXRp
b25dLCA8eHJlZiB0YXJnZXQ9InJlc3BvbmQtYXN5bmMiIC8+PC90PgogICAgICAgICAgPC9saXN0
PiAKICAgICAgICA8L3Q+IAogICAgICAKICAgICAgPHQ+IAogICAgICAgICAgPGxpc3Qgc3R5bGU9
InN5bWJvbHMiPiAKICAgICAgICAgICAgPHQ+UHJlZmVyZW5jZTogcmV0dXJuPC90PiAKICAgICAg
ICAgICAgPHQ+VmFsdWU6IE9uZSBvZiBlaXRoZXIgIm1pbmltYWwiIG9yICJyZXByZXNlbnRhdGlv
biI8L3Q+CiAgICAgICAgICAgIDx0PkRlc2NyaXB0aW9uOiBXaGVuIHZhbHVlIGlzICJtaW5pbWFs
IiwgaW5kaWNhdGVzIHRoYXQgdGhlIAogICAgICAgICAgICAgIGNsaWVudCBwcmVmZXJzIHRoZSBz
ZXJ2ZXIgcmV0dXJuIGEgbWluaW1hbCByZXNwb25zZSB0byBhIHJlcXVlc3QuCiAgICAgICAgICAg
ICAgV2hlbiB2YWx1ZSBpcyAicmVwcmVzZW50YXRpb24iLCBpbmRpY2F0ZXMgdGhhdCB0aGUgY2xp
ZW50IHByZWZlcnMKICAgICAgICAgICAgICB0aGUgc2VydmVyIHRvIGluY2x1ZGUgYSByZXByZXNl
bnRhdGlvbiBvZiB0aGUgY3VycmVudCBzdGF0ZSBvZiAKICAgICAgICAgICAgICB0aGUgcmVzb3Vy
Y2UgaW4gcmVzcG9uc2UgdG8gYSByZXF1ZXN0LjwvdD4gCiAgICAgICAgICAgIDx0PlJlZmVyZW5j
ZTogW3RoaXMgc3BlY2lmaWNhdGlvbl0sIDx4cmVmIHRhcmdldD0icmV0dXJuIiAvPjwvdD4KICAg
ICAgICAgIDwvbGlzdD4gCiAgICAgICAgPC90PiAKICAgICAgCiAgICAgIDx0PiAKICAgICAgICAg
IDxsaXN0IHN0eWxlPSJzeW1ib2xzIj4gCiAgICAgICAgICAgIDx0PlByZWZlcmVuY2U6IHdhaXQ8
L3Q+IAogICAgICAgICAgICA8dD5EZXNjcmlwdGlvbjogSW5kaWNhdGVzIGFuIHVwcGVyIGJvdW5k
IHRvIHRoZSBsZW5ndGggb2YgCiAgICAgICAgICAgIHRpbWUgdGhlIGNsaWVudCBleHBlY3RzIGl0
IHdpbGwgdGFrZSB0aGUgc2VydmVyIHRvIHByb2Nlc3MgCiAgICAgICAgICAgIHRoZSByZXF1ZXN0
IG9uY2UgaXQgaGFzIGJlZW4gcmVjZWl2ZWQuPC90PiAKICAgICAgICAgICAgPHQ+UmVmZXJlbmNl
OiBbdGhpcyBzcGVjaWZpY2F0aW9uXSwgPHhyZWYgdGFyZ2V0PSJ3YWl0Ii8+PC90PgogICAgICAg
ICAgPC9saXN0PiAKICAgICAgICA8L3Q+IAoKICAgICAgPHQ+IAogICAgICAgICAgPGxpc3Qgc3R5
bGU9InN5bWJvbHMiPiAKICAgICAgICAgICAgPHQ+UHJlZmVyZW5jZTogaGFuZGxpbmc8L3Q+IAog
ICAgICAgICAgICA8dD5WYWx1ZTogT25lIG9mIGVpdGhlciAic3RyaWN0IiBvciAibGVuaWVudCI8
L3Q+CiAgICAgICAgICAgIDx0PkRlc2NyaXB0aW9uOiBXaGVuIHZhbHVlIGlzICJzdHJpY3QiLCBp
bmRpY2F0ZXMgdGhhdCB0aGUgY2xpZW50IAogICAgICAgICAgICAgIHdpc2hlcyB0aGUgc2VydmVy
IHRvIGFwcGx5IHN0cmljdCB2YWxpZGF0aW9uIGFuZCBlcnJvciBoYW5kbGluZyAKICAgICAgICAg
ICAgICB0byB0aGUgcHJvY2Vzc2luZyBvZiBhIHJlcXVlc3QuIFdoZW4gdmFsdWUgaXMgImxlbmll
bnQiLCBpbmRpY2F0ZXMKICAgICAgICAgICAgICB0aGF0IHRoZSBjbGllbnQgd2lzaGVzIHRoZSBz
ZXJ2ZXIgdG8gYXBwbHkgbGVuaWVudCB2YWxpZGF0aW9uCiAgICAgICAgICAgICAgYW5kIGVycm9y
IGhhbmRsaW5nIHRvIHRoZSBwcm9jZXNzaW5nIG9mIHRoZSByZXF1ZXN0LjwvdD4gCiAgICAgICAg
ICAgIDx0PlJlZmVyZW5jZTogW3RoaXMgc3BlY2lmaWNhdGlvbl0sIDx4cmVmIHRhcmdldD0iaGFu
ZGxpbmciLz48L3Q+CiAgICAgICAgICA8L2xpc3Q+IAogICAgICAgIDwvdD4gCiAKICAgICAgPC9z
ZWN0aW9uPgogICAgICAKICAgIDwvc2VjdGlvbj4gCiAgICA8c2VjdGlvbiB0aXRsZT0iU2VjdXJp
dHkgQ29uc2lkZXJhdGlvbnMiPiAKICAgICAgPHQ+U3BlY2lmaWMgcHJlZmVyZW5jZXMgcmVxdWVz
dGVkIGJ5IGEgY2xpZW50IGNhbiBpbnRyb2R1Y2Ugc2VjdXJpdHkgCiAgICAgIGNvbnNpZGVyYXRp
b25zIGFuZCBjb25jZXJucyBiZXlvbmQgdGhvc2UgZGlzY3Vzc2VkIHdpdGhpbgogICAgICA8eHJl
ZiB0YXJnZXQ9IkktRC5pZXRmLWh0dHBiaXMtcDEtbWVzc2FnaW5nIj5IVFRQLzEuMTwveHJlZj4g
YW5kIGl0J3MKICAgICAgYWRkaXRpb25hbCBhc3NvY2lhdGVkIHNwZWNpZmljYXRpb24gZG9jdW1l
bnRzLiBJbXBsZW1lbnRlcnMgbmVlZCB0byAKICAgICAgcmVmZXIgdG8gdGhlIHNwZWNpZmljYXRp
b25zIGFuZCBkZXNjcmlwdGlvbnMgb2YgZWFjaCBwcmVmZXJlbmNlIHRvIAogICAgICBkZXRlcm1p
bmUgdGhlIHNlY3VyaXR5IGNvbnNpZGVyYXRpb25zIHJlbGV2YW50IHRvIGVhY2guPC90PiAKICAg
ICAgCiAgICAgIDx0PkEgc2VydmVyIGNvdWxkIGluY3VyIGdyZWF0ZXIgY29zdHMgaW4gYXR0ZW1w
dGluZyB0byBjb21wbHkgd2l0aCBhCiAgICAgIHBhcnRpY3VsYXIgcHJlZmVyZW5jZSAoZm9yIGlu
c3RhbmNlLCB0aGUgY29zdCBvZiBwcm92aWRpbmcgYQogICAgICByZXByZXNlbnRhdGlvbiBpbiBh
IHJlc3BvbnNlIHRoYXQgd291bGQgbm90IG9yZGluYXJpbHkgY29udGFpbiBvbmU7IG9yCiAgICAg
IHRoZSBjb21taXRtZW50IG9mIHJlc291cmNlcyBuZWNlc3NhcnkgdG8gdHJhY2sgc3RhdGUgZm9y
IGFuCiAgICAgIGFzeW5jaHJvbm91cyByZXNwb25zZSkuICBVbmNvbmRpdGlvbmFsIGNvbXBsaWFu
Y2UgZnJvbSBhIHNlcnZlciBjb3VsZAogICAgICBhbGxvdyB0aGUgdXNlIG9mIHByZWZlcmVuY2Vz
IGZvciBkZW5pYWwgb2Ygc2VydmljZS4gIEEgc2VydmVyIGNhbgogICAgICBpZ25vcmUgYW4gZXhw
cmVzc2VkIHByZWZlcmVuY2UgdG8gYXZvaWQgZXhwZW5kaW5nIHJlc291cmNlcyB0aGF0IGl0CiAg
ICAgIGRvZXMgbm90IHdpc2ggdG8gY29tbWl0LjwvdD4KICAgICAgICAgICAgICAgCiAgICA8L3Nl
Y3Rpb24+IAogIDwvbWlkZGxlPiAKICA8YmFjaz4KICAgIDxyZWZlcmVuY2VzIHRpdGxlPSJOb3Jt
YXRpdmUgUmVmZXJlbmNlcyI+IAogICAgICAmcmZjMjExOTsKICAgICAgJnJmYzM4NjQ7CiAgICAg
ICZyZmM1MjI2OwogICAgICAmcmZjMjAyNjsKICAgICAgJnJmYzUyMzQ7CiAgICAgICZwYXJ0MTsK
ICAgICAgJnBhcnQyOwogICAgPC9yZWZlcmVuY2VzPgogICAgPHJlZmVyZW5jZXMgdGl0bGU9Iklu
Zm9ybWF0aXZlIFJlZmVyZW5jZXMiPgogICAgICAmcmZjNTAyMzsKICAgIDwvcmVmZXJlbmNlcz4K
ICA8L2JhY2s+CjwvcmZjPiAKIA==
--20cf3074b0da61185304ccf84139--


From ietf-http-wg-request@listhub.w3.org  Fri Oct 26 23:03:27 2012
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 ED07521F86A3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 23:03:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.735
X-Spam-Level: 
X-Spam-Status: No, score=-8.735 tagged_above=-999 required=5 tests=[AWL=1.864, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id isY3VDQLFE4J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 26 Oct 2012 23:03:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4E79C21F8607 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 26 Oct 2012 23:03:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TRzR7-0007la-E8 for ietf-http-wg-dist@listhub.w3.org; Sat, 27 Oct 2012 05:59:57 +0000
Resent-Date: Sat, 27 Oct 2012 05:59:57 +0000
Resent-Message-Id: <E1TRzR7-0007la-E8@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1TRzR1-0007km-Mg for ietf-http-wg@listhub.w3.org; Sat, 27 Oct 2012 05:59:51 +0000
Received: from mailgw1.ericsson.se ([193.180.251.45]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <salvatore.loreto@ericsson.com>) id 1TRzQz-0006De-KS for ietf-http-wg@w3.org; Sat, 27 Oct 2012 05:59:51 +0000
X-AuditID: c1b4fb2d-b7f1e6d000002d2c-6b-508b783d0687
Received: from esessmw0256.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw1.ericsson.se (Symantec Mail Security) with SMTP id 94.3D.11564.D387B805; Sat, 27 Oct 2012 07:59:26 +0200 (CEST)
Received: from mail.lmf.ericsson.se (153.88.115.8) by esessmw0256.eemea.ericsson.se (153.88.115.97) with Microsoft SMTP Server id 8.3.279.1; Sat, 27 Oct 2012 07:59:25 +0200
Received: from nomadiclab.lmf.ericsson.se (nomadiclab.lmf.ericsson.se [131.160.33.3])	by mail.lmf.ericsson.se (Postfix) with ESMTP id 93BA324C7	for <ietf-http-wg@w3.org>; Sat, 27 Oct 2012 08:59:25 +0300 (EEST)
Received: from nomadiclab.lmf.ericsson.se (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id BDEAF539D0	for <ietf-http-wg@w3.org>; Sat, 27 Oct 2012 08:59:24 +0300 (EEST)
Received: from Salvatore-Loretos-MacBook-Pro.local (localhost [127.0.0.1])	by nomadiclab.lmf.ericsson.se (Postfix) with ESMTP id 79E2351BCF	for <ietf-http-wg@w3.org>; Sat, 27 Oct 2012 08:59:24 +0300 (EEST)
Message-ID: <508B783C.4040904@ericsson.com>
Date: Sat, 27 Oct 2012 08:59:24 +0300
From: Salvatore Loreto <salvatore.loreto@ericsson.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <emcc9604a4-b61e-4704-b0ae-c80c3d8430de@bombed>
In-Reply-To: <emcc9604a4-b61e-4704-b0ae-c80c3d8430de@bombed>
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrILMWRmVeSWpSXmKPExsUyM+Jvra5dRXeAwY1rHBaHW2YxOTB6HJ23 nzWAMYrLJiU1J7MstUjfLoErY/bhM2wFM/kqZh/+ydjA2MzdxcjJISFgIvHizy92CFtM4sK9 9WxdjFwcQgKnGCXWtW5lgnA2MEqsb73HDOFcZZTY9aKBBcI5wSgx7fo/qJ6LjBLP/jYzggzj FdCWmLx5NQuIzSKgKnFn2WJWEJtNwEzi+cMtzCC2qECyxLwNV5kh6gUlTs58AlYvIiAu0XV/ B9gcYQE9iS0fGoEO5ABaYC3x5GIoSJhTwEZi+rv9YCOZBSwkFr85yA5hy0tsfzuHGeIfNYmr 5zaB2UICWhK9ZzuZJjCKzEKybRaS9llI2hcwMq9iZM9NzMxJLzfcxAgM5oNbfuvuYDx1TuQQ ozQHi5I4L1fSfn8hgfTEktTs1NSC1KL4otKc1OJDjEwcnFINjBUbt6zp27tSpO+snm318ZBZ swTtZc6xCKix1Phr/Ba41FXsP6Ngx7StRVq7Fsv93sq6zkn5zbXDqb33C+1r9+xfejVgXbvj L5//rS8Wrl4xt4q/TnBy3wLG7zMmW6qqHlmpsena5ENv8pyLH9xm32Tzf4FgzbKVFZNPz7wq +f2LqPeEU5qyHGeVWIozEg21mIuKEwFoI1apNAIAAA==
Received-SPF: pass client-ip=193.180.251.45; envelope-from=salvatore.loreto@ericsson.com; helo=mailgw1.ericsson.se
X-W3C-Hub-Spam-Status: No, score=-5.2
X-W3C-Hub-Spam-Report: AWL=-1.018, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TRzQz-0006De-KS 75a265aca893edc0983843be08f58101
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #385: HTTP2 Upgrade / Negotiation
Archived-At: <http://www.w3.org/mid/508B783C.4040904@ericsson.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15534
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>

Hi Adrien

see in line

>>>
>>> On this note, I think it would be really useful if there could be 
>>> some machine-readable way to query a proxy for HTTP-related 
>>> capabilities. If that were part of 2.0, then failure to respond 
>>> appropriately to such a query would in itself be an indication of 
>>> lack of support for 2.0.
>>> The client could do this test whenever it became aware of using a 
>>> new proxy, e.g. before anyone types a URI or clicks a shortcut.

that is an interesting!
however it would work only and exclusively for explicit proxies, isn't it?
a lot of issues are with transparent/intercepting proxies

>>> So by the time the first user request is made, the client should 
>>> know all it needs to know about the proxy. We should at least be 
>>> able to solve that part of the problem. 
>>
>> You mean "OPTIONS * HTTP/..." ? 
>
> that kind of thing, but need to be more specific about what and how to 
> advertise things.  RFC2616 is fairly vague.  E.g. bodies on request or 
> response aren't specified, but may be specified in extension etc, 
> otherwise you get to send headers indicating optional features, but 
> like what?  Accept-range, Allow, T-E?
>
> maybe I need to do some more research for docs describing specific 
> option advertisements.  Is there a list of such specs anywhere?

moreover, if it is just for explicit proxies this kind of mechanism 
would only work with the one configured in the client.
However even if the configured proxy supports /2.0 you can not be sure 
that there is the support all the way long till the server;
there can be always another proxy in between the supported proxy and the 
server that is not 2.0 updated

/Sal

-- 
Salvatore Loreto, PhD
www.sloreto.com


>
> Adrien
>>
>>
>> Amos
>



From ietf-http-wg-request@listhub.w3.org  Sun Oct 28 00:47:32 2012
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 7B22821F8662 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 00:47:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.139
X-Spam-Level: 
X-Spam-Status: No, score=-8.139 tagged_above=-999 required=5 tests=[BAYES_20=-0.74, HTML_MESSAGE=0.001, J_CHICKENPOX_36=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dZ1Yo8rb2D+G for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 00:47:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C0F8D21F8661 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Oct 2012 00:47: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 1TSNY4-0003dn-A6 for ietf-http-wg-dist@listhub.w3.org; Sun, 28 Oct 2012 07:44:44 +0000
Resent-Date: Sun, 28 Oct 2012 07:44:44 +0000
Resent-Message-Id: <E1TSNY4-0003dn-A6@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zs68j2ee@gmail.com>) id 1TSNXz-0003d4-GZ for ietf-http-wg@listhub.w3.org; Sun, 28 Oct 2012 07:44:39 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zs68j2ee@gmail.com>) id 1TSNXy-0004eO-FW for ietf-http-wg@w3.org; Sun, 28 Oct 2012 07:44:39 +0000
Received: by mail-vc0-f171.google.com with SMTP id m18so4626726vcm.2 for <ietf-http-wg@w3.org>; Sun, 28 Oct 2012 00:44:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vMGDgYcBN+IRh3ivnMTAoIwVikzFU6VgwotJcOZDeHA=; b=KqWgCu8VgdnYBQguW2/GIu8t25VjEOWkj/mXfPSf6S4smDHbh7G2e8ocJGrvJZnOu0 s5SIdxNsKpdCu6RXIkH9P9t4YOz+Mu/2uGRyxJgoeyK1BLxLmKn1rQmSmDyJYTnYsUf1 T2ndigPd6oSgkgHofXw2YZGV3roZMpddVPifSYeCliQrrf+NFXUAxXsx7KV47bRu7slx HU3Sl7laE2cKi+yp8jOBw5NqdVCqMt0lUsBHEVjm0Rzn+/vfwn5u8yTEIUilGRchsvSM qi5Dz5yHiRFYcBxrR3OF2IFEwrrigboXinP0DWNfpitnhYkT++7Q9m7mPvDSG8W/a/LT 021g==
MIME-Version: 1.0
Received: by 10.52.177.104 with SMTP id cp8mr35300378vdc.47.1351410252596; Sun, 28 Oct 2012 00:44:12 -0700 (PDT)
Received: by 10.59.7.33 with HTTP; Sun, 28 Oct 2012 00:44:12 -0700 (PDT)
Date: Sun, 28 Oct 2012 15:44:12 +0800
Message-ID: <CAEXHauo_5z3D4XOkJPUzqfFc3PmcY2PLdiRHL17upb0XWVr9DA@mail.gmail.com>
From: tom <zs68j2ee@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3071c8120d478604cd19b8af
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zs68j2ee@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TSNXy-0004eO-FW 37b0b42da35d36a443a8692073e41578
X-Original-To: ietf-http-wg@w3.org
Subject: run HTTP over UDP(HTTPP)
Archived-At: <http://www.w3.org/mid/CAEXHauo_5z3D4XOkJPUzqfFc3PmcY2PLdiRHL17upb0XWVr9DA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15535
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>

--20cf3071c8120d478604cd19b8af
Content-Type: text/plain; charset=UTF-8

How are you thinking about run HTTP over UDP(scheme as HTTPP), and  bring
P2P Web?


node-httpp is the part of HTTPP as server likely.

We opensource it on github:
https://github.com/InstantWebP2P/node-httpp


the sister project is to run HTTP over UDP in Web browsers, that's not
ready yet.

But Node.js supports both HTTP client and server naturally, it's worth to
try carry HTTP traffic over UDP using node-httpp as well.

Best regards
  Tom

--20cf3071c8120d478604cd19b8af
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div>How are you thinking about run HTTP over UDP(scheme as HTTPP), and=C2=
=A0=C2=A0bring P2P Web?=C2=A0</div><div><br></div><div><br></div><div>node-=
httpp is the part of HTTPP as server likely.<br></div><div><br></div><div>W=
e opensource it on github:</div>
<div><a href=3D"https://github.com/InstantWebP2P/node-httpp" target=3D"_bla=
nk">https://github.com/InstantWebP2P/node-httpp</a>
</div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote"><br><=
/div><div class=3D"gmail_quote">the sister project is to run HTTP over UDP =
in Web browsers, that&#39;s not ready yet. =C2=A0</div>
<div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">But Node.js=
 supports both HTTP client and server naturally, it&#39;s worth to try carr=
y HTTP traffic over UDP=C2=A0using node-httpp as well. =C2=A0</div><div cla=
ss=3D"gmail_quote">

<br>Best regards<span><font color=3D"#888888"><br>=C2=A0 Tom<br><br>
</font></span></div><br>

--20cf3071c8120d478604cd19b8af--


From ietf-http-wg-request@listhub.w3.org  Sun Oct 28 02:50:01 2012
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 35B4D21F86D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 02:50:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W9IAENmrCkvX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 02:50:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B661321F86CF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Oct 2012 02:50:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TSPTN-0007aW-Pd for ietf-http-wg-dist@listhub.w3.org; Sun, 28 Oct 2012 09:48:01 +0000
Resent-Date: Sun, 28 Oct 2012 09:48:01 +0000
Resent-Message-Id: <E1TSPTN-0007aW-Pd@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1TSPTK-0007Zr-Hc for ietf-http-wg@listhub.w3.org; Sun, 28 Oct 2012 09:47:58 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1TSPTJ-00079S-Ft for ietf-http-wg@w3.org; Sun, 28 Oct 2012 09:47:58 +0000
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id q9S9lRWP026296 for <ietf-http-wg@w3.org>; Sun, 28 Oct 2012 10:47:27 +0100 (CET)
Received: from [192.168.217.105] (p54894B94.dip.t-dialin.net [84.137.75.148]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 445589A7; Sun, 28 Oct 2012 10:47:27 +0100 (CET)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAEXHauo_5z3D4XOkJPUzqfFc3PmcY2PLdiRHL17upb0XWVr9DA@mail.gmail.com>
Date: Sun, 28 Oct 2012 10:47:20 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <4E5AB61D-96EF-4657-92C4-260987CF65FA@tzi.org>
References: <CAEXHauo_5z3D4XOkJPUzqfFc3PmcY2PLdiRHL17upb0XWVr9DA@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1499)
Received-SPF: none client-ip=134.102.201.18; envelope-from=cabo@tzi.org; helo=informatik.uni-bremen.de
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: AWL=-1.350, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TSPTJ-00079S-Ft b578c97f673ba5dace48ba1065c8ec86
X-Original-To: ietf-http-wg@w3.org
Subject: Initiation rites (Re: run HTTP over UDP(HTTPP))
Archived-At: <http://www.w3.org/mid/4E5AB61D-96EF-4657-92C4-260987CF65FA@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15536
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>

When I was younger, there was an initiation rite that everybody went =
through on the way to becoming a serious programmer:
You had to invent your own "readable" syntax for LISP, because lots of =
silly parentheses obviously wasn't the way to go.
You typically used your own invention for a while, and then, when you =
grew more mature, you noticed how stupid that whole thing was.

Now, not that many people talk about LISP any more as the next big =
thing; S-expressions have been mostly replaced by XML.
For a while, this kind of initiation rite then reappeared as inventing =
"readable" syntaxes for XML.
Of course, by now not that many people talk about XML any more... =20
Readable JSON syntaxes anyone?  OK, YAML actually did stick.  So that =
one is over, too.

Nowadays, the next big thing seems to be "inventing" ways to run HTTP =
over UDP.
Or, really, inventing crappy transport protocols over UDP for the sole =
purpose of running HTTP on top of them.

Is there anything we need to add to the computer science curricula?

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Sun Oct 28 03:12:48 2012
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 2F10821F84ED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 03:12:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GXNbzJ1Vh6En for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 03:12:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6996521F84E6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Oct 2012 03:12:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TSPpW-0000Fv-Op for ietf-http-wg-dist@listhub.w3.org; Sun, 28 Oct 2012 10:10:54 +0000
Resent-Date: Sun, 28 Oct 2012 10:10:54 +0000
Resent-Message-Id: <E1TSPpW-0000Fv-Op@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1TSPpT-0000FC-KA for ietf-http-wg@listhub.w3.org; Sun, 28 Oct 2012 10:10:51 +0000
Received: from phk.freebsd.dk ([130.225.244.222]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <phk@phk.freebsd.dk>) id 1TSPpS-0007bE-OG for ietf-http-wg@w3.org; Sun, 28 Oct 2012 10:10:51 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id E70CE3B692; Sun, 28 Oct 2012 10:10:28 +0000 (UTC)
Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.5/8.14.5) with ESMTP id q9SAASAR013086; Sun, 28 Oct 2012 10:10:28 GMT (envelope-from phk@phk.freebsd.dk)
To: Carsten Bormann <cabo@tzi.org>
cc: HTTP Working Group <ietf-http-wg@w3.org>
In-reply-to: <4E5AB61D-96EF-4657-92C4-260987CF65FA@tzi.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
References: <CAEXHauo_5z3D4XOkJPUzqfFc3PmcY2PLdiRHL17upb0XWVr9DA@mail.gmail.com> <4E5AB61D-96EF-4657-92C4-260987CF65FA@tzi.org>
Date: Sun, 28 Oct 2012 10:10:28 +0000
Message-ID: <13085.1351419028@critter.freebsd.dk>
Received-SPF: none client-ip=130.225.244.222; envelope-from=phk@phk.freebsd.dk; helo=phk.freebsd.dk
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.132, BAYES_40=-0.001, RP_MATCHES_RCVD=-0.635
X-W3C-Scan-Sig: lisa.w3.org 1TSPpS-0007bE-OG b0da06a815afd5234f8c0d4d41251048
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Initiation rites (Re: run HTTP over UDP(HTTPP))
Archived-At: <http://www.w3.org/mid/13085.1351419028@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15537
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>

--------
In message <4E5AB61D-96EF-4657-92C4-260987CF65FA@tzi.org>, Carsten Bormann writ
es:

>Is there anything we need to add to the computer science curricula?

A course in non-dogmatism when it comes to protocol design ?

I'd be very interested to hear your feedback once you've completed it.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


From ietf-http-wg-request@listhub.w3.org  Sun Oct 28 03:57:45 2012
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 18CAC21F85C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 03:57:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.368
X-Spam-Level: 
X-Spam-Status: No, score=-9.368 tagged_above=-999 required=5 tests=[AWL=1.230, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O8W6PKAQLlRt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 03:57:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1F4B321F84FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Oct 2012 03:57:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TSQWo-0003Y2-BM for ietf-http-wg-dist@listhub.w3.org; Sun, 28 Oct 2012 10:55:38 +0000
Resent-Date: Sun, 28 Oct 2012 10:55:38 +0000
Resent-Message-Id: <E1TSQWo-0003Y2-BM@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zs68j2ee@gmail.com>) id 1TSQWk-0003XI-UQ for ietf-http-wg@listhub.w3.org; Sun, 28 Oct 2012 10:55:34 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zs68j2ee@gmail.com>) id 1TSQWj-0001fL-F3 for ietf-http-wg@w3.org; Sun, 28 Oct 2012 10:55:34 +0000
Received: by mail-vc0-f171.google.com with SMTP id m18so4683062vcm.2 for <ietf-http-wg@w3.org>; Sun, 28 Oct 2012 03:55:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WkRedhsm9CczAXJQ+GaozDSBArBnsvWOkc/iwdFOYW8=; b=Dd2vaxRhQ5NtF9ZJ4sKdZm6ShZHPNvrAlOeHSBOKUr93NLsa8O1OMp+h+lD6e4tbu8 ldi2140WJ1M5SBDjjrVjEbRLSmG0R0mugCww40JuuhjBzZbbLtQyuNuLrGCteHST/Q1g lsI/2tzMJtfrGlKhN1HFrCx7i6nQ3zhFMBqlqeHT3jtCpTyjlBSSqJuEiUzh8rPGWKJE tBD9BPscxxFxhGykD6H0OGKXwD5R3Cw248tkfJNe0ivSBMaNObdmqqCk1A0A6xA6mKx4 DwDsHXL1p7KcI0fxhL4TWnOvrmfy5pdLb7t28jYsycEtXJphuBnJ2NmXlmo0aCTpfYQ5 PMrg==
MIME-Version: 1.0
Received: by 10.52.177.104 with SMTP id cp8mr35641215vdc.47.1351421707576; Sun, 28 Oct 2012 03:55:07 -0700 (PDT)
Received: by 10.59.7.33 with HTTP; Sun, 28 Oct 2012 03:55:07 -0700 (PDT)
In-Reply-To: <4E5AB61D-96EF-4657-92C4-260987CF65FA@tzi.org>
References: <CAEXHauo_5z3D4XOkJPUzqfFc3PmcY2PLdiRHL17upb0XWVr9DA@mail.gmail.com> <4E5AB61D-96EF-4657-92C4-260987CF65FA@tzi.org>
Date: Sun, 28 Oct 2012 18:55:07 +0800
Message-ID: <CAEXHauqeZ780ocEUdjxb8JcPNVETU+NahEMR=T34H2QeDHMXBw@mail.gmail.com>
From: tom <zs68j2ee@gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=20cf3071c812d2666704cd1c62a9
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zs68j2ee@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.8
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TSQWj-0001fL-F3 c85f0258ded9f923a5a72f3d3eebec49
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Initiation rites (Re: run HTTP over UDP(HTTPP))
Archived-At: <http://www.w3.org/mid/CAEXHauqeZ780ocEUdjxb8JcPNVETU+NahEMR=T34H2QeDHMXBw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15538
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>

--20cf3071c812d2666704cd1c62a9
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Gr=C3=BC=C3=9Fe, Carsten:

Appreciate your feedback. "run HTTP over UDP" is not a news. Since about in
2000 year, some people has been trying to implement it.

Why can HTTP run over TCP only? No, HTTP just need a reliable transport.

HTTPP didn't mean run HTTP over raw UDP. We leverage UDT(UDP-based
transport) - http://udt.sourceforge.net/.

 And, HTTPP wanna challenge the Traditional "HTTP over TCP" things in a
Client / Server arch.

 HTTPP intends to bring P2P Web. Nowadays, the mobile device has been a
powerful computer, like smart phone, tablet, etc. Why we only run a client
App on it, Why we not run a network server/service on it?

 So far, HTTPP is the basis of iWebPP (Instant Web P2P arch), that we did
announce before.

Best regards
  Tom


On Sun, Oct 28, 2012 at 5:47 PM, Carsten Bormann <cabo@tzi.org> wrote:

> When I was younger, there was an initiation rite that everybody went
> through on the way to becoming a serious programmer:
> You had to invent your own "readable" syntax for LISP, because lots of
> silly parentheses obviously wasn't the way to go.
> You typically used your own invention for a while, and then, when you gre=
w
> more mature, you noticed how stupid that whole thing was.
>
> Now, not that many people talk about LISP any more as the next big thing;
> S-expressions have been mostly replaced by XML.
> For a while, this kind of initiation rite then reappeared as inventing
> "readable" syntaxes for XML.
> Of course, by now not that many people talk about XML any more...
> Readable JSON syntaxes anyone?  OK, YAML actually did stick.  So that one
> is over, too.
>
> Nowadays, the next big thing seems to be "inventing" ways to run HTTP ove=
r
> UDP.
> Or, really, inventing crappy transport protocols over UDP for the sole
> purpose of running HTTP on top of them.
>
> Is there anything we need to add to the computer science curricula?
>
> Gr=C3=BC=C3=9Fe, Carsten
>
>
>

--20cf3071c812d2666704cd1c62a9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div>Gr=C3=BC=C3=9Fe, Carsten:</div><div><br></div><div>Appreciate your fee=
dback. &quot;run HTTP over UDP&quot; is not a news. Since about in 2000 yea=
r, some people has been trying to implement it.=C2=A0</div><div><br></div><=
div>Why can HTTP run over TCP only? No, HTTP just need a reliable transport=
. =C2=A0</div>
<div><br></div><div>HTTPP didn&#39;t mean run HTTP over raw UDP. We leverag=
e UDT(UDP-based transport) -=C2=A0<a href=3D"http://udt.sourceforge.net/">h=
ttp://udt.sourceforge.net/</a>.=C2=A0</div><div><br></div><div>=C2=A0And, H=
TTPP wanna challenge the=C2=A0Traditional &quot;HTTP over TCP&quot; things =
in a Client / Server arch.</div>
<div><br></div><div>=C2=A0HTTPP intends to bring P2P Web.=C2=A0Nowadays, th=
e mobile device has been a powerful computer, like smart phone, tablet, etc=
. Why we only run a client App on it, Why we not run a network server/servi=
ce on it?=C2=A0</div>
<div><br></div><div>=C2=A0So far, HTTPP is the basis of iWebPP (Instant Web=
 P2P arch), that we did announce before.=C2=A0</div><div><br></div><div>Bes=
t regards</div><div>=C2=A0 Tom=C2=A0</div><div>=C2=A0</div><br><div class=
=3D"gmail_quote">On Sun, Oct 28, 2012 at 5:47 PM, Carsten Bormann <span dir=
=3D"ltr">&lt;<a href=3D"mailto:cabo@tzi.org" target=3D"_blank">cabo@tzi.org=
</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">When I was younger, there was an initiation =
rite that everybody went through on the way to becoming a serious programme=
r:<br>

You had to invent your own &quot;readable&quot; syntax for LISP, because lo=
ts of silly parentheses obviously wasn&#39;t the way to go.<br>
You typically used your own invention for a while, and then, when you grew =
more mature, you noticed how stupid that whole thing was.<br>
<br>
Now, not that many people talk about LISP any more as the next big thing; S=
-expressions have been mostly replaced by XML.<br>
For a while, this kind of initiation rite then reappeared as inventing &quo=
t;readable&quot; syntaxes for XML.<br>
Of course, by now not that many people talk about XML any more...<br>
Readable JSON syntaxes anyone? =C2=A0OK, YAML actually did stick. =C2=A0So =
that one is over, too.<br>
<br>
Nowadays, the next big thing seems to be &quot;inventing&quot; ways to run =
HTTP over UDP.<br>
Or, really, inventing crappy transport protocols over UDP for the sole purp=
ose of running HTTP on top of them.<br>
<br>
Is there anything we need to add to the computer science curricula?<br>
<br>
Gr=C3=BC=C3=9Fe, Carsten<br>
<br>
<br>
</blockquote></div><br>

--20cf3071c812d2666704cd1c62a9--


From ietf-http-wg-request@listhub.w3.org  Sun Oct 28 04:14:41 2012
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 B150421F86F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 04:14:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.983
X-Spam-Level: 
X-Spam-Status: No, score=-9.983 tagged_above=-999 required=5 tests=[AWL=0.615, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RSxLqgaUzUMY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 04:14:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EDF9921F86FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Oct 2012 04:14:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TSQng-0001yy-PZ for ietf-http-wg-dist@listhub.w3.org; Sun, 28 Oct 2012 11:13:04 +0000
Resent-Date: Sun, 28 Oct 2012 11:13:04 +0000
Resent-Message-Id: <E1TSQng-0001yy-PZ@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zs68j2ee@gmail.com>) id 1TSQnd-0001y7-20 for ietf-http-wg@listhub.w3.org; Sun, 28 Oct 2012 11:13:01 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zs68j2ee@gmail.com>) id 1TSQnb-00022k-7u for ietf-http-wg@w3.org; Sun, 28 Oct 2012 11:13:01 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so3685759vbb.2 for <ietf-http-wg@w3.org>; Sun, 28 Oct 2012 04:12:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=K5MH58A4XqxafNEOa705G+C4t3HiZnJH6w9SSOMj3H8=; b=GDxfu8qwLOTEnH+rJDFdyFUBIYj2uscSv73BHv4Oh0lwARUFnPY1+Cn2cqffSoce9X FDi+yIqphJpF02dvSDRy87P9DmO/oui+WxijGfP66xvr/XlX/ynYMQw1fJHfM7hYix4R hUYe5ugzYW6qnuc5wHBvsqozpUnNZaCSXOFCLIlnwSLdINnaSFZeTURQYjoCHNpgRyUk B8BVIHpztjhM1t22A38Abckj0dnByJPrsfYu1qmiYQz7Q7ugFoBSN5Q38z83ZS8MVP8z pqzaGwR74S2z3bFRVcqavREsJpXKy3FoAUD/b5+w++AO5mzsqzWvMz89C+2jJ+CjJN/x inCg==
MIME-Version: 1.0
Received: by 10.220.153.15 with SMTP id i15mr4426707vcw.6.1351422753606; Sun, 28 Oct 2012 04:12:33 -0700 (PDT)
Received: by 10.59.7.33 with HTTP; Sun, 28 Oct 2012 04:12:33 -0700 (PDT)
In-Reply-To: <4E5AB61D-96EF-4657-92C4-260987CF65FA@tzi.org>
References: <CAEXHauo_5z3D4XOkJPUzqfFc3PmcY2PLdiRHL17upb0XWVr9DA@mail.gmail.com> <4E5AB61D-96EF-4657-92C4-260987CF65FA@tzi.org>
Date: Sun, 28 Oct 2012 19:12:33 +0800
Message-ID: <CAEXHaupLu1ZnJ8tgBMpsZ2rG+4_dOFNkJG9gSrAZB+=+m+yyPQ@mail.gmail.com>
From: tom <zs68j2ee@gmail.com>
To: Carsten Bormann <cabo@tzi.org>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d043c075c2b8a9404cd1ca139
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zs68j2ee@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-0.8
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TSQnb-00022k-7u bc13c7bc74eae80ab7ab887c5afdc566
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Initiation rites (Re: run HTTP over UDP(HTTPP))
Archived-At: <http://www.w3.org/mid/CAEXHaupLu1ZnJ8tgBMpsZ2rG+4_dOFNkJG9gSrAZB+=+m+yyPQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15539
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>

--f46d043c075c2b8a9404cd1ca139
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Gr=C3=BC=C3=9Fe, Carsten:

Appreciate your feedback. "run HTTP over UDP" is not a news. Since about in
2000 year, some people has been trying to implement it.

Why can HTTP run over TCP only? No, HTTP just need a reliable transport.

HTTPP didn't mean run HTTP over raw UDP. We leverage UDT(UDP-based
transport) - http://udt.sourceforge.net/.

 And, HTTPP do not want to challenge the Traditional "HTTP over TCP" things
in a Client / Server arch.

 HTTPP intends to bring P2P Web. Nowadays, the mobile device has been a
powerful computer, like smart phone, tablet, etc. Why we only run a client
App on it, Why we not run a network server/service on it?

 So far, HTTPP is the basis of iWebPP (Instant Web P2P arch), that we did
announce before.

Best regards
  Tom

On Sun, Oct 28, 2012 at 5:47 PM, Carsten Bormann <cabo@tzi.org> wrote:

> When I was younger, there was an initiation rite that everybody went
> through on the way to becoming a serious programmer:
> You had to invent your own "readable" syntax for LISP, because lots of
> silly parentheses obviously wasn't the way to go.
> You typically used your own invention for a while, and then, when you gre=
w
> more mature, you noticed how stupid that whole thing was.
>
> Now, not that many people talk about LISP any more as the next big thing;
> S-expressions have been mostly replaced by XML.
> For a while, this kind of initiation rite then reappeared as inventing
> "readable" syntaxes for XML.
> Of course, by now not that many people talk about XML any more...
> Readable JSON syntaxes anyone?  OK, YAML actually did stick.  So that one
> is over, too.
>
> Nowadays, the next big thing seems to be "inventing" ways to run HTTP ove=
r
> UDP.
> Or, really, inventing crappy transport protocols over UDP for the sole
> purpose of running HTTP on top of them.
>
> Is there anything we need to add to the computer science curricula?
>
> Gr=C3=BC=C3=9Fe, Carsten
>
>
>

--f46d043c075c2b8a9404cd1ca139
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;background-color:rgb(255,255,255)">Gr=C3=BC=C3=9Fe, Carsten:</div><div s=
tyle=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;bac=
kground-color:rgb(255,255,255)">
<br></div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;fo=
nt-size:13px;background-color:rgb(255,255,255)">Appreciate your feedback. &=
quot;run HTTP over UDP&quot; is not a news. Since about in 2000 year, some =
people has been trying to implement it.=C2=A0</div>
<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;background-color:rgb(255,255,255)"><br></div><div style=3D"color:rgb(34,=
34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255=
,255,255)">
Why can HTTP run over TCP only? No, HTTP just need a reliable transport. =
=C2=A0</div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;=
font-size:13px;background-color:rgb(255,255,255)"><br></div><div style=3D"c=
olor:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-c=
olor:rgb(255,255,255)">
HTTPP didn&#39;t mean run HTTP over raw UDP. We leverage UDT(UDP-based tran=
sport) -=C2=A0<a href=3D"http://udt.sourceforge.net/" target=3D"_blank" sty=
le=3D"color:rgb(17,85,204)">http://udt.sourceforge.net/</a>.=C2=A0</div><di=
v style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;=
background-color:rgb(255,255,255)">
<br></div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;fo=
nt-size:13px;background-color:rgb(255,255,255)">=C2=A0And, HTTPP do not wan=
t to challenge the=C2=A0Traditional &quot;HTTP over TCP&quot; things in a C=
lient / Server arch.</div>
<div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13=
px;background-color:rgb(255,255,255)"><br></div><div style=3D"color:rgb(34,=
34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255=
,255,255)">
=C2=A0HTTPP intends to bring P2P Web.=C2=A0Nowadays, the mobile device has =
been a powerful computer, like smart phone, tablet, etc. Why we only run a =
client App on it, Why we not run a network server/service on it?=C2=A0</div=
><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:1=
3px;background-color:rgb(255,255,255)">
<br></div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;fo=
nt-size:13px;background-color:rgb(255,255,255)">=C2=A0So far, HTTPP is the =
basis of iWebPP (Instant Web P2P arch), that we did announce before.=C2=A0<=
/div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-si=
ze:13px;background-color:rgb(255,255,255)">
<br></div><div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;fo=
nt-size:13px;background-color:rgb(255,255,255)">Best regards</div><div styl=
e=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;backgr=
ound-color:rgb(255,255,255)">
=C2=A0 Tom</div><br><div class=3D"gmail_quote">On Sun, Oct 28, 2012 at 5:47=
 PM, Carsten Bormann <span dir=3D"ltr">&lt;<a href=3D"mailto:cabo@tzi.org" =
target=3D"_blank">cabo@tzi.org</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">
When I was younger, there was an initiation rite that everybody went throug=
h on the way to becoming a serious programmer:<br>
You had to invent your own &quot;readable&quot; syntax for LISP, because lo=
ts of silly parentheses obviously wasn&#39;t the way to go.<br>
You typically used your own invention for a while, and then, when you grew =
more mature, you noticed how stupid that whole thing was.<br>
<br>
Now, not that many people talk about LISP any more as the next big thing; S=
-expressions have been mostly replaced by XML.<br>
For a while, this kind of initiation rite then reappeared as inventing &quo=
t;readable&quot; syntaxes for XML.<br>
Of course, by now not that many people talk about XML any more...<br>
Readable JSON syntaxes anyone? =C2=A0OK, YAML actually did stick. =C2=A0So =
that one is over, too.<br>
<br>
Nowadays, the next big thing seems to be &quot;inventing&quot; ways to run =
HTTP over UDP.<br>
Or, really, inventing crappy transport protocols over UDP for the sole purp=
ose of running HTTP on top of them.<br>
<br>
Is there anything we need to add to the computer science curricula?<br>
<br>
Gr=C3=BC=C3=9Fe, Carsten<br>
<br>
<br>
</blockquote></div><br>

--f46d043c075c2b8a9404cd1ca139--


From ietf-http-wg-request@listhub.w3.org  Sun Oct 28 17:59:11 2012
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 22D5821F85BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 17:59:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vLv+WfO1a+pp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 17:59:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 40AD021F85BA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Oct 2012 17:59:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TSdf8-0001Qx-LN for ietf-http-wg-dist@listhub.w3.org; Mon, 29 Oct 2012 00:57:06 +0000
Resent-Date: Mon, 29 Oct 2012 00:57:06 +0000
Resent-Message-Id: <E1TSdf8-0001Qx-LN@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TSdf2-0001QE-Qg for ietf-http-wg@listhub.w3.org; Mon, 29 Oct 2012 00:57:00 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TSdf1-0002Ru-Ia for ietf-http-wg@w3.org; Mon, 29 Oct 2012 00:57:00 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0DC9D22E256; Sun, 28 Oct 2012 20:56:31 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAP+FsNf5qTQhG06f2hd6DtSdevYJFBuB+gwHiwJHM3079wHrAQ@mail.gmail.com>
Date: Mon, 29 Oct 2012 11:56:32 +1100
Cc: RUELLAN Herve <Herve.Ruellan@crf.canon.fr>, Amos Jeffries <squid3@treenet.co.nz>, Patrick McManus <pmcmanus@mozilla.com>, James M Snell <jasnell@gmail.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4B8A716C-4D04-4881-9DC2-7A84F2ECCF17@mnot.net>
References: <6C71876BDCCD01488E70A2399529D5E522F2AE@ADELE.crf.canon.fr> <96CA6E16-6A35-4245-98DC-E0A6994D368B@mnot.net> <5087B413.1000801@treenet.co.nz> <CAP+FsNdpMBxMFKymu+68Lvb6ExaBfkxbhOsY13GDGAv3V11opA@mail.gmail.com> <CAOdDvNqzfHTDB92jhYcRwwg4C11uCMid3+eub4z=vYm4D0DJTQ@mail.gmail.com> <3ECAB5C9-E2A8-47DF-B4F5-2AEB1C4125C4@mnot.net> <CABP7Rbe4r2S_2LbeyqkihwEzPnb-TrmVf5HkjP+r+jb8dawJ+w@mail.gmail.com> <6C71876BDCCD01488E70A2399529D5E522F9BE@ADELE.crf.canon.fr> <CAP+FsNf5qTQhG06f2hd6DtSdevYJFBuB+gwHiwJHM3079wHrAQ@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-2.167, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TSdf1-0002Ru-Ia 50280cd2f12f44d56e1deb1df3e5a383
X-Original-To: ietf-http-wg@w3.org
Subject: Re: HTTP Header Compaction Results
Archived-At: <http://www.w3.org/mid/4B8A716C-4D04-4881-9DC2-7A84F2ECCF17@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15540
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>

OK, I'm going to change to produce HAR, then.


On 26/10/2012, at 4:14 AM, Roberto Peon <grmocg@gmail.com> wrote:

> My github repo has some code for parsing the .har files. In python and =
js it is trivial  (around 3 loc) to parse them. For my c++ code, I =
invoke (fork)  the python to parse them and then put them in simplified =
http/1 header format and pipe it into the c++ code.
>=20
> -=3DR
>=20
> On Oct 25, 2012 1:13 AM, "RUELLAN Herve" <Herve.Ruellan@crf.canon.fr> =
wrote:
> > -----Original Message-----
> > From: James M Snell [mailto:jasnell@gmail.com]
> > Sent: mercredi 24 octobre 2012 21:44
> > To: Mark Nottingham
> > Cc: Patrick McManus; Roberto Peon; Amos Jeffries; =
ietf-http-wg@w3.org
> > Subject: Re: HTTP Header Compaction Results
> >
> >
> >
> >
> > On Wed, Oct 24, 2012 at 12:39 PM, Mark Nottingham <mnot@mnot.net>
> > wrote:
> >
> >
> >       On 25/10/2012, at 5:00 AM, Patrick McManus
> > <pmcmanus@mozilla.com> wrote:
> >       >
> >       > for reference https://developer.mozilla.org/en-
> > US/docs/NSS_Key_Log_Format
> >
> >       Thanks; I looked for that before, but couldn't find it. Should =
have
> > asked.
> >
> >       I agree that the logs should be 'raw'; we can always =
post-process (as
> > long as we do it in a uniform manner :)
> >
> >       How would people prefer to store them? I've been storing them =
as
> > just text files, one per direction per stream (e.g., "response =
headers on this
> > connection to 1.2.3.4"), with header blocks delimited by a blank =
line.
> > However, IIRC someone mentioned HAR as well -- any preferences?
> >
> >
> >
> >
> > text files would work just fine.
>=20
> I agree that text files are OK.
>=20
> HAR could also work, but are somewhat more complex to process. =
Moreover I think it's easier to write a HAR to text files translator =
than the reverse.
>=20
> Herv=E9.
>=20
> > - James
> >
> >
> >       Cheers,
> >
> >
> >       --
> >       Mark Nottingham   http://www.mnot.net/
> >
> >
> >
> >
> >
> >
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Sun Oct 28 17:59:11 2012
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 3741021F85BA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 17:59:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.599
X-Spam-Level: 
X-Spam-Status: No, score=-8.599 tagged_above=-999 required=5 tests=[AWL=2.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7yAneUVOHrB9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 17:59:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7F57221F85BC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Oct 2012 17:59:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TSdfe-0001Rr-2U for ietf-http-wg-dist@listhub.w3.org; Mon, 29 Oct 2012 00:57:38 +0000
Resent-Date: Mon, 29 Oct 2012 00:57:38 +0000
Resent-Message-Id: <E1TSdfe-0001Rr-2U@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TSdfZ-0001RC-MT for ietf-http-wg@listhub.w3.org; Mon, 29 Oct 2012 00:57:33 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TSdfY-0002Sg-Hu for ietf-http-wg@w3.org; Mon, 29 Oct 2012 00:57:33 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 65F7E22E1EB; Sun, 28 Oct 2012 20:57:10 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <BB72E60F7A18154A9B1352D1DF6FEE571E2692A3@NASANEXD01E.na.qualcomm.com>
Date: Mon, 29 Oct 2012 11:57:12 +1100
Cc: "Adrien W. de Croy" <adrien@qbik.com>, "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9DD2B4C9-3C33-4DF2-A332-75B0C31AD986@mnot.net>
References: <BB72E60F7A18154A9B1352D1DF6FEE571E2692A3@NASANEXD01E.na.qualcomm.com>
To: "Fall, Kevin" <kfall@qti.qualcomm.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: AWL=-2.121, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TSdfY-0002Sg-Hu 82fc85015ada5c20178dc654a5b620b5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: draft-kfall-httpbis-server-ranges [was: Preliminary agenda for Atlanta]
Archived-At: <http://www.w3.org/mid/9DD2B4C9-3C33-4DF2-A332-75B0C31AD986@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15541
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>

On 26/10/2012, at 2:06 PM, "Fall, Kevin" <kfall@qti.qualcomm.com> wrote:

> The real world reason this comes up is described in the draft. =
[basically,
> portions of multimedia segments]
> The issue is when the server has some portion of an entity that may be =
out
> of sequence from the start.
> (that is, the server may have 200-300 but not 100-200.  The client may =
ask
> later for 100-200 or decide to move on without those parts).
>=20
> I was hoping to have a few mins at the ATL meeting to describe how/why
> this issue comes up.
>=20

Yes, you're on the agenda. If you have slides, please send them to me =
beforehand (ideally, in the next few days).

Cheers,


> thx
> - K
>=20
> On 10/25/12 3:55 PM PDT, "Adrien W. de Croy" <adrien@qbik.com> wrote:
>=20
>>=20
>> Hi
>>=20
>> ------ Original Message ------
>> From: "Fall, Kevin" <kfall@qti.qualcomm.com>
>> To: "Mark Nottingham" <mnot@mnot.net>
>> Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
>> Sent: 26/10/2012 2:32:44 a.m.
>> Subject: Re: draft-kfall-httpbis-server-ranges [was: Preliminary =
agenda
>> for Atlanta]
>>> That is one case, but perhaps more interesting/controversial is this =
one:
>>>=20
>>> Range: bytes=3D100-
>>>=20
>>> Content-Range: bytes 200-300/1000.
>>>=20
>>=20
>> I'm struggling to see the point of this.
>>=20
>> What real world case would something like this solve?  Presumably the
>> client would need to request 100-200 again?  If not, then why even =
deal
>> in bytes and part ranges like this at all?
>>=20
>> Regards
>>=20
>> Adrien
>>=20
>>=20
>>>=20
>>>=20
>>> A subsequent request might likely then be:
>>>=20
>>> Range: 100-200, 300-1000
>>>=20
>>> for which the responses might be
>>>=20
>>> Content-Range: 100-200, 300-1000
>>>=20
>>> or even something like
>>>=20
>>> Range: 100-1000
>>>=20
>>> (although this later case isn't as desirable due the redundancy).
>>>=20
>>> It would still be straightforward to implement the current rule of =
not
>>> returning multiple ranges unless multiple ranges were given in the
>>> request.
>>> Although I don't know if the intent is to continue with this =
guidance
>>> given a new HTTP version. [?]
>>>=20
>>> A related issue is which response code to use for such responses.
>>> Although 206 seems most logical given the current set of defined =
codes
>>> (it
>>> is, after all, 'Partial Content'), perhaps it might be more clear if =
a
>>> different code were used.  I'm neutral on that issue for the moment; =
the
>>> draft suggests 206.
>>>=20
>>> thx
>>> - K
>>>=20
>>> On 10/24/12 8:32 PM PDT, "Mark Nottingham" <mnot@mnot.net> wrote:
>>>=20
>>>=20
>>>>=20
>>>> Kevin,
>>>>=20
>>>> On 23/10/2012, at 3:11 PM, "Fall, Kevin" <kfall@qti.qualcomm.com> =
wrote:
>>>>=20
>>>>=20
>>>>>=20
>>>>> Would like a chance to briefly bring up the range / partial =
delivery
>>>>> issue
>>>>> I mentioned on the list.
>>>>> [and what's behind
>>>>> http://tools.ietf.org/id/draft-kfall-httpbis-server-ranges-00.txt]
>>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>> We can spend a bit of time on it in the "related work" item of the
>>>> session on Monday, yes.
>>>>=20
>>>> To make the use case a bit more concrete, and make sure I =
understand it,
>>>> one example AIUI would be a request for
>>>>=20
>>>> Range: bytes=3D100-
>>>>=20
>>>> to which you return, say:
>>>>=20
>>>> Content-Range: bytes 100-200/1000
>>>> ETag: "1234"
>>>>=20
>>>> and then to a subseqent, identical request
>>>>=20
>>>> Content-Range: bytes 100-400/1000
>>>> ETag: "1234"
>>>>=20
>>>> Correct?
>>>>=20
>>>> Cheers,
>>>>=20
>>>>=20
>>>> --
>>>> Mark Nottingham   http://www.mnot.net/
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>>=20
>>=20
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Sun Oct 28 18:06:23 2012
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 EC85C21F85ED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 18:06:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.038
X-Spam-Level: 
X-Spam-Status: No, score=-8.038 tagged_above=-999 required=5 tests=[AWL=0.106, BAYES_00=-2.599, FRT_ADOBE2=2.455, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DZg7ZDzUPc81 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Oct 2012 18:06:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 262F621F85E0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Oct 2012 18:06:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TSdmq-0006Op-1n for ietf-http-wg-dist@listhub.w3.org; Mon, 29 Oct 2012 01:05:04 +0000
Resent-Date: Mon, 29 Oct 2012 01:05:04 +0000
Resent-Message-Id: <E1TSdmq-0006Op-1n@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TSdmm-0005FV-7p for ietf-http-wg@listhub.w3.org; Mon, 29 Oct 2012 01:05:00 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TSdml-0002g7-4x for ietf-http-wg@w3.org; Mon, 29 Oct 2012 01:05:00 +0000
Received: from [192.168.1.82] (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DBC3922E1F4; Sun, 28 Oct 2012 21:04:36 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <C68CB012D9182D408CED7B884F441D4D1E36C3676C@nambxv01a.corp.adobe.com>
Date: Mon, 29 Oct 2012 12:04:37 +1100
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <1902BD87-6F64-4A7C-9412-B5ADBC214C3B@mnot.net>
References: <6754887D-B028-41E8-A6E5-14A36DA10FBD@mnot.net> <C68CB012D9182D408CED7B884F441D4D1E36C3676C@nambxv01a.corp.adobe.com>
To: Larry Masinter <masinter@adobe.com>
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.577, BAYES_00=-1.9, FRT_ADOBE2=1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TSdml-0002g7-4x e6637912b9304b81caeed6d17ec1dc51
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Preliminary agenda for Atlanta
Archived-At: <http://www.w3.org/mid/1902BD87-6F64-4A7C-9412-B5ADBC214C3B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15542
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>

Hi Larry,

We've brought it up a couple of time before, and everyone seems to nod =
their heads and say "yes, testing is important."

As you can see, we're starting to talk about testing compression =
algorithms and possibly upgrade schemes; is this what you had in mind? =
Something else?=20

I do plan to talk about the specifics of testing as it relates to each =
issue we bring up, and I imagine that once we get going, we will be =
doing some interop work, but until we have a draft that's worth =
implementing (and separate from SPDY), I'm not sure what else we'd talk =
about.

If you have a specific proposal, that'd be great to talk about, of =
course.=20

Regards,


On 24/10/2012, at 11:52 AM, Larry Masinter <masinter@adobe.com> wrote:

> Could you put some time on the agenda to talk about HTTP testing?
> Conformance, performance, feature coverage, "live" client/server =
interop test frameworks?
>=20
> Larry
> --
> http://larry.masinter.net
>=20
>=20
>> -----Original Message-----
>> From: Mark Nottingham [mailto:mnot@mnot.net]
>> Sent: Monday, October 22, 2012 8:41 PM
>> To: ietf-http-wg@w3.org Group
>> Subject: Preliminary agenda for Atlanta
>>=20
>> ... is at:
>>  http://www.ietf.org/proceedings/85/agenda/agenda-85-httpbis
>>=20
>> Suggestions, etc. welcome.
>>=20
>> --
>> Mark Nottingham   http://www.mnot.net/
>>=20
>>=20
>>=20
>=20

--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 29 20:40:55 2012
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 A8EBF21F85B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Oct 2012 20:40:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.292
X-Spam-Level: 
X-Spam-Status: No, score=-9.292 tagged_above=-999 required=5 tests=[AWL=1.307, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Q3lliNkboSc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Oct 2012 20:40:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7ABD521F8562 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 29 Oct 2012 20:40:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TT2dm-0000xK-8E for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Oct 2012 03:37:22 +0000
Resent-Date: Tue, 30 Oct 2012 03:37:22 +0000
Resent-Message-Id: <E1TT2dm-0000xK-8E@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TT2db-0000wb-PU for ietf-http-wg@listhub.w3.org; Tue, 30 Oct 2012 03:37:11 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1TT2da-0004jS-5i for ietf-http-wg@w3.org; Tue, 30 Oct 2012 03:37:11 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.87.82]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B0D8A22E259; Mon, 29 Oct 2012 23:36:44 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 30 Oct 2012 14:36:46 +1100
Message-Id: <DAED760B-AC6A-44A6-816C-59EEEF705E4E@mnot.net>
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
To: Roy Fielding <fielding@gbiv.com>, "Julian F. Reschke" <julian.reschke@gmx.de>
Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\))
X-Mailer: Apple Mail (2.1499)
Received-SPF: pass client-ip=216.86.168.182; envelope-from=mnot@mnot.net; helo=mxout-07.mxes.net
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: AWL=-2.177, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TT2da-0004jS-5i 6bc1df322171124718769672a7e37595
X-Original-To: ietf-http-wg@w3.org
Subject: WGLC - Editorial feedback /questions on p1
Archived-At: <http://www.w3.org/mid/DAED760B-AC6A-44A6-816C-59EEEF705E4E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15543
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>

After a closer review, some editorial suggestions, with a few questions =
mixed in. Some may turn into design issues, depending on how =
incorporation/discussion goes.


* Section titles - I wonder if we should call section two "HTTP =
Architecture" instead of "Architecture", and then prefix 3, 4, 5, and 6 =
with "HTTP/1.1", e.g., "3. HTTP/1.1 Message Format". Just a suggestion.

* 1. Introduction -- "However since multiple clients might act in =
parallel..." Should also mention that other interfaces to the underlying =
data can change its state.

* 1. Introduction -- three paragraphs, starting with "HTTP is a generic =
interface protocol..." would fit better in Section 2 Architecture.

* 1. Introduction -- "One consequence of HTTP flexibility..." --> =
"...HTTP's flexibility..."

* 2.1 Client/Server Messaging -- "..refer to whichever component sent a =
given message..." --> "...refer to any component that sends a given =
message..."   (aligns with similar text nearby)

* 2.5 Conformance and Error Handling -- "...recipient MUST be able to =
parse any value that would match the ABNF rules..."  yet 3.2.2 only make =
parsing obs-fold a SHOULD. Which is it?

* 2.6 Protocol Versioning - should reference the 505 status code in P2

* 2.7.1 http URI Scheme - "... because the name delegation process =
depends on TCP for establishing authority." --> "... because the name =
delegation process uses the TCP port number (among other things) to =
establish identity."

* 2.7.2 https URI scheme - same as above

* 2.7.1 http URI Scheme, last para - '...when transmitting an "http" URI =
in a message.' --> '...when transmitting an "http" URI in a =
request-target.' =20

* 2.7.1 Stick with "an HTTP" or "a HTTP".

* 2.7.2 "... MUST NOT be reused for shared caching." This requirement =
needs to be explicitly added to p6, and referenced from here.

* 3 Message format -- "Recipients MUST parse an HTTP message as a =
sequence of octets in an encoding that is a superset of US-ASCII." --> =
"... US-ASCII or a superset of it."

* 3.1 Request Line -- There isn't a requirement for recipients of =
messages with whitespace between the start-line and the first header =
field. Should there be?

* 3.1.1 "A server MUST be able to parse any received message that begins =
with a request-line and matches the ABNF rule for HTTP-message."  This =
repeats the ABNF requirement in the conformance section; should be =
removed.

* 3.1.1 "...at a minimum, request-line lengths of up to 8000 octets."  =
Remove "up to"; redundant.

* 3.1.1 Request Line and 3.1.2 Status line -- RFC2616 specifically =
allowed multiple SP and HT in these constructs --

>    Clients SHOULD be tolerant in parsing the Status-Line and servers
>    tolerant when parsing the Request-Line. In particular, they SHOULD
>    accept any amount of SP or HT characters between fields, even =
though
>    only a single SP is required.   (19.3 Tolerant Applications)

Yet this text seems to have been lost. Given that HT isn't even in the =
BNF, it should still be somewhere.

* 3.2 Header Fields -- talks about there being no limit on the number of =
header fields in a message. This should reference 3.2.3, which indicates =
how respond when they're too long (or that content should be moved =
here). Should also reference rfc6585 for 431 Request Header Fields too =
Large.=20

* 3.2 Header Fields -- The advice regarding Set-Cookie2 in the note at =
the end appears to endorse that header; however, it has been obsoleted. =
This text should be removed.

* 3.2.1. Whitespace -- uses "produce" instead of "generate" (as per the =
language in the conformance section).

* 3.2.2. Field Parsing -- uses "produce" instead of "generate" (as per =
the language in the conformance section).

* 3.2.2. Field Parsing "A proxy MUST remove any such whitespace..."  =
Should this be "intermediary"?

* 3.2.4 Field value components -- there are two instances of "Senders =
SHOULD NOT escape octets..."  these requirements need to be scoped to =
senders *that generate* the indicated components; those merely =
forwarding messages shouldn't be required to fix them up.

* 3.3.1 Transfer-Coding -- "The "chunked transfer-coding (Section 4.1) =
MUST be implemented..."  This paragraph specifies that "chunked" MUST be =
last two times; once is enough.

* 3.3.1 Transfer-Coding -- "If more than one Transfer-Encoding header =
field is present in a message, the multiple field-value MUST be combined =
into one field-value, according to the algorithm defined in Section 3.2, =
before determining the message body length."  This doesn't make a lot of =
sense -- what's the motivation?

* 3.3.1 Transfer-Coding -- "A server that receives a request message =
with a transfer-coding it does not understand SHOULD respond with =
501..."  There isn't a corresponding requirement for when 'chunked' is =
not the final coding, or occurs more than once. Should there be?

* 3.3.3 Message Body Length -- "The provided Content-Length header MUST =
be removed, prior to forwarding the message..." --> "The provided =
Content-Length header MUST be removed by senders prior to forwarding the =
message..." (make requirement target explicit)

* 3.4 Handling Incomplete Messages -- "Request messages that are =
prematurely terminated, possibly due to a cancelled connection or a =
server-imposed time-out exception, MUST result in closure of =
connection..."  It's not clear what target this requirement applies to =
-- clients? It should be explicit.

* 3.4 Handling Incomplete Messages -- "... cannot be assumed to convey =
the full semantics of the response and MUST be treated as an error."   =
Specify target '... by recipients."

* 3.4 Handling Incomplete Messages -- "A user agent MUST NOT render..." =
--> "A user agent MUST NOT consider..."

* 3.5 Message Parsing Robustness -- "When a server listening only for =
HTTP request messages, or processing what appears from the start-line to =
be an HTTP request message, receives a sequence of octets that does not =
match the HTTP-message grammar aside from the robustness exceptions =
listed above, the server must respond with an HTTP/1.1 400 (Bad Request) =
response."  This makes several existing implementations non-conformant =
(because they silently digest whitespace in those empty lines). See also =
the issue above about Tolerant Applications and SP/HT in the top-line.

* 3.5 Message Parsing Robustness -- "If terminating the request message =
body with a line-ending is desired, then the client MUST include the =
terminating CRLF octets as part of the message body length."   I think =
the correct target for the requirement here is user agent, not client.=20=


* 5.6, 5.7 and 5.8 -- it seems like 5.6 Message forwarding should really =
be a top-level section (perhaps with the word "intermediary" in it), =
with the current 5.7 and 5.8 under it. At the very least, 5.7 should be =
5.6.1 and 5.8 should be 5.6.2.

* 5.6 Message Forwarding -- "...exclude fields that are only intended =
for the incoming connection." --> "...exclude fields that are only =
scoped to the incoming connection."

* 5.6 Message Routing -- 2616 listed several headers that are always =
hop-by-hop, whether or not they show up in Connection; e.g., Keep-Alive, =
Upgrade, TE.  This spec AFAICT does not enumerate them, which may cause =
interop problems. Was that intentional?

* 5.8 Message Transforming --> Message Transformation

* 5.9 Associating a Response to a Request -- "A client that uses =
persistent connections and sends more than one request per =
connection..." --> "A client that has more than one outstanding request =
on a connection..."

* 6.1 Connection cautions against using existing header field names as =
connection tokens, and we register 'connection', but there isn't a =
requirement (or encouragement) to register connection tokens in the =
header field registry. Should there be?


--
Mark Nottingham   http://www.mnot.net/





From ietf-http-wg-request@listhub.w3.org  Mon Oct 29 21:54:51 2012
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 B1A0821F84EE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Oct 2012 21:54:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QnPFJudiKKxk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 29 Oct 2012 21:54:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AF2A621F84ED for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 29 Oct 2012 21:54:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TT3no-0008Ds-57 for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Oct 2012 04:51:48 +0000
Resent-Date: Tue, 30 Oct 2012 04:51:48 +0000
Resent-Message-Id: <E1TT3no-0008Ds-57@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TT3ni-0008D8-K9 for ietf-http-wg@listhub.w3.org; Tue, 30 Oct 2012 04:51:42 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TT3nh-0007k3-Hn for ietf-http-wg@w3.org; Tue, 30 Oct 2012 04:51:42 +0000
Received: from [192.168.1.102] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id B6E3EE710A for <ietf-http-wg@w3.org>; Tue, 30 Oct 2012 17:51:13 +1300 (NZDT)
Message-ID: <508F5CB9.6000202@treenet.co.nz>
Date: Tue, 30 Oct 2012 17:51:05 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <DAED760B-AC6A-44A6-816C-59EEEF705E4E@mnot.net>
In-Reply-To: <DAED760B-AC6A-44A6-816C-59EEEF705E4E@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-2.499, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TT3nh-0007k3-Hn 16d089f5ba850fa0893f15878084f2ce
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC - Editorial feedback /questions on p1
Archived-At: <http://www.w3.org/mid/508F5CB9.6000202@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15544
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>

On 30/10/2012 4:36 p.m., Mark Nottingham wrote:
> After a closer review, some editorial suggestions, with a few questions mixed in. Some may turn into design issues, depending on how incorporation/discussion goes.
>
>
<snip>
>
> * 3.5 Message Parsing Robustness -- "If terminating the request message body with a line-ending is desired, then the client MUST include the terminating CRLF octets as part of the message body length."   I think the correct target for the requirement here is user agent, not client.

... or better "sender". Since it is not necessarily a UA doing these.


Amos


From ietf-http-wg-request@listhub.w3.org  Tue Oct 30 04:19:43 2012
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 9D19221F854E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 04:19:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NyXV2Wbyzcse for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 04:19:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4984021F854A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 Oct 2012 04:19:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TT9oi-0005Cc-4s for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Oct 2012 11:17:08 +0000
Resent-Date: Tue, 30 Oct 2012 11:17:08 +0000
Resent-Message-Id: <E1TT9oi-0005Cc-4s@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dan.winship@gmail.com>) id 1TT9ob-0005BV-JE for ietf-http-wg@listhub.w3.org; Tue, 30 Oct 2012 11:17:01 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dan.winship@gmail.com>) id 1TT9oR-00031R-PH for ietf-http-wg@w3.org; Tue, 30 Oct 2012 11:17:01 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so140260vbb.2 for <ietf-http-wg@w3.org>; Tue, 30 Oct 2012 04:16:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=3VvMxiBPcYhiGA8YRfyJSj0dBt7FPjZ/z0fL3cQzyXI=; b=qI4E9jfSRfN7YiO5DsjswAsScdVwyrfWCSdaX5zRTVKoRz2MUKs2IqbukJTRT6dBeJ SZ9gfx7yRhV3cUllh6fez4aQCksklN/JFslda3N1MSEdt4x+7KK8ahJ1wLBtAsvI2oRr ojLQmZ+ycMl3qAI36BDy6lIvdisFxDeq6gk654aB8j5NA0H3iUClTNLWvJhDck0KlXWj oPsgGK5uWxOEEPPLaBerw4RWrvI3x3hfYOoRduc+6AojibESBPWXZsZWpBQFxOzYdspq 1Ll0Ugq8ExxS1pCt2WzSiwA3mnmEFV2KqI0huB6W5ox5QiyJ3Z8/FErOubkMsmnCpEYC YmkQ==
Received: by 10.52.34.168 with SMTP id a8mr42692595vdj.49.1351595785768; Tue, 30 Oct 2012 04:16:25 -0700 (PDT)
Received: from laptop.home.mysterion.org (c-76-17-119-23.hsd1.ga.comcast.net. [76.17.119.23]) by mx.google.com with ESMTPS id ct5sm181250vdb.6.2012.10.30.04.16.23 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 04:16:24 -0700 (PDT)
Message-ID: <508FB6BE.1070401@gmail.com>
Date: Tue, 30 Oct 2012 07:15:10 -0400
From: Dan Winship <dan.winship@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=209.85.212.43; envelope-from=dan.winship@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-0.8
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TT9oR-00031R-PH 25c8fd1965bd47a10db6100445b7fbee
X-Original-To: ietf-http-wg@w3.org
Subject: WGLC review of p1-messaging (editorial stuff)
Archived-At: <http://www.w3.org/mid/508FB6BE.1070401@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15545
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>

> 1. Introduction

>    The Hypertext Transfer Protocol (HTTP) is an application-level
>    request/response protocol that uses extensible semantics and
>    MIME-like message payloads for flexible interaction with
>    network-based hypertext information systems.

Removing the word "hypertext" from the last line would make this a
more accurate description of present-day HTTP. Likewise a bit later
on:

>    HTTP proxies and gateways can provide access to alternative
>    information services by translating their diverse protocols into
>    a hypertext format that can be viewed and manipulated by clients
>    in the same way as HTTP services.



> 2.2. Implementation Diversity

>    Likewise, requirements that an automated action be confirmed by
>    the user before proceeding can me met via advance configuration

typo: "can *be* met"



> 2.3. Intermediaries

>    Many implementations depend on HTTP's stateless design in order
>    to reuse proxied connections or dynamically load balance requests
>    across multiple servers.

"load-balance" should have a hyphen (otherwise it's easy to misparse
as being about loading "balance requests")



> 2.4. Caches

>    There are a wide variety of architectures and configurations of
>    caches and proxies deployed across the World Wide Web and inside
>    large organizations. These systems include national hierarchies
>    of proxy caches to save transoceanic bandwidth, systems that
>    broadcast or multicast cache entries, organizations that
>    distribute subsets of cached data via optical media, and so on.

Since this section is entitled "Caches" and all of the examples are
about caches, it might make sense to remove the words "and proxies" in
the first sentence.



> 2.6. Protocol Versioning

>    However, the minor version was not incremented for the changes
>    introduced between [RFC2068] and [RFC2616], and this revision is
>    specifically avoiding any such changes to the protocol.

Change tense? ("has specifically avoided")



> 2.7.1. http URI scheme

>    If the host identifier is provided as an IP literal or IPv4
>    address,

We don't import the "IP-literal" and "IPv4address" rules from 3986, so
this would make more sense as just "provided as an IP address".

>    received with an empty host, then it MUST be rejected as invalid.
>    If the port subcomponent is empty or not given, then TCP port 80 is
>    assumed (the default reserved port for WWW services).

should "WWW" be "HTTP"?

>    Senders MUST NOT include a userinfo subcomponent (and its "@"
>    delimiter) when transmitting an "http" URI in a message.

would read better if the "and" was "or" IMHO

Also, taken literally, this rule prohibits even transmitting an HTML
page containing a link with a userinfo subcomponent. Maybe:

   Senders MUST NOT include a userinfo subcomponent (or its "@"
   delimiter) when transmitting an "http" URI in the request-line or
   header section of a message.

[Mark just commented on this in his review too but suggested "in a
request-target". Not sure if the restriction was meant to include
headers as well...]

>    the deprecated subcomponent is being used to obscure the authority
>    for the sake of phishing attacks.

Should "phishing" be defined/cited?



> 2.7.2. https URI scheme

>    distinct origin servers. However, an extension to HTTP that is
>    defined to apply to entire host domains, such as the Cookie
>    protocol [RFC6265], can allow information set by one service to
>    impact communication with other services within a matching group
>    of host domains.

"can allow" sounds like permission. I'd say "might allow" (and maybe
even explicitly state that it really SHOULD NOT?).



> 2.7.3. http and https URI Normalization and Comparison

>    Likewise, an empty path component is equivalent to an absolute
>    path of "/", so the normal form is to provide a path of "/"
>    instead.

Except that an empty path is not equivalent to a path of "/" in an
OPTIONS request sent to a proxy...



> 3.1. Start Line

>    In theory, a client could receive requests and a server could
>    receive responses, distinguishing them by their different
>    start-line formats, but in practice servers are implemented to
>    only expect a request (a response is interpreted as an unknown or
>    invalid request method) and clients are implemented to only
>    expect a response.

This is new text, and given that there will not be an HTTP/1.2, is
there really any reason to add it?



> 3.2. Header Fields

>       Note: The "Set-Cookie" header field as implemented in practice
>       can occur multiple times, but does not use the list syntax,
>       and thus cannot be combined into a single line ([RFC6265]).
>       (See Appendix A.2.3 of [Kri2001] for details.) Also note that
>       the Set-Cookie2 header field specified in [RFC2965] does not
>       share this problem.

The Kri2001 citation doesn't add anything now that we have a canonical
Set-Cookie spec in RFC 6265. Likewise, there's no point in citing RFC
2965 since it's now obsolete.



> 3.2.1. Whitespace

>      OWS            = *( SP / HTAB )
>                     ; "optional" whitespace
>      RWS            = 1*( SP / HTAB )
>                     ; "required" whitespace
>      BWS            = OWS
>                     ; "bad" whitespace

The quotes around "optional" and "required" don't serve any purpose.
(The ones around "bad" can either go or stay, depending on whether you
think BWS is bad or just "bad".)



> 3.2.2. Field Parsing

>    A field value MAY be preceded by optional whitespace (OWS); a
>    single SP is preferred.

"MAY" and "optional" are redundant. "A field value is preceded by
optional whitespace..."



> 3.2.4. Field value components

>      qdtext         = OWS / %x21 / %x23-5B / %x5D-7E / obs-text
>      ctext          = OWS / %x21-27 / %x2A-5B / %x5D-7E / obs-text

It seems weird to use "OWS" here rather than "HTAB / SP".



> 3.3.3. Message Body Length

>        If this is a response message received by a user-agent, it
>        MUST be treated as an error by discarding the message and
>        closing the connection.

"user agent" does not have a hyphen.

>    5.  If a valid Content-Length header field is present without
>        Transfer-Encoding, its decimal value defines the message body
>        length in octets. If the actual number of octets sent in the
>        message is less than the indicated Content-Length, the
>        recipient MUST consider the message to be incomplete and
>        treat the connection as no longer usable.

The only way the sender could have sent fewer than the indicated
number of octets would be if it closed the connection early, in which
case telling the receiver to "treat the connection as no longer
usuable" is hardly necessary. Maybe:

     If the sender closes the connection or the recipient times out
     before the indicated number of octets are received, then the
     recipient MUST consider the message to be incomplete and treat
     the connection as no longer usable.

>        If the actual number of octets sent in the message is more
>        than the indicated Content-Length

This is impossible by definition; any octets after the indicated
Content-Length are not part of the message.

>        the recipient MUST only process the message body up to the
>        field value's number of octets; the remainder of the message
>        MUST either be discarded or treated as the next message in a
>        pipeline. For the sake of robustness, a user-agent MAY
>        attempt to detect and correct such an error in message
>        framing if it is parsing the response to the last request on
>        a connection and the connection has been closed by the
>        server.

As above, "user agent" shouldn't have a hyphen, but it should be
"client" here anyway, shouldn't it?

Maybe replace the whole paragraph with:

    For the sake of robustness, a client MAY assume that any
    additional octets after the indicated Content-Length in the
    response to the last request on a connection were intended to be
    part of the message body.



> 5.3. Request Target

We explicitly say not to include userinfo when using origin-form:

>    A Host header field is also sent, as defined in
>    Section 5.4, containing the target URI's authority component
>    (excluding any userinfo).

or authority-form:

>    When making a CONNECT request to establish a tunnel through one
>    or more proxies, a client MUST send only the target URI's
>    authority component (excluding any userinfo) as the
>    request-target.

but we don't say anything about userinfo when using absolute-form.
I guess 2.7.1 already forbids sending a userinfo there but it still
seems inconsistent to not say it here. (Alternatively, if 2.7.1's
restriction is only supposed to apply to request-target, then we could
remove it there and specify it in each case here.)



> 5.4. Host

>    If the authority component is missing or undefined for the target
>    URI, then the Host header field MUST be sent with an empty
>    field-value.

5.1 defines "target URI" as being an absolute URI, and http URIs
always have an authority component, so this requirement seems
meaningless.



> 5.7. Via

>      received-protocol = [ protocol-name "/" ] protocol-version

protocol-name and protocol-version aren't defined yet. Forward ref?



> 6.1. Connection

>    When a header field is used to supply control information for or
>    about the current connection, the sender SHOULD list the
>    corresponding field-name within the "Connection" header field.

Isn't that a MUST?

>      Connection: close
>
>    in either the request or the response header fields indicates that
>    the connection SHOULD be closed after the current request/response
>    is complete (Section 6.2.5).

Likewise. (6.2.5 seems to agree)



> 6.2. Persistent Connections

I'd mentioned this before on the list, but all the intro text here
except for the final "HTTP implementations SHOULD implement persistent
connections" is really only of historical interest and could just go
away. The "SHOULD implement" requirement could be moved into "6.2.2
Reuse", and then each of the subsections of 6.2 could be promoted up
to become a direct child of section 6. So you'd get:

  6.  Connection Management
  6.1.  Connection
  6.2.  Establishment
  6.3.  Reuse
  6.3.1.  Pipelining
  6.3.2.  Retrying Requests
  6.4.  Concurrency
  6.5.  Failures and Time-outs
  6.6.  Tear-down
  6.7.  Upgrade



> 6.2.2. Reuse

>    A server MAY assume that an HTTP/1.1 client intends to maintain a
>    persistent connection until a close connection option is received
>    in a request.

SHOULD?



> 6.2.2.2. Retrying Requests

>    Confirmation by user-agent software with semantic understanding of
>    the application MAY substitute for user confirmation.  The
>    automatic

"user agent" shouldn't have a hyphen. (This one is inherited from
2616; 2068 was consistent, but the hyphenated form started creeping in
in 2616.)



> 6.2.5. Tear-down

>    A server that receives a close connection option MUST initiate a
>    lingering close of the connection after it sends the final
>    response

This could use a "(see below)" since "lingering close" hasn't been
defined yet.



> 7.6. Upgrade Token Registry

>    The HTTP Upgrade Token Registry defines the name space for
>    protocol-name tokens used to identify protocols in the Upgrade
>    header field.

They're used in the Via header field too... (Should the registry be
renamed to "Protocol-name Token Registry"?)



> 8.4. DNS-related Attacks

>    Clients need to be cautious in assuming the validity of an IP
>    number/DNS name association unless the response is protected by
>    DNSSec

"DNSSEC", not "DNSSec"



> A.1.3. Introduction of Transfer-Encoding

>    Proxies/gateways MUST remove any transfer-coding
>    prior to forwarding a message via a MIME-compliant protocol.

This seems like it would fit better in p2's "Appendix A. Differences
between HTTP and MIME".



> A.2. Changes from RFC 2616

We probably want to double-check these sections against the issue
tracker before final publication, but one particular thing that stuck
out to me as missing is the addition of the CONNECT rule and removal
of the multipart/byteranges rule from Section 3.3.3.



From ietf-http-wg-request@listhub.w3.org  Tue Oct 30 04:22:34 2012
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 8FB9321F8203 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 04:22:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fffY-zIlFGFT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 04:22:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3660B21F8518 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 Oct 2012 04:22:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TT9sz-000741-DX for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Oct 2012 11:21:33 +0000
Resent-Date: Tue, 30 Oct 2012 11:21:33 +0000
Resent-Message-Id: <E1TT9sz-000741-DX@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dan.winship@gmail.com>) id 1TT9su-00073M-M7 for ietf-http-wg@listhub.w3.org; Tue, 30 Oct 2012 11:21:28 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dan.winship@gmail.com>) id 1TT9ss-0003LH-U7 for ietf-http-wg@w3.org; Tue, 30 Oct 2012 11:21:28 +0000
Received: by mail-vc0-f171.google.com with SMTP id m18so134465vcm.2 for <ietf-http-wg@w3.org>; Tue, 30 Oct 2012 04:21:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=hGTdgUgG1AvUceJszuA15siADwcXz8b0o17PdKPNBiE=; b=yty0ek4hjZb+1Xbzp2IO+5jdvc/4VQxIvc9SJOGSRsNCpjGWCQqZXPF+m9kM5JrtNF l/t+GkGis/vd+j3GE1mP3iMZc5mvVudpRg970nqb15dE37j7ZUj+8Mh/BOYlypqdyZsM o6Mg00H2OJp959qDPcArEtOZHXU0fSNpQFnnRht9uGbv64epw2S4lWkH9FYehvwu1Mgh 2w15FaDYOCMFiaI2ItoNcgH7/hU86VtMfdfJpa9NCcBFh3PUw6eTg721xu0+kleYvzFh 8AiNUKCrkP746cvqaROsQCo5lpf6LfEj50Hm0XswBi2RAWHBA/4heAhNRJYDkX/c30BZ /WUg==
Received: by 10.52.26.133 with SMTP id l5mr42435797vdg.132.1351596060791; Tue, 30 Oct 2012 04:21:00 -0700 (PDT)
Received: from laptop.home.mysterion.org (c-76-17-119-23.hsd1.ga.comcast.net. [76.17.119.23]) by mx.google.com with ESMTPS id y7sm188328vdt.1.2012.10.30.04.21.00 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 04:21:00 -0700 (PDT)
Message-ID: <508FB7D2.6070807@gmail.com>
Date: Tue, 30 Oct 2012 07:19:46 -0400
From: Dan Winship <dan.winship@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=209.85.220.171; envelope-from=dan.winship@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-0.8
X-W3C-Hub-Spam-Report: DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TT9ss-0003LH-U7 83a1e41b938ea02fd251aaf740ff141a
X-Original-To: ietf-http-wg@w3.org
Subject: WGLC review of p2-semantics (editorial stuff)
Archived-At: <http://www.w3.org/mid/508FB7D2.6070807@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15546
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>

> 3.1. Representation Metadata

>    | Expires           | Section 7.3 of [Part6] |

If "Expires" is considered "representation metadata", then it seems
like "ETag" and "Last-Modified" should be as well. But I think it
would make more sense to just remove "Expires" from the list; it's
clearly the odd man out here.



> 3.1.1.2. Character Encodings (charset)

>    Implementers need to be aware of IETF character set requirements
>    [RFC3629] [RFC2277].

It's not clear what requirements this is referring to; RFC 2277 places
requirements on protocol authors, not on implementors, and RFC 3629 is
just the definition of UTF-8. If the requirement is "implementations
MUST support UTF-8" then we should say that.



> 3.1.1.4. Multipart Types

>    In general, HTTP treats a multipart message body no differently than
>    any other media type: strictly as payload.  HTTP does not use the
>    multipart boundary as an indicator of message body length.  In all
>    other respects, an HTTP user agent SHOULD follow the same or similar
>    behavior as a MIME user agent would upon receipt of a multipart type.

That last part seems completely wrong; a web browser is not expected
to handle multipart/alternative or multipart/related in the way a mail
reader would. (This requirement came from RFC 2616, but... it was
wrong then too.)

>    The MIME header fields within each body-part of a multipart message
>    body do not have any significance to HTTP beyond that defined by
>    their MIME semantics.

This is not true of multipart/byteranges; in RFC 2616 that was
explained separately, but that explanation got lost in httpbis
rewrites at some point.

Suggested rewrite for the second and third paragraphs:

   In general, HTTP treats a multipart message body no differently
   than any other media type: strictly as payload.  The one exception
   is the "multipart/byteranges" type (Appendix A of [Part5]) when it
   appears in a 206 (Partial Content) response.  In all other cases,
   the MIME header fields within each body-part of a multipart message
   body do not have any significance at the HTTP level; they are
   just part of the representation data.

(This drops the newly-added "HTTP does not use the multipart boundary
as an indicator of message body length", but that is already implied
by the removal of 2616's prohibition on epilogue data; if the
multipart is allowed to have an epilogue, then the final boundary
doesn't indicate the end of the body anyway. It also drops the
"unrecognized multipart subtype" text, which was already irrelevant
given the "strictly as payload" rule anyway.)



> 3.1.3.1. Language Tags

>    In summary, a language tag is composed of one or more parts: A
>    primary language subtag followed by a possibly empty series of
>    subtags:
>
>      language-tag = <Language-Tag, defined in [RFC5646], Section 2.1>

Kinda weird... the text sets you up to expect an actual grammar for
language-tag, but then you just get a cross-reference. I'd rearrange
stuff to:

   ... HTTP uses language tags within the Accept-Language and
   Content-Language fields.

     language-tag = <Language-Tag, defined in [RFC5646], Section 2.1>

   A language tag is composed of one or more parts: A primary language
   subtag followed by a possibly empty series of subtags.  White space
   is not allowed within the tag and all tags are case-insensitive.
   Example tags include:

     en, en-US, es-419, az-Arab, x-pig-latin, man-Nkoo-GN

   See [RFC5646] for further information.

(also dropping the language-subtag-registry ref, since that's covered
by the "See [RFC5646]")



> 3.4. Content Negotiation

>    (such as when many different formats are supported by a user-agent),

no hyphen



> 3.4.1. Proactive Negotiation
>
>
>    If the selection of the best representation for a response is made by
>    an algorithm located at the server, it is called proactive
>    negotiation.

That text doesn't motivate the new name. How about:

   If the selection of the best representation for a response is made
   by the server based on preferences indicated by the user agent in its
   initial request for the resource, it is called proactive negotiation.

>    4.  It might limit a public cache's ability to use the same response
>        for multiple user's requests.

users' not user's

>    For example, the origin server might not implement proactive
>    negotiation, or it might decide that sending a response that doesn't
>    conform to them is better than sending a 406 (Not Acceptable)
>    response.

Not clear what "them" is. "...that doesn't conform to the user agent's
preferences..."



> 3.4.2. Reactive Negotiation

>    This specification defines the 300 (Multiple Choices) and 406 (Not
>    Acceptable) status codes for enabling reactive negotiation when the
>    server is unwilling or unable to provide a varying response using
>    proactive negotiation.

406 doesn't really "enable reactive negotiation". It just fails to do
proactive negotiation.

Also, should we mention how reactive negotiation is *actually* done?

   This specification defines the 300 (Multiple Choices) status code
   for enabling reactive negotiation. However, in practice, Web sites
   wanting to do reactive negotiation will just return a successful
   response containing a "default" (or proactively negotiated)
   representation of the resource, which includes within it links that
   the user can follow to reach other representations.



> 4. Product Tokens

>    By convention, the products are listed in order of their
>    significance for identifying the application.

"...in *decreasing* order of...", or something like that. (likewise in
the description of User-Agent in 6.5.3 and Server in 8.4.2)



> 5.2.2. Idempotent Methods

Section 6.2.2.1 of Part1 implies that the concept of "idempotent
sequences of request methods" (as opposed to merely "idempotent
methods") will be discussed here, but it's not. I'm not sure if it
should be added here or there.



> 5.3.1. GET

>    The semantics of the GET method change to a "partial GET" if the
>    request message includes a Range header field ([Part5]).

"a Range or If-Range header field"



> 5.3.6. CONNECT

Though obvious, it seems like for consistency's sake, this should end
with:

   Responses to the CONNECT method are not cacheable.



> 5.3.7. OPTIONS

>    If no payload body is included, the response MUST include a
>    Content-Length field with a field-value of "0".

Does this actually mean to prohibit servers from using chunked
encoding (or "Connection: close" with no Content-Length) in that case?
Or is it just supposed to be a reminder that "empty message body" is
different from "no message body"?

(Section 9.1.2 has basically the same text.)

>    If no Max-Forwards field is present in the request, then the
>    forwarded request MUST NOT include a Max-Forwards field.

"If no Max-Forwards field is present in the upstream request, then the
downstream request MUST NOT include a Max-Forwards field."



> 6.2. Conditionals

>    The HTTP/1.1 conditional request mechanisms are defined in
>    [Part4].

"and [Part5]" (If-Range)



> 6.3. Content Negotiation

6.1 and 6.2 had some introductory text before the table, and it seems
weird to not have that here.

(6.4 and 6.5 have the same problem)



> 6.3.1. Quality Values

Should this section be called "Weight" now?



> 6.3.5. Accept-Language

>    would mean: "I prefer Danish, but will accept British English and
>    other types of English". (see also Section 2.3 of [RFC4647])

Capitalize "See"



> 7. Response Status Codes

>    The status-code element is a 3-digit integer result code of the
>    attempt to understand and satisfy the request.

"...a 3-digit integer code giving the result of the attempt..."

>    o  2xx (Successful): The action was successfully received,
>       understood, and accepted

"The *request* was successfully..."



> 7.1. Overview of Status Codes

>    The reason phrases listed here are only recommendations -- they can
>    be replaced by local equivalents without affecting the protocol.

That suggests you can/should translate them into other languages,
which isn't really what they're for and kind of contradicts p1 3.1.2's
"A client SHOULD ignore the reason-phrase content."

>    | 415         | Unsupported Media Type       | Section 7.5.13       |
>    | 416         | Requested range not          | Section 3.2 of       |
>    |             | satisfiable                  | [Part5]              |
>    | 417         | Expectation Failed           | Section 7.5.14       |

The capitalization of "Requested range not satisfiable" is
inconsistent with the rest of the table.



> 7.2. Informational 1xx

>    A client MUST be prepared to accept one or more 1xx status responses
>    prior to a regular response, even if the client does not expect a 100
>    (Continue) status message.

No reason to call out 100 Continue specifically here... "A client MUST
be prepared to accept one or more 1xx status responses prior to a
regular response, even if the client does not expect one."



> 7.3.2. 201 Created

>    If the newly created resource's URI is the same as the Effective
>    Request URI, this information can be omitted

"effective request URI" is not capitalized like that anywhere else.
(Well, except for once more later on in this section which should also
be fixed.)

>    If the action cannot be carried out immediately, the server
>    SHOULD respond with 202 (Accepted) response instead.

"with *a* 202 (Accepted) response"



> 8.1.1.2. Date

>    1.  If the response status code is 100 (Continue) or 101 (Switching
>        Protocols), the response MAY include a Date header field, at the
>        server's option.

Is that really supposed to be limited to 100 and 101, and not other
1xx codes?



> 8.1.3. Retry-After

>    This field MAY also be used with any 3xx (Redirection) response
>    to indicate the minimum time the user-agent is asked to wait

No hyphen in "user agent"



> 8.4.1. Allow

>      Allow = #method

Should that be 1#method? If not, it should explain what an empty
"Allow" header means.



> 9.1.1. Procedure

>    HTTP method registrations MUST include the following fields:

Should "cacheability" be an explicit field (rather than just a
required part of the specification text)?



> 9.3. Header Field Registry

It seems weird to have this in p2 since p1 defines headers too...



> 9.3.1. Considerations for New Header Fields

>    o  Whether it is appropriate to list the field-name in the Connection
>       header field (i.e., if the header field is to be hop-by-hop, see
>       Section 6.1 of [Part1]).

should have a semicolon rather than comma after "hop-by-hop". (So that
it doesn't read like it's telling you to only follow the xref if the
header field is hop-by-hop.)



> 10.1. Transfer of Sensitive Information

>    Four header fields are worth special mention in this context:
>    Server, Via, Referer and From.

"Via" is in p1 though, so the Via bits should be moved to p1's
Security Considerations? (Or maybe if we end up with a p0, all of the
security considerations should be consolidated there.)

>    The information sent in the From field might conflict with the user's
>    privacy interests or their site's security policy, and hence it
>    SHOULD NOT be transmitted without the user being able to disable,
>    enable, and modify the contents of the field.  The user MUST be able
>    to set the contents of this field within a user preference or
>    application defaults configuration.

Do any browsers actually ever send the "From" header? If not, should
we just say "From is for robots, not browsers"?



> Appendix C. Changes from RFC 2616

>    Remove base URI setting semantics for "Content-Location" due to poor
>    implementation support, which was caused by too many broken servers
>    emitting bogus Content-Location header fields, and also the
>    potentially undesirable effect of potentially breaking relative links
>    in content-negotiated resources.  (Section 3.1.4.2)

That would parse better if the "which was..." clause was parenthesized
rather than just set off by commas.

>    Failed to consider that there are many other request methods that are
>    safe to automatically redirect, and further that the user agent is
>    able to make that determination based on the request method
>    semantics.

This is written in the opposite style from the rest of the list (it
describes the problem with 2616 rather than the solution in httpbis).
Should be something like:

   Allow automatic redirection of all "safe" methods, not just GET and
   HEAD, and give the user agent more latitude in redirecting unsafe
   methods. (Section 7.4)


From ietf-http-wg-request@listhub.w3.org  Tue Oct 30 10:20:11 2012
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 ACC5321F872E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 10:20:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tvVIUsUUyTVo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 10:20:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AA88721F8719 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 Oct 2012 10:20:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTFRn-0002nM-2W for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Oct 2012 17:17:51 +0000
Resent-Date: Tue, 30 Oct 2012 17:17:51 +0000
Resent-Message-Id: <E1TTFRn-0002nM-2W@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TTFRj-0002mh-7U for ietf-http-wg@listhub.w3.org; Tue, 30 Oct 2012 17:17:47 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TTFRd-0007QJ-IG for ietf-http-wg@w3.org; Tue, 30 Oct 2012 17:17:47 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so582082vbb.2 for <ietf-http-wg@w3.org>; Tue, 30 Oct 2012 10:17:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=izpeFFU6mLkIh8AejP2rRG0eRWYs+hNyHVVN3nAhwcc=; b=mt6DohJkFqa1o5CxPkqcAb6lJQS+N5xYmNrmPT7odgg1zYXYP6ctTEO+pO9Gg0MkxF Y6BjxfqDyrHvPn0MYa/lKpXFbnWbSivfGZ3iho+QuWeJwfDX8HI4l+SfG5fhxHyIrS1+ RniLnXr84h+TU+eEkH5e2m4wrA5BBdUH/HpPcuMOu/ofanCDdcg5u4jXViX7AonWG68h 4E3yPkd0U4Y1yrSGpN+LuljBC50e0kg7Zz4RKQxYvDRtQ/7d76Ok01ZhJECYIJXUSCht mt4rAz7AlTpL9+tdlem91o6JMY9mxUSc281BjmdemffXDcLsHtp/7RH7iDtEoZNZzW+k /BiA==
MIME-Version: 1.0
Received: by 10.58.200.39 with SMTP id jp7mr6966850vec.26.1351617435629; Tue, 30 Oct 2012 10:17:15 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Tue, 30 Oct 2012 10:17:15 -0700 (PDT)
In-Reply-To: <508FB7D2.6070807@gmail.com>
References: <508FB7D2.6070807@gmail.com>
Date: Tue, 30 Oct 2012 12:17:15 -0500
Message-ID: <CACuKZqHDs2bM1OoFz-ZWwx8DnXYCnMoudvNovZ3h6SkzO5ZCuw@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Dan Winship <dan.winship@gmail.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.701, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TTFRd-0007QJ-IG a79da00102873fb49c895dbd386a4aa7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC review of p2-semantics (editorial stuff)
Archived-At: <http://www.w3.org/mid/CACuKZqHDs2bM1OoFz-ZWwx8DnXYCnMoudvNovZ3h6SkzO5ZCuw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15547
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>

On Tue, Oct 30, 2012 at 6:19 AM, Dan Winship <dan.winship@gmail.com> wrote:
>> 3.1. Representation Metadata
>
>>    | Expires           | Section 7.3 of [Part6] |
>
> If "Expires" is considered "representation metadata", then it seems
> like "ETag" and "Last-Modified" should be as well. But I think it
> would make more sense to just remove "Expires" from the list; it's
> clearly the odd man out here.

According to Fileding
http://trac.tools.ietf.org/wg/httpbis/trac/ticket/330#comment:3

> ETag and Last-Modified are metadata for the selected representation, which is not always the same as the representation enclosed in the response.

I don't quite understand it; can anyone give an example where the
selected representation is not the representation enclosed in the
response?

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Tue Oct 30 11:17:20 2012
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 3F6E221F86ED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 11:17:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.149
X-Spam-Level: 
X-Spam-Status: No, score=-6.149 tagged_above=-999 required=5 tests=[AWL=4.450, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A8sDdOm7h4OQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 11:17:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3B29121F86E9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 Oct 2012 11:17:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTGLp-0007vF-SO for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Oct 2012 18:15:45 +0000
Resent-Date: Tue, 30 Oct 2012 18:15:45 +0000
Resent-Message-Id: <E1TTGLp-0007vF-SO@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TTGLZ-0007nm-CA for ietf-http-wg@listhub.w3.org; Tue, 30 Oct 2012 18:15:29 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TTGLT-0000ui-D1 for ietf-http-wg@w3.org; Tue, 30 Oct 2012 18:15:29 +0000
Received: (qmail invoked by alias); 30 Oct 2012 18:10:16 -0000
Received: from p5DD9651D.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.101.29] by mail.gmx.net (mp010) with SMTP; 30 Oct 2012 19:10:16 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19z6skthwVzKpQouxhjHkwOLpKnJXFyjZnZbAmdZ2 lkxM2esbuKHUVa
Message-ID: <50901805.1020302@gmx.de>
Date: Tue, 30 Oct 2012 19:10:13 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: Dan Winship <dan.winship@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <508FB7D2.6070807@gmail.com> <CACuKZqHDs2bM1OoFz-ZWwx8DnXYCnMoudvNovZ3h6SkzO5ZCuw@mail.gmail.com>
In-Reply-To: <CACuKZqHDs2bM1OoFz-ZWwx8DnXYCnMoudvNovZ3h6SkzO5ZCuw@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.1
X-W3C-Hub-Spam-Report: AWL=-3.126, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TTGLT-0000ui-D1 dab2956199209236f78a8ce122b6352c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC review of p2-semantics (editorial stuff)
Archived-At: <http://www.w3.org/mid/50901805.1020302@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15548
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>

On 2012-10-30 18:17, Zhong Yu wrote:
> On Tue, Oct 30, 2012 at 6:19 AM, Dan Winship <dan.winship@gmail.com> wrote:
>>> 3.1. Representation Metadata
>>
>>>     | Expires           | Section 7.3 of [Part6] |
>>
>> If "Expires" is considered "representation metadata", then it seems
>> like "ETag" and "Last-Modified" should be as well. But I think it
>> would make more sense to just remove "Expires" from the list; it's
>> clearly the odd man out here.
>
> According to Fileding
> http://trac.tools.ietf.org/wg/httpbis/trac/ticket/330#comment:3
>
>> ETag and Last-Modified are metadata for the selected representation, which is not always the same as the representation enclosed in the response.
>
> I don't quite understand it; can anyone give an example where the
> selected representation is not the representation enclosed in the
> response?

DELETE?

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Tue Oct 30 11:23:32 2012
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 8232221F863B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 11:23:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.099
X-Spam-Level: 
X-Spam-Status: No, score=-7.099 tagged_above=-999 required=5 tests=[AWL=3.500, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iOMBoOMeiXz1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 11:23:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4865621F8607 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 Oct 2012 11:23:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTGRp-0001GG-8R for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Oct 2012 18:21:57 +0000
Resent-Date: Tue, 30 Oct 2012 18:21:57 +0000
Resent-Message-Id: <E1TTGRp-0001GG-8R@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1TTGRl-0001FI-Gj for ietf-http-wg@listhub.w3.org; Tue, 30 Oct 2012 18:21:53 +0000
Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1TTGRk-00016U-IV for ietf-http-wg@w3.org; Tue, 30 Oct 2012 18:21:53 +0000
Received: by mail-lb0-f171.google.com with SMTP id m4so471063lbo.2 for <ietf-http-wg@w3.org>; Tue, 30 Oct 2012 11:21:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IrFN2grrFyjGKC9mgTQCwcXOJygEva70JyP6SteEOHQ=; b=SF6ptbwvRTgXLrGwCiNFArgpDeVNinFYmQ8LD2jc9qq3o1RbNkQyBOKkJL7pbOsQLi 76u757DWr5sYDZjagg3pTb8xqHBn1xsOtweBtIzLaQmmxm57AGBcl/HiXuEd2okBIP9s yXci/kcZNX+L4OeUKvhUAStXMHNxumnms/9XPcXoEi6BpI8Qn3TrK1Peikwd+redc53n lVXzKKrJl1MzJ/hI9M91afgbSq8aNfhgahZQNdiIZIvFvUmNOXiXmOi4J8hwLPq/Cub6 LIBPO3KZxyxyeaZ2DrLpZwBvChdoKyWHuvG4/ckYqQi2y/XO1B5kt07jHYqsmBKkXpJ+ cRIw==
MIME-Version: 1.0
Received: by 10.112.103.135 with SMTP id fw7mr13524066lbb.16.1351621285721; Tue, 30 Oct 2012 11:21:25 -0700 (PDT)
Received: by 10.112.83.2 with HTTP; Tue, 30 Oct 2012 11:21:25 -0700 (PDT)
In-Reply-To: <50901805.1020302@gmx.de>
References: <508FB7D2.6070807@gmail.com> <CACuKZqHDs2bM1OoFz-ZWwx8DnXYCnMoudvNovZ3h6SkzO5ZCuw@mail.gmail.com> <50901805.1020302@gmx.de>
Date: Tue, 30 Oct 2012 19:21:25 +0100
Message-ID: <CABkgnnUuqYB+J+XhJDioGhZLPWpYLucKzog9rsuhqY6-0f_1ew@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Zhong Yu <zhong.j.yu@gmail.com>, Dan Winship <dan.winship@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.217.171; envelope-from=martin.thomson@gmail.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-2.668, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TTGRk-00016U-IV fbc9e9eca00a18ad324920b16bc9d46e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC review of p2-semantics (editorial stuff)
Archived-At: <http://www.w3.org/mid/CABkgnnUuqYB+J+XhJDioGhZLPWpYLucKzog9rsuhqY6-0f_1ew@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15549
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>

On 30 October 2012 19:10, Julian Reschke <julian.reschke@gmx.de> wrote:
> On 2012-10-30 18:17, Zhong Yu wrote:
>> I don't quite understand it; can anyone give an example where the
>> selected representation is not the representation enclosed in the
>> response?
>
>
> DELETE?

Or the more obvious one: HEAD.  Or a PUT response that contains a
summary of changes, rather than an actual representation, etc...


From ietf-http-wg-request@listhub.w3.org  Tue Oct 30 13:43:49 2012
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 C2D8D21F860F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 13:43:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 83UTmGLEO-Hn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 13:43:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BA58021F863F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 Oct 2012 13:43:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTIcp-0000eT-Iu for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Oct 2012 20:41:27 +0000
Resent-Date: Tue, 30 Oct 2012 20:41:27 +0000
Resent-Message-Id: <E1TTIcp-0000eT-Iu@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TTIck-0000dO-Qi for ietf-http-wg@listhub.w3.org; Tue, 30 Oct 2012 20:41:22 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TTIcj-0005Yz-If for ietf-http-wg@w3.org; Tue, 30 Oct 2012 20:41:22 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so831518vbb.2 for <ietf-http-wg@w3.org>; Tue, 30 Oct 2012 13:40:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Srntj6Vo6jYpU3A7IVZDEY6c9bpmryjQlLK77cmb3hw=; b=xzObB08QwMCdLh2f8DzYTutv3M0llobbTDTVG4atw/Slm+J5Sl48kS/8zumt3lgfzl CYEM8xW7/6+G1VWQKnJloIIn1fGTA6WvIUK5pLpEwkVmGR3o1rc1QHvlB0SD4lXLHyNi fUDa8yTxCOUcKaUAH+YKvIHHxNw7eppBNZnzSs2Isa9HyO4mljqByfL8mdbi8+CdtH1i CryO2TDJ3JP1sPShBZbYWIW2tEQSDrjQdrrif7Yrj/+aV1S4CyKsxBXG5EJTAz0i4nMb sLALQjNZtvxO76dWKXxDh1VuMh1AZC39odsQidoeuamOJAFcyYpldLHAarTEHy9asg06 1CEw==
MIME-Version: 1.0
Received: by 10.52.95.201 with SMTP id dm9mr44788384vdb.95.1351629655632; Tue, 30 Oct 2012 13:40:55 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Tue, 30 Oct 2012 13:40:55 -0700 (PDT)
In-Reply-To: <CABkgnnUuqYB+J+XhJDioGhZLPWpYLucKzog9rsuhqY6-0f_1ew@mail.gmail.com>
References: <508FB7D2.6070807@gmail.com> <CACuKZqHDs2bM1OoFz-ZWwx8DnXYCnMoudvNovZ3h6SkzO5ZCuw@mail.gmail.com> <50901805.1020302@gmx.de> <CABkgnnUuqYB+J+XhJDioGhZLPWpYLucKzog9rsuhqY6-0f_1ew@mail.gmail.com>
Date: Tue, 30 Oct 2012 15:40:55 -0500
Message-ID: <CACuKZqH=V8EH08exAObwriCanu5d7Ei0HN8RgfMqMWOFA3C86Q@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Dan Winship <dan.winship@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.212.43; envelope-from=zhong.j.yu@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-3.3
X-W3C-Hub-Spam-Report: AWL=-2.476, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TTIcj-0005Yz-If 8311e0009313d6d25b1d90da781ee184
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC review of p2-semantics (editorial stuff)
Archived-At: <http://www.w3.org/mid/CACuKZqH=V8EH08exAObwriCanu5d7Ei0HN8RgfMqMWOFA3C86Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15550
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>

Got it. In the spec,
http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-8.2
> Additional header fields define metadata about the selected representation, which might differ from the representation included in the message for responses to some state-changing methods

So if the current representation has ETag=v1, and PUT sends a new
representation to which the server assigns ETag=v2, the response to
PUT may contain ETag of the old representation. (This was not in
RFC2616)

Except, if there's no representation before the PUT, the response must
be 201, and its ETag is of the new representation.

I have to say the meanings of headers are heavily overloaded.

Zhong

On Tue, Oct 30, 2012 at 1:21 PM, Martin Thomson
<martin.thomson@gmail.com> wrote:
> On 30 October 2012 19:10, Julian Reschke <julian.reschke@gmx.de> wrote:
>> On 2012-10-30 18:17, Zhong Yu wrote:
>>> I don't quite understand it; can anyone give an example where the
>>> selected representation is not the representation enclosed in the
>>> response?
>>
>>
>> DELETE?
>
> Or the more obvious one: HEAD.  Or a PUT response that contains a
> summary of changes, rather than an actual representation, etc...


From ietf-http-wg-request@listhub.w3.org  Tue Oct 30 15:30:32 2012
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 E981121F8608 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 15:30:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9w8oe3P471ui for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 15:30:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 53FA321F85FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 Oct 2012 15:30:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTKIY-0002ox-Fo for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Oct 2012 22:28:38 +0000
Resent-Date: Tue, 30 Oct 2012 22:28:38 +0000
Resent-Message-Id: <E1TTKIY-0002ox-Fo@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TTKIR-0002lr-Tq for ietf-http-wg@listhub.w3.org; Tue, 30 Oct 2012 22:28:32 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TTKIQ-0000z7-OX for ietf-http-wg@w3.org; Tue, 30 Oct 2012 22:28:31 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 85704E7196; Wed, 31 Oct 2012 11:28:05 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 31 Oct 2012 11:28:05 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <508FB7D2.6070807@gmail.com>
References: <508FB7D2.6070807@gmail.com>
Message-ID: <e80d64b61d316492b52176d187206dee@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: AWL=-3.449, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TTKIQ-0000z7-OX 0c3828bc6f516ac141827deac68893ac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC review of p2-semantics (editorial stuff)
Archived-At: <http://www.w3.org/mid/e80d64b61d316492b52176d187206dee@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15551
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>

On 31.10.2012 00:19, Dan Winship wrote:
<snip>
>> 5.3.6. CONNECT
>
> Though obvious, it seems like for consistency's sake, this should end
> with:
>
>    Responses to the CONNECT method are not cacheable.
>

It is not true though.

But a 3xx, 4xx, 5xx status response could be cacheable and desirably so 
to prevent constant hammering of a gateway some hops upstream of the 
client.

<snip>
>
>> 9.1.1. Procedure
>
>>    HTTP method registrations MUST include the following fields:
>
> Should "cacheability" be an explicit field (rather than just a
> required part of the specification text)?
>

We discussed that earlier and it was decided that cacheability depended 
on too many variables to set in stone like that. It is better to allow 
for conditions and special case descriptions in the method definition, 
even if it is "always cacheable" or "never cacheable" for many methods.


Amos


From ietf-http-wg-request@listhub.w3.org  Tue Oct 30 16:11:10 2012
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 E997D21F8602 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 16:11:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rhy0gMgCX-Xt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 16:11:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E729D21F84F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 Oct 2012 16:11:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTKwM-0003z5-Si for ietf-http-wg-dist@listhub.w3.org; Tue, 30 Oct 2012 23:09:46 +0000
Resent-Date: Tue, 30 Oct 2012 23:09:46 +0000
Resent-Message-Id: <E1TTKwM-0003z5-Si@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TTKwI-0003wh-61 for ietf-http-wg@listhub.w3.org; Tue, 30 Oct 2012 23:09:42 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TTKwG-0002Pv-QN for ietf-http-wg@w3.org; Tue, 30 Oct 2012 23:09:42 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 812F7E71A1; Wed, 31 Oct 2012 12:09:17 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 31 Oct 2012 12:09:17 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <508FB6BE.1070401@gmail.com>
References: <508FB6BE.1070401@gmail.com>
Message-ID: <a280250fe61b0980823f581ade5e308a@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: AWL=-3.018, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TTKwG-0002Pv-QN faa3cbefa9d8e37cd91ef0c93263e7b2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC review of p1-messaging (editorial stuff)
Archived-At: <http://www.w3.org/mid/a280250fe61b0980823f581ade5e308a@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15552
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>

On 31.10.2012 00:15, Dan Winship wrote:
<snip>
>> 3.1. Start Line
>
>>    In theory, a client could receive requests and a server could
>>    receive responses, distinguishing them by their different
>>    start-line formats, but in practice servers are implemented to
>>    only expect a request (a response is interpreted as an unknown or
>>    invalid request method) and clients are implemented to only
>>    expect a response.
>
> This is new text, and given that there will not be an HTTP/1.2, is
> there really any reason to add it?
>

Who says there won't be a 1.2?

I'm pretty sure we will have a revision 1.2 later for mapping some 2.0 
features down to transport over 1.x syntax. There is a short laundry 
list of issues 1.1 still has which can easily be solved, but only by 
incrementing the value to prevent compliance issues.


>
>> 3.2.2. Field Parsing
>
>>    A field value MAY be preceded by optional whitespace (OWS); a
>>    single SP is preferred.
>
> "MAY" and "optional" are redundant. "A field value is preceded by
> optional whitespace..."
>

MAY is normative clause though... "optional" is not normative.

Perhapse this is better written like:
"
   A field value SHOULD be preceded by a single SP;
   however MAY be preceded by optional whitespace (OWS).
"

>
>>        If the actual number of octets sent in the message is more
>>        than the indicated Content-Length
>
> This is impossible by definition; any octets after the indicated
> Content-Length are not part of the message.
>
>>        the recipient MUST only process the message body up to the
>>        field value's number of octets; the remainder of the message
>>        MUST either be discarded or treated as the next message in a
>>        pipeline. For the sake of robustness, a user-agent MAY
>>        attempt to detect and correct such an error in message
>>        framing if it is parsing the response to the last request on
>>        a connection and the connection has been closed by the
>>        server.
>
> As above, "user agent" shouldn't have a hyphen, but it should be
> "client" here anyway, shouldn't it?
>
> Maybe replace the whole paragraph with:
>
>     For the sake of robustness, a client MAY assume that any
>     additional octets after the indicated Content-Length in the
>     response to the last request on a connection were intended to be
>     part of the message body.
>

"detect and correct" does not necessarily mean "extend the 
Content-Length". Doing so is rarely a good idea anyway as it encourages 
servers to send bad Content-Length values when it is unknown length 
response entity and simply indicate Connection:close.

Squid and other intermediaries will discard the additional octets 
before forwarding. Your change would make that undefined behaviour where 
today it is recognized best practice error correction behaviour.




>> 6.1. Connection
>
>>    When a header field is used to supply control information for or
>>    about the current connection, the sender SHOULD list the
>>    corresponding field-name within the "Connection" header field.
>
> Isn't that a MUST?

No headers defined as hop-by-hop in this base spec are exempt from 
explicit listing in Connection:. It would be redundant octets in the 
message headers. Only headers defined in other specifications which 
recipients may not be compliant with are

>
>>      Connection: close
>>
>>    in either the request or the response header fields indicates 
>> that
>>    the connection SHOULD be closed after the current 
>> request/response
>>    is complete (Section 6.2.5).
>
> Likewise. (6.2.5 seems to agree)

+1 on that being a MUST. That is either a security vulnerability when 
connections are not closed or a waste of resources. Either way closure 
is indicated. If anything is made non-compliant by that MUST they *need* 
to be fixed.

<snip>
>> 6.2.2. Reuse
>
>>    A server MAY assume that an HTTP/1.1 client intends to maintain a
>>    persistent connection until a close connection option is received
>>    in a request.
>
> SHOULD?
>

MUST even I would say. This is only an assumption being discussed. 
Teardown semantics requires coping with unexpected socket closure anyway 
when the assumption is wrong. All this being a MUST would do AFAICT is 
make the servers with broken pipeline implementations non-compliant (a 
Good Thing IMO).


Amos


From ietf-http-wg-request@listhub.w3.org  Tue Oct 30 18:15:15 2012
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 9A4F021F85EA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 18:15:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WYc4EYqDNylI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 30 Oct 2012 18:15:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 57D2321F85E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 30 Oct 2012 18:15:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTMrf-0006iV-Rd for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Oct 2012 01:13:03 +0000
Resent-Date: Wed, 31 Oct 2012 01:13:03 +0000
Resent-Message-Id: <E1TTMrf-0006iV-Rd@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TTMrb-0006hq-47 for ietf-http-wg@listhub.w3.org; Wed, 31 Oct 2012 01:12:59 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1TTMrY-000619-S2 for ietf-http-wg@w3.org; Wed, 31 Oct 2012 01:12:59 +0000
Received: From [192.168.0.10] (unverified [192.168.0.10]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v7.3.0 (Build 3463)) with SMTP id <0019333950@smtp.qbik.com>; Wed, 31 Oct 2012 14:12:36 +1300
From: "Adrien W. de Croy" <adrien@qbik.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 31 Oct 2012 01:12:23 +0000
Content-Type: multipart/alternative; boundary="------=_MB2DAA37FE-E448-48F1-B09B-05F5B3FEEF9E"
Message-Id: <emba9537fd-77af-45fd-91b1-e42423af960e@bombed>
Mime-Version: 1.0
Reply-To: "Adrien W. de Croy" <adrien@qbik.com>
User-Agent: eM_Client/4.0.15145.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-3.8
X-W3C-Hub-Spam-Report: AWL=-3.121, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.657, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TTMrY-000619-S2 092f340483c66961ccb6c9e2b1f2c691
X-Original-To: ietf-http-wg@w3.org
Subject: Queries re P6
Archived-At: <http://www.w3.org/mid/emba9537fd-77af-45fd-91b1-e42423af960e@bombed>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15553
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>

--------=_MB2DAA37FE-E448-48F1-B09B-05F5B3FEEF9E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format=flowed; charset=utf-8


Hi all.=20

We're currently refactoring our cache module, and have run into a few=20
areas where there seems to be inconsistency between RFC2616 and p6, and=20
other places where there are possibly ambiguities in p6.

Firstly, if one is to compare RFC 2616 10.3.5 with P6 4.2.1

in RFC2616 10.3.5 we have=20

"If a 304 response indicates an entity not currently cached, then the
cache MUST disregard the response and repeat the request without the
conditional."

in P6 4.2.1=20

"If none of the stored responses contain the same strong validator,
then this new response corresponds to a new selected
representation and MUST NOT update the existing stored responses."

I don't see anywhere in p6 where it says the response must be=20
disregarded completely and the request re-issued. Isn't this therefore=20
a semantic change (which I understood was outside the scope of httpbis)?

I don't understand how "Not modified" can be compatible with "new=20
selected response".

Am I even comparing apples with apples here?

also I found some other clauses a bit confusing.

in 4.2.1,=20

"If the new response does not include any form of validator, there
is only one stored response, and that stored response also lacks a
validator, then that stored response is selected."

Firstly, there should be an "and" in there... e.g. it should read=20

"If the new response does not include any form of validator, and there
is only one stored response which also lacks a validator, then that=20
stored response is selected."

But how can a server logically reply with 304 without a validator?=20

A server can only reply with 304 if the request was conditional. For a=20
request to be conditional, there must be a validator supplied with the=20
request. But in this case the stored response had no validator. So=20
where did the validator come from?

Does this mean that it's compliant behaviour to make a conditional=20
request with data that wasn't in the stored response? E.g. have a cache=20
invent an If-Modified-Since based on something else (e.g. Date)?=20
Presumably a cache can't invent an ETag where there was none. Also, 4.2=20
para 2 states the If-Modified-Since comes from Last-Modified and=20
doesn't imply it can come from elsewhere.

My initial reaction is to consider a 304 without validator to be a=20
server bug.

also:

"use other header fields provided in the 304 (Not Modified)
response to replace all instances of the corresponding header
fields in the stored response."

Should there be some limit on the fields that may be updated? Does it=20
make sense for instance to allow updating of Content-Type?

in 4.3 may I clarify meaning of

"If no selected response is available, the cache can forward the
presented request to the origin server in a conditional request; see
Section 4.2."

"in a conditional request" is possibly ambiguous. To me this means the=20
cache is entitled to make the request conditional by adding=20
If-Modified-Since or If-None-Match etc. The request may have already=20
been conditional (e.g. UA cache). So the purpose of the cache checking=20
validity of something that failed selection is valid? E.g. the server=20
gets the final say but may still choose to serve the same content (e.g.=20
same ETag) even though it didn't match selectors?

in 4.2 may I suggest some wording changes.

Para 2 does not indicate that it's not valid to add If-Modified-Since=20
unless there was a Last-Modified header in the stored response.

E.g. instead of=20

"When sending such a conditional request, a cache adds an If-Modified-
Since header field whose value is that of the Last-Modified header
field from the selected (see Section 4.3) stored response, if
available."

maybe it should read something like

"If the selected stored response contains a Last-Modified header, a=20
cache SHOULD add an If-Modified-Since header field whose value is that=20
of the Last-Modified header field from the selected stored response."

Likewise Para 3 and If-None-Match. E.g instead of=20

"Additionally, a cache can add an If-None-Match header field whose
value is that of the ETag header field(s) from all responses stored
for the requested URI, if present...."

maybe

"Additionally if any stored response contains an ETag header field, a=20
cache SHOULD add an If-None-Match header whose value(s) are the ETag=20
header field(s) from all stored responses for the requested URI."


Thanks

Adrien


--------=_MB2DAA37FE-E448-48F1-B09B-05F5B3FEEF9E
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=utf-8

<HTML><HEAD>
<STYLE id=3DeMClientCss>
blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px;=
 padding-right:0px; border-left: 1px solid #000000 }
.plain pre { font-family: monospace; font-size: 100%; font-weight: normal;=
 font-style: normal; }
body {font-family: Tahoma;font-size: 12pt;}
.plain pre {font-family: Tahoma;font-size: 12pt;}</STYLE>
</HEAD>
<BODY><BR>Hi all. <BR><BR>We're currently refactoring our cache module, =
and have run into a few areas where there seems to be inconsistency between=
 RFC2616 and p6, and other places where there are possibly ambiguities in=
 p6.<BR><BR>Firstly, if one is to compare RFC 2616 10.3.5 with P6 4.2.1<BR>=
<BR>in RFC2616 10.3.5 we have <BR><BR><FONT face=3D"Courier New">"If a 304=
 response indicates an entity not currently cached, then the<BR>cache MUST=
 disregard the response and repeat the request without the<BR>conditional."=
<BR></FONT><BR>in P6 4.2.1 <BR><BR><FONT face=3D"Courier New">"If none of=
 the stored responses contain the same strong validator,<BR>then this new=
 response corresponds to a new selected<BR>representation and MUST NOT upda=
te the existing stored responses."<BR></FONT><BR>I don't see anywhere in=
 p6 where it says the response must be disregarded completely and the reque=
st re-issued. Isn't this therefore a semantic change (which I understood=
 was outside the scope of httpbis)?<BR><BR>I don't understand how "Not modi=
fied" can be compatible with "new selected response".<BR><BR>Am I even comp=
aring apples with apples here?<BR><BR>also I found some other clauses a =
bit confusing.<BR><BR>in 4.2.1, <BR><BR><FONT face=3D"Courier New">"If the=
 new response does not include any form of validator, there<BR>is only one=
 stored response, and that stored response also lacks a<BR>validator, then=
 that stored response is selected."<BR></FONT><BR>Firstly, there should =
be an "and" in there... e.g. it should read <BR><BR><FONT face=3D"Courier=
 New">"If the new response does not include any form of validator, and ther=
e<BR>is only one stored response which also lacks a validator, then that=
 stored response is selected."</FONT><BR><BR>But how can a server logically=
 reply with 304 without a validator? <BR><BR>A server can only reply with=
 304 if the request was conditional. For a request to be conditional, there=
 must be a validator supplied with the request. But in this case the stored=
 response had no validator. So where did the validator come from?<BR><BR>Do=
es this mean that it's compliant behaviour to make a conditional request=
 with data that wasn't in the stored response? E.g. have a cache invent =
an If-Modified-Since based on something else (e.g. Date)? Presumably a cach=
e can't invent an ETag where there was none. Also, 4.2 para 2 states the=
 If-Modified-Since comes from Last-Modified and doesn't imply it can come=
 from elsewhere.<BR><BR>My initial reaction is to consider a 304 without=
 validator to be a server bug.<BR><BR>also:<BR><BR><FONT face=3D"Courier=
 New">"use other header fields provided in the 304 (Not Modified)<BR>respon=
se to replace all instances of the corresponding header<BR>fields in the=
 stored response."<BR></FONT><BR>Should there be some limit on the fields=
 that&nbsp;may be updated? Does it make sense for instance to allow updatin=
g of Content-Type?<BR><BR>in 4.3 may I clarify meaning of<BR><BR><FONT face=
=3D"Courier New">"If no selected response is available, the cache can forwa=
rd the<BR>presented request to the origin server in a conditional request;=
 see<BR>Section 4.2."</FONT><BR><BR>"in a conditional request" is possibly=
 ambiguous. To me this means the cache is entitled to make the request cond=
itional by adding If-Modified-Since or If-None-Match etc. The request may=
 have already been conditional (e.g. UA cache). So the purpose of the cache=
 checking validity of something that failed selection is valid? E.g. the=
 server gets the final say but may still choose to serve the same content=
 (e.g. same ETag) even though it didn't match selectors?<BR><BR>in 4.2 may=
 I suggest some wording changes.<BR><BR>Para 2 does not indicate that it's=
 not valid to add If-Modified-Since unless there was a Last-Modified header=
 in the stored response.<BR><BR>E.g. instead of <BR><BR><FONT face=3D"Couri=
er New">"When sending such a conditional request, a cache adds an If-Modifi=
ed-<BR>Since header field whose value is that of the Last-Modified header<B=
R>field from the selected (see Section 4.3) stored response, if<BR>availabl=
e."<BR></FONT><BR>maybe it should read something like<BR><BR><FONT face=3D=
"Courier New">"If the selected stored response contains a Last-Modified =
header, a cache SHOULD add an If-Modified-Since header field whose value=
 is that of the Last-Modified header field from the selected stored respons=
e."</FONT><BR><BR>Likewise Para 3 and If-None-Match. E.g instead of <BR><BR=
><FONT face=3D"Courier New">"Additionally, a cache can add an If-None-Match=
 header field whose<BR>value is that of the ETag header field(s) from all=
 responses stored<BR>for the requested URI, if present...."</FONT><BR><BR>m=
aybe<BR><BR><FONT face=3D"Courier New">"Additionally if any stored response=
 contains an ETag header field, a cache SHOULD add an If-None-Match header=
 whose value(s) are the ETag header field(s) from all stored responses for=
 the requested URI."<BR></FONT><BR><BR>Thanks<BR><BR>Adrien<BR><BR></BODY><=
/HTML>
--------=_MB2DAA37FE-E448-48F1-B09B-05F5B3FEEF9E--



From ietf-http-wg-request@listhub.w3.org  Wed Oct 31 00:16:36 2012
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 6822C21F85E6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 00:16:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.374
X-Spam-Level: 
X-Spam-Status: No, score=-8.374 tagged_above=-999 required=5 tests=[AWL=2.225, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j5NFS2Zovou9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 00:16:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 61B0021F84F2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Oct 2012 00:16:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTSVB-0003uS-7r for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Oct 2012 07:14:13 +0000
Resent-Date: Wed, 31 Oct 2012 07:14:13 +0000
Resent-Message-Id: <E1TTSVB-0003uS-7r@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TTSV5-0003sm-Vk for ietf-http-wg@listhub.w3.org; Wed, 31 Oct 2012 07:14:08 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TTSUy-0006Uz-AH for ietf-http-wg@w3.org; Wed, 31 Oct 2012 07:14:07 +0000
Received: (qmail invoked by alias); 31 Oct 2012 07:13:33 -0000
Received: from p5DD9651D.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.101.29] by mail.gmx.net (mp039) with SMTP; 31 Oct 2012 08:13:33 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+H/Y1V4D2H1YV+faRRGerzS69LQoIMYgmf94yWWa 6PVYgpVx+mtiMT
Message-ID: <5090CF9C.4060009@gmx.de>
Date: Wed, 31 Oct 2012 08:13:32 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: Martin Thomson <martin.thomson@gmail.com>,  Dan Winship <dan.winship@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
References: <508FB7D2.6070807@gmail.com> <CACuKZqHDs2bM1OoFz-ZWwx8DnXYCnMoudvNovZ3h6SkzO5ZCuw@mail.gmail.com> <50901805.1020302@gmx.de> <CABkgnnUuqYB+J+XhJDioGhZLPWpYLucKzog9rsuhqY6-0f_1ew@mail.gmail.com> <CACuKZqH=V8EH08exAObwriCanu5d7Ei0HN8RgfMqMWOFA3C86Q@mail.gmail.com>
In-Reply-To: <CACuKZqH=V8EH08exAObwriCanu5d7Ei0HN8RgfMqMWOFA3C86Q@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-4.3
X-W3C-Hub-Spam-Report: AWL=-2.417, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TTSUy-0006Uz-AH 12c07c0fc4652e65af20d3b0764298cb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC review of p2-semantics (editorial stuff)
Archived-At: <http://www.w3.org/mid/5090CF9C.4060009@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15554
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>

On 2012-10-30 21:40, Zhong Yu wrote:
> Got it. In the spec,
> http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-8.2
>> Additional header fields define metadata about the selected representation, which might differ from the representation included in the message for responses to some state-changing methods
>
> So if the current representation has ETag=v1, and PUT sends a new
> representation to which the server assigns ETag=v2, the response to
> PUT may contain ETag of the old representation. (This was not in
> RFC2616)
> ...

Why would it contain the old ETag?

> ...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Oct 31 05:25:00 2012
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 8597521F84ED for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 05:25:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bn3EGdZlBCnD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 05:25:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CAD0121F84D9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Oct 2012 05:24:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTXIn-0006p0-J1 for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Oct 2012 12:21:45 +0000
Resent-Date: Wed, 31 Oct 2012 12:21:45 +0000
Resent-Message-Id: <E1TTXIn-0006p0-J1@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <dan.winship@gmail.com>) id 1TTXIj-0006oH-11 for ietf-http-wg@listhub.w3.org; Wed, 31 Oct 2012 12:21:41 +0000
Received: from mail-vb0-f43.google.com ([209.85.212.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <dan.winship@gmail.com>) id 1TTXIi-0000Yp-CT for ietf-http-wg@w3.org; Wed, 31 Oct 2012 12:21:40 +0000
Received: by mail-vb0-f43.google.com with SMTP id fq11so1532101vbb.2 for <ietf-http-wg@w3.org>; Wed, 31 Oct 2012 05:21:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=FXKf7aldvib2kGS9aUx3Xl4k7IaryLiYtxQBCyFhaS4=; b=YuDuN6NyejvIYHiCV5BDm5Et3DnQ0OroVG/az4ROsZxwyV1SaEY609GyvheH5ue73K XOzIN/bZHzUVMbfguMUXgNEu1M+P7TUG25RxF9e9x/PjPIPeZWo5107JAJrjm2Z28RIe M0Lf5y5Y18QSWS1mlvkZEUHNAQoG9kFxn5QnYTBN4lv19LGr1UXpFXEQFq7ERR2xmx9R aC8lJR3MGbdBWUsYvOMxojQ/tzhi4xIr1BUdWvcwGG3/+p7+v+cNFhg8TH2tE/i4/0Gg ggO1/ivL3BsjGVpisumcOPR3n/DHzGEZdNQ4PKdgB3UCRWzMJlE71gT58EkLRXEKDUVO Y9oQ==
Received: by 10.52.180.5 with SMTP id dk5mr47125238vdc.45.1351686074719; Wed, 31 Oct 2012 05:21:14 -0700 (PDT)
Received: from laptop.home.mysterion.org (c-76-17-119-23.hsd1.ga.comcast.net. [76.17.119.23]) by mx.google.com with ESMTPS id co1sm2009953vdc.10.2012.10.31.05.21.13 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 31 Oct 2012 05:21:13 -0700 (PDT)
Message-ID: <50911770.6090707@gmail.com>
Date: Wed, 31 Oct 2012 08:20:00 -0400
From: Dan Winship <dan.winship@gmail.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <508FB6BE.1070401@gmail.com> <a280250fe61b0980823f581ade5e308a@treenet.co.nz>
In-Reply-To: <a280250fe61b0980823f581ade5e308a@treenet.co.nz>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=209.85.212.43; envelope-from=dan.winship@gmail.com; helo=mail-vb0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.760, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TTXIi-0000Yp-CT d55dc5695ee47bac4ea50027263f10f6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC review of p1-messaging (editorial stuff)
Archived-At: <http://www.w3.org/mid/50911770.6090707@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15555
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>

On 10/30/2012 07:09 PM, Amos Jeffries wrote:
>>>    A field value MAY be preceded by optional whitespace (OWS); a
>>>    single SP is preferred.
>>
>> "MAY" and "optional" are redundant. "A field value is preceded by
>> optional whitespace..."
>>
> 
> MAY is normative clause though... "optional" is not normative.

The grammar shows OWS there, and the grammar is normative. (Which means
the MAY here contradicts the grammar, since it implies there's "[ OWS ]"
rather than "OWS" there.)


> "detect and correct" does not necessarily mean "extend the
> Content-Length". Doing so is rarely a good idea anyway as it encourages
> servers to send bad Content-Length values when it is unknown length
> response entity and simply indicate Connection:close.
> 
> Squid and other intermediaries will discard the additional octets before
> forwarding. Your change would make that undefined behaviour where today
> it is recognized best practice error correction behaviour.

There doesn't need to be text allowing you to discard the additional
octets, because there wasn't any text that would have allowed you to
include them; once you reach the end of the response, anything after
that is, by definition, not part of the response. So what squid is doing
is already correct without needing the "MUST either be discarded or
treated as the next message in a pipeline" (which wasn't in 2616 anyway).

OTOH, browsers do the opposite, and treat the extra octets as part of
the response, because there are sites that depend on this. And that's
not allowed without some sort of "MAY detect and correct" here, so I
assumed that that was what the new text was about.


>>>    When a header field is used to supply control information for or
>>>    about the current connection, the sender SHOULD list the
>>>    corresponding field-name within the "Connection" header field.
>>
>> Isn't that a MUST?
> 
> No headers defined as hop-by-hop in this base spec are exempt from
> explicit listing in Connection:. It would be redundant octets in the
> message headers. Only headers defined in other specifications which
> recipients may not be compliant with are

Nope. In the changes-from-2616 appendix:

  drop notion of header fields being "hop-by-hop" without being listed
  in the Connection header field.


-- Dan



From ietf-http-wg-request@listhub.w3.org  Wed Oct 31 06:40:02 2012
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 EF3F121F8510 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 06:40:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OCFgMlxkBbge for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 06:40:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1830A21F84CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Oct 2012 06:40:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTYUE-0006nz-G2 for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Oct 2012 13:37:38 +0000
Resent-Date: Wed, 31 Oct 2012 13:37:38 +0000
Resent-Message-Id: <E1TTYUE-0006nz-G2@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1TTYU9-0006nK-7V for ietf-http-wg@listhub.w3.org; Wed, 31 Oct 2012 13:37:33 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1TTYU8-0003ec-1u for ietf-http-wg@w3.org; Wed, 31 Oct 2012 13:37:33 +0000
Received: from riaa (oslo.jvpn.opera.com [213.236.208.46]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q9VDb4Mo008497 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Wed, 31 Oct 2012 13:37:05 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Wed, 31 Oct 2012 14:37:03 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wm1pf1biiw9drz@riaa>
User-Agent: Opera Mail/12.02 (Linux)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-5.6
X-W3C-Hub-Spam-Report: AWL=-0.680, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.675, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TTYU8-0003ec-1u ff95afe87cae3264f16217d13a8e63c6
X-Original-To: ietf-http-wg@w3.org
Subject: WGLC method-registrations comment
Archived-At: <http://www.w3.org/mid/op.wm1pf1biiw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15556
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 think it would be helpful if there were clear references to the  
definitions of the terms "Safe" and "Idempotent"  
(draft-ietf-httpbis-p2-semantics 5.2.1 and 5.2.2), in appendix A or the  
introduction.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Wed Oct 31 06:50:35 2012
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 8C01C21F87E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 06:50:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u72Qd7guYw9n for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 06:50:35 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 10CC721F84EE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Oct 2012 06:50:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTYfA-0004Jj-O7 for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Oct 2012 13:48:56 +0000
Resent-Date: Wed, 31 Oct 2012 13:48:56 +0000
Resent-Message-Id: <E1TTYfA-0004Jj-O7@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TTYf3-0004Iz-Cw for ietf-http-wg@listhub.w3.org; Wed, 31 Oct 2012 13:48:49 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TTYf2-00040d-FK for ietf-http-wg@w3.org; Wed, 31 Oct 2012 13:48:49 +0000
Received: (qmail invoked by alias); 31 Oct 2012 13:48:21 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp017) with SMTP; 31 Oct 2012 14:48:21 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18kfBUuCIokSPwUu+KNMAr54m/jgWmVEs81LTYuhd uV7A4Swd0VM1Ne
Message-ID: <50912C22.5000504@gmx.de>
Date: Wed, 31 Oct 2012 14:48:18 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
MIME-Version: 1.0
To: Martin Nilsson <nilsson@opera.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <op.wm1pf1biiw9drz@riaa>
In-Reply-To: <op.wm1pf1biiw9drz@riaa>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-2.500, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TTYf2-00040d-FK 98a72aef9e345ea80c5dd3a8b7ac8050
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC method-registrations comment
Archived-At: <http://www.w3.org/mid/50912C22.5000504@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15557
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>

On 2012-10-31 14:37, Martin Nilsson wrote:
>
> I think it would be helpful if there were clear references to the
> definitions of the terms "Safe" and "Idempotent"
> (draft-ietf-httpbis-p2-semantics 5.2.1 and 5.2.2), in appendix A or the
> introduction.
>
> /Martin Nilsson

Hmm.

Helpful to whom? After all, this document is of purely administrative 
nature (fill the registry). All that's relevant here should be that the 
instructions to IANA are correct, and that the contents of the 
registration table is correct.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Wed Oct 31 07:55:22 2012
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 BCC7921F85AB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 07:55:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hEjtYASbTDGA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 07:55:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0D0D721F8817 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Oct 2012 07:55:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTZfY-00051e-Re for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Oct 2012 14:53:24 +0000
Resent-Date: Wed, 31 Oct 2012 14:53:24 +0000
Resent-Message-Id: <E1TTZfY-00051e-Re@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1TTZfU-00050d-M0 for ietf-http-wg@listhub.w3.org; Wed, 31 Oct 2012 14:53:20 +0000
Received: from smtp.opera.com ([213.236.208.81]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <nilsson@opera.com>) id 1TTZfT-0006V3-EE for ietf-http-wg@w3.org; Wed, 31 Oct 2012 14:53:20 +0000
Received: from riaa (oslo.jvpn.opera.com [213.236.208.46]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q9VEqoW7006257 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 31 Oct 2012 14:52:50 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <op.wm1pf1biiw9drz@riaa> <50912C22.5000504@gmx.de>
Date: Wed, 31 Oct 2012 15:52:49 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wm1sybt9iw9drz@riaa>
In-Reply-To: <50912C22.5000504@gmx.de>
User-Agent: Opera Mail/12.02 (Linux)
Received-SPF: pass client-ip=213.236.208.81; envelope-from=nilsson@opera.com; helo=smtp.opera.com
X-W3C-Hub-Spam-Status: No, score=-5.2
X-W3C-Hub-Spam-Report: AWL=-0.340, BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-0.675, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1TTZfT-0006V3-EE 318cd6702a7c19e8d95ee031fd256d01
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC method-registrations comment
Archived-At: <http://www.w3.org/mid/op.wm1sybt9iw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15558
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>

On Wed, 31 Oct 2012 14:48:18 +0100, Julian Reschke <julian.reschke@gmx.de>  
wrote:

> On 2012-10-31 14:37, Martin Nilsson wrote:
>>
>> I think it would be helpful if there were clear references to the
>> definitions of the terms "Safe" and "Idempotent"
>> (draft-ietf-httpbis-p2-semantics 5.2.1 and 5.2.2), in appendix A or the
>> introduction.
>>
>> /Martin Nilsson
>
> Hmm.
>
> Helpful to whom? After all, this document is of purely administrative  
> nature (fill the registry). All that's relevant here should be that the  
> instructions to IANA are correct, and that the contents of the  
> registration table is correct.
>

Helpful to any reader that isn't well familiar with the contents of  
draft-ietf-httpbis-p2-semantics when they stumble upon this document, be  
it through a search hit or a WGLC message. But it's not a big deal. They  
can do what I did: search the document for more occurrences of "safe" and  
then start searching through the references.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Wed Oct 31 08:32:29 2012
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 B49D121F8779 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 08:32:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gm6Or3fndB2b for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 08:32:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E037721F874E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Oct 2012 08:32:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTaFY-0002b6-Ua for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Oct 2012 15:30:36 +0000
Resent-Date: Wed, 31 Oct 2012 15:30:36 +0000
Resent-Message-Id: <E1TTaFY-0002b6-Ua@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TTaFR-0002Zn-6A for ietf-http-wg@listhub.w3.org; Wed, 31 Oct 2012 15:30:29 +0000
Received: from mail-vc0-f171.google.com ([209.85.220.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <zhong.j.yu@gmail.com>) id 1TTaFP-000281-Ud for ietf-http-wg@w3.org; Wed, 31 Oct 2012 15:30:29 +0000
Received: by mail-vc0-f171.google.com with SMTP id m18so1808313vcm.2 for <ietf-http-wg@w3.org>; Wed, 31 Oct 2012 08:30:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=BUSDLeUgQL7vYf52gKcXvgjWA/BRtiYOD2U4XkKcKBI=; b=UmLX8pksbgXJl8QPGGGGZxZCtwoYrxfaqvVgIgvM65s5/Mkf7IYazOalI5zHlrJBCf aonmd512/QyFeraQZOdRcCu64onMlz1/WzmyKnnXWMknl34etfmlcxqdLFg7y9aES+fN OKiCmKBa/vHwwpFJKTngEEfdjlPgjFRRuJlm/znLf9ATSBDzDW4IunMBO3beg7/rrXEX BlpQe10w9NTmU1/0w9fkjQgnac8FskaoDNRVavKshCBJAR3zY7N1D6tCbRNN3JQAPsmc 6pcwPHon/FEZ9lfhnY2YkM3tD+iF3pzcAqW1BE9k0dDQtxTli9NcyivWWuvdgWFMhv22 dstA==
MIME-Version: 1.0
Received: by 10.221.11.143 with SMTP id pe15mr18692725vcb.50.1351697401902; Wed, 31 Oct 2012 08:30:01 -0700 (PDT)
Received: by 10.220.102.145 with HTTP; Wed, 31 Oct 2012 08:30:01 -0700 (PDT)
In-Reply-To: <5090CF9C.4060009@gmx.de>
References: <508FB7D2.6070807@gmail.com> <CACuKZqHDs2bM1OoFz-ZWwx8DnXYCnMoudvNovZ3h6SkzO5ZCuw@mail.gmail.com> <50901805.1020302@gmx.de> <CABkgnnUuqYB+J+XhJDioGhZLPWpYLucKzog9rsuhqY6-0f_1ew@mail.gmail.com> <CACuKZqH=V8EH08exAObwriCanu5d7Ei0HN8RgfMqMWOFA3C86Q@mail.gmail.com> <5090CF9C.4060009@gmx.de>
Date: Wed, 31 Oct 2012 10:30:01 -0500
Message-ID: <CACuKZqHhbkyMCgt+f4CQRkeSDFT5n7qGtWntB+gHWFO5DNWBHA@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Martin Thomson <martin.thomson@gmail.com>, Dan Winship <dan.winship@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.220.171; envelope-from=zhong.j.yu@gmail.com; helo=mail-vc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-4.5
X-W3C-Hub-Spam-Report: AWL=-1.753, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TTaFP-000281-Ud e3084da8de424b1fc472c742be0ae321
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC review of p2-semantics (editorial stuff)
Archived-At: <http://www.w3.org/mid/CACuKZqHhbkyMCgt+f4CQRkeSDFT5n7qGtWntB+gHWFO5DNWBHA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15559
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>

On Wed, Oct 31, 2012 at 2:13 AM, Julian Reschke <julian.reschke@gmx.de> wro=
te:
> On 2012-10-30 21:40, Zhong Yu wrote:
>>
>> Got it. In the spec,
>> http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-8.=
2
>>>
>>> Additional header fields define metadata about the selected
>>> representation, which might differ from the representation included in =
the
>>> message for responses to some state-changing methods
>>
>>
>> So if the current representation has ETag=3Dv1, and PUT sends a new
>> representation to which the server assigns ETag=3Dv2, the response to
>> PUT may contain ETag of the old representation. (This was not in
>> RFC2616)
>> ...
>
>
> Why would it contain the old ETag?

According to the same section in the spec

>We use the term "selected representation" to refer to the the current repr=
esentation of a target resource that would have been selected in a successf=
ul response if the same request had used the method GET and excluded any co=
nditional request header fields.

In my example, the request is
    PUT /resource HTTP/1.1

If the same request had used the method GET
    GET /resource HTTP/1.1

the current representation with ETag=3Dv1 would have been selected.

Thereforev1 is the selected representation. If the response contains
ETag header, it is a metadata about the selected representation, i.e.
v1.

Zhong Yu


From ietf-http-wg-request@listhub.w3.org  Wed Oct 31 08:47:59 2012
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 B238421F8522 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 08:47:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O2OarlJ8k6dY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 08:47:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3222821F843A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Oct 2012 08:47:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTaV2-0002Xt-FN for ietf-http-wg-dist@listhub.w3.org; Wed, 31 Oct 2012 15:46:36 +0000
Resent-Date: Wed, 31 Oct 2012 15:46:36 +0000
Resent-Message-Id: <E1TTaV2-0002Xt-FN@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TTaUt-0002Wb-D0 for ietf-http-wg@listhub.w3.org; Wed, 31 Oct 2012 15:46:27 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <julian.reschke@gmx.de>) id 1TTaUr-0002ej-QX for ietf-http-wg@w3.org; Wed, 31 Oct 2012 15:46:27 +0000
Received: (qmail invoked by alias); 31 Oct 2012 15:45:57 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp024) with SMTP; 31 Oct 2012 16:45:57 +0100
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/FfSxL2MbF0aK6nFLuM64wiX4ssvIUipb6L0DE0U A7ClEoftBsWi27
Message-ID: <509147B3.2030304@gmx.de>
Date: Wed, 31 Oct 2012 16:45:55 +0100
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: Martin Thomson <martin.thomson@gmail.com>,  Dan Winship <dan.winship@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
References: <508FB7D2.6070807@gmail.com> <CACuKZqHDs2bM1OoFz-ZWwx8DnXYCnMoudvNovZ3h6SkzO5ZCuw@mail.gmail.com> <50901805.1020302@gmx.de> <CABkgnnUuqYB+J+XhJDioGhZLPWpYLucKzog9rsuhqY6-0f_1ew@mail.gmail.com> <CACuKZqH=V8EH08exAObwriCanu5d7Ei0HN8RgfMqMWOFA3C86Q@mail.gmail.com> <5090CF9C.4060009@gmx.de> <CACuKZqHhbkyMCgt+f4CQRkeSDFT5n7qGtWntB+gHWFO5DNWBHA@mail.gmail.com>
In-Reply-To: <CACuKZqHhbkyMCgt+f4CQRkeSDFT5n7qGtWntB+gHWFO5DNWBHA@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-2.500, BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TTaUr-0002ej-QX f1061bffe362ecc63a0187185a3956d7
X-Original-To: ietf-http-wg@w3.org
Subject: Metadata about the selected representation in a PUT response
Archived-At: <http://www.w3.org/mid/509147B3.2030304@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15560
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>

On 2012-10-31 16:30, Zhong Yu wrote:
> On Wed, Oct 31, 2012 at 2:13 AM, Julian Reschke <julian.reschke@gmx.de> wrote:
>> On 2012-10-30 21:40, Zhong Yu wrote:
>>>
>>> Got it. In the spec,
>>> http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-8.2
>>>>
>>>> Additional header fields define metadata about the selected
>>>> representation, which might differ from the representation included in the
>>>> message for responses to some state-changing methods
>>>
>>>
>>> So if the current representation has ETag=v1, and PUT sends a new
>>> representation to which the server assigns ETag=v2, the response to
>>> PUT may contain ETag of the old representation. (This was not in
>>> RFC2616)
>>> ...
>>
>>
>> Why would it contain the old ETag?
>
> According to the same section in the spec
>
>> We use the term "selected representation" to refer to the the current representation of a target resource that would have been selected in a successful response if the same request had used the method GET and excluded any conditional request header fields.
>
> In my example, the request is
>      PUT /resource HTTP/1.1
>
> If the same request had used the method GET
>      GET /resource HTTP/1.1
>
> the current representation with ETag=v1 would have been selected.
>
> Thereforev1 is the selected representation. If the response contains
> ETag header, it is a metadata about the selected representation, i.e.
> v1.
> ...

Well, that's certainly not what we *want* the spec to say.

Roy?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Oct 31 17:14:54 2012
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 F021921F885A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 17:14:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bfitv4shfeV8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 31 Oct 2012 17:14:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 438E421F8823 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 31 Oct 2012 17:14:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1TTiOX-0003dw-O1 for ietf-http-wg-dist@listhub.w3.org; Thu, 01 Nov 2012 00:12:25 +0000
Resent-Date: Thu, 01 Nov 2012 00:12:25 +0000
Resent-Message-Id: <E1TTiOX-0003dw-O1@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TTiOR-0003dH-2g for ietf-http-wg@listhub.w3.org; Thu, 01 Nov 2012 00:12:19 +0000
Received: from ip-58-28-153-233.static-xdsl.xnet.co.nz ([58.28.153.233] helo=treenet.co.nz) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <squid3@treenet.co.nz>) id 1TTiOP-0000jb-LD for ietf-http-wg@w3.org; Thu, 01 Nov 2012 00:12:19 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 4ACABE71C9; Thu,  1 Nov 2012 13:11:52 +1300 (NZDT)
To: <ietf-http-wg@w3.org>
X-PHP-Originating-Script: 0:main.inc
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Thu, 01 Nov 2012 13:11:51 +1300
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <509147B3.2030304@gmx.de>
References: <508FB7D2.6070807@gmail.com> <CACuKZqHDs2bM1OoFz-ZWwx8DnXYCnMoudvNovZ3h6SkzO5ZCuw@mail.gmail.com> <50901805.1020302@gmx.de> <CABkgnnUuqYB+J+XhJDioGhZLPWpYLucKzog9rsuhqY6-0f_1ew@mail.gmail.com> <CACuKZqH=V8EH08exAObwriCanu5d7Ei0HN8RgfMqMWOFA3C86Q@mail.gmail.com> <5090CF9C.4060009@gmx.de> <CACuKZqHhbkyMCgt+f4CQRkeSDFT5n7qGtWntB+gHWFO5DNWBHA@mail.gmail.com> <509147B3.2030304@gmx.de>
Message-ID: <6a7286ccf87a75823e7f8e71965ef434@treenet.co.nz>
X-Sender: squid3@treenet.co.nz
User-Agent: Roundcube Webmail/0.7.2
Received-SPF: pass client-ip=58.28.153.233; envelope-from=squid3@treenet.co.nz; helo=treenet.co.nz
X-W3C-Hub-Spam-Status: No, score=-4.4
X-W3C-Hub-Spam-Report: AWL=-2.499, BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1TTiOP-0000jb-LD 37c2e2ba5398bf4edb7cc33d3a1f3b8c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Metadata about the selected representation in a PUT response
Archived-At: <http://www.w3.org/mid/6a7286ccf87a75823e7f8e71965ef434@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/15561
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>

On 01.11.2012 04:45, Julian Reschke wrote:
> On 2012-10-31 16:30, Zhong Yu wrote:
>> On Wed, Oct 31, 2012 at 2:13 AM, Julian Reschke 
>> <julian.reschke@gmx.de> wrote:
>>> On 2012-10-30 21:40, Zhong Yu wrote:
>>>>
>>>> Got it. In the spec,
>>>> 
>>>> http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-21#section-8.2
>>>>>
>>>>> Additional header fields define metadata about the selected
>>>>> representation, which might differ from the representation 
>>>>> included in the
>>>>> message for responses to some state-changing methods
>>>>
>>>>
>>>> So if the current representation has ETag=v1, and PUT sends a new
>>>> representation to which the server assigns ETag=v2, the response 
>>>> to
>>>> PUT may contain ETag of the old representation. (This was not in
>>>> RFC2616)
>>>> ...
>>>
>>>
>>> Why would it contain the old ETag?
>>
>> According to the same section in the spec
>>
>>> We use the term "selected representation" to refer to the the 
>>> current representation of a target resource that would have been 
>>> selected in a successful response if the same request had used the 
>>> method GET and excluded any conditional request header fields.
>>
>> In my example, the request is
>>      PUT /resource HTTP/1.1
>>
>> If the same request had used the method GET
>>      GET /resource HTTP/1.1
>>
>> the current representation with ETag=v1 would have been selected.
>>
>> Thereforev1 is the selected representation. If the response contains
>> ETag header, it is a metadata about the selected representation, 
>> i.e.
>> v1.
>> ...
>
> Well, that's certainly not what we *want* the spec to say.
>
> Roy?

Or is it?

A new Etag value would indicate that the v1 representation has changed 
ETag value - right. Same with any resource altering method (LINK, 
UNLINK, DELETE, POST, PATCH, ...). In fact when one comes to listing 
them, it is all the methods which invalidate the selected 
representation. It probably should be worded to the effect that 
invalidation must happen before selection on the representation.

Amos

