
From ietf-http-wg-request@listhub.w3.org  Fri Jun  1 09:27: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 439FB11E80D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  1 Jun 2012 09:27:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.144
X-Spam-Level: 
X-Spam-Status: No, score=-7.144 tagged_above=-999 required=5 tests=[AWL=3.455, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O5kFcQZgqS3J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  1 Jun 2012 09:27:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BCCF811E80BC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  1 Jun 2012 09:27:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SaUfs-0005lt-EZ for ietf-http-wg-dist@listhub.w3.org; Fri, 01 Jun 2012 16:26:04 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1SaUfg-0005l2-SJ for ietf-http-wg@listhub.w3.org; Fri, 01 Jun 2012 16:25:52 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1SaUfd-0002UQ-6G for ietf-http-wg@w3.org; Fri, 01 Jun 2012 16:25:50 +0000
Received: by bkty5 with SMTP id y5so2297437bkt.2 for <ietf-http-wg@w3.org>; Fri, 01 Jun 2012 09:25:22 -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=yC6VCylWafN3Z78aNACU29/IbzhP6/HdeWgTSc2IMds=; b=Ht/yZr4rVd5PgLEy5w2wMc/CqpegNqGm77ROS7l90GEqx42DWzn0Z2NNA5REM6YifF ZNi0ukvdOfMS3UC2H2Hk2pUwK3TZDj5OrvGRnNppm1FUAQHllVfB2r6ozlFFydAOQ1oz u7/ipDxsFPHoIjD8sgpwDV79edEDWRZxm/1dqN91KllC/Nhx2CdVdSCU0as5DXSEZjBs Vn2DppSkKC2ZVRnH6Om9JnplCOyLkYNmEkmaMUTR9u6SAWO0xnH3AkbJIqDEZ+EI2huJ ej5JsBZJ1X+nL7Aq1pYrtroUv5S4HAMhkCUI/ZVPWHDsrLAwPXwedpy8/mDut2UltGRe 9cyQ==
MIME-Version: 1.0
Received: by 10.205.33.136 with SMTP id so8mr2277246bkb.1.1338567922442; Fri, 01 Jun 2012 09:25:22 -0700 (PDT)
Received: by 10.204.66.4 with HTTP; Fri, 1 Jun 2012 09:25:22 -0700 (PDT)
In-Reply-To: <C7582278-E000-4D00-8C61-A91172EE582F@mnot.net>
References: <CBED5490.394F2%sludin@akamai.com> <C7582278-E000-4D00-8C61-A91172EE582F@mnot.net>
Date: Fri, 1 Jun 2012 09:25:22 -0700
Message-ID: <CABkgnnUT2vV8XSHa5NuqNoojLjB_POJeBy7DUvt-Ht-wHC0dwg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: "Ludin, Stephen" <sludin@akamai.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.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: lisa.w3.org 1SaUfd-0002UQ-6G b8a1d3916b02430c082633d2bee19521
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/CABkgnnUT2vV8XSHa5NuqNoojLjB_POJeBy7DUvt-Ht-wHC0dwg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13586
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SaUfs-0005lt-EZ@frink.w3.org>
Resent-Date: Fri, 01 Jun 2012 16:26:04 +0000

On 31 May 2012 20:33, Mark Nottingham <mnot@mnot.net> wrote:
> So, we can certainly leave it off (and I'm OK with that), but the text above will still apply.

I'm inclined to agree with Stephen here, ", but MAY..." could be
considered a prompting to go the extra mile, when that is better saved
for those who really, really know what they are doing. Less text is a
nice benefit.


From ietf-http-wg-request@listhub.w3.org  Fri Jun  1 13:48: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 0711D11E80E3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  1 Jun 2012 13:48:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.875
X-Spam-Level: 
X-Spam-Status: No, score=-6.875 tagged_above=-999 required=5 tests=[AWL=3.723, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8vUCCux2bZ80 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  1 Jun 2012 13:48:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BFAB111E80E2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  1 Jun 2012 13:48:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SaYjw-0006Ry-O3 for ietf-http-wg-dist@listhub.w3.org; Fri, 01 Jun 2012 20:46:32 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alexey.melnikov@isode.com>) id 1SaYjk-0006Qd-NT for ietf-http-wg@listhub.w3.org; Fri, 01 Jun 2012 20:46:20 +0000
Received: from rufus.isode.com ([62.3.217.251]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SaYjh-0003MR-7g for ietf-http-wg@w3.org; Fri, 01 Jun 2012 20:46:18 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1338583556; d=isode.com; s=selector; i=@isode.com; bh=cGKgenuatMoDy/2M5oBovVrS8Wc7IPSL3nSsuMiOvpY=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=phIzGGS1q91a2DyxSTiQLJdN54qeJE1r0+A2WFL/GmuBRoxf+Ha+4zbfOZDNNsWIIlCSS5 YeVasZ5LwpQJFcNWwyQ13E8v4AKfx34avVomxhvjv4AueaO/rtGXJNF4V630vVlj9eMRL3 uk1A8ITidqFZCfEcSJIijHjPfTJ/rQs=;
Received: from [192.168.1.144] ((unknown) [62.3.217.253])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <T8kqAgAE451c@rufus.isode.com>; Fri, 1 Jun 2012 21:45:55 +0100
X-SMTP-Protocol-Errors: NORDNS PIPELINING
Message-ID: <4FC92A07.5030309@isode.com>
Date: Fri, 01 Jun 2012 21:45:59 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <20120601164205.25357.54620.idtracker@ietfa.amsl.com>
In-Reply-To: <20120601164205.25357.54620.idtracker@ietfa.amsl.com>
X-Forwarded-Message-Id: <20120601164205.25357.54620.idtracker@ietfa.amsl.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------060900030808060204090904"
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=rufus.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SaYjh-0003MR-7g 0b9213db95b3b49876b198beeb76ebeb
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: Last Call: RFC 2818 (HTTP Over TLS) to Proposed Standard
Archived-At: <http://www.w3.org/mid/4FC92A07.5030309@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13587
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SaYjw-0006Ry-O3@frink.w3.org>
Resent-Date: Fri, 01 Jun 2012 20:46:32 +0000

This is a multi-part message in MIME format.
--------------060900030808060204090904
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

FYI.

-------- Original Message --------
Subject: 	Last Call: RFC 2818 (HTTP Over TLS) to Proposed Standard
Date: 	Fri, 01 Jun 2012 09:42:05 -0700
From: 	IESG Secretary <iesg-secretary@ietf.org>
To: 	IETF Announcement List <ietf-announce@ietf.org>
CC: 	tls@ietf.org



The IESG has received a request from the TLS Working Group to reclassify RFC 2818 (HTTP Over TLS) to Proposed Standard.

The IESG plans to make a decision in the next few weeks, and solicits final comments on this action. Please send substantive comments to the ietf at ietf.org mailing lists by 2012-06-15. Exceptionally, comments may be sent to iesg at ietf.org instead. In either case, please retain the beginning of the Subject line to allow automated sorting.

Abstract

This memo describes how to use TLS to secure HTTP connections over the Internet. Current practice is to layer HTTP over SSL (the predecessor to TLS), distinguishing secured traffic from insecure traffic by the use of a different server port. This document documents that practice using TLS. A companion document describes a method for using HTTP/TLS over the same port as normal HTTP [RFC2817].

The file can be obtained via
http://www.rfc-editor.org/rfc/rfc2818.txt

No IPR declarations have been submitted directly on this I-D.


--------------060900030808060204090904
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    FYI.<br>
    <br>
    -------- Original Message --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject: </th>
          <td>Last Call: RFC 2818 (HTTP Over TLS) to Proposed Standard</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
          <td>Fri, 01 Jun 2012 09:42:05 -0700</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
          <td>IESG Secretary <a class="moz-txt-link-rfc2396E" href="mailto:iesg-secretary@ietf.org">&lt;iesg-secretary@ietf.org&gt;</a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
          <td>IETF Announcement List <a class="moz-txt-link-rfc2396E" href="mailto:ietf-announce@ietf.org">&lt;ietf-announce@ietf.org&gt;</a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">CC: </th>
          <td><a class="moz-txt-link-abbreviated" href="mailto:tls@ietf.org">tls@ietf.org</a></td>
        </tr>
      </tbody>
    </table>
    <br>
    <br>
    <pre>The IESG has received a request from the TLS Working Group to reclassify RFC 2818 (HTTP Over TLS) to Proposed Standard.

The IESG plans to make a decision in the next few weeks, and solicits final comments on this action. Please send substantive comments to the ietf at ietf.org mailing lists by 2012-06-15. Exceptionally, comments may be sent to iesg at ietf.org instead. In either case, please retain the beginning of the Subject line to allow automated sorting.

Abstract     

This memo describes how to use TLS to secure HTTP connections over the Internet. Current practice is to layer HTTP over SSL (the predecessor to TLS), distinguishing secured traffic from insecure traffic by the use of a different server port. This document documents that practice using TLS. A companion document describes a method for using HTTP/TLS over the same port as normal HTTP [RFC2817].

The file can be obtained via
<a class="moz-txt-link-freetext" href="http://www.rfc-editor.org/rfc/rfc2818.txt">http://www.rfc-editor.org/rfc/rfc2818.txt</a>

No IPR declarations have been submitted directly on this I-D.
</pre>
  </body>
</html>

--------------060900030808060204090904--


From ietf-http-wg-request@listhub.w3.org  Fri Jun  1 14:03: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 F360611E80BC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  1 Jun 2012 14:03:57 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LTneI7r5hAFq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  1 Jun 2012 14:03:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2EC1411E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  1 Jun 2012 14:03:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SaYzp-0002F6-Fu for ietf-http-wg-dist@listhub.w3.org; Fri, 01 Jun 2012 21:02:57 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stpeter@stpeter.im>) id 1SaYzf-0002AJ-Rz for ietf-http-wg@listhub.w3.org; Fri, 01 Jun 2012 21:02:47 +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 1SaYzb-0006i2-KC for ietf-http-wg@w3.org; Fri, 01 Jun 2012 21:02:45 +0000
Received: from [64.101.72.115] (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 7635C40075; Fri,  1 Jun 2012 15:18:52 -0600 (MDT)
Message-ID: <4FC92DD8.40401@stpeter.im>
Date: Fri, 01 Jun 2012 15:02:16 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
X-Enigmail-Version: 1.4.1
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SaYzb-0006i2-KC 4d00badc01103a6d963b9d8c4b3a942c
X-Original-To: ietf-http-wg@w3.org
Subject: WGLC issue: following HTTP redirects
Archived-At: <http://www.w3.org/mid/4FC92DD8.40401@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13588
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SaYzp-0002F6-Fu@frink.w3.org>
Resent-Date: Fri, 01 Jun 2012 21:02:57 +0000

Dear HTTPBIS WG:

Please correct me if I'm wrong, but it appears that the HTTP
specifications [1] don't say anything about the circumstances under
which an HTTP client ought to, or ought not to, follow a redirect (such
as we defined for XMPP in RFC 6120 [2]).

My questions include: Is it OK if an HTTP request to somedomain.tld is
redirected to anotherdomain.tld? What about an HTTPS request? For the
latter, at what point in the secure connection request is it OK to
accept a redirect? Do both confidentiality and integrity need to be
established before it's OK to follow the redirect? Does the client need
to apply the same policies to anotherdomain.tld that it would have
applied to somedomain.tld (e.g., mandating encryption)? What server
identity does the client check (per RFC 2818)? Etc.

As I said, perhaps these matters are described somewhere and I missed
them; if so, a pointer would be appreciated.

Thanks!

Peter

[1] I checked RFC 2616, RFC 2818, draft-ietf-httpbis-p1-messaging-19,
draft-ietf-httpbis-p2-semantics-19, and
draft-ietf-httpbis-security-properties-05

[2] http://tools.ietf.org/html/rfc6120#section-4.9.3.19



From ietf-http-wg-request@listhub.w3.org  Sat Jun  2 02:56: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 4EA5321F8A68 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 02:56:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.449
X-Spam-Level: 
X-Spam-Status: No, score=-7.449 tagged_above=-999 required=5 tests=[AWL=3.150, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HCR6KrqMxdRS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 02:56:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7DE6E21F8A8B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  2 Jun 2012 02:56:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sal31-0003mT-Eu for ietf-http-wg-dist@listhub.w3.org; Sat, 02 Jun 2012 09:55:03 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sal2o-0003ku-Td for ietf-http-wg@listhub.w3.org; Sat, 02 Jun 2012 09:54:50 +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 1Sal2l-0002uE-UX for ietf-http-wg@w3.org; Sat, 02 Jun 2012 09:54:49 +0000
Received: (qmail invoked by alias); 02 Jun 2012 09:54:21 -0000
Received: from p54BB353B.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.53.59] by mail.gmx.net (mp036) with SMTP; 02 Jun 2012 11:54:21 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19pTe850A5pkYMhHDHAVWbiwyDaQKiHhR9+7bHLQF vv8Td6Fp4om8Fp
Message-ID: <4FC9E2C9.30008@gmx.de>
Date: Sat, 02 Jun 2012 11:54:17 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
CC: ietf-http-wg@w3.org
References: <4FC92DD8.40401@stpeter.im>
In-Reply-To: <4FC92DD8.40401@stpeter.im>
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=-1.9
X-W3C-Hub-Spam-Report: 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 1Sal2l-0002uE-UX 677cbb955bd60e86ea988e4faf7379d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC issue: following HTTP redirects
Archived-At: <http://www.w3.org/mid/4FC9E2C9.30008@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13589
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sal31-0003mT-Eu@frink.w3.org>
Resent-Date: Sat, 02 Jun 2012 09:55:03 +0000

On 2012-06-01 23:02, Peter Saint-Andre wrote:
> Dear HTTPBIS WG:
>
> Please correct me if I'm wrong, but it appears that the HTTP
> specifications [1] don't say anything about the circumstances under
> which an HTTP client ought to, or ought not to, follow a redirect (such
> as we defined for XMPP in RFC 6120 [2]).

It does say a few things about what to consider when following redirects 
to unsafe methods; but that's it.

In general, the spec describes format and semantics of HTTP messages and 
doesn't try to describe what to do with them.

> My questions include: Is it OK if an HTTP request to somedomain.tld is
> redirected to anotherdomain.tld? ...

Why not? It happens all the time.

> ... What about an HTTPS request? For the
> latter, at what point in the secure connection request is it OK to
> accept a redirect? Do both confidentiality and integrity need to be
> established before it's OK to follow the redirect? Does the client need
> to apply the same policies to anotherdomain.tld that it would have
> applied to somedomain.tld (e.g., mandating encryption)? What server
> identity does the client check (per RFC 2818)? Etc.

If we need to describe it, the spec defining HTTPS probably would be the 
right place.

> As I said, perhaps these matters are described somewhere and I missed
> them; if so, a pointer would be appreciated.
>
> Thanks!
>
> Peter
>
> [1] I checked RFC 2616, RFC 2818, draft-ietf-httpbis-p1-messaging-19,
> draft-ietf-httpbis-p2-semantics-19, and
> draft-ietf-httpbis-security-properties-05
>
> [2] http://tools.ietf.org/html/rfc6120#section-4.9.3.19

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Sat Jun  2 03:20: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 1206121F89BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 03:20:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.079
X-Spam-Level: 
X-Spam-Status: No, score=-8.079 tagged_above=-999 required=5 tests=[AWL=2.520, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bzNnH4U2qZSQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 03:20:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6F7D021F8A01 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  2 Jun 2012 03:20:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SalQ2-0007A3-BH for ietf-http-wg-dist@listhub.w3.org; Sat, 02 Jun 2012 10:18:50 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SalPs-00079B-RP for ietf-http-wg@listhub.w3.org; Sat, 02 Jun 2012 10:18:40 +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 1SalPp-0003f1-Eb for ietf-http-wg@w3.org; Sat, 02 Jun 2012 10:18:38 +0000
Received: (qmail invoked by alias); 02 Jun 2012 10:18:11 -0000
Received: from p54BB353B.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.53.59] by mail.gmx.net (mp019) with SMTP; 02 Jun 2012 12:18:11 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/Fd4BV3inFT5bJr1n1uZ0FsG8GiBXOAF0vZugkHz RUu2cR61OLqarA
Message-ID: <4FC9E861.9000305@gmx.de>
Date: Sat, 02 Jun 2012 12:18:09 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
CC: Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <CABkgnnVyGh4AvakXTpMsoF5Ge8rEY69SHMvotS2StF+Pg3rYAA@mail.gmail.com>
In-Reply-To: <CABkgnnVyGh4AvakXTpMsoF5Ge8rEY69SHMvotS2StF+Pg3rYAA@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=-1.9
X-W3C-Hub-Spam-Report: 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 1SalPp-0003f1-Eb c72e2d192b2172fdcfeee339b21b409b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/4FC9E861.9000305@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13590
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SalQ2-0007A3-BH@frink.w3.org>
Resent-Date: Sat, 02 Jun 2012 10:18:50 +0000

On 2012-05-31 18:11, Martin Thomson wrote:
> On 31 May 2012 05:09, Mark Nottingham<mnot@mnot.net>  wrote:
>> 6.2 Protection Spaces
>>
>> Authentication schemes that use the "realm" mechanism for establishing a protection space will expose credentials to all resources on a server. This makes it possible for a resource to harvest authentication credentials for other resources on the same server.
>>
>> This is of particular concern when a servers hosts resources for multiple parties. Possible mitigation strategies include restricting direct access to authentication credentials (i.e., not making the content of the Authorization request header available), and separating protection spaces by using a different hostname for each party.
>
> Thanks.  That addresses my concern.
>
> Though it would seem that the problem isn't well understood.  Maybe
> insert a bit more exposition...
>
> """[...] will expose credentials to all resources on a server. Clients
> that have successfully made authenticated requests with a resource can
> use the same authentication credentials for all resources on the same
> server. This makes it possible for a [...]"""

Thanks, Martin.

I slightly tuned all of this to:

 > 6.2.  Protection Spaces
 >
 >  Authentication schemes that use the "realm" mechanism for
 >  establishing a protection space will expose credentials to all
 >  resources on a server.  Clients that have successfully made
 >  authenticated requests with a resource can use the same
 >  authentication credentials for other resources on the same server.
 >  This makes it possible for a different resource to harvest
 >  authentication credentials for other resources.
 >
 >  This is of particular concern when a server hosts resources for
 >  multiple parties.  Possible mitigation strategies include restricting
 >  direct access to authentication credentials (i.e., not making the
 >  content of the Authorization request header field available), and
 >  separating protection spaces by using a different host name for each
 >  party.

(<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/348/348.diff>)

Feedback appreciated, Julian



From ietf-http-wg-request@listhub.w3.org  Sat Jun  2 03:29: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 E258121F863C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 03:29:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.499
X-Spam-Level: 
X-Spam-Status: No, score=-8.499 tagged_above=-999 required=5 tests=[AWL=2.100, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jfWcQk1+Ii-5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 03:29:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 97D0621F8417 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  2 Jun 2012 03:29:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SalaK-00082K-MX for ietf-http-wg-dist@listhub.w3.org; Sat, 02 Jun 2012 10:29:28 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SalaA-00081T-Oc for ietf-http-wg@listhub.w3.org; Sat, 02 Jun 2012 10:29:18 +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 1Sala7-0001S9-Pr for ietf-http-wg@w3.org; Sat, 02 Jun 2012 10:29:16 +0000
Received: (qmail invoked by alias); 02 Jun 2012 10:28:49 -0000
Received: from p54BB353B.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.53.59] by mail.gmx.net (mp035) with SMTP; 02 Jun 2012 12:28:49 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18hafUY9HQhiQ87otGrfhNnb7WjtNppnZ2ATbCqRw kY8+G/TdvefvsE
Message-ID: <4FC9EAE0.8010606@gmx.de>
Date: Sat, 02 Jun 2012 12:28:48 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
CC: Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <4FC77B7F.3040906@gmx.de> <4FC77D3E.30702@cs.tcd.ie>
In-Reply-To: <4FC77D3E.30702@cs.tcd.ie>
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=-1.9
X-W3C-Hub-Spam-Report: 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 1Sala7-0001S9-Pr 26acc7f91be14a98590c5a78a61601d2
X-Original-To: ietf-http-wg@w3.org
Subject: Terminology: "credentials"
Archived-At: <http://www.w3.org/mid/4FC9EAE0.8010606@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13591
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SalaK-00082K-MX@frink.w3.org>
Resent-Date: Sat, 02 Jun 2012 10:29:28 +0000

On 2012-05-31 16:16, Stephen Farrell wrote:
> ...
>> It's the term we currently use throughout.
>
> I said feel free to ignore me, not to feel free to give a
> non-answer:-)
>
> I can understand that it might take work to change, and
> that that might not be worthwhile. But if in fact its not
> the right term for some of those uses then it might be
> worth changing to avoid future confusion.
>
> Just saying "its that way now" isn't an answer to the
> question asked.
> ...

OK, I'll rephrase it: if you believe the term is misleading than we need 
to discuss this *separately* from this issue, as we use the term 
throughout the spec consistently.

My personal point of view is that the term is good enough and changing 
out might cause confusion. That being said, I'm ready to be convinced 
otherwise.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sat Jun  2 03:32: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 3321621F8A67 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 03:32:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.799
X-Spam-Level: 
X-Spam-Status: No, score=-8.799 tagged_above=-999 required=5 tests=[AWL=1.800, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a5JkQQ5iDKt6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 03:32:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B2DB821F8A66 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  2 Jun 2012 03:32:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Salbi-00016r-Sc for ietf-http-wg-dist@listhub.w3.org; Sat, 02 Jun 2012 10:30:54 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SalbZ-00015v-Jy for ietf-http-wg@listhub.w3.org; Sat, 02 Jun 2012 10:30:45 +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 1SalbW-0001V6-KT for ietf-http-wg@w3.org; Sat, 02 Jun 2012 10:30:43 +0000
Received: (qmail invoked by alias); 02 Jun 2012 10:30:17 -0000
Received: from p54BB353B.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.53.59] by mail.gmx.net (mp039) with SMTP; 02 Jun 2012 12:30:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19a/KRbLFNatB9HV5lml33GmRtm4U1UJhZmnckzDG 2SG5wu3SLlg6e4
Message-ID: <4FC9EB37.3060709@gmx.de>
Date: Sat, 02 Jun 2012 12:30:15 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Stephen Farrell <stephen.farrell@cs.tcd.ie>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@mnot.net>
In-Reply-To: <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SalbW-0001V6-KT 015fb9df903dc856a25fca3748863d51
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/4FC9EB37.3060709@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13592
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Salbi-00016r-Sc@frink.w3.org>
Resent-Date: Sat, 02 Jun 2012 10:30:54 +0000

On 2012-06-01 02:50, Mark Nottingham wrote:
>
> On 31/05/2012, at 11:59 PM, Stephen Farrell wrote:
>>> """
>>> Both the Authorization field value and the Proxy-Authorization field value contain the client's credentials for the realm of the resource being requested, based upon a challenge received from the server (possibly at some point in the past). When creating their values, the user agent ought to do so by selecting the challenge with what it considers to be the most secure auth-scheme that it understands, obtaining credentials from the user as appropriate.
>>> """
>>
>> Could be a can of worms so feel free to ignore me
>
> I suspect it's a bit of one.
>
>> but is
>> the term credentials there correct? Perhaps authenticator
>> would be better? If we do manage to get better schemes
>> defined then someday not all of these would allow derivation
>> of an underlying password credential.
>
>
> How about a nice generic "details", as in "obtaining details from the user as appropriate."?
> ...

-1; if we change the terms we should do so consistently.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sat Jun  2 03:38: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 709FD21F8A77 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 03:38:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.024
X-Spam-Level: 
X-Spam-Status: No, score=-9.024 tagged_above=-999 required=5 tests=[AWL=1.575, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZFBIJrodBC1C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 03:38:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD22F21F8A79 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  2 Jun 2012 03:38:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SaliM-0001Zm-TC for ietf-http-wg-dist@listhub.w3.org; Sat, 02 Jun 2012 10:37:46 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SaliD-0001Xt-LP for ietf-http-wg@listhub.w3.org; Sat, 02 Jun 2012 10:37: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 1SaliA-0001io-Vx for ietf-http-wg@w3.org; Sat, 02 Jun 2012 10:37:36 +0000
Received: (qmail invoked by alias); 02 Jun 2012 10:37:08 -0000
Received: from p54BB353B.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.53.59] by mail.gmx.net (mp002) with SMTP; 02 Jun 2012 12:37:08 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX184NqFxw0k4/sL+k903W2SEKfYlXzgLFfzSkSbynr WX9Xi7hAe7BYNa
Message-ID: <4FC9ECD3.6040101@gmx.de>
Date: Sat, 02 Jun 2012 12:37:07 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net>
In-Reply-To: <86053556-FE93-4913-B8C9-989CCC735231@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=-1.9
X-W3C-Hub-Spam-Report: 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 1SaliA-0001io-Vx d0d5bea5ad3352a4dd64866b2f0d4e84
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/4FC9ECD3.6040101@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13593
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SaliM-0001Zm-TC@frink.w3.org>
Resent-Date: Sat, 02 Jun 2012 10:37:46 +0000

On 2012-05-31 14:20, Mark Nottingham wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/349>
>
> Proposal: change
>
>>     Both the Authorization field value and the Proxy-Authorization field
>>     value consist of credentials containing the authentication
>>     information of the client for the realm of the resource being
>>     requested.  The user agent MUST choose to use one of the challenges
>>     with the strongest auth-scheme it understands and request credentials
>>     from the user based upon that challenge.
>
>
> to
>
> """
> Both the Authorization field value and the Proxy-Authorization field value contain the client's credentials for the realm of the resource being requested, based upon a challenge received from the server (possibly at some point in the past). When creating their values, the user agent ought to do so by selecting the challenge with what it considers to be the most secure auth-scheme that it understands, obtaining credentials from the user as appropriate.
> """
> ...

Proposed patch: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/349/>

Feedback appreciated, Julian


From ietf-http-wg-request@listhub.w3.org  Sat Jun  2 04:01: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 3BDC721F8A02 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 04:01:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.939
X-Spam-Level: 
X-Spam-Status: No, score=-8.939 tagged_above=-999 required=5 tests=[AWL=1.660, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c+-eqnesZF0l for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 04:01:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C0E1821F89FE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  2 Jun 2012 04:01:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sam3z-00050H-UR for ietf-http-wg-dist@listhub.w3.org; Sat, 02 Jun 2012 11:00:07 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sam3q-0003q6-4d for ietf-http-wg@listhub.w3.org; Sat, 02 Jun 2012 10:59:58 +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 1Sam3n-00029i-5s for ietf-http-wg@w3.org; Sat, 02 Jun 2012 10:59:56 +0000
Received: (qmail invoked by alias); 02 Jun 2012 10:59:29 -0000
Received: from p54BB353B.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.53.59] by mail.gmx.net (mp030) with SMTP; 02 Jun 2012 12:59:29 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/dQDgu5MndEGq48nXW4PSND0FpzQF35CBnRPn29/ IRDsDnpQhUyg1f
Message-ID: <4FC9F20F.6060205@gmx.de>
Date: Sat, 02 Jun 2012 12:59:27 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
CC: Mark Nottingham <mnot@mnot.net>, Apps Discuss <discuss@apps.ietf.org>,  Mike Kelly <mike@stateless.co>
References: <7B9B7D15-9510-4C90-9B77-EEC55262758C@mnot.net>
In-Reply-To: <7B9B7D15-9510-4C90-9B77-EEC55262758C@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Sam3n-00029i-5s e5da2fc55c392b64ef273c100e04b499
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI: LCI -02
Archived-At: <http://www.w3.org/mid/4FC9F20F.6060205@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13594
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sam3z-00050H-UR@frink.w3.org>
Resent-Date: Sat, 02 Jun 2012 11:00:07 +0000

On 2012-06-01 03:08, Mark Nottingham wrote:
> We've published an -02 draft of LCI:
>    <http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-02>
>
> and intend to request publication as an Individual Submission Informational RFC soon (the link relations have just been submitted for review). Feedback still welcome (http list is best, I think).
> ...

HTTPbis introduces a registry for cache directives (see 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p6-cache-19.html#rfc.section.3.2.3>).

Would it make sense to change the dependency from RFC 2616 to HTTPbis, 
and to register as defined in Part 6?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sat Jun  2 05:07: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 2E05621F8A5A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 05:07: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31-+KXptN6GM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  2 Jun 2012 05:07:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8A0A121F8A4D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  2 Jun 2012 05:07:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1San61-0005pZ-JJ for ietf-http-wg-dist@listhub.w3.org; Sat, 02 Jun 2012 12:06:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1San5r-0005oi-ED for ietf-http-wg@listhub.w3.org; Sat, 02 Jun 2012 12:06: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 1San5o-0006vB-O1 for ietf-http-wg@w3.org; Sat, 02 Jun 2012 12:06:05 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 5FE1FE6E39 for <ietf-http-wg@w3.org>; Sun,  3 Jun 2012 00:05:39 +1200 (NZST)
Message-ID: <4FCA018A.80108@treenet.co.nz>
Date: Sun, 03 Jun 2012 00:05:30 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@mnot.net> <4FC9EB37.3060709@gmx.de>
In-Reply-To: <4FC9EB37.3060709@gmx.de>
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=-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 1San5o-0006vB-O1 d00bc8a51af2b59aa33c993544072a17
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/4FCA018A.80108@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13595
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1San61-0005pZ-JJ@frink.w3.org>
Resent-Date: Sat, 02 Jun 2012 12:06:17 +0000

On 2/06/2012 10:30 p.m., Julian Reschke wrote:
> On 2012-06-01 02:50, Mark Nottingham wrote:
>>
>> On 31/05/2012, at 11:59 PM, Stephen Farrell wrote:
>>>> """
>>>> Both the Authorization field value and the Proxy-Authorization 
>>>> field value contain the client's credentials for the realm of the 
>>>> resource being requested, based upon a challenge received from the 
>>>> server (possibly at some point in the past). When creating their 
>>>> values, the user agent ought to do so by selecting the challenge 
>>>> with what it considers to be the most secure auth-scheme that it 
>>>> understands, obtaining credentials from the user as appropriate.
>>>> """
>>>
>>> Could be a can of worms so feel free to ignore me
>>
>> I suspect it's a bit of one.
>>
>>> but is
>>> the term credentials there correct? Perhaps authenticator
>>> would be better? If we do manage to get better schemes
>>> defined then someday not all of these would allow derivation
>>> of an underlying password credential.
>>
>>
>> How about a nice generic "details", as in "obtaining details from the 
>> user as appropriate."?
>> ...
>
> -1; if we change the terms we should do so consistently.
>
> Best regards, Julian
>

-1 as well. "credentials" carries clear message of something which 
carries authority and must be treated carefully. "details" does not.

As of right now wikipedia have a nice clear definition:
"
A credential is an attestation of qualification, competence, or 
authority issued to an individual by a third party with a relevant or de 
facto authority or assumed competence to do so.

Examples of credentials include academic diplomas, academic degrees, 
certifications, security clearances, identification documents, badges, 
passwords, user names, keys, powers of attorney, and so on.
"


Personally I think "credentials" is clearly data while "authenticator" 
implies a process actor. Switching that around could add a lot of confusion.

+1 for the status-quo.

AYJ


From ietf-http-wg-request@listhub.w3.org  Sun Jun  3 17:48: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 4A66421F87D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 17:48:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.636
X-Spam-Level: 
X-Spam-Status: No, score=-7.636 tagged_above=-999 required=5 tests=[AWL=2.963, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kadZrJrVybXf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 17:48:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6597C21F87BE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  3 Jun 2012 17:48:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbLRG-0008HV-3A for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 00:46:30 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SbLR4-0008GX-BN for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 00:46: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 1SbLR1-0003xf-Jq for ietf-http-wg@w3.org; Mon, 04 Jun 2012 00:46:16 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.203.31]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id EA72422E1EB; Sun,  3 Jun 2012 20:45:51 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FC9EB37.3060709@gmx.de>
Date: Mon, 4 Jun 2012 10:45:47 +1000
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8CA0F06B-4CAF-4065-9F6C-B9A3D123DAEA@mnot.net>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@mnot.net> <4FC9EB37.3060709@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SbLR1-0003xf-Jq 3a2da855e260f205e0bee146f3f7c761
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/8CA0F06B-4CAF-4065-9F6C-B9A3D123DAEA@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13596
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbLRG-0008HV-3A@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 00:46:30 +0000

On 02/06/2012, at 8:30 PM, Julian Reschke wrote:

> On 2012-06-01 02:50, Mark Nottingham wrote:
>>=20
>> On 31/05/2012, at 11:59 PM, Stephen Farrell wrote:
>>>> """
>>>> Both the Authorization field value and the Proxy-Authorization =
field value contain the client's credentials for the realm of the =
resource being requested, based upon a challenge received from the =
server (possibly at some point in the past). When creating their values, =
the user agent ought to do so by selecting the challenge with what it =
considers to be the most secure auth-scheme that it understands, =
obtaining credentials from the user as appropriate.
>>>> """
>>>=20
>>> Could be a can of worms so feel free to ignore me
>>=20
>> I suspect it's a bit of one.
>>=20
>>> but is
>>> the term credentials there correct? Perhaps authenticator
>>> would be better? If we do manage to get better schemes
>>> defined then someday not all of these would allow derivation
>>> of an underlying password credential.
>>=20
>>=20
>> How about a nice generic "details", as in "obtaining details from the =
user as appropriate."?
>> ...
>=20
> -1; if we change the terms we should do so consistently.


I thought "details" captured a certain vagueness that would help in this =
particular case. YMMV.

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





From ietf-http-wg-request@listhub.w3.org  Sun Jun  3 17:49: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 894E221F87D3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 17:49:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.742
X-Spam-Level: 
X-Spam-Status: No, score=-7.742 tagged_above=-999 required=5 tests=[AWL=2.857, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XGaUu8u5qqXN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 17:49:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F112321F87D2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  3 Jun 2012 17:49:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbLTh-0008Si-Ov for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 00:49:01 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SbLTY-0008Nc-MZ for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 00:48:52 +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 1SbLTV-00040B-HG for ietf-http-wg@w3.org; Mon, 04 Jun 2012 00:48:50 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.203.31]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id AC8D722E1EB; Sun,  3 Jun 2012 20:48:27 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FC9E861.9000305@gmx.de>
Date: Mon, 4 Jun 2012 10:48:23 +1000
Cc: Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <10708679-B242-4F1D-9407-100B0E68CBAE@mnot.net>
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <CABkgnnVyGh4AvakXTpMsoF5Ge8rEY69SHMvotS2StF+Pg3rYAA@mail.gmail.com> <4FC9E861.9000305@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SbLTV-00040B-HG c97643a292015c59a7884637f5ad05ec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/10708679-B242-4F1D-9407-100B0E68CBAE@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13598
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbLTh-0008Si-Ov@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 00:49:01 +0000

Looks good to me; anyone have a problem?


On 02/06/2012, at 8:18 PM, Julian Reschke wrote:

> On 2012-05-31 18:11, Martin Thomson wrote:
>> On 31 May 2012 05:09, Mark Nottingham<mnot@mnot.net>  wrote:
>>> 6.2 Protection Spaces
>>>=20
>>> Authentication schemes that use the "realm" mechanism for =
establishing a protection space will expose credentials to all resources =
on a server. This makes it possible for a resource to harvest =
authentication credentials for other resources on the same server.
>>>=20
>>> This is of particular concern when a servers hosts resources for =
multiple parties. Possible mitigation strategies include restricting =
direct access to authentication credentials (i.e., not making the =
content of the Authorization request header available), and separating =
protection spaces by using a different hostname for each party.
>>=20
>> Thanks.  That addresses my concern.
>>=20
>> Though it would seem that the problem isn't well understood.  Maybe
>> insert a bit more exposition...
>>=20
>> """[...] will expose credentials to all resources on a server. =
Clients
>> that have successfully made authenticated requests with a resource =
can
>> use the same authentication credentials for all resources on the same
>> server. This makes it possible for a [...]"""
>=20
> Thanks, Martin.
>=20
> I slightly tuned all of this to:
>=20
> > 6.2.  Protection Spaces
> >
> >  Authentication schemes that use the "realm" mechanism for
> >  establishing a protection space will expose credentials to all
> >  resources on a server.  Clients that have successfully made
> >  authenticated requests with a resource can use the same
> >  authentication credentials for other resources on the same server.
> >  This makes it possible for a different resource to harvest
> >  authentication credentials for other resources.
> >
> >  This is of particular concern when a server hosts resources for
> >  multiple parties.  Possible mitigation strategies include =
restricting
> >  direct access to authentication credentials (i.e., not making the
> >  content of the Authorization request header field available), and
> >  separating protection spaces by using a different host name for =
each
> >  party.
>=20
> =
(<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/348/348.dif=
f>)
>=20
> Feedback appreciated, Julian
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Sun Jun  3 17:49: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 BBE2F21F87D2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 17:49:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.84
X-Spam-Level: 
X-Spam-Status: No, score=-7.84 tagged_above=-999 required=5 tests=[AWL=2.759, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O27HlwgLm6Mt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 17:49:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D9B2021F87BE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  3 Jun 2012 17:49:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbLSV-0008Ih-QR for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 00:47:47 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SbLSL-0008Ho-Q4 for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 00:47:37 +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 1SbLSJ-0003z3-8I for ietf-http-wg@w3.org; Mon, 04 Jun 2012 00:47:36 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.203.31]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 48E5822E256; Sun,  3 Jun 2012 20:47:12 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FCA018A.80108@treenet.co.nz>
Date: Mon, 4 Jun 2012 10:47:08 +1000
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <9EA59DB7-A42F-436B-81E7-7F7B15DA5DF9@mnot.net>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@mnot.net> <4FC9EB37.3060709@gmx.de> <4FCA018A.80108@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SbLSJ-0003z3-8I 932a8a6bd131e3e806d8e72f9e2f83d5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/9EA59DB7-A42F-436B-81E7-7F7B15DA5DF9@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13597
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbLSV-0008Ih-QR@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 00:47:47 +0000

On 02/06/2012, at 10:05 PM, Amos Jeffries wrote:
>=20
> -1 as well. "credentials" carries clear message of something which =
carries authority and must be treated carefully. "details" does not.
>=20
> As of right now wikipedia have a nice clear definition:
> "
> A credential is an attestation of qualification, competence, or =
authority issued to an individual by a third party with a relevant or de =
facto authority or assumed competence to do so.
>=20
> Examples of credentials include academic diplomas, academic degrees, =
certifications, security clearances, identification documents, badges, =
passwords, user names, keys, powers of attorney, and so on.
> "
>=20
>=20
> Personally I think "credentials" is clearly data while "authenticator" =
implies a process actor. Switching that around could add a lot of =
confusion.
>=20
> +1 for the status-quo.


I'd thought the issue was that we already use "credentials" to denote =
what-goes-on-the-wire, not =
what-goes-into-the-ua-and-is-munged-to-get-onto-the-wire. If we don't =
need to make a distinction between the two, I agree that credentials is =
fine.

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





From ietf-http-wg-request@listhub.w3.org  Sun Jun  3 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 F143F21F87B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NZjiWH5Cx3SU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 17:59:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4AB1B21F87A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  3 Jun 2012 17:59:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbLcX-0000RH-9i for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 00:58:09 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <derhoermi@gmx.net>) id 1SbLcO-0000Px-As for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 00:58:00 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1SbLcL-0003CC-6Y for ietf-http-wg@w3.org; Mon, 04 Jun 2012 00:57:58 +0000
Received: (qmail invoked by alias); 04 Jun 2012 00:57:30 -0000
Received: from dslb-094-222-139-216.pools.arcor-ip.net (EHLO HIVE) [94.222.139.216] by mail.gmx.net (mp072) with SMTP; 04 Jun 2012 02:57:30 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX18zLZ4aoWMzzW+wM/XqqaPnGjJoQLf/EgZhGDbkN8 juuOCMjsSOR9m+
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Mark Nottingham <mnot@mnot.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 04 Jun 2012 02:57:35 +0200
Message-ID: <7o1os7145351k97h0ooitt3ebje8n7q8so@hive.bjoern.hoehrmann.de>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@mnot.net> <4FC9EB37.3060709@gmx.de> <8CA0F06B-4CAF-4065-9F6C-B9A3D123DAEA@mnot.net>
In-Reply-To: <8CA0F06B-4CAF-4065-9F6C-B9A3D123DAEA@mnot.net>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=derhoermi@gmx.net; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SbLcL-0003CC-6Y 110d8532d3d07a0118ce8b8f6ad4b63e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/7o1os7145351k97h0ooitt3ebje8n7q8so@hive.bjoern.hoehrmann.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13599
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbLcX-0000RH-9i@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 00:58:09 +0000

* Mark Nottingham wrote:
>On 02/06/2012, at 8:30 PM, Julian Reschke wrote:
>> -1; if we change the terms we should do so consistently.
>
>I thought "details" captured a certain vagueness that would help in this particular case. YMMV.

I agree with Julian in that if we want to consider changing the termino-
logy, we should do that in a dedicated thread rather than arguing about
the terms in the particular example, short of a rationale why this par-
ticular instance is exceptional. I don't think, in any case, "details"
would be a good replacement.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


From ietf-http-wg-request@listhub.w3.org  Sun Jun  3 18:00: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 7DC2821F8794 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 18:00:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.889
X-Spam-Level: 
X-Spam-Status: No, score=-7.889 tagged_above=-999 required=5 tests=[AWL=2.710, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z2n8i4IfkeG5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 18:00:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0934921F8762 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  3 Jun 2012 18:00:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbLdP-0000T9-73 for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 00:59:03 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SbLdF-0000SG-4H for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 00:58:53 +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 1SbLdC-0004Dp-6B for ietf-http-wg@w3.org; Mon, 04 Jun 2012 00:58:51 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.203.31]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9EFA122E1F4; Sun,  3 Jun 2012 20:58:27 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <7o1os7145351k97h0ooitt3ebje8n7q8so@hive.bjoern.hoehrmann.de>
Date: Mon, 4 Jun 2012 10:58:23 +1000
Cc: Julian Reschke <julian.reschke@gmx.de>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D14EA701-3F2E-46D0-92D8-D489FC8BDAD9@mnot.net>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@mnot.net> <4FC9EB37.3060709@gmx.de> <8CA0F06B-4CAF-4065-9F6C-B9A3D123DAEA@mnot.net> <7o1os7145351k97h0ooitt3ebje8n7q8so@hive.bjoern.hoehrmann.de>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SbLdC-0004Dp-6B f385dc16f6424906e309c58131e27f7e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/D14EA701-3F2E-46D0-92D8-D489FC8BDAD9@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13600
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbLdP-0000T9-73@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 00:59:03 +0000

On 04/06/2012, at 10:57 AM, Bjoern Hoehrmann wrote:

> * Mark Nottingham wrote:
>> On 02/06/2012, at 8:30 PM, Julian Reschke wrote:
>>> -1; if we change the terms we should do so consistently.
>>=20
>> I thought "details" captured a certain vagueness that would help in =
this particular case. YMMV.
>=20
> I agree with Julian in that if we want to consider changing the =
termino-
> logy, we should do that in a dedicated thread rather than arguing =
about
> the terms in the particular example, short of a rationale why this =
par-
> ticular instance is exceptional. I don't think, in any case, "details"
> would be a good replacement.

See my subsequent message; my understanding was that this is a special =
case, because it's not talking about what's happening on the wire.

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Sun Jun  3 18:39: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 001B421F87F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 18:39:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.788
X-Spam-Level: 
X-Spam-Status: No, score=-7.788 tagged_above=-999 required=5 tests=[AWL=2.811, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G4RVBrjjAx4f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 18:39:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7433C21F87ED for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  3 Jun 2012 18:39:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbMG9-0000X0-Lm for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 01:39:05 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SbMG0-0000Vd-NG for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 01:38:56 +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 1SbMFx-0005Dd-BF for ietf-http-wg@w3.org; Mon, 04 Jun 2012 01:38:54 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.203.31]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3E19122E259; Sun,  3 Jun 2012 21:38:24 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FC9F20F.6060205@gmx.de>
Date: Mon, 4 Jun 2012 11:38:20 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Apps Discuss <discuss@apps.ietf.org>, Mike Kelly <mike@stateless.co>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A29BE35F-2713-4147-B79A-60C3440B586A@mnot.net>
References: <7B9B7D15-9510-4C90-9B77-EEC55262758C@mnot.net> <4FC9F20F.6060205@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SbMFx-0005Dd-BF 5e07b602d54e673dd42d360c4e66e759
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI: LCI -02
Archived-At: <http://www.w3.org/mid/A29BE35F-2713-4147-B79A-60C3440B586A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13601
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbMG9-0000X0-Lm@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 01:39:05 +0000

On 02/06/2012, at 8:59 PM, Julian Reschke wrote:

> On 2012-06-01 03:08, Mark Nottingham wrote:
>> We've published an -02 draft of LCI:
>>   <http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-02>
>>=20
>> and intend to request publication as an Individual Submission =
Informational RFC soon (the link relations have just been submitted for =
review). Feedback still welcome (http list is best, I think).
>> ...
>=20
> HTTPbis introduces a registry for cache directives (see =
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p6-cache-19.html#rfc.=
section.3.2.3>).
>=20
> Would it make sense to change the dependency from RFC 2616 to HTTPbis, =
and to register as defined in Part 6?

I'm not against it, although it'd require reworking the BNF. I'll look =
into it.

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Sun Jun  3 22:19: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 5455121F8897 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 22:19:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.673
X-Spam-Level: 
X-Spam-Status: No, score=-5.673 tagged_above=-999 required=5 tests=[AWL=4.926, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vwW0r3gCw+sT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 22:19:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 793C721F883C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  3 Jun 2012 22:19:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbPfz-00076a-Py for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 05:17:59 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <James.H.Manger@team.telstra.com>) id 1SbPfZ-00075Y-01 for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 05:17:33 +0000
Received: from ipxano.tcif.telstra.com.au ([203.35.82.200]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1SbPfV-0002Ve-46 for ietf-http-wg@w3.org; Mon, 04 Jun 2012 05:17:31 +0000
X-IronPort-AV: E=Sophos;i="4.75,711,1330866000";  d="scan'208";a="81489806"
Received: from unknown (HELO ipccni.tcif.telstra.com.au) ([10.97.216.208]) by ipoani.tcif.telstra.com.au with ESMTP; 04 Jun 2012 15:16:59 +1000
X-IronPort-AV: E=McAfee;i="5400,1158,6731"; a="67839999"
Received: from wsmsg3751.srv.dir.telstra.com ([172.49.40.172]) by ipccni.tcif.telstra.com.au with ESMTP; 04 Jun 2012 15:16:59 +1000
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3751.srv.dir.telstra.com ([172.49.40.172]) with mapi; Mon, 4 Jun 2012 15:16:58 +1000
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: Mark Nottingham <mnot@mnot.net>, Julian Reschke <julian.reschke@gmx.de>
CC: Martin Thomson <martin.thomson@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 4 Jun 2012 15:16:57 +1000
Thread-Topic: WGLC #348: Realms and scope
Thread-Index: Ac1B6+8Bl/hd+nt6ThO+msHiSRiKcgAIkN1g
Message-ID: <255B9BB34FB7D647A506DC292726F6E114F51D2CD9@WSMSG3153V.srv.dir.telstra.com>
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <CABkgnnVyGh4AvakXTpMsoF5Ge8rEY69SHMvotS2StF+Pg3rYAA@mail.gmail.com> <4FC9E861.9000305@gmx.de> <10708679-B242-4F1D-9407-100B0E68CBAE@mnot.net>
In-Reply-To: <10708679-B242-4F1D-9407-100B0E68CBAE@mnot.net>
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: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: none client-ip=203.35.82.200; envelope-from=James.H.Manger@team.telstra.com; helo=ipxano.tcif.telstra.com.au
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SbPfV-0002Ve-46 b8850a056d26142fcdd9b0814b87b440
X-Original-To: ietf-http-wg@w3.org
Subject: RE: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/255B9BB34FB7D647A506DC292726F6E114F51D2CD9@WSMSG3153V.srv.dir.telstra.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13602
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbPfz-00076a-Py@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 05:17:59 +0000

Pj4+ICBQb3NzaWJsZSBtaXRpZ2F0aW9uIHN0cmF0ZWdpZXMgaW5jbHVkZSByZXN0cmljdGluZw0K
Pj4+ICBkaXJlY3QgYWNjZXNzIHRvIGF1dGhlbnRpY2F0aW9uIGNyZWRlbnRpYWxzIChpLmUuLCBu
b3QgbWFraW5nIHRoZQ0KPj4+ICBjb250ZW50IG9mIHRoZSBBdXRob3JpemF0aW9uIHJlcXVlc3Qg
aGVhZGVyIGZpZWxkIGF2YWlsYWJsZSksIGFuZA0KPj4+ICBzZXBhcmF0aW5nIHByb3RlY3Rpb24g
c3BhY2VzIGJ5IHVzaW5nIGEgZGlmZmVyZW50IGhvc3QgbmFtZSBmb3INCj4+PiAgZWFjaCBwYXJ0
eS4NCg0KQ291bGQgd2UgbWVudGlvbiB0aGUgYmVzdCBtaXRpZ2F0aW9uIHN0cmF0ZWd5ICh1c2lu
ZyBhIHBoaXNoaW5nLXJlc2lzdGFudCBhdXRoZW50aWNhdGlvbiBzY2hlbWUgdGhhdCBkb2VzIG5v
dCBleHBvc2UgdGhlIGNsaWVudCBjcmVkZW50aWFscyBpbiB0aGUgcHJvdG9jb2wpLCBpbnN0ZWFk
IG9mIHRoZSBzdHJhdGVneSBvZiByZXN0cmljdGluZyBhY2Nlc3MgdG8gdGhlICJBdXRob3JpemF0
aW9uIiB2YWx1ZSAod2hpY2ggbWFrZXMgaXQgaGFyZCB0byBkZXBsb3kgYmV0dGVyIGF1dGhlbnRp
Y2F0aW9uIHNjaGVtZXMgdGhhdCBuZWVkIGFjY2VzcyB0byB0aGlzIGhlYWRlcikuDQoNCi0tDQpK
YW1lcyBNYW5nZXINCg0KDQo+IExvb2tzIGdvb2QgdG8gbWU7IGFueW9uZSBoYXZlIGEgcHJvYmxl
bT8NCj4gDQo+IA0KPiA+DQo+ID4gPiA2LjIuICBQcm90ZWN0aW9uIFNwYWNlcw0KPiA+ID4NCj4g
PiA+ICBBdXRoZW50aWNhdGlvbiBzY2hlbWVzIHRoYXQgdXNlIHRoZSAicmVhbG0iIG1lY2hhbmlz
bSBmb3INCj4gPiA+ICBlc3RhYmxpc2hpbmcgYSBwcm90ZWN0aW9uIHNwYWNlIHdpbGwgZXhwb3Nl
IGNyZWRlbnRpYWxzIHRvIGFsbA0KPiA+ID4gIHJlc291cmNlcyBvbiBhIHNlcnZlci4gIENsaWVu
dHMgdGhhdCBoYXZlIHN1Y2Nlc3NmdWxseSBtYWRlDQo+ID4gPiAgYXV0aGVudGljYXRlZCByZXF1
ZXN0cyB3aXRoIGEgcmVzb3VyY2UgY2FuIHVzZSB0aGUgc2FtZQ0KPiA+ID4gIGF1dGhlbnRpY2F0
aW9uIGNyZWRlbnRpYWxzIGZvciBvdGhlciByZXNvdXJjZXMgb24gdGhlIHNhbWUgc2VydmVyLg0K
PiA+ID4gIFRoaXMgbWFrZXMgaXQgcG9zc2libGUgZm9yIGEgZGlmZmVyZW50IHJlc291cmNlIHRv
IGhhcnZlc3QNCj4gPiA+ICBhdXRoZW50aWNhdGlvbiBjcmVkZW50aWFscyBmb3Igb3RoZXIgcmVz
b3VyY2VzLg0KPiA+ID4NCj4gPiA+ICBUaGlzIGlzIG9mIHBhcnRpY3VsYXIgY29uY2VybiB3aGVu
IGEgc2VydmVyIGhvc3RzIHJlc291cmNlcyBmb3INCj4gPiA+ICBtdWx0aXBsZSBwYXJ0aWVzLiAg
UG9zc2libGUgbWl0aWdhdGlvbiBzdHJhdGVnaWVzIGluY2x1ZGUNCj4gcmVzdHJpY3RpbmcNCj4g
PiA+ICBkaXJlY3QgYWNjZXNzIHRvIGF1dGhlbnRpY2F0aW9uIGNyZWRlbnRpYWxzIChpLmUuLCBu
b3QgbWFraW5nIHRoZQ0KPiA+ID4gIGNvbnRlbnQgb2YgdGhlIEF1dGhvcml6YXRpb24gcmVxdWVz
dCBoZWFkZXIgZmllbGQgYXZhaWxhYmxlKSwgYW5kDQo+ID4gPiAgc2VwYXJhdGluZyBwcm90ZWN0
aW9uIHNwYWNlcyBieSB1c2luZyBhIGRpZmZlcmVudCBob3N0IG5hbWUgZm9yDQo+IGVhY2gNCj4g
PiA+ICBwYXJ0eS4NCj4gPg0KPiA+DQo+ICg8aHR0cDovL3RyYWMudG9vbHMuaWV0Zi5vcmcvd2cv
aHR0cGJpcy90cmFjL2F0dGFjaG1lbnQvdGlja2V0LzM0OC8zNDguDQo+IGRpZmY+KQ0KPiA+DQoN
Cg==


From ietf-http-wg-request@listhub.w3.org  Sun Jun  3 22: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 C021521F87D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 22: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DF8RPChKER2t for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun,  3 Jun 2012 22:57:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C857E21F879C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun,  3 Jun 2012 22:57:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbQGU-0005is-17 for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 05:55:42 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dwm@xpasc.com>) id 1SbQGH-0005hL-9m for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 05:55:29 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1SbQGE-0004Ry-En for ietf-http-wg@w3.org; Mon, 04 Jun 2012 05:55:27 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 890653F9A5 for <ietf-http-wg@w3.org>; Mon,  4 Jun 2012 05:54:59 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q545ssRd015725 for <ietf-http-wg@w3.org>; Sun, 3 Jun 2012 22:54:58 -0700
Date: Sun, 3 Jun 2012 22:54:54 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: HTTP Working Group <ietf-http-wg@w3.org>
To: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <D14EA701-3F2E-46D0-92D8-D489FC8BDAD9@mnot.net>
Message-ID: <alpine.LRH.2.01.1206032251480.8250@egate.xpasc.com>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@mnot.net> <4FC9EB37.3060709@gmx.de> <8CA0F06B-4CAF-4065-9F6C-B9A3D123DAEA@mnot.net> <7o1os7145351k97h0ooitt3ebje8n7q8so@hive.bjoern.hoehrmann.de> <D14EA701-3F2E-46D0-92D8-D489FC8BDAD9@mnot.net>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.24-gef8a08a
X-CLX-ID: a110AD3GD7Hu1vr-532254x
X-CLX-Spam: false
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.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: lisa.w3.org 1SbQGE-0004Ry-En 71dd40d7b6ecc4e9aa1ca9509058a3f4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1206032251480.8250@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13603
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbQGU-0005is-17@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 05:55:42 +0000

On Mon, 4 Jun 2012, Mark Nottingham wrote:

> 
> On 04/06/2012, at 10:57 AM, Bjoern Hoehrmann wrote:
> 
> > * Mark Nottingham wrote:
> >> On 02/06/2012, at 8:30 PM, Julian Reschke wrote:
> >>> -1; if we change the terms we should do so consistently.
> >> 
> >> I thought "details" captured a certain vagueness that would help in this particular case. YMMV.
> > 
> > I agree with Julian in that if we want to consider changing the termino-
> > logy, we should do that in a dedicated thread rather than arguing about
> > the terms in the particular example, short of a rationale why this par-
> > ticular instance is exceptional. I don't think, in any case, "details"
> > would be a good replacement.
> 
> See my subsequent message; my understanding was that this is a special 
> case, because it's not talking about what's happening on the wire.

I don't see a reason to call what is on the wire anything different than 
what is provided by the user. It is encoded according to the rules of
the authentication method. There is no clarity that I can divine with
the additional complexity.


From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 01:10: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 50F6C21F8760 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 01:10:45 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QkgeRlfF6NrW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 01:10:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ABB3D21F8736 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 01:10:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbSMB-00022o-Tc for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 08:09:43 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SbSM0-00021m-Si for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 08:09:32 +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 1SbSLt-00008v-Ed for ietf-http-wg@w3.org; Mon, 04 Jun 2012 08:09:30 +0000
Received: (qmail invoked by alias); 04 Jun 2012 08:08:59 -0000
Received: from p5DD95FED.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.95.237] by mail.gmx.net (mp040) with SMTP; 04 Jun 2012 10:08:59 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/ctKUS9h/c+D4qo8bQmJVG8w47Iw/GjZG0gKwONq HPsDenwzc5WxyF
Message-ID: <4FCC6D13.9020106@gmx.de>
Date: Mon, 04 Jun 2012 10:08:51 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
CC: Mark Nottingham <mnot@mnot.net>, Apps Discuss <discuss@apps.ietf.org>,  Mike Kelly <mike@stateless.co>
References: <7B9B7D15-9510-4C90-9B77-EEC55262758C@mnot.net>
In-Reply-To: <7B9B7D15-9510-4C90-9B77-EEC55262758C@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=-1.9
X-W3C-Hub-Spam-Report: 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 1SbSLt-00008v-Ed 0da693e5240e0b4276e8a806a80c939f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI: LCI -02
Archived-At: <http://www.w3.org/mid/4FCC6D13.9020106@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13604
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbSMB-00022o-Tc@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 08:09:43 +0000

On 2012-06-01 03:08, Mark Nottingham wrote:
> We've published an -02 draft of LCI:
>    <http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-02>
>
> and intend to request publication as an Individual Submission Informational RFC soon (the link relations have just been submitted for review). Feedback still welcome (http list is best, I think).

Here's another question: the proposal defines both a cache directive and 
link relations. Have you considered putting all the link-related 
information into a cache directive as well? (Not saying it should be the 
case but wondering whether that would keep things together that belong 
together).

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 01:19: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 8224621F8779 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 01:19:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.898
X-Spam-Level: 
X-Spam-Status: No, score=-8.898 tagged_above=-999 required=5 tests=[AWL=1.701, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 756WCoF5gPDo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 01:19:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0E4CA21F8778 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 01:19:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbSUo-0005sV-01 for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 08:18:38 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1SbSQf-0003M4-JK for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 08:14:21 +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 1SbSQc-0000LJ-EM for ietf-http-wg@w3.org; Mon, 04 Jun 2012 08:14:19 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 7C4CF1407D; Mon,  4 Jun 2012 08:11:36 +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 q548BYfO020394; Mon, 4 Jun 2012 08:11:34 GMT (envelope-from phk@phk.freebsd.dk)
To: Julian Reschke <julian.reschke@gmx.de>
cc: HTTP Working Group <ietf-http-wg@w3.org>, Mark Nottingham <mnot@mnot.net>, Apps Discuss <discuss@apps.ietf.org>, Mike Kelly <mike@stateless.co>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 04 Jun 2012 10:08:51 +0200." <4FCC6D13.9020106@gmx.de>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 04 Jun 2012 08:11:34 +0000
Message-ID: <20393.1338797494@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SbSQc-0000LJ-EM 94e7b100f155c153fc9b07f6d7216fba
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI: LCI -02
Archived-At: <http://www.w3.org/mid/20393.1338797494@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13605
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbSUo-0005sV-01@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 08:18:38 +0000

In message <4FCC6D13.9020106@gmx.de>, Julian Reschke writes:

>Here's another question: the proposal defines both a cache directive and 
>link relations. Have you considered putting all the link-related 
>information into a cache directive as well? (Not saying it should be the 
>case but wondering whether that would keep things together that belong 
>together).

I think that will wastly increase the chances that people understand
how to use 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  Mon Jun  4 03:37: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 83A8D21F87A7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 03:37:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.799
X-Spam-Level: 
X-Spam-Status: No, score=-7.799 tagged_above=-999 required=5 tests=[AWL=2.800, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DxVqO8Uu6qxY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 03:37:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C111821F8644 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 03:37:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbUdn-0000xY-7W for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 10:36:03 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SbUda-0000u0-LE for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 10:35:50 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by aji.keio.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <mnot@mnot.net>) id 1SbUdM-0003DG-CO for ietf-http-wg@w3.org; Mon, 04 Jun 2012 10:35:43 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.203.31]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6893D22E1EB; Mon,  4 Jun 2012 06:33:51 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FCC6D13.9020106@gmx.de>
Date: Mon, 4 Jun 2012 20:33:47 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Apps Discuss <discuss@apps.ietf.org>, Mike Kelly <mike@stateless.co>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D56AA605-F799-407A-AB0C-F97D080A1DEA@mnot.net>
References: <7B9B7D15-9510-4C90-9B77-EEC55262758C@mnot.net> <4FCC6D13.9020106@gmx.de>
To: "Julian F. Reschke" <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: aji.keio.w3.org 1SbUdM-0003DG-CO 9f1a2fe93f592f4aa947dd2e3e7a7b37
X-Original-To: ietf-http-wg@w3.org
Subject: Re: FYI: LCI -02
Archived-At: <http://www.w3.org/mid/D56AA605-F799-407A-AB0C-F97D080A1DEA@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13606
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbUdn-0000xY-7W@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 10:36:03 +0000

On 04/06/2012, at 6:08 PM, Julian Reschke wrote:

> On 2012-06-01 03:08, Mark Nottingham wrote:
>> We've published an -02 draft of LCI:
>>   <http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-02>
>>=20
>> and intend to request publication as an Individual Submission =
Informational RFC soon (the link relations have just been submitted for =
review). Feedback still welcome (http list is best, I think).
>=20
> Here's another question: the proposal defines both a cache directive =
and link relations. Have you considered putting all the link-related =
information into a cache directive as well? (Not saying it should be the =
case but wondering whether that would keep things together that belong =
together).


Yes. However, some use cases are to strip the link on the way out, and =
it's easier to strip all Link headers than to parse and selectively =
change Cache-Control headers. I know that theoretically other Link =
headers could be emitted, but with current software, this is the easier =
path.

Additionally, I didn't want to rely on the quality of Cache-Control =
parsers already out there.

Also, we didn't want to re-invent the Link header and all of its =
associated machinery (e.g., relative vs. absolute, scoping, etc.).

Finally, it's conceivable that some folks might want to use the =
relations for other purposes.

After all, they may be separate headers, but they'll be in the same =
message.=20

Cheers,

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





From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 06:38: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 9FC4521F87F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 06:38:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.521
X-Spam-Level: 
X-Spam-Status: No, score=-6.521 tagged_above=-999 required=5 tests=[AWL=4.078, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ENsNM3C2uNtL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 06:38:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8F52121F87E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 06:38:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbXSe-0003ba-GL for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 13:36:44 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SbXS7-0003U5-Nj for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 13:36:11 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SbXRw-0004ms-Fw for ietf-http-wg@w3.org; Mon, 04 Jun 2012 13:36:09 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id CEB8D1714E6; Mon,  4 Jun 2012 14:35:35 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1338816935; bh=Du7L9say8h3gWY Wky22IqG5PkKgdx9hurc7WCwqKrK8=; b=WfiShvpuCJweq29/dTOt6zmZ+QF0Bd deNVtq5PmVvhdt9Mfy0+mBb+GsNMA66rBDTrrIUXWiGaWIwHEVtKxguWvjo/VO0f gBuGvftSBSnZ36YL6UyxNYgse+aItTZnrQVdvvpLUg8NXhYtPxoIGhYsebSIvB/B Q4Kab5gV/AxcHi0Ha34xrtQ68Hk1wN7x8pqm03+NurlmjxDp53LX3MFmXsXDItYJ 8WhN7WdWS+QASfKum+mvkAMHv9yZdfrdYZyMz7aK85Ps3I+mfiAx6OKuyQWICnD6 WS1HxPOoU47oKGlruIhFEZhXENhz1HVhSSGkVnUMitfXyICaIiYginrw==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id hzj4PPXAnb7s; Mon,  4 Jun 2012 14:35:35 +0100 (IST)
Received: from [10.87.48.8] (unknown [86.41.6.142]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 22D6C1714DC; Mon,  4 Jun 2012 14:35:29 +0100 (IST)
Message-ID: <4FCCB9A1.4050509@cs.tcd.ie>
Date: Mon, 04 Jun 2012 14:35:29 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@mnot.net> <4FC9EB37.3060709@gmx.de> <4FCA018A.80108@treenet.co.nz> <9EA59DB7-A42F-436B-81E7-7F7B15DA5DF9@mnot.net>
In-Reply-To: <9EA59DB7-A42F-436B-81E7-7F7B15DA5DF9@mnot.net>
X-Enigmail-Version: 1.4.1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SbXRw-0004ms-Fw 31927161157d7912d64795309fcd7560
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/4FCCB9A1.4050509@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13607
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbXSe-0003ba-GL@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 13:36:44 +0000

On 06/04/2012 01:47 AM, Mark Nottingham wrote:
> 
> On 02/06/2012, at 10:05 PM, Amos Jeffries wrote:
>>
>> -1 as well. "credentials" carries clear message of something which carries authority and must be treated carefully. "details" does not.
>>
>> As of right now wikipedia have a nice clear definition:
>> "
>> A credential is an attestation of qualification, competence, or authority issued to an individual by a third party with a relevant or de facto authority or assumed competence to do so.
>>
>> Examples of credentials include academic diplomas, academic degrees, certifications, security clearances, identification documents, badges, passwords, user names, keys, powers of attorney, and so on.
>> "
>>
>>
>> Personally I think "credentials" is clearly data while "authenticator" implies a process actor. Switching that around could add a lot of confusion.
>>
>> +1 for the status-quo.
> 
> 
> I'd thought the issue was that we already use "credentials" to denote what-goes-on-the-wire, not what-goes-into-the-ua-and-is-munged-to-get-onto-the-wire. If we don't need to make a distinction between the two, I agree that credentials is fine.

That's exactly the distinction I was trying to get at.
Thanks for stating it better.

Like I said I don't think its a major deal but maybe it'd
be worth making that distinction in the text but leaving
things alone otherwise?

The benefit, I think, is simply to help get developers
out of the "send password" mindset a bit. (Yes, there's
unfortunately a windmill, and yes, I'm tilting at it;-)

Maybe something like:

"The term credentials is used here for the bits sent
in the protocol, even though those bits are, in general,
the result of applying some function to a set of
credentials. For example, with digest authentication,
the "real" credential is the password, but the
set of bits sent are the output of a digest function
and not the actual password. In that example, the
bits sent are almost as sensitive as the underlying
credential, but with a putative digital signature based
scheme, then underlying credential (the private key)
would be highly sensitive, whereas the signature would
not. Developers ought ensure that appropriate steps
are taken to protect these values."

I'd be fine with s/ought/MUST/ or s/ought/SHOULD/ if
someone wanted, but its not really testable in the
protocol.

S

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


From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 07:32: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 8830A21F8881 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 07:32:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.977
X-Spam-Level: 
X-Spam-Status: No, score=-8.977 tagged_above=-999 required=5 tests=[AWL=1.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hXdMSGC+ZZ7R for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 07:32:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9D46721F86FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 07:32:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbYIz-0000dQ-0d for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 14:30:49 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <y.oiwa@aist.go.jp>) id 1SbYHr-0000Cs-VJ for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 14:29:40 +0000
Received: from na3sys010aog104.obsmtp.com ([74.125.245.76]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SbYGs-0007Z7-Dj for ietf-http-wg@w3.org; Mon, 04 Jun 2012 14:29:34 +0000
Received: from mail-pz0-f43.google.com ([209.85.210.43]) (using TLSv1) by na3sys010aob104.postini.com ([74.125.244.12]) with SMTP ID DSNKT8zGAHtCbEXaKgAfRA2f7KGDIiafXAx3@postini.com; Mon, 04 Jun 2012 07:28:38 PDT
Received: by dajz8 with SMTP id z8so5433647daj.2 for <ietf-http-wg@w3.org>; Mon, 04 Jun 2012 07:28:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=v3GafOP6fL96VBXamPc/taM6wYq8e2ZbDV4GugWD4gI=; b=E7L0SY49vnRbvBbQblVFy+llr+0rY0/zC2l6qskQjWAHu+ZIOAfbVcmhEFVTkTlCz0 NqhVPERRCZVa7SvwsaQVvJTMPfDsQGTjUtcnBjxOtb4ixkQjo2E3lFnhBF0SbPYwToL3 6FCVK3Qczb6Vs2ztouxftTi+ip880GVEgnz0A=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding:x-gm-message-state; bh=v3GafOP6fL96VBXamPc/taM6wYq8e2ZbDV4GugWD4gI=; b=BHQxM0Ryz2myDOc3SeOMHn5c7lvO6BU/pY4+Pr7vKG9vmrjmvJiA8DYg+IIL4/Gbyw uSVKmDZ8WpDkcDojqtgvMZ7QkEzMwzS+lkqB6E8ANgP9eBsyyATVG9QOfAYGSo2E6UxT X45q0oDOv/QCe5NJGwhbCsqfTtl8cFDpurfsea/uy7J3LbLXNCPe7AOI2ZFkvJd8vbDd CehIHmYbGFgYnFEJas65p+a4WfJ/NMHGc1Knc+zRx5c6S6GLxM8E7QeMeavvoh3K5lQN IwoxdOIUeXQt/u7UhXb4E4xhVWkP4JtC83clvFQm946HmIU10tfLxTaoWaomXmOIhsaA hw4w==
Received: by 10.68.227.67 with SMTP id ry3mr14110584pbc.158.1338820095459; Mon, 04 Jun 2012 07:28:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.42.83 with HTTP; Mon, 4 Jun 2012 07:27:55 -0700 (PDT)
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Mon, 4 Jun 2012 23:27:55 +0900
Message-ID: <CAMeZVwuGYZqoZOH1hvc=-YWFKUizjMJmj+=c3ZkgswdYYP3pxw@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>, "http-auth@ietf.org" <http-auth@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQm5cLG55X90tUWbFS0Kh+/IiVSpf04JOwCBxljv+8wMmUDU+dAyjxjRxmYVfw93laHAPc1D
Received-SPF: pass client-ip=74.125.245.76; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog104.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SbYGs-0007Z7-Dj a5aaac4ccf671328cdf45e0022fc87a5
X-Original-To: ietf-http-wg@w3.org
Subject: [httpauth] Mutual authentication proposal
Archived-At: <http://www.w3.org/mid/CAMeZVwuGYZqoZOH1hvc=-YWFKUizjMJmj+=c3ZkgswdYYP3pxw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13608
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbYIz-0000dQ-0d@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 14:30:49 +0000

Dear all,

with a few corrections from the May-21st draft,
I submitted the HTTP Mutual authentication draft as an httpbis proposal.

The proposal consists of two parts:

<http://www.ietf.org/id/draft-oiwa-httpbis-mutualauth-00.txt>
is the core proposal for HTTP Mutual authentication,
using RFC 2617 architecture.

<http://www.ietf.org/id/draft-oiwa-httpbis-auth-extension-00.txt>
is the important companion draft for generic extensions
which makes HTTP authentication useful again with
many Web applications.

The proposal is (both documents are) HTTP/1.1 compatible, and
as far as core HTTP request/response semantics are kept,
it should work with future HTTP/2.0, too.

I will set up wiki pages for these around tomorrow or so.
It will include information on available reference implementations,
some more introductions and so on.
I hope you will enjoy the proposed solution.

Following previous suggestions on http-auth, crypto primitive choices
are kept for future discussions.  One of primitive candidates,
which is now for an "example" or "reference" purpose,
is available as an "individual" draft at
<http://tools.ietf.org/html/draft-oiwa-http-mutualauth-algo-02>.
To implement the core proposal now, please refer this, too.


P. S.
I also incremented the individual draft revisions for book-keeping purpose.
(One of these depends on the revision numbers embedded to the protocol).
Contents of these are exactly the same as httpbis-proposed versions.

--=20
Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliability =
Research Group
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Institu=
te for Secure Systems (RISEC)
=A0 =A0National Institute of Advanced Industrial Science and Technology (AI=
ST)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.go.=
jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 46=
B5]


From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 07: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 9691A21F88AB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 07:51:11 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UH4kZVbJ3u4K for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 07:51:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 63D7E21F88A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 07:51:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbYbW-0008Ll-Qw for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 14:49:58 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1SbYbD-0008Im-GP for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 14:49:39 +0000
Received: from jay.w3.org ([128.30.52.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SbYbA-0000Fw-SC for ietf-http-wg@w3.org; Mon, 04 Jun 2012 14:49:37 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1SbYbB-0005sQ-2a for ietf-http-wg@w3.org; Mon, 04 Jun 2012 10:49:37 -0400
X-Return-path: <listmaster@w3.org>
X-Received: from lisa.w3.org ([128.30.52.41]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1Sa86d-0007RT-2t for ylafon@jay.w3.org; Thu, 31 May 2012 12:20:11 -0400
X-Received: from frink.w3.org ([128.30.52.56]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <listmaster@w3.org>) id 1Sa86c-0000K1-GO for ylafon@w3.org; Thu, 31 May 2012 16:20:10 +0000
X-Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <listmaster@w3.org>) id 1Sa86e-0008Gv-D1 for ylafon@w3.org; Thu, 31 May 2012 16:20:12 +0000
X-From_: jfrench@denirostaff.com Thu May 31 16:20:02 2012
X-Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jfrench@denirostaff.com>) id 1Sa86U-0008GD-PL for ietf-http-wg@listhub.w3.org; Thu, 31 May 2012 16:20:02 +0000
X-Received: from na3sys010aog112.obsmtp.com ([74.125.245.92]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <jfrench@denirostaff.com>) id 1Sa86Q-0006jB-T0 for ietf-http-wg@w3.org; Thu, 31 May 2012 16:20:00 +0000
X-Received: from mail-pz0-f54.google.com ([209.85.210.54]) (using TLSv1) by na3sys010aob112.postini.com ([74.125.244.12]) with SMTP ID DSNKT8eaGVGaaFegNpf0PldvGhTcDxSkeqY8@postini.com; Thu, 31 May 2012 09:19:59 PDT
X-Received: by dadv36 with SMTP id v36so1452893dad.41 for <ietf-http-wg@w3.org>; Thu, 31 May 2012 09:19:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denirostaff.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=bb+1UgnrXtYkYmZHFtnR+1wojfnXnrw02PdXjZly6B0=; b=IBO7nL7Yfx836LUJdP5mUQFJoMtKjFB+CF5sSGr1MRdCnrgZRFOJH59xWGKFO5+5Ur /3TY87pGaPSIA1RA3fF9OgENEil5InYHB2WIFYEI3H5AEGtZCH3IfqL8X3p6NzJDi46K 3nMQ0U+tvWVm4fBpBl2ZxQNZuxHmeiGpc37nU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=bb+1UgnrXtYkYmZHFtnR+1wojfnXnrw02PdXjZly6B0=; b=BRFAckozCUYgIWWg8lLq/cdC/vPxZr8TZXOISk1L3KhJ9lc3Q/h7N7+IGLbLcUM8XA Veq4HTUNFIrQuIH6lBUF2BIF8jw6q7qTmPqRxzevcKTiOzvyVCU9RXKf6tP5j4NWp5sF UMDPFGuWXLouqfMepEf0RtZ87RE04t7VJCt/9rUDMCBjGIcp8cuEmSedQedhVs1Q6YT1 KXUagUYPQe1GUT5Q+rMdZNcIwI4DBKmqElRToGHdkLfujXUPYAgCK+5iV0Y1ehq3knNW wK1tjdpKvI/2U4KVniLWRCHIWrSzQYJdL+CNwj+QfQ5zF0GAfU6bm64UmQBxu1xTUecK nmdw==
MIME-Version: 1.0
X-Received: by 10.68.197.41 with SMTP id ir9mr1276072pbc.20.1338481177057; Thu, 31 May 2012 09:19:37 -0700 (PDT)
X-Received: by 10.68.138.162 with HTTP; Thu, 31 May 2012 09:19:37 -0700 (PDT)
In-Reply-To: <86053556-FE93-4913-B8C9-989CCC735231@mnot.net>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net> <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net>
Old-Date: Thu, 31 May 2012 09:19:37 -0700
Message-ID: <CAD0z36UMSfX+c+439o7n4Otk5u4iVHAdz6FN8Zhpa36b1O8ijQ@mail.gmail.com>
From: James French <jfrench@denirostaff.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQllh12etgSnUPg7m+D1hxxtflYKEad9XlSjV/CvUHSEY9bt5AlnC/ZnAFISXyA8rydkJ1xH
Received-SPF: pass client-ip=74.125.245.92; envelope-from=jfrench@denirostaff.com; helo=na3sys010aog112.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sa86Q-0006jB-T0 4a6992f5922cc87e345595c3162e19bc
Old-X-Envelope-To: ietf-http-wg
Date: Thu, 31 May 2012 16:20:12 +0000
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu May 31 12:20:18 2012
X-DSPAM-Confidence: 0.9996
X-DSPAM-Improbability: 1 in 235107 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4fc79a42286301722577945
ReSent-Date: Mon, 4 Jun 2012 10:49:23 -0400 (EDT)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: [Moderator Action] Re: WGLC #349: "strength"
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/CAD0z36UMSfX+c+439o7n4Otk5u4iVHAdz6FN8Zhpa36b1O8ijQ@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13609
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbYbW-0008Ll-Qw@frink.w3.org>

On Thu, May 31, 2012 at 5:20 AM, Mark Nottingham <mnot@mnot.net> wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/349>
>
> Proposal: change
>
>> =A0 =A0Both the Authorization field value and the Proxy-Authorization fi=
eld
>> =A0 =A0value consist of credentials containing the authentication
>> =A0 =A0information of the client for the realm of the resource being
>> =A0 =A0requested. =A0The user agent MUST choose to use one of the challe=
nges
>> =A0 =A0with the strongest auth-scheme it understands and request credent=
ials
>> =A0 =A0from the user based upon that challenge.
>
>
> to
>
> """
> Both the Authorization field value and the Proxy-Authorization field valu=
e contain the client's credentials for the realm of the resource being requ=
ested, based upon a challenge received from the server (possibly at some po=
int in the past). When creating their values, the user agent ought to do so=
 by selecting the challenge with what it considers to be the most secure au=
th-scheme that it understands, obtaining credentials from the user as appro=
priate.

Perhaps this phrase "ought to" should be an all-caps (RFC 2119) SHOULD?




From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 07: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 717D621F88AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 07:51: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qQYBOLmPbo-w for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 07:51:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C493421F86FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 07:51:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbYcA-0008TN-KQ for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 14:50:38 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1SbYbn-0008OZ-Bs for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 14:50:15 +0000
Received: from jay.w3.org ([128.30.52.169]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <ylafon@w3.org>) id 1SbYbl-0000IL-Ds for ietf-http-wg@w3.org; Mon, 04 Jun 2012 14:50:13 +0000
Received: from ylafon by jay.w3.org with local (Exim 4.69) (envelope-from <ylafon@w3.org>) id 1SbYbl-0005uV-I5 for ietf-http-wg@w3.org; Mon, 04 Jun 2012 10:50:13 -0400
X-Return-path: <gphemsley@gmail.com>
X-Received: from maggie.w3.org ([128.30.52.39]) by jay.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <gphemsley@gmail.com>) id 1SODt4-0004c8-K0 for ylafon@jay.w3.org; Sat, 28 Apr 2012 16:04:58 -0400
X-Received: from mail-lb0-f171.google.com ([209.85.217.171]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <gphemsley@gmail.com>) id 1SODt2-0004sL-SL; Sat, 28 Apr 2012 20:04:58 +0000
X-Received: by lbom4 with SMTP id m4so1432428lbo.2 for <multiple recipients>; Sat, 28 Apr 2012 13:04: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:content-transfer-encoding; bh=woSb6IdSrwqnVzQ7RnTfhMKVZtF0tzWqCYZEkQ5ccMg=; b=ucU5BRfofiycHM9/6YjaxcVIJb44ZfVmSVzZmO5IQpxSBQj1VgVXt2gx8dyvp2AGl4 jPGWDQeSEIbl+8qYyK82YcPwjeiiQDGQLrg0m+GxN9v3tCptGIJx7UGbqwG7+s0JwJS3 6pL/KxLvO+JCi3ZG/5NZh8zQxMreOD6V0DGvRGmVEBBhnDae+oi5SHe0XIESqesksww5 if7+NkHSq/cRddkrfbBcZIB9ysGOMFka3tOpqU8CVKM3OLiU5CYhiIudflRY6MiHCRsw x9DtETZSWvTK/L2aQaLMHJOP7iTdMjsqtCJ2MB8ELiut7htRE1iYDMSzv0gttIx7QBQ+ ysdA==
X-Received: by 10.112.23.200 with SMTP id o8mr7656837lbf.21.1335643470271; Sat, 28 Apr 2012 13:04:30 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.112.110.163 with HTTP; Sat, 28 Apr 2012 13:04:10 -0700 (PDT)
In-Reply-To: <CAH4e3M5RKqGZu8RjjChZ5zo=+BfGSzDfj6nYHx1X0Q0cd0czqA@mail.gmail.com>
References: <CAH4e3M5RKqGZu8RjjChZ5zo=+BfGSzDfj6nYHx1X0Q0cd0czqA@mail.gmail.com>
From: "Gordon P. Hemsley" <gphemsley@gmail.com>
Date: Sat, 28 Apr 2012 16:04:10 -0400
Message-ID: <CAH4e3M7mAzPfaMjHb7HiaJyRGLiqnmPRNUCYW4fLhajdXOTtJw@mail.gmail.com>
To: ietf-http-wg@w3.org
Cc: Yves Lafon <ylafon@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.217.171; envelope-from=gphemsley@gmail.com; helo=mail-lb0-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 1SODt2-0004sL-SL d35f7b1fd2536ad57b152b677b0d842c
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Sat Apr 28 16:04:59 2012
X-DSPAM-Confidence: 0.9988
X-DSPAM-Improbability: 1 in 81257 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 4f9c4d6b177491907914288
ReSent-Date: Mon, 4 Jun 2012 10:50:09 -0400 (EDT)
ReSent-From: Yves Lafon <ylafon@w3.org>
ReSent-To: ietf-http-wg@w3.org
ReSent-Subject: Accept-Language language tag order
ReSent-User-Agent: Alpine 1.10 (DEB 962 2008-03-14)
X-Original-To: ietf-http-wg@w3.org
Subject: Accept-Language language tag order
Archived-At: <http://www.w3.org/mid/CAH4e3M7mAzPfaMjHb7HiaJyRGLiqnmPRNUCYW4fLhajdXOTtJw@mail.gmail.com>
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13610
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbYcA-0008TN-KQ@frink.w3.org>

Hello all,

Back in November, there was a discussion [1] about the priority of
language tag order in the Accept-Language header. The discussion
centered around whether the order of language tags with equal quality
values (usually 1) was significant, and it seemed the consensus was to
not change the spec to say that they were, since most browser UAs
tended to send quality values correctly and changing the semantics of
the spec requires extreme circumstances.

However, I wonder if it might be beneficial to put a SHOULD in the
spec suggesting that UAs to sort the language tags in descending
quality order. I think most UAs already do this, and a SHOULD leaves
enough leeway for those who implemented the old standard, where things
were left ambiguous.

One argument against changing the spec was the desire to not have
exceptions that do not apply to all Accept headers. Thus, I recommend
that the same change be made for all Accept headers: items in a list
SHOULD be listed in descending quality value order.

(I haven't read the entire spec, so maybe this is already specified
somewhere, but I couldn't find it when I was looking for it.)

Thoughts?

Gordon

P.S. I'm not subscribed to this list, so please CC me on all relevant
discussion.

[1] http://lists.w3.org/Archives/Public/ietf-http-wg/2011OctDec/thread.html=
#msg223

--=20
Gordon P. Hemsley
me@gphemsley.org
http://gphemsley.org/ =E2=80=A2 http://gphemsley.org/blog/



From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 09:47: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 C3BB221F873D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 09:47:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.932
X-Spam-Level: 
X-Spam-Status: No, score=-7.932 tagged_above=-999 required=5 tests=[AWL=2.667, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hhvi9Ip9V77Q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 09:47:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E000921F870E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 09:47:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbaPO-0003QD-TL for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 16:45:34 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SbaPD-0003NP-Aj for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 16:45:23 +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 1SbaNa-0007NJ-Kj for ietf-http-wg@w3.org; Mon, 04 Jun 2012 16:45:21 +0000
Received: (qmail invoked by alias); 04 Jun 2012 16:16:37 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp031) with SMTP; 04 Jun 2012 18:16:37 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX189w6Q2SEY9G3EtIMoNIJfgL/0VjYuRcRUplujxoX SJu26niwWKm83L
Message-ID: <4FCCDF51.50809@gmx.de>
Date: Mon, 04 Jun 2012 18:16:17 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: "Gordon P. Hemsley" <gphemsley@gmail.com>
CC: ietf-http-wg@w3.org, Yves Lafon <ylafon@w3.org>
References: <CAH4e3M5RKqGZu8RjjChZ5zo=+BfGSzDfj6nYHx1X0Q0cd0czqA@mail.gmail.com> <CAH4e3M7mAzPfaMjHb7HiaJyRGLiqnmPRNUCYW4fLhajdXOTtJw@mail.gmail.com> <4FCCCC8D.90408@gmx.de> <CAH4e3M6u1-E8zUu9jHtHodLKCt7=ERsq2dpDF0_QB0mEWiYRJw@mail.gmail.com> <4FCCDA36.70403@gmx.de> <CAH4e3M5PeYyoO6tgyNhRr_NwcsEmYuY8qgeLFCgUpbtOr2wjRg@mail.gmail.com>
In-Reply-To: <CAH4e3M5PeYyoO6tgyNhRr_NwcsEmYuY8qgeLFCgUpbtOr2wjRg@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=-1.9
X-W3C-Hub-Spam-Report: 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 1SbaNa-0007NJ-Kj 9767e8d54a3d20b499908abaa559a852
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Accept-Language language tag order
Archived-At: <http://www.w3.org/mid/4FCCDF51.50809@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13611
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbaPO-0003QD-TL@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 16:45:34 +0000

On 2012-06-04 17:59, Gordon P. Hemsley wrote:
> ...
>>> Are there reasons not to do this?
>>
>> The order is not significant. It never was. If w etry to help broken
>> recipients we will break senders that do not sort.
>>
>> That's a normative change for which I simply see no compelling reason.
>
> Well, I'm confused: I thought SHOULD meant that it was preferred, but
> not required. How would that break senders who do not sort?
> ...

They wouldn't be conforming anymore; you may want to read RFC 2219 and 
the definition of "SHOULD".

BTW this exactly why we're trying to reduce the amount of SHOULDs in the 
spec.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 09:49: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 C3CA821F879C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 09:49:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.65
X-Spam-Level: 
X-Spam-Status: No, score=-6.65 tagged_above=-999 required=5 tests=[AWL=3.949, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MXTdaWRgUYg1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 09:49:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D337D21F8585 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 09:49:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbaSi-0003vc-0f for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 16:49:00 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stpeter@stpeter.im>) id 1SbaSW-0003qi-Ik for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 16:48:48 +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 1SbaQu-0007f1-7s for ietf-http-wg@w3.org; Mon, 04 Jun 2012 16:48:46 +0000
Received: from [64.101.72.115] (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id A6E5D4011B; Mon,  4 Jun 2012 09:32:10 -0600 (MDT)
Message-ID: <4FCCD10F.4020002@stpeter.im>
Date: Mon, 04 Jun 2012 09:15:27 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: ietf-http-wg@w3.org
References: <4FC92DD8.40401@stpeter.im> <4FC9E2C9.30008@gmx.de> <4FCCC944.5050008@stpeter.im> <4FCCD085.8040609@gmx.de>
In-Reply-To: <4FCCD085.8040609@gmx.de>
X-Enigmail-Version: 1.4.1
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SbaQu-0007f1-7s 45f08a13a073be415b0513b960f0d034
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC issue: following HTTP redirects
Archived-At: <http://www.w3.org/mid/4FCCD10F.4020002@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13612
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbaSi-0003vc-0f@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 16:49:00 +0000

On 6/4/12 9:13 AM, Julian Reschke wrote:
> On 2012-06-04 16:42, Peter Saint-Andre wrote:
>> ...
>>>> My questions include: Is it OK if an HTTP request to somedomain.tld is
>>>> redirected to anotherdomain.tld? ...
>>>
>>> Why not? It happens all the time.
>>
>> Just because something happens all the time does not mean it is safe or
>> secure. :)
>> ...
> 
> Cross-domain redirects happen so frequently (for instance, with any URI
> shortening service) that you really need to be more specific :-)
> 
>>>> ... What about an HTTPS request? For the
>>>> latter, at what point in the secure connection request is it OK to
>>>> accept a redirect? Do both confidentiality and integrity need to be
>>>> established before it's OK to follow the redirect? Does the client need
>>>> to apply the same policies to anotherdomain.tld that it would have
>>>> applied to somedomain.tld (e.g., mandating encryption)? What server
>>>> identity does the client check (per RFC 2818)? Etc.
>>>
>>> If we need to describe it, the spec defining HTTPS probably would be the
>>> right place.
>>
>> Do you mean 2818(bis) or the security properties spec?
>>
>> In any case, I would be happy to propose text.
> 
> I meant 2818bis; the security properties spec appears to be dead.

If the 2818bis initiative starts in earnest, I shall be sure to propose
appropriate text.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/




From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 10:17: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 F377821F8636 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 10:17:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.757
X-Spam-Level: 
X-Spam-Status: No, score=-6.757 tagged_above=-999 required=5 tests=[AWL=3.842, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ajMePea6ITtc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 10:17:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4581321F862B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 10:17:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sbatd-000788-88 for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 17:16:49 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stpeter@stpeter.im>) id 1SbatS-00072x-G8 for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 17:16:38 +0000
Received: from mailhost.stpeter.im ([207.210.219.225] helo=stpeter.im) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stpeter@stpeter.im>) id 1Sbard-0001kZ-PG for ietf-http-wg@w3.org; Mon, 04 Jun 2012 17:16:36 +0000
Received: from [64.101.72.115] (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 54F6A4010C; Mon,  4 Jun 2012 09:23:21 -0600 (MDT)
Message-ID: <4FCCC944.5050008@stpeter.im>
Date: Mon, 04 Jun 2012 08:42:12 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: ietf-http-wg@w3.org
References: <4FC92DD8.40401@stpeter.im> <4FC9E2C9.30008@gmx.de>
In-Reply-To: <4FC9E2C9.30008@gmx.de>
X-Enigmail-Version: 1.4.1
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sbard-0001kZ-PG 0598e47e354529220d3a2a9add8eac29
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC issue: following HTTP redirects
Archived-At: <http://www.w3.org/mid/4FCCC944.5050008@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13613
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sbatd-000788-88@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 17:16:49 +0000

On 6/2/12 3:54 AM, Julian Reschke wrote:
> On 2012-06-01 23:02, Peter Saint-Andre wrote:
>> Dear HTTPBIS WG:
>>
>> Please correct me if I'm wrong, but it appears that the HTTP
>> specifications [1] don't say anything about the circumstances under
>> which an HTTP client ought to, or ought not to, follow a redirect (such
>> as we defined for XMPP in RFC 6120 [2]).
> 
> It does say a few things about what to consider when following redirects
> to unsafe methods; but that's it.
> 
> In general, the spec describes format and semantics of HTTP messages and
> doesn't try to describe what to do with them.
> 
>> My questions include: Is it OK if an HTTP request to somedomain.tld is
>> redirected to anotherdomain.tld? ...
> 
> Why not? It happens all the time.

Just because something happens all the time does not mean it is safe or
secure. :)

>> ... What about an HTTPS request? For the
>> latter, at what point in the secure connection request is it OK to
>> accept a redirect? Do both confidentiality and integrity need to be
>> established before it's OK to follow the redirect? Does the client need
>> to apply the same policies to anotherdomain.tld that it would have
>> applied to somedomain.tld (e.g., mandating encryption)? What server
>> identity does the client check (per RFC 2818)? Etc.
> 
> If we need to describe it, the spec defining HTTPS probably would be the
> right place.

Do you mean 2818(bis) or the security properties spec?

In any case, I would be happy to propose text.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/




From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 10:32: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 509A221F86DB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 10:32:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.833
X-Spam-Level: 
X-Spam-Status: No, score=-8.833 tagged_above=-999 required=5 tests=[AWL=1.766, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0T8gLrit-nFN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 10:32:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 54E5E21F85B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 10:32:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sbb89-0007PB-E6 for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 17:31:49 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <prvs=4950760a7=Martin.Musatov@bestbuy.com>) id 1Sbb7y-0007Fa-Lk for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 17:31:38 +0000
Received: from dsp2xmail.bestbuy.com ([198.22.123.158]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <prvs=4950760a7=Martin.Musatov@bestbuy.com>) id 1Sbb7v-0002uO-NF for ietf-http-wg@w3.org; Mon, 04 Jun 2012 17:31:37 +0000
Received: from unknown (HELO DSP50MAIL.na.bestbuy.com) ([168.94.110.140]) by dsp2xmail.bestbuy.com with ESMTP/TLS/AES128-SHA; 04 Jun 2012 09:51:49 -0500
Received: from am1outboundpool.messaging.microsoft.com (213.199.154.205) by mail10.bestbuy.com (168.94.110.140) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 4 Jun 2012 09:58:15 -0500
Received: from mail108-am1-R.bigfish.com (10.3.201.232) by AM1EHSOBE003.bigfish.com (10.3.204.23) with Microsoft SMTP Server id 14.1.225.23; Mon, 4 Jun 2012 14:57:34 +0000
Received: from mail108-am1 (localhost [127.0.0.1])	by mail108-am1-R.bigfish.com (Postfix) with ESMTP id 2EC084C03F1	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Mon,  4 Jun 2012 14:57:34 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.234.133;KIP:(null);UIP:(null);(null);H:SN2PRD0610HT002.namprd06.prod.outlook.com;R:internal;EFV:INT
X-SpamScore: -35
X-BigFish: PS-35(zz9371I542M1432N98dKzz1202hzz8275ch1033IL8275dhz31h2a8h668h839hd25hf0ah)
Received-SPF: softfail (mail108-am1: transitioning domain of bestbuy.com does not designate 157.56.234.133 as permitted sender) client-ip=157.56.234.133; envelope-from=Martin.Musatov@bestbuy.com; helo=SN2PRD0610HT002.namprd06.prod.outlook.com ;.outlook.com ;
Received: from mail108-am1 (localhost.localdomain [127.0.0.1]) by mail108-am1 (MessageSwitch) id 1338821852244084_3790; Mon,  4 Jun 2012 14:57:32 +0000 (UTC)
Received: from AM1EHSMHS003.bigfish.com (unknown [10.3.201.231])	by mail108-am1.bigfish.com (Postfix) with ESMTP id 308B040046	for <ietf-http-wg@w3.org>; Mon,  4 Jun 2012 14:57:32 +0000 (UTC)
Received: from SN2PRD0610HT002.namprd06.prod.outlook.com (157.56.234.133) by AM1EHSMHS003.bigfish.com (10.3.207.103) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 4 Jun 2012 14:57:31 +0000
Received: from SN2PRD0610MB371.namprd06.prod.outlook.com ([169.254.3.123]) by SN2PRD0610HT002.namprd06.prod.outlook.com ([10.255.117.37]) with mapi id 14.16.0164.004; Mon, 4 Jun 2012 14:58:08 +0000
From: "Musatov, Martin - CW" <Martin.Musatov@bestbuy.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: WGLC #349: "strength"
Thread-Index: AQHNPygUyWdM10/lfUilJR1NLBYhd5bkFDEAgAYw9aA=
Date: Mon, 4 Jun 2012 14:58:07 +0000
Message-ID: <1A861E6970A91447BBC0BD2021F753200299DBBD@SN2PRD0610MB371.namprd06.prod.outlook.com>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net> <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net>	<4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <CAD0z36UMSfX+c+439o7n4Otk5u4iVHAdz6FN8Zhpa36b1O8ijQ@mail.gmail.com>
In-Reply-To: <CAD0z36UMSfX+c+439o7n4Otk5u4iVHAdz6FN8Zhpa36b1O8ijQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [168.94.245.7]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0610HT002.namprd06.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%8463$Dn%W3.ORG$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-OriginatorOrg: BestBuy.com
X-CrossPremisesHeadersPromoted: DSP50MAIL.na.bestbuy.com
X-CrossPremisesHeadersFiltered: DSP50MAIL.na.bestbuy.com
Received-SPF: pass client-ip=198.22.123.158; envelope-from=prvs=4950760a7=Martin.Musatov@bestbuy.com; helo=dsp2xmail.bestbuy.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sbb7v-0002uO-NF 59e8a03f79ec81a0deff94d64db8610c
X-Original-To: ietf-http-wg@w3.org
Subject: RE: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/1A861E6970A91447BBC0BD2021F753200299DBBD@SN2PRD0610MB371.namprd06.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13614
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sbb89-0007PB-E6@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 17:31:49 +0000

Why is a great deal of the content on the HTTP working seem so tongue and c=
heek, people making obscure gestures with double sets of quotes, blank line=
s, spaces and capitalization?

It reminds me of:

Proverbs 6:13
He winks with his eyes and strikes with his feet and he signals with his fi=
ngers,

Just an observation
-----Original Message-----
From: James French [mailto:jfrench@denirostaff.com]=20
Sent: Thursday, May 31, 2012 11:20 AM
To: Mark Nottingham
Cc: HTTP Working Group
Subject: Re: WGLC #349: "strength"

On Thu, May 31, 2012 at 5:20 AM, Mark Nottingham <mnot@mnot.net> wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/349>
>
> Proposal: change
>
>> =A0 =A0Both the Authorization field value and the Proxy-Authorization fi=
eld
>> =A0 =A0value consist of credentials containing the authentication
>> =A0 =A0information of the client for the realm of the resource being
>> =A0 =A0requested. =A0The user agent MUST choose to use one of the challe=
nges
>> =A0 =A0with the strongest auth-scheme it understands and request credent=
ials
>> =A0 =A0from the user based upon that challenge.
>
>
> to
>
> """
> Both the Authorization field value and the Proxy-Authorization field valu=
e contain the client's credentials for the realm of the resource being requ=
ested, based upon a challenge received from the server (possibly at some po=
int in the past). When creating their values, the user agent ought to do so=
 by selecting the challenge with what it considers to be the most secure au=
th-scheme that it understands, obtaining credentials from the user as appro=
priate.

Perhaps this phrase "ought to" should be an all-caps (RFC 2119) SHOULD?







From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 10:43: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 9F59721F878B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 10:43:31 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id idWn07QjLdph for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 10:43:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 146DE21F865C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 10:43:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbbIC-0000LJ-VL for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 17:42:13 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SbbI3-0000Hk-By for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 17:42:03 +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 1SbbHw-0003r9-Kr for ietf-http-wg@w3.org; Mon, 04 Jun 2012 17:42:01 +0000
Received: (qmail invoked by alias); 04 Jun 2012 15:54:51 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp040) with SMTP; 04 Jun 2012 17:54:51 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/Iod5b5pLImeiP+v5i7W03vwXKmPmDnxGvSB0oVV bJMxhoh1KiAezw
Message-ID: <4FCCDA36.70403@gmx.de>
Date: Mon, 04 Jun 2012 17:54:30 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: "Gordon P. Hemsley" <gphemsley@gmail.com>
CC: ietf-http-wg@w3.org, Yves Lafon <ylafon@w3.org>
References: <CAH4e3M5RKqGZu8RjjChZ5zo=+BfGSzDfj6nYHx1X0Q0cd0czqA@mail.gmail.com> <CAH4e3M7mAzPfaMjHb7HiaJyRGLiqnmPRNUCYW4fLhajdXOTtJw@mail.gmail.com> <4FCCCC8D.90408@gmx.de> <CAH4e3M6u1-E8zUu9jHtHodLKCt7=ERsq2dpDF0_QB0mEWiYRJw@mail.gmail.com>
In-Reply-To: <CAH4e3M6u1-E8zUu9jHtHodLKCt7=ERsq2dpDF0_QB0mEWiYRJw@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=-1.9
X-W3C-Hub-Spam-Report: 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 1SbbHw-0003r9-Kr c6fb4518de2a8dd50bd88e67de8386ee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Accept-Language language tag order
Archived-At: <http://www.w3.org/mid/4FCCDA36.70403@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13615
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbbIC-0000LJ-VL@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 17:42:12 +0000

On 2012-06-04 17:49, Gordon P. Hemsley wrote:
> Julian,
>
> Thanks for responding to my message. (I guess it just got through the queue?)

Apparently.

> Anecdotally, a lot of implementations assume that the order of
> language tags in Accept-Language are sorted by order of priority

Which?

> (highest to lowest). And indeed, the major implementations do just
> this.
>
> However, there is currently no requirement that this be the case.
> (And, for backwards compatibility, there cannot be a MUST.)
>
> I think it would be beneficial going forward that implementations sort
> the language tags in this manner, and I think putting a SHOULD in the
> new spec would remind them of this without strictly requiring them to
> do it.
>
> Are there reasons not to do this?

The order is not significant. It never was. If w etry to help broken 
recipients we will break senders that do not sort.

That's a normative change for which I simply see no compelling reason.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 10:44: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 ED6B821F878B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 10:44:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.999
X-Spam-Level: 
X-Spam-Status: No, score=-8.999 tagged_above=-999 required=5 tests=[AWL=1.600, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rGFJhKA-FP5g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 10:44:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1446E21F865C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 10:44:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbbJo-0000ad-VU for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 17:43:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SbbJf-0000XW-M4 for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 17:43:43 +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 1SbbJc-0003Qr-Jn for ietf-http-wg@w3.org; Mon, 04 Jun 2012 17:43:41 +0000
Received: (qmail invoked by alias); 04 Jun 2012 14:56:34 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp035) with SMTP; 04 Jun 2012 16:56:34 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18x5IF9ac4xZDaWOMvN79rsxp1m0aU4XNsQ19dMpx mnpXdToHiNho0+
Message-ID: <4FCCCC8D.90408@gmx.de>
Date: Mon, 04 Jun 2012 16:56:13 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: "Gordon P. Hemsley" <gphemsley@gmail.com>
CC: ietf-http-wg@w3.org, Yves Lafon <ylafon@w3.org>
References: <CAH4e3M5RKqGZu8RjjChZ5zo=+BfGSzDfj6nYHx1X0Q0cd0czqA@mail.gmail.com> <CAH4e3M7mAzPfaMjHb7HiaJyRGLiqnmPRNUCYW4fLhajdXOTtJw@mail.gmail.com>
In-Reply-To: <CAH4e3M7mAzPfaMjHb7HiaJyRGLiqnmPRNUCYW4fLhajdXOTtJw@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=-1.9
X-W3C-Hub-Spam-Report: 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 1SbbJc-0003Qr-Jn 5901f9621f1b946a7ec78878d91e5281
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Accept-Language language tag order
Archived-At: <http://www.w3.org/mid/4FCCCC8D.90408@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13616
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbbJo-0000ad-VU@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 17:43:52 +0000

On 2012-04-28 22:04, Gordon P. Hemsley wrote:
> Hello all,
>
> Back in November, there was a discussion [1] about the priority of
> language tag order in the Accept-Language header. The discussion
> centered around whether the order of language tags with equal quality
> values (usually 1) was significant, and it seemed the consensus was to
> not change the spec to say that they were, since most browser UAs
> tended to send quality values correctly and changing the semantics of
> the spec requires extreme circumstances.
>
> However, I wonder if it might be beneficial to put a SHOULD in the
> spec suggesting that UAs to sort the language tags in descending
> quality order. I think most UAs already do this, and a SHOULD leaves
> enough leeway for those who implemented the old standard, where things
> were left ambiguous.
> ...

Could you explain how that would help?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 11:01: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 192BA21F859F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 11:01:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.266
X-Spam-Level: 
X-Spam-Status: No, score=-9.266 tagged_above=-999 required=5 tests=[AWL=1.333, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6S-E9YCz8kZw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 11:01:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7DB7D21F859B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 11:01:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbbaG-0006Wp-Jd for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 18:00:52 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sbba2-0006UE-M3 for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 18:00:38 +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 1SbbZz-0004mv-Ui for ietf-http-wg@w3.org; Mon, 04 Jun 2012 18:00:36 +0000
Received: (qmail invoked by alias); 04 Jun 2012 15:13:29 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp032) with SMTP; 04 Jun 2012 17:13:29 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+5rpwRDAC51uy0z8a+Ck/MJfq6cV4VfuLsosI3yQ t05xzueI2rbbu2
Message-ID: <4FCCD085.8040609@gmx.de>
Date: Mon, 04 Jun 2012 17:13:09 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
CC: ietf-http-wg@w3.org
References: <4FC92DD8.40401@stpeter.im> <4FC9E2C9.30008@gmx.de> <4FCCC944.5050008@stpeter.im>
In-Reply-To: <4FCCC944.5050008@stpeter.im>
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=-1.9
X-W3C-Hub-Spam-Report: 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 1SbbZz-0004mv-Ui 3281089b41b89ae4295248882a984f1a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC issue: following HTTP redirects
Archived-At: <http://www.w3.org/mid/4FCCD085.8040609@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13617
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbbaG-0006Wp-Jd@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 18:00:52 +0000

On 2012-06-04 16:42, Peter Saint-Andre wrote:
> ...
>>> My questions include: Is it OK if an HTTP request to somedomain.tld is
>>> redirected to anotherdomain.tld? ...
>>
>> Why not? It happens all the time.
>
> Just because something happens all the time does not mean it is safe or
> secure. :)
> ...

Cross-domain redirects happen so frequently (for instance, with any URI 
shortening service) that you really need to be more specific :-)

>>> ... What about an HTTPS request? For the
>>> latter, at what point in the secure connection request is it OK to
>>> accept a redirect? Do both confidentiality and integrity need to be
>>> established before it's OK to follow the redirect? Does the client need
>>> to apply the same policies to anotherdomain.tld that it would have
>>> applied to somedomain.tld (e.g., mandating encryption)? What server
>>> identity does the client check (per RFC 2818)? Etc.
>>
>> If we need to describe it, the spec defining HTTPS probably would be the
>> right place.
>
> Do you mean 2818(bis) or the security properties spec?
>
> In any case, I would be happy to propose text.

I meant 2818bis; the security properties spec appears to be dead.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 11:29: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 4E09D11E80B7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 11:29:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.432
X-Spam-Level: 
X-Spam-Status: No, score=-7.432 tagged_above=-999 required=5 tests=[AWL=3.167, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t+JjYhhYut4u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 11:29:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C65D511E809B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 11:29:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sbc1K-0007ib-Ax for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 18:28:50 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1Sbc19-0007he-0E for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 18:28:39 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Sbc15-0005QP-V1 for ietf-http-wg@w3.org; Mon, 04 Jun 2012 18:28:37 +0000
Received: by bkty5 with SMTP id y5so4438635bkt.2 for <ietf-http-wg@w3.org>; Mon, 04 Jun 2012 11:28: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:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=4DKFLskaMUWLyDcA2AkW9y6jHakuUpme/bPLLZQf42s=; b=zmh6M9NCrCjvw8luRTY5ogg1JPWgeW4tIw/OBHVbnw72WjKbNO6B/c3YzxuQJBhMJx YCCIDr8MFmt5Tqk4qhIrHhFVAEbkvomD7qZz2DFGUISf5Pj0IGyayFwx/nXtoWAToYGJ DbVeDI7RpPkNaPAgVNW0R5gDPgkTXZCM8pPnyl8jlM0CUm35gc9g89Z40tvbT+AkZIZc dHNadSjaR470DlQxyOxSLtRHQoXx3/s5ykZBrLFdKzwpkfK3Vv1uWm1J0IWZpwnnI3Mi aQOqKyfYHCC6aFAhrRGbk9EUKXF38Sbq08AVcVa9JxQi3SGOHo5hh7ijE5ttAKA8OeqB VxQg==
MIME-Version: 1.0
Received: by 10.204.149.216 with SMTP id u24mr7423812bkv.36.1338834489720; Mon, 04 Jun 2012 11:28:09 -0700 (PDT)
Received: by 10.204.66.4 with HTTP; Mon, 4 Jun 2012 11:28:09 -0700 (PDT)
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E114F51D2CD9@WSMSG3153V.srv.dir.telstra.com>
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <CABkgnnVyGh4AvakXTpMsoF5Ge8rEY69SHMvotS2StF+Pg3rYAA@mail.gmail.com> <4FC9E861.9000305@gmx.de> <10708679-B242-4F1D-9407-100B0E68CBAE@mnot.net> <255B9BB34FB7D647A506DC292726F6E114F51D2CD9@WSMSG3153V.srv.dir.telstra.com>
Date: Mon, 4 Jun 2012 11:28:09 -0700
Message-ID: <CABkgnnXwddXQh_FhekcwbcK5M8U0ba8YMa+qxzRx=HGc8hhc1Q@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: "Manger, James H" <James.H.Manger@team.telstra.com>
Cc: Mark Nottingham <mnot@mnot.net>, Julian Reschke <julian.reschke@gmx.de>,  HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.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 1Sbc15-0005QP-V1 ff76ec5b9a5e3c5a5fc2a78f74d6dd9c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/CABkgnnXwddXQh_FhekcwbcK5M8U0ba8YMa+qxzRx=HGc8hhc1Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13618
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sbc1K-0007ib-Ax@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 18:28:50 +0000

On 3 June 2012 22:16, Manger, James H <James.H.Manger@team.telstra.com> wro=
te:
> Could we mention the best mitigation strategy (using a phishing-resistant=
 authentication scheme that does not expose the client credentials in the p=
rotocol), instead of the strategy of restricting access to the "Authorizati=
on" value (which makes it hard to deploy better authentication schemes that=
 need access to this header).

That would be great, if one existed.  Can you provide a citation for
an example? ;)


From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 12:04: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 CD37C11E80D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 12:04:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.17
X-Spam-Level: 
X-Spam-Status: No, score=-7.17 tagged_above=-999 required=5 tests=[AWL=3.429, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3fywmG3nhVJ8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 12:04:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DBA5B11E80CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 12:04:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbcY1-0002gR-9m for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 19:02:37 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SbcXp-0002PC-Km for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 19:02:25 +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 1SbcXm-00082R-4h for ietf-http-wg@w3.org; Mon, 04 Jun 2012 19:02:23 +0000
Received: (qmail invoked by alias); 04 Jun 2012 19:01:55 -0000
Received: from p5DD94B3A.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.75.58] by mail.gmx.net (mp037) with SMTP; 04 Jun 2012 21:01:55 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+SKsNDnjKSIr6zxhKJmDKwt6OrKqD9pBh7EQC9uw 1UGwfvHKjnVQH3
Message-ID: <4FCD0621.70405@gmx.de>
Date: Mon, 04 Jun 2012 21:01:53 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <912AAC79-C1DA-4580-A124-09C6770A6D8C@mnot.net> <4E5553DC.3030802@gmx.de> <64904A13-5E71-485D-92FD-018CFD1155A7@mnot.net> <4E5D04CD.5020209@gmx.de> <E59DB98D-75B0-43EC-B3C1-8F39BCA9EAA9@mnot.net> <4E5DD0EB.5000304@gmx.de> <9236D00D-E21A-42D8-B885-9B108FB1988E@mnot.net> <4E5DEE0A.2000601@gmx.de> <4E5E459A.9090302@gmx.de> <4E5F5179.3000605@gmx.de> <4EB17406.8070404@gmx.de>
In-Reply-To: <4EB17406.8070404@gmx.de>
Content-Type: text/plain; charset=windows-1252; 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=-1.9
X-W3C-Hub-Spam-Report: 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 1SbcXm-00082R-4h e4305e0bb24588476c2852d59f0d5835
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #160: Redirects and non-GET methods
Archived-At: <http://www.w3.org/mid/4FCD0621.70405@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13619
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbcY1-0002gR-9m@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 19:02:37 +0000

On 2011-11-02 17:47, Julian Reschke wrote:
> On 2011-09-01 11:33, Julian Reschke wrote:
>> On 2011-08-31 16:30, Julian Reschke wrote:
>>> ...
>>> See <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/160>; feedback
>>> appreciated.
>>> ...
>>
>> Applied with minor fixes in
>> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1428>.
>> ...
>
> OK, so this in in draft 17.
>
> In the meantime, the Chrome developers work to address this in release
> 17, see <https://code.google.com/p/chromium/issues/detail?id=56373>, and
> a bugfix for Firefox is currently being discussed
> (<https://bugzilla.mozilla.org/show_bug.cgi?id=598304>, feedback that
> would help this progress appreciated).
>
> Best regards, Julian
> ...

Seven months have passed, and we have updated tests 
(<http://www.mnot.net/javascript/xmlhttprequest/> and 
<http://greenbytes.de/tech/tc/httpredirects/>), and updated test results:

- Firefox has been fixed to only rewrite POST to GET, and the fix is 
part of Firefox 13, to be released tomorrow.

- Chrome (as mentioned above) has been doing the right thing since 
version 17.

- IE has been doing the right thing forever; there's only a small glitch 
with respect to a HEAD request redirected by 303 being rewritten to GET 
(see <http://greenbytes.de/tech/tc/httpredirects/#t303HEAD>)

- Safari still rewrites non-POST methods.

- So does apparently Opera, although I have problems running the tests, 
sometimes causing test failures because XHR doesn't see response headers 
(win7, 64bit), sometimes crashing the browser (win7, 32bit).

- Konqueror has test execution problems as well.

...this means that at least on the desktop, the vast majority of browser 
installations will do the right thing as of tomorrow.

Best regards, Julian




From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 12:13: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 A940911E80D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 12:13:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.599
X-Spam-Level: 
X-Spam-Status: No, score=-7.599 tagged_above=-999 required=5 tests=[AWL=3.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q1XZ0V81FNXV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 12:13:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C5C9511E80C0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 12:13:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbchS-0004Bf-Em for ietf-http-wg-dist@listhub.w3.org; Mon, 04 Jun 2012 19:12:22 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SbchI-0004Ao-H0 for ietf-http-wg@listhub.w3.org; Mon, 04 Jun 2012 19:12:12 +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 1Sbch7-00007T-Ji for ietf-http-wg@w3.org; Mon, 04 Jun 2012 19:12:10 +0000
Received: (qmail invoked by alias); 04 Jun 2012 19:11:34 -0000
Received: from p5DD94B3A.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.75.58] by mail.gmx.net (mp028) with SMTP; 04 Jun 2012 21:11:34 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/zNvp7/f/zvnmImlWafcXgk+Ku6A97BVit34cG05 lGdxax6xo6a73C
Message-ID: <4FCD0862.7020104@gmx.de>
Date: Mon, 04 Jun 2012 21:11:30 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: "Roy T. Fielding" <fielding@gbiv.com>
CC: Mark Nottingham <mnot@mnot.net>, Larry Masinter <masinter@adobe.com>,  httpbis Group <ietf-http-wg@w3.org>, Adam Barth <ietf@adambarth.com>
References: <6A53E99A-019D-4F6D-A33D-24524CD34E17@mnot.net> <4EFDFA17.4080804@gmx.de> <4F031419.1050708@gmx.de> <C68CB012D9182D408CED7B884F441D4D06121B5AE5@nambxv01a.corp.adobe.com> <4F0608AB.20808@gmx.de> <EDB1544B-C4AE-41CA-806A-15FD1956D467@gbiv.com> <4F08649E.6060107@gmx.de> <5AD13674-95D2-4B8B-AB84-30FBD5B45348@mnot.net> <F5646201-718C-4BA5-A644-9828186B88B0@mnot.net> <4F3C275E.8000201@gmx.de> <A856BE50-5605-4C63-9C7C-BC3721607628@gbiv.com> <4F3D8317.3050206@gmx.de>
In-Reply-To: <4F3D8317.3050206@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.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1Sbch7-00007T-Ji 659761865242800f3782add73783e36b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #295: Applying original fragment to "plain" redirected URI  (also   #43)
Archived-At: <http://www.w3.org/mid/4FCD0862.7020104@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13620
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbchS-0004Bf-Em@frink.w3.org>
Resent-Date: Mon, 04 Jun 2012 19:12:22 +0000

On 2012-02-16 23:28, Julian Reschke wrote:
> On 2012-02-16 21:52, Roy T. Fielding wrote:
>> On Feb 15, 2012, at 1:45 PM, Julian Reschke wrote:
>>
>>> On 2012-02-13 05:59, Mark Nottingham wrote:
>>>> Assigned for -19.
>>>
>>> Proposed patch
>>> here:<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/295/295.diff>
>>>
>>>
>>> This changes the description of the header field to:
>>>
>>> 9.5. Location
>>>
>>> The "Location" header field is used to identify a newly created
>>> resource, or to redirect the recipient to a different location for
>>> completion of the request.
>>
>> While you are at it, please change the above to
>>
>> The "Location" header field MAY be sent in responses to refer to
>> a specific resource in accordance with the semantics of the status
>> code.
>
> Ok.
>
>> the rest (new stuff) looks good.
>>
>> ....Roy
>
> Thanks.
>
> -> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1536>

In the meantime, I have test cases for this at 
<http://greenbytes.de/tech/tc/httpredirects/#l-fragments>: all tested 
User Agents behave as specified, except for

- Internet Explorer (<= 9); but I believe this is fixed in Internet 
Explorer 10, and

- Safari.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 17:18: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 80A3221F8861 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 17:18:45 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i1TMsqk4XlcA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 17:18:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BC0C721F885D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 17:18:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbhSP-0005ik-08 for ietf-http-wg-dist@listhub.w3.org; Tue, 05 Jun 2012 00:17:09 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dwm@xpasc.com>) id 1SbhSB-0005hq-O4 for ietf-http-wg@listhub.w3.org; Tue, 05 Jun 2012 00:16:55 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1SbhS8-0000QN-RH for ietf-http-wg@w3.org; Tue, 05 Jun 2012 00:16:53 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 8510F404E8 for <ietf-http-wg@w3.org>; Tue,  5 Jun 2012 00:16:25 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q550GPbP024500 for <ietf-http-wg@w3.org>; Mon, 4 Jun 2012 17:16:25 -0700
Date: Mon, 4 Jun 2012 17:16:25 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: HTTP Working Group <ietf-http-wg@w3.org>
To: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <4FC7890C.2000106@gmx.de>
Message-ID: <alpine.LRH.2.01.1206041700000.22684@egate.xpasc.com>
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <4FC77CF5.6030709@isode.com> <4FC78203.3070202@gmx.de> <alpine.LRH.2.01.1205310752090.15057@egate.xpasc.com> <4FC7890C.2000106@gmx.de>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.24-gef8a08a
X-CLX-ID: a120AD3GD7Hu1vr-541716P
X-CLX-Spam: false
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.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 1SbhS8-0000QN-RH b1890834e59e52c08d3e4b72b6695eb3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1206041700000.22684@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13621
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbhSP-0005ik-08@frink.w3.org>
Resent-Date: Tue, 05 Jun 2012 00:17:09 +0000

On Thu, 31 May 2012, Julian Reschke wrote:

> On 2012-05-31 16:57, David Morris wrote:
> > 
> > 
> > On Thu, 31 May 2012, Julian Reschke wrote:
> > 
> > > 
> > > Yes, but the realm value doesn't tell the client what part of the URI
> > > space
> > > the credentials are for.
> > > 
> > > So if you basic-authenticate to http://example.com/a successfully, the
> > > client
> > > may send the same credentials to http:://example.com/b, although it's a
> > > separate protection space.
> > 
> > But only if a http://example.com/b resource sends the realm in a
> > challenge? If my memory is correct, then this is under the control
> > of the server operator (HTTP response header filtering).
> 
> Yes, but clients *do* send credentials in requests without having received a
> previous challenge. (Otherwise HTTP auth would require one additional round
> trip per request)

This took a few days to set up a careful test case. I don't have the time
or resources to test every client, so I can't refute the claim that some
clients send the authorization header for a part of the hosts content
which it doesn't apply to, but I've tested:

IE6, IE7, IE8 and Safari (5.1.5 on MacOS 10.7). None of these clients
sent sent the authorization header contrary to my assertion above.

Any wording in the RFC should make it clear that sending the
credentials for the parent of 'a' or for 'b' is incorrect but
may happen with broken clients.

I created the following structure on my test apache server:

a: /authab/index.html
b: /authab/a/index.html ... configured to require credentials
c: /authab/b/index.html

This each was a simple html page with links to the other two pages
and a javascript onClick handler which added a unique query string
to each request to avoid browser caching.


With tcpdump on the server to capture all port 80 traffic.
I entered url a: in each browser's address box. Navigated to c: and
from there to b: and then back to a: and finally back to c:

In each case, the browser requested credentials on the first request
for b:.

I then examined the resulting tcpdump file and confirmed that the
authorization header was not ever included on requests for a: or c:.

I'm willing to share my server with anyone who would like to test
with other clients, but I don't want the name posted on this
mailing list. Send me a private email for the info.




From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 17:45: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 CB71611E80C2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 17:45: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oKpLxhmO7rm4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 17:45:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CDEF111E8112 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 17:45:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sbht3-0003j8-Ni for ietf-http-wg-dist@listhub.w3.org; Tue, 05 Jun 2012 00:44:41 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1Sbhst-0003i8-0Q for ietf-http-wg@listhub.w3.org; Tue, 05 Jun 2012 00:44:31 +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 1Sbhsp-0001PF-Pk for ietf-http-wg@w3.org; Tue, 05 Jun 2012 00:44:29 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id C34E2E6F27; Tue,  5 Jun 2012 12:44:01 +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: Tue, 05 Jun 2012 12:44:00 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CAMeZVwuGYZqoZOH1hvc=-YWFKUizjMJmj+=c3ZkgswdYYP3pxw@mail.gmail.com>
References: <CAMeZVwuGYZqoZOH1hvc=-YWFKUizjMJmj+=c3ZkgswdYYP3pxw@mail.gmail.com>
Message-ID: <aac6302a1c211797cc167ee20aca5294@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sbhsp-0001PF-Pk 567f1e17af3c09ed9af7be6678a89e51
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpauth] Mutual authentication proposal
Archived-At: <http://www.w3.org/mid/aac6302a1c211797cc167ee20aca5294@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13622
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sbht3-0003j8-Ni@frink.w3.org>
Resent-Date: Tue, 05 Jun 2012 00:44:41 +0000

On 05.06.2012 02:27, Yutaka OIWA wrote:
> Dear all,
>
> with a few corrections from the May-21st draft,
> I submitted the HTTP Mutual authentication draft as an httpbis 
> proposal.
>
> The proposal consists of two parts:
>
> <http://www.ietf.org/id/draft-oiwa-httpbis-mutualauth-00.txt>
> is the core proposal for HTTP Mutual authentication,
> using RFC 2617 architecture.
>
> <http://www.ietf.org/id/draft-oiwa-httpbis-auth-extension-00.txt>
> is the important companion draft for generic extensions
> which makes HTTP authentication useful again with
> many Web applications.
>
> The proposal is (both documents are) HTTP/1.1 compatible, and
> as far as core HTTP request/response semantics are kept,
> it should work with future HTTP/2.0, too.
>
> I will set up wiki pages for these around tomorrow or so.
> It will include information on available reference implementations,
> some more introductions and so on.
> I hope you will enjoy the proposed solution.
>
> Following previous suggestions on http-auth, crypto primitive choices
> are kept for future discussions.  One of primitive candidates,
> which is now for an "example" or "reference" purpose,
> is available as an "individual" draft at
> <http://tools.ietf.org/html/draft-oiwa-http-mutualauth-algo-02>.
> To implement the core proposal now, please refer this, too.
>
>
> P. S.
> I also incremented the individual draft revisions for book-keeping 
> purpose.
> (One of these depends on the revision numbers embedded to the 
> protocol).
> Contents of these are exactly the same as httpbis-proposed versions.


This seems much clearer than the earlier drafts. Thank you.

I think all those SHOULD statements about algorithm safety and choice 
in the section 11 second paragraph (under bullet list) are relevant for 
repeating in "Security Considerations" or as a separate sub-section from 
11 outlining required considerations on extension algorithms defined by 
other documents.

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Jun  4 22:31: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 4599521F8776 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 22:31:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.977
X-Spam-Level: 
X-Spam-Status: No, score=-8.977 tagged_above=-999 required=5 tests=[AWL=1.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g0JDj+fdd1vx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon,  4 Jun 2012 22:31:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0537721F8773 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon,  4 Jun 2012 22:31:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbmK7-0007lp-Bd for ietf-http-wg-dist@listhub.w3.org; Tue, 05 Jun 2012 05:28:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <y.oiwa@aist.go.jp>) id 1SbmJt-0007kt-Qb for ietf-http-wg@listhub.w3.org; Tue, 05 Jun 2012 05:28:41 +0000
Received: from na3sys010aog106.obsmtp.com ([74.125.245.80]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SbmJq-00014r-EA for ietf-http-wg@w3.org; Tue, 05 Jun 2012 05:28:39 +0000
Received: from mail-yw0-f51.google.com ([209.85.213.51]) (using TLSv1) by na3sys010aob106.postini.com ([74.125.244.12]) with SMTP ID DSNKT82Y8CGXiIRvtbX6kcV1gDLIg+pto/HT@postini.com; Mon, 04 Jun 2012 22:28:38 PDT
Received: by yhnn12 with SMTP id n12so3293838yhn.10 for <ietf-http-wg@w3.org>; Mon, 04 Jun 2012 22:28:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=iaRgV4UWr/X4+Lfqn22TQpxFf9kZWPnIBWmG5N7nD6E=; b=Gbyu0j+fP1JbwSmiWdKV5pUjH1qe5rlrzmzEs3+RTDvxNxzoIrPcH2IdnOSSgSHEVP vf+czlgnE8L+4WvVghtroqDpgqSjiIvE8YQokJm7xg8CbZEY/pwmHo/0djEFO5fOevMt 00tTdXak0ffJuKBpmuyR8DLNG3J8RDhTh4JZY=
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 :content-type:content-transfer-encoding:x-gm-message-state; bh=iaRgV4UWr/X4+Lfqn22TQpxFf9kZWPnIBWmG5N7nD6E=; b=av/0sUbaRHB+WW54VEC4Sn6g1AQzbGfg80kJWerpomLUTrEl3ocwTSEljY9kkkzc/N 6MA/MBy9NIkMe8LS/NQwSub47jSFR8klua4pk0TxnTsmBp/nT08nV2qHYMHP2MvFHX/J Cas3Qeh2vbQa0QNnTSL+Vr1wtF8W08roOA4Yp8QhiVuZCdSlSjMPZasJbMSNZp/ThWa1 IKsGMZf+hO39rT1pr39KwBXvhpykt5hrwbS5C8VPUTr2aBxdnKN780b3ygn6Ew0TbLfo fIK22Y0YezEBhxZbXvd0B9kc7ZyXAx1tnJTQretwlwkhgcg2aSjvfeWwc80S2uGL/AFA orAA==
Received: by 10.50.169.33 with SMTP id ab1mr716510igc.73.1338874096127; Mon, 04 Jun 2012 22:28:16 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.7.98 with HTTP; Mon, 4 Jun 2012 22:27:56 -0700 (PDT)
In-Reply-To: <CAMeZVwuGYZqoZOH1hvc=-YWFKUizjMJmj+=c3ZkgswdYYP3pxw@mail.gmail.com>
References: <CAMeZVwuGYZqoZOH1hvc=-YWFKUizjMJmj+=c3ZkgswdYYP3pxw@mail.gmail.com>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Tue, 5 Jun 2012 14:27:56 +0900
Message-ID: <CAMeZVwvgsMdY_EMyODzTAbZrWxp=GQpj_y=mLOZoyOx24-XevQ@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>, "http-auth@ietf.org" <http-auth@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQn4SZBtCk433J/jWp+3Vsd+1I+K71I9GC6xv33V2sOtWlk6oXjsQNaSTvUt9/Bag+lBJoOv
Received-SPF: pass client-ip=74.125.245.80; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog106.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SbmJq-00014r-EA 6eabb5586b544fb6b5e8cdceca93b691
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpauth] Mutual authentication proposal
Archived-At: <http://www.w3.org/mid/CAMeZVwvgsMdY_EMyODzTAbZrWxp=GQpj_y=mLOZoyOx24-XevQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13623
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbmK7-0007lp-Bd@frink.w3.org>
Resent-Date: Tue, 05 Jun 2012 05:28:55 +0000

Dear all,

I created Wiki pages for my proposals:

http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals/MutualAut=
h
http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals/AuthExten=
sion

I hope you will feel the information helpful.

Cheers,

Yutaka

2012/6/4 Yutaka OIWA <y.oiwa@aist.go.jp>:
> Dear all,
>
> with a few corrections from the May-21st draft,
> I submitted the HTTP Mutual authentication draft as an httpbis proposal.
>
> The proposal consists of two parts:
>
> <http://www.ietf.org/id/draft-oiwa-httpbis-mutualauth-00.txt>
> is the core proposal for HTTP Mutual authentication,
> using RFC 2617 architecture.
>
> <http://www.ietf.org/id/draft-oiwa-httpbis-auth-extension-00.txt>
> is the important companion draft for generic extensions
> which makes HTTP authentication useful again with
> many Web applications.
>
> The proposal is (both documents are) HTTP/1.1 compatible, and
> as far as core HTTP request/response semantics are kept,
> it should work with future HTTP/2.0, too.
>
> I will set up wiki pages for these around tomorrow or so.
> It will include information on available reference implementations,
> some more introductions and so on.
> I hope you will enjoy the proposed solution.
>
> Following previous suggestions on http-auth, crypto primitive choices
> are kept for future discussions. =A0One of primitive candidates,
> which is now for an "example" or "reference" purpose,
> is available as an "individual" draft at
> <http://tools.ietf.org/html/draft-oiwa-http-mutualauth-algo-02>.
> To implement the core proposal now, please refer this, too.
>
>
> P. S.
> I also incremented the individual draft revisions for book-keeping purpos=
e.
> (One of these depends on the revision numbers embedded to the protocol).
> Contents of these are exactly the same as httpbis-proposed versions.
>
> --
> Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliabilit=
y Research Group
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Insti=
tute for Secure Systems (RISEC)
> =A0 =A0National Institute of Advanced Industrial Science and Technology (=
AIST)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.g=
o.jp>, <yutaka@oiwa.jp>
> OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 =
46B5]



--=20
Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliability =
Research Group
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Institu=
te for Secure Systems (RISEC)
=A0 =A0National Institute of Advanced Industrial Science and Technology (AI=
ST)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.go.=
jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 46=
B5]


From ietf-http-wg-request@listhub.w3.org  Tue Jun  5 01:41: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 E592921F867E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  5 Jun 2012 01:41:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.456
X-Spam-Level: 
X-Spam-Status: No, score=-7.456 tagged_above=-999 required=5 tests=[AWL=3.143, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8eJnAgugn2JN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  5 Jun 2012 01:41:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 59D7A21F86A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  5 Jun 2012 01:41:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbpHm-0005Wu-Go for ietf-http-wg-dist@listhub.w3.org; Tue, 05 Jun 2012 08:38:42 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SbpHa-0005VW-Aw for ietf-http-wg@listhub.w3.org; Tue, 05 Jun 2012 08:38:30 +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 1SbpHS-0000yr-Qp for ietf-http-wg@w3.org; Tue, 05 Jun 2012 08:38:28 +0000
Received: (qmail invoked by alias); 05 Jun 2012 08:31:17 -0000
Received: from p5DD94B3A.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.75.58] by mail.gmx.net (mp012) with SMTP; 05 Jun 2012 10:31:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19RZlcAeAlRTu9pvkpSQN2sh2FL0H9+rBDR4xlKv+ 0aIlIibk4vuD4y
Message-ID: <4FCDC3CF.4050102@gmx.de>
Date: Tue, 05 Jun 2012 10:31:11 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
CC: David Morris <dwm@xpasc.com>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@mnot.net> <4FC9EB37.3060709@gmx.de> <8CA0F06B-4CAF-4065-9F6C-B9A3D123DAEA@mnot.net> <7o1os7145351k97h0ooitt3ebje8n7q8so@hive.bjoern.hoehrmann.de> <D14EA701-3F2E-46D0-92D8-D489FC8BDAD9@mnot.net> <alpine.LRH.2.01.1206032251480.8250@egate.xpasc.com>
In-Reply-To: <alpine.LRH.2.01.1206032251480.8250@egate.xpasc.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=-1.9
X-W3C-Hub-Spam-Report: 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 1SbpHS-0000yr-Qp 9e7a0b0ffb0c4fb469384a42ca01b095
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/4FCDC3CF.4050102@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13624
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbpHm-0005Wu-Go@frink.w3.org>
Resent-Date: Tue, 05 Jun 2012 08:38:42 +0000

On 2012-06-04 07:54, David Morris wrote:
>
>
> On Mon, 4 Jun 2012, Mark Nottingham wrote:
>
>>
>> On 04/06/2012, at 10:57 AM, Bjoern Hoehrmann wrote:
>>
>>> * Mark Nottingham wrote:
>>>> On 02/06/2012, at 8:30 PM, Julian Reschke wrote:
>>>>> -1; if we change the terms we should do so consistently.
>>>>
>>>> I thought "details" captured a certain vagueness that would help in this particular case. YMMV.
>>>
>>> I agree with Julian in that if we want to consider changing the termino-
>>> logy, we should do that in a dedicated thread rather than arguing about
>>> the terms in the particular example, short of a rationale why this par-
>>> ticular instance is exceptional. I don't think, in any case, "details"
>>> would be a good replacement.
>>
>> See my subsequent message; my understanding was that this is a special
>> case, because it's not talking about what's happening on the wire.
>
> I don't see a reason to call what is on the wire anything different than
> what is provided by the user. It is encoded according to the rules of
> the authentication method. There is no clarity that I can divine with
> the additional complexity.

Change applied with 
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1669>.

We can discuss terminology, but this should happen in a separate thread.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jun  5 12:35: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 36A3521F8573 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  5 Jun 2012 12:35:49 -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.933, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v7bM5GF3MT3F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue,  5 Jun 2012 12:35:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6564A21F8546 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue,  5 Jun 2012 12:35:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SbzVz-0004pJ-LE for ietf-http-wg-dist@listhub.w3.org; Tue, 05 Jun 2012 19:34:03 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SbzVn-0004oQ-3Q for ietf-http-wg@listhub.w3.org; Tue, 05 Jun 2012 19:33:51 +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 1SbzVh-0003dr-7n for ietf-http-wg@w3.org; Tue, 05 Jun 2012 19:33:49 +0000
Received: (qmail invoked by alias); 05 Jun 2012 19:33:18 -0000
Received: from p5DD97367.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.115.103] by mail.gmx.net (mp071) with SMTP; 05 Jun 2012 21:33:18 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+1h0Ukddm1AzCw1xHKevfhquOFk+yE/MD/LozeZL Pcyr/J5C5oboGc
Message-ID: <4FCE5EFA.4040205@gmx.de>
Date: Tue, 05 Jun 2012 21:33:14 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: HTTP Working Group <ietf-http-wg@w3.org>
CC: David Morris <dwm@xpasc.com>
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <4FC77CF5.6030709@isode.com> <4FC78203.3070202@gmx.de> <alpine.LRH.2.01.1205310752090.15057@egate.xpasc.com> <4FC7890C.2000106@gmx.de> <alpine.LRH.2.01.1206041700000.22684@egate.xpasc.com>
In-Reply-To: <alpine.LRH.2.01.1206041700000.22684@egate.xpasc.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=-1.9
X-W3C-Hub-Spam-Report: 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 1SbzVh-0003dr-7n c2bfdb89445765b9a17848fdf6dea312
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/4FCE5EFA.4040205@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13625
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SbzVz-0004pJ-LE@frink.w3.org>
Resent-Date: Tue, 05 Jun 2012 19:34:03 +0000

On 2012-06-05 02:16, David Morris wrote:
> ...
> This took a few days to set up a careful test case. I don't have the time
> or resources to test every client, so I can't refute the claim that some
> clients send the authorization header for a part of the hosts content
> which it doesn't apply to, but I've tested:

What's the definition of "doesn't apply to"?

> IE6, IE7, IE8 and Safari (5.1.5 on MacOS 10.7). None of these clients
> sent sent the authorization header contrary to my assertion above.
>
> Any wording in the RFC should make it clear that sending the
> credentials for the parent of 'a' or for 'b' is incorrect but
> may happen with broken clients.
>
> I created the following structure on my test apache server:
>
> a: /authab/index.html
> b: /authab/a/index.html ... configured to require credentials
> c: /authab/b/index.html
>
> This each was a simple html page with links to the other two pages
> and a javascript onClick handler which added a unique query string
> to each request to avoid browser caching.
>
>
> With tcpdump on the server to capture all port 80 traffic.
> I entered url a: in each browser's address box. Navigated to c: and
> from there to b: and then back to a: and finally back to c:
>
> In each case, the browser requested credentials on the first request
> for b:.
>
> I then examined the resulting tcpdump file and confirmed that the
> authorization header was not ever included on requests for a: or c:.
>
> I'm willing to share my server with anyone who would like to test
> with other clients, but I don't want the name posted on this
> mailing list. Send me a private email for the info.

Thanks for setting this up. This definitively requires research.

In the meantime: what do we do with the ticket?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jun  6 11:11: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 B2E4D21F87E9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 11:11:08 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CH6slV57z8D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 11:11:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2F70221F8540 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  6 Jun 2012 11:11:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScKfb-00016C-PW for ietf-http-wg-dist@listhub.w3.org; Wed, 06 Jun 2012 18:09:23 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dwm@xpasc.com>) id 1ScKfO-00014t-Sk for ietf-http-wg@listhub.w3.org; Wed, 06 Jun 2012 18:09:10 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1ScKfI-0001zB-Jn for ietf-http-wg@w3.org; Wed, 06 Jun 2012 18:09:08 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 496E14091F for <ietf-http-wg@w3.org>; Wed,  6 Jun 2012 18:08:37 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q56HblqL016052 for <ietf-http-wg@w3.org>; Wed, 6 Jun 2012 10:37:48 -0700
Date: Wed, 6 Jun 2012 10:37:47 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: HTTP Working Group <ietf-http-wg@w3.org>
To: HTTP Working Group <ietf-http-wg@w3.org>
In-Reply-To: <4FCE5EFA.4040205@gmx.de>
Message-ID: <alpine.LRH.2.01.1206061023560.15954@egate.xpasc.com>
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <4FC77CF5.6030709@isode.com> <4FC78203.3070202@gmx.de> <alpine.LRH.2.01.1205310752090.15057@egate.xpasc.com> <4FC7890C.2000106@gmx.de> <alpine.LRH.2.01.1206041700000.22684@egate.xpasc.com> <4FCE5EFA.4040205@gmx.de>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.24-gef8a08a
X-CLX-ID: a120AD3GD7Hu1vr-561108b
X-CLX-Spam: false
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.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 1ScKfI-0001zB-Jn f3c435529f915f5e4c658012ffb5cdbb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1206061023560.15954@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13626
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScKfb-00016C-PW@frink.w3.org>
Resent-Date: Wed, 06 Jun 2012 18:09:23 +0000

On Tue, 5 Jun 2012, Julian Reschke wrote:

> On 2012-06-05 02:16, David Morris wrote:
> > ...
> > This took a few days to set up a careful test case. I don't have the time
> > or resources to test every client, so I can't refute the claim that some
> > clients send the authorization header for a part of the hosts content
> > which it doesn't apply to, but I've tested:
> 
> What's the definition of "doesn't apply to"?

>From memory ... which has stuck with me because I wasn't real happy
with the definition ...

Thinking of URLs as representing the hierarachical name space
we commonly associate with a file system ...

Realm "RauthA" returned in a 401 response's www-authenticate header
for a request for authab/a/ may be assumed to applu to directory 
authab/a/ and to all directories under authab/a/. So if the client
has credentials for authab/a/ it may return those credentials
in the Authorization header in a request for authab/a/aa/
anticipating that the same credential would apply, but not for
authab/ or any peer of authab/a/ such as authab/b/ in my test.

My current test setup doesn't support the subdirectory case, but
I think I'll expand it when I get a chance.  I also need to go back
and review the RFCs to validate my memory.

Dave Morris




From ietf-http-wg-request@listhub.w3.org  Wed Jun  6 13:10: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 124B921F8661 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 13:10:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.413
X-Spam-Level: 
X-Spam-Status: No, score=-7.413 tagged_above=-999 required=5 tests=[AWL=3.186, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JgjQjMcgdCQw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 13:10:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 513E011E80AC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  6 Jun 2012 13:10:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScMXs-0000hM-6K for ietf-http-wg-dist@listhub.w3.org; Wed, 06 Jun 2012 20:09:32 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1ScMXg-0000eF-Jl for ietf-http-wg@listhub.w3.org; Wed, 06 Jun 2012 20:09:20 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1ScMXb-0001zB-L0 for ietf-http-wg@w3.org; Wed, 06 Jun 2012 20:09:18 +0000
Received: by bkty5 with SMTP id y5so6851058bkt.2 for <ietf-http-wg@w3.org>; Wed, 06 Jun 2012 13:08: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 :content-type:content-transfer-encoding; bh=9JuZrQjbDvSTvLoobVeDhz3r1OkDW0zRck4vCFq4dmI=; b=r04M8DuuBi78JZhpNtjYAkCGHyrb9DmC2ZLF0qbA/jYt2fvVQoLPiyIwjZsyuvUuNe ADjuhMwCRWKQoehrJaQlVux6FdbOWj5+SdcICTPrA6/0NXpAxf1tqS3nEm5arrNrgaTM ysztLJLxnxvQJ2FjST65v+duISFAaG39sNSZOXt7r9oIENoKoB8emTT8+vqq1SgfR55o ShIEeP73kvs7dRqOKGXSuO8d+iZCdAtz1Lhsf4KZf0hWaUB23J3XV/ruIKdG3DtyhHcQ 8+mtnsAqY1USVIlsEU56b/UqdFct2CV5Vl8WYSWEjp2A2j8xV/gy+wyD7aSxG68gf6Rw lzTA==
MIME-Version: 1.0
Received: by 10.204.152.195 with SMTP id h3mr13487669bkw.119.1339013328171; Wed, 06 Jun 2012 13:08:48 -0700 (PDT)
Received: by 10.204.66.4 with HTTP; Wed, 6 Jun 2012 13:08:48 -0700 (PDT)
In-Reply-To: <alpine.LRH.2.01.1206061023560.15954@egate.xpasc.com>
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <4FC77CF5.6030709@isode.com> <4FC78203.3070202@gmx.de> <alpine.LRH.2.01.1205310752090.15057@egate.xpasc.com> <4FC7890C.2000106@gmx.de> <alpine.LRH.2.01.1206041700000.22684@egate.xpasc.com> <4FCE5EFA.4040205@gmx.de> <alpine.LRH.2.01.1206061023560.15954@egate.xpasc.com>
Date: Wed, 6 Jun 2012 13:08:48 -0700
Message-ID: <CABkgnnWqXQAKPL8N7U5VL-zL_sWpasN=33GJg-dJRsKBwmA60Q@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.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: lisa.w3.org 1ScMXb-0001zB-L0 c2bd580c5b1e0a742e9630f0712d2a3a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/CABkgnnWqXQAKPL8N7U5VL-zL_sWpasN=33GJg-dJRsKBwmA60Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13627
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScMXs-0000hM-6K@frink.w3.org>
Resent-Date: Wed, 06 Jun 2012 20:09:32 +0000

On 6 June 2012 10:37, David Morris <dwm@xpasc.com> wrote:
> My current test setup doesn't support the subdirectory case, but
> I think I'll expand it when I get a chance. =C2=A0I also need to go back
> and review the RFCs to validate my memory.

I'd also like to see a test for other resources.  In your test, you
had previously visited the unauthenticated resources.  What about
resource /d?

It all comes down to the criteria used by browser to optimize the
sending of authentication information in requests.  It might use path
hierarchy, or something else.  In the end, it might be easier to ask,
or directly check.


From ietf-http-wg-request@listhub.w3.org  Wed Jun  6 18: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 EE44911E80E1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 18:33:46 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m4eDu7Sq7QzF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 18:33:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CA20711E80BC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  6 Jun 2012 18:33:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScRZe-0000Jd-2L for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 01:31:42 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1ScRZP-0000F9-52 for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 01:31:27 +0000
Received: from am1ehsobe004.messaging.microsoft.com ([213.199.154.207] helo=am1outboundpool.messaging.microsoft.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 1ScRZK-000132-7i for ietf-http-wg@w3.org; Thu, 07 Jun 2012 01:31:25 +0000
Received: from mail42-am1-R.bigfish.com (10.3.201.235) by AM1EHSOBE001.bigfish.com (10.3.204.21) with Microsoft SMTP Server id 14.1.225.23; Thu, 7 Jun 2012 01:30:08 +0000
Received: from mail42-am1 (localhost [127.0.0.1])	by mail42-am1-R.bigfish.com (Postfix) with ESMTP id 6A2F02E030C	for <ietf-http-wg@w3.org>; Thu,  7 Jun 2012 01:30:08 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: 0
X-BigFish: VS0(zzc85fhzz1202hzz8275bh8275dhz2fh2a8h668h839hd25hf0ah)
Received-SPF: pass (mail42-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Gabriel.Montenegro@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail42-am1 (localhost.localdomain [127.0.0.1]) by mail42-am1 (MessageSwitch) id 1339032605938551_5975; Thu,  7 Jun 2012 01:30:05 +0000 (UTC)
Received: from AM1EHSMHS009.bigfish.com (unknown [10.3.201.233])	by mail42-am1.bigfish.com (Postfix) with ESMTP id E334D2005A	for <ietf-http-wg@w3.org>; Thu,  7 Jun 2012 01:30:05 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS009.bigfish.com (10.3.207.109) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 7 Jun 2012 01:30:05 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14MLTC103.redmond.corp.microsoft.com (157.54.79.174) with Microsoft SMTP Server (TLS) id 14.2.298.5; Thu, 7 Jun 2012 01:30:49 +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.309.3; Wed, 6 Jun 2012 18:30:49 -0700
Received: from TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com ([169.254.2.243]) by TK5EX14MLTW651.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.39]) with mapi id 14.02.0309.003; Wed, 6 Jun 2012 18:30:48 -0700
From: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
CC: Matthew Cox <macox@microsoft.com>, Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>, Jonathan Silvera <jsilvera@microsoft.com>
Thread-Topic: Some thoughts on server push and client pull
Thread-Index: Ac1ETIJWq8CMOjzQSjCTPCYsHKKXcg==
Date: Thu, 7 Jun 2012 01:30:47 +0000
Message-ID: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: multipart/alternative; boundary="_000_CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5TK5EX14MBXW602w_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.207; envelope-from=Gabriel.Montenegro@microsoft.com; helo=am1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1ScRZK-000132-7i 58d7790bcbb015ab0ce410da1e282a37
X-Original-To: ietf-http-wg@w3.org
Subject: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13628
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScRZe-0000Jd-2L@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 01:31:42 +0000

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

Hi folks,

Amongst some collegues, we've been thinking about server push in HTTP 2.0 a=
nd have some ideas we'd like to share as a way to promote discussion on thi=
s subject

1. Overview
Server Push is an interesting idea that could provide some performance gain=
s for HTTP 2.0 clients, however we don't believe it is core the HTTP 2.0 pr=
otocol. Server Push could result in servers sending unnecessary data to the=
 client, introduces potential delays to avoid race conditions and is mostly=
 relevant for browser applications. A less complex alternative that address=
es some of these drawbacks while better aligning with legacy HTTP, "Smart C=
lient Pull", is proposed below.


2. Issues with current Server Push in SPDY

We don't envision Server push as part of the base HTTP 2.0 protocol, but se=
e it as a potentially interesting extension, as long as there is some way f=
or the client to exert some control over when and how it is used. One funda=
mental requirement is for clients to be able to control "Server Push" behav=
ior via a new opt-in <name TBD> header.  Servers MUST NOT push unrequested =
data to the client, unless the top level page request <name TBD> header is =
set to allow "Server Push".

Server Push does not require any validation prior to pushing data to the cl=
ient, which could result in the server sending unnecessary data to clients =
that have some of the pushed resources stored in their cache.

Furthermore, "Server Push" introduces a race condition in which a client co=
uld start a new request for data that the server is in the process of pushi=
ng, effectively causing the same resource to be downloaded twice. SPDY addr=
esses the race condition by not sending any data (headers are OK) for the t=
op level page, until all of the SYN_STREAM for the dependencies it will pus=
h are sent:

"To minimize race conditions with the client, the SYN_STREAM for the pushed=
 resources MUST be sent prior to sending any content which could allow the =
client to discover the pushed resource and request it."

We agree that SPDY's proposal is a good way to mitigate the race condition =
in Server Push without introducing significant complexity. Unfortunately mi=
tigating the race condition in this manner prevents the server from sending=
 data for the top level page. This could result in user-visible delays.  Wh=
ether or not the user will see a delay will depend on what messages (how ma=
ny and how large) the server is pushing to the client.

3. Smart Client Pull alternative to Server Push

We would like to propose an alternative to Server Push for discussion. This=
 alternative is closely aligned with existing standards and could even work=
 for HTTP 1.1.

When a server receives an HTTP request for a top level page, the server wil=
l generate a list of resources needed to fully load the top level page. The=
 server will send the optimal pre-fetch list to the client, via LINK header=
s, with a "prefetch" link relation type (defined in HTML5 per http://www.ia=
na.org/assignments/link-relations/link-relations.xml).
The server SHOULD also include the corresponding cache validators for each =
resource in the pre-fetch list. An extension to the "prefetch" link relatio=
n type will be needed to allow cache validator data.

When a client receives data for a top level page, it will begin processing =
the top level page response, while simultaneously pre-fetching resources in=
 the pre-fetch list that are not in the client cache or that are cached but=
 invalid, as indicated by the cache validators included in the pre-fetch li=
st. Servers SHOULD only include resources that block loading of the top lev=
el page in the optimal pre-fetch list.

This eliminates the need to block data for the top level request until all =
SYN_STREAM for pushed dependencies are sent, in order to avoid the race con=
dition. The client would pre-fetch the resources in the optimal pre-fetch l=
ist, which introduces an extra RTT.  We should gather data to determine how=
 much more significant this RTT is, when compared to the complexity of impl=
ementing server push and some of the benefits obtained by multiplexing new =
connections for the dependency resources.

Clients will control "Smart Client Pull" behavior via a new opt-in <name TB=
D> header. Servers MUST NOT push LINK header and associated cache validator=
 data to clients, unless the top level page request <name TBD> header is se=
t to allow "Smart Client Pull".

4. Other alternatives

These are other client-driven alternatives to "Server Push". However we nee=
d to capture additional data to determine the impact and cost of each:

a.            Bundling of HTTP resources: Administrators can package static=
 server side resources needed to download a webpage as a single entity. A c=
lient would download all static dependencies by issuing a single HTTP reque=
st. However, this could result in the client receiving data which it alread=
y had in its cache.

b.            Combination of Smart Client Pull and Bundling of HTTP resourc=
es (a).

5.            Recommendation:

"Server Push" should not be a part of the core HTTP2.0 spec for the followi=
ng reasons:

- "Server Push" is not core to defining the HTTP 2.0 transport.

- "Server Push" without optimizations can result in unnecessary data being =
sent to the client.

- "Server Push" even with optimizations, introduces delays to avoid race co=
nditions that are not present in other solutions.

- "Server Push" is relevant primarily for browser applications and not for =
more general use cases.

6.            Areas for further discussion:

- How to send the "prefetch" list and its corresponding cache-validators in=
 an efficient manner. These resources are URLs, which can be really long, c=
ausing us to transmit a additional data when using Smart Client Pull.

- Validation of cached resources included in the prefetch list will require=
 additional CPU cycles.  However, it is no different from cache validation =
currently performed on cache resources. The tradeoff here is CPU load in or=
der to avoid unnecessary download of resources already in the client's cach=
e.

- Compare "Smart Server Hints" and "Bundling" to determine the impact of th=
e features in isolation and combined.

--_000_CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5TK5EX14MBXW602w_
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-micr=
osoft-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=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"MS Mincho";
	panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@MS Mincho";
	panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
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";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
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=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi folks,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Amongst some collegues, we've been thinking about se=
rver push in HTTP 2.0 and have some ideas we'd like to share as a way to pr=
omote discussion on this subject<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">1. Overview<o:p></o:p></p>
<p class=3D"MsoNormal">Server Push is an interesting idea that could provid=
e some performance gains for HTTP 2.0 clients, however we don&#8217;t belie=
ve it is core the HTTP 2.0 protocol. Server Push could result in servers se=
nding unnecessary data to the client, introduces
 potential delays to avoid race conditions and is mostly relevant for brows=
er applications. A less complex alternative that addresses some of these dr=
awbacks while better aligning with legacy HTTP, &#8220;Smart Client Pull&#8=
221;, is proposed below.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">2. Issues with current Server Push in SPDY<o:p></o:p=
></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">We don't envision Server push as part of the base HT=
TP 2.0 protocol, but see it as a potentially interesting extension, as long=
 as there is some way for the client to exert some control over when and ho=
w it is used. One fundamental requirement
 is for clients to be able to control &#8220;Server Push&#8221; behavior vi=
a a new opt-in &lt;name TBD&gt; header.&nbsp; Servers MUST NOT push unreque=
sted data to the client, unless the top level page request &lt;name TBD&gt;=
 header is set to allow &#8220;Server Push&#8221;.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Server Push does not require any validation prior to=
 pushing data to the client, which could result in the server sending unnec=
essary data to clients that have some of the pushed resources stored in the=
ir cache.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Furthermore, &quot;Server Push&quot; introduces a ra=
ce condition in which a client could start a new request for data that the =
server is in the process of pushing, effectively causing the same resource =
to be downloaded twice. SPDY addresses the race
 condition by not sending any data (headers are OK) for the top level page,=
 until all of the SYN_STREAM for the dependencies it will push are sent:<o:=
p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&quot;To minimize race conditions with the client, t=
he SYN_STREAM for the pushed resources MUST be sent prior to sending any co=
ntent which could allow the client to discover the pushed resource and requ=
est it.&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">We agree that SPDY's proposal is a good way to mitig=
ate the race condition in Server Push without introducing significant compl=
exity. Unfortunately mitigating the race condition in this manner prevents =
the server from sending data for the
 top level page. This could result in user-visible delays.&nbsp; Whether or=
 not the user will see a delay will depend on what messages (how many and h=
ow large) the server is pushing to the client.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">3. Smart Client Pull alternative to Server Push<o:p>=
</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">We would like to propose an alternative to Server Pu=
sh for discussion. This alternative is closely aligned with existing standa=
rds and could even work for HTTP 1.1.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">When a server receives an HTTP request for a top lev=
el page, the server will generate a list of resources needed to fully load =
the top level page. The server will send the optimal pre-fetch list to the =
client, via LINK headers, with a &quot;prefetch&quot;
 link relation type (defined in HTML5 per http://www.iana.org/assignments/l=
ink-relations/link-relations.xml).
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p></o:p></p>
<p class=3D"MsoNormal">The server SHOULD also include the corresponding cac=
he validators for each resource in the pre-fetch list. An extension to the =
&#8220;prefetch&#8221; link relation type will be needed to allow cache val=
idator data.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">When a client receives data for a top level page, it=
 will begin processing the top level page response, while simultaneously pr=
e-fetching resources in the pre-fetch list that are not in the client cache=
 or that are cached but invalid, as
 indicated by the cache validators included in the pre-fetch list. Servers =
SHOULD only include resources that block loading of the top level page in t=
he optimal pre-fetch list.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This eliminates the need to block data for the top l=
evel request until all SYN_STREAM for pushed dependencies are sent, in orde=
r to avoid the race condition. The client would pre-fetch the resources in =
the optimal pre-fetch list, which
 introduces an extra RTT.&nbsp; We should gather data to determine how much=
 more significant this RTT is, when compared to the complexity of implement=
ing server push and some of the benefits obtained by multiplexing new conne=
ctions for the dependency resources.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Clients will control &#8220;Smart Client Pull&#8221;=
 behavior via a new opt-in &lt;name TBD&gt; header. Servers MUST NOT push L=
INK header and associated cache validator data to clients, unless the top l=
evel page request &lt;name TBD&gt; header is set to allow
 &#8220;Smart Client Pull&#8221;. <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">4. Other alternatives <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">These are other client-driven alternatives to &#8220=
;Server Push&#8221;. However we need to capture additional data to determin=
e the impact and cost of each:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">a.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; Bundling of HTTP resources: Administrators can package sta=
tic server side resources needed to download a webpage as a single entity. =
A client would download all static dependencies by issuing a single HTTP re=
quest. However,
 this could result in the client receiving data which it already had in its=
 cache.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">b.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; Combination of Smart Client Pull and Bundling of HTTP reso=
urces (a).<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">5.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; Recommendation:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&#8220;Server Push&#8221; should not be a part of th=
e core HTTP2.0 spec for the following reasons:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- &#8220;Server Push&#8221; is not core to defining =
the HTTP 2.0 transport.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- &#8220;Server Push&#8221; without optimizations ca=
n result in unnecessary data being sent to the client.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- &#8220;Server Push&#8221; even with optimizations,=
 introduces delays to avoid race conditions that are not present in other s=
olutions.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- &#8220;Server Push&#8221; is relevant primarily fo=
r browser applications and not for more general use cases.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">6.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; Areas for further discussion: <o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- How to send the &#8220;prefetch&quot; list and its=
 corresponding cache-validators in an efficient manner. These resources are=
 URLs, which can be really long, causing us to transmit a additional data w=
hen using Smart Client Pull.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- Validation of cached resources included in the pre=
fetch list will require additional CPU cycles.&nbsp; However, it is no diff=
erent from cache validation currently performed on cache resources. The tra=
deoff here is CPU load in order to avoid
 unnecessary download of resources already in the client&#8217;s cache.<o:p=
></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- Compare &#8220;Smart Server Hints&#8221; and &#822=
0;Bundling&#8221; to determine the impact of the features in isolation and =
combined.<o:p></o:p></p>
</div>
</body>
</html>

--_000_CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5TK5EX14MBXW602w_--


From ietf-http-wg-request@listhub.w3.org  Wed Jun  6 18:48: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 293DB11E80C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 18:48:53 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kopzUJYcKj61 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 18:48:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1B13311E80B1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  6 Jun 2012 18:48:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScRpi-0002bb-CK for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 01:48:18 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1ScRpY-0002aE-DF for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 01:48:08 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1ScRpU-0001Yj-M0 for ietf-http-wg@w3.org; Thu, 07 Jun 2012 01:48:06 +0000
Received: by ghy10 with SMTP id 10so53509ghy.2 for <ietf-http-wg@w3.org>; Wed, 06 Jun 2012 18:47:39 -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 :cc:content-type:x-gm-message-state; bh=UjkcUp2+qwgKtqXaBaeiOu1uK1MzZtzwFGDM18pthQg=; b=jVArDXrfZRDk6WQys2tPbF+GCQwRtOCzjwsMp8s14ZJwnkKOPlsCyZfdjtK6q3oUGU iVsB1Dxu9fD68K4zsRrOoXQ3w/iVEywsJlfDr7z2ycOEx0RS1p2p9rbPdTBH8G/oKj3k raHOCodSKsFRs2YF9OfnHxPkZs70+U1nRSbn+TAU9Lsso85UmfoAGwlwvfEwLbSllMgR 7oRhW3kJnlBS6M1ISt/Tzlb6v49/oVf7Kdv7AQF4VP4P4jERpX6qAdrio2gpdXHroGHu wN/eZWP2IZvQEgkIctaseZyWbbMKvYRSQE48nP68eXjm6b00iUSnBRt3U03xUXZZXGvm miGA==
MIME-Version: 1.0
Received: by 10.50.149.194 with SMTP id uc2mr188047igb.23.1339033658966; Wed, 06 Jun 2012 18:47:38 -0700 (PDT)
Received: by 10.64.5.71 with HTTP; Wed, 6 Jun 2012 18:47:38 -0700 (PDT)
In-Reply-To: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Date: Wed, 6 Jun 2012 18:47:38 -0700
Message-ID: <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Matthew Cox <macox@microsoft.com>,  Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>,  Rob Trace <Rob.Trace@microsoft.com>, Jonathan Silvera <jsilvera@microsoft.com>
Content-Type: multipart/alternative; boundary=e89a8f3bac1795c1a404c1d811ae
X-Gm-Message-State: ALoCoQmo8xd9asdbT83G+wbeayhepEhILegz8VYoBx04HnlU82DON7lQZ5TqLbEYctYHGKu/V1eV
Received-SPF: none client-ip=209.85.160.171; envelope-from=mike@belshe.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1ScRpU-0001Yj-M0 b2e0bc89c6564141e2f8a4a5c7eac89b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13629
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScRpi-0002bb-CK@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 01:48:18 +0000

--e89a8f3bac1795c1a404c1d811ae
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

I agree.

Perhaps another reason for dropping push at this point may be that I don't
know of any efforts to seriously deploy it.  If no implementors are willing
to speak up that they plan to use it, deploy it, measure it, and report
results on their findings, then it is a good time to drop it altogether and
focus on the other parts of the protocol instead.

Mike


On Wed, Jun 6, 2012 at 6:30 PM, Gabriel Montenegro <
Gabriel.Montenegro@microsoft.com> wrote:

>  Hi folks,****
>
> ** **
>
> Amongst some collegues, we've been thinking about server push in HTTP 2.0
> and have some ideas we'd like to share as a way to promote discussion on
> this subject****
>
> ** **
>
> 1. Overview****
>
> Server Push is an interesting idea that could provide some performance
> gains for HTTP 2.0 clients, however we don=92t believe it is core the HTT=
P
> 2.0 protocol. Server Push could result in servers sending unnecessary dat=
a
> to the client, introduces potential delays to avoid race conditions and i=
s
> mostly relevant for browser applications. A less complex alternative that
> addresses some of these drawbacks while better aligning with legacy HTTP,
> =93Smart Client Pull=94, is proposed below. ****
>
> ** **
>
> ** **
>
> 2. Issues with current Server Push in SPDY****
>
> ** **
>
> We don't envision Server push as part of the base HTTP 2.0 protocol, but
> see it as a potentially interesting extension, as long as there is some w=
ay
> for the client to exert some control over when and how it is used. One
> fundamental requirement is for clients to be able to control =93Server Pu=
sh=94
> behavior via a new opt-in <name TBD> header.  Servers MUST NOT push
> unrequested data to the client, unless the top level page request <name
> TBD> header is set to allow =93Server Push=94.****
>
> ** **
>
> Server Push does not require any validation prior to pushing data to the
> client, which could result in the server sending unnecessary data to
> clients that have some of the pushed resources stored in their cache.****
>
> ** **
>
> Furthermore, "Server Push" introduces a race condition in which a client
> could start a new request for data that the server is in the process of
> pushing, effectively causing the same resource to be downloaded twice. SP=
DY
> addresses the race condition by not sending any data (headers are OK) for
> the top level page, until all of the SYN_STREAM for the dependencies it
> will push are sent:****
>
> ** **
>
> "To minimize race conditions with the client, the SYN_STREAM for the
> pushed resources MUST be sent prior to sending any content which could
> allow the client to discover the pushed resource and request it."****
>
> ** **
>
> We agree that SPDY's proposal is a good way to mitigate the race conditio=
n
> in Server Push without introducing significant complexity. Unfortunately
> mitigating the race condition in this manner prevents the server from
> sending data for the top level page. This could result in user-visible
> delays.  Whether or not the user will see a delay will depend on what
> messages (how many and how large) the server is pushing to the client.***=
*
>
> ** **
>
> 3. Smart Client Pull alternative to Server Push****
>
> ** **
>
> We would like to propose an alternative to Server Push for discussion.
> This alternative is closely aligned with existing standards and could eve=
n
> work for HTTP 1.1.****
>
> ** **
>
> When a server receives an HTTP request for a top level page, the server
> will generate a list of resources needed to fully load the top level page=
.
> The server will send the optimal pre-fetch list to the client, via LINK
> headers, with a "prefetch" link relation type (defined in HTML5 per
> http://www.iana.org/assignments/link-relations/link-relations.xml). ****
>
> ****
>
> The server SHOULD also include the corresponding cache validators for eac=
h
> resource in the pre-fetch list. An extension to the =93prefetch=94 link
> relation type will be needed to allow cache validator data.****
>
> ** **
>
> When a client receives data for a top level page, it will begin processin=
g
> the top level page response, while simultaneously pre-fetching resources =
in
> the pre-fetch list that are not in the client cache or that are cached bu=
t
> invalid, as indicated by the cache validators included in the pre-fetch
> list. Servers SHOULD only include resources that block loading of the top
> level page in the optimal pre-fetch list.****
>
> ** **
>
> This eliminates the need to block data for the top level request until al=
l
> SYN_STREAM for pushed dependencies are sent, in order to avoid the race
> condition. The client would pre-fetch the resources in the optimal
> pre-fetch list, which introduces an extra RTT.  We should gather data to
> determine how much more significant this RTT is, when compared to the
> complexity of implementing server push and some of the benefits obtained =
by
> multiplexing new connections for the dependency resources.****
>
> ** **
>
> Clients will control =93Smart Client Pull=94 behavior via a new opt-in <n=
ame
> TBD> header. Servers MUST NOT push LINK header and associated cache
> validator data to clients, unless the top level page request <name TBD>
> header is set to allow =93Smart Client Pull=94. ****
>
> ** **
>
> 4. Other alternatives ****
>
> ** **
>
> These are other client-driven alternatives to =93Server Push=94. However =
we
> need to capture additional data to determine the impact and cost of each:=
*
> ***
>
> ** **
>
> a.            Bundling of HTTP resources: Administrators can package
> static server side resources needed to download a webpage as a single
> entity. A client would download all static dependencies by issuing a sing=
le
> HTTP request. However, this could result in the client receiving data whi=
ch
> it already had in its cache.****
>
> ** **
>
> b.            Combination of Smart Client Pull and Bundling of HTTP
> resources (a).****
>
> ** **
>
> 5.            Recommendation:****
>
> ** **
>
> =93Server Push=94 should not be a part of the core HTTP2.0 spec for the
> following reasons:****
>
> ** **
>
> - =93Server Push=94 is not core to defining the HTTP 2.0 transport.****
>
> ** **
>
> - =93Server Push=94 without optimizations can result in unnecessary data =
being
> sent to the client.****
>
> ** **
>
> - =93Server Push=94 even with optimizations, introduces delays to avoid r=
ace
> conditions that are not present in other solutions.****
>
> ** **
>
> - =93Server Push=94 is relevant primarily for browser applications and no=
t for
> more general use cases.****
>
> ** **
>
> 6.            Areas for further discussion: ****
>
> ** **
>
> - How to send the =93prefetch" list and its corresponding cache-validator=
s
> in an efficient manner. These resources are URLs, which can be really lon=
g,
> causing us to transmit a additional data when using Smart Client Pull.***=
*
>
> ** **
>
> - Validation of cached resources included in the prefetch list will
> require additional CPU cycles.  However, it is no different from cache
> validation currently performed on cache resources. The tradeoff here is C=
PU
> load in order to avoid unnecessary download of resources already in the
> client=92s cache.****
>
> ** **
>
> - Compare =93Smart Server Hints=94 and =93Bundling=94 to determine the im=
pact of
> the features in isolation and combined.****
>

--e89a8f3bac1795c1a404c1d811ae
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

I agree.=A0<div><br></div><div>Perhaps another reason for dropping push at =
this point may be that I don&#39;t know of any efforts to seriously deploy =
it. =A0If no implementors are willing to speak up that they plan to use it,=
 deploy it, measure it, and report results on their findings, then it is a =
good time to drop it altogether and focus on the other parts of the protoco=
l instead.</div>
<div><br></div><div><div>Mike</div><div><br></div><div><br><div class=3D"gm=
ail_quote">On Wed, Jun 6, 2012 at 6:30 PM, Gabriel Montenegro <span dir=3D"=
ltr">&lt;<a href=3D"mailto:Gabriel.Montenegro@microsoft.com" target=3D"_bla=
nk">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">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal">Hi folks,<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Amongst some collegues, we&#39;ve been thinking abou=
t server push in HTTP 2.0 and have some ideas we&#39;d like to share as a w=
ay to promote discussion on this subject<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">1. Overview<u></u><u></u></p>
<p class=3D"MsoNormal">Server Push is an interesting idea that could provid=
e some performance gains for HTTP 2.0 clients, however we don=92t believe i=
t is core the HTTP 2.0 protocol. Server Push could result in servers sendin=
g unnecessary data to the client, introduces
 potential delays to avoid race conditions and is mostly relevant for brows=
er applications. A less complex alternative that addresses some of these dr=
awbacks while better aligning with legacy HTTP, =93Smart Client Pull=94, is=
 proposed below.
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">2. Issues with current Server Push in SPDY<u></u><u>=
</u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We don&#39;t envision Server push as part of the bas=
e HTTP 2.0 protocol, but see it as a potentially interesting extension, as =
long as there is some way for the client to exert some control over when an=
d how it is used. One fundamental requirement
 is for clients to be able to control =93Server Push=94 behavior via a new =
opt-in &lt;name TBD&gt; header.=A0 Servers MUST NOT push unrequested data t=
o the client, unless the top level page request &lt;name TBD&gt; header is =
set to allow =93Server Push=94.<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Server Push does not require any validation prior to=
 pushing data to the client, which could result in the server sending unnec=
essary data to clients that have some of the pushed resources stored in the=
ir cache.<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Furthermore, &quot;Server Push&quot; introduces a ra=
ce condition in which a client could start a new request for data that the =
server is in the process of pushing, effectively causing the same resource =
to be downloaded twice. SPDY addresses the race
 condition by not sending any data (headers are OK) for the top level page,=
 until all of the SYN_STREAM for the dependencies it will push are sent:<u>=
</u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">&quot;To minimize race conditions with the client, t=
he SYN_STREAM for the pushed resources MUST be sent prior to sending any co=
ntent which could allow the client to discover the pushed resource and requ=
est it.&quot;<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We agree that SPDY&#39;s proposal is a good way to m=
itigate the race condition in Server Push without introducing significant c=
omplexity. Unfortunately mitigating the race condition in this manner preve=
nts the server from sending data for the
 top level page. This could result in user-visible delays.=A0 Whether or no=
t the user will see a delay will depend on what messages (how many and how =
large) the server is pushing to the client.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">3. Smart Client Pull alternative to Server Push<u></=
u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We would like to propose an alternative to Server Pu=
sh for discussion. This alternative is closely aligned with existing standa=
rds and could even work for HTTP 1.1.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">When a server receives an HTTP request for a top lev=
el page, the server will generate a list of resources needed to fully load =
the top level page. The server will send the optimal pre-fetch list to the =
client, via LINK headers, with a &quot;prefetch&quot;
 link relation type (defined in HTML5 per <a href=3D"http://www.iana.org/as=
signments/link-relations/link-relations.xml" target=3D"_blank">http://www.i=
ana.org/assignments/link-relations/link-relations.xml</a>).
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u><u></u></p>
<p class=3D"MsoNormal">The server SHOULD also include the corresponding cac=
he validators for each resource in the pre-fetch list. An extension to the =
=93prefetch=94 link relation type will be needed to allow cache validator d=
ata.<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">When a client receives data for a top level page, it=
 will begin processing the top level page response, while simultaneously pr=
e-fetching resources in the pre-fetch list that are not in the client cache=
 or that are cached but invalid, as
 indicated by the cache validators included in the pre-fetch list. Servers =
SHOULD only include resources that block loading of the top level page in t=
he optimal pre-fetch list.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">This eliminates the need to block data for the top l=
evel request until all SYN_STREAM for pushed dependencies are sent, in orde=
r to avoid the race condition. The client would pre-fetch the resources in =
the optimal pre-fetch list, which
 introduces an extra RTT.=A0 We should gather data to determine how much mo=
re significant this RTT is, when compared to the complexity of implementing=
 server push and some of the benefits obtained by multiplexing new connecti=
ons for the dependency resources.<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Clients will control =93Smart Client Pull=94 behavio=
r via a new opt-in &lt;name TBD&gt; header. Servers MUST NOT push LINK head=
er and associated cache validator data to clients, unless the top level pag=
e request &lt;name TBD&gt; header is set to allow
 =93Smart Client Pull=94. <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">4. Other alternatives <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">These are other client-driven alternatives to =93Ser=
ver Push=94. However we need to capture additional data to determine the im=
pact and cost of each:<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">a.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Bundling of HTTP=
 resources: Administrators can package static server side resources needed =
to download a webpage as a single entity. A client would download all stati=
c dependencies by issuing a single HTTP request. However,
 this could result in the client receiving data which it already had in its=
 cache.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">b.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Combination of S=
mart Client Pull and Bundling of HTTP resources (a).<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">5.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Recommendation:<=
u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">=93Server Push=94 should not be a part of the core H=
TTP2.0 spec for the following reasons:<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 is not core to defining the HTTP=
 2.0 transport.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 without optimizations can result=
 in unnecessary data being sent to the client.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 even with optimizations, introdu=
ces delays to avoid race conditions that are not present in other solutions=
.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 is relevant primarily for browse=
r applications and not for more general use cases.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">6.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Areas for furthe=
r discussion: <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- How to send the =93prefetch&quot; list and its cor=
responding cache-validators in an efficient manner. These resources are URL=
s, which can be really long, causing us to transmit a additional data when =
using Smart Client Pull.<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- Validation of cached resources included in the pre=
fetch list will require additional CPU cycles.=A0 However, it is no differe=
nt from cache validation currently performed on cache resources. The tradeo=
ff here is CPU load in order to avoid
 unnecessary download of resources already in the client=92s cache.<u></u><=
u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- Compare =93Smart Server Hints=94 and =93Bundling=
=94 to determine the impact of the features in isolation and combined.<u></=
u><u></u></p>
</div>
</div>

</blockquote></div><br></div></div>

--e89a8f3bac1795c1a404c1d811ae--


From ietf-http-wg-request@listhub.w3.org  Wed Jun  6 19:31: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 A156211E80C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 19:31:11 -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_38=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G7dPgZPhZ6Iz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 19:31:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8F83B11E80AB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  6 Jun 2012 19:31:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScSU7-0001E3-6P for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 02:30:03 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alek.storm@gmail.com>) id 1ScSTw-0000WX-II for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 02:29:52 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <alek.storm@gmail.com>) id 1ScSTt-0008IJ-7E for ietf-http-wg@w3.org; Thu, 07 Jun 2012 02:29:50 +0000
Received: by lahg1 with SMTP id g1so80820lah.2 for <ietf-http-wg@w3.org>; Wed, 06 Jun 2012 19:29:22 -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=Gtj66//weM2QjO+qv2a0sZ/8OS1pawc2+254tIN7WDk=; b=MOOgqJ6F+iYzou/JOvxUkgqWnfxTXLEexa0kx1Tx3Am77Ft6RBqBY6qgjyshFz1oXf H7M/mqtI9DxrokCswZSi04QTcYscAykgL8C66MTRL1ECq/o38gM/TYn9eyZ4/Hwg20x5 OPa85NIwFPWLfkdCSxGeq1DvChcqDJJ3KMeH6NY/thtsYkRhWiLXp+kRKaIQgO6WW3T5 DousTmqJUUUlgswCFZFhru6bKYLo54XKl1LkYeg3zMS5w4JdqH9QJPew5TliacCOAya/ v0olJVhwSab+NMgFYrfvKWYpFOSU5p0+9f5D8QoWvyUS5jklVyCSeGCwvV/zfvkU1QAa NcVg==
MIME-Version: 1.0
Received: by 10.152.135.200 with SMTP id pu8mr394823lab.8.1339036162652; Wed, 06 Jun 2012 19:29:22 -0700 (PDT)
Received: by 10.112.113.166 with HTTP; Wed, 6 Jun 2012 19:29:22 -0700 (PDT)
In-Reply-To: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Date: Wed, 6 Jun 2012 21:29:22 -0500
Message-ID: <CAMNEcwsRUuzCC5qj_paAxDSRdiVEPQ5T1CrrV18fBPJUAD4rfw@mail.gmail.com>
From: Alek Storm <alek.storm@gmail.com>
To: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Matthew Cox <macox@microsoft.com>,  Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>,  Rob Trace <Rob.Trace@microsoft.com>, Jonathan Silvera <jsilvera@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d04374547d0f8ab04c1d8a64c
Received-SPF: pass client-ip=209.85.215.43; envelope-from=alek.storm@gmail.com; helo=mail-lpp01m010-f43.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 1ScSTt-0008IJ-7E 6d1bde78de0f1f7271e9567460c4d269
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CAMNEcwsRUuzCC5qj_paAxDSRdiVEPQ5T1CrrV18fBPJUAD4rfw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13630
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScSU7-0001E3-6P@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 02:30:03 +0000

--f46d04374547d0f8ab04c1d8a64c
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 6, 2012 at 8:30 PM, Gabriel Montenegro <
Gabriel.Montenegro@microsoft.com> wrote:

>  <snip>
>
> 2. Issues with current Server Push in SPDY****
>
> ** **
>
> We don't envision Server push as part of the base HTTP 2.0 protocol, but
> see it as a potentially interesting extension, as long as there is some w=
ay
> for the client to exert some control over when and how it is used. One
> fundamental requirement is for clients to be able to control =93Server Pu=
sh=94
> behavior via a new opt-in <name TBD> header.  Servers MUST NOT push
> unrequested data to the client, unless the top level page request <name
> TBD> header is set to allow =93Server Push=94.
>

I have not verified this, but I believe the client can achieve the same
effect in SPDYv3 by sending a GOAWAY frame, indicating that the other
endpoint must not open any new streams.

Server Push does not require any validation prior to pushing data to the
> client, which could result in the server sending unnecessary data to
> clients that have some of the pushed resources stored in their cache.
>

I proposed a detailed system of cache control for pushed resources on the
spdy-dev mailing list, before I knew of the existence of this list. I plan
to post it here soon.

**
>
> **Furthermore, "Server Push" introduces a race condition in which a
> client could start a new request for data that the server is in the proce=
ss
> of pushing, effectively causing the same resource to be downloaded twice.
> SPDY addresses the race condition by not sending any data (headers are OK=
)
> for the top level page, until all of the SYN_STREAM for the dependencies =
it
> will push are sent:
>
> **
>
> ** **
>
> "To minimize race conditions with the client, the SYN_STREAM for the
> pushed resources MUST be sent prior to sending any content which could
> allow the client to discover the pushed resource and request it."****
>
> ** **
>
> We agree that SPDY's proposal is a good way to mitigate the race conditio=
n
> in Server Push without introducing significant complexity. Unfortunately
> mitigating the race condition in this manner prevents the server from
> sending data for the top level page. This could result in user-visible
> delays.  Whether or not the user will see a delay will depend on what
> messages (how many and how large) the server is pushing to the client.
>

Pushed content is likely to be that which is required to be present at page
load in the first place. Pushed CSS stylesheets would prevent flashes of
unstyled content (FOUC), and pushed scripts that trigger on page load would
be able to execute before the user is able to interact with the page.

3. Smart Client Pull alternative to Server Push****
>
> ** **
>
> We would like to propose an alternative to Server Push for discussion.
> This alternative is closely aligned with existing standards and could eve=
n
> work for HTTP 1.1.****
>
> ** **
>
> When a server receives an HTTP request for a top level page, the server
> will generate a list of resources needed to fully load the top level page=
.
> The server will send the optimal pre-fetch list to the client, via LINK
> headers, with a "prefetch" link relation type (defined in HTML5 per
> http://www.iana.org/assignments/link-relations/link-relations.xml). ****
>
> ****
>
> The server SHOULD also include the corresponding cache validators for eac=
h
> resource in the pre-fetch list. An extension to the =93prefetch=94 link
> relation type will be needed to allow cache validator data.****
>
> ** **
>
> When a client receives data for a top level page, it will begin processin=
g
> the top level page response, while simultaneously pre-fetching resources =
in
> the pre-fetch list that are not in the client cache or that are cached bu=
t
> invalid, as indicated by the cache validators included in the pre-fetch
> list. Servers SHOULD only include resources that block loading of the top
> level page in the optimal pre-fetch list.
>

Mozilla (and Chrome, I believe) already interpret rel=3Dprefetch as
indicating resources that are likely to be useful in *future* page loads,
not necessarily the current one - I would recommend avoiding the naming
conflict. SPDY appears to have an ancillary proposal for a rel=3Dsubresourc=
e
with essentially the semantics you describe, at
http://dev.chromium.org/spdy/link-headers-and-server-hint/link-rel-subresou=
rce,
which I believe is already implemented in Chrome.

My soon-to-come cache control proposal will obviate the need for extensions
to the Link header, and would afford more fine-grained control.

Alek

--f46d04374547d0f8ab04c1d8a64c
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 6, 2012 at 8:30 PM, 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><div class=3D"gmail_quot=
e"><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">&lt;snip&gt;</p>
<p class=3D"MsoNormal">2. Issues with current Server Push in SPDY<u></u><u>=
</u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We don&#39;t envision Server push as part of the bas=
e HTTP 2.0 protocol, but see it as a potentially interesting extension, as =
long as there is some way for the client to exert some control over when an=
d how it is used. One fundamental requirement
 is for clients to be able to control =93Server Push=94 behavior via a new =
opt-in &lt;name TBD&gt; header.=A0 Servers MUST NOT push unrequested data t=
o the client, unless the top level page request &lt;name TBD&gt; header is =
set to allow =93Server Push=94.</p>
</div></div></blockquote><div><br></div><div>I have not verified this, but =
I believe the client can achieve the same effect in SPDYv3 by sending a GOA=
WAY frame, indicating that the other endpoint must not open any new streams=
.</div>
<div><br></div><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"b=
lue" vlink=3D"purple"><div><p class=3D"MsoNormal">Server Push does not requ=
ire any validation prior to pushing data to the client, which could result =
in the server sending unnecessary data to clients that have some of the pus=
hed resources stored in their cache.</p>
</div></div></blockquote><div><br></div><div>I proposed a detailed system o=
f cache control for pushed resources on the spdy-dev mailing list, before I=
 knew of the existence of this list. I plan to post it here soon.</div>
<div><br></div><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"b=
lue" vlink=3D"purple"><div><p class=3D"MsoNormal"><u></u></p>
<p class=3D"MsoNormal"><u></u>Furthermore, &quot;Server Push&quot; introduc=
es a race condition in which a client could start a new request for data th=
at the server is in the process of pushing, effectively causing the same re=
source to be downloaded twice. SPDY addresses the race
 condition by not sending any data (headers are OK) for the top level page,=
 until all of the SYN_STREAM for the dependencies it will push are sent:</p=
><p class=3D"MsoNormal"><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">&quot;To minimize race conditions with the client, t=
he SYN_STREAM for the pushed resources MUST be sent prior to sending any co=
ntent which could allow the client to discover the pushed resource and requ=
est it.&quot;<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We agree that SPDY&#39;s proposal is a good way to m=
itigate the race condition in Server Push without introducing significant c=
omplexity. Unfortunately mitigating the race condition in this manner preve=
nts the server from sending data for the
 top level page. This could result in user-visible delays.=A0 Whether or no=
t the user will see a delay will depend on what messages (how many and how =
large) the server is pushing to the client.</p></div></div></blockquote>
<div><br></div><div>Pushed content is likely to be that which is required t=
o be present at page load in the first place. Pushed CSS stylesheets would =
prevent flashes of unstyled content (FOUC), and pushed scripts that trigger=
 on page load would be able to execute before the user is able to interact =
with the page.</div>
<div><br></div><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"b=
lue" vlink=3D"purple"><p class=3D"MsoNormal">3. Smart Client Pull alternati=
ve to Server Push<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We would like to propose an alternative to Server Pu=
sh for discussion. This alternative is closely aligned with existing standa=
rds and could even work for HTTP 1.1.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">When a server receives an HTTP request for a top lev=
el page, the server will generate a list of resources needed to fully load =
the top level page. The server will send the optimal pre-fetch list to the =
client, via LINK headers, with a &quot;prefetch&quot;
 link relation type (defined in HTML5 per <a href=3D"http://www.iana.org/as=
signments/link-relations/link-relations.xml" target=3D"_blank">http://www.i=
ana.org/assignments/link-relations/link-relations.xml</a>).
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u><u></u></p>
<p class=3D"MsoNormal">The server SHOULD also include the corresponding cac=
he validators for each resource in the pre-fetch list. An extension to the =
=93prefetch=94 link relation type will be needed to allow cache validator d=
ata.<u></u><u></u></p>

<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">When a client receives data for a top level page, it=
 will begin processing the top level page response, while simultaneously pr=
e-fetching resources in the pre-fetch list that are not in the client cache=
 or that are cached but invalid, as
 indicated by the cache validators included in the pre-fetch list. Servers =
SHOULD only include resources that block loading of the top level page in t=
he optimal pre-fetch list.</p></div></blockquote><div><br></div><div>Mozill=
a (and Chrome, I believe) already interpret rel=3Dprefetch as indicating re=
sources that are likely to be useful in *future* page loads, not necessaril=
y the current one - I would recommend avoiding the naming conflict. SPDY ap=
pears to have an ancillary proposal for a rel=3Dsubresource with essentiall=
y the semantics you describe, at=A0<a href=3D"http://dev.chromium.org/spdy/=
link-headers-and-server-hint/link-rel-subresource">http://dev.chromium.org/=
spdy/link-headers-and-server-hint/link-rel-subresource</a>, which I believe=
 is already implemented in Chrome.</div>
<div><br></div><div>My soon-to-come cache control proposal will obviate the=
 need for extensions to the Link header, and would afford more fine-grained=
 control.</div><div><br></div><div><div>Alek</div></div></div>

--f46d04374547d0f8ab04c1d8a64c--


From ietf-http-wg-request@listhub.w3.org  Wed Jun  6 19:35: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 8DF9E11E80D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 19:35:41 -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, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PHBx3nlMW6Ny for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 19:35:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DBE7E11E80C1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  6 Jun 2012 19:35:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScSYp-0003Dx-Fu for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 02:34:55 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alek.storm@gmail.com>) id 1ScSYf-0003D6-CA for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 02:34:45 +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 <alek.storm@gmail.com>) id 1ScSYb-000074-Ss for ietf-http-wg@w3.org; Thu, 07 Jun 2012 02:34:43 +0000
Received: by lbom4 with SMTP id m4so205319lbo.2 for <ietf-http-wg@w3.org>; Wed, 06 Jun 2012 19:34:14 -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=QplKpgrZTXxdVKryKP6yOhWNnZ2WYySRsPrSZdNjsik=; b=H7Lod3JzicBgaL6TNOcemneungOGochtg923Ku9REesXTvN39+xxH/kodTI14XKFGC e7Kw7dmb/cQJ8xfRj3W1wzrT9Hk0XerUe2ICawJZqs+t3Z0PsVFyU/ZQZRod0Qgk0ncX ldvH2bGLlzARq3f4XYM/oK8wfDwXEjbxEmdvM205PYMu6DHFwabfhn76HIf99xFmEhsY UzEhTRBwT3sH+YfhfwYqVVwKi3LXFo1TCz1wNVt7QMkrn9uK/+7Wnrx8uiFnXrFvRyYL wkjaLRTctem7FKosnNiGQKEQ0ZZUgUG+N4LDsQ9P+JpydWAfZEznFAJfkWjJu4aPLGVp mZhg==
MIME-Version: 1.0
Received: by 10.112.42.66 with SMTP id m2mr418061lbl.46.1339036454740; Wed, 06 Jun 2012 19:34:14 -0700 (PDT)
Received: by 10.112.113.166 with HTTP; Wed, 6 Jun 2012 19:34:14 -0700 (PDT)
In-Reply-To: <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com>
Date: Wed, 6 Jun 2012 21:34:14 -0500
Message-ID: <CAMNEcwvXRDTLKp9oG3ep8baOA6=pn3KDn2=hNOjNRMnX+gwH0A@mail.gmail.com>
From: Alek Storm <alek.storm@gmail.com>
To: Mike Belshe <mike@belshe.com>
Cc: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Matthew Cox <macox@microsoft.com>,  Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>,  Rob Trace <Rob.Trace@microsoft.com>, Jonathan Silvera <jsilvera@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d042184d939e25504c1d8b875
Received-SPF: pass client-ip=209.85.217.171; envelope-from=alek.storm@gmail.com; helo=mail-lb0-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 1ScSYb-000074-Ss 9f8604ff2d2d19c7a2833f633f45cc3e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CAMNEcwvXRDTLKp9oG3ep8baOA6=pn3KDn2=hNOjNRMnX+gwH0A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13631
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScSYp-0003Dx-Fu@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 02:34:55 +0000

--f46d042184d939e25504c1d8b875
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 6, 2012 at 8:47 PM, Mike Belshe <mike@belshe.com> wrote:

> I agree.
>
> Perhaps another reason for dropping push at this point may be that I don'=
t
> know of any efforts to seriously deploy it.  If no implementors are willi=
ng
> to speak up that they plan to use it, deploy it, measure it, and report
> results on their findings, then it is a good time to drop it altogether a=
nd
> focus on the other parts of the protocol instead.
>

I recently released a fork of Tornado (http://www.tornadoweb.org/)
implementing SPDY support with server push - we're certainly serious about
it :). As it's only a few days old, I don't know of anyone who's deployed
it yet and has results to report, but I will ask around.

Alek

Mike
>
>
> On Wed, Jun 6, 2012 at 6:30 PM, Gabriel Montenegro <
> Gabriel.Montenegro@microsoft.com> wrote:
>
>>  Hi folks,****
>>
>> ** **
>>
>> Amongst some collegues, we've been thinking about server push in HTTP 2.=
0
>> and have some ideas we'd like to share as a way to promote discussion on
>> this subject****
>>
>> ** **
>>
>> 1. Overview****
>>
>> Server Push is an interesting idea that could provide some performance
>> gains for HTTP 2.0 clients, however we don=92t believe it is core the HT=
TP
>> 2.0 protocol. Server Push could result in servers sending unnecessary da=
ta
>> to the client, introduces potential delays to avoid race conditions and =
is
>> mostly relevant for browser applications. A less complex alternative tha=
t
>> addresses some of these drawbacks while better aligning with legacy HTTP=
,
>> =93Smart Client Pull=94, is proposed below. ****
>>
>> ** **
>>
>> ** **
>>
>> 2. Issues with current Server Push in SPDY****
>>
>> ** **
>>
>> We don't envision Server push as part of the base HTTP 2.0 protocol, but
>> see it as a potentially interesting extension, as long as there is some =
way
>> for the client to exert some control over when and how it is used. One
>> fundamental requirement is for clients to be able to control =93Server P=
ush=94
>> behavior via a new opt-in <name TBD> header.  Servers MUST NOT push
>> unrequested data to the client, unless the top level page request <name
>> TBD> header is set to allow =93Server Push=94.****
>>
>> ** **
>>
>> Server Push does not require any validation prior to pushing data to the
>> client, which could result in the server sending unnecessary data to
>> clients that have some of the pushed resources stored in their cache.***=
*
>>
>> ** **
>>
>> Furthermore, "Server Push" introduces a race condition in which a client
>> could start a new request for data that the server is in the process of
>> pushing, effectively causing the same resource to be downloaded twice. S=
PDY
>> addresses the race condition by not sending any data (headers are OK) fo=
r
>> the top level page, until all of the SYN_STREAM for the dependencies it
>> will push are sent:****
>>
>> ** **
>>
>> "To minimize race conditions with the client, the SYN_STREAM for the
>> pushed resources MUST be sent prior to sending any content which could
>> allow the client to discover the pushed resource and request it."****
>>
>> ** **
>>
>> We agree that SPDY's proposal is a good way to mitigate the race
>> condition in Server Push without introducing significant complexity.
>> Unfortunately mitigating the race condition in this manner prevents the
>> server from sending data for the top level page. This could result in
>> user-visible delays.  Whether or not the user will see a delay will depe=
nd
>> on what messages (how many and how large) the server is pushing to the
>> client.****
>>
>> ** **
>>
>> 3. Smart Client Pull alternative to Server Push****
>>
>> ** **
>>
>> We would like to propose an alternative to Server Push for discussion.
>> This alternative is closely aligned with existing standards and could ev=
en
>> work for HTTP 1.1.****
>>
>> ** **
>>
>> When a server receives an HTTP request for a top level page, the server
>> will generate a list of resources needed to fully load the top level pag=
e.
>> The server will send the optimal pre-fetch list to the client, via LINK
>> headers, with a "prefetch" link relation type (defined in HTML5 per
>> http://www.iana.org/assignments/link-relations/link-relations.xml). ****
>>
>> ****
>>
>> The server SHOULD also include the corresponding cache validators for
>> each resource in the pre-fetch list. An extension to the =93prefetch=94 =
link
>> relation type will be needed to allow cache validator data.****
>>
>> ** **
>>
>> When a client receives data for a top level page, it will begin
>> processing the top level page response, while simultaneously pre-fetchin=
g
>> resources in the pre-fetch list that are not in the client cache or that
>> are cached but invalid, as indicated by the cache validators included in
>> the pre-fetch list. Servers SHOULD only include resources that block
>> loading of the top level page in the optimal pre-fetch list.****
>>
>> ** **
>>
>> This eliminates the need to block data for the top level request until
>> all SYN_STREAM for pushed dependencies are sent, in order to avoid the r=
ace
>> condition. The client would pre-fetch the resources in the optimal
>> pre-fetch list, which introduces an extra RTT.  We should gather data to
>> determine how much more significant this RTT is, when compared to the
>> complexity of implementing server push and some of the benefits obtained=
 by
>> multiplexing new connections for the dependency resources.****
>>
>> ** **
>>
>> Clients will control =93Smart Client Pull=94 behavior via a new opt-in <=
name
>> TBD> header. Servers MUST NOT push LINK header and associated cache
>> validator data to clients, unless the top level page request <name TBD>
>> header is set to allow =93Smart Client Pull=94. ****
>>
>> ** **
>>
>> 4. Other alternatives ****
>>
>> ** **
>>
>> These are other client-driven alternatives to =93Server Push=94. However=
 we
>> need to capture additional data to determine the impact and cost of each=
:
>> ****
>>
>> ** **
>>
>> a.            Bundling of HTTP resources: Administrators can package
>> static server side resources needed to download a webpage as a single
>> entity. A client would download all static dependencies by issuing a sin=
gle
>> HTTP request. However, this could result in the client receiving data wh=
ich
>> it already had in its cache.****
>>
>> ** **
>>
>> b.            Combination of Smart Client Pull and Bundling of HTTP
>> resources (a).****
>>
>> ** **
>>
>> 5.            Recommendation:****
>>
>> ** **
>>
>> =93Server Push=94 should not be a part of the core HTTP2.0 spec for the
>> following reasons:****
>>
>> ** **
>>
>> - =93Server Push=94 is not core to defining the HTTP 2.0 transport.****
>>
>> ** **
>>
>> - =93Server Push=94 without optimizations can result in unnecessary data
>> being sent to the client.****
>>
>> ** **
>>
>> - =93Server Push=94 even with optimizations, introduces delays to avoid =
race
>> conditions that are not present in other solutions.****
>>
>> ** **
>>
>> - =93Server Push=94 is relevant primarily for browser applications and n=
ot
>> for more general use cases.****
>>
>> ** **
>>
>> 6.            Areas for further discussion: ****
>>
>> ** **
>>
>> - How to send the =93prefetch" list and its corresponding cache-validato=
rs
>> in an efficient manner. These resources are URLs, which can be really lo=
ng,
>> causing us to transmit a additional data when using Smart Client Pull.**=
*
>> *
>>
>> ** **
>>
>> - Validation of cached resources included in the prefetch list will
>> require additional CPU cycles.  However, it is no different from cache
>> validation currently performed on cache resources. The tradeoff here is =
CPU
>> load in order to avoid unnecessary download of resources already in the
>> client=92s cache.****
>>
>> ** **
>>
>> - Compare =93Smart Server Hints=94 and =93Bundling=94 to determine the i=
mpact of
>> the features in isolation and combined.****
>>
>
>

--f46d042184d939e25504c1d8b875
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Wed, Jun 6, 2012 at 8:47 PM, Mike Belshe <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mike@belshe.com" target=3D"_blank">mike@belshe.com</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">
I agree.=A0<div><br></div><div>Perhaps another reason for dropping push at =
this point may be that I don&#39;t know of any efforts to seriously deploy =
it. =A0If no implementors are willing to speak up that they plan to use it,=
 deploy it, measure it, and report results on their findings, then it is a =
good time to drop it altogether and focus on the other parts of the protoco=
l instead.</div>
</blockquote><div><br></div><div>I recently released a fork of Tornado (<a =
href=3D"http://www.tornadoweb.org/">http://www.tornadoweb.org/</a>) impleme=
nting SPDY support with server push - we&#39;re certainly serious about it =
:). As it&#39;s only a few days old, I don&#39;t know of anyone who&#39;s d=
eployed it=A0yet=A0and has results to report, but I will ask around.</div>
<div><br></div><div>Alek</div><div><br></div><blockquote class=3D"gmail_quo=
te" 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></font></span><d=
iv><span class=3D"HOEnZb"><font color=3D"#888888"><div>
Mike</div></font></span><div><div class=3D"h5"><div><br></div><div><br><div=
 class=3D"gmail_quote">On Wed, Jun 6, 2012 at 6:30 PM, Gabriel Montenegro <=
span dir=3D"ltr">&lt;<a href=3D"mailto:Gabriel.Montenegro@microsoft.com" ta=
rget=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">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal">Hi folks,<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Amongst some collegues, we&#39;ve been thinking abou=
t server push in HTTP 2.0 and have some ideas we&#39;d like to share as a w=
ay to promote discussion on this subject<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">1. Overview<u></u><u></u></p>
<p class=3D"MsoNormal">Server Push is an interesting idea that could provid=
e some performance gains for HTTP 2.0 clients, however we don=92t believe i=
t is core the HTTP 2.0 protocol. Server Push could result in servers sendin=
g unnecessary data to the client, introduces
 potential delays to avoid race conditions and is mostly relevant for brows=
er applications. A less complex alternative that addresses some of these dr=
awbacks while better aligning with legacy HTTP, =93Smart Client Pull=94, is=
 proposed below.
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">2. Issues with current Server Push in SPDY<u></u><u>=
</u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We don&#39;t envision Server push as part of the bas=
e HTTP 2.0 protocol, but see it as a potentially interesting extension, as =
long as there is some way for the client to exert some control over when an=
d how it is used. One fundamental requirement
 is for clients to be able to control =93Server Push=94 behavior via a new =
opt-in &lt;name TBD&gt; header.=A0 Servers MUST NOT push unrequested data t=
o the client, unless the top level page request &lt;name TBD&gt; header is =
set to allow =93Server Push=94.<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Server Push does not require any validation prior to=
 pushing data to the client, which could result in the server sending unnec=
essary data to clients that have some of the pushed resources stored in the=
ir cache.<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Furthermore, &quot;Server Push&quot; introduces a ra=
ce condition in which a client could start a new request for data that the =
server is in the process of pushing, effectively causing the same resource =
to be downloaded twice. SPDY addresses the race
 condition by not sending any data (headers are OK) for the top level page,=
 until all of the SYN_STREAM for the dependencies it will push are sent:<u>=
</u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">&quot;To minimize race conditions with the client, t=
he SYN_STREAM for the pushed resources MUST be sent prior to sending any co=
ntent which could allow the client to discover the pushed resource and requ=
est it.&quot;<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We agree that SPDY&#39;s proposal is a good way to m=
itigate the race condition in Server Push without introducing significant c=
omplexity. Unfortunately mitigating the race condition in this manner preve=
nts the server from sending data for the
 top level page. This could result in user-visible delays.=A0 Whether or no=
t the user will see a delay will depend on what messages (how many and how =
large) the server is pushing to the client.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">3. Smart Client Pull alternative to Server Push<u></=
u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We would like to propose an alternative to Server Pu=
sh for discussion. This alternative is closely aligned with existing standa=
rds and could even work for HTTP 1.1.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">When a server receives an HTTP request for a top lev=
el page, the server will generate a list of resources needed to fully load =
the top level page. The server will send the optimal pre-fetch list to the =
client, via LINK headers, with a &quot;prefetch&quot;
 link relation type (defined in HTML5 per <a href=3D"http://www.iana.org/as=
signments/link-relations/link-relations.xml" target=3D"_blank">http://www.i=
ana.org/assignments/link-relations/link-relations.xml</a>).
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u><u></u></p>
<p class=3D"MsoNormal">The server SHOULD also include the corresponding cac=
he validators for each resource in the pre-fetch list. An extension to the =
=93prefetch=94 link relation type will be needed to allow cache validator d=
ata.<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">When a client receives data for a top level page, it=
 will begin processing the top level page response, while simultaneously pr=
e-fetching resources in the pre-fetch list that are not in the client cache=
 or that are cached but invalid, as
 indicated by the cache validators included in the pre-fetch list. Servers =
SHOULD only include resources that block loading of the top level page in t=
he optimal pre-fetch list.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">This eliminates the need to block data for the top l=
evel request until all SYN_STREAM for pushed dependencies are sent, in orde=
r to avoid the race condition. The client would pre-fetch the resources in =
the optimal pre-fetch list, which
 introduces an extra RTT.=A0 We should gather data to determine how much mo=
re significant this RTT is, when compared to the complexity of implementing=
 server push and some of the benefits obtained by multiplexing new connecti=
ons for the dependency resources.<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Clients will control =93Smart Client Pull=94 behavio=
r via a new opt-in &lt;name TBD&gt; header. Servers MUST NOT push LINK head=
er and associated cache validator data to clients, unless the top level pag=
e request &lt;name TBD&gt; header is set to allow
 =93Smart Client Pull=94. <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">4. Other alternatives <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">These are other client-driven alternatives to =93Ser=
ver Push=94. However we need to capture additional data to determine the im=
pact and cost of each:<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">a.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Bundling of HTTP=
 resources: Administrators can package static server side resources needed =
to download a webpage as a single entity. A client would download all stati=
c dependencies by issuing a single HTTP request. However,
 this could result in the client receiving data which it already had in its=
 cache.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">b.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Combination of S=
mart Client Pull and Bundling of HTTP resources (a).<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">5.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Recommendation:<=
u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">=93Server Push=94 should not be a part of the core H=
TTP2.0 spec for the following reasons:<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 is not core to defining the HTTP=
 2.0 transport.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 without optimizations can result=
 in unnecessary data being sent to the client.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 even with optimizations, introdu=
ces delays to avoid race conditions that are not present in other solutions=
.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 is relevant primarily for browse=
r applications and not for more general use cases.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">6.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Areas for furthe=
r discussion: <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- How to send the =93prefetch&quot; list and its cor=
responding cache-validators in an efficient manner. These resources are URL=
s, which can be really long, causing us to transmit a additional data when =
using Smart Client Pull.<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- Validation of cached resources included in the pre=
fetch list will require additional CPU cycles.=A0 However, it is no differe=
nt from cache validation currently performed on cache resources. The tradeo=
ff here is CPU load in order to avoid
 unnecessary download of resources already in the client=92s cache.<u></u><=
u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- Compare =93Smart Server Hints=94 and =93Bundling=
=94 to determine the impact of the features in isolation and combined.<u></=
u><u></u></p>
</div>
</div>

</blockquote></div><br></div></div></div></div>
</blockquote></div><br>

--f46d042184d939e25504c1d8b875--


From ietf-http-wg-request@listhub.w3.org  Wed Jun  6 21:23: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 0E14421F8629 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 21:23:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.834
X-Spam-Level: 
X-Spam-Status: No, score=-5.834 tagged_above=-999 required=5 tests=[AWL=4.765, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 51+6QVhDFyf6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed,  6 Jun 2012 21:23:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4997421F8620 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed,  6 Jun 2012 21:23:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScUEM-0002Uv-KT for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 04:21:54 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <James.H.Manger@team.telstra.com>) id 1ScUE5-0002TX-RR for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 04:21:37 +0000
Received: from ipxbvo.tcif.telstra.com.au ([203.35.135.204]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1ScUE1-0006gA-Ln for ietf-http-wg@w3.org; Thu, 07 Jun 2012 04:21:35 +0000
X-IronPort-AV: E=Sophos;i="4.75,728,1330866000";  d="scan'208";a="77169539"
Received: from unknown (HELO ipcavi.tcif.telstra.com.au) ([10.97.217.200]) by ipobvi.tcif.telstra.com.au with ESMTP; 07 Jun 2012 14:21:03 +1000
X-IronPort-AV: E=McAfee;i="5400,1158,6734"; a="72958617"
Received: from wsmsg3706.srv.dir.telstra.com ([172.49.40.80]) by ipcavi.tcif.telstra.com.au with ESMTP; 07 Jun 2012 14:21:03 +1000
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by wsmsg3706.srv.dir.telstra.com ([172.49.40.80]) with mapi; Thu, 7 Jun 2012 14:21:02 +1000
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 7 Jun 2012 14:21:02 +1000
Thread-Topic: WGLC #348: Realms and scope
Thread-Index: Ac1ED72sUwggj583QPCIYbUnBCU0CwAS4uJA
Message-ID: <255B9BB34FB7D647A506DC292726F6E114F53DCFF7@WSMSG3153V.srv.dir.telstra.com>
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <4FC77CF5.6030709@isode.com> <4FC78203.3070202@gmx.de> <alpine.LRH.2.01.1205310752090.15057@egate.xpasc.com> <4FC7890C.2000106@gmx.de> <alpine.LRH.2.01.1206041700000.22684@egate.xpasc.com> <4FCE5EFA.4040205@gmx.de> <alpine.LRH.2.01.1206061023560.15954@egate.xpasc.com>
In-Reply-To: <alpine.LRH.2.01.1206061023560.15954@egate.xpasc.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: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Received-SPF: none client-ip=203.35.135.204; envelope-from=James.H.Manger@team.telstra.com; helo=ipxbvo.tcif.telstra.com.au
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1ScUE1-0006gA-Ln c2a8c1706feada9f02e6f158458ae688
X-Original-To: ietf-http-wg@w3.org
Subject: RE: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/255B9BB34FB7D647A506DC292726F6E114F53DCFF7@WSMSG3153V.srv.dir.telstra.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13632
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScUEM-0002Uv-KT@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 04:21:54 +0000

RGF2aWQsDQoNCkEgdXNlciBicm93c2VycyB0bw0KKDEpIGh0dHBzOi8vZXhhbXBsZS5jb20vZ29v
ZC8NCkdldHMgYXMgNDAxIHJlc3BvbnNlIHdpdGggcmVhbG09Ikdvb2RTdHVmZiI7IGlzIHByb21w
dGVkIGZvciBjcmVkZW50aWFsczsgdGhlIHJlcXVlc3QgaXMgcmV0cmllZCBzdWNjZXNzZnVsbHkg
d2l0aCB0aGUgY3JlZGVudGlhbHMgaW4gdGhlIEF1dGhvcml6YXRpb24gaGVhZGVyLg0KTm93IHRo
ZSB1c2VyIGJyb3dzZXJzIHRvDQooMikgaHR0cHM6Ly9leGFtcGxlLmNvbS9nb29kL3N1Yi8gYW5k
DQooMykgaHR0cHM6Ly9leGFtcGxlLmNvbS9iYWQvLg0KDQpUaGUgaXNzdWUgaXNuJ3Qgd2hldGhl
ciBhIGJyb3dzZXIgd2lsbCBhdXRvbWF0aWNhbGx5IHNlbmQgdGhlIGNyZWRlbnRpYWxzIGluIHJl
cXVlc3QgMiwgYnV0IG5vdCBpbiAzLg0KDQpUaGUgaXNzdWUgaXMgd2hldGhlciBhIGJyb3dzZXIg
d2lsbCBhdXRvbWF0aWNhbGx5IHNlbmQgdGhlIGNyZWRlbnRpYWxzIGlmIHJlcXVlc3QgMyByZXNw
b25kcyB3aXRoIGEgNDAxIHdpdGggcmVhbG09Ikdvb2RTdHVmZiIuIEJyb3dzZXJzIHNob3VsZCBk
byB0aGlzLCBhbmQgdGhleSBkbyAoYXQgbGVhc3QgQ2hyb21lIG9uIFdpbmRvd3MgaW4gYSB2ZXJ5
IHF1aWNrIHRlc3QpLg0KDQpBIC9iYWQvIHJlc291cmNlIGNhbiBnZXQgdGhlIC9nb29kLyBjcmVk
ZW50aWFscyBieSBwcmV0ZW5kaW5nIHRvIGJlIGluIHRoZSBzYW1lIHJlYWxtLg0KDQpUaGlzIGlz
IHRoZSBsaW1pdGF0aW9uIG9mIHJlYWxtcyB0aGF0IHRoZSBwcm9wb3NlZCBTZWN1cml0eSBDb25z
aWRlcmF0aW9ucyB0ZXh0IGFkZHJlc3NlcyBbaHR0cDovL3RyYWMudG9vbHMuaWV0Zi5vcmcvd2cv
aHR0cGJpcy90cmFjL3RpY2tldC8zNDhdLg0KDQogIEF1dGhlbnRpY2F0aW9uIHNjaGVtZXMgdGhh
dCB1c2UgdGhlICJyZWFsbSIgbWVjaGFuaXNtIGZvciBlc3RhYmxpc2hpbmcgYSANCiAgcHJvdGVj
dGlvbiBzcGFjZSB3aWxsIGV4cG9zZSBjcmVkZW50aWFscyB0byBhbGwgcmVzb3VyY2VzIG9uIGEg
c2VydmVyLiBDbGllbnRzIA0KICB0aGF0IGhhdmUgc3VjY2Vzc2Z1bGx5IG1hZGUgYXV0aGVudGlj
YXRlZCByZXF1ZXN0cyB3aXRoIGEgcmVzb3VyY2UgY2FuIA0KICB1c2UgdGhlIHNhbWUgYXV0aGVu
dGljYXRpb24gY3JlZGVudGlhbHMgZm9yIG90aGVyIHJlc291cmNlcyBvbiB0aGUgc2FtZSAgDQog
IHNlcnZlci4gVGhpcyBtYWtlcyBpdCBwb3NzaWJsZSBmb3IgYSBkaWZmZXJlbnQgcmVzb3VyY2Ug
dG8gaGFydmVzdCANCiAgYXV0aGVudGljYXRpb24gY3JlZGVudGlhbHMgZm9yIG90aGVyIHJlc291
cmNlcy4gDQoNCiAgVGhpcyBpcyBvZiBwYXJ0aWN1bGFyIGNvbmNlcm4gd2hlbiBhIHNlcnZlciBo
b3N0cyByZXNvdXJjZXMgZm9yIG11bHRpcGxlIA0KICBwYXJ0aWVzLiBQb3NzaWJsZSBtaXRpZ2F0
aW9uIHN0cmF0ZWdpZXMgaW5jbHVkZSByZXN0cmljdGluZyBkaXJlY3QgYWNjZXNzIA0KICB0byBh
dXRoZW50aWNhdGlvbiBjcmVkZW50aWFscyAoaS5lLiwgbm90IG1ha2luZyB0aGUgY29udGVudCBv
ZiB0aGUgDQogIEF1dGhvcml6YXRpb24gcmVxdWVzdCBoZWFkZXIgZmllbGQgYXZhaWxhYmxlKSwg
YW5kIHNlcGFyYXRpbmcgcHJvdGVjdGlvbiANCiAgc3BhY2VzIGJ5IHVzaW5nIGEgZGlmZmVyZW50
IGhvc3QgbmFtZSBmb3IgZWFjaCBwYXJ0eS4NCg0KDQpBIHNlcnZlciB0aGF0IGVuZm9yY2VzIGRp
ZmZlcmVudCByZWFsbXMgdmFsdWVzIGZvciBkaWZmZXJlbnQgcGFydGllcyBtaWdodCB0aGVvcmV0
aWNhbGx5IG1pdGlnYXRlIHRoZSByaXNrLCB3aXRob3V0IHRoZSBtb3JlIGRlc3RydWN0aXZlIGJs
b2NraW5nIG9mIGRpcmVjdCBhY2Nlc3MgdG8gdGhlIEF1dGhvcml6YXRpb24gaGVhZGVyLiBIb3dl
dmVyLCBJIHdvdWxkbid0IGJlIHN1cnByaXNlZCBpZiwgc2F5LCBqYXZhc2NyaXB0IHJldHVybmVk
IGZyb20gL2JhZC8gY291bGQgc29tZWhvdyBnZXQgdGhlIGNyZWRlbnRpYWxzIHRoZSBicm93c2Vy
IGlzIGNhY2hpbmcgZm9yIC9nb29kLy4NCg0KLS0NCkphbWVzIE1hbmdlcg0KDQo+IC0tLS0tT3Jp
Z2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IERhdmlkIE1vcnJpcyBbbWFpbHRvOmR3bUB4cGFz
Yy5jb21dDQo+IFNlbnQ6IFRodXJzZGF5LCA3IEp1bmUgMjAxMiAzOjM4IEFNDQo+IFRvOiBIVFRQ
IFdvcmtpbmcgR3JvdXANCj4gU3ViamVjdDogUmU6IFdHTEMgIzM0ODogUmVhbG1zIGFuZCBzY29w
ZQ0KPiANCj4gDQo+IA0KPiBPbiBUdWUsIDUgSnVuIDIwMTIsIEp1bGlhbiBSZXNjaGtlIHdyb3Rl
Og0KPiANCj4gPiBPbiAyMDEyLTA2LTA1IDAyOjE2LCBEYXZpZCBNb3JyaXMgd3JvdGU6DQo+ID4g
PiAuLi4NCj4gPiA+IFRoaXMgdG9vayBhIGZldyBkYXlzIHRvIHNldCB1cCBhIGNhcmVmdWwgdGVz
dCBjYXNlLiBJIGRvbid0IGhhdmUNCj4gdGhlIHRpbWUNCj4gPiA+IG9yIHJlc291cmNlcyB0byB0
ZXN0IGV2ZXJ5IGNsaWVudCwgc28gSSBjYW4ndCByZWZ1dGUgdGhlIGNsYWltIHRoYXQNCj4gc29t
ZQ0KPiA+ID4gY2xpZW50cyBzZW5kIHRoZSBhdXRob3JpemF0aW9uIGhlYWRlciBmb3IgYSBwYXJ0
IG9mIHRoZSBob3N0cw0KPiBjb250ZW50DQo+ID4gPiB3aGljaCBpdCBkb2Vzbid0IGFwcGx5IHRv
LCBidXQgSSd2ZSB0ZXN0ZWQ6DQo+ID4NCj4gPiBXaGF0J3MgdGhlIGRlZmluaXRpb24gb2YgImRv
ZXNuJ3QgYXBwbHkgdG8iPw0KPiANCj4gPkZyb20gbWVtb3J5IC4uLiB3aGljaCBoYXMgc3R1Y2sg
d2l0aCBtZSBiZWNhdXNlIEkgd2Fzbid0IHJlYWwgaGFwcHkNCj4gd2l0aCB0aGUgZGVmaW5pdGlv
biAuLi4NCj4gDQo+IFRoaW5raW5nIG9mIFVSTHMgYXMgcmVwcmVzZW50aW5nIHRoZSBoaWVyYXJh
Y2hpY2FsIG5hbWUgc3BhY2UNCj4gd2UgY29tbW9ubHkgYXNzb2NpYXRlIHdpdGggYSBmaWxlIHN5
c3RlbSAuLi4NCj4gDQo+IFJlYWxtICJSYXV0aEEiIHJldHVybmVkIGluIGEgNDAxIHJlc3BvbnNl
J3Mgd3d3LWF1dGhlbnRpY2F0ZSBoZWFkZXINCj4gZm9yIGEgcmVxdWVzdCBmb3IgYXV0aGFiL2Ev
IG1heSBiZSBhc3N1bWVkIHRvIGFwcGx1IHRvIGRpcmVjdG9yeQ0KPiBhdXRoYWIvYS8gYW5kIHRv
IGFsbCBkaXJlY3RvcmllcyB1bmRlciBhdXRoYWIvYS8uIFNvIGlmIHRoZSBjbGllbnQNCj4gaGFz
IGNyZWRlbnRpYWxzIGZvciBhdXRoYWIvYS8gaXQgbWF5IHJldHVybiB0aG9zZSBjcmVkZW50aWFs
cw0KPiBpbiB0aGUgQXV0aG9yaXphdGlvbiBoZWFkZXIgaW4gYSByZXF1ZXN0IGZvciBhdXRoYWIv
YS9hYS8NCj4gYW50aWNpcGF0aW5nIHRoYXQgdGhlIHNhbWUgY3JlZGVudGlhbCB3b3VsZCBhcHBs
eSwgYnV0IG5vdCBmb3INCj4gYXV0aGFiLyBvciBhbnkgcGVlciBvZiBhdXRoYWIvYS8gc3VjaCBh
cyBhdXRoYWIvYi8gaW4gbXkgdGVzdC4NCj4gDQo+IE15IGN1cnJlbnQgdGVzdCBzZXR1cCBkb2Vz
bid0IHN1cHBvcnQgdGhlIHN1YmRpcmVjdG9yeSBjYXNlLCBidXQNCj4gSSB0aGluayBJJ2xsIGV4
cGFuZCBpdCB3aGVuIEkgZ2V0IGEgY2hhbmNlLiAgSSBhbHNvIG5lZWQgdG8gZ28gYmFjaw0KPiBh
bmQgcmV2aWV3IHRoZSBSRkNzIHRvIHZhbGlkYXRlIG15IG1lbW9yeS4NCj4gDQo+IERhdmUgTW9y
cmlzDQo+IA0KPiANCg0K


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 02:20: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 8959521F85D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 02:20: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wj011a7ejtv0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 02:20:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 155A021F8564 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 02:20:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScYrM-0008WG-GZ for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 09:18:28 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1ScYr6-0008VN-Tw for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 09:18:12 +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 1ScYr1-0000uL-Ai for ietf-http-wg@w3.org; Thu, 07 Jun 2012 09:18:10 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 399C8E6E90 for <ietf-http-wg@w3.org>; Thu,  7 Jun 2012 21:17:37 +1200 (NZST)
Message-ID: <4FD071A6.5000701@treenet.co.nz>
Date: Thu, 07 Jun 2012 21:17:26 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <4FC77CF5.6030709@isode.com> <4FC78203.3070202@gmx.de> <alpine.LRH.2.01.1205310752090.15057@egate.xpasc.com> <4FC7890C.2000106@gmx.de> <alpine.LRH.2.01.1206041700000.22684@egate.xpasc.com> <4FCE5EFA.4040205@gmx.de> <alpine.LRH.2.01.1206061023560.15954@egate.xpasc.com> <255B9BB34FB7D647A506DC292726F6E114F53DCFF7@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E114F53DCFF7@WSMSG3153V.srv.dir.telstra.com>
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1ScYr1-0000uL-Ai de19f856cc510f0ddb48359d0513cd47
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/4FD071A6.5000701@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13633
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScYrM-0008WG-GZ@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 09:18:28 +0000

On 7/06/2012 4:21 p.m., Manger, James H wrote:
> David,
>
> A user browsers to
> (1) https://example.com/good/
> Gets as 401 response with realm="GoodStuff"; is prompted for credentials; the request is retried successfully with the credentials in the Authorization header.
> Now the user browsers to
> (2) https://example.com/good/sub/ and
> (3) https://example.com/bad/.
>
> The issue isn't whether a browser will automatically send the credentials in request 2, but not in 3.
>
> The issue is whether a browser will automatically send the credentials if request 3 responds with a 401 with realm="GoodStuff". Browsers should do this, and they do (at least Chrome on Windows in a very quick test).
>
> A /bad/ resource can get the /good/ credentials by pretending to be in the same realm.

So, we have a server which is authoritatively hosting 2+ parties using 
the same scheme+FQDN+port+realm. Thats a four-factor scoping key; with 
two factors locked to the reading protocol [scheme+port], one factor 
locked to particular ownership/authority [FQDN] and some very weak 
salting [realm text]. The "insecurity" is only created by someone 
administratively undermining two of the four reliability factors 
(FQDN+port) which leaves an attacker with only the weakest factor 
(realm) to undermine for credentials to leak.

The key point [pun intended] being that for any of this to matter in the 
slightest there *first* has to be an administrator willingly removing 
uniqueness from the most critical parts of the algorithm key. So long as 
that continues there is no fixing it *for them*.

IMHO the text says there is a crossover issue and part of how to fix, 
but does not clearly state the problem is not with realm directly but 
from the sharing of authority-URI

> This is the limitation of realms that the proposed Security Considerations text addresses [http://trac.tools.ietf.org/wg/httpbis/trac/ticket/348].
>
>    Authentication schemes that use the "realm" mechanism for establishing a
>    protection space will expose credentials to all resources on a server.

NP: personally I'm not sure we can say it that generically. Some may use 
realm, but also use a target space internally to restrict the scope 
where that realm is relevant/valid.

Perhapse s/use/rely solely on/. Which implies the current Basic and 
Digest without limiting it by naming them.

>   Clients
>    that have successfully made authenticated requests with a resource can
>    use the same authentication credentials for other resources on the same
>    server. This makes it possible for a different resource to harvest
>    authentication credentials for other resources.
>
>    This is of particular concern when a server hosts resources for multiple
>    parties.

IMHO, this needs to be clearer than "server" since that implies all 
types of virtual hosting as well which are actually not guilty of this 
brokenness.
Perhapse more words at the end of that sentence to the effect of "under 
the same hostname." or similar.

>   Possible mitigation strategies include restricting direct access
>    to authentication credentials (i.e., not making the content of the
>    Authorization request header field available), and separating protection
>    spaces by using a different host name for each party.
>
>
> A server that enforces different realms values for different parties might theoretically mitigate the risk, without the more destructive blocking of direct access to the Authorization header. However, I wouldn't be surprised if, say, javascript returned from /bad/ could somehow get the credentials the browser is caching for /good/.


AYJ



From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 03:18: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 5C19A21F878B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 03:18:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.849
X-Spam-Level: 
X-Spam-Status: No, score=-7.849 tagged_above=-999 required=5 tests=[AWL=2.750, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P1AiRajijhDy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 03:18:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 72F4421F848A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 03:18:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScZmw-0001ac-93 for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 10:17:58 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ScZmk-0001ZC-Ke for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 10:17:46 +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 1ScZmh-0003af-JM for ietf-http-wg@w3.org; Thu, 07 Jun 2012 10:17:44 +0000
Received: (qmail invoked by alias); 07 Jun 2012 10:17:17 -0000
Received: from p5DD972A6.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.114.166] by mail.gmx.net (mp024) with SMTP; 07 Jun 2012 12:17:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+qorp3MHmqCmXs/KrCcKYiFa/mklVe4rZaXwbiR6 s4yrATJvbXbxgZ
Message-ID: <4FD07FA8.2080404@gmx.de>
Date: Thu, 07 Jun 2012 12:17:12 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <4FC77CF5.6030709@isode.com> <4FC78203.3070202@gmx.de> <alpine.LRH.2.01.1205310752090.15057@egate.xpasc.com> <4FC7890C.2000106@gmx.de> <alpine.LRH.2.01.1206041700000.22684@egate.xpasc.com> <4FCE5EFA.4040205@gmx.de> <alpine.LRH.2.01.1206061023560.15954@egate.xpasc.com> <255B9BB34FB7D647A506DC292726F6E114F53DCFF7@WSMSG3153V.srv.dir.telstra.com> <4FD071A6.5000701@treenet.co.nz>
In-Reply-To: <4FD071A6.5000701@treenet.co.nz>
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=-1.9
X-W3C-Hub-Spam-Report: 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 1ScZmh-0003af-JM c9fccc5f95da9d302c05f717cc6c77e2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/4FD07FA8.2080404@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13634
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScZmw-0001ac-93@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 10:17:58 +0000

On 2012-06-07 11:17, Amos Jeffries wrote:
> ...
>>    Authentication schemes that use the "realm" mechanism for
>> establishing a
>>    protection space will expose credentials to all resources on a server.
>
> NP: personally I'm not sure we can say it that generically. Some may use
> realm, but also use a target space internally to restrict the scope
> where that realm is relevant/valid.
>
> Perhapse s/use/rely solely on/. Which implies the current Basic and
> Digest without limiting it by naming them.

+1

> ...
> IMHO, this needs to be clearer than "server" since that implies all
> types of virtual hosting as well which are actually not guilty of this
> brokenness.
> Perhapse more words at the end of that sentence to the effect of "under
> the same hostname." or similar.
> ...

We already have the term "canonical root URI" for that (but maybe we 
should think about a better term).

Revised proposal:

6.2.  Protection Spaces

    Authentication schemes that solely rely on the "realm" mechanism for
    establishing a protection space will expose credentials to all
    resources on a server.  Clients that have successfully made
    authenticated requests with a resource can use the same
    authentication credentials for other resources on the same server.
    This makes it possible for a different resource to harvest
    authentication credentials for other resources.

    This is of particular concern when a server hosts resources for
    multiple parties under the same canonical root URI (Section 6.2).
    Possible mitigation strategies include restricting direct access to
    authentication credentials (i.e., not making the content of the
    Authorization request header field available), and separating
    protection spaces by using a different host name for each party.

<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/348/348.diff>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 07:20: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 2C64D21F8611 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 07:20:56 -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=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_WEOFFER=0.3]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B02Llwy5+gAY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 07:20:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BBAA721F87FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 07:20:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScdYJ-0007pl-PV for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 14:19:07 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1ScdY2-0007l6-48 for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 14:18:50 +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 1ScdXy-0005fv-NR for ietf-http-wg@w3.org; Thu, 07 Jun 2012 14:18:48 +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 q57EIJJ7016738 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Thu, 7 Jun 2012 14:18:19 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
Date: Thu, 07 Jun 2012 16:18:18 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wfjd0s2diw9drz@riaa>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1ScdXy-0005fv-NR 859ee943e913839ec791885f24df4588
X-Original-To: ietf-http-wg@w3.org
Subject: SPDY Review
Archived-At: <http://www.w3.org/mid/op.wfjd0s2diw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13635
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScdYJ-0007pl-PV@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 14:19:07 +0000

I've taken an internal assessment of SPDY and cleaned it up a bit  
(removing internal or 3rd party NDA information). Apologies in advance to  
any misunderstandings, mistakes or inaccuracies I've managed to produce.



			     SPDY review

1. Introduction

   Opera Software has a long experience of HTTP optimization protocols,
   both through our own products Opera Mini and Opera Turbo, but also
   from integrating with 3rd party optimization, predominantly in the
   mobile space. In this document we compare the features of SPDY with
   our implementation and deployment experiences from equivalent
   features of other protocols.

   We struggled a bit with the format of this document, as there are a
   lot of interdependencies between the protocol format and its
   different features. We've decided to present the review in three
   parts. First we look at the individual conceptual features of SPDY,
   directly followed by a quick evaluation for each. After that comes a
   short discussion of the binary serialization of the protocol.
   Finally we offer our ideas for how to improve the SPDY protocol.

   This document is a compilation of analysis and comments from
   multiple teams within Opera, and I would like to specially thank Per
   Hedbor, Markus Johansson and Jonny Rein Eriksen for their
   contributions.

   A review of the SPDY protocol, based on the ID
   draft-mbelshe-httpbis-spdy-00. Last update 2012-04-19.

2. Feature overview

   SPDY is a transport layer protocol that acts on top of TCP and
   replaces HTTP while allowing all HTTP semantics to be mapped onto
   SPDY. In addition SPDY provides

   - Enforced pipelining
   - Out of order response
   - Multiplexed requests and responses
   - Flow control
   - Header compression
   - Asynchronous headers
   - Push

2.1. Pipelining & response order

   Pipelining is very important to avoid the overhead of setting up new
   TCP connections. Limiting the number of connections is also
   beneficial for congestion control. HTTP pipelining is defined in
   HTTP 1.1 and Opera has spent considerable effort to make it work as
   widely as possible. Unfortunately quite a lot of equipment doesn't
   implement HTTP 1.1 correctly, so lots of heuristics has to be
   applied in real world scenarios.

   Given the non-uniform response times of different requests from the
   same server, due to different amount of backend work required to
   generate a response, pipelining is prone to stalling when a slow
   request blocks a faster request. Out-of-order response is a good
   solution to the problem. It can easily be added to HTTP by adding a
   request ID header in each request and expecting corresponding
   response IDs in the responses.

   By adding priority information to the requests the server can take
   active decision in which resource to send first.

2.1.1. Evaluation

   Pipelining and out-of-order response are two important concepts that
   significantly improves HTTP performance. Client indicated priority
   preference further enhances the protocol. It is worth noting that
   for implementation purposes, e.g. issues in underlaying software
   layers, multiple connections may be preferable to a single one.

2.2. Multiplexing

   The SPDY multiplexing feature allows for multiple resources to load
   in parallel over a single TCP connection. The benefit is that it
   offers a protection against stalling of prioritized
   resources. Stalling in this case doesn't mean that the connection is
   idle, but it could be downloading a large, low prioritized resource,
   when the client issues a request for a higher prioritized resource.

   An alternative to multiplexing would be to open a new connection and
   let the current one, with only low priority requests on it, starve
   until the high priority items have been handled. This is however bad
   from congestion control point of view, and resets any states, like
   compression contexts, associated with the first connection (although
   those could theoretically be copied to new connections). Also, since
   SPDY supports push, it may not be technically possible to initiate a
   new connection from the server to push a high priority resource to
   the client.

   Finally we can note that multiplexing in SPDY always incur a data
   overhead. The lower latency we want for higher priority requests to
   reach the other side, the higher the overhead will be.

2.2.1. Evaluation

   Multiplexing allows for higher priority requests/responses to
   interrupt lower priority uploads/downloads without OOB signaling
   that interferes with TCP.

   The SPDY specification offers no insight in how frame sizes should
   be chosen.

2.3. Flow control

   SPDY provides a per stream flow control mechanism by defining a
   recipient buffer size that the sender needs to keep track of. The
   recipient has to acknowledge received data by responding with the
   currently available buffer space. This feature can be used for
   several things.

   - Throttling of then entire connection due to one endpoint having
     capacity issues.

   - Dynamic reprioritization of streams.

   - Throttling of unwanted pushed content.

   - Throttling of a specific stream due to backend issues for that
     specific stream.

   - Throttling of a specific stream due to rate of consumption.

2.3.1. Evaluation

   While not stated in the SPDY specification what problem the SPDY
   level flow control aims to solve, Mike Belshe writes an example in
   his blog that stalling recipient of data as a situation where SPDY
   flow control is helpful, to avoid buffering potentially unbound
   amount of data. While the concerns is valid, flow control looks like
   overkill to something where a per-channel pause control frame could
   do the same job with less implementation and protocol overhead.

   To throttle the entire connection there is already data rate
   management implemented in TCP. It is possible to throttle specific
   streams, but that should already be taken care of by the priority
   settings. Dynamic reprioritization is possible, but would be better
   made into an explicit stream property. Throttling or avoiding pushed
   content is another reason, but again an explicit mechanism would be
   preferrable. For real time communication each sender already have
   the ability to let one stream starve other streams, though UDP would
   be preferrable over TCP. Also note that TCP provides the URG channel
   for exception messaging.

2.4. Header compression

   For many applications the HTTP headers are a significant
   overhead. This is most visible in the mobile space where the content
   itself often is heavily minimized for the lowest common denominator,
   while at the same time mobile devices can send huge amounts of
   UAProf headers in every request. Even on Desktop the amount of
   cookies sent for every request is significant. Header compression is
   a good solution to this issue.

   SPDY uses a binary representation of headers, encoded as a set of
   Hollerith encoded key-value pairs. The first line of the HTTP
   request is also broken into its components and sent as key-value
   pairs in the stream headers. To mitigate this somewhat less compact
   representation of the headers, SPDY compresses the headers with
   zlib, uses a persistent LZ-window for the connection and uses a
   static dictionary.

2.4.1. Evaluation

   Header compression is a good feature with real world applications,
   and deflate with persistent context is a good approach to achieve
   it. A fixed dictionary is probably not very effective as it
   complicates the implementation while only providing initial value to
   the compression. As an example, this is how the average requests
   sizes compares between HTTP and SPDY in different modes, using the
   set of captured headers used to train the current SPDY 3 dictionary.

     HTTP                             821.1
     HTTP zlib compressed             543.5
     HTTP compressed with dictionary  497.0
     SPDY                             913.7
     SPDY zlib compressed             606.5
     SPDY compressed with dictionary  517.0

   I.e. Just putting the HTTP request in a SPDY stream (after removing
   disallowed headers) only differs by 20 bytes to SPDY binary header
   format with dictionary based zlib compression. The benefit of using
   a dictionary basically goes away entirely on the subsequent request.

   For very constrained devices the major issue with using deflate is
   the 32K LZ window. The actual decompression is very light weight and
   doesn't require much code. When sending data, using the no
   compression mode of deflate effectively disables compression with
   almost no code. Using fixed huffman codes is almost as easy.

2.5. Asynchronous headers

   The HEADERS frame allows either side set additional headers for the
   request or response at any point while the stream is open. This
   differs from normal HTTP semantics where headers are sent strictly
   before any data, and at half duplex, and allows for parallel
   generation of headers and contents. While this is already possible
   to do with chunked encoding trailer, it is not a feature in popular
   use.

2.5.1. Evaluation

   The problem with this frame is that it creates a situation where a
   potentially critical header for the interpretation of the content is
   sent last, thus forcing the receiver to put data processing on hold.
   As additional headers can be sent up until the stream is closed
   (though it doesn't specify what is allowed on half-closed
   connections) this potentially makes all streams subject to last
   minute reinterpretations. The specification doesn't define the
   behavior when updating already sent headers. This feature also makes
   SPDY more vulnerable to protocol injection attacks.

2.6. Push

   SPDY allows the server to open a stream towards the client and
   effectively push content to the client. The idea is cache seeding,
   where resources likely or known to be requested soon will be pushed
   to the client. Server push has to happen as a result of an earlier
   client request, which must be explicitly linked.

2.6.1. Evaluation

   As defined the feature is not powerful enough to push non-request
   related content (such as new RSS items), while also lacking
   mechanisms to limit the size of pushed content or fully disable
   pushing. The client has the option to read and discard this
   information, but that may be a costly waste of bandwidth.


3. Binary representation

3.1. Control frame version

   The version field of the control frame is odd for several different
   reasons.

   - The field is huge, 15 bits, which given the rate of incompatible
   changes in released protocols (IPv6, HTTP 1.1 etc) appears
   unwarranted. Also, adding more room for the version field is easy if
   different versions are considered incompatible. The version field is
   meaningless if different versions are compatible.

   - The version is sent in every control frame, which appears overly
   redundant.

   - There is no clear semantics of how the version should be
   handled. While status code 4, UNSUPPORTED_VERSION, gives a clue that
   messages with unknown versions should be rejected, there is only a
   mechanism to do it for streams.

3.2. Field sizes

   The specification is consistently using 24 bit frame sizes but 32
   bit sizes for almost all counters and size fields for frame internal
   data. In design notes 4.4. "Fixed vs Variable Length Fields" the
   authors note that this is done for speed and simplicity. There is no
   reason why an 8, 16 or 24 bit field wouldn't be simple or fast
   enough, especially given the existence of 31-bit and 3-bit fields
   that also exists in the specification.

3.3. Directionality

   While the SPDY draft attempt to implement two independent layers, a
   general purpose framing layer with an HTTP-like layer on top of it,
   this separation creates some unneeded complexities. The two main use
   cases for SPDY is HTTP request-response and HTTP push. Both of these
   are unidirectional once established and both of them have some
   mandatory header fields that are more efficiently encoded in a fixed
   structure.

3.4. Stream header coding

   Multiple headers with the same name are encoded as a list of null
   separated values. This removes the possibility to store binary
   values in headers, which both prevents unencoded values and more
   natural representations of e.g. size, date, age, hash etc.

4. Proposed changes

   This section details some ideas for improvements of the SPDY draft.

4.1. Handshake

   We believe the versioning semantics needs to be better formalized,
   and that the version information can be moved into a connection
   handshake. In its simplest form a SETTINGS frame is always sent
   first in the connection, establishing the version and connection
   parameters. A connection should be rejected if the version is out of
   range for the server. The server should respond with the highest
   supported protocol version before closing.

4.2. Field sizes

   Define a reasonable range for each field, based on statistics where
   possible, and resize them where appropriate.

4.3. Specialized HTTP frames

   For the common case of using SPDY as an HTTP substitute, create
   special frames to open HTTP request-response and HTTP push
   streams. This removes the need for explicit unidirectional flag and
   mandatory header values.

4.4. Typed key-value pairs

   Create a better structure for the key-value pair lists where it is
   possible to have binary values and typed values. The types can
   include binary string, integer and list. Standardize how all
   standard HTTP headers should be normalized and typed, including
   which ones are disallowed to be in lists of multiple values.

   Introduce a mechanism that allows headers to be properties of the
   stream, to be used internally in SPDY, and move optional parameters
   and parameters that seldom deviate from default value to use
   internal headers (e.g. priority, slot, associate-to-stream-id). This
   also provides a mechanism for easy extension.

4.5. Push

   The client needs to be in control of what pushed data to accept. A
   simple accept flag may be too simplisitc, as it prevents tricks like
   redirect collapsing, but would be an improvement nevertheless.

4.6. Flow control

   Remove the SPDY flow control and instead introduce a control
   mechanism to actively put a stream on hold. If priority is moved to
   stream properties, as suggested in 3.4., dynamic reprioritization is
   possible.

4.7. Header compression

   Remove the header compression dictionary. It creates little benefit
   for the added complexity it introduces.

4.8. Asynchronous headers

   Specify the asynchronous header feature stricter so that overwriting
   HTTP headers isn't allowed and the receiver knows in advance what
   headers will be generated later.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 09:14: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 5D11611E810B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 09:14:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.538
X-Spam-Level: 
X-Spam-Status: No, score=-7.538 tagged_above=-999 required=5 tests=[AWL=3.061, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tKD8i-JpXNBZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 09:14:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AF00111E8085 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 09:14:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScfKc-000264-0f for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 16:13:06 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1ScfKQ-00025D-7I for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 16:12:54 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1ScfKN-00033M-CQ for ietf-http-wg@w3.org; Thu, 07 Jun 2012 16:12:52 +0000
Received: by bkty5 with SMTP id y5so758335bkt.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 09:12: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:content-transfer-encoding; bh=DeLQJwA/hio912b1A1cjaZsedgd5jG/2nZUJpMVaxBg=; b=tLh8jMspSOC7CoGBBVSZJGZeGA9U4VsIN8FGdiHWMMHEybgecG5ZdPt/vki3EZYwbp 73rn9VZN2X+lUWiQaZqsSPFqAvG2c1Hye84AWNaLgbzDEZY0yFDOeQxh3GqDcHHqPGTR L+oNV57LJvaN6MdaIPNMwvfgP5ZQj6KGqr6iD3uTOaRt/SBB+UIgO7WpAFID2W7rYkQW GMo6L/pU3g8Ie1mhJflR4BA/RUr8L0Z0ugvsVESaxa0Wtt+YAQ3HGeV0Lpqp5gBrgdKa nxKaVU8Qiu2H684OpLHLzHl2pymOQWgHc2ALTEFck1LaavjrIqiAotHcRYScJyW9Hd3m aa1w==
MIME-Version: 1.0
Received: by 10.204.150.84 with SMTP id x20mr2036126bkv.26.1339085544962; Thu, 07 Jun 2012 09:12:24 -0700 (PDT)
Received: by 10.204.66.4 with HTTP; Thu, 7 Jun 2012 09:12:24 -0700 (PDT)
In-Reply-To: <op.wfjd0s2diw9drz@riaa>
References: <op.wfjd0s2diw9drz@riaa>
Date: Thu, 7 Jun 2012 09:12:24 -0700
Message-ID: <CABkgnnWWJ+VvScOYYAeLsHVYAWT2QBrwqXhb5SZwQvU52GOjqA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Martin Nilsson <nilsson@opera.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.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 1ScfKN-00033M-CQ 0a7d93a522ffee954395085b16b8ca21
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/CABkgnnWWJ+VvScOYYAeLsHVYAWT2QBrwqXhb5SZwQvU52GOjqA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13636
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScfKc-000264-0f@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 16:13:06 +0000

Interesting, thorough and well-considered review.  A few opinions
included inline:

On 7 June 2012 07:18, Martin Nilsson <nilsson@opera.com> wrote:
> =C2=A0By adding priority information to the requests the server can take
> =C2=A0active decision in which resource to send first.

I don't think priority is as big a deal as people are making out.  On
the contrary, it's a distraction.

1. The server is probably more likely to know what resources need to
be acquired first.
2. The client has the ultimate control over what resources are
requested, so they already have control over priority (if resource A
is more important than resource B, just don't request resource B).

Beyond this, the main reason you might use priority is for large
concurrent representation (i.e., file) transfers.  Bittorrent has this
feature for torrents with multiple files.  The utility for HTTP is
somewhat limited.  That's not to say that it isn't a useful feature,
but I don't see it as a core necessity.

> =C2=A0[...]  While the concerns is valid, flow control looks like
> =C2=A0overkill to something where a per-channel pause control frame could
> =C2=A0do the same job with less implementation and protocol overhead.

The problem with a pause frame is the time that it takes to propagate.
 During that time, you can end up getting a lot of data that you can't
do anything with.  Flow control is a well understood mechanism that
solves the problem.

I'm going to argue that flow control is the necessity and priority is
the unnecessary feature gold plating.

> =C2=A0The problem with [asynchronous headers] is that it creates a situat=
ion where a
> =C2=A0potentially critical header for the interpretation of the content i=
s
> =C2=A0sent last, thus forcing the receiver to put data processing on hold=
.

If you read the guidance on trailing headers (footers?), the key
message is that they should not be critical.  The same guidance should
apply to any asynchronous headers.

The utility of a trailer can be significant.  For instance, if you
have to calculate a hash of the representation, they represent a
significant performance gain.  In this case, I can imagine wanting to
send supplementary information after the representation; Link headers,
for instance.

> 2.6. Push

Is not sufficiently justified to warrant the significant change in
protocol semantics.


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 09:35: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 DDD6B21F8826 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 09:35:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.932
X-Spam-Level: 
X-Spam-Status: No, score=-7.932 tagged_above=-999 required=5 tests=[AWL=2.667, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I2J0CXmoDLOe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 09:35:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4340621F86E3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 09:35:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scffa-0007XE-7v for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 16:34:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ScffQ-0007W7-PY for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 16:34:36 +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 1ScffN-0003VX-BI for ietf-http-wg@w3.org; Thu, 07 Jun 2012 16:34:35 +0000
Received: (qmail invoked by alias); 07 Jun 2012 16:34:06 -0000
Received: from p5DD972CB.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.114.203] by mail.gmx.net (mp016) with SMTP; 07 Jun 2012 18:34:06 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19Rv/QidWZR67UO5QsBHe1eJb0y/Bymtdxg74w6Sm RmUf9MACB6v0at
Message-ID: <4FD0D7E6.50403@gmx.de>
Date: Thu, 07 Jun 2012 18:33:42 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Martin Nilsson <nilsson@opera.com>
CC: ietf-http-wg@w3.org
References: <op.wfjd0s2diw9drz@riaa>
In-Reply-To: <op.wfjd0s2diw9drz@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.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1ScffN-0003VX-BI 0db4d3e1f46bd9740df8a47bd8890889
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/4FD0D7E6.50403@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13637
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scffa-0007XE-7v@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 16:34:46 +0000

On 2012-06-07 16:18, Martin Nilsson wrote:
> ...
> 2.1. Pipelining & response order
>
>    Pipelining is very important to avoid the overhead of setting up new
>    TCP connections. Limiting the number of connections is also
>    beneficial for congestion control. HTTP pipelining is defined in
>    HTTP 1.1 and Opera has spent considerable effort to make it work as
>    widely as possible. Unfortunately quite a lot of equipment doesn't
>    implement HTTP 1.1 correctly, so lots of heuristics has to be
>    applied in real world scenarios.
>
>    Given the non-uniform response times of different requests from the
>    same server, due to different amount of backend work required to
>    generate a response, pipelining is prone to stalling when a slow
>    request blocks a faster request. Out-of-order response is a good
>    solution to the problem. It can easily be added to HTTP by adding a
>    request ID header in each request and expecting corresponding
>    response IDs in the responses.
> ...

Note: that doesn't work with caching.

But see the Assoc-Req header field described in 
<http://tools.ietf.org/html/draft-nottingham-http-pipeline-00#section-5> 
-- I think it's experimentally implemented in Firefox (which means it 
needs a spec :-)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 09:44: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 97A5211E8129 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 09:44:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.676
X-Spam-Level: 
X-Spam-Status: No, score=-9.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kHSpCm7oP66u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 09:44:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8928911E8121 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 09:44:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scfol-0002Pe-M4 for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 16:44:15 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <willchan@google.com>) id 1Scfoa-0002Og-Gu for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 16:44:04 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1ScfoW-0003y0-Rr for ietf-http-wg@w3.org; Thu, 07 Jun 2012 16:44:02 +0000
Received: by ghy10 with SMTP id 10so575917ghy.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 09:43:35 -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=JV5Nu16pTcMtKLbG+GPUtE38pi3RHg493FM7YUOd/YE=; b=c+xVqQpY8fs/rBe8Ux9vv8MHVSxWTUIR0tJgFYGG/FLH3sCr4UPL+DSXIdhxyJS1iN SF4H/26YfKt8YPX6vcluRx3+aCLXUhce8ay5qaAiUcamRh/IpH12bCKjB4wEwW48dHKf 7sEqPYUjyILAq1u8jB2QGn4xv/o4NRGSF0rqOxO8GtkITXKBLPZG6Ousi8iIr1eI6bqX 3vQlaESmFLL3FOhYUQMJDMU2k+oconA0bseE1mhKjA8XPisIfFInS2fpsBw7+OQxgcOn /JnpIYvD2XEltAyjha2iwYxCLGh6Ns9GuFeXunQ7kokKve94MmTcs1HTjck8rCHN7JBk 2eqg==
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=JV5Nu16pTcMtKLbG+GPUtE38pi3RHg493FM7YUOd/YE=; b=VaJ2bZ2Oc/AjODW66AOArxVwYUGC/a2XwrqrE5uGYOxbcBkzkqrTTV+lFIQRUkp5rf vtaS6eo3ULnSbON+C4crmEMnPLdiNe3XnHPSgGFpNc/2WWVCO83Ap1e2+DVTslXzaeF4 jxFDQ2KuDePsK2k7Zc8YbqdmYYVsySZs3xOiZ3xjLF8pMp9DGd+2cEmX8MU0o09AWer7 amh8qcXCTJV3A9oUC9kdOKPfw3gFvhHx+rl7MMeyIyvqbuMaQdxdfxO2NeTyJJmqBgwe xAt3wPcOmfFa1uUnD/KsqEr2ZzMxgn66trTBUyrikSdY0GgnTTzNnMFge07sU0v0JIOa +cUA==
Received: by 10.50.237.73 with SMTP id va9mr1593179igc.3.1339087413575; Thu, 07 Jun 2012 09:43:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.237.73 with SMTP id va9mr1593155igc.3.1339087413425; Thu, 07 Jun 2012 09:43:33 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.231.24.198 with HTTP; Thu, 7 Jun 2012 09:43:33 -0700 (PDT)
In-Reply-To: <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com>
Date: Thu, 7 Jun 2012 09:43:33 -0700
X-Google-Sender-Auth: BEnMFS7jtghZ-VPVYlNz1rQp0yM
Message-ID: <CAA4WUYiRUU7eq8RUbiCp2DjCa25jp8K6iBouFDxvyCbLyan_4w@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Mike Belshe <mike@belshe.com>
Cc: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Matthew Cox <macox@microsoft.com>,  Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>,  Rob Trace <Rob.Trace@microsoft.com>, Jonathan Silvera <jsilvera@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d0447a11999b76e04c1e49503
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQmuLSYMsNZ/9eivatJSgOUCtGtV734JfyuNq9ECoTesakRV85IuCl0kiHhUQFWyeI7FIucFrF/3Qo/pT2zRg2O/RnTfNo2lgUkHU0jVf7D01Y5+DR2ByW/TEiYGYKQVHVn7i5/povhRuxtcaRd87BBINkRAcg==
Received-SPF: pass client-ip=209.85.160.171; envelope-from=willchan@google.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1ScfoW-0003y0-Rr 255252caaae40a92eea9aef5ea7fafa0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CAA4WUYiRUU7eq8RUbiCp2DjCa25jp8K6iBouFDxvyCbLyan_4w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13638
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scfol-0002Pe-M4@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 16:44:15 +0000

--f46d0447a11999b76e04c1e49503
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

* Google is working on efforts to seriously deploy SPDY server push on our
properties. I can't comment further on timeline, but I hope to provide data
to guide our discussions, so let's not axe it just yet.
* To my knowledge, Amazon is using it in their Silk browser. A proxy that
uses server push is a fascinating use case, and it'd be cool to get data on
that first.

On Wed, Jun 6, 2012 at 6:47 PM, Mike Belshe <mike@belshe.com> wrote:

> I agree.
>
> Perhaps another reason for dropping push at this point may be that I don'=
t
> know of any efforts to seriously deploy it.  If no implementors are willi=
ng
> to speak up that they plan to use it, deploy it, measure it, and report
> results on their findings, then it is a good time to drop it altogether a=
nd
> focus on the other parts of the protocol instead.
>
> Mike
>
>
> On Wed, Jun 6, 2012 at 6:30 PM, Gabriel Montenegro <
> Gabriel.Montenegro@microsoft.com> wrote:
>
>>  Hi folks,****
>>
>> ** **
>>
>> Amongst some collegues, we've been thinking about server push in HTTP 2.=
0
>> and have some ideas we'd like to share as a way to promote discussion on
>> this subject****
>>
>> ** **
>>
>> 1. Overview****
>>
>> Server Push is an interesting idea that could provide some performance
>> gains for HTTP 2.0 clients, however we don=92t believe it is core the HT=
TP
>> 2.0 protocol. Server Push could result in servers sending unnecessary da=
ta
>> to the client, introduces potential delays to avoid race conditions and =
is
>> mostly relevant for browser applications. A less complex alternative tha=
t
>> addresses some of these drawbacks while better aligning with legacy HTTP=
,
>> =93Smart Client Pull=94, is proposed below. ****
>>
>> ** **
>>
>> ** **
>>
>> 2. Issues with current Server Push in SPDY****
>>
>> ** **
>>
>> We don't envision Server push as part of the base HTTP 2.0 protocol, but
>> see it as a potentially interesting extension, as long as there is some =
way
>> for the client to exert some control over when and how it is used. One
>> fundamental requirement is for clients to be able to control =93Server P=
ush=94
>> behavior via a new opt-in <name TBD> header.  Servers MUST NOT push
>> unrequested data to the client, unless the top level page request <name
>> TBD> header is set to allow =93Server Push=94.****
>>
>> ** **
>>
>> Server Push does not require any validation prior to pushing data to the
>> client, which could result in the server sending unnecessary data to
>> clients that have some of the pushed resources stored in their cache.***=
*
>>
>> ** **
>>
>> Furthermore, "Server Push" introduces a race condition in which a client
>> could start a new request for data that the server is in the process of
>> pushing, effectively causing the same resource to be downloaded twice. S=
PDY
>> addresses the race condition by not sending any data (headers are OK) fo=
r
>> the top level page, until all of the SYN_STREAM for the dependencies it
>> will push are sent:****
>>
>> ** **
>>
>> "To minimize race conditions with the client, the SYN_STREAM for the
>> pushed resources MUST be sent prior to sending any content which could
>> allow the client to discover the pushed resource and request it."****
>>
>> ** **
>>
>> We agree that SPDY's proposal is a good way to mitigate the race
>> condition in Server Push without introducing significant complexity.
>> Unfortunately mitigating the race condition in this manner prevents the
>> server from sending data for the top level page. This could result in
>> user-visible delays.  Whether or not the user will see a delay will depe=
nd
>> on what messages (how many and how large) the server is pushing to the
>> client.****
>>
>> ** **
>>
>> 3. Smart Client Pull alternative to Server Push****
>>
>> ** **
>>
>> We would like to propose an alternative to Server Push for discussion.
>> This alternative is closely aligned with existing standards and could ev=
en
>> work for HTTP 1.1.****
>>
>> ** **
>>
>> When a server receives an HTTP request for a top level page, the server
>> will generate a list of resources needed to fully load the top level pag=
e.
>> The server will send the optimal pre-fetch list to the client, via LINK
>> headers, with a "prefetch" link relation type (defined in HTML5 per
>> http://www.iana.org/assignments/link-relations/link-relations.xml). ****
>>
>> ****
>>
>> The server SHOULD also include the corresponding cache validators for
>> each resource in the pre-fetch list. An extension to the =93prefetch=94 =
link
>> relation type will be needed to allow cache validator data.****
>>
>> ** **
>>
>> When a client receives data for a top level page, it will begin
>> processing the top level page response, while simultaneously pre-fetchin=
g
>> resources in the pre-fetch list that are not in the client cache or that
>> are cached but invalid, as indicated by the cache validators included in
>> the pre-fetch list. Servers SHOULD only include resources that block
>> loading of the top level page in the optimal pre-fetch list.****
>>
>> ** **
>>
>> This eliminates the need to block data for the top level request until
>> all SYN_STREAM for pushed dependencies are sent, in order to avoid the r=
ace
>> condition. The client would pre-fetch the resources in the optimal
>> pre-fetch list, which introduces an extra RTT.  We should gather data to
>> determine how much more significant this RTT is, when compared to the
>> complexity of implementing server push and some of the benefits obtained=
 by
>> multiplexing new connections for the dependency resources.****
>>
>> ** **
>>
>> Clients will control =93Smart Client Pull=94 behavior via a new opt-in <=
name
>> TBD> header. Servers MUST NOT push LINK header and associated cache
>> validator data to clients, unless the top level page request <name TBD>
>> header is set to allow =93Smart Client Pull=94. ****
>>
>> ** **
>>
>> 4. Other alternatives ****
>>
>> ** **
>>
>> These are other client-driven alternatives to =93Server Push=94. However=
 we
>> need to capture additional data to determine the impact and cost of each=
:
>> ****
>>
>> ** **
>>
>> a.            Bundling of HTTP resources: Administrators can package
>> static server side resources needed to download a webpage as a single
>> entity. A client would download all static dependencies by issuing a sin=
gle
>> HTTP request. However, this could result in the client receiving data wh=
ich
>> it already had in its cache.****
>>
>> ** **
>>
>> b.            Combination of Smart Client Pull and Bundling of HTTP
>> resources (a).****
>>
>> ** **
>>
>> 5.            Recommendation:****
>>
>> ** **
>>
>> =93Server Push=94 should not be a part of the core HTTP2.0 spec for the
>> following reasons:****
>>
>> ** **
>>
>> - =93Server Push=94 is not core to defining the HTTP 2.0 transport.****
>>
>> ** **
>>
>> - =93Server Push=94 without optimizations can result in unnecessary data
>> being sent to the client.****
>>
>> ** **
>>
>> - =93Server Push=94 even with optimizations, introduces delays to avoid =
race
>> conditions that are not present in other solutions.****
>>
>> ** **
>>
>> - =93Server Push=94 is relevant primarily for browser applications and n=
ot
>> for more general use cases.****
>>
>> ** **
>>
>> 6.            Areas for further discussion: ****
>>
>> ** **
>>
>> - How to send the =93prefetch" list and its corresponding cache-validato=
rs
>> in an efficient manner. These resources are URLs, which can be really lo=
ng,
>> causing us to transmit a additional data when using Smart Client Pull.**=
*
>> *
>>
>> ** **
>>
>> - Validation of cached resources included in the prefetch list will
>> require additional CPU cycles.  However, it is no different from cache
>> validation currently performed on cache resources. The tradeoff here is =
CPU
>> load in order to avoid unnecessary download of resources already in the
>> client=92s cache.****
>>
>> ** **
>>
>> - Compare =93Smart Server Hints=94 and =93Bundling=94 to determine the i=
mpact of
>> the features in isolation and combined.****
>>
>
>

--f46d0447a11999b76e04c1e49503
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div>* Google is working on efforts to seriously deploy SPDY server push on=
 our properties. I can&#39;t comment further on timeline, but I hope to pro=
vide data to guide our discussions, so let&#39;s not axe it just yet.</div>
<div>* To my knowledge, Amazon is using it in their Silk browser. A proxy t=
hat uses server push is a fascinating use case, and it&#39;d be cool to get=
 data on that first.</div><div><br><div class=3D"gmail_quote">On Wed, Jun 6=
, 2012 at 6:47 PM, Mike Belshe <span dir=3D"ltr">&lt;<a href=3D"mailto:mike=
@belshe.com" target=3D"_blank">mike@belshe.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">I agree.=A0<div><br></div><div>Perhaps anoth=
er reason for dropping push at this point may be that I don&#39;t know of a=
ny efforts to seriously deploy it. =A0If no implementors are willing to spe=
ak up that they plan to use it, deploy it, measure it, and report results o=
n their findings, then it is a good time to drop it altogether and focus on=
 the other parts of the protocol instead.</div>
<span class=3D"HOEnZb"><font color=3D"#888888">
<div><br></div></font></span><div><span class=3D"HOEnZb"><font color=3D"#88=
8888"><div>Mike</div></font></span><div><div class=3D"h5"><div><br></div><d=
iv><br><div class=3D"gmail_quote">On Wed, Jun 6, 2012 at 6:30 PM, Gabriel M=
ontenegro <span dir=3D"ltr">&lt;<a href=3D"mailto:Gabriel.Montenegro@micros=
oft.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">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal">Hi folks,<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Amongst some collegues, we&#39;ve been thinking abou=
t server push in HTTP 2.0 and have some ideas we&#39;d like to share as a w=
ay to promote discussion on this subject<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">1. Overview<u></u><u></u></p>
<p class=3D"MsoNormal">Server Push is an interesting idea that could provid=
e some performance gains for HTTP 2.0 clients, however we don=92t believe i=
t is core the HTTP 2.0 protocol. Server Push could result in servers sendin=
g unnecessary data to the client, introduces
 potential delays to avoid race conditions and is mostly relevant for brows=
er applications. A less complex alternative that addresses some of these dr=
awbacks while better aligning with legacy HTTP, =93Smart Client Pull=94, is=
 proposed below.
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">2. Issues with current Server Push in SPDY<u></u><u>=
</u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We don&#39;t envision Server push as part of the bas=
e HTTP 2.0 protocol, but see it as a potentially interesting extension, as =
long as there is some way for the client to exert some control over when an=
d how it is used. One fundamental requirement
 is for clients to be able to control =93Server Push=94 behavior via a new =
opt-in &lt;name TBD&gt; header.=A0 Servers MUST NOT push unrequested data t=
o the client, unless the top level page request &lt;name TBD&gt; header is =
set to allow =93Server Push=94.<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Server Push does not require any validation prior to=
 pushing data to the client, which could result in the server sending unnec=
essary data to clients that have some of the pushed resources stored in the=
ir cache.<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Furthermore, &quot;Server Push&quot; introduces a ra=
ce condition in which a client could start a new request for data that the =
server is in the process of pushing, effectively causing the same resource =
to be downloaded twice. SPDY addresses the race
 condition by not sending any data (headers are OK) for the top level page,=
 until all of the SYN_STREAM for the dependencies it will push are sent:<u>=
</u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">&quot;To minimize race conditions with the client, t=
he SYN_STREAM for the pushed resources MUST be sent prior to sending any co=
ntent which could allow the client to discover the pushed resource and requ=
est it.&quot;<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We agree that SPDY&#39;s proposal is a good way to m=
itigate the race condition in Server Push without introducing significant c=
omplexity. Unfortunately mitigating the race condition in this manner preve=
nts the server from sending data for the
 top level page. This could result in user-visible delays.=A0 Whether or no=
t the user will see a delay will depend on what messages (how many and how =
large) the server is pushing to the client.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">3. Smart Client Pull alternative to Server Push<u></=
u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">We would like to propose an alternative to Server Pu=
sh for discussion. This alternative is closely aligned with existing standa=
rds and could even work for HTTP 1.1.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">When a server receives an HTTP request for a top lev=
el page, the server will generate a list of resources needed to fully load =
the top level page. The server will send the optimal pre-fetch list to the =
client, via LINK headers, with a &quot;prefetch&quot;
 link relation type (defined in HTML5 per <a href=3D"http://www.iana.org/as=
signments/link-relations/link-relations.xml" target=3D"_blank">http://www.i=
ana.org/assignments/link-relations/link-relations.xml</a>).
<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u><u></u></p>
<p class=3D"MsoNormal">The server SHOULD also include the corresponding cac=
he validators for each resource in the pre-fetch list. An extension to the =
=93prefetch=94 link relation type will be needed to allow cache validator d=
ata.<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">When a client receives data for a top level page, it=
 will begin processing the top level page response, while simultaneously pr=
e-fetching resources in the pre-fetch list that are not in the client cache=
 or that are cached but invalid, as
 indicated by the cache validators included in the pre-fetch list. Servers =
SHOULD only include resources that block loading of the top level page in t=
he optimal pre-fetch list.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">This eliminates the need to block data for the top l=
evel request until all SYN_STREAM for pushed dependencies are sent, in orde=
r to avoid the race condition. The client would pre-fetch the resources in =
the optimal pre-fetch list, which
 introduces an extra RTT.=A0 We should gather data to determine how much mo=
re significant this RTT is, when compared to the complexity of implementing=
 server push and some of the benefits obtained by multiplexing new connecti=
ons for the dependency resources.<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Clients will control =93Smart Client Pull=94 behavio=
r via a new opt-in &lt;name TBD&gt; header. Servers MUST NOT push LINK head=
er and associated cache validator data to clients, unless the top level pag=
e request &lt;name TBD&gt; header is set to allow
 =93Smart Client Pull=94. <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">4. Other alternatives <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">These are other client-driven alternatives to =93Ser=
ver Push=94. However we need to capture additional data to determine the im=
pact and cost of each:<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">a.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Bundling of HTTP=
 resources: Administrators can package static server side resources needed =
to download a webpage as a single entity. A client would download all stati=
c dependencies by issuing a single HTTP request. However,
 this could result in the client receiving data which it already had in its=
 cache.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">b.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Combination of S=
mart Client Pull and Bundling of HTTP resources (a).<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">5.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Recommendation:<=
u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">=93Server Push=94 should not be a part of the core H=
TTP2.0 spec for the following reasons:<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 is not core to defining the HTTP=
 2.0 transport.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 without optimizations can result=
 in unnecessary data being sent to the client.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 even with optimizations, introdu=
ces delays to avoid race conditions that are not present in other solutions=
.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- =93Server Push=94 is relevant primarily for browse=
r applications and not for more general use cases.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">6.=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Areas for furthe=
r discussion: <u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- How to send the =93prefetch&quot; list and its cor=
responding cache-validators in an efficient manner. These resources are URL=
s, which can be really long, causing us to transmit a additional data when =
using Smart Client Pull.<u></u><u></u></p>


<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- Validation of cached resources included in the pre=
fetch list will require additional CPU cycles.=A0 However, it is no differe=
nt from cache validation currently performed on cache resources. The tradeo=
ff here is CPU load in order to avoid
 unnecessary download of resources already in the client=92s cache.<u></u><=
u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">- Compare =93Smart Server Hints=94 and =93Bundling=
=94 to determine the impact of the features in isolation and combined.<u></=
u><u></u></p>
</div>
</div>

</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>

--f46d0447a11999b76e04c1e49503--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 09:55: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 7781C11E8112 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 09:55:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.515
X-Spam-Level: 
X-Spam-Status: No, score=-7.515 tagged_above=-999 required=5 tests=[AWL=2.784, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id g-TZDjmHgGvs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 09:55:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 82B9911E8110 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 09:55:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScfzM-00076O-Cx for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 16:55:12 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1ScfzC-00071W-Ay for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 16:55:02 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Scfz5-0004QC-89 for ietf-http-wg@w3.org; Thu, 07 Jun 2012 16:55:00 +0000
Received: by bkty5 with SMTP id y5so807873bkt.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 09:54: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:content-transfer-encoding; bh=eVhWPEADS3CyTlNV2Nj/2liT5QNdizKKUC+A+e2Psls=; b=uJ6qrIqpjkQTpC3kcOw+fnKs5nkw4c0eOYrlFboS+OlMCvycdd4gryhCSE7yIR6IQA glyG8qWjdhTAnnqjDrWNHP+Yi3An4no804qj0Y8JBPQX9mgapceUOcjUnFnl6EIFNqqt sElYWQ2eqfHmw4BTGw/s2TiasMosyE2+ZskWvXR1wLU4L+s0My9Ft/O9pz4RC14DF3h2 CJvEGP8XHg44dlAk7f4R25IOGNSjf4951B5ldUwSDCbRGfeaxmcgPTtbqXKMAvBOnbDD dzf4r8V6srK0qmzdT8mOXBTNKOTIqv919NrZk06khlx0dYzPwy/QVqdQ0GhVN5kK+csT cxFA==
MIME-Version: 1.0
Received: by 10.204.182.15 with SMTP id ca15mr2199385bkb.49.1339088068471; Thu, 07 Jun 2012 09:54:28 -0700 (PDT)
Received: by 10.204.66.4 with HTTP; Thu, 7 Jun 2012 09:54:28 -0700 (PDT)
In-Reply-To: <CAA4WUYiRUU7eq8RUbiCp2DjCa25jp8K6iBouFDxvyCbLyan_4w@mail.gmail.com>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com> <CAA4WUYiRUU7eq8RUbiCp2DjCa25jp8K6iBouFDxvyCbLyan_4w@mail.gmail.com>
Date: Thu, 7 Jun 2012 09:54:28 -0700
Message-ID: <CABkgnnWuB-h0rBOTnuS2abFhiTtkHi0zcDM=gtVc9K7_OS8e2A@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
Cc: Mike Belshe <mike@belshe.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.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: lisa.w3.org 1Scfz5-0004QC-89 165b1167cabebeb513ca194ed14aa47d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CABkgnnWuB-h0rBOTnuS2abFhiTtkHi0zcDM=gtVc9K7_OS8e2A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13639
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScfzM-00076O-Cx@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 16:55:12 +0000

On 7 June 2012 09:43, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) <willchan@=
chromium.org> wrote:
> * Google is working on efforts to seriously deploy SPDY server push on ou=
r
> properties. I can't comment further on timeline, but I hope to provide da=
ta
> to guide our discussions, so let's not axe it just yet.
> * To my knowledge, Amazon is using it in their Silk browser. A proxy that
> uses server push is a fascinating use case, and it'd be cool to get data =
on
> that first.

I'm with Mike and Gabriel on this one.

It would be nice if HTTP/2.0 discussions could be scoped to exclude
discussions on new protocol semantics.  If you feel especially
attached to the idea of push, then my preference would be to see a new
draft on it.

--Martin


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 09:57: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 820EC11E8110 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 09:57:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.777
X-Spam-Level: 
X-Spam-Status: No, score=-6.777 tagged_above=-999 required=5 tests=[AWL=3.822, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YIDq33K2m+0G for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 09:57:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 88E8D11E810A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 09:57:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scg1Q-0007S1-JK for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 16:57:20 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stpeter@stpeter.im>) id 1Scg1G-0007QF-Fw for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 16:57:10 +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 1Scg1D-0004jL-ON for ietf-http-wg@w3.org; Thu, 07 Jun 2012 16:57:08 +0000
Received: from [64.101.72.115] (unknown [64.101.72.115]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id F0753400A4; Thu,  7 Jun 2012 11:13:34 -0600 (MDT)
Message-ID: <4FD0DD47.2010907@stpeter.im>
Date: Thu, 07 Jun 2012 10:56:39 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120601 Thunderbird/13.0
MIME-Version: 1.0
To: Martin Thomson <martin.thomson@gmail.com>
CC: =?UTF-8?B?IldpbGxpYW0gQ2hhbiAo6ZmI5pm65piMKSI=?= <willchan@chromium.org>, Mike Belshe <mike@belshe.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com> <CAA4WUYiRUU7eq8RUbiCp2DjCa25jp8K6iBouFDxvyCbLyan_4w@mail.gmail.com> <CABkgnnWuB-h0rBOTnuS2abFhiTtkHi0zcDM=gtVc9K7_OS8e2A@mail.gmail.com>
In-Reply-To: <CABkgnnWuB-h0rBOTnuS2abFhiTtkHi0zcDM=gtVc9K7_OS8e2A@mail.gmail.com>
X-Enigmail-Version: 1.4.2
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=207.210.219.225; envelope-from=stpeter@stpeter.im; helo=stpeter.im
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, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Scg1D-0004jL-ON afa22abe0367babf71d1546215d1ccf6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/4FD0DD47.2010907@stpeter.im>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13640
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scg1Q-0007S1-JK@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 16:57:20 +0000

On 6/7/12 10:54 AM, Martin Thomson wrote:
> On 7 June 2012 09:43, William Chan (é™ˆæ™ºæ˜Œ) <willchan@chromium.org> wrote:
>> * Google is working on efforts to seriously deploy SPDY server push on our
>> properties. I can't comment further on timeline, but I hope to provide data
>> to guide our discussions, so let's not axe it just yet.
>> * To my knowledge, Amazon is using it in their Silk browser. A proxy that
>> uses server push is a fascinating use case, and it'd be cool to get data on
>> that first.
> 
> I'm with Mike and Gabriel on this one.
> 
> It would be nice if HTTP/2.0 discussions could be scoped to exclude
> discussions on new protocol semantics.  If you feel especially
> attached to the idea of push, then my preference would be to see a new
> draft on it.

+1

/psa






From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 10:10: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 DE86111E811A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:10:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.676
X-Spam-Level: 
X-Spam-Status: No, score=-9.676 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M6LjbTwrGxTE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:10:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9E75B21F86F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 10:10:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScgC2-000231-Dh for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 17:08:18 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <willchan@google.com>) id 1ScgBs-00022A-LK for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 17:08:08 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1ScgBo-0004y1-Ss for ietf-http-wg@w3.org; Thu, 07 Jun 2012 17:08:06 +0000
Received: by ghy10 with SMTP id 10so600527ghy.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 10:07:38 -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=MB/0HyeO3tFkIl+y9gtdkDo+BHE0fnAZqjzHvkMTb8U=; b=YO0xDJhxFJjK6sg0xya7tKwA7AFWABhksGdn6KeJfER3iCbTwilEc3okjoe0t5UHnm opYQRxBcRQBf9raurSsl+J+Icolxyr4cM13600BUMUGx8VYKYM7z4K+NOEEy9Dyo7Uhm yBSWPngCa6IalNy8fyj8073PnozYIkXD1ko8e83T7tjk5eKA4E+AY9NAYZchLf3hTct7 mxvOm/1DoiHm3fx8Y0DL/X0aN2ryUDUOuIEHvvM+G5jl4wYQG3xDCP4LPcBTeYApOkkm 3pNeLhEt1jrTq0lft2vUfZlKBcZxQ1rhsoG1WVcljwqFVRARtn5LIk5hhfzo7cVPW5py ixgg==
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=MB/0HyeO3tFkIl+y9gtdkDo+BHE0fnAZqjzHvkMTb8U=; b=UhXp8hJE+2pAh2ZErcZVA7itl47W9XR2gV06PTbrWpbucoiRDbJvw9b012B7OpqQkA PY2vU9cl7tmK+z54tCpuXkv/7XHAiWpUTz072/g7T/DZh65PQpgrQoaKxDWfD2gHTtgE hBFsi9NY4ZgkyvZ0eJNinctT5yu+EBGW9Ixn2H36P42Lo9QQ2d9ZjR9jM/WYSN4mmKEI aZT8/FdCtdDcReSJXCcGDLLgb6FJ2Nda2/eZj1pwlJGfrwuTW3NK6RF27bhbmRunpoBG Tu9ZESEeacfoU4do2iT6eaPwap/QbGfGAvPbgUwpS66PRyytangvzPYi8ig6tuRpMT4D /9bw==
Received: by 10.50.51.226 with SMTP id n2mr1685085igo.3.1339088848715; Thu, 07 Jun 2012 10:07:28 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.51.226 with SMTP id n2mr1685065igo.3.1339088848518; Thu, 07 Jun 2012 10:07:28 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.231.24.198 with HTTP; Thu, 7 Jun 2012 10:07:28 -0700 (PDT)
In-Reply-To: <CABkgnnWuB-h0rBOTnuS2abFhiTtkHi0zcDM=gtVc9K7_OS8e2A@mail.gmail.com>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com> <CAA4WUYiRUU7eq8RUbiCp2DjCa25jp8K6iBouFDxvyCbLyan_4w@mail.gmail.com> <CABkgnnWuB-h0rBOTnuS2abFhiTtkHi0zcDM=gtVc9K7_OS8e2A@mail.gmail.com>
Date: Thu, 7 Jun 2012 10:07:28 -0700
X-Google-Sender-Auth: 2jJDgAf0xQogrrjFM7VSll22gcY
Message-ID: <CAA4WUYhiKeW03-=0KzAd3=RbPe9F3fSu2FGGCWn+-5eaWxCPxg@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Mike Belshe <mike@belshe.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=14dae9340745237c6104c1e4ebfd
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQnyxSwzKATcaTML+F+Eb9lrl+DFUW6KiMmM4SE2kBx5FhHFh6g+MuixQ3j++5ZRxSkucjqd0yVv8Wov12DUUkzAHpIxxdCLc/p/yhgr54pOV7NH6KxaX75Ab8AOGSv/RE4l+4Wn6pEe3JOdzrpFF5581dWffg==
Received-SPF: pass client-ip=209.85.160.171; envelope-from=willchan@google.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1ScgBo-0004y1-Ss e73abf914c8d5e2f3578183351dd6726
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CAA4WUYhiKeW03-=0KzAd3=RbPe9F3fSu2FGGCWn+-5eaWxCPxg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13641
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScgC2-000231-Dh@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 17:08:18 +0000

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

On Thu, Jun 7, 2012 at 9:54 AM, Martin Thomson <martin.thomson@gmail.com>wr=
ote:

> On 7 June 2012 09:43, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) <willcha=
n@chromium.org> wrote:
> > * Google is working on efforts to seriously deploy SPDY server push on
> our
> > properties. I can't comment further on timeline, but I hope to provide
> data
> > to guide our discussions, so let's not axe it just yet.
> > * To my knowledge, Amazon is using it in their Silk browser. A proxy th=
at
> > uses server push is a fascinating use case, and it'd be cool to get dat=
a
> on
> > that first.
>
> I'm with Mike and Gabriel on this one.
>
> It would be nice if HTTP/2.0 discussions could be scoped to exclude
> discussions on new protocol semantics.  If you feel especially
> attached to the idea of push, then my preference would be to see a new
> draft on it.
>

Can you clarify what you mean by new protocol semantics? Does multiplexing
count as a new protocol semantic? What's your proposed scope?

I understand the desire to split out server push into a separate draft /
extension. If we don't have data to support push, then by all means we
should drop it. The main concern I have is with regards to treating push as
an optional feature / extension. As many of us have stated repeatedly on
this mailing list, many things that are optional simply become unusable in
real, public deployments.


> --Martin
>

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

On Thu, Jun 7, 2012 at 9:54 AM, Martin Thomson <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@gmai=
l.com</a>&gt;</span> wrote:<br><div class=3D"gmail_quote"><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 7 June 2012 09:43, 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; * Google is working on efforts to seriously deploy SPDY server push on=
 our<br>
&gt; properties. I can&#39;t comment further on timeline, but I hope to pro=
vide data<br>
&gt; to guide our discussions, so let&#39;s not axe it just yet.<br>
&gt; * To my knowledge, Amazon is using it in their Silk browser. A proxy t=
hat<br>
&gt; uses server push is a fascinating use case, and it&#39;d be cool to ge=
t data on<br>
&gt; that first.<br>
<br>
</div>I&#39;m with Mike and Gabriel on this one.<br>
<br>
It would be nice if HTTP/2.0 discussions could be scoped to exclude<br>
discussions on new protocol semantics. =C2=A0If you feel especially<br>
attached to the idea of push, then my preference would be to see a new<br>
draft on it.<br></blockquote><div><br></div><div>Can you clarify what you m=
ean by new protocol semantics? Does multiplexing count as a new protocol se=
mantic? What&#39;s your proposed scope?</div><div><br></div><div>I understa=
nd the desire to split out server push into a separate draft / extension. I=
f we don&#39;t have data to support push, then by all means we should drop =
it. The main concern I have is with regards to treating push as an optional=
 feature / extension. As many of us have stated repeatedly on this mailing =
list, many things that are optional simply become unusable in real, public =
deployments.</div>
<div><br></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"><br>
--Martin<br>
</font></span></blockquote></div><br>

--14dae9340745237c6104c1e4ebfd--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 10:14: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 A84BA11E8126 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:14:50 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wR-vOrTu6Mi0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:14:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 326D821F865E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 10:14:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScgHQ-0002c3-R8 for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 17:13:52 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <rbector@yahoo-inc.com>) id 1ScgHG-0002b7-Vk for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 17:13:43 +0000
Received: from mrout2.yahoo.com ([216.145.54.172]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <rbector@yahoo-inc.com>) id 1ScgHD-0005B8-NB for ietf-http-wg@w3.org; Thu, 07 Jun 2012 17:13:41 +0000
Received: from SP2-EX07CAS01.ds.corp.yahoo.com (sp2-ex07cas01.corp.sp2.yahoo.com [98.137.59.37]) by mrout2.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q57HCrOx037266; Thu, 7 Jun 2012 10:12:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1339089174; bh=UGYhePjpNch8dnaSnQM7cnsWY1HhFjH84Gniydk041I=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=SorUji0at0S1KNsXFs5xHcvLL7TuCyoUSqsu5u2YR/RKnT/gcjiVprzo8TQwY9WA2 mdb8UTtATljFenQHdOoKy2Ju4UQK4EOSrsnJlsov5xGgPvPpgyi/jQEeWuqLbVe77K o70wlwjnH5Oi4p9ftNhVFP14VhQOfzsTpnHpVzkk=
Received: from Rajeevs-iMac.local (216.145.48.98) by SP2-EX07CAS01.ds.corp.yahoo.com (98.137.59.4) with Microsoft SMTP Server id 8.3.245.1; Thu, 7 Jun 2012 10:12:53 -0700
Message-ID: <4FD0E114.70500@yahoo-inc.com>
Date: Thu, 7 Jun 2012 12:12:52 -0500
From: Rajeev Bector <rbector@yahoo-inc.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Peter Saint-Andre <stpeter@stpeter.im>
CC: Martin Thomson <martin.thomson@gmail.com>, =?UTF-8?B?IldpbGxpYW0gQ2hh?= =?UTF-8?B?biAo6ZmI5pm65piMKSI=?= <willchan@chromium.org>, Mike Belshe <mike@belshe.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com> <CAA4WUYiRUU7eq8RUbiCp2DjCa25jp8K6iBouFDxvyCbLyan_4w@mail.gmail.com> <CABkgnnWuB-h0rBOTnuS2abFhiTtkHi0zcDM=gtVc9K7_OS8e2A@mail.gmail.com> <4FD0DD47.2010907@stpeter.im>
In-Reply-To: <4FD0DD47.2010907@stpeter.im>
Content-Type: multipart/alternative; boundary="------------050001040505030202020204"
X-Milter-Version: master.31+4-gbc07cd5+
X-CLX-ID: 089174000
Received-SPF: neutral client-ip=216.145.54.172; envelope-from=rbector@yahoo-inc.com; helo=mrout2.yahoo.com
X-W3C-Hub-Spam-Status: No, score=-16.9
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_LOW=-0.7, SPF_NEUTRAL=0.779, USER_IN_DEF_WHITELIST=-15
X-W3C-Scan-Sig: lisa.w3.org 1ScgHD-0005B8-NB 56fa8af7d211932939b229de88a77756
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/4FD0E114.70500@yahoo-inc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13642
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScgHQ-0002c3-R8@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 17:13:52 +0000

--------------050001040505030202020204
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 8bit

Hi

I am Rajeev and I am leading the SPDY investigation @Yahoo (our 
investigations have begun fairly recently so I am still catching up and 
wrapping my head around all things SPDY). Hey - but I have opinions 
already :-).

After my initial analysis of the state of things, I am inclined towards 
William's proposal (as in we should look at alternative ways to 
"flatten" content of main pages and explore other client driven 
approaches and possibly include this as optional extension). For one, 
this keep things simpler by following the client-drives-it-all paradigm.

Push introduces a completely new communication paradigm which needs to 
be thought about in more detail from various points of view (including 
the cost/benefit/complexity trade-offs). Several of the points mentioned 
in this thread (and others on spdy-dev@) seem to be important and seem 
to be a relative state of immaturity to be ready for an HTTP 2.0 level 
proposal (as opposed to many other parts of the SPDY proposal on which 
more detailed thinking seems to have been done).

Question : the claims of upto 60% improvement in latency with SPDY (vs 
plain HTTP) - did those include server push or not ? My guess is not.


Cheers,
Rajeev

On 6/7/12 11:56 AM, Peter Saint-Andre wrote:
> On 6/7/12 10:54 AM, Martin Thomson wrote:
>> On 7 June 2012 09:43, William Chan (é™ˆæ™ºæ˜Œ)<willchan@chromium.org>  wrote:
>>> * Google is working on efforts to seriously deploy SPDY server push on our
>>> properties. I can't comment further on timeline, but I hope to provide data
>>> to guide our discussions, so let's not axe it just yet.
>>> * To my knowledge, Amazon is using it in their Silk browser. A proxy that
>>> uses server push is a fascinating use case, and it'd be cool to get data on
>>> that first.
>> I'm with Mike and Gabriel on this one.
>>
>> It would be nice if HTTP/2.0 discussions could be scoped to exclude
>> discussions on new protocol semantics.  If you feel especially
>> attached to the idea of push, then my preference would be to see a new
>> draft on it.
> +1
>
> /psa
>
>
>
>
>

--------------050001040505030202020204
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">
    <font face="Verdana">Hi<br>
      <br>
      I am Rajeev and I am leading the SPDY investigation @Yahoo (our
      investigations have begun fairly recently so I am still catching
      up and wrapping my head around all things SPDY). Hey - but I have
      opinions already :-).<br>
      <br>
      After my initial analysis of the state of things, I am inclined
      towards William's proposal (as in we should look at alternative
      ways to "flatten" content of main pages and explore other client
      driven approaches and possibly include this as optional
      extension). For one, this keep things simpler by following the
      client-drives-it-all paradigm.<br>
      <br>
      Push introduces a completely new communication paradigm which
      needs to be thought about in more detail from various points of
      view (including the cost/benefit/complexity trade-offs). Several
      of the points mentioned in this thread (and others on spdy-dev@)
      seem to be important and seem to be a relative state of immaturity
      to be ready for an HTTP 2.0 level proposal (as opposed to many
      other parts of the SPDY proposal on which more detailed thinking
      seems to have been done).<br>
      <br>
      Question : the claims of upto 60% improvement in latency with SPDY
      (vs plain HTTP) - did those include server push or not ? My guess
      is not. <br>
      <br>
      <br>
      Cheers,<br>
      Rajeev<br>
    </font><br>
    On 6/7/12 11:56 AM, Peter Saint-Andre wrote:
    <blockquote cite="mid:4FD0DD47.2010907@stpeter.im" type="cite">
      <pre wrap="">On 6/7/12 10:54 AM, Martin Thomson wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 7 June 2012 09:43, William Chan (é™ˆæ™ºæ˜Œ) <a class="moz-txt-link-rfc2396E" href="mailto:willchan@chromium.org">&lt;willchan@chromium.org&gt;</a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">* Google is working on efforts to seriously deploy SPDY server push on our
properties. I can't comment further on timeline, but I hope to provide data
to guide our discussions, so let's not axe it just yet.
* To my knowledge, Amazon is using it in their Silk browser. A proxy that
uses server push is a fascinating use case, and it'd be cool to get data on
that first.
</pre>
        </blockquote>
        <pre wrap="">
I'm with Mike and Gabriel on this one.

It would be nice if HTTP/2.0 discussions could be scoped to exclude
discussions on new protocol semantics.  If you feel especially
attached to the idea of push, then my preference would be to see a new
draft on it.
</pre>
      </blockquote>
      <pre wrap="">
+1

/psa





</pre>
    </blockquote>
  </body>
</html>

--------------050001040505030202020204--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 10:20: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 40C8A21F86D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:20:09 -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=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fNVFvIZhLeb2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:20:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7D3B221F86CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 10:20:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScgN2-00063M-MB for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 17:19:40 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <pmcmanus@mozilla.com>) id 1ScgMy-00062e-8k for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 17:19:36 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1ScgMv-0005NQ-9y for ietf-http-wg@w3.org; Thu, 07 Jun 2012 17:19:34 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id 5AEE810616; Thu,  7 Jun 2012 13:19:31 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id BBF2D10614; Thu,  7 Jun 2012 13:19:27 -0400 (EDT)
Message-ID: <1339089544.3545.105.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: William Chan =?UTF-8?Q?=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>
Cc: Martin Thomson <martin.thomson@gmail.com>, Mike Belshe <mike@belshe.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 07 Jun 2012 13:19:04 -0400
In-Reply-To: <CAA4WUYhiKeW03-=0KzAd3=RbPe9F3fSu2FGGCWn+-5eaWxCPxg@mail.gmail.com>
References:  <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com> <CAA4WUYiRUU7eq8RUbiCp2DjCa25jp8K6iBouFDxvyCbLyan_4w@mail.gmail.com> <CABkgnnWuB-h0rBOTnuS2abFhiTtkHi0zcDM=gtVc9K7_OS8e2A@mail.gmail.com> <CAA4WUYhiKeW03-=0KzAd3=RbPe9F3fSu2FGGCWn+-5eaWxCPxg@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 8bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1ScgMv-0005NQ-9y 5e0d0f2b0abba40cf74e62d651de3b8e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/1339089544.3545.105.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13643
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScgN2-00063M-MB@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 17:19:40 +0000

On Thu, 2012-06-07 at 10:07 -0700, William Chan (é™ˆæ™ºæ˜Œ) wrote:

> 
> I understand the desire to split out server push into a separate
> draft / extension. If we don't have data to support push, then by all
> means we should drop it.

imo it doesn't need to be proven out at the early ID stage. Its totally
fair to take an idea like Push and get some experience with it - and
doing that in the open in a inter-vendor way is better experience (and
that realistically needs an ID). If it harms the implementation rate,
that's a data point right there :)

I'm pessimistic about push mostly because I don't think the upside is
very impressive for it compared to its complexity (especially the
complexity required to address the valid raised concerns). But I'm still
very open minded - and I've got half of a firefox implementation on my
back burner to try and add to the experience-gathering portion of the
process.

Its quite possible that push will create a disincentive to spriting, and
inlining js/css. Doing that would actually have an improved impact on
caching (presuming push can be adapted to caching - which I think it
can), and fine grained resource reuse.. those things have the potential
to be larger net wins for the web than the 1 RTT per page load push
typically yields.


>  The main concern I have is with regards to treating push as an
> optional feature / extension. As many of us have stated repeatedly on
> this mailing list, many things that are optional simply become
> unusable in real, public deployments.
> 
> 
>         
>         --Martin
> 




From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 10:23: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 40D7121F86F1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:23:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.095
X-Spam-Level: 
X-Spam-Status: No, score=-6.095 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, MIME_BASE64_TEXT=1.753, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VB1bnd-PgmlB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:23:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4811521F86EE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 10:23:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScgQq-0006Ka-3N for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 17:23:36 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ido@akamai.com>) id 1ScgQg-0006Je-OI for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 17:23:26 +0000
Received: from prod-mail-xrelay06.akamai.com ([96.6.114.98]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ido@akamai.com>) id 1ScgQd-0005Vr-IP for ietf-http-wg@w3.org; Thu, 07 Jun 2012 17:23:24 +0000
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 183761653E8; Thu,  7 Jun 2012 17:22:58 +0000 (GMT)
Received: from prod-mail-relay04.akamai.com (prod-mail-relay04.akamai.com [172.27.8.27]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 0A7D31653E6; Thu,  7 Jun 2012 17:22:58 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub7.dfw01.corp.akamai.com [172.27.33.73]) by prod-mail-relay04.akamai.com (Postfix) with ESMTP id 0291F47BEC; Thu,  7 Jun 2012 17:22:58 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.240]) by ustx2ex-cashub7.dfw01.corp.akamai.com ([172.27.33.73]) with mapi; Thu, 7 Jun 2012 12:22:57 -0500
From: "Safruti, Ido" <ido@akamai.com>
To: =?gb2312?B?V2lsbGlhbSBDaGFuICizwtbHsv0p?= <willchan@chromium.org>, Martin Thomson <martin.thomson@gmail.com>
CC: Mike Belshe <mike@belshe.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 7 Jun 2012 12:22:55 -0500
Thread-Topic: Some thoughts on server push and client pull
Thread-Index: Ac1E0i5Sc9MHbAWBTbysxQa/BYG3ow==
Message-ID: <CBF6305A.3750F%ido@akamai.com>
In-Reply-To: <CAA4WUYhiKeW03-=0KzAd3=RbPe9F3fSu2FGGCWn+-5eaWxCPxg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.2.120421
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CBF6305A3750Fidoakamaicom_"
MIME-Version: 1.0
Received-SPF: none client-ip=96.6.114.98; envelope-from=ido@akamai.com; helo=prod-mail-xrelay06.akamai.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1ScgQd-0005Vr-IP d9c9e41e43d0044d4bc5b57c20be4047
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CBF6305A.3750F%25ido@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13644
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScgQq-0006Ka-3N@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 17:23:36 +0000

--_000_CBF6305A3750Fidoakamaicom_
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64

SSBiZWxpZXZlIHdlIHNob3VsZCBrZWVwIGl0IG9wZW4gZm9yIG5vdywgYXMgY2xlYXJseSB0aGVy
ZSBpcyBzb21lIHdvcmsgZG9uZSBvbiB0aGF0IGZyb250LCBhbmQgd2Ugc2hvdWxkIHdhaXQgYW5k
IHNlZSBpbml0aWFsIHJlc3VsdHMuDQpXZSBhcmUgYWxzbyBsb29raW5nIGF0IHRoaXMgYXMgYSBw
b3RlbnRpYWwgd2F5IHRvIGVsaW1pbmF0ZSBhIHJvdW5kdHJpcCB3aGljaCBpcyBjdXJyZW50bHkg
cmVxdWlyZWQgaW4gYW55IG90aGVyIHN1Z2dlc3Rpb24gKHdoZXJlIHRoZSBjbGllbnQgaW5pdGlh
dGVzIHRoZSByZXF1ZXN0cykgLSBiZXR3ZWVuIHRoZSBwYWdlIGFuZCB0aGUgZW1iZWRkZWQgcmVz
b3VyY2VzLg0KDQoNCkZyb206ICJXaWxsaWFtIENoYW4gKLPC1sey/SkiIDx3aWxsY2hhbkBjaHJv
bWl1bS5vcmc8bWFpbHRvOndpbGxjaGFuQGNocm9taXVtLm9yZz4+DQpUbzogTWFydGluIFRob21z
b24gPG1hcnRpbi50aG9tc29uQGdtYWlsLmNvbTxtYWlsdG86bWFydGluLnRob21zb25AZ21haWwu
Y29tPj4NCkNjOiBNaWtlIEJlbHNoZSA8bWlrZUBiZWxzaGUuY29tPG1haWx0bzptaWtlQGJlbHNo
ZS5jb20+PiwgR2FicmllbCBNb250ZW5lZ3JvIDxHYWJyaWVsLk1vbnRlbmVncm9AbWljcm9zb2Z0
LmNvbTxtYWlsdG86R2FicmllbC5Nb250ZW5lZ3JvQG1pY3Jvc29mdC5jb20+PiwgImlldGYtaHR0
cC13Z0B3My5vcmc8bWFpbHRvOmlldGYtaHR0cC13Z0B3My5vcmc+IiA8aWV0Zi1odHRwLXdnQHcz
Lm9yZzxtYWlsdG86aWV0Zi1odHRwLXdnQHczLm9yZz4+DQpTdWJqZWN0OiBSZTogU29tZSB0aG91
Z2h0cyBvbiBzZXJ2ZXIgcHVzaCBhbmQgY2xpZW50IHB1bGwNCg0KT24gVGh1LCBKdW4gNywgMjAx
MiBhdCA5OjU0IEFNLCBNYXJ0aW4gVGhvbXNvbiA8bWFydGluLnRob21zb25AZ21haWwuY29tPG1h
aWx0bzptYXJ0aW4udGhvbXNvbkBnbWFpbC5jb20+PiB3cm90ZToNCk9uIDcgSnVuZSAyMDEyIDA5
OjQzLCBXaWxsaWFtIENoYW4gKLPC1sey/SkgPHdpbGxjaGFuQGNocm9taXVtLm9yZzxtYWlsdG86
d2lsbGNoYW5AY2hyb21pdW0ub3JnPj4gd3JvdGU6DQo+ICogR29vZ2xlIGlzIHdvcmtpbmcgb24g
ZWZmb3J0cyB0byBzZXJpb3VzbHkgZGVwbG95IFNQRFkgc2VydmVyIHB1c2ggb24gb3VyDQo+IHBy
b3BlcnRpZXMuIEkgY2FuJ3QgY29tbWVudCBmdXJ0aGVyIG9uIHRpbWVsaW5lLCBidXQgSSBob3Bl
IHRvIHByb3ZpZGUgZGF0YQ0KPiB0byBndWlkZSBvdXIgZGlzY3Vzc2lvbnMsIHNvIGxldCdzIG5v
dCBheGUgaXQganVzdCB5ZXQuDQo+ICogVG8gbXkga25vd2xlZGdlLCBBbWF6b24gaXMgdXNpbmcg
aXQgaW4gdGhlaXIgU2lsayBicm93c2VyLiBBIHByb3h5IHRoYXQNCj4gdXNlcyBzZXJ2ZXIgcHVz
aCBpcyBhIGZhc2NpbmF0aW5nIHVzZSBjYXNlLCBhbmQgaXQnZCBiZSBjb29sIHRvIGdldCBkYXRh
IG9uDQo+IHRoYXQgZmlyc3QuDQoNCkknbSB3aXRoIE1pa2UgYW5kIEdhYnJpZWwgb24gdGhpcyBv
bmUuDQoNCkl0IHdvdWxkIGJlIG5pY2UgaWYgSFRUUC8yLjAgZGlzY3Vzc2lvbnMgY291bGQgYmUg
c2NvcGVkIHRvIGV4Y2x1ZGUNCmRpc2N1c3Npb25zIG9uIG5ldyBwcm90b2NvbCBzZW1hbnRpY3Mu
ICBJZiB5b3UgZmVlbCBlc3BlY2lhbGx5DQphdHRhY2hlZCB0byB0aGUgaWRlYSBvZiBwdXNoLCB0
aGVuIG15IHByZWZlcmVuY2Ugd291bGQgYmUgdG8gc2VlIGEgbmV3DQpkcmFmdCBvbiBpdC4NCg0K
Q2FuIHlvdSBjbGFyaWZ5IHdoYXQgeW91IG1lYW4gYnkgbmV3IHByb3RvY29sIHNlbWFudGljcz8g
RG9lcyBtdWx0aXBsZXhpbmcgY291bnQgYXMgYSBuZXcgcHJvdG9jb2wgc2VtYW50aWM/IFdoYXQn
cyB5b3VyIHByb3Bvc2VkIHNjb3BlPw0KDQpJIHVuZGVyc3RhbmQgdGhlIGRlc2lyZSB0byBzcGxp
dCBvdXQgc2VydmVyIHB1c2ggaW50byBhIHNlcGFyYXRlIGRyYWZ0IC8gZXh0ZW5zaW9uLiBJZiB3
ZSBkb24ndCBoYXZlIGRhdGEgdG8gc3VwcG9ydCBwdXNoLCB0aGVuIGJ5IGFsbCBtZWFucyB3ZSBz
aG91bGQgZHJvcCBpdC4gVGhlIG1haW4gY29uY2VybiBJIGhhdmUgaXMgd2l0aCByZWdhcmRzIHRv
IHRyZWF0aW5nIHB1c2ggYXMgYW4gb3B0aW9uYWwgZmVhdHVyZSAvIGV4dGVuc2lvbi4gQXMgbWFu
eSBvZiB1cyBoYXZlIHN0YXRlZCByZXBlYXRlZGx5IG9uIHRoaXMgbWFpbGluZyBsaXN0LCBtYW55
IHRoaW5ncyB0aGF0IGFyZSBvcHRpb25hbCBzaW1wbHkgYmVjb21lIHVudXNhYmxlIGluIHJlYWws
IHB1YmxpYyBkZXBsb3ltZW50cy4NCg0KDQotLU1hcnRpbg0KDQo=

--_000_CBF6305A3750Fidoakamaicom_
Content-Type: text/html; charset="gb2312"
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; color: rgb(0, 0, 0); font-si=
ze: 14px; font-family: Calibri, sans-serif; "><div>I believe we should keep=
 it open for now, as clearly there is some work done on that front, and we =
should wait and see initial results.</div><div>We are also looking at this =
as a potential way to eliminate a roundtrip which is currently required in =
any other suggestion (where the client initiates the requests) - between th=
e page and the embedded resources.</div><div>&nbsp;</div><div><br></div><sp=
an id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-size=
:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEF=
T: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in;=
 BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt=
"><span style=3D"font-weight:bold">From: </span> "William Chan   (=B3=C2=D6=
=C7=B2=FD)" &lt;<a href=3D"mailto:willchan@chromium.org">willchan@chromium.=
org</a>&gt;<br><span style=3D"font-weight:bold">To: </span> Martin Thomson =
&lt;<a href=3D"mailto:martin.thomson@gmail.com">martin.thomson@gmail.com</a=
>&gt;<br><span style=3D"font-weight:bold">Cc: </span> Mike Belshe &lt;<a hr=
ef=3D"mailto:mike@belshe.com">mike@belshe.com</a>&gt;, Gabriel Montenegro &=
lt;<a href=3D"mailto:Gabriel.Montenegro@microsoft.com">Gabriel.Montenegro@m=
icrosoft.com</a>&gt;, "<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@=
w3.org</a>" &lt;<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org<=
/a>&gt;<br><span style=3D"font-weight:bold">Subject: </span> Re: Some thoug=
hts on server push and client pull<br></div><div><br></div>On Thu, Jun 7, 2=
012 at 9:54 AM, Martin Thomson <span dir=3D"ltr">&lt;<a href=3D"mailto:mart=
in.thomson@gmail.com" target=3D"_blank">martin.thomson@gmail.com</a>&gt;</s=
pan> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><d=
iv class=3D"im">On 7 June 2012 09:43, William Chan (=B3=C2=D6=C7=B2=FD) &lt=
;<a href=3D"mailto:willchan@chromium.org">willchan@chromium.org</a>&gt; wro=
te:<br>
&gt; * Google is working on efforts to seriously deploy SPDY server push on=
 our<br>
&gt; properties. I can't comment further on timeline, but I hope to provide=
 data<br>
&gt; to guide our discussions, so let's not axe it just yet.<br>
&gt; * To my knowledge, Amazon is using it in their Silk browser. A proxy t=
hat<br>
&gt; uses server push is a fascinating use case, and it'd be cool to get da=
ta on<br>
&gt; that first.<br><br></div>I'm with Mike and Gabriel on this one.<br><br=
>
It would be nice if HTTP/2.0 discussions could be scoped to exclude<br>
discussions on new protocol semantics. &nbsp;If you feel especially<br>
attached to the idea of push, then my preference would be to see a new<br>
draft on it.<br></blockquote><div><br></div><div>Can you clarify what you m=
ean by new protocol semantics? Does multiplexing count as a new protocol se=
mantic? What's your proposed scope?</div><div><br></div><div>I understand t=
he desire to split out server push into a separate draft / extension. If we=
 don't have data to support push, then by all means we should drop it. The =
main concern I have is with regards to treating push as an optional feature=
 / extension. As many of us have stated repeatedly on this mailing list, ma=
ny things that are optional simply become unusable in real, public deployme=
nts.</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"HOEn=
Zb"><font color=3D"#888888"><br>
--Martin<br></font></span></blockquote></div><br></span></body></html>

--_000_CBF6305A3750Fidoakamaicom_--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 10:45: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 699DC11E8134 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:45:58 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u9v12EVIk30k for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:45:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D904411E812E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 10:45:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScgkR-00023M-Ep for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 17:43:51 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alek.storm@gmail.com>) id 1ScgkH-00022V-Dx for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 17:43:41 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <alek.storm@gmail.com>) id 1ScgkC-0006T5-Jj for ietf-http-wg@w3.org; Thu, 07 Jun 2012 17:43:39 +0000
Received: by lahg1 with SMTP id g1so658539lah.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 10:43: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:date:message-id:subject:from:to :cc:content-type; bh=V/uJe6UTK935ttqPb+J103M5LdxRCocNsLY4oIV9mJQ=; b=c593vBtV3Q5rYllfK8Pv1SXgxiH+bD4JpkokaUth2to9f+2hh7cEaq/duHcLXvns1+ zVkIlMZACHlzTKtAyBpqp7YpZPGTnEnsOVYjC1mb3NRUXUgj0/PLwDIPqGmKHMg6Godk vEWo0W8J7DEE5XqIh5s349GUb4Inphj/0vcXx+1jZinzYgAuXNIX8z7HWk+ZYdiFFmvK f4ypptmIoI4CenoDENSQTzKbl/4dPP3ihZnE6uo46M5U3fZWu4o+aZja7PSobLUAyoIC xtE75p0GWcPQ2fZWJn+H0jKPJV1uzSPZ8YfY41SNclpnjkznlgL2eDJNYame9Mo5EQg/ IfEA==
MIME-Version: 1.0
Received: by 10.152.103.109 with SMTP id fv13mr3518015lab.33.1339090989290; Thu, 07 Jun 2012 10:43:09 -0700 (PDT)
Received: by 10.112.113.166 with HTTP; Thu, 7 Jun 2012 10:43:09 -0700 (PDT)
In-Reply-To: <op.wfjd0s2diw9drz@riaa>
References: <op.wfjd0s2diw9drz@riaa>
Date: Thu, 7 Jun 2012 12:43:09 -0500
Message-ID: <CAMNEcwtPpz9ZFGqAwpNPn8gVEoEh=v2TWpdXnoU_8yjDee93aA@mail.gmail.com>
From: Alek Storm <alek.storm@gmail.com>
To: Martin Nilsson <nilsson@opera.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d040890c7bd157d04c1e56a49
Received-SPF: pass client-ip=209.85.215.43; envelope-from=alek.storm@gmail.com; helo=mail-lpp01m010-f43.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 1ScgkC-0006T5-Jj f0cc4d695f88802cf9027b117b6d2f06
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/CAMNEcwtPpz9ZFGqAwpNPn8gVEoEh=v2TWpdXnoU_8yjDee93aA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13645
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScgkR-00023M-Ep@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 17:43:51 +0000

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

On Thu, Jun 7, 2012 at 9:18 AM, Martin Nilsson <nilsson@opera.com> wrote:

> <snip>
> 4.1. Handshake
>
>  We believe the versioning semantics needs to be better formalized,
>  and that the version information can be moved into a connection
>  handshake. In its simplest form a SETTINGS frame is always sent
>  first in the connection, establishing the version and connection
>  parameters. A connection should be rejected if the version is out of
>  range for the server. The server should respond with the highest
>  supported protocol version before closing.
>

SETTINGS frames are always optional, so we can't rely on them for
discovering unsupported versions. However, I agree that the "version" field
should only appear in SYN_STREAM frames, as the spec specifically states it
should be ignored in all others.

4.2. Field sizes
>
>  Define a reasonable range for each field, based on statistics where
>  possible, and resize them where appropriate.
>

Agreed.

4.3. Specialized HTTP frames
>
>  For the common case of using SPDY as an HTTP substitute, create
>  special frames to open HTTP request-response and HTTP push
>  streams. This removes the need for explicit unidirectional flag and
>  mandatory header values.
>

The UNIDIRECTIONAL flag is set to be removed in spdy/4. Elsewhere, you
advocate moving information specific to request-response and pushed streams
to the headers section, which appears to conflict with this proposal.

4.4. Typed key-value pairs
>
>  Create a better structure for the key-value pair lists where it is
>  possible to have binary values and typed values. The types can
>  include binary string, integer and list. Standardize how all
>  standard HTTP headers should be normalized and typed, including
>  which ones are disallowed to be in lists of multiple values.
>

This sounds like a can of worms. Depending on the serialization format you
look at, there's already a zoo of possible "types" to encode data as - and
what if you want something outside the norm, like JSON? The only problem
you raised with the current encoding is that binary data would have to be
escaped; this looks like overkill.

 Introduce a mechanism that allows headers to be properties of the
>  stream, to be used internally in SPDY, and move optional parameters
>  and parameters that seldom deviate from default value to use
>  internal headers (e.g. priority, slot, associate-to-stream-id). This
>  also provides a mechanism for easy extension.
>

I'll admit, the criteria for choosing which parameters become headers and
which become binary fields has always been a bit murky. It appears to
depend on whether the parameter is framing-specific, and whether it's
variable-length. I agree that this needs more discussion.

4.5. Push
>
>  The client needs to be in control of what pushed data to accept. A
>  simple accept flag may be too simplisitc, as it prevents tricks like
>  redirect collapsing, but would be an improvement nevertheless.
>

The client can already RST_STREAM+CANCEL unwanted pushed streams (and may
do so selectively after reading their :scheme/:host/:uri headers). More
fine-grained control is the domain of cache directives.

4.6. Flow control
>
>  Remove the SPDY flow control and instead introduce a control
>  mechanism to actively put a stream on hold. If priority is moved to
>  stream properties, as suggested in 3.4., dynamic reprioritization is
>  possible.
>

We've been discussing possible changes to the flow control mechanism on
spdy-dev, and this idea for a txon/txoff signal did come up. Although some
still support it, others (including myself) have pointed out that it
requires receivers to buffer at least a BDP's worth of data for each
stream. For endpoints sitting on high-bandwidth pipes that handle large
numbers of concurrent requests (like gateways or non-blocking servers),
this is logistically impossible.

4.7. Header compression
>
>  Remove the header compression dictionary. It creates little benefit
>  for the added complexity it introduces.
>

This paper (http://www.eecis.udel.edu/~amer/PEL/poc/pdf/SPDY-Fan.pdf)
claims 8% size reduction of the request header and an additional 15%
reduction of the reply header. Giving more detail on the benchmarks you
cited earlier would help us evaluate the differing results.

4.8. Asynchronous headers
>
>  Specify the asynchronous header feature stricter so that overwriting
>  HTTP headers isn't allowed and the receiver knows in advance what
>  headers will be generated later.


Sending duplicate headers, whether within the same SYN_REPLY/HEADERS frame
or across HEADERS frames, is already explicitly disallowed, though perhaps
the language could be moved to a more prominent place in the specification.

Alek

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

On Thu, Jun 7, 2012 at 9:18 AM, Martin Nilsson <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:nilsson@opera.com" target=3D"_blank">nilsson@opera.com</a>&gt;<=
/span> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
&lt;snip&gt;<br>
4.1. Handshake<br>
<br>
 =A0We believe the versioning semantics needs to be better formalized,<br>
 =A0and that the version information can be moved into a connection<br>
 =A0handshake. In its simplest form a SETTINGS frame is always sent<br>
 =A0first in the connection, establishing the version and connection<br>
 =A0parameters. A connection should be rejected if the version is out of<br=
>
 =A0range for the server. The server should respond with the highest<br>
 =A0supported protocol version before closing.<br></blockquote><div><br></d=
iv><div>SETTINGS frames are always optional, so we can&#39;t rely on them f=
or discovering unsupported versions. However, I agree that the &quot;versio=
n&quot; field should only appear in SYN_STREAM frames, as the spec specific=
ally states it should be ignored in all others.</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">4.2. Field sizes<br>
<br>
 =A0Define a reasonable range for each field, based on statistics where<br>
 =A0possible, and resize them where appropriate.<br></blockquote><div><br><=
/div><div>Agreed.</div><div><br></div><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">4.3. S=
pecialized HTTP frames<br>

<br>
 =A0For the common case of using SPDY as an HTTP substitute, create<br>
 =A0special frames to open HTTP request-response and HTTP push<br>
 =A0streams. This removes the need for explicit unidirectional flag and<br>
 =A0mandatory header values.<br></blockquote><div><br></div><div>The UNIDIR=
ECTIONAL flag is set to be removed in spdy/4. Elsewhere, you advocate movin=
g information specific to request-response and pushed streams to the header=
s section, which appears to conflict with this proposal.</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">4.4. Typed key-value pairs<br=
>
<br>
 =A0Create a better structure for the key-value pair lists where it is<br>
 =A0possible to have binary values and typed values. The types can<br>
 =A0include binary string, integer and list. Standardize how all<br>
 =A0standard HTTP headers should be normalized and typed, including<br>
 =A0which ones are disallowed to be in lists of multiple values.<br></block=
quote><div><br></div><div>This sounds like a can of worms. Depending on the=
 serialization format you look at, there&#39;s already a zoo of possible &q=
uot;types&quot; to encode data as - and what if you want something outside =
the norm, like JSON? The only problem you raised with the current encoding =
is that binary data would have to be escaped; this looks like overkill.</di=
v>

<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">=A0Introduce a mechanism that=
 allows headers to be properties of the<br>
 =A0stream, to be used internally in SPDY, and move optional parameters<br>
 =A0and parameters that seldom deviate from default value to use<br>
 =A0internal headers (e.g. priority, slot, associate-to-stream-id). This<br=
>
 =A0also provides a mechanism for easy extension.<br></blockquote><div><br>=
</div><div>I&#39;ll admit, the criteria for choosing which parameters becom=
e headers and which become binary fields has always been a bit murky. It ap=
pears to depend on whether the parameter is framing-specific, and whether i=
t&#39;s variable-length. I agree that this needs more discussion.</div>

<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">4.5. Push<br>
<br>
 =A0The client needs to be in control of what pushed data to accept. A<br>
 =A0simple accept flag may be too simplisitc, as it prevents tricks like<br=
>
 =A0redirect collapsing, but would be an improvement nevertheless.<br></blo=
ckquote><div><br></div><div>The client can already RST_STREAM+CANCEL unwant=
ed pushed streams (and may do so selectively after reading their :scheme/:h=
ost/:uri headers). More fine-grained control is the domain of cache directi=
ves.</div>


<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
4.6. Flow control<br>
<br>
 =A0Remove the SPDY flow control and instead introduce a control<br>
 =A0mechanism to actively put a stream on hold. If priority is moved to<br>
 =A0stream properties, as suggested in 3.4., dynamic reprioritization is<br=
>
 =A0possible.<br></blockquote><div><br></div><div>We&#39;ve been discussing=
 possible changes to the flow control mechanism on spdy-dev, and this idea =
for a txon/txoff signal did come up. Although some still support it, others=
 (including myself) have pointed out that it requires receivers to buffer a=
t least a BDP&#39;s worth of data for each stream. For endpoints sitting on=
 high-bandwidth pipes that handle large numbers of concurrent requests (lik=
e gateways or non-blocking servers), this is logistically impossible.</div>




<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">
4.7. Header compression<br>
<br>
 =A0Remove the header compression dictionary. It creates little benefit<br>
 =A0for the added complexity it introduces.<br></blockquote><div><br></div>=
<div>This paper (<a href=3D"http://www.eecis.udel.edu/~amer/PEL/poc/pdf/SPD=
Y-Fan.pdf">http://www.eecis.udel.edu/~amer/PEL/poc/pdf/SPDY-Fan.pdf</a>) cl=
aims 8% size reduction of the request header and an additional 15% reductio=
n of the reply header. Giving more detail on the benchmarks you cited earli=
er would help us evaluate the differing results.</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex">4.8. Asynchronous headers<br>
<br>
 =A0Specify the asynchronous header feature stricter so that overwriting<br=
>
 =A0HTTP headers isn&#39;t allowed and the receiver knows in advance what<b=
r>
 =A0headers will be generated later.</blockquote><div><br></div><div>Sendin=
g duplicate headers, whether within the same SYN_REPLY/HEADERS frame or acr=
oss HEADERS frames, is already explicitly disallowed, though perhaps the la=
nguage could be moved to a more prominent place in the specification.</div>



<div><br></div><div>Alek</div></div>

--f46d040890c7bd157d04c1e56a49--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 10:51: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 B645C11E812E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:51:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.596
X-Spam-Level: 
X-Spam-Status: No, score=-8.596 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, TRACKER_ID=2.003]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PnP2Y4YrF1wS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:51:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 25AF511E8137 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 10:51:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scgqx-0005Wq-An for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 17:50:35 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <wrowe@rowe-clan.net>) id 1Scgqn-0005VK-Rx for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 17:50:25 +0000
Received: from m1plsmtpa01-03.prod.mesa1.secureserver.net ([64.202.165.4]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <wrowe@rowe-clan.net>) id 1Scgqk-0006xD-ME for ietf-http-wg@w3.org; Thu, 07 Jun 2012 17:50:23 +0000
Received: from [192.168.1.80] ([76.252.112.72]) by m1plsmtpa01-03.prod.mesa1.secureserver.net with  id KVpv1j00G1Zmh9Y01VpwGN; Thu, 07 Jun 2012 10:49:56 -0700
Message-ID: <4FD0E9D7.4020104@rowe-clan.net>
Date: Thu, 07 Jun 2012 12:50:15 -0500
From: "William A. Rowe Jr." <wrowe@rowe-clan.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Julian Reschke <julian.reschke@gmx.de>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=64.202.165.4; envelope-from=wrowe@rowe-clan.net; helo=m1plsmtpa01-03.prod.mesa1.secureserver.net
X-W3C-Hub-Spam-Status: No, score=-0.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, TRACKER_ID=1.306
X-W3C-Scan-Sig: maggie.w3.org 1Scgqk-0006xD-ME 661e6ab0b86cfc2e6dc020f23b35e6fc
X-Original-To: ietf-http-wg@w3.org
Subject: httpbis-method-registrations
Archived-At: <http://www.w3.org/mid/4FD0E9D7.4020104@rowe-clan.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13646
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scgqx-0005Wq-An@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 17:50:35 +0000

Reviewing http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-07
I noted that the Appendix A is missing the normative list of RFC-2616 original
methods.  These are certainly in-scope, per the Introduction, no?

Seems most odd to me, can this be addressed if there is a push for -08?

Yours,

Bill


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 10:54: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 675C811E812E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:54:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.073
X-Spam-Level: 
X-Spam-Status: No, score=-8.073 tagged_above=-999 required=5 tests=[AWL=2.526, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NbQBRSFjW5+2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 10:54:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C9B4611E811C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 10:54:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScguJ-0005h1-CU for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 17:54:03 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Scgu9-0005fi-Px for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 17:53:53 +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 1Scgu6-00079H-Sn for ietf-http-wg@w3.org; Thu, 07 Jun 2012 17:53:52 +0000
Received: (qmail invoked by alias); 07 Jun 2012 17:53:24 -0000
Received: from p5DD972CB.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.114.203] by mail.gmx.net (mp002) with SMTP; 07 Jun 2012 19:53:24 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19CRF1eg7JCDAxCFOzskBbSmCRmnegm6uBf8EObz8 AtINwMyjFwn3MT
Message-ID: <4FD0EA78.9080006@gmx.de>
Date: Thu, 07 Jun 2012 19:52:56 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: "William A. Rowe Jr." <wrowe@rowe-clan.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD0E9D7.4020104@rowe-clan.net>
In-Reply-To: <4FD0E9D7.4020104@rowe-clan.net>
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=-1.9
X-W3C-Hub-Spam-Report: 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 1Scgu6-00079H-Sn bec445adf7ec13366a091b610c546ba9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: httpbis-method-registrations
Archived-At: <http://www.w3.org/mid/4FD0EA78.9080006@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13647
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScguJ-0005h1-CU@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 17:54:03 +0000

On 2012-06-07 19:50, William A. Rowe Jr. wrote:
> Reviewing http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-07
> I noted that the Appendix A is missing the normative list of RFC-2616 original
> methods.  These are certainly in-scope, per the Introduction, no?
> ...

Those will be registered through 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-19.html#method.registration>; 
this draft is only for the non-base ones...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 11: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 52D3021F8887 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 11:12:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.598
X-Spam-Level: 
X-Spam-Status: No, score=-9.598 tagged_above=-999 required=5 tests=[AWL=1.002, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nVHlQehSohas for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 11:12:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9C5BA21F8882 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 11:12:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SchBH-0000J8-3v for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 18:11:35 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <wrowe@rowe-clan.net>) id 1SchB7-0000HC-N4 for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 18:11:25 +0000
Received: from smtpauth13.prod.mesa1.secureserver.net ([64.202.165.37]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <wrowe@rowe-clan.net>) id 1SchB4-0007z9-AN for ietf-http-wg@w3.org; Thu, 07 Jun 2012 18:11:23 +0000
Received: (qmail 29891 invoked from network); 7 Jun 2012 18:10:56 -0000
Received: from unknown (76.252.112.72) by smtpauth13.prod.mesa1.secureserver.net (64.202.165.37) with ESMTP; 07 Jun 2012 18:10:54 -0000
Message-ID: <4FD0EEC1.4050005@rowe-clan.net>
Date: Thu, 07 Jun 2012 13:11:13 -0500
From: "William A. Rowe Jr." <wrowe@rowe-clan.net>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org, Julian Reschke <julian.reschke@gmx.de>
References: <4FD0E9D7.4020104@rowe-clan.net> <4FD0EA78.9080006@gmx.de>
In-Reply-To: <4FD0EA78.9080006@gmx.de>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=64.202.165.37; envelope-from=wrowe@rowe-clan.net; helo=smtpauth13.prod.mesa1.secureserver.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SchB4-0007z9-AN 694f7fb3e2bccf327130e3233202e7f2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: httpbis-method-registrations
Archived-At: <http://www.w3.org/mid/4FD0EEC1.4050005@rowe-clan.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13648
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SchBH-0000J8-3v@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 18:11:35 +0000

On 6/7/2012 12:52 PM, Julian Reschke wrote:
> On 2012-06-07 19:50, William A. Rowe Jr. wrote:
>> Reviewing http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-07
>> I noted that the Appendix A is missing the normative list of RFC-2616 original
>> methods.  These are certainly in-scope, per the Introduction, no?
>> ...
> 
> Those will be registered through
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-19.html#method.registration>;
> this draft is only for the non-base ones...

Understood.  The introduction states;

1. Introduction

   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.

Clearly the original RFC 2616 methods conform to that statement; can this
please be clarified in the introduction?


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 12:09: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 5407621F8731 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 12:09:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.199
X-Spam-Level: 
X-Spam-Status: No, score=-8.199 tagged_above=-999 required=5 tests=[AWL=2.400, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LdQul6Ro3ibG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 12:09:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 95C7421F872E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 12:09:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sci4E-0004As-7G for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 19:08:22 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sci41-00048M-Dz for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 19:08:09 +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 1Sci3y-0001yF-BH for ietf-http-wg@w3.org; Thu, 07 Jun 2012 19:08:07 +0000
Received: (qmail invoked by alias); 07 Jun 2012 19:07:39 -0000
Received: from p5DD972CB.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.114.203] by mail.gmx.net (mp024) with SMTP; 07 Jun 2012 21:07:39 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19h+Dt+VqRhGJSNsXokpvmSOsQ+yrloj517VzQmS1 IQ/7u5TEJwnI7r
Message-ID: <4FD0FBD6.10000@gmx.de>
Date: Thu, 07 Jun 2012 21:07:02 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: "William A. Rowe Jr." <wrowe@rowe-clan.net>
CC: ietf-http-wg@w3.org
References: <4FD0E9D7.4020104@rowe-clan.net> <4FD0EA78.9080006@gmx.de> <4FD0EEC1.4050005@rowe-clan.net>
In-Reply-To: <4FD0EEC1.4050005@rowe-clan.net>
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=-1.9
X-W3C-Hub-Spam-Report: 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 1Sci3y-0001yF-BH 9fe97eff4e2cc9b1ec705d40825cd35b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: httpbis-method-registrations
Archived-At: <http://www.w3.org/mid/4FD0FBD6.10000@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13649
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sci4E-0004As-7G@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 19:08:22 +0000

On 2012-06-07 20:11, William A. Rowe Jr. wrote:
> On 6/7/2012 12:52 PM, Julian Reschke wrote:
>> On 2012-06-07 19:50, William A. Rowe Jr. wrote:
>>> Reviewing http://tools.ietf.org/html/draft-ietf-httpbis-method-registrations-07
>>> I noted that the Appendix A is missing the normative list of RFC-2616 original
>>> methods.  These are certainly in-scope, per the Introduction, no?
>>> ...
>>
>> Those will be registered through
>> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-19.html#method.registration>;
>> this draft is only for the non-base ones...
>
> Understood.  The introduction states;
>
> 1. Introduction
>
>     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.
>
> Clearly the original RFC 2616 methods conform to that statement; can this
> please be clarified in the introduction?

Fixed by adding "...other than [draft-ietf-httpbis-p2-semantics] ...".

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 12:11: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 9ED1411E809D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 12:11:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.526
X-Spam-Level: 
X-Spam-Status: No, score=-9.526 tagged_above=-999 required=5 tests=[AWL=-0.150, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8, SARE_WEOFFER=0.3]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L95S+vSV2GYf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 12:11:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9050011E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 12:11:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sci6y-0004aM-W2 for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 19:11:13 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <willchan@google.com>) id 1Sci6m-0004WZ-O7 for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 19:11:00 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1Sci6g-000259-2u for ietf-http-wg@w3.org; Thu, 07 Jun 2012 19:10:58 +0000
Received: by yenq11 with SMTP id q11so715323yen.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 12:10:28 -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=9ExBCFytNrf+ojjMuWOat7mPlfD2UabcbuR3MfCLfck=; b=na24TrV6fHbwxub6yfF8ZgPOrGJfThk2yd9BOu+2OOD076CtAqjuql4Cwzcw/9orEf R+PBFfvSG8Klw00jMxRuyX2DHhAinCrFOLYtKg0I0ycptWO6tj3M1QlvBvdztuj5+sx0 HyJnv6EEbJ+s0C/GYpL0ErIzuKncpOKwlyxZm0G8cnrve+gW4GMOv1O9d7ksYUrTZxpj 3c9FYjoWlpabcl98p9d93bPLvzA+hfPQ13Voch5ZvM8wM8mVbYVzWKOqceBT2uH37yiY xXCzyFoSYgt5AdIwQBhZU1ASM5PsgV0G2339crNfsTI3b+j8qyqsVTWMVDuZ53slI9Ql Qung==
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=9ExBCFytNrf+ojjMuWOat7mPlfD2UabcbuR3MfCLfck=; b=K3UuXGpu+e7hpNwhJeQWlImDM76JczXVJiD0iSh9MaB0vWKiYnJ9oWeVorkrIYFm5G XUrPwqDwLr+61d2HzWTtuGhr7eJMMXLw5sBWO3jE+RMPvj2G/lfP+15OyplOR0GG0pig nPB7GA2Z3ubXkzKgw12lPvpaX9OfDFGxO2KJ5GtxvgMf5g4e69PtP8OiyWVYtgSt3iNr 9mU0Caz2XB9dmI/aBd1kjIZjojvBb6hHv0LHOhOU+vgcTN3kFzOdpCQy1HUux/3xvYR0 s498QRrWgaaiR1/Y6NHDULQH+qNjRtZ5xHBsWz7i8a+CtNh3OZLEWN85SKg/H3+G1WgC wdPA==
Received: by 10.42.210.193 with SMTP id gl1mr2363387icb.57.1339096227977; Thu, 07 Jun 2012 12:10:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.42.210.193 with SMTP id gl1mr2363377icb.57.1339096227738; Thu, 07 Jun 2012 12:10:27 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.231.24.198 with HTTP; Thu, 7 Jun 2012 12:10:27 -0700 (PDT)
In-Reply-To: <op.wfjd0s2diw9drz@riaa>
References: <op.wfjd0s2diw9drz@riaa>
Date: Thu, 7 Jun 2012 12:10:27 -0700
X-Google-Sender-Auth: MKm7A3qabPyTUET6f5uuQ2nCoYk
Message-ID: <CAA4WUYjCqCxRvxhHMrNxgrVPwPGD9F5jqLT+7Td21CEadQtMQA@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Martin Nilsson <nilsson@opera.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=20cf301cc4eef974fa04c1e6a273
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQl9SO+gx3PBugRGFoGUT+WnhhFeEvRm+ghEReoS7XqEGB4GJGX8GVB5ZhMhwvdkDnMQO7wY7RIiuccp/6tziB2ICxxM6Vh31XAncYJ+J1ySlNS/1kxDEztSMOFc+GiNLVO89zpv1rYUsGeQG1Cz53c+2NTM/g==
Received-SPF: pass client-ip=209.85.213.171; envelope-from=willchan@google.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sci6g-000259-2u c71e5ec970a48ef79e32d8db5df9c347
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/CAA4WUYjCqCxRvxhHMrNxgrVPwPGD9F5jqLT+7Td21CEadQtMQA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13650
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sci6y-0004aM-W2@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 19:11:12 +0000

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

I'm glad to see that Opera has thought deeply about SPDY. I think this is
by and large a very reasonable analysis of SPDY, thanks for sharing this. I
think that issues like flow control and push are very interesting to
discuss and merit separate discussion threads, as is already happening with
push. For the rest, I've commented inline.

On Thu, Jun 7, 2012 at 7:18 AM, Martin Nilsson <nilsson@opera.com> wrote:

>
> I've taken an internal assessment of SPDY and cleaned it up a bit
> (removing internal or 3rd party NDA information). Apologies in advance to
> any misunderstandings, mistakes or inaccuracies I've managed to produce.
>
>
>
>                             SPDY review
>
> 1. Introduction
>
>  Opera Software has a long experience of HTTP optimization protocols,
>  both through our own products Opera Mini and Opera Turbo, but also
>  from integrating with 3rd party optimization, predominantly in the
>  mobile space. In this document we compare the features of SPDY with
>  our implementation and deployment experiences from equivalent
>  features of other protocols.
>
>  We struggled a bit with the format of this document, as there are a
>  lot of interdependencies between the protocol format and its
>  different features. We've decided to present the review in three
>  parts. First we look at the individual conceptual features of SPDY,
>  directly followed by a quick evaluation for each. After that comes a
>  short discussion of the binary serialization of the protocol.
>  Finally we offer our ideas for how to improve the SPDY protocol.
>
>  This document is a compilation of analysis and comments from
>  multiple teams within Opera, and I would like to specially thank Per
>  Hedbor, Markus Johansson and Jonny Rein Eriksen for their
>  contributions.
>
>  A review of the SPDY protocol, based on the ID
>  draft-mbelshe-httpbis-spdy-00. Last update 2012-04-19.
>
> 2. Feature overview
>
>  SPDY is a transport layer protocol that acts on top of TCP and
>  replaces HTTP while allowing all HTTP semantics to be mapped onto
>  SPDY. In addition SPDY provides
>
>  - Enforced pipelining
>  - Out of order response
>  - Multiplexed requests and responses
>  - Flow control
>  - Header compression
>  - Asynchronous headers
>  - Push
>
> 2.1. Pipelining & response order
>
>  Pipelining is very important to avoid the overhead of setting up new
>  TCP connections. Limiting the number of connections is also
>  beneficial for congestion control. HTTP pipelining is defined in
>  HTTP 1.1 and Opera has spent considerable effort to make it work as
>  widely as possible. Unfortunately quite a lot of equipment doesn't
>  implement HTTP 1.1 correctly, so lots of heuristics has to be
>  applied in real world scenarios.
>
>  Given the non-uniform response times of different requests from the
>  same server, due to different amount of backend work required to
>  generate a response, pipelining is prone to stalling when a slow
>  request blocks a faster request. Out-of-order response is a good
>  solution to the problem. It can easily be added to HTTP by adding a
>  request ID header in each request and expecting corresponding
>  response IDs in the responses.
>
>  By adding priority information to the requests the server can take
>  active decision in which resource to send first.
>
> 2.1.1. Evaluation
>
>  Pipelining and out-of-order response are two important concepts that
>  significantly improves HTTP performance. Client indicated priority
>  preference further enhances the protocol. It is worth noting that
>  for implementation purposes, e.g. issues in underlaying software
>  layers, multiple connections may be preferable to a single one.
>
> 2.2. Multiplexing
>
>  The SPDY multiplexing feature allows for multiple resources to load
>  in parallel over a single TCP connection. The benefit is that it
>  offers a protection against stalling of prioritized
>  resources. Stalling in this case doesn't mean that the connection is
>  idle, but it could be downloading a large, low prioritized resource,
>  when the client issues a request for a higher prioritized resource.
>
>  An alternative to multiplexing would be to open a new connection and
>  let the current one, with only low priority requests on it, starve
>  until the high priority items have been handled. This is however bad
>  from congestion control point of view, and resets any states, like
>  compression contexts, associated with the first connection (although
>  those could theoretically be copied to new connections). Also, since
>  SPDY supports push, it may not be technically possible to initiate a
>  new connection from the server to push a high priority resource to
>  the client.
>
>  Finally we can note that multiplexing in SPDY always incur a data
>  overhead. The lower latency we want for higher priority requests to
>  reach the other side, the higher the overhead will be.
>

I think I agree with you, but this paragraph is a bit short and I wanted to
ask for a clarification. When you say data overhead, you're referring to
the framing overhead, right? And when you say lower latency for high
priority requests requires higher overhead, you in particular mean that by
choosing smaller frame sizes, you have more opportunity to interleave, at
the cost of more framing overhead, right? If so, I agree.


>
> 2.2.1. Evaluation
>
>  Multiplexing allows for higher priority requests/responses to
>  interrupt lower priority uploads/downloads without OOB signaling
>  that interferes with TCP.
>
>  The SPDY specification offers no insight in how frame sizes should
>  be chosen.
>

Yes, this is up to the implementation, which should be guided by the
concerns you raised in the previous section. Would you prefer that this
discussion were included in the spec?


>
> 2.3. Flow control
>
>  SPDY provides a per stream flow control mechanism by defining a
>  recipient buffer size that the sender needs to keep track of. The
>  recipient has to acknowledge received data by responding with the
>  currently available buffer space. This feature can be used for
>  several things.
>
>  - Throttling of then entire connection due to one endpoint having
>    capacity issues.
>
>  - Dynamic reprioritization of streams.


>  - Throttling of unwanted pushed content.
>
>  - Throttling of a specific stream due to backend issues for that
>    specific stream.
>
>  - Throttling of a specific stream due to rate of consumption.
>

Just for everyone's reference, there's a lot of interesting SPDY flow
control discussion happening at
https://groups.google.com/forum/#!topic/spdy-dev/JB_aQPNI7rw/discussion.
There's a lot more to say here than just in these bullets :) Since this is
already being heavily discussed on spdy-dev@ and we're trying to figure out
our thoughts there, I don't feel particularly inclined reopen the can of
worms here until that discussion concludes.


>
> 2.3.1. Evaluation
>
>  While not stated in the SPDY specification what problem the SPDY
>  level flow control aims to solve, Mike Belshe writes an example in
>  his blog that stalling recipient of data as a situation where SPDY
>  flow control is helpful, to avoid buffering potentially unbound
>  amount of data. While the concerns is valid, flow control looks like
>  overkill to something where a per-channel pause control frame could
>  do the same job with less implementation and protocol overhead.
>
>  To throttle the entire connection there is already data rate
>  management implemented in TCP. It is possible to throttle specific
>  streams, but that should already be taken care of by the priority
>  settings. Dynamic reprioritization is possible, but would be better
>  made into an explicit stream property. Throttling or avoiding pushed
>  content is another reason, but again an explicit mechanism would be
>  preferrable. For real time communication each sender already have
>  the ability to let one stream starve other streams, though UDP would
>  be preferrable over TCP. Also note that TCP provides the URG channel
>  for exception messaging.
>
> 2.4. Header compression
>
>  For many applications the HTTP headers are a significant
>  overhead. This is most visible in the mobile space where the content
>  itself often is heavily minimized for the lowest common denominator,
>  while at the same time mobile devices can send huge amounts of
>  UAProf headers in every request. Even on Desktop the amount of
>  cookies sent for every request is significant. Header compression is
>  a good solution to this issue.
>
>  SPDY uses a binary representation of headers, encoded as a set of
>  Hollerith encoded key-value pairs. The first line of the HTTP
>  request is also broken into its components and sent as key-value
>  pairs in the stream headers. To mitigate this somewhat less compact
>  representation of the headers, SPDY compresses the headers with
>  zlib, uses a persistent LZ-window for the connection and uses a
>  static dictionary.
>
> 2.4.1. Evaluation
>
>  Header compression is a good feature with real world applications,
>  and deflate with persistent context is a good approach to achieve
>  it. A fixed dictionary is probably not very effective as it
>  complicates the implementation while only providing initial value to
>  the compression. As an example, this is how the average requests
>  sizes compares between HTTP and SPDY in different modes, using the
>  set of captured headers used to train the current SPDY 3 dictionary.
>
>    HTTP                             821.1
>    HTTP zlib compressed             543.5
>    HTTP compressed with dictionary  497.0
>    SPDY                             913.7
>    SPDY zlib compressed             606.5
>    SPDY compressed with dictionary  517.0
>
>  I.e. Just putting the HTTP request in a SPDY stream (after removing
>  disallowed headers) only differs by 20 bytes to SPDY binary header
>  format with dictionary based zlib compression. The benefit of using
>  a dictionary basically goes away entirely on the subsequent request.
>
>  For very constrained devices the major issue with using deflate is
>  the 32K LZ window. The actual decompression is very light weight and
>  doesn't require much code. When sending data, using the no
>  compression mode of deflate effectively disables compression with
>  almost no code. Using fixed huffman codes is almost as easy.


I'm happy that you agree with the use of header compression. As for the
details of header compression, I'm pretty open to tweaks and what not,
provided they're guided by data and implementation experience.


>
> 2.5. Asynchronous headers
>
>  The HEADERS frame allows either side set additional headers for the
>  request or response at any point while the stream is open. This
>  differs from normal HTTP semantics where headers are sent strictly
>  before any data, and at half duplex, and allows for parallel
>  generation of headers and contents. While this is already possible
>  to do with chunked encoding trailer, it is not a feature in popular
>  use.


> 2.5.1. Evaluation
>
>  The problem with this frame is that it creates a situation where a
>  potentially critical header for the interpretation of the content is
>  sent last, thus forcing the receiver to put data processing on hold.
>  As additional headers can be sent up until the stream is closed
>  (though it doesn't specify what is allowed on half-closed
>  connections) this potentially makes all streams subject to last
>  minute reinterpretations. The specification doesn't define the
>  behavior when updating already sent headers. This feature also makes
>  SPDY more vulnerable to protocol injection attacks.
>

Some discussion can be found here:
https://groups.google.com/d/topic/spdy-dev/bRkEsta9ovk/discussion<https://groups.google.com/forum/?fromgroups#!searchin/spdy-dev/HEADERS$20frame/spdy-dev/bRkEsta9ovk/0gFYlb8P_xUJ>


>
> 2.6. Push
>
>  SPDY allows the server to open a stream towards the client and
>  effectively push content to the client. The idea is cache seeding,
>  where resources likely or known to be requested soon will be pushed
>  to the client. Server push has to happen as a result of an earlier
>  client request, which must be explicitly linked.
>
> 2.6.1. Evaluation
>
>  As defined the feature is not powerful enough to push non-request
>  related content (such as new RSS items), while also lacking
>  mechanisms to limit the size of pushed content or fully disable
>  pushing. The client has the option to read and discard this
>  information, but that may be a costly waste of bandwidth.
>
>
> 3. Binary representation
>
> 3.1. Control frame version
>
>  The version field of the control frame is odd for several different
>  reasons.
>
>  - The field is huge, 15 bits, which given the rate of incompatible
>  changes in released protocols (IPv6, HTTP 1.1 etc) appears
>  unwarranted. Also, adding more room for the version field is easy if
>  different versions are considered incompatible. The version field is
>  meaningless if different versions are compatible.
>
>  - The version is sent in every control frame, which appears overly
>  redundant.
>
>  - There is no clear semantics of how the version should be
>  handled. While status code 4, UNSUPPORTED_VERSION, gives a clue that
>  messages with unknown versions should be rejected, there is only a
>  mechanism to do it for streams.
>
> 3.2. Field sizes
>
>  The specification is consistently using 24 bit frame sizes but 32
>  bit sizes for almost all counters and size fields for frame internal
>  data. In design notes 4.4. "Fixed vs Variable Length Fields" the
>  authors note that this is done for speed and simplicity. There is no
>  reason why an 8, 16 or 24 bit field wouldn't be simple or fast
>  enough, especially given the existence of 31-bit and 3-bit fields
>  that also exists in the specification.
>
> 3.3. Directionality
>
>  While the SPDY draft attempt to implement two independent layers, a
>  general purpose framing layer with an HTTP-like layer on top of it,
>  this separation creates some unneeded complexities. The two main use
>  cases for SPDY is HTTP request-response and HTTP push. Both of these
>  are unidirectional once established and both of them have some
>  mandatory header fields that are more efficiently encoded in a fixed
>  structure.
>
> 3.4. Stream header coding
>
>  Multiple headers with the same name are encoded as a list of null
>  separated values. This removes the possibility to store binary
>  values in headers, which both prevents unencoded values and more
>  natural representations of e.g. size, date, age, hash etc.
>
> 4. Proposed changes
>
>  This section details some ideas for improvements of the SPDY draft.
>
> 4.1. Handshake
>
>  We believe the versioning semantics needs to be better formalized,
>  and that the version information can be moved into a connection
>  handshake. In its simplest form a SETTINGS frame is always sent
>  first in the connection, establishing the version and connection
>  parameters. A connection should be rejected if the version is out of
>  range for the server. The server should respond with the highest
>  supported protocol version before closing.
>

I will freely admit the versioning issue may need some work, and this is
worth discussion. For Chromium, this has not been an issue since we only
deploy over TLS using the NPN extension which handles this negotiation for
us in a fairly clean manner. We haven't invested much effort on the
non-TLS-NPN deployment case.


>
> 4.2. Field sizes
>
>  Define a reasonable range for each field, based on statistics where
>  possible, and resize them where appropriate.
>

"Define a reasonable range" :) I'm open to resizing fields. There's been
some amount of debate on certain fields on the spdy-dev@ mailing list.


>
> 4.3. Specialized HTTP frames
>
>  For the common case of using SPDY as an HTTP substitute, create
>  special frames to open HTTP request-response and HTTP push
>  streams. This removes the need for explicit unidirectional flag and
>  mandatory header values.
>

What do you mean by mandatory header values? Those are specific to HTTP
over SPDY, right? I'm not convinced about the necessity of baking in HTTP
assumptions into the core SPDY layer, rather than defining the mandatory
headers at the HTTP layering over SPDY level.


> 4.4. Typed key-value pairs
>
>  Create a better structure for the key-value pair lists where it is
>  possible to have binary values and typed values. The types can
>  include binary string, integer and list. Standardize how all
>  standard HTTP headers should be normalized and typed, including
>  which ones are disallowed to be in lists of multiple values.


>  Introduce a mechanism that allows headers to be properties of the
>  stream, to be used internally in SPDY, and move optional parameters
>

Did you mean properties of the session? Headers are already metadata for
the stream.


>  and parameters that seldom deviate from default value to use
>  internal headers (e.g. priority, slot, associate-to-stream-id). This
>  also provides a mechanism for easy extension.


> 4.5. Push
>
>  The client needs to be in control of what pushed data to accept. A
>  simple accept flag may be too simplisitc, as it prevents tricks like
>  redirect collapsing, but would be an improvement nevertheless.
>

I'm open to trying to better define when a client accepts pushed data. A
primary concern here is the possible deployment of intermediaries that
out-right disable server push, so server push becomes no longer
realistically deployable on the internet. Of course, clients can already
RST_STREAM(CANCEL) server pushes, and it'd be unfortunate if intermediaries
always did this. There's definitely room for discussion here, as has
already started happening on Gabriel's thread.


>
> 4.6. Flow control
>
>  Remove the SPDY flow control and instead introduce a control
>  mechanism to actively put a stream on hold. If priority is moved to
>  stream properties, as suggested in 3.4., dynamic reprioritization is
>  possible.
>

Do you have implementation experience that justifies this suggestion? I'm
skeptical about this solution, which has been discussed on
https://groups.google.com/forum/#!topic/spdy-dev/JB_aQPNI7rw/discussion.
That said, it's a very worthwhile discussion to have.


>
> 4.7. Header compression
>
>  Remove the header compression dictionary. It creates little benefit
>  for the added complexity it introduces.
>
> 4.8. Asynchronous headers
>
>  Specify the asynchronous header feature stricter so that overwriting
>  HTTP headers isn't allowed and the receiver knows in advance what
>  headers will be generated later.
>
> /Martin Nilsson
>
> --
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>
>

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

<div>I&#39;m glad to see that Opera has thought deeply about SPDY. I think =
this is by and large a very reasonable analysis of SPDY, thanks for sharing=
 this.=A0I think that issues like flow control and push are very interestin=
g to discuss and merit separate discussion threads, as is already happening=
 with push. For the rest, I&#39;ve commented inline.</div>
<div><br></div>On Thu, Jun 7, 2012 at 7:18 AM, Martin Nilsson <span dir=3D"=
ltr">&lt;<a href=3D"mailto:nilsson@opera.com" target=3D"_blank">nilsson@ope=
ra.com</a>&gt;</span> wrote:<br><div class=3D"gmail_quote">
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
I&#39;ve taken an internal assessment of SPDY and cleaned it up a bit (remo=
ving internal or 3rd party NDA information). Apologies in advance to any mi=
sunderstandings, mistakes or inaccuracies I&#39;ve managed to produce.<br>


<br>
<br>
<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 SPDY review<br>
<br>
1. Introduction<br>
<br>
 =A0Opera Software has a long experience of HTTP optimization protocols,<br=
>
 =A0both through our own products Opera Mini and Opera Turbo, but also<br>
 =A0from integrating with 3rd party optimization, predominantly in the<br>
 =A0mobile space. In this document we compare the features of SPDY with<br>
 =A0our implementation and deployment experiences from equivalent<br>
 =A0features of other protocols.<br>
<br>
 =A0We struggled a bit with the format of this document, as there are a<br>
 =A0lot of interdependencies between the protocol format and its<br>
 =A0different features. We&#39;ve decided to present the review in three<br=
>
 =A0parts. First we look at the individual conceptual features of SPDY,<br>
 =A0directly followed by a quick evaluation for each. After that comes a<br=
>
 =A0short discussion of the binary serialization of the protocol.<br>
 =A0Finally we offer our ideas for how to improve the SPDY protocol.<br>
<br>
 =A0This document is a compilation of analysis and comments from<br>
 =A0multiple teams within Opera, and I would like to specially thank Per<br=
>
 =A0Hedbor, Markus Johansson and Jonny Rein Eriksen for their<br>
 =A0contributions.<br>
<br>
 =A0A review of the SPDY protocol, based on the ID<br>
 =A0draft-mbelshe-httpbis-spdy-00. Last update 2012-04-19.<br>
<br>
2. Feature overview<br>
<br>
 =A0SPDY is a transport layer protocol that acts on top of TCP and<br>
 =A0replaces HTTP while allowing all HTTP semantics to be mapped onto<br>
 =A0SPDY. In addition SPDY provides<br>
<br>
 =A0- Enforced pipelining<br>
 =A0- Out of order response<br>
 =A0- Multiplexed requests and responses<br>
 =A0- Flow control<br>
 =A0- Header compression<br>
 =A0- Asynchronous headers<br>
 =A0- Push<br>
<br>
2.1. Pipelining &amp; response order<br>
<br>
 =A0Pipelining is very important to avoid the overhead of setting up new<br=
>
 =A0TCP connections. Limiting the number of connections is also<br>
 =A0beneficial for congestion control. HTTP pipelining is defined in<br>
 =A0HTTP 1.1 and Opera has spent considerable effort to make it work as<br>
 =A0widely as possible. Unfortunately quite a lot of equipment doesn&#39;t<=
br>
 =A0implement HTTP 1.1 correctly, so lots of heuristics has to be<br>
 =A0applied in real world scenarios.<br>
<br>
 =A0Given the non-uniform response times of different requests from the<br>
 =A0same server, due to different amount of backend work required to<br>
 =A0generate a response, pipelining is prone to stalling when a slow<br>
 =A0request blocks a faster request. Out-of-order response is a good<br>
 =A0solution to the problem. It can easily be added to HTTP by adding a<br>
 =A0request ID header in each request and expecting corresponding<br>
 =A0response IDs in the responses.<br>
<br>
 =A0By adding priority information to the requests the server can take<br>
 =A0active decision in which resource to send first.<br>
<br>
2.1.1. Evaluation<br>
<br>
 =A0Pipelining and out-of-order response are two important concepts that<br=
>
 =A0significantly improves HTTP performance. Client indicated priority<br>
 =A0preference further enhances the protocol. It is worth noting that<br>
 =A0for implementation purposes, e.g. issues in underlaying software<br>
 =A0layers, multiple connections may be preferable to a single one.<br>
<br>
2.2. Multiplexing<br>
<br>
 =A0The SPDY multiplexing feature allows for multiple resources to load<br>
 =A0in parallel over a single TCP connection. The benefit is that it<br>
 =A0offers a protection against stalling of prioritized<br>
 =A0resources. Stalling in this case doesn&#39;t mean that the connection i=
s<br>
 =A0idle, but it could be downloading a large, low prioritized resource,<br=
>
 =A0when the client issues a request for a higher prioritized resource.<br>
<br>
 =A0An alternative to multiplexing would be to open a new connection and<br=
>
 =A0let the current one, with only low priority requests on it, starve<br>
 =A0until the high priority items have been handled. This is however bad<br=
>
 =A0from congestion control point of view, and resets any states, like<br>
 =A0compression contexts, associated with the first connection (although<br=
>
 =A0those could theoretically be copied to new connections). Also, since<br=
>
 =A0SPDY supports push, it may not be technically possible to initiate a<br=
>
 =A0new connection from the server to push a high priority resource to<br>
 =A0the client.<br>
<br>
 =A0Finally we can note that multiplexing in SPDY always incur a data<br>
 =A0overhead. The lower latency we want for higher priority requests to<br>
 =A0reach the other side, the higher the overhead will be.<br></blockquote>=
<div><br></div><div>I think I agree with you, but this paragraph is a bit s=
hort and I wanted to ask for a clarification. When you say data overhead, y=
ou&#39;re referring to the framing overhead, right? And when you say lower =
latency for high priority requests requires higher overhead, you in particu=
lar mean that by choosing smaller frame sizes, you have more opportunity to=
 interleave, at the cost of more framing overhead, right? If so, I agree.</=
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>
2.2.1. Evaluation<br>
<br>
 =A0Multiplexing allows for higher priority requests/responses to<br>
 =A0interrupt lower priority uploads/downloads without OOB signaling<br>
 =A0that interferes with TCP.<br>
<br>
 =A0The SPDY specification offers no insight in how frame sizes should<br>
 =A0be chosen.<br></blockquote><div><br></div><div>Yes, this is up to the i=
mplementation, which should be guided by the concerns you raised in the pre=
vious section. Would you prefer that this discussion were included in the s=
pec?</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>
2.3. Flow control<br>
<br>
 =A0SPDY provides a per stream flow control mechanism by defining a<br>
 =A0recipient buffer size that the sender needs to keep track of. The<br>
 =A0recipient has to acknowledge received data by responding with the<br>
 =A0currently available buffer space. This feature can be used for<br>
 =A0several things.<br>
<br>
 =A0- Throttling of then entire connection due to one endpoint having<br>
 =A0 =A0capacity issues.<br>
<br>
 =A0- Dynamic reprioritization of streams.</blockquote><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">
<br>
 =A0- Throttling of unwanted pushed content.<br>
<br>
 =A0- Throttling of a specific stream due to backend issues for that<br>
 =A0 =A0specific stream.<br>
<br>
 =A0- Throttling of a specific stream due to rate of consumption.<br></bloc=
kquote><div><br></div><div>Just for everyone&#39;s reference, there&#39;s a=
 lot of interesting SPDY flow control discussion happening at=A0<a href=3D"=
https://groups.google.com/forum/#!topic/spdy-dev/JB_aQPNI7rw/discussion" ta=
rget=3D"_blank">https://groups.google.com/forum/#!topic/spdy-dev/JB_aQPNI7r=
w/discussion</a>. There&#39;s a lot more to say here than just in these bul=
lets :) Since this is already being heavily discussed on spdy-dev@ and we&#=
39;re trying to figure out our thoughts there, I don&#39;t feel particularl=
y inclined reopen the can of worms here until that discussion concludes.</d=
iv>

<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
<br>
2.3.1. Evaluation<br>
<br>
 =A0While not stated in the SPDY specification what problem the SPDY<br>
 =A0level flow control aims to solve, Mike Belshe writes an example in<br>
 =A0his blog that stalling recipient of data as a situation where SPDY<br>
 =A0flow control is helpful, to avoid buffering potentially unbound<br>
 =A0amount of data. While the concerns is valid, flow control looks like<br=
>
 =A0overkill to something where a per-channel pause control frame could<br>
 =A0do the same job with less implementation and protocol overhead.<br>
<br>
 =A0To throttle the entire connection there is already data rate<br>
 =A0management implemented in TCP. It is possible to throttle specific<br>
 =A0streams, but that should already be taken care of by the priority<br>
 =A0settings. Dynamic reprioritization is possible, but would be better<br>
 =A0made into an explicit stream property. Throttling or avoiding pushed<br=
>
 =A0content is another reason, but again an explicit mechanism would be<br>
 =A0preferrable. For real time communication each sender already have<br>
 =A0the ability to let one stream starve other streams, though UDP would<br=
>
 =A0be preferrable over TCP. Also note that TCP provides the URG channel<br=
>
 =A0for exception messaging.<br>
<br>
2.4. Header compression<br>
<br>
 =A0For many applications the HTTP headers are a significant<br>
 =A0overhead. This is most visible in the mobile space where the content<br=
>
 =A0itself often is heavily minimized for the lowest common denominator,<br=
>
 =A0while at the same time mobile devices can send huge amounts of<br>
 =A0UAProf headers in every request. Even on Desktop the amount of<br>
 =A0cookies sent for every request is significant. Header compression is<br=
>
 =A0a good solution to this issue.<br>
<br>
 =A0SPDY uses a binary representation of headers, encoded as a set of<br>
 =A0Hollerith encoded key-value pairs. The first line of the HTTP<br>
 =A0request is also broken into its components and sent as key-value<br>
 =A0pairs in the stream headers. To mitigate this somewhat less compact<br>
 =A0representation of the headers, SPDY compresses the headers with<br>
 =A0zlib, uses a persistent LZ-window for the connection and uses a<br>
 =A0static dictionary.<br>
<br>
2.4.1. Evaluation<br>
<br>
 =A0Header compression is a good feature with real world applications,<br>
 =A0and deflate with persistent context is a good approach to achieve<br>
 =A0it. A fixed dictionary is probably not very effective as it<br>
 =A0complicates the implementation while only providing initial value to<br=
>
 =A0the compression. As an example, this is how the average requests<br>
 =A0sizes compares between HTTP and SPDY in different modes, using the<br>
 =A0set of captured headers used to train the current SPDY 3 dictionary.<br=
>
<br>
 =A0 =A0HTTP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 821.1<=
br>
 =A0 =A0HTTP zlib compressed =A0 =A0 =A0 =A0 =A0 =A0 543.5<br>
 =A0 =A0HTTP compressed with dictionary =A0497.0<br>
 =A0 =A0SPDY =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 913.7<=
br>
 =A0 =A0SPDY zlib compressed =A0 =A0 =A0 =A0 =A0 =A0 606.5<br>
 =A0 =A0SPDY compressed with dictionary =A0517.0<br>
<br>
 =A0I.e. Just putting the HTTP request in a SPDY stream (after removing<br>
 =A0disallowed headers) only differs by 20 bytes to SPDY binary header<br>
 =A0format with dictionary based zlib compression. The benefit of using<br>
 =A0a dictionary basically goes away entirely on the subsequent request.<br=
>
<br>
 =A0For very constrained devices the major issue with using deflate is<br>
 =A0the 32K LZ window. The actual decompression is very light weight and<br=
>
 =A0doesn&#39;t require much code. When sending data, using the no<br>
 =A0compression mode of deflate effectively disables compression with<br>
 =A0almost no code. Using fixed huffman codes is almost as easy.</blockquot=
e><div><br></div><div>I&#39;m happy that you agree with the use of header c=
ompression. As for the details of header compression, I&#39;m pretty open t=
o tweaks and what not, provided they&#39;re guided by data and implementati=
on experience.</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>
2.5. Asynchronous headers<br>
<br>
 =A0The HEADERS frame allows either side set additional headers for the<br>
 =A0request or response at any point while the stream is open. This<br>
 =A0differs from normal HTTP semantics where headers are sent strictly<br>
 =A0before any data, and at half duplex, and allows for parallel<br>
 =A0generation of headers and contents. While this is already possible<br>
 =A0to do with chunked encoding trailer, it is not a feature in popular<br>
 =A0use.</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
2.5.1. Evaluation<br>
<br>
 =A0The problem with this frame is that it creates a situation where a<br>
 =A0potentially critical header for the interpretation of the content is<br=
>
 =A0sent last, thus forcing the receiver to put data processing on hold.<br=
>
 =A0As additional headers can be sent up until the stream is closed<br>
 =A0(though it doesn&#39;t specify what is allowed on half-closed<br>
 =A0connections) this potentially makes all streams subject to last<br>
 =A0minute reinterpretations. The specification doesn&#39;t define the<br>
 =A0behavior when updating already sent headers. This feature also makes<br=
>
 =A0SPDY more vulnerable to protocol injection attacks.<br></blockquote><di=
v><br></div><div>Some discussion can be found here:=A0<a href=3D"https://gr=
oups.google.com/forum/?fromgroups#!searchin/spdy-dev/HEADERS$20frame/spdy-d=
ev/bRkEsta9ovk/0gFYlb8P_xUJ">https://groups.google.com/d/topic/spdy-dev/bRk=
Esta9ovk/discussion</a></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>
2.6. Push<br>
<br>
 =A0SPDY allows the server to open a stream towards the client and<br>
 =A0effectively push content to the client. The idea is cache seeding,<br>
 =A0where resources likely or known to be requested soon will be pushed<br>
 =A0to the client. Server push has to happen as a result of an earlier<br>
 =A0client request, which must be explicitly linked.<br>
<br>
2.6.1. Evaluation<br>
<br>
 =A0As defined the feature is not powerful enough to push non-request<br>
 =A0related content (such as new RSS items), while also lacking<br>
 =A0mechanisms to limit the size of pushed content or fully disable<br>
 =A0pushing. The client has the option to read and discard this<br>
 =A0information, but that may be a costly waste of bandwidth.<br>
<br>
<br>
3. Binary representation<br>
<br>
3.1. Control frame version<br>
<br>
 =A0The version field of the control frame is odd for several different<br>
 =A0reasons.<br>
<br>
 =A0- The field is huge, 15 bits, which given the rate of incompatible<br>
 =A0changes in released protocols (IPv6, HTTP 1.1 etc) appears<br>
 =A0unwarranted. Also, adding more room for the version field is easy if<br=
>
 =A0different versions are considered incompatible. The version field is<br=
>
 =A0meaningless if different versions are compatible.<br>
<br>
 =A0- The version is sent in every control frame, which appears overly<br>
 =A0redundant.<br>
<br>
 =A0- There is no clear semantics of how the version should be<br>
 =A0handled. While status code 4, UNSUPPORTED_VERSION, gives a clue that<br=
>
 =A0messages with unknown versions should be rejected, there is only a<br>
 =A0mechanism to do it for streams.<br>
<br>
3.2. Field sizes<br>
<br>
 =A0The specification is consistently using 24 bit frame sizes but 32<br>
 =A0bit sizes for almost all counters and size fields for frame internal<br=
>
 =A0data. In design notes 4.4. &quot;Fixed vs Variable Length Fields&quot; =
the<br>
 =A0authors note that this is done for speed and simplicity. There is no<br=
>
 =A0reason why an 8, 16 or 24 bit field wouldn&#39;t be simple or fast<br>
 =A0enough, especially given the existence of 31-bit and 3-bit fields<br>
 =A0that also exists in the specification.<br>
<br>
3.3. Directionality<br>
<br>
 =A0While the SPDY draft attempt to implement two independent layers, a<br>
 =A0general purpose framing layer with an HTTP-like layer on top of it,<br>
 =A0this separation creates some unneeded complexities. The two main use<br=
>
 =A0cases for SPDY is HTTP request-response and HTTP push. Both of these<br=
>
 =A0are unidirectional once established and both of them have some<br>
 =A0mandatory header fields that are more efficiently encoded in a fixed<br=
>
 =A0structure.<br>
<br>
3.4. Stream header coding<br>
<br>
 =A0Multiple headers with the same name are encoded as a list of null<br>
 =A0separated values. This removes the possibility to store binary<br>
 =A0values in headers, which both prevents unencoded values and more<br>
 =A0natural representations of e.g. size, date, age, hash etc.<br>
<br>
4. Proposed changes<br>
<br>
 =A0This section details some ideas for improvements of the SPDY draft.<br>
<br>
4.1. Handshake<br>
<br>
 =A0We believe the versioning semantics needs to be better formalized,<br>
 =A0and that the version information can be moved into a connection<br>
 =A0handshake. In its simplest form a SETTINGS frame is always sent<br>
 =A0first in the connection, establishing the version and connection<br>
 =A0parameters. A connection should be rejected if the version is out of<br=
>
 =A0range for the server. The server should respond with the highest<br>
 =A0supported protocol version before closing.<br></blockquote><div><br></d=
iv><div>I will freely admit the versioning issue may need some work, and th=
is is worth discussion. For Chromium, this has not been an issue since we o=
nly deploy over TLS using the NPN extension which handles this negotiation =
for us in a fairly clean manner. We haven&#39;t invested much effort on the=
 non-TLS-NPN deployment case.</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>
4.2. Field sizes<br>
<br>
 =A0Define a reasonable range for each field, based on statistics where<br>
 =A0possible, and resize them where appropriate.<br></blockquote><div><br><=
/div><div>&quot;Define a reasonable range&quot; :) I&#39;m open to resizing=
 fields. There&#39;s been some amount of debate on certain fields on the sp=
dy-dev@ mailing list.</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>
4.3. Specialized HTTP frames<br>
<br>
 =A0For the common case of using SPDY as an HTTP substitute, create<br>
 =A0special frames to open HTTP request-response and HTTP push<br>
 =A0streams. This removes the need for explicit unidirectional flag and<br>
 =A0mandatory header values.<br></blockquote><div><br></div><div>What do yo=
u mean by mandatory header values? Those are specific to HTTP over SPDY, ri=
ght? I&#39;m not convinced about the necessity of baking in HTTP assumption=
s into the core SPDY layer, rather than defining the mandatory headers at t=
he HTTP layering over SPDY level.</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>
4.4. Typed key-value pairs<br>
<br>
 =A0Create a better structure for the key-value pair lists where it is<br>
 =A0possible to have binary values and typed values. The types can<br>
 =A0include binary string, integer and list. Standardize how all<br>
 =A0standard HTTP headers should be normalized and typed, including<br>
 =A0which ones are disallowed to be in lists of multiple values.</blockquot=
e><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">
<br>
 =A0Introduce a mechanism that allows headers to be properties of the<br>
 =A0stream, to be used internally in SPDY, and move optional parameters<br>=
</blockquote><div><br></div><div>Did you mean properties of the session? He=
aders are already metadata for the stream.</div><div>=A0</div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">

 =A0and parameters that seldom deviate from default value to use<br>
 =A0internal headers (e.g. priority, slot, associate-to-stream-id). This<br=
>
 =A0also provides a mechanism for easy extension.=A0</blockquote><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex">
<br>
4.5. Push<br>
<br>
 =A0The client needs to be in control of what pushed data to accept. A<br>
 =A0simple accept flag may be too simplisitc, as it prevents tricks like<br=
>
 =A0redirect collapsing, but would be an improvement nevertheless.<br></blo=
ckquote><div><br></div><div>I&#39;m open to trying to better define when a =
client accepts pushed data. A primary concern here is the possible deployme=
nt of intermediaries that out-right disable server push, so server push bec=
omes no longer realistically deployable on the internet. Of course, clients=
 can already RST_STREAM(CANCEL) server pushes, and it&#39;d be unfortunate =
if intermediaries always did this. There&#39;s definitely room for discussi=
on here, as has already started happening on Gabriel&#39;s thread.</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>
4.6. Flow control<br>
<br>
 =A0Remove the SPDY flow control and instead introduce a control<br>
 =A0mechanism to actively put a stream on hold. If priority is moved to<br>
 =A0stream properties, as suggested in 3.4., dynamic reprioritization is<br=
>
 =A0possible.<br></blockquote><div><br></div><div>Do you have implementatio=
n experience that justifies this suggestion? I&#39;m skeptical about this s=
olution, which has been discussed on=A0<a href=3D"https://groups.google.com=
/forum/#!topic/spdy-dev/JB_aQPNI7rw/discussion">https://groups.google.com/f=
orum/#!topic/spdy-dev/JB_aQPNI7rw/discussion</a>. That said, it&#39;s a ver=
y worthwhile discussion to have.</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>
4.7. Header compression<br>
<br>
 =A0Remove the header compression dictionary. It creates little benefit<br>
 =A0for the added complexity it introduces.<br>
<br>
4.8. Asynchronous headers<br>
<br>
 =A0Specify the asynchronous header feature stricter so that overwriting<br=
>
 =A0HTTP headers isn&#39;t allowed and the receiver knows in advance what<b=
r>
 =A0headers will be generated later.<span><font color=3D"#888888"><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>
</font></span></blockquote></div><br>

--20cf301cc4eef974fa04c1e6a273--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 12:16: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 62A9B11E813A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 12:16:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.498
X-Spam-Level: 
X-Spam-Status: No, score=-10.498 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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8mGMpUC-tvMa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 12:16:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F09B911E80C7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 12:16:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SciBP-0007OZ-QT for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 19:15:47 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alek.storm@gmail.com>) id 1SciBF-00071b-8W for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 19:15:37 +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 <alek.storm@gmail.com>) id 1SciBB-0002Em-OJ for ietf-http-wg@w3.org; Thu, 07 Jun 2012 19:15:35 +0000
Received: by lbom4 with SMTP id m4so847958lbo.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 12:15:07 -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=TihUD1E7Mu9YYgjKSa9PyYGl31LLCbKGjchr79rnoxA=; b=brjda/lL0uA6RYe7gGx3+/BQmzdhYiKe2Y37aCW1bmsq4YOx/dUNK8JHM8wCOxIFKM ZUv3/D2AJP/ew39WHA0oBWJKnN0P1+Ipmes9XT0UrLAHxoDdZNz3tYyLpwdxytyp5UBY 935fuo26g6WqJk1YCGHdGVk3lykDZKNpHSbPr9tipjGk5HckMkNARhIoBsWav5xpQCH6 rIuKnoNzWITThVVmmRNppvxTjR1KXLRHxdwXl8fuobO4Kn+892P8NwVqICXRqkSuz/Jc QPfZ1Gi2vZvYdVVKk/ri5dytn6OdyHpr+1ER26QXbQgHrkwCRpkThp6f3zWDV3bF/5Jp LC9w==
MIME-Version: 1.0
Received: by 10.152.103.109 with SMTP id fv13mr3870463lab.33.1339096507344; Thu, 07 Jun 2012 12:15:07 -0700 (PDT)
Received: by 10.112.113.166 with HTTP; Thu, 7 Jun 2012 12:15:07 -0700 (PDT)
Date: Thu, 7 Jun 2012 14:15:07 -0500
Message-ID: <CAMNEcwtp6NLE44nikYFC2Gaiu0eCPca3OfwS=LRp0Lp7bXBGGg@mail.gmail.com>
From: Alek Storm <alek.storm@gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d040890c7a3e6ed04c1e6b3de
Received-SPF: pass client-ip=209.85.217.171; envelope-from=alek.storm@gmail.com; helo=mail-lb0-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 1SciBB-0002Em-OJ 67f0c775b6a923f92fb9c64c3f951216
X-Original-To: ietf-http-wg@w3.org
Subject: Proposal for cache control of pushed streams
Archived-At: <http://www.w3.org/mid/CAMNEcwtp6NLE44nikYFC2Gaiu0eCPca3OfwS=LRp0Lp7bXBGGg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13651
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SciBP-0007OZ-QT@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 19:15:47 +0000

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

Several others have raised legitimate concerns that the current server push
feature in SPDY may waste bandwidth by pushing resources to clients which
are either unable to accept them or have already stored them in cache.
Although other solutions, such as extending Link headers and framing-level
flags have been hinted at, I believe HTTP cache control is the only system
flexible enough to solve this problem.

This proposal is an outline written in the style of RFC 2616, as I was
unaware of HTTPbis when drafting it - my apologies for any incongruity.
Header descriptions have been condensed down to the interesting parts, and
the material here would likely be spread over multiple parts of the HTTP
spec.

Since the future of SPDY server push itself is uncertain, I would greatly
appreciate any guidance on the next steps to take (if any), if this
proposal meets with the approval of the group. Under what conditions would
opening a ticket on the issue tracker be appropriate?

Alek Storm

*Request Headers*

*Subresources-If-None-Match*

Subresources-If-None-Match = "Subresources-If-None-Match" ":" ( "*" |
1#entity-tag )

For each entity that would have been pushed in response to a similar GET
request (without the Subresources-If-None-Match) on that resource, if:

(1) its entity tag is included in the list of entity tags; or

(a) "*" is given; and
(b) any current entity exists for that resource

then the server MUST NOT push that entity, unless required to do so because
the entity's modification date fails to match that supplied in an
Subresources-If-Modified-Since header field in the request. Instead, if the
request method was GET or HEAD, the server SHOULD push a 304 (Not Modified)
response, including the cache-related header fields (particularly ETag) of
one of the entities that matched.

Comments: Clients should include entity tags for resources which included
the requested URI in their Subresource-Of header when they were last
fetched, or all entity tags from the requested domain for Content-Types
likely to be pushed (application/javascript, text/css). Other heuristics
are possible as well.

*Subresources-If-Modified-Since*

Subresources-If-Modified-Since = "Subresources-If-Modified-Since" ":"
HTTP-date

For each entity that would have been pushed in response to a similar GET
request (without the Subresources-If-Modified-Since) on that resource, if:

(1) the given date is valid; and

(a) the entity has not been modified since the given date; or
(b) the entity was not related to the requested resource at the given date;
or

(i) it is not known whether the entity was related to the requested
resource at the given date; and
(ii) the requested resource has not been modified since the given date

then the server MUST NOT push that entity. Instead, if the request method
was GET or HEAD, the server SHOULD push a 304 (Not Modified) response. If
Subresources-If-Modified-Since is not present, or if the given date is
invalid, the If-Modified-Since date may be used instead, if present.

Comments: Although If-Modified-Since is also a good heuristic (and can be
used if Subresources-If-Modified-Since is missing), clients will not send
it if they were instructed not to cache the original URI the last time it
was fetched, even if the pushed resources were cacheable. Thus, this header
is necessary.

*Analogous Subresources-If-Match and Subresources-If-Unmodified-Since
headers are omitted here for brevity.*

*Additional-Push*
*
*

Additional-Push = "Additional-Push" ":" 1#( absoluteURI | relativeURI )


A list of absolute or relative URIs that the server or any intermediate
caches MAY push in addition to any resources that would otherwise have been
pushed.

Comments: This provides client with a way to hint which subresources they
believe will be called for to braindead servers unaware of inter-resource
relationships. Servers that know what they're doing are free to ignore it.
Although servers are unlikely to be interested in pushing resources from
other domains, intermediate proxies may use this information to save the
client a round-trip.

*Response Headers*

*Subresource-Of*

Subresource-Of = "Subresource-Of" ":" 1#relativeURI

A list of prefixes of request URIs the resource would likely be pushed in
response to. For example, "Subresource-Of: /static/, /foo.html" specifies
that this resource is a subresource of /foo.html and all URIs prefixed with
/static/.

Comments: This is also powerful in the hands of intermediate caches, which
have more information about how different resources are interrelated.

*Cache-control Directives*

Default behavior: The server and any intermediate caches MAY push streams
in response to a request.

no-push (client)

Indicates the both the server and any intermediate caches MUST NOT push any
streams in response to this request.

no-proxy-push (server)

Indicates that any intermediate caches MUST NOT push any streams in
response to this request.

push-if-original-invalidated (client)

Indicates that both the server and any intermediate caches MUST NOT push
any streams in response to this request if the request is successfully
revalidated (i.e. a 304 Not Modified response is sent).

push-if-invalidated (client)

Indicates that both the server and any intermediate caches MUST NOT push
any stream in response to this request if the pushed resource is
successfully revalidated (i.e. a 304 Not Modified would be sent).

push-max-age, push-min-fresh, push-max-stale (client)

Identical to their variants without "push-", but only apply to pushed
streams.

*Server Push Restrictions*

Pushed streams MUST have one of the following response codes: 200, 204,
206, 301, 302, 303, 304, 307.

Servers and intermediate caches MUST NOT push two streams associated with
the same URL, or a stream associated with the URL of the original request,
unless both streams have response code 206 and contain non-overlapping byte
ranges.

Comments: It shouldn't be possible to create a pushed stream associated
with another pushed stream, but this should probably be addressed at the
framing layer.

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

<div>Several others have raised legitimate concerns that the current server=
 push feature in SPDY may waste bandwidth by pushing resources to clients w=
hich are either unable to accept them or have already stored them in cache.=
 Although other solutions, such as extending Link headers and framing-level=
 flags have been hinted at, I believe HTTP cache control is the only system=
 flexible enough to solve this problem.</div>

<div><br></div><div>This proposal is an outline written in the style of RFC=
 2616, as I was unaware of HTTPbis when drafting it - my apologies for any =
incongruity. Header descriptions have been condensed down to the interestin=
g parts, and the material here would likely be spread over multiple parts o=
f the HTTP spec.</div>

<div><br></div><div>Since the future of SPDY server push itself is uncertai=
n, I would greatly appreciate any guidance on the next steps to take (if an=
y), if this proposal meets with the approval of the group. Under what condi=
tions would opening a ticket on the issue tracker be appropriate?</div>

<div><br></div><div>Alek Storm</div><div><br></div><div><b><u>Request Heade=
rs</u></b><br></div><div><br></div><div><b>Subresources-If-None-Match</b><b=
r></div><blockquote>Subresources-If-None-Match =3D &quot;Subresources-If-No=
ne-Match&quot; &quot;:&quot; ( &quot;*&quot; | 1#entity-tag )</blockquote>

<div>For each entity that would have been pushed in response to a similar G=
ET request (without the Subresources-If-None-Match)=A0on that resource, if:=
</div><blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px"><div>
(1) its entity tag is included in the list of entity tags; or</div></blockq=
uote><blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px"><block=
quote style=3D"margin:0 0 0 40px;border:none;padding:0px"><div>(a) &quot;*&=
quot; is given; and</div>
<div>(b) any current entity exists for that resource</div></blockquote></bl=
ockquote><div>then the server MUST NOT push that entity, unless required to=
 do so because the entity&#39;s modification=A0date fails to match that sup=
plied in an Subresources-If-Modified-Since header field in the request. Ins=
tead, if the request=A0method was GET or HEAD, the server SHOULD push a 304=
 (Not Modified) response, including the cache-related header fields=A0(part=
icularly ETag) of one of the entities that matched.</div>

<div><br></div><div>Comments: Clients should include entity tags for resour=
ces which included the requested URI in their Subresource-Of header when th=
ey were last fetched, or all entity tags from the requested domain for Cont=
ent-Types likely to be pushed (application/javascript, text/css). Other heu=
ristics are possible as well.</div>

<div><br></div><div><b>Subresources-If-Modified-Since</b></div><blockquote>=
Subresources-If-Modified-Since =3D &quot;Subresources-If-Modified-Since&quo=
t; &quot;:&quot; HTTP-date</blockquote><div>For each entity that would have=
 been pushed in response to a similar GET request (without the Subresources=
-If-Modified-Since)=A0on that resource, if:</div>
<blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px"><div>(1) th=
e given date is valid; and</div></blockquote><blockquote style=3D"margin:0 =
0 0 40px;border:none;padding:0px"><blockquote style=3D"margin:0 0 0 40px;bo=
rder:none;padding:0px">
<div>(a) the entity has not been modified since the given date; or</div><di=
v>(b) the entity was not related to the requested resource at the given dat=
e; or</div></blockquote></blockquote><blockquote style=3D"margin:0 0 0 40px=
;border:none;padding:0px">
<blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px"><blockquote=
 style=3D"margin:0 0 0 40px;border:none;padding:0px"><div>(i) it is not kno=
wn whether the entity was related to the requested resource at the given da=
te; and</div>
<div>(ii) the requested resource has not been modified since the given date=
</div></blockquote></blockquote></blockquote><div><div>then the server MUST=
 NOT push that entity. Instead, if the request method was GET or HEAD, the =
server SHOULD push a 304=A0(Not Modified) response. If Subresources-If-Modi=
fied-Since is not present, or if the given date is invalid, the If-Modified=
-Since=A0date may be used instead, if present.</div>

<div><br></div><div>Comments: Although If-Modified-Since is also a good heu=
ristic (and can be used if Subresources-If-Modified-Since is missing), clie=
nts will not send it if they were instructed not to cache the original URI =
the last time it was fetched, even if the pushed resources were cacheable. =
Thus, this header is necessary.</div>

<div><br></div><div><i>Analogous Subresources-If-Match and Subresources-If-=
Unmodified-Since headers are omitted here for brevity.</i></div><div><br></=
div><div><b>Additional-Push</b></div></div><div><b><br></b></div><blockquot=
e style=3D"margin:0px 0px 0px 40px;border:none;padding:0px">

Additional-Push =3D &quot;Additional-Push&quot; &quot;:&quot; 1#( absoluteU=
RI | relativeURI )</blockquote><div><br></div>A list of absolute or relativ=
e URIs that the server or any intermediate caches MAY push in addition to a=
ny resources that would otherwise have been pushed.<br>

<div><div><br></div><div>Comments: This provides client with a way to hint=
=A0which subresources they believe will be called for=A0to braindead server=
s unaware of inter-resource relationships. Servers that know what they&#39;=
re doing are free to ignore it. Although servers are unlikely to be interes=
ted in pushing resources from other domains, intermediate proxies may use t=
his information to save the client a round-trip.</div>

<div><br></div><div><b><u>Response Headers</u></b></div><div><br></div><div=
><b>Subresource-Of</b></div></div><blockquote>Subresource-Of =3D &quot;Subr=
esource-Of&quot; &quot;:&quot; 1#relativeURI</blockquote><div><div>A list o=
f prefixes of request URIs the resource would likely be pushed in response =
to. For example,=A0&quot;Subresource-Of: /static/, /foo.html&quot; specifie=
s that this resource is a subresource of /foo.html and all URIs prefixed wi=
th /static/.</div>

<div><br></div><div>Comments: This is also powerful in the hands of interme=
diate caches, which have more information about how different resources are=
 interrelated.</div><div><br></div><div><b><u>Cache-control Directives</u><=
/b></div>

<div><br></div><div>Default behavior: The server and any intermediate cache=
s MAY push streams in response to a request.</div></div><div><div><br></div=
><div>no-push (client)</div></div><blockquote>Indicates the both the server=
 and any intermediate caches MUST NOT push any streams in response to this =
request.</blockquote>
<div><div>no-proxy-push (server)</div></div><blockquote>Indicates that any =
intermediate caches MUST NOT push any streams in response to this request.<=
/blockquote><div>push-if-original-invalidated (client)</div>
<blockquote>Indicates that both the server and any intermediate caches MUST=
 NOT push any streams in response to this request if the=A0request is succe=
ssfully revalidated (i.e. a 304 Not Modified response is sent).</blockquote=
>
<div><div>push-if-invalidated (client)</div></div><blockquote>Indicates tha=
t both the server and any intermediate caches MUST NOT push any stream in r=
esponse to this request if the pushed resource=A0is successfully revalidate=
d (i.e. a 304 Not Modified would be sent).</blockquote>
<div><div>push-max-age, push-min-fresh, push-max-stale (client)</div></div>=
<blockquote>Identical to their variants without &quot;push-&quot;, but only=
 apply to pushed streams.</blockquote><div>
<b><u>Server Push Restrictions</u></b></div><div><br></div><div>Pushed stre=
ams MUST have one of the following response codes: 200, 204, 206, 301, 302,=
 303, 304, 307.<br></div><div><br></div><div>Servers and intermediate cache=
s MUST NOT push two streams associated with the same URL, or a stream assoc=
iated with the URL of the original request, unless both streams have respon=
se code 206 and contain non-overlapping byte ranges.</div>

<div><br></div><div>Comments: It shouldn&#39;t be possible to create a push=
ed stream associated with another pushed stream, but this should probably b=
e addressed at the framing layer.</div>

--f46d040890c7a3e6ed04c1e6b3de--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 12:59: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 DA41211E813F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 12:59:32 -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=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_WEOFFER=0.3]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 80ZFOkQMnSHj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 12:59:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 779E611E813E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 12:59:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sciqa-0006Hv-Ta for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 19:58:20 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1SciqP-0006Gz-Me for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 19:58:09 +0000
Received: from mail-ee0-f43.google.com ([74.125.83.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SciqK-0003kE-Or for ietf-http-wg@w3.org; Thu, 07 Jun 2012 19:58:07 +0000
Received: by eeke50 with SMTP id e50so499665eek.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 12:57:38 -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=/cHLjVGRk3FlmEb8zNRBPCvQgpR8cHxTlvN/H80Yf0k=; b=EoJ1qmEOKSUCBwkQRzt0EzDiGMFIeWFXfyNt6MsH6is7cCgZCMc4XeOLgTDIW14Ak5 wLOHnh3L8HtK8RrIMgkY1nNwGQxS2vdPriUehkBxVckEO3HbXNLSUl8R0tNW0OQZFTbo wx9jU6jMcU+H9pVyaVKplHIe41JynJuXjsHdAR+kFCo7vJzxBgjlLT8b+lRAPrY/7P6W HyFgoOb2+pDDOqIncLTlzF3kLZnyJbuf+LPj0X/eDEahLg83IXcwkEjBD02VlqQWgCMZ STMxiUgU6xiPPIkT942QBcBTdjKRKcTlR/OjrstOdVYEbVQ1qaJdDAwLhgQNDRW06vu1 D8Hw==
MIME-Version: 1.0
Received: by 10.14.127.198 with SMTP id d46mr2050589eei.101.1339099058557; Thu, 07 Jun 2012 12:57:38 -0700 (PDT)
Received: by 10.194.0.238 with HTTP; Thu, 7 Jun 2012 12:57:38 -0700 (PDT)
In-Reply-To: <op.wfjd0s2diw9drz@riaa>
References: <op.wfjd0s2diw9drz@riaa>
Date: Thu, 7 Jun 2012 12:57:38 -0700
Message-ID: <CAP+FsNfD3=OYibM8hZOWAB8qxmnO7K=e4=JK+BV50P8y7sDZ6A@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=90e6ba61530ab4534c04c1e74b2f
Received-SPF: pass client-ip=74.125.83.43; envelope-from=grmocg@gmail.com; helo=mail-ee0-f43.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 1SciqK-0003kE-Or d8bde25fb4a9abd161313395b744a6ec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/CAP+FsNfD3=OYibM8hZOWAB8qxmnO7K=e4=JK+BV50P8y7sDZ6A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13652
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sciqa-0006Hv-Ta@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 19:58:20 +0000

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

Martin-
Thanks for this, it is great!

On Thu, Jun 7, 2012 at 7:18 AM, Martin Nilsson <nilsson@opera.com> wrote:

>
> I've taken an internal assessment of SPDY and cleaned it up a bit
> (removing internal or 3rd party NDA information). Apologies in advance to
> any misunderstandings, mistakes or inaccuracies I've managed to produce.
>
>
>
>                             SPDY review
>
> 1. Introduction
>
>  Opera Software has a long experience of HTTP optimization protocols,
>  both through our own products Opera Mini and Opera Turbo, but also
>  from integrating with 3rd party optimization, predominantly in the
>  mobile space. In this document we compare the features of SPDY with
>  our implementation and deployment experiences from equivalent
>  features of other protocols.
>

Can you tell us more about your or Opera's operational experience with
equivalent features?
I'd be rapt at any such presentation!


>
>  We struggled a bit with the format of this document, as there are a
>  lot of interdependencies between the protocol format and its
>  different features. We've decided to present the review in three
>  parts. First we look at the individual conceptual features of SPDY,
>  directly followed by a quick evaluation for each. After that comes a
>  short discussion of the binary serialization of the protocol.
>  Finally we offer our ideas for how to improve the SPDY protocol.
>

I'm interested in how you'd prefer it organized. Anything that makes it
clearer and easier to understand is always good.


>
>  This document is a compilation of analysis and comments from
>  multiple teams within Opera, and I would like to specially thank Per
>  Hedbor, Markus Johansson and Jonny Rein Eriksen for their
>  contributions.
>

Thanks all!


>
>  A review of the SPDY protocol, based on the ID
>  draft-mbelshe-httpbis-spdy-00. Last update 2012-04-19.
>
> 2. Feature overview
>
>  SPDY is a transport layer protocol that acts on top of TCP and
>  replaces HTTP while allowing all HTTP semantics to be mapped onto
>  SPDY. In addition SPDY provides
>
>  - Enforced pipelining
>  - Out of order response
>  - Multiplexed requests and responses
>  - Flow control
>  - Header compression
>  - Asynchronous headers
>  - Push
>
> 2.1. Pipelining & response order
>
>  Pipelining is very important to avoid the overhead of setting up new
>  TCP connections. Limiting the number of connections is also
>  beneficial for congestion control. HTTP pipelining is defined in
>  HTTP 1.1 and Opera has spent considerable effort to make it work as
>  widely as possible. Unfortunately quite a lot of equipment doesn't
>  implement HTTP 1.1 correctly, so lots of heuristics has to be
>  applied in real world scenarios.
>
>  Given the non-uniform response times of different requests from the
>  same server, due to different amount of backend work required to
>  generate a response, pipelining is prone to stalling when a slow
>  request blocks a faster request. Out-of-order response is a good
>  solution to the problem. It can easily be added to HTTP by adding a
>  request ID header in each request and expecting corresponding
>  response IDs in the responses.
>
>  By adding priority information to the requests the server can take
>  active decision in which resource to send first.
>

> 2.1.1. Evaluation
>
>  Pipelining and out-of-order response are two important concepts that
>  significantly improves HTTP performance. Client indicated priority
>  preference further enhances the protocol. It is worth noting that
>  for implementation purposes, e.g. issues in underlaying software
>  layers, multiple connections may be preferable to a single one.
>
>

Also, browsers can eliminate heuristics about delaying the transmission of
requests, at least when tied with using one connection.




> 2.2. Multiplexing
>
>  The SPDY multiplexing feature allows for multiple resources to load
>  in parallel over a single TCP connection. The benefit is that it
>  offers a protection against stalling of prioritized
>  resources. Stalling in this case doesn't mean that the connection is
>  idle, but it could be downloading a large, low prioritized resource,
>  when the client issues a request for a higher prioritized resource.
>
>  An alternative to multiplexing would be to open a new connection and
>  let the current one, with only low priority requests on it, starve
>  until the high priority items have been handled. This is however bad
>  from congestion control point of view, and resets any states, like
>  compression contexts, associated with the first connection (although
>  those could theoretically be copied to new connections). Also, since
>  SPDY supports push, it may not be technically possible to initiate a
>  new connection from the server to push a high priority resource to
>  the client.
>
>  Finally we can note that multiplexing in SPDY always incur a data
>  overhead. The lower latency we want for higher priority requests to
>  reach the other side, the higher the overhead will be.
>
> 2.2.1. Evaluation
>
>  Multiplexing allows for higher priority requests/responses to
>  interrupt lower priority uploads/downloads without OOB signaling
>  that interferes with TCP.
>
>  The SPDY specification offers no insight in how frame sizes should
>  be chosen.
>

We wanted to allow for implementations to do whatever seems right at the
time.
Any addition to the spec here would hopefully be a guideline and not an
implementation requirement.
2k-4k is fine for today, but if goodput is 10X higher in the future,
scaling this up reduces overhead by 10X.
Overhead isn't terribly large at either size-- with a 4k frame, you'll have
0.19% overhead due to the protocol overhead.



>
> 2.3. Flow control
>
>  SPDY provides a per stream flow control mechanism by defining a
>  recipient buffer size that the sender needs to keep track of. The
>  recipient has to acknowledge received data by responding with the
>  currently available buffer space. This feature can be used for
>  several things.
>
>  - Throttling of then entire connection due to one endpoint having
>    capacity issues.
>
>  - Dynamic reprioritization of streams.
>

I'm convinced that allowing the client to announce a new priority for an
existing stream would be good. It shouldn't have to rely upon flow control
for that.


>
>  - Throttling of unwanted pushed content.


I'll talk about push soon. :)


>


>  - Throttling of a specific stream due to backend issues for that
>    specific stream.
>

This is the main real-world usecase, imho.


>
>  - Throttling of a specific stream due to rate of consumption.
>
> 2.3.1. Evaluation
>
>  While not stated in the SPDY specification what problem the SPDY
>  level flow control aims to solve, Mike Belshe writes an example in
>  his blog that stalling recipient of data as a situation where SPDY
>  flow control is helpful, to avoid buffering potentially unbound
>  amount of data. While the concerns is valid, flow control looks like
>  overkill to something where a per-channel pause control frame could
>  do the same job with less implementation and protocol overhead.


xon/xoff flow control seems difficult to get right.
It either gives you no guarantees about the amount of receiver-side
buffering, or it requires a prescient determination of the channel BDP,
which as far as I know isn't a solvable problem with current network
architectures :)


>


>  To throttle the entire connection there is already data rate
>  management implemented in TCP. It is possible to throttle specific
>  streams, but that should already be taken care of by the priority
>  settings. Dynamic reprioritization is possible, but would be better
>  made into an explicit stream property.


Awesome, totally agree as you can see!


> Throttling or avoiding pushed
>  content is another reason, but again an explicit mechanism would be
>  preferrable. For real time communication each sender already have
>  the ability to let one stream starve other streams, though UDP would
>  be preferrable over TCP. Also note that TCP provides the URG channel
>  for exception messaging.
>
>
Does URG work? last time I looked, PSH, etc. was ignored by hardware that
I've had experience with. I'd be particularly suspicious of it working on
mobile devices given the lower-layer's attempts (mostly successful) to
cover up random loss at the radio level.


> 2.4. Header compression
>
>  For many applications the HTTP headers are a significant
>  overhead. This is most visible in the mobile space where the content
>  itself often is heavily minimized for the lowest common denominator,
>  while at the same time mobile devices can send huge amounts of
>  UAProf headers in every request. Even on Desktop the amount of
>  cookies sent for every request is significant. Header compression is
>  a good solution to this issue.
>
>  SPDY uses a binary representation of headers, encoded as a set of
>  Hollerith encoded key-value pairs. The first line of the HTTP
>  request is also broken into its components and sent as key-value
>  pairs in the stream headers. To mitigate this somewhat less compact
>  representation of the headers, SPDY compresses the headers with
>  zlib, uses a persistent LZ-window for the connection and uses a
>  static dictionary.
>

> 2.4.1. Evaluation
>
>  Header compression is a good feature with real world applications,
>  and deflate with persistent context is a good approach to achieve
>  it. A fixed dictionary is probably not very effective as it
>  complicates the implementation while only providing initial value to
>  the compression. As an example, this is how the average requests
>  sizes compares between HTTP and SPDY in different modes, using the
>  set of captured headers used to train the current SPDY 3 dictionary.
>
>    HTTP                             821.1
>    HTTP zlib compressed             543.5
>    HTTP compressed with dictionary  497.0
>    SPDY                             913.7
>    SPDY zlib compressed             606.5
>    SPDY compressed with dictionary  517.0
>
>  I.e. Just putting the HTTP request in a SPDY stream (after removing
>  disallowed headers) only differs by 20 bytes to SPDY binary header
>  format with dictionary based zlib compression. The benefit of using
>  a dictionary basically goes away entirely on the subsequent request.
>
>  For very constrained devices the major issue with using deflate is
>  the 32K LZ window. The actual decompression is very light weight and
>  doesn't require much code. When sending data, using the no
>  compression mode of deflate effectively disables compression with
>  almost no code. Using fixed huffman codes is almost as easy.
>

I agree totally that better approaches on the compression side likely exist.
I'm surprised at the numbers, though. Our experience in the past was that
headers were significantly more compressed than you're seeing here.



>
> 2.5. Asynchronous headers
>
>  The HEADERS frame allows either side set additional headers for the
>  request or response at any point while the stream is open. This
>  differs from normal HTTP semantics where headers are sent strictly
>  before any data, and at half duplex, and allows for parallel
>  generation of headers and contents. While this is already possible
>  to do with chunked encoding trailer, it is not a feature in popular
>  use.
>
> 2.5.1. Evaluation
>
>  The problem with this frame is that it creates a situation where a
>  potentially critical header for the interpretation of the content is
>  sent last, thus forcing the receiver to put data processing on hold.
>  As additional headers can be sent up until the stream is closed
>  (though it doesn't specify what is allowed on half-closed
>  connections) this potentially makes all streams subject to last
>  minute reinterpretations. The specification doesn't define the
>  behavior when updating already sent headers. This feature also makes
>  SPDY more vulnerable to protocol injection attacks.


> 2.6. Push
>
>  SPDY allows the server to open a stream towards the client and
>  effectively push content to the client. The idea is cache seeding,
>  where resources likely or known to be requested soon will be pushed
>  to the client. Server push has to happen as a result of an earlier
>  client request, which must be explicitly linked.
>
> 2.6.1. Evaluation
>
>  As defined the feature is not powerful enough to push non-request
>  related content (such as new RSS items), while also lacking
>  mechanisms to limit the size of pushed content or fully disable
>  pushing. The client has the option to read and discard this
>  information, but that may be a costly waste of bandwidth.
>
>
>
I'll talk about server push a bit later.


> 3. Binary representation
>
> 3.1. Control frame version
>
>  The version field of the control frame is odd for several different
>  reasons.
>
>  - The field is huge, 15 bits, which given the rate of incompatible
>  changes in released protocols (IPv6, HTTP 1.1 etc) appears
>  unwarranted. Also, adding more room for the version field is easy if
>  different versions are considered incompatible. The version field is
>  meaningless if different versions are compatible.
>
>  - The version is sent in every control frame, which appears overly
>  redundant.
>
>  - There is no clear semantics of how the version should be
>  handled. While status code 4, UNSUPPORTED_VERSION, gives a clue that
>  messages with unknown versions should be rejected, there is only a
>  mechanism to do it for streams.
>
>
100% agreed.
There is a lot of room for improvement in various field sizes, and
elimination of repeated data.


> 3.2. Field sizes
>
>  The specification is consistently using 24 bit frame sizes but 32
>  bit sizes for almost all counters and size fields for frame internal
>  data. In design notes 4.4. "Fixed vs Variable Length Fields" the
>  authors note that this is done for speed and simplicity. There is no
>  reason why an 8, 16 or 24 bit field wouldn't be simple or fast
>  enough, especially given the existence of 31-bit and 3-bit fields
>  that also exists in the specification.
>
> 3.3. Directionality
>
>  While the SPDY draft attempt to implement two independent layers, a
>  general purpose framing layer with an HTTP-like layer on top of it,
>  this separation creates some unneeded complexities. The two main use
>  cases for SPDY is HTTP request-response and HTTP push. Both of these
>  are unidirectional once established and both of them have some
>  mandatory header fields that are more efficiently encoded in a fixed
>  structure.
>

We'll hopefully put websockets over it as well. We've been suffering from a
lack of interested parties in websocket as it exists right now, and so a
lack of interest in making it go.



>
> 3.4. Stream header coding
>
>  Multiple headers with the same name are encoded as a list of null
>  separated values. This removes the possibility to store binary
>  values in headers, which both prevents unencoded values and more
>  natural representations of e.g. size, date, age, hash etc.
>

Agreed. If I remember properly, interpretation of these fields is only
defined for HTTP streams, where we shouldn't be seeing binary in the keys
or values.
For a non-HTTP stream, the interpretation is whatever the implementation
decides to do.
Since the key/values are length-prefixed instead of token-based, any number
of nulls can be encoded.


>
> 4. Proposed changes
>
>  This section details some ideas for improvements of the SPDY draft.
>
> 4.1. Handshake
>
>  We believe the versioning semantics needs to be better formalized,
>  and that the version information can be moved into a connection
>  handshake. In its simplest form a SETTINGS frame is always sent
>  first in the connection, establishing the version and connection
>  parameters. A connection should be rejected if the version is out of
>  range for the server. The server should respond with the highest
>  supported protocol version before closing.
>

So long as it doesn't require the client or server to wait for an RTT
before sending data, sounds good!



>
> 4.2. Field sizes
>
>  Define a reasonable range for each field, based on statistics where
>  possible, and resize them where appropriate.
>
> 4.3. Specialized HTTP frames
>
>  For the common case of using SPDY as an HTTP substitute, create
>  special frames to open HTTP request-response and HTTP push
>  streams. This removes the need for explicit unidirectional flag and
>  mandatory header values.
>

It moves mandatory values into mandatory frames, right?
I can see that we might achieve a small byte savings at the cost of making
it more difficult for proxies to deal with non-HTTP stuff in the future?
I guess I mean I don't see the advantage.



>
> 4.4. Typed key-value pairs
>
>  Create a better structure for the key-value pair lists where it is
>  possible to have binary values and typed values. The types can
>  include binary string, integer and list. Standardize how all
>  standard HTTP headers should be normalized and typed, including
>  which ones are disallowed to be in lists of multiple values.
>
>
I'm not sure if this is necessary? Where would it be used?
Right now HEADERS has a definition of interpretation for HTTP, but if not
used for HTTP, since it uses length-prefix fields instead of token-based
fields, you can put anything in without worrying about escaping.


>  Introduce a mechanism that allows headers to be properties of the
>  stream, to be used internally in SPDY, and move optional parameters
>  and parameters that seldom deviate from default value to use
>  internal headers (e.g. priority, slot, associate-to-stream-id). This
>  also provides a mechanism for easy extension.
>

Do you mean properties of the session as opposed to stream?
If so I heartily agree. At the last IETF, when I was talking to Willy, it
seemed that we both agreed that defining per-session, per-connection, and
per-stream headers would obviate much of the requirement for compression.
All of the compression stuff can use work.


>
> 4.5. Push
>
>  The client needs to be in control of what pushed data to accept. A
>  simple accept flag may be too simplisitc, as it prevents tricks like
>  redirect collapsing, but would be an improvement nevertheless.
>
>
There is a lot of confusion about server-push, which I hope to clear up :)
The server *always* gets to decide what to send. The client only gets the
choice to interpret it or ignore it.
The client is *never* in control of what it accepts. This is true of any
protocol, including HTTP/1.1 today.

SPDY's server-push allows for naming of the resources, and thus it allows
for them to be stored in the cache as separate objects.
In *all* other ways, server-push is 100% equivalent to inlining stuff in
your response.

To reiterate, server push is functionally equivalent to inlining while
identifying the resource name.
Are we suggesting that clients should have the ability to ignore inlined
data?
If not, then why would we be arguing against server-push as inlining and
server-push are mostly equivalent...



> 4.6. Flow control
>
>  Remove the SPDY flow control and instead introduce a control
>  mechanism to actively put a stream on hold. If priority is moved to
>  stream properties, as suggested in 3.4., dynamic reprioritization is
>  possible.
>

There is a lot of conversation happening around flow control right now on
the spdy-dev list, and I'd prefer to not have two separate conversations
about it :)


>
> 4.7. Header compression
>
>  Remove the header compression dictionary. It creates little benefit
>  for the added complexity it introduces.
>
> 4.8. Asynchronous headers
>
>  Specify the asynchronous header feature stricter so that overwriting
>  HTTP headers isn't allowed and the receiver knows in advance what
>  headers will be generated later.
>
>
I'm not actually familiar with the expected semantics for the
interpretation of chunk-extensions and trailers in HTTP/1.1.
Last time I looked it wasn't defined?

I'd be fine defining initial-headers, stream-metadata, and final-headers I
guess?
We all know about the usecases for initial-headers.
Stream-metadata will get interesting as we wish to provide integrity
security, checksums, etc. for streams.
final-headers could possibly useful for debugging and profiling responses
since it is the obvious place for a server to insert data about what it did
for you.

-=R



> /Martin Nilsson
>
> --
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>
>

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

Martin-<div>Thanks for this, it is great!</div><div><br><div class=3D"gmail=
_quote">On Thu, Jun 7, 2012 at 7:18 AM, Martin Nilsson <span dir=3D"ltr">&l=
t;<a href=3D"mailto:nilsson@opera.com" target=3D"_blank">nilsson@opera.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>
I&#39;ve taken an internal assessment of SPDY and cleaned it up a bit (remo=
ving internal or 3rd party NDA information). Apologies in advance to any mi=
sunderstandings, mistakes or inaccuracies I&#39;ve managed to produce.<br>

<br>
<br>
<br>
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 SPDY review<br>
<br>
1. Introduction<br>
<br>
 =A0Opera Software has a long experience of HTTP optimization protocols,<br=
>
 =A0both through our own products Opera Mini and Opera Turbo, but also<br>
 =A0from integrating with 3rd party optimization, predominantly in the<br>
 =A0mobile space. In this document we compare the features of SPDY with<br>
 =A0our implementation and deployment experiences from equivalent<br>
 =A0features of other protocols.<br></blockquote><div><br></div><div>Can yo=
u tell us more about your or Opera&#39;s operational experience with equiva=
lent features?</div><div>I&#39;d be rapt at any such presentation!</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>
 =A0We struggled a bit with the format of this document, as there are a<br>
 =A0lot of interdependencies between the protocol format and its<br>
 =A0different features. We&#39;ve decided to present the review in three<br=
>
 =A0parts. First we look at the individual conceptual features of SPDY,<br>
 =A0directly followed by a quick evaluation for each. After that comes a<br=
>
 =A0short discussion of the binary serialization of the protocol.<br>
 =A0Finally we offer our ideas for how to improve the SPDY protocol.<br></b=
lockquote><div><br></div><div>I&#39;m interested in how you&#39;d prefer it=
 organized. Anything that makes it clearer and easier to understand is alwa=
ys good.</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>
 =A0This document is a compilation of analysis and comments from<br>
 =A0multiple teams within Opera, and I would like to specially thank Per<br=
>
 =A0Hedbor, Markus Johansson and Jonny Rein Eriksen for their<br>
 =A0contributions.<br></blockquote><div><br></div><div>Thanks all!</div><di=
v>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex">
<br>
 =A0A review of the SPDY protocol, based on the ID<br>
 =A0draft-mbelshe-httpbis-spdy-00. Last update 2012-04-19.<br>
<br>
2. Feature overview<br>
<br>
 =A0SPDY is a transport layer protocol that acts on top of TCP and<br>
 =A0replaces HTTP while allowing all HTTP semantics to be mapped onto<br>
 =A0SPDY. In addition SPDY provides<br>
<br>
 =A0- Enforced pipelining<br>
 =A0- Out of order response<br>
 =A0- Multiplexed requests and responses<br>
 =A0- Flow control<br>
 =A0- Header compression<br>
 =A0- Asynchronous headers<br>
 =A0- Push<br>
<br>
2.1. Pipelining &amp; response order<br>
<br>
 =A0Pipelining is very important to avoid the overhead of setting up new<br=
>
 =A0TCP connections. Limiting the number of connections is also<br>
 =A0beneficial for congestion control. HTTP pipelining is defined in<br>
 =A0HTTP 1.1 and Opera has spent considerable effort to make it work as<br>
 =A0widely as possible. Unfortunately quite a lot of equipment doesn&#39;t<=
br>
 =A0implement HTTP 1.1 correctly, so lots of heuristics has to be<br>
 =A0applied in real world scenarios.<br>
<br>
 =A0Given the non-uniform response times of different requests from the<br>
 =A0same server, due to different amount of backend work required to<br>
 =A0generate a response, pipelining is prone to stalling when a slow<br>
 =A0request blocks a faster request. Out-of-order response is a good<br>
 =A0solution to the problem. It can easily be added to HTTP by adding a<br>
 =A0request ID header in each request and expecting corresponding<br>
 =A0response IDs in the responses.<br>
<br>
 =A0By adding priority information to the requests the server can take<br>
 =A0active decision in which resource to send first.<br></blockquote><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex"><br>
2.1.1. Evaluation<br>
<br>
 =A0Pipelining and out-of-order response are two important concepts that<br=
>
 =A0significantly improves HTTP performance. Client indicated priority<br>
 =A0preference further enhances the protocol. It is worth noting that<br>
 =A0for implementation purposes, e.g. issues in underlaying software<br>
 =A0layers, multiple connections may be preferable to a single one.<br>
<br></blockquote><div><br></div><div><div><br class=3D"Apple-interchange-ne=
wline">Also, browsers can eliminate heuristics about delaying the transmiss=
ion of requests, at least when tied with using one connection.</div><div>
=A0</div></div><div><br></div><div>=A0</div><blockquote class=3D"gmail_quot=
e" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2.2. Multiplexing<br>
<br>
 =A0The SPDY multiplexing feature allows for multiple resources to load<br>
 =A0in parallel over a single TCP connection. The benefit is that it<br>
 =A0offers a protection against stalling of prioritized<br>
 =A0resources. Stalling in this case doesn&#39;t mean that the connection i=
s<br>
 =A0idle, but it could be downloading a large, low prioritized resource,<br=
>
 =A0when the client issues a request for a higher prioritized resource.<br>
<br>
 =A0An alternative to multiplexing would be to open a new connection and<br=
>
 =A0let the current one, with only low priority requests on it, starve<br>
 =A0until the high priority items have been handled. This is however bad<br=
>
 =A0from congestion control point of view, and resets any states, like<br>
 =A0compression contexts, associated with the first connection (although<br=
>
 =A0those could theoretically be copied to new connections). Also, since<br=
>
 =A0SPDY supports push, it may not be technically possible to initiate a<br=
>
 =A0new connection from the server to push a high priority resource to<br>
 =A0the client.<br>
<br>
 =A0Finally we can note that multiplexing in SPDY always incur a data<br>
 =A0overhead. The lower latency we want for higher priority requests to<br>
 =A0reach the other side, the higher the overhead will be.<br>
<br>
2.2.1. Evaluation<br>
<br>
 =A0Multiplexing allows for higher priority requests/responses to<br>
 =A0interrupt lower priority uploads/downloads without OOB signaling<br>
 =A0that interferes with TCP.<br>
<br>
 =A0The SPDY specification offers no insight in how frame sizes should<br>
 =A0be chosen.<br></blockquote><div><br></div><div>We wanted to allow for i=
mplementations to do whatever seems right at the time.</div><div>Any additi=
on to the spec here would hopefully be a guideline and not an implementatio=
n requirement.</div>
<div>2k-4k is fine for today, but if goodput is 10X higher in the future, s=
caling this up reduces overhead by 10X.</div><div>Overhead isn&#39;t terrib=
ly large at either size--=A0with a 4k frame, you&#39;ll have 0.19% overhead=
 due to the protocol overhead.</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">
<br>
2.3. Flow control<br>
<br>
 =A0SPDY provides a per stream flow control mechanism by defining a<br>
 =A0recipient buffer size that the sender needs to keep track of. The<br>
 =A0recipient has to acknowledge received data by responding with the<br>
 =A0currently available buffer space. This feature can be used for<br>
 =A0several things.<br>
<br>
 =A0- Throttling of then entire connection due to one endpoint having<br>
 =A0 =A0capacity issues.<br>
<br>
 =A0- Dynamic reprioritization of streams.<br></blockquote><div><br></div><=
div>I&#39;m convinced that allowing the client to announce a new priority f=
or an existing stream would be good. It shouldn&#39;t have to rely upon flo=
w control for that.</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>
 =A0- Throttling of unwanted pushed content.</blockquote><div><br></div><di=
v>I&#39;ll talk about push soon. :)</div><div>=A0</div><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex">
=A0</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">
<br>
 =A0- Throttling of a specific stream due to backend issues for that<br>
 =A0 =A0specific stream.<br></blockquote><div><br></div><div>This is the ma=
in real-world usecase, imho.</div><div>=A0</div><blockquote class=3D"gmail_=
quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1=
ex">
<br>
 =A0- Throttling of a specific stream due to rate of consumption.<br>
<br>
2.3.1. Evaluation<br>
<br>
 =A0While not stated in the SPDY specification what problem the SPDY<br>
 =A0level flow control aims to solve, Mike Belshe writes an example in<br>
 =A0his blog that stalling recipient of data as a situation where SPDY<br>
 =A0flow control is helpful, to avoid buffering potentially unbound<br>
 =A0amount of data. While the concerns is valid, flow control looks like<br=
>
 =A0overkill to something where a per-channel pause control frame could<br>
 =A0do the same job with less implementation and protocol overhead.</blockq=
uote><div><br></div><div>xon/xoff flow control seems difficult to get right=
.</div><div>It either gives you no guarantees about the amount of receiver-=
side buffering, or it requires a prescient determination of the channel BDP=
, which as far as I know isn&#39;t a solvable problem with current network =
architectures :)</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">=A0</blockquote><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">

<br>
 =A0To throttle the entire connection there is already data rate<br>
 =A0management implemented in TCP. It is possible to throttle specific<br>
 =A0streams, but that should already be taken care of by the priority<br>
 =A0settings. Dynamic reprioritization is possible, but would be better<br>
 =A0made into an explicit stream property. </blockquote><div><br></div><div=
>Awesome, totally agree as you can see!</div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">
Throttling or avoiding pushed<br>
 =A0content is another reason, but again an explicit mechanism would be<br>
 =A0preferrable. For real time communication each sender already have<br>
 =A0the ability to let one stream starve other streams, though UDP would<br=
>
 =A0be preferrable over TCP. Also note that TCP provides the URG channel<br=
>
 =A0for exception messaging.<br>
<br></blockquote><div><br></div><div>Does URG work? last time I looked, PSH=
, etc. was ignored by hardware that I&#39;ve had experience with. I&#39;d b=
e particularly suspicious of it working on mobile devices given the lower-l=
ayer&#39;s attempts (mostly successful) to cover up random loss at the radi=
o level.=A0</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
2.4. Header compression<br>
<br>
 =A0For many applications the HTTP headers are a significant<br>
 =A0overhead. This is most visible in the mobile space where the content<br=
>
 =A0itself often is heavily minimized for the lowest common denominator,<br=
>
 =A0while at the same time mobile devices can send huge amounts of<br>
 =A0UAProf headers in every request. Even on Desktop the amount of<br>
 =A0cookies sent for every request is significant. Header compression is<br=
>
 =A0a good solution to this issue.<br>
<br>
 =A0SPDY uses a binary representation of headers, encoded as a set of<br>
 =A0Hollerith encoded key-value pairs. The first line of the HTTP<br>
 =A0request is also broken into its components and sent as key-value<br>
 =A0pairs in the stream headers. To mitigate this somewhat less compact<br>
 =A0representation of the headers, SPDY compresses the headers with<br>
 =A0zlib, uses a persistent LZ-window for the connection and uses a<br>
 =A0static dictionary.<br></blockquote><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
2.4.1. Evaluation<br>
<br>
 =A0Header compression is a good feature with real world applications,<br>
 =A0and deflate with persistent context is a good approach to achieve<br>
 =A0it. A fixed dictionary is probably not very effective as it<br>
 =A0complicates the implementation while only providing initial value to<br=
>
 =A0the compression. As an example, this is how the average requests<br>
 =A0sizes compares between HTTP and SPDY in different modes, using the<br>
 =A0set of captured headers used to train the current SPDY 3 dictionary.<br=
>
<br>
 =A0 =A0HTTP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 821.1<=
br>
 =A0 =A0HTTP zlib compressed =A0 =A0 =A0 =A0 =A0 =A0 543.5<br>
 =A0 =A0HTTP compressed with dictionary =A0497.0<br>
 =A0 =A0SPDY =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 913.7<=
br>
 =A0 =A0SPDY zlib compressed =A0 =A0 =A0 =A0 =A0 =A0 606.5<br>
 =A0 =A0SPDY compressed with dictionary =A0517.0<br>
<br>
 =A0I.e. Just putting the HTTP request in a SPDY stream (after removing<br>
 =A0disallowed headers) only differs by 20 bytes to SPDY binary header<br>
 =A0format with dictionary based zlib compression. The benefit of using<br>
 =A0a dictionary basically goes away entirely on the subsequent request.<br=
>
<br>
 =A0For very constrained devices the major issue with using deflate is<br>
 =A0the 32K LZ window. The actual decompression is very light weight and<br=
>
 =A0doesn&#39;t require much code. When sending data, using the no<br>
 =A0compression mode of deflate effectively disables compression with<br>
 =A0almost no code. Using fixed huffman codes is almost as easy.<br></block=
quote><div><br></div><div>I agree totally that better approaches on the com=
pression side likely exist.</div><div>I&#39;m surprised at the numbers, tho=
ugh. Our experience in the past was that headers were significantly more co=
mpressed than you&#39;re seeing here.</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">
<br>
2.5. Asynchronous headers<br>
<br>
 =A0The HEADERS frame allows either side set additional headers for the<br>
 =A0request or response at any point while the stream is open. This<br>
 =A0differs from normal HTTP semantics where headers are sent strictly<br>
 =A0before any data, and at half duplex, and allows for parallel<br>
 =A0generation of headers and contents. While this is already possible<br>
 =A0to do with chunked encoding trailer, it is not a feature in popular<br>
 =A0use.<br>
<br>
2.5.1. Evaluation<br>
<br>
 =A0The problem with this frame is that it creates a situation where a<br>
 =A0potentially critical header for the interpretation of the content is<br=
>
 =A0sent last, thus forcing the receiver to put data processing on hold.<br=
>
 =A0As additional headers can be sent up until the stream is closed<br>
 =A0(though it doesn&#39;t specify what is allowed on half-closed<br>
 =A0connections) this potentially makes all streams subject to last<br>
 =A0minute reinterpretations. The specification doesn&#39;t define the<br>
 =A0behavior when updating already sent headers. This feature also makes<br=
>
 =A0SPDY more vulnerable to protocol injection attacks.=A0</blockquote><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #c=
cc solid;padding-left:1ex">
<br>
2.6. Push<br>
<br>
 =A0SPDY allows the server to open a stream towards the client and<br>
 =A0effectively push content to the client. The idea is cache seeding,<br>
 =A0where resources likely or known to be requested soon will be pushed<br>
 =A0to the client. Server push has to happen as a result of an earlier<br>
 =A0client request, which must be explicitly linked.<br>
<br>
2.6.1. Evaluation<br>
<br>
 =A0As defined the feature is not powerful enough to push non-request<br>
 =A0related content (such as new RSS items), while also lacking<br>
 =A0mechanisms to limit the size of pushed content or fully disable<br>
 =A0pushing. The client has the option to read and discard this<br>
 =A0information, but that may be a costly waste of bandwidth.<br>
<br>
<br></blockquote><div><br></div><div>I&#39;ll talk about server push a bit =
later.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3. Binary representation<br>
<br>
3.1. Control frame version<br>
<br>
 =A0The version field of the control frame is odd for several different<br>
 =A0reasons.<br>
<br>
 =A0- The field is huge, 15 bits, which given the rate of incompatible<br>
 =A0changes in released protocols (IPv6, HTTP 1.1 etc) appears<br>
 =A0unwarranted. Also, adding more room for the version field is easy if<br=
>
 =A0different versions are considered incompatible. The version field is<br=
>
 =A0meaningless if different versions are compatible.<br>
<br>
 =A0- The version is sent in every control frame, which appears overly<br>
 =A0redundant.<br>
<br>
 =A0- There is no clear semantics of how the version should be<br>
 =A0handled. While status code 4, UNSUPPORTED_VERSION, gives a clue that<br=
>
 =A0messages with unknown versions should be rejected, there is only a<br>
 =A0mechanism to do it for streams.<br>
<br></blockquote><div><br></div><div>100% agreed.</div><div>There is a lot =
of room for improvement in various field sizes, and elimination of repeated=
 data.</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

3.2. Field sizes<br>
<br>
 =A0The specification is consistently using 24 bit frame sizes but 32<br>
 =A0bit sizes for almost all counters and size fields for frame internal<br=
>
 =A0data. In design notes 4.4. &quot;Fixed vs Variable Length Fields&quot; =
the<br>
 =A0authors note that this is done for speed and simplicity. There is no<br=
>
 =A0reason why an 8, 16 or 24 bit field wouldn&#39;t be simple or fast<br>
 =A0enough, especially given the existence of 31-bit and 3-bit fields<br>
 =A0that also exists in the specification.<br>
<br>
3.3. Directionality<br>
<br>
 =A0While the SPDY draft attempt to implement two independent layers, a<br>
 =A0general purpose framing layer with an HTTP-like layer on top of it,<br>
 =A0this separation creates some unneeded complexities. The two main use<br=
>
 =A0cases for SPDY is HTTP request-response and HTTP push. Both of these<br=
>
 =A0are unidirectional once established and both of them have some<br>
 =A0mandatory header fields that are more efficiently encoded in a fixed<br=
>
 =A0structure.<br></blockquote><div><br></div><div>We&#39;ll hopefully put =
websockets over it as well. We&#39;ve been suffering from a lack of interes=
ted parties in websocket as it exists right now, and so a lack of interest =
in making it go.</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">
<br>
3.4. Stream header coding<br>
<br>
 =A0Multiple headers with the same name are encoded as a list of null<br>
 =A0separated values. This removes the possibility to store binary<br>
 =A0values in headers, which both prevents unencoded values and more<br>
 =A0natural representations of e.g. size, date, age, hash etc.<br></blockqu=
ote><div><br></div><div>Agreed. If I remember properly, interpretation of t=
hese fields is only defined for HTTP streams, where we shouldn&#39;t be see=
ing binary in the keys or values.</div>
<div>For a non-HTTP stream, the interpretation is whatever the implementati=
on decides to do.</div><div>Since the key/values are length-prefixed instea=
d of token-based, any number of nulls can be encoded.</div><div>=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
4. Proposed changes<br>
<br>
 =A0This section details some ideas for improvements of the SPDY draft.<br>
<br>
4.1. Handshake<br>
<br>
 =A0We believe the versioning semantics needs to be better formalized,<br>
 =A0and that the version information can be moved into a connection<br>
 =A0handshake. In its simplest form a SETTINGS frame is always sent<br>
 =A0first in the connection, establishing the version and connection<br>
 =A0parameters. A connection should be rejected if the version is out of<br=
>
 =A0range for the server. The server should respond with the highest<br>
 =A0supported protocol version before closing.<br></blockquote><div><br></d=
iv><div>So long as it doesn&#39;t require the client or server to wait for =
an RTT before sending data, sounds good!</div><div><br></div><div>=A0</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
4.2. Field sizes<br>
<br>
 =A0Define a reasonable range for each field, based on statistics where<br>
 =A0possible, and resize them where appropriate.<br>
<br>
4.3. Specialized HTTP frames<br>
<br>
 =A0For the common case of using SPDY as an HTTP substitute, create<br>
 =A0special frames to open HTTP request-response and HTTP push<br>
 =A0streams. This removes the need for explicit unidirectional flag and<br>
 =A0mandatory header values.<br></blockquote><div><br></div><div>It moves m=
andatory values into mandatory frames, right?</div><div>I can see that we m=
ight achieve a small byte savings at the cost of making it more difficult f=
or proxies to deal with non-HTTP stuff in the future?</div>
<div>I guess I mean I don&#39;t see the advantage.</div><div><br></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">
<br>
4.4. Typed key-value pairs<br>
<br>
 =A0Create a better structure for the key-value pair lists where it is<br>
 =A0possible to have binary values and typed values. The types can<br>
 =A0include binary string, integer and list. Standardize how all<br>
 =A0standard HTTP headers should be normalized and typed, including<br>
 =A0which ones are disallowed to be in lists of multiple values.<br>
<br></blockquote><div><br></div><div>I&#39;m not sure if this is necessary?=
 Where would it be used?</div><div>Right now HEADERS has a definition of in=
terpretation for HTTP, but if not used for HTTP, since it uses length-prefi=
x fields instead of token-based fields, you can put anything in without wor=
rying about escaping.</div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
 =A0Introduce a mechanism that allows headers to be properties of the<br>
 =A0stream, to be used internally in SPDY, and move optional parameters<br>
 =A0and parameters that seldom deviate from default value to use<br>
 =A0internal headers (e.g. priority, slot, associate-to-stream-id). This<br=
>
 =A0also provides a mechanism for easy extension.<br></blockquote><div><br>=
</div><div>Do you mean properties of the session as opposed to stream?</div=
><div>If so I heartily agree. At the last IETF, when I was talking to Willy=
, it seemed that we both agreed that defining per-session, per-connection, =
and per-stream headers would obviate much of the requirement for compressio=
n.</div>
<div>All of the compression stuff can use work.</div><div>=A0</div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">
<br>
4.5. Push<br>
<br>
 =A0The client needs to be in control of what pushed data to accept. A<br>
 =A0simple accept flag may be too simplisitc, as it prevents tricks like<br=
>
 =A0redirect collapsing, but would be an improvement nevertheless.<br>
<br></blockquote><div><br></div><div>There is a lot of confusion about serv=
er-push, which I hope to clear up :)</div><div>The server *always* gets to =
decide what to send. The client only gets the choice to interpret it or ign=
ore it.</div>
<div>The client is *never* in control of what it accepts. This is true of a=
ny protocol, including HTTP/1.1 today.</div><div><br></div><div>SPDY&#39;s =
server-push allows for naming of the resources, and thus it allows for them=
 to be stored in the cache as separate objects.</div>
<div>In *all* other ways, server-push is 100% equivalent to inlining stuff =
in your response.</div><div><br></div><div>To reiterate, server push is fun=
ctionally equivalent to inlining while identifying the resource name.</div>
<div>Are we suggesting that clients should have the ability to ignore inlin=
ed data?</div><div>If not, then why would we be arguing against server-push=
 as inlining and server-push are mostly equivalent...</div><div><br></div>
<div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;=
border-left:1px #ccc solid;padding-left:1ex">
4.6. Flow control<br>
<br>
 =A0Remove the SPDY flow control and instead introduce a control<br>
 =A0mechanism to actively put a stream on hold. If priority is moved to<br>
 =A0stream properties, as suggested in 3.4., dynamic reprioritization is<br=
>
 =A0possible.<br></blockquote><div><br></div><div>There is a lot of convers=
ation happening around flow control right now on the spdy-dev list, and I&#=
39;d prefer to not have two separate conversations about it :)</div><div>
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
<br>
4.7. Header compression<br>
<br>
 =A0Remove the header compression dictionary. It creates little benefit<br>
 =A0for the added complexity it introduces.<br>
<br>
4.8. Asynchronous headers<br>
<br>
 =A0Specify the asynchronous header feature stricter so that overwriting<br=
>
 =A0HTTP headers isn&#39;t allowed and the receiver knows in advance what<b=
r>
 =A0headers will be generated later.<span class=3D"HOEnZb"><font color=3D"#=
888888"><br>
<br></font></span></blockquote><div><br></div><div>I&#39;m not actually fam=
iliar with the expected semantics for the interpretation of chunk-extension=
s and trailers in HTTP/1.1.</div><div>Last time I looked it wasn&#39;t defi=
ned?</div>
<div><br></div><div>I&#39;d be fine defining initial-headers, stream-metada=
ta, and final-headers I guess?</div><div>We all know about the usecases for=
 initial-headers.</div><div>Stream-metadata will get interesting as we wish=
 to provide integrity security, checksums, etc. for streams.</div>
<div>final-headers could possibly useful for debugging and profiling respon=
ses since it is the obvious place for a server to insert data about what it=
 did for you.</div><div><br></div><div>-=3DR</div><div><br></div><div>=A0</=
div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><span class=3D"HOEnZb"><font color=3D"#88888=
8">
/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>
</font></span></blockquote></div><br></div>

--90e6ba61530ab4534c04c1e74b2f--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 14:35: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 95D4521F8685 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 14:35:29 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RBnoqSfj-P1G for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 14:35:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9C4A321F8681 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 14:35:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SckL6-00072u-8H for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 21:33:56 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1SckKr-000721-Jl for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 21:33:41 +0000
Received: from mail-ey0-f171.google.com ([209.85.215.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1SckKo-0005lC-Gp for ietf-http-wg@w3.org; Thu, 07 Jun 2012 21:33:39 +0000
Received: by eaaa12 with SMTP id a12so593982eaa.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 14:33:12 -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=RtRqkZusLtVp6t8Jteq6uU2olqy327C0k2JZ7XUGJnU=; b=FRDStUC2IlNFVyeZsfKpMFXCcxh28IgKTbf0tRPfi3Sq9tnOhNktAoLHlNKqa+O7P0 5X4QGhSEv3uPad+oHrNPEh2fwUtJmdV3s/4L+nAIBIgI13Ktxjti2xqhrdPSHjVkrO+y 9Rwvjue0tmkwL7XkxDXzNuTdfwKlnAkcZDsfHvRypHVKFscGkFqDt45h6+15h5JDm6aa iH7oi6M5AyJntbsAqWt2erygmsMwNhMcZE9EJ8fG52tYtEawW8Ys+nbhBqvS8/Tgl39U dg7VqXwCdGJJYa2XVLgIfyHwlsVQL9/WJAAdkQYGUXvetXZ6ZtJtDlsJplycvnva7xQG wDjA==
MIME-Version: 1.0
Received: by 10.14.47.139 with SMTP id t11mr2201563eeb.155.1339104792246; Thu, 07 Jun 2012 14:33:12 -0700 (PDT)
Received: by 10.194.0.238 with HTTP; Thu, 7 Jun 2012 14:33:12 -0700 (PDT)
In-Reply-To: <CBF6305A.3750F%ido@akamai.com>
References: <CAA4WUYhiKeW03-=0KzAd3=RbPe9F3fSu2FGGCWn+-5eaWxCPxg@mail.gmail.com> <CBF6305A.3750F%ido@akamai.com>
Date: Thu, 7 Jun 2012 14:33:12 -0700
Message-ID: <CAP+FsNdE+3+wy_7Lz-hksRwuWBPEkHXAUKeuEweNdd2Qxu1S1w@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: "Safruti, Ido" <ido@akamai.com>
Cc: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>,  Martin Thomson <martin.thomson@gmail.com>, Mike Belshe <mike@belshe.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=90e6ba5bb9ab757b9f04c1e8a1af
Received-SPF: pass client-ip=209.85.215.171; envelope-from=grmocg@gmail.com; helo=mail-ey0-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 1SckKo-0005lC-Gp ed99f7e943eb61c3f55ed06aa2bab23b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CAP+FsNdE+3+wy_7Lz-hksRwuWBPEkHXAUKeuEweNdd2Qxu1S1w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13653
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SckL6-00072u-8H@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 21:33:56 +0000

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

Server push should exist to:
1) Allow elements which would have been inlined to be identified *and
prioritized* separately.
2) Allow content (i.e. website) creators to make some mistakes w.r.t.
resource ordering, and not have the users be severely penalized, which is
what happens with inlining today.
3) Reduce bandwidth:
  a) In cases where the client can advertise elements in the cache which
are associated with the current request, the server could not send those
resources. This would be a strict improvement over inlining.
  b) Even in cases where the client doesn't advertise elements, if the
client closes the streams before the server has sent all the bytes, there
will be a reduction in bytes sent as compared to inlining.

Note I didn't say that it reduces an RTT as compared to HTTP. Rather, it
either:
  1) where the resources were cached it can save multiple RTTs.
  2) Ignoring cache effects it is strictly equivalent to *good* inlining,
where you've put the important resources at the appropriate place in the
document.

Server push is simply better inlining, supported at the layer where it
should be :)


What is the purpose of HTTP? Answering this question seems relevant in
figuring out what the scope is...
-=3DR


On Thu, Jun 7, 2012 at 10:22 AM, Safruti, Ido <ido@akamai.com> wrote:

> I believe we should keep it open for now, as clearly there is some work
> done on that front, and we should wait and see initial results.
> We are also looking at this as a potential way to eliminate a roundtrip
> which is currently required in any other suggestion (where the client
> initiates the requests) - between the page and the embedded resources.
>
>
> From: "William Chan (=E9=99=88=E6=99=BA=E6=98=8C)" <willchan@chromium.org=
>
> To: Martin Thomson <martin.thomson@gmail.com>
> Cc: Mike Belshe <mike@belshe.com>, Gabriel Montenegro <
> Gabriel.Montenegro@microsoft.com>, "ietf-http-wg@w3.org" <
> ietf-http-wg@w3.org>
> Subject: Re: Some thoughts on server push and client pull
>
> On Thu, Jun 7, 2012 at 9:54 AM, Martin Thomson <martin.thomson@gmail.com>=
wrote:
>
>> On 7 June 2012 09:43, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) <willch=
an@chromium.org> wrote:
>> > * Google is working on efforts to seriously deploy SPDY server push on
>> our
>> > properties. I can't comment further on timeline, but I hope to provide
>> data
>> > to guide our discussions, so let's not axe it just yet.
>> > * To my knowledge, Amazon is using it in their Silk browser. A proxy
>> that
>> > uses server push is a fascinating use case, and it'd be cool to get
>> data on
>> > that first.
>>
>> I'm with Mike and Gabriel on this one.
>>
>> It would be nice if HTTP/2.0 discussions could be scoped to exclude
>> discussions on new protocol semantics.  If you feel especially
>> attached to the idea of push, then my preference would be to see a new
>> draft on it.
>>
>
> Can you clarify what you mean by new protocol semantics? Does multiplexin=
g
> count as a new protocol semantic? What's your proposed scope?
>
> I understand the desire to split out server push into a separate draft /
> extension. If we don't have data to support push, then by all means we
> should drop it. The main concern I have is with regards to treating push =
as
> an optional feature / extension. As many of us have stated repeatedly on
> this mailing list, many things that are optional simply become unusable i=
n
> real, public deployments.
>
>
>> --Martin
>>
>
>

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

Server push should exist to:<div>1) Allow elements which would have been in=
lined to be identified *and prioritized* separately.</div><div>2) Allow con=
tent (i.e. website) creators to make some mistakes w.r.t. resource ordering=
, and not have the users be severely penalized, which is what happens with =
inlining today.</div>
<div>3) Reduce bandwidth:=C2=A0</div><div>=C2=A0 a) In cases where the clie=
nt can advertise elements in the cache which are associated with the curren=
t request, the server could not send those resources. This would be a stric=
t improvement over inlining.<br>
=C2=A0 b) Even in cases where the client doesn&#39;t advertise elements, if=
 the client closes the streams before the server has sent all the bytes, th=
ere will be a reduction in bytes sent as compared to inlining.</div><div><b=
r>
</div><div>Note I didn&#39;t say that it reduces an RTT as compared to HTTP=
. Rather, it either:</div><div>=C2=A0 1)=C2=A0where the resources were cach=
ed it can save multiple RTTs.</div><div>=C2=A0 2) Ignoring cache effects it=
 is strictly equivalent to *good* inlining, where you&#39;ve put the import=
ant resources at the appropriate place in the document.=C2=A0</div>
<div><br></div><div>Server push is simply better inlining, supported at the=
 layer where it should be :)</div><div><br></div><div><br></div><div>What i=
s the purpose of HTTP? Answering this question seems relevant in figuring o=
ut what the scope is...</div>
<div>-=3DR</div><div><br></div><div><br><div class=3D"gmail_quote">On Thu, =
Jun 7, 2012 at 10:22 AM, Safruti, Ido <span dir=3D"ltr">&lt;<a href=3D"mail=
to:ido@akamai.com" target=3D"_blank">ido@akamai.com</a>&gt;</span> wrote:<b=
r><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div>I believe we should keep it open for now, as clearly there is s=
ome work done on that front, and we should wait and see initial results.</d=
iv>
<div>We are also looking at this as a potential way to eliminate a roundtri=
p which is currently required in any other suggestion (where the client ini=
tiates the requests) - between the page and the embedded resources.</div>
<div>=C2=A0</div><div><br></div><span><div style=3D"border-right:medium non=
e;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;font-s=
ize:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c4df 1=
pt solid;padding-bottom:0in;border-left:medium none">
<span style=3D"font-weight:bold">From: </span> &quot;William Chan   (=E9=99=
=88=E6=99=BA=E6=98=8C)&quot; &lt;<a href=3D"mailto:willchan@chromium.org" t=
arget=3D"_blank">willchan@chromium.org</a>&gt;<br><span style=3D"font-weigh=
t:bold">To: </span> Martin Thomson &lt;<a href=3D"mailto:martin.thomson@gma=
il.com" target=3D"_blank">martin.thomson@gmail.com</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span> Mike Belshe &lt;<a href=3D"mai=
lto:mike@belshe.com" target=3D"_blank">mike@belshe.com</a>&gt;, Gabriel Mon=
tenegro &lt;<a href=3D"mailto:Gabriel.Montenegro@microsoft.com" target=3D"_=
blank">Gabriel.Montenegro@microsoft.com</a>&gt;, &quot;<a href=3D"mailto:ie=
tf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&quot; &lt;<a h=
ref=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a=
>&gt;<br>
<span style=3D"font-weight:bold">Subject: </span> Re: Some thoughts on serv=
er push and client pull<br></div><div><div class=3D"h5"><div><br></div>On T=
hu, Jun 7, 2012 at 9:54 AM, Martin Thomson <span dir=3D"ltr">&lt;<a href=3D=
"mailto:martin.thomson@gmail.com" target=3D"_blank">martin.thomson@gmail.co=
m</a>&gt;</span> wrote:<br>
<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 7 June 20=
12 09:43, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) &lt;<a href=3D"mailto:=
willchan@chromium.org" target=3D"_blank">willchan@chromium.org</a>&gt; wrot=
e:<br>

&gt; * Google is working on efforts to seriously deploy SPDY server push on=
 our<br>
&gt; properties. I can&#39;t comment further on timeline, but I hope to pro=
vide data<br>
&gt; to guide our discussions, so let&#39;s not axe it just yet.<br>
&gt; * To my knowledge, Amazon is using it in their Silk browser. A proxy t=
hat<br>
&gt; uses server push is a fascinating use case, and it&#39;d be cool to ge=
t data on<br>
&gt; that first.<br><br></div>I&#39;m with Mike and Gabriel on this one.<br=
><br>
It would be nice if HTTP/2.0 discussions could be scoped to exclude<br>
discussions on new protocol semantics. =C2=A0If you feel especially<br>
attached to the idea of push, then my preference would be to see a new<br>
draft on it.<br></blockquote><div><br></div><div>Can you clarify what you m=
ean by new protocol semantics? Does multiplexing count as a new protocol se=
mantic? What&#39;s your proposed scope?</div><div><br></div><div>I understa=
nd the desire to split out server push into a separate draft / extension. I=
f we don&#39;t have data to support push, then by all means we should drop =
it. The main concern I have is with regards to treating push as an optional=
 feature / extension. As many of us have stated repeatedly on this mailing =
list, many things that are optional simply become unusable in real, public =
deployments.</div>
<div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex=
;border-left:1px #ccc solid;padding-left:1ex"><span><font color=3D"#888888"=
><br>
--Martin<br></font></span></blockquote></div><br></div></div></span></div>
</blockquote></div><br></div>

--90e6ba5bb9ab757b9f04c1e8a1af--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 16:14: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 5FB9611E8088 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 16:14:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.223
X-Spam-Level: 
X-Spam-Status: No, score=-10.223 tagged_above=-999 required=5 tests=[AWL=-0.225, BAYES_00=-2.599, HTML_MESSAGE=0.001, J_CHICKENPOX_38=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1X9c7SZlJ4cD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 16:14:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E3D4F21F84A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 16:14:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScltI-0001pu-Qt for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 23:13:20 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alek.storm@gmail.com>) id 1Sclsq-0001Y4-GW for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 23:12:52 +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 <alek.storm@gmail.com>) id 1Sclsi-0002Kq-9Z for ietf-http-wg@w3.org; Thu, 07 Jun 2012 23:12:50 +0000
Received: by lbom4 with SMTP id m4so1001363lbo.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 16:12: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/XwXjdU14KUKeQ07pSetIPKvCB41zhxv+5wHP+9DJo=; b=v6avAQ5RX5Pt2XarcKQMS0/qoQrUTwwZzJ0it2QU+C9O3YYswvwi9iB29RurTQzETA yyRw0BmWW0RdKesZUM9GOji9G6pTlwiYfEFCsoYfVSSvFNLXSm/k1azr+Al/H+MqlOlO Y4aBTXTNAQ7QCiKww65WAq0Un1NqvQ9IHGKDlY96vcEQiQmDHYeqKAHisw/0FimfBYkZ vt1p5s5LCzndWRSRj9EubkhyAnB0/PDvhnnqnuCYKrO3NLJ8tCR7thJHycYX/lHBnpnL PaHKkorAwcVWYH3nsyGVBRMIsURCjhB12lVUD9YjbgFqZ8hwXNbm4uvim6JGHrF1dzaV HC3g==
MIME-Version: 1.0
Received: by 10.112.42.66 with SMTP id m2mr2320526lbl.46.1339110736943; Thu, 07 Jun 2012 16:12:16 -0700 (PDT)
Received: by 10.112.113.166 with HTTP; Thu, 7 Jun 2012 16:12:16 -0700 (PDT)
In-Reply-To: <4A6008CA493DD743AF241A465C01F15F0943D904@SN2PRD0310MB360.namprd03.prod.outlook.com>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CAMNEcwsRUuzCC5qj_paAxDSRdiVEPQ5T1CrrV18fBPJUAD4rfw@mail.gmail.com> <4A6008CA493DD743AF241A465C01F15F0943D904@SN2PRD0310MB360.namprd03.prod.outlook.com>
Date: Thu, 7 Jun 2012 18:12:16 -0500
Message-ID: <CAMNEcwutF-d45n3kW9S9m7iXaZGJC9YXLzO+ad4uuNLuLckMrQ@mail.gmail.com>
From: Alek Storm <alek.storm@gmail.com>
To: Jonathan Silvera <jsilvera@microsoft.com>
Cc: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Matthew Cox <macox@microsoft.com>,  Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>,  Rob Trace <Rob.Trace@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d042184d9ca5ba604c1ea034a
Received-SPF: pass client-ip=209.85.217.171; envelope-from=alek.storm@gmail.com; helo=mail-lb0-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 1Sclsi-0002Kq-9Z 1ab781dc38eda822e60aa280ee677e09
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CAMNEcwutF-d45n3kW9S9m7iXaZGJC9YXLzO+ad4uuNLuLckMrQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13654
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScltI-0001pu-Qt@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 23:13:20 +0000

--f46d042184d9ca5ba604c1ea034a
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Hi Jonathan,

On Thu, Jun 7, 2012 at 4:45 PM, Jonathan Silvera <jsilvera@microsoft.com>wr=
ote:

>  *I believe the client can achieve the same effect in SPDYv3 by sending a
> GOAWAY frame, indicating that the other endpoint must not open any new
> streams:*
>
> **=B7         **There is still data waste by the SYN stream sent to the
> client and also there is nothing on the SPDY spec preventing the server
> from sending data immediately after they send the SYN stream when doing
> Push. This would result in unnecessary SYN_STREAM in the best case and on
> unnecessary pushing of data in the worst case.
>
I believe you're conflating GOAWAY with RST_STREAM+CANCEL. The former
prevents the server from sending any SYN_STREAMs in the first place, while
the latter resets individual streams after their SYN_STREAM has arrived at
the client.

> ****
>
> **=B7         **From reading the SPDY spec, it seems GOAWAY affects the
> connection. However, there are still valid resources that the client woul=
d
> need from the server. Would controlling server push this way require the
> server to add additional logic to continue to serve additional requests o=
n
> the connection, while adding state on the server side to not push
> additional content on subsequent requests when the client has sent a GOAW=
AY
> message? I am not clear on  how GOAWAY due to a client rejecting Push wou=
ld
> differ from normal GOAWAY behavior on both client and server.
>
GOAWAY is asymmetric - only the receiving endpoint is prohibited from
opening new streams. In addition, one GOAWAY will suffice to prevent the
server from pushing streams for all future requests on the connection, not
just ones currently open. This state can be reset by opening a new
connection to the server.

> ****
>
> **=B7         **The SPDY spec, appropriately, does not make GOAWAY
> mandatory. This means that clients that do not implement GOAWAY could sti=
ll
> have data pushed to them.
>
I'm a bit confused by this. Unless otherwise indicated, all parts of the
spdy/3 spec are mandatory. We have specifically provided a way for a client
to tell the server not to open any push streams. If the client only
partially (and therefore, incorrectly) implements the specification, what
are we to do about it?

> ****
>
> **=B7         **Overall  it seems that having the client control PUSH
> behavior is cleaner and is more efficient from a bandwidth perspective.
>
Agreed.

> ****
>
> ** *I proposed a detailed system of cache control for pushed resources on
> the spdy-dev mailing list, before I knew of the existence of this list. I
> plan to post it here soon:*
>

Since server push has been a popular topic in the past 24 hours, I
re-prioritized finishing the proposal and sent it to the list a few hours
ago. You can read it at
http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0514.html,
although since some of the formatting has been mangled, I recommend an
email client for an optimal proposal-reading experience. Feedback is most
welcome, but should probably be posted in that thread.

> **
>
> **=B7         **Great to hear that you are thinking about this. We believ=
e
> that is something that needs to be added to the Push spec. It would
> probably require the client to keep track of resources previously
> downloaded (no data on first navigation to a site) when visiting a top
> level page and advertising the URL for the cached resources, along with t=
he
> corresponding cache validators as part of the top level request. The serv=
er
> would then have to explicitly confirm to the client, which cached resourc=
es
> are valid in addition to initiating SYN streams for the content that it i=
s
> going to push.
>
There is no need to transmit the URI in addition to the cache validators,
as long as a new restriction is added to entity tags: they must be unique
among different URIs. I will add this to the proposal.

>  ****
>
> **=B7         **If you are thinking about something similar, it would be
> good to think about how to minimize data transferred on the wire for vali=
d
> cached resources. In the above model, the client has to send the URL +
> cache validators and the server has to send back the URL to explicitly
> inform the client that the cached resource is valid. The net effect is th=
at
> one additional header with a URL (per valid cache resources) is
> transferred, when compared to the proposed =93Smart Client Pull=94 model.
>
My proposal only requires sending the cache validators for subresources,
not their URIs. Additional bandwidth savings may be accrued by setting the
"push-if-invalidated" cache control directive, if all subresources are
still fresh.

 *Pushed content is likely to be that which is required to be present at
> page load in the first place. Pushed CSS stylesheets would prevent flashe=
s
> of unstyled content (FOUC), and pushed scripts that trigger on page load
> would be able to execute before the user is able to interact with the pag=
e:
> *
>
> **=B7         **Our concern here is that in order to completely prevent t=
he
> race condition, the top level page data is serialized behind SYN stream f=
or
> all pushed dependencies.
>
I'm afraid I don't understand this sentence. Can you rephrase?

>  ****
>
> **=B7         **As you mention the pushed dependencies will **likely** be
> only resources required to load the page. We take it a step further and
> recommend that the server only push critical resources that would block
> page load, since there are lower priority resources on webpages that do n=
ot
> affect the user experience. Unfortunately we cannot guarantee that will b=
e
> case in practice.  The effect of misconfigured servers  that push content
> not used on the top level page or push extremely large number of resource=
s,
> is that we end up blocking all data for the top level page on these SYN
> streams and without the first bits of data, the user will be staring at a
> blank screen.
>
I agree, and I think this recommendation should go into the spec. We can
only hope that server admins will err on the side of pushing too few
resources, rather than too many.

> ****
>
> ***Mozilla (and Chrome, I believe) already interpret rel=3Dprefetch as
> indicating resources that are likely to be useful in *future* page loads,
> not necessarily the current one - I would recommend avoiding the naming
> conflict:*
>
> **=B7         **Our original spec was using the rel=3Dsubresource type,
> however we ended up changing it because rel=3Dsubresource is not currentl=
y
> included in the IANA (
> http://www.iana.org/assignments/link-relations/link-relations.xml) list
> of link relation assignments. We figured pursing an extension to an alrea=
dy
> defined link relation, to be faster than defining a new one. It would be
> great to hear what the veteran standard folks on this list think about th=
is.
> ****
>
> **=B7         **We interpreted the difference between rel=3Dsubresource a=
nd
> rel=3Dprefetch as mostly that of priority and saw nothing on the spec
> preventing clients from pre-fetching resources for the current  webpage. =
It
> would be great to understand if other browsers do not use rel=3Dprefetch =
to
> bypass rendering/parsing delays. ** **
>
> **=B7         **We are not sure who has implemented rel=3Dsubresource, so=
 it
> would be good to also hear thoughts of other browser vendors about removi=
ng
> the distinction between rel=3Dsubresource and rel=3Dprefetch.
>
I think they should remain separate. Merging them means we're going to have
to pick one definition - if we pick subresource's, then servers will be
unable to notify the client of resources relevant to *future* requests,
since the client will immediately attempt to fetch them, wasting bandwidth.
Picking prefetch's current definition would present analogous problems.
You're right, the opinions of browser vendors would be helpful here.

Thanks for the detailed reply - this is a great discussion!

Alek

****
>
> Thanks
>
> ** **
>
> -Jonathan Silvera****
>
> ** **
>
> *From:* Alek Storm [mailto:alek.storm@gmail.com]
> *Sent:* Wednesday, June 6, 2012 7:29 PM
> *To:* Gabriel Montenegro
> *Cc:* ietf-http-wg@w3.org; Matthew Cox; Ivan Pashov; Osama Mazahir; Rob
> Trace; Jonathan Silvera
>
> *Subject:* Re: Some thoughts on server push and client pull****
>
> ** **
>
> On Wed, Jun 6, 2012 at 8:30 PM, Gabriel Montenegro <
> Gabriel.Montenegro@microsoft.com> wrote:****
>
>  <snip>****
>
> 2. Issues with current Server Push in SPDY****
>
>  ****
>
> We don't envision Server push as part of the base HTTP 2.0 protocol, but
> see it as a potentially interesting extension, as long as there is some w=
ay
> for the client to exert some control over when and how it is used. One
> fundamental requirement is for clients to be able to control =93Server Pu=
sh=94
> behavior via a new opt-in <name TBD> header.  Servers MUST NOT push
> unrequested data to the client, unless the top level page request <name
> TBD> header is set to allow =93Server Push=94.****
>
>  ** **
>
> I have not verified this, but I believe the client can achieve the same
> effect in SPDYv3 by sending a GOAWAY frame, indicating that the other
> endpoint must not open any new streams.****
>
> ** **
>
>  Server Push does not require any validation prior to pushing data to the
> client, which could result in the server sending unnecessary data to
> clients that have some of the pushed resources stored in their cache.****
>
>  ** **
>
> I proposed a detailed system of cache control for pushed resources on the
> spdy-dev mailing list, before I knew of the existence of this list. I pla=
n
> to post it here soon.****
>
> ** **
>
>  Furthermore, "Server Push" introduces a race condition in which a client
> could start a new request for data that the server is in the process of
> pushing, effectively causing the same resource to be downloaded twice. SP=
DY
> addresses the race condition by not sending any data (headers are OK) for
> the top level page, until all of the SYN_STREAM for the dependencies it
> will push are sent:****
>
>  ****
>
> "To minimize race conditions with the client, the SYN_STREAM for the
> pushed resources MUST be sent prior to sending any content which could
> allow the client to discover the pushed resource and request it."****
>
>  ****
>
> We agree that SPDY's proposal is a good way to mitigate the race conditio=
n
> in Server Push without introducing significant complexity. Unfortunately
> mitigating the race condition in this manner prevents the server from
> sending data for the top level page. This could result in user-visible
> delays.  Whether or not the user will see a delay will depend on what
> messages (how many and how large) the server is pushing to the client.***=
*
>
>  ** **
>
> Pushed content is likely to be that which is required to be present at
> page load in the first place. Pushed CSS stylesheets would prevent flashe=
s
> of unstyled content (FOUC), and pushed scripts that trigger on page load
> would be able to execute before the user is able to interact with the pag=
e.
> ****
>
> ** **
>
>  3. Smart Client Pull alternative to Server Push****
>
>  ****
>
> We would like to propose an alternative to Server Push for discussion.
> This alternative is closely aligned with existing standards and could eve=
n
> work for HTTP 1.1.****
>
>  ****
>
> When a server receives an HTTP request for a top level page, the server
> will generate a list of resources needed to fully load the top level page=
.
> The server will send the optimal pre-fetch list to the client, via LINK
> headers, with a "prefetch" link relation type (defined in HTML5 per
> http://www.iana.org/assignments/link-relations/link-relations.xml). ****
>
> The server SHOULD also include the corresponding cache validators for eac=
h
> resource in the pre-fetch list. An extension to the =93prefetch=94 link
> relation type will be needed to allow cache validator data.****
>
>  ****
>
> When a client receives data for a top level page, it will begin processin=
g
> the top level page response, while simultaneously pre-fetching resources =
in
> the pre-fetch list that are not in the client cache or that are cached bu=
t
> invalid, as indicated by the cache validators included in the pre-fetch
> list. Servers SHOULD only include resources that block loading of the top
> level page in the optimal pre-fetch list.****
>
>  ** **
>
> Mozilla (and Chrome, I believe) already interpret rel=3Dprefetch as
> indicating resources that are likely to be useful in *future* page loads,
> not necessarily the current one - I would recommend avoiding the naming
> conflict. SPDY appears to have an ancillary proposal for a rel=3Dsubresou=
rce
> with essentially the semantics you describe, at
> http://dev.chromium.org/spdy/link-headers-and-server-hint/link-rel-subres=
ource,
> which I believe is already implemented in Chrome.****
>
> ** **
>
> My soon-to-come cache control proposal will obviate the need for
> extensions to the Link header, and would afford more fine-grained control=
.
> ****
>
> ** **
>
> Alek****
>

--f46d042184d9ca5ba604c1ea034a
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<div>Hi Jonathan,</div><div><br></div>On Thu, Jun 7, 2012 at 4:45 PM, Jonat=
han Silvera <span dir=3D"ltr">&lt;<a href=3D"mailto:jsilvera@microsoft.com"=
 target=3D"_blank">jsilvera@microsoft.com</a>&gt;</span> wrote:<br><div cla=
ss=3D"gmail_quote">
<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"><i>I believe the client can achieve the same effect =
in SPDYv3 by sending a GOAWAY frame, indicating that the other endpoint mus=
t not open any new streams:</i></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>There is still data waste by the SYN stream sen=
t to the client and also there is nothing on the SPDY spec preventing the s=
erver from sending data immediately after they send the SYN stream when doi=
ng Push. This would result in
 unnecessary SYN_STREAM in the best case and on unnecessary pushing of data=
 in the worst case.</p></div></div></blockquote><div>I believe you&#39;re c=
onflating GOAWAY with RST_STREAM+CANCEL. The former prevents the server fro=
m sending any SYN_STREAMs in the first place, while the latter resets indiv=
idual streams after their SYN_STREAM has arrived at the client.</div>




<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"p=
urple"><div><p><u></u><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>From reading the SPDY spec, it seems GOAWAY aff=
ects the connection. However, there are still valid resources that the clie=
nt would need from the server. Would controlling server push this way requi=
re the server to add additional
 logic to continue to serve additional requests on the connection, while ad=
ding state on the server side to not push additional content on subsequent =
requests when the client has sent a GOAWAY message? I am not clear on =A0ho=
w GOAWAY due to a client rejecting
 Push would differ from normal GOAWAY behavior on both client and server.</=
p></div></div></blockquote><div>GOAWAY is asymmetric - only the receiving e=
ndpoint is prohibited from opening new streams. In addition, one GOAWAY wil=
l suffice to prevent the server from pushing streams for all future request=
s on the connection, not just ones currently open. This state can be reset =
by opening a new connection to the server.</div>




<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"p=
urple"><div><p><u></u><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>The SPDY spec, appropriately, does not make GOA=
WAY mandatory. This means that clients that do not implement GOAWAY could s=
till have data pushed to them.</p></div></div></blockquote><div>I&#39;m a b=
it confused by this. Unless otherwise indicated, all parts of the spdy/3 sp=
ec are mandatory. We have specifically provided a way for a client to tell =
the server not to open any push streams. If the client only partially (and =
therefore, incorrectly) implements the specification, what are we to do abo=
ut it?</div>




<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"p=
urple"><div><p><u></u><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>Overall =A0it seems that having the client cont=
rol PUSH behavior is cleaner and is more efficient from a bandwidth perspec=
tive.</p></div></div></blockquote><div>Agreed.</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">



<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p><u></u><u></u></=
p>
<p class=3D"MsoNormal"><u></u>=A0<i>I proposed a detailed system of cache c=
ontrol for pushed resources on the spdy-dev mailing list, before I knew of =
the existence of this list. I plan to post it here soon:</i></p></div></div=
>


</blockquote><div><br></div><div>Since server push has been a popular topic=
 in the past 24 hours, I re-prioritized finishing the proposal and sent it =
to the list a few hours ago. You can read it at=A0<a href=3D"http://lists.w=
3.org/Archives/Public/ietf-http-wg/2012AprJun/0514.html" target=3D"_blank">=
http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0514.html</a>, =
although since some of the formatting has been mangled, I recommend an emai=
l client for an optimal proposal-reading experience. Feedback is most welco=
me, but should probably be posted in that thread.=A0</div>


<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"p=
urple"><p class=3D"MsoNormal"><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>Great to hear that you are thinking about this.=
 We believe that is something that needs to be added to the Push spec. It w=
ould probably require the client to keep track of resources previously down=
loaded (no data on first navigation
 to a site) when visiting a top level page and advertising the URL for the =
cached resources, along with the corresponding cache validators as part of =
the top level request. The server would then have to explicitly confirm to =
the client, which cached resources
 are valid in addition to initiating SYN streams for the content that it is=
 going to push.</p></div></blockquote><div>There is no need to transmit the=
 URI in addition to the cache validators, as long as a new restriction is a=
dded to entity tags: they must be unique among different URIs. I will add t=
his to the proposal.</div>


<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>
<u></u><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>If you are thinking about something similar, it=
 would be good to think about how to minimize data transferred on the wire =
for valid cached resources. In the above model, the client has to send the =
URL + cache validators and the
 server has to send back the URL to explicitly inform the client that the c=
ached resource is valid. The net effect is that one additional header with =
a URL (per valid cache resources) is transferred, when compared to the prop=
osed =93Smart Client Pull=94 model.</p>



</div></div></blockquote><div>My proposal only requires sending the cache v=
alidators for subresources, not their URIs. Additional bandwidth savings ma=
y be accrued by setting the &quot;push-if-invalidated&quot; cache control d=
irective, if all subresources are still fresh.</div>
<div><br></div><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"b=
lue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><i>Pushed content is likely to be that which is requ=
ired to be present at page load in the first place. Pushed CSS stylesheets =
would prevent flashes of unstyled content (FOUC), and pushed scripts that t=
rigger on page load would be able
 to execute before the user is able to interact with the page:<u></u><u></u=
></i></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>Our concern here is that in order to completely=
 prevent the race condition, the top level page data is serialized behind S=
YN stream for all pushed dependencies.</p></div></div></blockquote><div>



I&#39;m afraid I don&#39;t understand this sentence. Can you rephrase?</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlink=3D"=
purple">



<div><p>
<u></u><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>As you mention the pushed dependencies will *<b=
>likely</b>* be only resources required to load the page. We take it a step=
 further and recommend that the server only push critical resources that wo=
uld block page load, since there
 are lower priority resources on webpages that do not affect the user exper=
ience. Unfortunately we cannot guarantee that will be case in practice.=A0 =
The effect of misconfigured servers =A0that push content not used on the to=
p level page or push extremely large
 number of resources, is that we end up blocking all data for the top level=
 page on these SYN streams and without the first bits of data, the user wil=
l be staring at a blank screen.</p></div></div></blockquote><div>I agree, a=
nd I think this recommendation should go into the spec. We can only hope th=
at server admins will err on the side of pushing too few resources, rather =
than too many.</div>



<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"p=
urple"><div><p><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u><i>Mozilla (and Chrome, I believe) already in=
terpret rel=3Dprefetch as indicating resources that are likely to be useful=
 in *future* page loads, not necessarily the current one - I would recommen=
d avoiding the naming conflict:</i></p>





<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>Our original spec was using the rel=3Dsubresour=
ce type, however we ended up changing it because rel=3Dsubresource is not c=
urrently included in the IANA (<a href=3D"http://www.iana.org/assignments/l=
ink-relations/link-relations.xml" target=3D"_blank">http://www.iana.org/ass=
ignments/link-relations/link-relations.xml</a>)
 list of link relation assignments. We figured pursing an extension to an a=
lready defined link relation, to be faster than defining a new one. It woul=
d be great to hear what the veteran standard folks on this list think about=
 this.<u></u><u></u></p>





<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>We interpreted the difference between rel=3Dsub=
resource and rel=3Dprefetch as mostly that of priority and saw nothing on t=
he spec preventing clients from pre-fetching resources for the current =A0w=
ebpage. It would be great to understand
 if other browsers do not use rel=3Dprefetch to bypass rendering/parsing de=
lays. <u></u>
<u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>We are not sure who has implemented rel=3Dsubre=
source, so it would be good to also hear thoughts of other browser vendors =
about removing the distinction between rel=3Dsubresource and rel=3Dprefetch=
.</p>
</div></div></blockquote><div>I think they should remain separate. Merging =
them means we&#39;re going to have to pick one definition - if we pick subr=
esource&#39;s, then servers will be unable to notify the client of resource=
s relevant to *future* requests, since the client will immediately attempt =
to fetch them, wasting bandwidth. Picking prefetch&#39;s current definition=
 would present analogous problems. You&#39;re right, the opinions of browse=
r vendors would be helpful here.</div>
<div><br></div><div>Thanks for the detailed reply - this is a great discuss=
ion!</div><div><br></div><div>Alek</div><div><br></div><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>
<u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Calibri,sans-serif;font-s=
ize:11pt">Thanks</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;"><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;">-Jonathan Silvera<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"><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;"> Alek Sto=
rm [mailto:<a href=3D"mailto:alek.storm@gmail.com" target=3D"_blank">alek.s=
torm@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, June 6, 2012 7:29 PM<br>
<b>To:</b> Gabriel Montenegro<br>
<b>Cc:</b> <a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-ht=
tp-wg@w3.org</a>; Matthew Cox; Ivan Pashov; Osama Mazahir; Rob Trace; Jonat=
han Silvera</span></p><div><br>
<b>Subject:</b> Re: Some thoughts on server push and client pull<u></u><u><=
/u></div><p></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">On Wed, Jun 6, 2012 at 8:30 PM, Gabriel Montenegro &=
lt;<a href=3D"mailto:Gabriel.Montenegro@microsoft.com" target=3D"_blank">Ga=
briel.Montenegro@microsoft.com</a>&gt; wrote:<u></u><u></u></p><div><div>

<div>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">&lt;snip&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">2. Issues with current Server Push in SPDY<u></u><u>=
</u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">We don&#39;t envision Server push as part of the bas=
e HTTP 2.0 protocol, but see it as a potentially interesting extension, as =
long as there is some way for the client to exert some
 control over when and how it is used. One fundamental requirement is for c=
lients to be able to control =93Server Push=94 behavior via a new opt-in &l=
t;name TBD&gt; header.=A0 Servers MUST NOT push unrequested data to the cli=
ent, unless the top level page request &lt;name
 TBD&gt; header is set to allow =93Server Push=94.<u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I have not verified this, but I believe the client c=
an achieve the same effect in SPDYv3 by sending a GOAWAY frame, indicating =
that the other endpoint must not open any new streams.<u></u><u></u></p>





</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">Server Push does not require any validation prior to=
 pushing data to the client, which could result in the server sending unnec=
essary data to clients that have some of the pushed
 resources stored in their cache.<u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I proposed a detailed system of cache control for pu=
shed resources on the spdy-dev mailing list, before I knew of the existence=
 of this list. I plan to post it here soon.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">Furthermore, &quot;Server Push&quot; introduces a ra=
ce condition in which a client could start a new request for data that the =
server is in the process of pushing, effectively causing the
 same resource to be downloaded twice. SPDY addresses the race condition by=
 not sending any data (headers are OK) for the top level page, until all of=
 the SYN_STREAM for the dependencies it will push are sent:<u></u><u></u></=
p>





<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">&quot;To minimize race conditions with the client, t=
he SYN_STREAM for the pushed resources MUST be sent prior to sending any co=
ntent which could allow the client to discover the pushed
 resource and request it.&quot;<u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">We agree that SPDY&#39;s proposal is a good way to m=
itigate the race condition in Server Push without introducing significant c=
omplexity. Unfortunately mitigating the race condition
 in this manner prevents the server from sending data for the top level pag=
e. This could result in user-visible delays.=A0 Whether or not the user wil=
l see a delay will depend on what messages (how many and how large) the ser=
ver is pushing to the client.<u></u><u></u></p>





</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Pushed content is likely to be that which is require=
d to be present at page load in the first place. Pushed CSS stylesheets wou=
ld prevent flashes of unstyled content (FOUC), and pushed scripts that trig=
ger on page load would be able to
 execute before the user is able to interact with the page.<u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class=3D"MsoNormal">3. Smart Client Pull alternative to Server Push<u></=
u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">We would like to propose an alternative to Server Pu=
sh for discussion. This alternative is closely aligned with existing standa=
rds and could even work for HTTP 1.1.<u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">When a server receives an HTTP request for a top lev=
el page, the server will generate a list of resources needed to fully load =
the top level page. The server will send the optimal
 pre-fetch list to the client, via LINK headers, with a &quot;prefetch&quot=
; link relation type (defined in HTML5 per
<a href=3D"http://www.iana.org/assignments/link-relations/link-relations.xm=
l" target=3D"_blank">
http://www.iana.org/assignments/link-relations/link-relations.xml</a>). <u>=
</u><u></u></p>
<p class=3D"MsoNormal">The server SHOULD also include the corresponding cac=
he validators for each resource in the pre-fetch list. An extension to the =
=93prefetch=94 link relation type will be needed to allow
 cache validator data.<u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">When a client receives data for a top level page, it=
 will begin processing the top level page response, while simultaneously pr=
e-fetching resources in the pre-fetch list that are
 not in the client cache or that are cached but invalid, as indicated by th=
e cache validators included in the pre-fetch list. Servers SHOULD only incl=
ude resources that block loading of the top level page in the optimal pre-f=
etch list.<u></u><u></u></p>





</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Mozilla (and Chrome, I believe) already interpret re=
l=3Dprefetch as indicating resources that are likely to be useful in *futur=
e* page loads, not necessarily the current one - I would recommend avoiding=
 the naming conflict. SPDY appears to
 have an ancillary proposal for a rel=3Dsubresource with essentially the se=
mantics you describe, at=A0<a href=3D"http://dev.chromium.org/spdy/link-hea=
ders-and-server-hint/link-rel-subresource" target=3D"_blank">http://dev.chr=
omium.org/spdy/link-headers-and-server-hint/link-rel-subresource</a>,
 which I believe is already implemented in Chrome.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">My soon-to-come cache control proposal will obviate =
the need for extensions to the Link header, and would afford more fine-grai=
ned control.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">Alek<u></u><u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br>

--f46d042184d9ca5ba604c1ea034a--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 16:33: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 D7E2511E80F2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 16:33:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.478
X-Spam-Level: 
X-Spam-Status: No, score=-10.478 tagged_above=-999 required=5 tests=[AWL=0.120, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nzcum2LdFeTn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 16:33:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8532621F85A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 16:33:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScmBr-0001ZI-UG for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jun 2012 23:32:31 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alek.storm@gmail.com>) id 1ScmBc-0001X8-NJ for ietf-http-wg@listhub.w3.org; Thu, 07 Jun 2012 23:32:16 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <alek.storm@gmail.com>) id 1ScmBZ-0003XE-As for ietf-http-wg@w3.org; Thu, 07 Jun 2012 23:32:15 +0000
Received: by lahg1 with SMTP id g1so892929lah.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 16:31: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 :content-type; bh=OOGhw1mUuSz5ULVM8j+AVBj+mC2W8fpo1gkMRYgNzd0=; b=iOkImRvroZRyzyrsQyKdcy3VGLKL2pKoFx60ZahaCO7C+/tLMo3BatQrm0TluOwNYv 8Q00Qm3BUUIEcLvsks0TNDQ4tLBZiDcJUQ3ffcAj3jktojXB107gdCyIdo1Xtktv+knn AbAbCA6aLuVkFRwi09+tMCxpJN43Ha+tUdVN3787mnXQddD94kxObBqN40IbrsZcj6z6 HJRKL8XO30bvlpZ3QHtbxCQkfi5bN+848/NbE+3DJtLRXis3guRghy3Y+vzG8Yhfec+z Mt1SWbg5Mw+dTsAmEHzYl9iC6s3DdztOXcpF1Uv78+d0l+p4o8bPV9Vhv/tELbMpEPfh lQgQ==
MIME-Version: 1.0
Received: by 10.152.135.200 with SMTP id pu8mr4775179lab.8.1339111906181; Thu, 07 Jun 2012 16:31:46 -0700 (PDT)
Received: by 10.112.113.166 with HTTP; Thu, 7 Jun 2012 16:31:46 -0700 (PDT)
In-Reply-To: <CAMNEcwtp6NLE44nikYFC2Gaiu0eCPca3OfwS=LRp0Lp7bXBGGg@mail.gmail.com>
References: <CAMNEcwtp6NLE44nikYFC2Gaiu0eCPca3OfwS=LRp0Lp7bXBGGg@mail.gmail.com>
Date: Thu, 7 Jun 2012 18:31:46 -0500
Message-ID: <CAMNEcwsMv-vPPumibrvKgMHh7BFWT0sLQO1PppbbX65vef_yoQ@mail.gmail.com>
From: Alek Storm <alek.storm@gmail.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d043745477b80df04c1ea49cd
Received-SPF: pass client-ip=209.85.215.43; envelope-from=alek.storm@gmail.com; helo=mail-lpp01m010-f43.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 1ScmBZ-0003XE-As f1d2bb7c861efaccddcb9c2e63d1cea1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposal for cache control of pushed streams
Archived-At: <http://www.w3.org/mid/CAMNEcwsMv-vPPumibrvKgMHh7BFWT0sLQO1PppbbX65vef_yoQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13655
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScmBr-0001ZI-UG@frink.w3.org>
Resent-Date: Thu, 07 Jun 2012 23:32:31 +0000

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

A requirement should also be added that entity tags MUST be unique across
resources on the same domain. Thanks to Jonathan Silvera and others at
Microsoft for pointing this out.

Alek

On Thu, Jun 7, 2012 at 2:15 PM, Alek Storm <alek.storm@gmail.com> wrote:

> Several others have raised legitimate concerns that the current server
> push feature in SPDY may waste bandwidth by pushing resources to clients
> which are either unable to accept them or have already stored them in
> cache. Although other solutions, such as extending Link headers and
> framing-level flags have been hinted at, I believe HTTP cache control is
> the only system flexible enough to solve this problem.
>
> This proposal is an outline written in the style of RFC 2616, as I was
> unaware of HTTPbis when drafting it - my apologies for any incongruity.
> Header descriptions have been condensed down to the interesting parts, and
> the material here would likely be spread over multiple parts of the HTTP
> spec.
>
> Since the future of SPDY server push itself is uncertain, I would greatly
> appreciate any guidance on the next steps to take (if any), if this
> proposal meets with the approval of the group. Under what conditions would
> opening a ticket on the issue tracker be appropriate?
>
> Alek Storm
>
> *Request Headers*
>
> *Subresources-If-None-Match*
>
> Subresources-If-None-Match = "Subresources-If-None-Match" ":" ( "*" |
> 1#entity-tag )
>
> For each entity that would have been pushed in response to a similar GET
> request (without the Subresources-If-None-Match) on that resource, if:
>
> (1) its entity tag is included in the list of entity tags; or
>
> (a) "*" is given; and
> (b) any current entity exists for that resource
>
> then the server MUST NOT push that entity, unless required to do so
> because the entity's modification date fails to match that supplied in an
> Subresources-If-Modified-Since header field in the request. Instead, if the
> request method was GET or HEAD, the server SHOULD push a 304 (Not Modified)
> response, including the cache-related header fields (particularly ETag) of
> one of the entities that matched.
>
> Comments: Clients should include entity tags for resources which included
> the requested URI in their Subresource-Of header when they were last
> fetched, or all entity tags from the requested domain for Content-Types
> likely to be pushed (application/javascript, text/css). Other heuristics
> are possible as well.
>
> *Subresources-If-Modified-Since*
>
> Subresources-If-Modified-Since = "Subresources-If-Modified-Since" ":"
> HTTP-date
>
> For each entity that would have been pushed in response to a similar GET
> request (without the Subresources-If-Modified-Since) on that resource, if:
>
> (1) the given date is valid; and
>
> (a) the entity has not been modified since the given date; or
> (b) the entity was not related to the requested resource at the given
> date; or
>
> (i) it is not known whether the entity was related to the requested
> resource at the given date; and
> (ii) the requested resource has not been modified since the given date
>
> then the server MUST NOT push that entity. Instead, if the request method
> was GET or HEAD, the server SHOULD push a 304 (Not Modified) response. If
> Subresources-If-Modified-Since is not present, or if the given date is
> invalid, the If-Modified-Since date may be used instead, if present.
>
> Comments: Although If-Modified-Since is also a good heuristic (and can be
> used if Subresources-If-Modified-Since is missing), clients will not send
> it if they were instructed not to cache the original URI the last time it
> was fetched, even if the pushed resources were cacheable. Thus, this header
> is necessary.
>
> *Analogous Subresources-If-Match and Subresources-If-Unmodified-Since
> headers are omitted here for brevity.*
>
> *Additional-Push*
> *
> *
>
> Additional-Push = "Additional-Push" ":" 1#( absoluteURI | relativeURI )
>
>
> A list of absolute or relative URIs that the server or any intermediate
> caches MAY push in addition to any resources that would otherwise have been
> pushed.
>
> Comments: This provides client with a way to hint which subresources they
> believe will be called for to braindead servers unaware of inter-resource
> relationships. Servers that know what they're doing are free to ignore it.
> Although servers are unlikely to be interested in pushing resources from
> other domains, intermediate proxies may use this information to save the
> client a round-trip.
>
> *Response Headers*
>
> *Subresource-Of*
>
> Subresource-Of = "Subresource-Of" ":" 1#relativeURI
>
> A list of prefixes of request URIs the resource would likely be pushed in
> response to. For example, "Subresource-Of: /static/, /foo.html" specifies
> that this resource is a subresource of /foo.html and all URIs prefixed with
> /static/.
>
> Comments: This is also powerful in the hands of intermediate caches, which
> have more information about how different resources are interrelated.
>
> *Cache-control Directives*
>
> Default behavior: The server and any intermediate caches MAY push streams
> in response to a request.
>
> no-push (client)
>
> Indicates the both the server and any intermediate caches MUST NOT push
> any streams in response to this request.
>
> no-proxy-push (server)
>
> Indicates that any intermediate caches MUST NOT push any streams in
> response to this request.
>
> push-if-original-invalidated (client)
>
> Indicates that both the server and any intermediate caches MUST NOT push
> any streams in response to this request if the request is successfully
> revalidated (i.e. a 304 Not Modified response is sent).
>
> push-if-invalidated (client)
>
> Indicates that both the server and any intermediate caches MUST NOT push
> any stream in response to this request if the pushed resource is
> successfully revalidated (i.e. a 304 Not Modified would be sent).
>
> push-max-age, push-min-fresh, push-max-stale (client)
>
> Identical to their variants without "push-", but only apply to pushed
> streams.
>
> *Server Push Restrictions*
>
> Pushed streams MUST have one of the following response codes: 200, 204,
> 206, 301, 302, 303, 304, 307.
>
> Servers and intermediate caches MUST NOT push two streams associated with
> the same URL, or a stream associated with the URL of the original request,
> unless both streams have response code 206 and contain non-overlapping byte
> ranges.
>
> Comments: It shouldn't be possible to create a pushed stream associated
> with another pushed stream, but this should probably be addressed at the
> framing layer.
>

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

A requirement should also be added that entity tags MUST be unique across r=
esources on the same domain. Thanks to Jonathan Silvera and others at Micro=
soft for pointing this out.<div><br></div><div>Alek<br><br><div class=3D"gm=
ail_quote">
On Thu, Jun 7, 2012 at 2:15 PM, Alek Storm <span dir=3D"ltr">&lt;<a href=3D=
"mailto:alek.storm@gmail.com" target=3D"_blank">alek.storm@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>Several others have raised legitimate c=
oncerns that the current server push feature in SPDY may waste bandwidth by=
 pushing resources to clients which are either unable to accept them or hav=
e already stored them in cache. Although other solutions, such as extending=
 Link headers and framing-level flags have been hinted at, I believe HTTP c=
ache control is the only system flexible enough to solve this problem.</div=
>



<div><br></div><div>This proposal is an outline written in the style of RFC=
 2616, as I was unaware of HTTPbis when drafting it - my apologies for any =
incongruity. Header descriptions have been condensed down to the interestin=
g parts, and the material here would likely be spread over multiple parts o=
f the HTTP spec.</div>



<div><br></div><div>Since the future of SPDY server push itself is uncertai=
n, I would greatly appreciate any guidance on the next steps to take (if an=
y), if this proposal meets with the approval of the group. Under what condi=
tions would opening a ticket on the issue tracker be appropriate?</div>



<div><br></div><div>Alek Storm</div><div><br></div><div><b><u>Request Heade=
rs</u></b><br></div><div><br></div><div><b>Subresources-If-None-Match</b><b=
r></div><blockquote>Subresources-If-None-Match =3D &quot;Subresources-If-No=
ne-Match&quot; &quot;:&quot; ( &quot;*&quot; | 1#entity-tag )</blockquote>



<div>For each entity that would have been pushed in response to a similar G=
ET request (without the Subresources-If-None-Match)=A0on that resource, if:=
</div><blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px"><div>


(1) its entity tag is included in the list of entity tags; or</div></blockq=
uote><blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px"><block=
quote style=3D"margin:0 0 0 40px;border:none;padding:0px"><div>(a) &quot;*&=
quot; is given; and</div>


<div>(b) any current entity exists for that resource</div></blockquote></bl=
ockquote><div>then the server MUST NOT push that entity, unless required to=
 do so because the entity&#39;s modification=A0date fails to match that sup=
plied in an Subresources-If-Modified-Since header field in the request. Ins=
tead, if the request=A0method was GET or HEAD, the server SHOULD push a 304=
 (Not Modified) response, including the cache-related header fields=A0(part=
icularly ETag) of one of the entities that matched.</div>



<div><br></div><div>Comments: Clients should include entity tags for resour=
ces which included the requested URI in their Subresource-Of header when th=
ey were last fetched, or all entity tags from the requested domain for Cont=
ent-Types likely to be pushed (application/javascript, text/css). Other heu=
ristics are possible as well.</div>



<div><br></div><div><b>Subresources-If-Modified-Since</b></div><blockquote>=
Subresources-If-Modified-Since =3D &quot;Subresources-If-Modified-Since&quo=
t; &quot;:&quot; HTTP-date</blockquote><div>For each entity that would have=
 been pushed in response to a similar GET request (without the Subresources=
-If-Modified-Since)=A0on that resource, if:</div>


<blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px"><div>(1) th=
e given date is valid; and</div></blockquote><blockquote style=3D"margin:0 =
0 0 40px;border:none;padding:0px"><blockquote style=3D"margin:0 0 0 40px;bo=
rder:none;padding:0px">


<div>(a) the entity has not been modified since the given date; or</div><di=
v>(b) the entity was not related to the requested resource at the given dat=
e; or</div></blockquote></blockquote><blockquote style=3D"margin:0 0 0 40px=
;border:none;padding:0px">


<blockquote style=3D"margin:0 0 0 40px;border:none;padding:0px"><blockquote=
 style=3D"margin:0 0 0 40px;border:none;padding:0px"><div>(i) it is not kno=
wn whether the entity was related to the requested resource at the given da=
te; and</div>


<div>(ii) the requested resource has not been modified since the given date=
</div></blockquote></blockquote></blockquote><div><div>then the server MUST=
 NOT push that entity. Instead, if the request method was GET or HEAD, the =
server SHOULD push a 304=A0(Not Modified) response. If Subresources-If-Modi=
fied-Since is not present, or if the given date is invalid, the If-Modified=
-Since=A0date may be used instead, if present.</div>



<div><br></div><div>Comments: Although If-Modified-Since is also a good heu=
ristic (and can be used if Subresources-If-Modified-Since is missing), clie=
nts will not send it if they were instructed not to cache the original URI =
the last time it was fetched, even if the pushed resources were cacheable. =
Thus, this header is necessary.</div>



<div><br></div><div><i>Analogous Subresources-If-Match and Subresources-If-=
Unmodified-Since headers are omitted here for brevity.</i></div><div><br></=
div><div><b>Additional-Push</b></div></div><div><b><br></b></div><blockquot=
e style=3D"margin:0px 0px 0px 40px;border:none;padding:0px">



Additional-Push =3D &quot;Additional-Push&quot; &quot;:&quot; 1#( absoluteU=
RI | relativeURI )</blockquote><div><br></div>A list of absolute or relativ=
e URIs that the server or any intermediate caches MAY push in addition to a=
ny resources that would otherwise have been pushed.<br>



<div><div><br></div><div>Comments: This provides client with a way to hint=
=A0which subresources they believe will be called for=A0to braindead server=
s unaware of inter-resource relationships. Servers that know what they&#39;=
re doing are free to ignore it. Although servers are unlikely to be interes=
ted in pushing resources from other domains, intermediate proxies may use t=
his information to save the client a round-trip.</div>



<div><br></div><div><b><u>Response Headers</u></b></div><div><br></div><div=
><b>Subresource-Of</b></div></div><blockquote>Subresource-Of =3D &quot;Subr=
esource-Of&quot; &quot;:&quot; 1#relativeURI</blockquote><div><div>A list o=
f prefixes of request URIs the resource would likely be pushed in response =
to. For example,=A0&quot;Subresource-Of: /static/, /foo.html&quot; specifie=
s that this resource is a subresource of /foo.html and all URIs prefixed wi=
th /static/.</div>



<div><br></div><div>Comments: This is also powerful in the hands of interme=
diate caches, which have more information about how different resources are=
 interrelated.</div><div><br></div><div><b><u>Cache-control Directives</u><=
/b></div>



<div><br></div><div>Default behavior: The server and any intermediate cache=
s MAY push streams in response to a request.</div></div><div><div><br></div=
><div>no-push (client)</div></div><blockquote>Indicates the both the server=
 and any intermediate caches MUST NOT push any streams in response to this =
request.</blockquote>


<div><div>no-proxy-push (server)</div></div><blockquote>Indicates that any =
intermediate caches MUST NOT push any streams in response to this request.<=
/blockquote><div>push-if-original-invalidated (client)</div>
<blockquote>Indicates that both the server and any intermediate caches MUST=
 NOT push any streams in response to this request if the=A0request is succe=
ssfully revalidated (i.e. a 304 Not Modified response is sent).</blockquote=
>


<div><div>push-if-invalidated (client)</div></div><blockquote>Indicates tha=
t both the server and any intermediate caches MUST NOT push any stream in r=
esponse to this request if the pushed resource=A0is successfully revalidate=
d (i.e. a 304 Not Modified would be sent).</blockquote>


<div><div>push-max-age, push-min-fresh, push-max-stale (client)</div></div>=
<blockquote>Identical to their variants without &quot;push-&quot;, but only=
 apply to pushed streams.</blockquote><div>
<b><u>Server Push Restrictions</u></b></div><div><br></div><div>Pushed stre=
ams MUST have one of the following response codes: 200, 204, 206, 301, 302,=
 303, 304, 307.<br></div><div><br></div><div>Servers and intermediate cache=
s MUST NOT push two streams associated with the same URL, or a stream assoc=
iated with the URL of the original request, unless both streams have respon=
se code 206 and contain non-overlapping byte ranges.</div>



<div><br></div><div>Comments: It shouldn&#39;t be possible to create a push=
ed stream associated with another pushed stream, but this should probably b=
e addressed at the framing layer.</div>
</blockquote></div><br>
</div>

--f46d043745477b80df04c1ea49cd--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 18:42: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 44B5211E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 18:42:21 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P1nHKuzCbrki for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 18:42:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4C3EF11E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 18:42:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScoC4-0007ED-LL for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 01:40:52 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ido@akamai.com>) id 1ScoBt-0007DM-59 for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 01:40:41 +0000
Received: from prod-mail-xrelay06.akamai.com ([96.6.114.98]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ido@akamai.com>) id 1ScoBq-0000lz-8J for ietf-http-wg@w3.org; Fri, 08 Jun 2012 01:40:39 +0000
Received: from prod-mail-xrelay06.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 49C6D1653CF for <ietf-http-wg@w3.org>; Fri,  8 Jun 2012 01:40:12 +0000 (GMT)
Received: from prod-mail-relay04.akamai.com (prod-mail-relay04.akamai.com [172.27.8.27]) by prod-mail-xrelay06.akamai.com (Postfix) with ESMTP id 3D5E81653CE for <ietf-http-wg@w3.org>; Fri,  8 Jun 2012 01:40:12 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub2.dfw01.corp.akamai.com [172.27.33.76]) by prod-mail-relay04.akamai.com (Postfix) with ESMTP id 378AD47BEC for <ietf-http-wg@w3.org>; Fri,  8 Jun 2012 01:40:12 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.240]) by ustx2ex-cashub2.dfw01.corp.akamai.com ([172.27.33.76]) with mapi; Thu, 7 Jun 2012 19:40:11 -0600
From: "Safruti, Ido" <ido@akamai.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 7 Jun 2012 19:40:09 -0600
Thread-Topic: multiplexing over more than one connection
Thread-Index: Ac1FF6TFW6h0eebrSe2T0XKL3FbtOw==
Message-ID: <CBF69EC7.3765C%ido@akamai.com>
In-Reply-To: <CAP+FsNdE+3+wy_7Lz-hksRwuWBPEkHXAUKeuEweNdd2Qxu1S1w@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.2.120421
acceptlanguage: en-US
Content-Type: multipart/mixed; boundary="_004_CBF69EC73765Cidoakamaicom_"
MIME-Version: 1.0
Received-SPF: none client-ip=96.6.114.98; envelope-from=ido@akamai.com; helo=prod-mail-xrelay06.akamai.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1ScoBq-0000lz-8J 7d10cb2df886f26c63b1c5ffc70806bf
X-Original-To: ietf-http-wg@w3.org
Subject: multiplexing over more than one connection
Archived-At: <http://www.w3.org/mid/CBF69EC7.3765C%25ido@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13656
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScoC4-0007ED-LL@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 01:40:52 +0000

--_004_CBF69EC73765Cidoakamaicom_
Content-Type: multipart/alternative;
	boundary="_000_CBF69EC73765Cidoakamaicom_"

--_000_CBF69EC73765Cidoakamaicom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi,

I know this is a long discussed issue when multiplexing (specifically aroun=
d SPDY): the benefits of one optimized connection vs multiple. However, as =
we most likely will use TCP as an underlying protocol, using one connection=
 exposes us to packet loss impacts. (It is also true that in cases of packe=
t loss =96 it may impact all established connections).

Did anyone in this forum explored implementing something like link aggregat=
ion (or connection aggregation)?
We can have an upgrade mechanism where the server and client can negotiate =
adding a connection to their channel.
The server can publish, or announce that it supports it, and the client can=
 try to establish an additional connection with some identification/verific=
ation, and only once this is verified the channel could be "upgraded" to ut=
ilize the additional connection.
Basically establishing link aggregation.
If the upgrade isn't supported, or won't work, we can always remain with a =
single connection. (and we know it may break in some connection with loadba=
lancers, or if we can't assure server stickiness).

Using such a mechanism we can ensure better redundancy and recovery mechani=
sms, but still dramatically reducing the number of connections.

I would be happy to know what people think.

- Ido


--_000_CBF69EC73765Cidoakamaicom_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space;=
 -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14p=
x; font-family: Calibri, sans-serif; "><div>Hi,</div><div><br></div><div>I =
know this is a long discussed issue when multiplexing (specifically around =
SPDY): the benefits of one optimized connection vs multiple.&nbsp;However, =
as we most likely will use TCP as an underlying protocol, using one connect=
ion exposes us to packet loss impacts. (It is also true that in cases of pa=
cket loss =96 it may impact all established connections).</div><div><br></d=
iv><div>Did anyone in this forum explored implementing something like link =
aggregation (or connection aggregation)?</div><div>We can have an upgrade m=
echanism where the server and client can negotiate adding a connection to t=
heir channel.</div><div>The server can publish, or announce that it support=
s it, and the client can try to establish an additional connection with som=
e identification/verification, and only once this is verified the channel c=
ould be &quot;upgraded&quot; to utilize the additional connection.</div><di=
v>Basically establishing link aggregation.</div><div><div>If the upgrade is=
n't supported, or won't work, we can always remain with a single connection=
. (and we know it may break in some connection with loadbalancers, or if we=
 can't assure server stickiness).</div></div><div><br></div><div>Using such=
 a mechanism we can ensure better redundancy and recovery mechanisms, but s=
till dramatically reducing the number of connections.</div><div><br></div><=
div>I would be happy to know what people think.</div><div><br></div><div>- =
Ido</div><div><br></div></body></html>

--_000_CBF69EC73765Cidoakamaicom_--

--_004_CBF69EC73765Cidoakamaicom_
Content-Type: image/jpeg; name="muxing.jpg"
Content-Description: muxing.jpg
Content-Disposition: attachment; filename="muxing.jpg"; size=31753;
	creation-date="Fri, 08 Jun 2012 01:40:11 GMT";
	modification-date="Fri, 08 Jun 2012 01:40:11 GMT"
Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQEASABIAAD/4ge4SUNDX1BST0ZJTEUAAQEAAAeoYXBwbAIgAABtbnRyUkdC
IFhZWiAH2QACABkACwAaAAthY3NwQVBQTAAAAABhcHBsAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAA
AADTLWFwcGwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtk
ZXNjAAABCAAAAG9kc2NtAAABeAAABWxjcHJ0AAAG5AAAADh3dHB0AAAHHAAAABRyWFlaAAAHMAAA
ABRnWFlaAAAHRAAAABRiWFlaAAAHWAAAABRyVFJDAAAHbAAAAA5jaGFkAAAHfAAAACxiVFJDAAAH
bAAAAA5nVFJDAAAHbAAAAA5kZXNjAAAAAAAAABRHZW5lcmljIFJHQiBQcm9maWxlAAAAAAAAAAAA
AAAUR2VuZXJpYyBSR0IgUHJvZmlsZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAbWx1YwAAAAAAAAAeAAAADHNrU0sAAAAoAAABeGhySFIAAAAoAAABoGNh
RVMAAAAkAAAByHB0QlIAAAAmAAAB7HVrVUEAAAAqAAACEmZyRlUAAAAoAAACPHpoVFcAAAAWAAAC
ZGl0SVQAAAAoAAACem5iTk8AAAAmAAAComtvS1IAAAAWAAACyGNzQ1oAAAAiAAAC3mhlSUwAAAAe
AAADAGRlREUAAAAsAAADHmh1SFUAAAAoAAADSnN2U0UAAAAmAAAConpoQ04AAAAWAAADcmphSlAA
AAAaAAADiHJvUk8AAAAkAAADomVsR1IAAAAiAAADxnB0UE8AAAAmAAAD6G5sTkwAAAAoAAAEDmVz
RVMAAAAmAAAD6HRoVEgAAAAkAAAENnRyVFIAAAAiAAAEWmZpRkkAAAAoAAAEfHBsUEwAAAAsAAAE
pHJ1UlUAAAAiAAAE0GFyRUcAAAAmAAAE8mVuVVMAAAAmAAAFGGRhREsAAAAuAAAFPgBWAWEAZQBv
AGIAZQBjAG4A/QAgAFIARwBCACAAcAByAG8AZgBpAGwARwBlAG4AZQByAGkBDQBrAGkAIABSAEcA
QgAgAHAAcgBvAGYAaQBsAFAAZQByAGYAaQBsACAAUgBHAEIAIABnAGUAbgDoAHIAaQBjAFAAZQBy
AGYAaQBsACAAUgBHAEIAIABHAGUAbgDpAHIAaQBjAG8EFwQwBDMEMAQ7BEwEPQQ4BDkAIAQ/BEAE
PgREBDAEOQQ7ACAAUgBHAEIAUAByAG8AZgBpAGwAIABnAOkAbgDpAHIAaQBxAHUAZQAgAFIAVgBC
kBp1KAAgAFIARwBCACCCcl9pY8+P8ABQAHIAbwBmAGkAbABvACAAUgBHAEIAIABnAGUAbgBlAHIA
aQBjAG8ARwBlAG4AZQByAGkAcwBrACAAUgBHAEIALQBwAHIAbwBmAGkAbMd8vBgAIABSAEcAQgAg
1QS4XNMMx3wATwBiAGUAYwBuAP0AIABSAEcAQgAgAHAAcgBvAGYAaQBsBeQF6AXVBeQF2QXcACAA
UgBHAEIAIAXbBdwF3AXZAEEAbABsAGcAZQBtAGUAaQBuAGUAcwAgAFIARwBCAC0AUAByAG8AZgBp
AGwAwQBsAHQAYQBsAOEAbgBvAHMAIABSAEcAQgAgAHAAcgBvAGYAaQBsZm6QGgAgAFIARwBCACBj
z4/wZYdO9k4AgiwAIABSAEcAQgAgMNcw7TDVMKEwpDDrAFAAcgBvAGYAaQBsACAAUgBHAEIAIABn
AGUAbgBlAHIAaQBjA5MDtQO9A7kDugPMACADwAPBA78DxgOvA7sAIABSAEcAQgBQAGUAcgBmAGkA
bAAgAFIARwBCACAAZwBlAG4A6QByAGkAYwBvAEEAbABnAGUAbQBlAGUAbgAgAFIARwBCAC0AcABy
AG8AZgBpAGUAbA5CDhsOIw5EDh8OJQ5MACAAUgBHAEIAIA4XDjEOSA4nDkQOGwBHAGUAbgBlAGwA
IABSAEcAQgAgAFAAcgBvAGYAaQBsAGkAWQBsAGUAaQBuAGUAbgAgAFIARwBCAC0AcAByAG8AZgBp
AGkAbABpAFUAbgBpAHcAZQByAHMAYQBsAG4AeQAgAHAAcgBvAGYAaQBsACAAUgBHAEIEHgQxBEkE
OAQ5ACAEPwRABD4ERAQ4BDsETAAgAFIARwBCBkUGRAZBACAGKgY5BjEGSgZBACAAUgBHAEIAIAYn
BkQGOQYnBkUARwBlAG4AZQByAGkAYwAgAFIARwBCACAAUAByAG8AZgBpAGwAZQBHAGUAbgBlAHIA
ZQBsACAAUgBHAEIALQBiAGUAcwBrAHIAaQB2AGUAbABzAGV0ZXh0AAAAAENvcHlyaWdodCAyMDA3
IEFwcGxlIEluYy4sIGFsbCByaWdodHMgcmVzZXJ2ZWQuAFhZWiAAAAAAAADzUgABAAAAARbPWFla
IAAAAAAAAHRNAAA97gAAA9BYWVogAAAAAAAAWnUAAKxzAAAXNFhZWiAAAAAAAAAoGgAAFZ8AALg2
Y3VydgAAAAAAAAABAc0AAHNmMzIAAAAAAAEMQgAABd7///MmAAAHkgAA/ZH///ui///9owAAA9wA
AMBs/+EAdEV4aWYAAE1NACoAAAAIAAQBGgAFAAAAAQAAAD4BGwAFAAAAAQAAAEYBKAADAAAAAQAC
AACHaQAEAAAAAQAAAE4AAAAAAAAASAAAAAEAAABIAAAAAQACoAIABAAAAAEAAALQoAMABAAAAAEA
AAIcAAAAAP/bAEMAAgICAgIBAgICAgICAgMDBgQDAwMDBwUFBAYIBwgICAcICAkKDQsJCQwKCAgL
DwsMDQ4ODg4JCxARDw4RDQ4ODv/bAEMBAgICAwMDBgQEBg4JCAkODg4ODg4ODg4ODg4ODg4ODg4O
Dg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4ODv/AABEIAhwC0AMBIgACEQEDEQH/xAAfAAAB
BQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgv/xAC1EAACAQMDAgQDBQUEBAAAAX0BAgMABBEFEiEx
QQYTUWEHInEUMoGRoQgjQrHBFVLR8CQzYnKCCQoWFxgZGiUmJygpKjQ1Njc4OTpDREVGR0hJSlNU
VVZXWFlaY2RlZmdoaWpzdHV2d3h5eoOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6
wsPExcbHyMnK0tPU1dbX2Nna4eLj5OXm5+jp6vHy8/T19vf4+fr/xAAfAQADAQEBAQEBAQEBAAAA
AAAAAQIDBAUGBwgJCgv/xAC1EQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgU
QpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZn
aGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS
09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/AP38ooooAKKKKACiiigAoooo
AKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA
ooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi
iigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK
KACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo
AKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA
ooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi
iigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK
KACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo
AKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA
ooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi
iigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK
KACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo
AKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigA
ooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACi
iigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKK
KACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAoooo
AKKKKACqeo6hZaToF9qupXMVnp1nbvPdXEpwsUaKWZj7AAmrleZ/GZiv7KfxDIJB/wCEfux/5Bet
aFNTqxi+rSM6s3CEpLoj0S0u7a/0u2vbK4hu7O4iWWCeFwySIwyrKRwQQQQasV8Tfsa/FL/hIfhd
cfDvVrnfq2hJ5mnF2y0tmTjb1yfLY7fZXQDpX2zXbm+W1Mvxk8PU3i/vXR/NHLluPp4zDQrw2a+5
9UFFFFeadwUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUU
UUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRTJJEigeWRlSNFLMzH
AAHegDz7x18SdE8B634O0zUVkudS8SazFp1jbxuoZQxAeZs/wJlc45yyjvkeiA5AI71+Sfir4myf
FD/gpJ4R1a3md/D9l4htbPR0ycGFJh+8x6u2W9cFQelfrUn+pT/dFfQ57kjy6nh1P45x5n5Xei+S
/E8XKc1WOnWcfhjKy+7f7x1FFFfPHtBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFF
FABRTWJEbFeWxxXyXrWh/tMSeLdSfS/ih9k0x7l2tYR4Xsn8qMsSqbmGWwMDJ5OK6cPQhUb5qih6
83/tqZhXrSppcsHL0t+rR9bUV8bf8I5+1I33vi1L+HhexX+lL/win7Trfe+LV7+Hh+yH/stdX1Ch
/wBBMPun/wDIHP8AW63/AD4l98P/AJI+yKK+N/8AhDf2lm+98W9T/DRrQf8AstH/AAg37SDfe+Le
s/hp1sP/AGWj6jh/+giP3T/+RD63W/58S++P/wAkfZFFfG//AAr79opvvfFzX/wtbcf+y0f8K3/a
Dc/N8XfEn4JCP/ZaPqWG/wCgiP3T/wDkQ+t1/wDny/vj/mfZFFfG3/Cr/j633vi74qH0kiH/ALLR
/wAKo+PDfe+L/i/8LpB/7LR9Tw3/AEEL7pf5B9axH/Pl/fH/ADPsmivjb/hUXxwb73xg8bfhqKj/
ANlpP+FN/GhvvfGHx9+GrY/9lo+p4X/oIX/gMv8AIPrOI/58v71/mfZVFfGv/ClPjA33vjF8Rf8A
gOuEf+y0v/Cjviw33vjH8TR9PETj/wBlo+qYT/n/AP8AkrD6ziP+fP4o+ya8y+M//JqPxD/7F+7/
APRL1yPwt+G3jLwd40u9S8QePvGfim3ltTCtrq+rtcwoSytvVSBh/lxn0J9a674z/wDJqPxD/wCx
fu//AES9ZUoQhioKEuZXWtrdTSpOcsPJyjZ2fmfjh8NPGmpfD74vaH4u0ws8tjcBpoQ2BcQn5ZIz
/vKSB6HB7V+42ha1p3iPwZpevaTcLdabqFslxbSj+JHUEcdjz07V+BNl1Ffo3+x18St+n3/wx1W4
+aIPe6GXPVCczQj6MfMA6nc/Za/YvErIvbYeONpr3oaS/wAP/Af4M/M+Bc29lVeFm9Jar1/4J940
UUV+Hn6uFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFF
ABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAV8nftZ/E0+EPgh/wiWl3G
zXvEatC5RvmgtBxK3sWyIx6hmI5Wvqa/vrTTNDvNSv54rWxtYWmuJpGwsaKCzMT2AAJr8W/i147u
/iR8aNa8V3HmJbTv5WnQP1gtUJEa47Egl2H952r7bgXIv7QzBTmvcp6vzfRfr6I+W4tzb6ng3GL9
6ei9OrOZ+GH/ACdF8Pv+xhtP/Rq1+0Ws/ELwH4Y1OPTvEfjPwtoOoGFZBa3+qRQS7DkBtrMDg4PP
tX4u/DD/AJOj+H3/AGMNp/6NWv1+8WfB/wAG+NfEcesa3pWn3l95Kx+bNaRu+0dBuZScDJ496+h8
TPY/2jR9re3J033fc8XgX2n1Kr7O1+br6Fo/Gn4RL1+Jngb8NagP/s1RN8b/AIPr1+Jfgv8ADVYj
/WuWH7Ofw3XpoWlj6WMX/wATUq/s8/DlemiacPpaR/8AxNfnd8u7T+9f5H2lsb3j+P8Amb5+Ovwd
Xr8SfCH4aih/rUR+PfwaHX4keFfwvAayh+z98Ox/zBbH/wABk/wqUfAP4eD/AJg1n/34T/Cjmy7+
Wf3r/ILY3vH7n/mW2/aB+DC9fiN4b/Ccn+lRH9ob4Kjr8RfD/wCDsf8A2WkHwH+Ho/5g9sPpEv8A
hUg+Bnw/H/MIg/74H+FHNl38s/vX/wAiHLjf5o/c/wDMrt+0Z8El6/EPRPwWQ/8AstRH9pL4IL1+
IWk/hDMf/ZK0h8EPAA6aREPwFSj4LeAx00qOjny7+Sf/AIEv/kQ5cb/NH/wF/wDyRht+0x8DV6/E
DTj9LS4P/tOoW/ae+Ba9fH1p+FhdH/2lXTD4N+B16aWlTD4Q+CV6aaB+NHtMu/59z/8AAl/8gHJj
f54/+Av/AOSOPP7UfwIHXx7B+GmXZ/8AaVRH9qn4DDr47X8NHvT/AO0a7ofCfwavTT/1qVfhb4RX
pYH/AL6NHtcu/wCfU/8AwNf/ACAezxv/AD8j/wCAv/5M4/Rv2lfgr4g8WaboekeMWu9Tv7lLa1h/
si8QPI7BVG5ogoySOSQK916iuIsvh94asNRiurezKzRnKnceDXbgYAArkxEqEmvZRaXm0/yjE6aM
ayT9pJP0Vv1YUUUVzmwUUUUAFFFFAASACTwK8F1H9pz4H6Vr17pl/wCNhDe2k7wXEY0i8fY6MVYZ
WEg4IPIOK95YBkKnoRXCXPw48L3V/LczWRaWRtzHceTXTh5YeLftot+jS/OMjCvGs0vZyS9U3+TR
5mf2rfgP/D42lf8A3dEvv/jNNP7VnwP/AIfFV8/00O8/+NV6UPhn4TH/AC45/wCBGnD4a+Ex/wAw
8H/gRrq9tl//AD6n/wCBr/5Wc/s8b/z8j/4C/wD5M8xP7VnwV/h1/Vn/AN3Q7v8A+N00/tWfBz+H
Vdef6aFc/wDxFepf8K38J/8AQNT86ePhz4TH/MLiNHtsv/59S/8AA1/8gHssZ/z8j/4C/wD5I8nP
7Vnwi/hu/Ez/AE0K4/8Aiaaf2rPhR/CfFr/TQZv8K9cHw78Jj/mFQH6inD4e+Eh/zCLY/hR7fAf8
+Zf+Br/5EPY4z/n6v/Af/tjx4/tW/C/tbeNG+mgy0w/tXfDT+HTfHb/7ugv/AI17MPh/4SH/ADB7
X/vmnf8ACA+Ev+gLZ/8AfFH1jA/8+X/4H/8Aah7HF/8AP1f+A/8A2x4qf2rvh1/DofxDf6aA3/xV
NP7V3gH+Hwz8Sn+mgH/4uvbv+EE8KD/mC2X/AHxTv+EG8LDpo1n/AN8UfWcF/wA+X/4F/wAAPYYv
/n6v/Af+CeGH9q7wP/D4O+KL/wC7oA/+OU3/AIau8Hfw+BPiy/08Pr/8dr3geCfC4/5g9n/3wKcP
BnhgdNHs/wDvgUfWcF/z4/8AJn/kHsMV/wA/f/Jf+CcH8PPjXonxH8W3Wkad4W8daHLBbGc3GtaW
tvC4DKuxWDtl/mzjHQH0rX+M/wDyaj8Q/wDsX7v/ANEvXbWGg6Tpk5lsLGC2kIwWRcVxPxn/AOTU
fiH/ANi/d/8Aol6ypTpyxUHCPKrrS9+ppUjOOHkpyu7PpY/ECy+8K9D8Ka5qXhjxrpHiPRpPK1XT
bpbi2JOAxHVG/wBllJU+oY155ZdRXXWPQV/VmJpQqU3CaumrM/nzDVJQmpRdmj9t/BnirTfG/wAL
9F8U6S+6y1G2WVVJBaNujxtj+JWDKfdTXT1+fv7KHxDOk+M7v4eanPiw1UtdaQXPEdyq5liH++g3
gdMo/dq/QKv5f4gyieW46dB7brzT2/y9T97yfMY43Cxqrfr69QooorxT0wooooAKKKKACiiigAoo
ooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiii
gAooooAKKKKACiiigAoorH8Qa5p3hnwTqviDV5xbabp9q9xcSHnCqCTgdyegHc4FVGLk0ktWKUkl
dnyd+1r8Rjpvguz+HOlzlb7VlFxqpRuY7RW+VD6eY6kf7qOD1r83b7oa9M8aeJdS8ZfEXWfFWrgr
falcmUxE5EEYwscQ9kQKvuQT3rzO+6Gv6V4TyZZbgIUn8T1l6v8Ay2Pw7iLM3jsVKp9laL0/4O5r
fDD/AJOj+H3/AGMNp/6NWv1P+JHib44aX47jt/h/pvgi40D7KmX1W2uZJ/N53cxsF242479a/LD4
Yf8AJ0fw+/7GG0/9GrX7Q618QPAPhnU49O8S+MvCuhaiYVkFtqGpwwy7DkBtrMDg4PPtXwXiRKaz
KjyQ5nybNX6vofWcDqLwNXmlyrm3vbofNn/CZ/tTt/zC/hov00+8/q9L/wAJZ+1O3/Lp8PE/3dMu
T/N693Pxn+EC9fiV4F/DWYD/AOzVE3xt+Dq9fiT4K/DVIj/Wvg1UxfTDL/wA+u5MP/z/AH/4EeGf
8JL+1Q38PgNfppU39Xo/t39qlv8Alt4LX6aPJ/V69vPxz+Da9fiR4P8Aw1BDUR+PPwZHX4j+FPwu
warnxv8A0DL/AMF/8AXLhf8An+//AAP/AIJ4p/a37VTf8v3hJP8Ad0Vj/NqPt/7Vbf8AMW8Mr9ND
H/xVezH9oD4Lr1+Ivhr8Jyf6VEf2hvgoOvxE8P8A4Ox/9lp3x/TDL/wWv8hWwf8Az/f/AIH/AME8
d+0ftWMf+Q9oCfTQUP8ANqM/tWN/zNOjJ9PD8P8AjXrrftF/BJevxD0T8FkP/stRH9pH4Hr1+IOk
/hDMf/ZKf/Cl/wBAy/8ABS/+RF/sP/P/AP8AKj/zPJ/J/arb/mc9MT6eHLf/ABpPsX7VTf8AM/WS
fTw1a/1r1Rv2l/gYvX4gacfpaXB/9p1E37T3wLXr4+tPwsLo/wDtKq5c0/6Bv/KS/wDkRXy//n//
AOVH/wDJHmP9l/tUt/zUiBPp4Xs6P7E/aoYf8lSCfTwrYn+lelH9qP4EDr49g/DTLs/+0qiP7VPw
GHXx2v4aPen/ANo1XJm3/QN/5Rj/APIC58u/5/8A/lR//JHL+GdC/aPi8e6RPr/xOfUNGiuke9tD
4as4hcRhgWj3qNy5GRkcjNfVYztGeuOa8L0b9pX4K+IPFmm6HpHjFrvU7+5S2tYf7IvEDyOwVRua
IKMkjkkCvdeorycwjilJfWKfI+nuKH4JK56GCeHcX7GfMv8AE5fm2FFFFeedoUUUUAFFFFADWJEb
FeWxxXyXrWh/tMSeLdSfS/ih9k0x7l2tYR4Xsn8qMsSqbmGWwMDJ5OK+tiQASeBXguo/tOfA/Ste
vdMv/GwhvbSd4LiMaRePsdGKsMrCQcEHkHFejl0cW5S+r0+d9fcU7fenY4ca8OkvbT5f+3nH8mrn
mH/COftSN974tS/h4XsV/pS/8Ip+0633vi1e/h4fsh/7LXoB/at+A/8AD42lf/d0S+/+M00/tWfA
/wDh8VXz/TQ7z/41Xq+zzj/oG/8AKUf/AJA8/ny3/n//AOVJf/JHA/8ACG/tLN974t6n+GjWg/8A
ZaP+EG/aQb73xb1n8NOth/7LXeH9qz4K/wAOv6s/+7od3/8AG6af2rPg5/DquvP9NCuf/iKOTOP+
fH/lKP8A8iHPlv8Az+/8qS/+SOF/4V9+0U33vi5r/wCFrbj/ANlo/wCFb/tBufm+LviT8EhH/std
uf2rPhF/Dd+Jn+mhXH/xNNP7Vnwo/hPi1/poM3+FHLnH/Pn/AMpx/wDkQ5ss/wCfv/k8v8zif+FX
/H1vvfF3xUPpJEP/AGWj/hVHx4b73xf8X/hdIP8A2WuzP7Vvwv7W3jRvpoMtMP7V3w0/h03x2/8A
u6C/+NHLnH/Pv/ySP+Qc2Wfz/wDk0v8AM4//AIVF8cG+98YPG34aio/9lpP+FN/GhvvfGHx9+GrY
/wDZa68/tXfDr+HQ/iG/00Bv/iqaf2rvAP8AD4Z+JT/TQD/8XRbOP5P/ACWP+QXy3+b/AMml/mcl
/wAKU+MDfe+MXxF/4DrhH/stL/wo74sN974x/E0fTxE4/wDZa6k/tXeB/wCHwd8UX/3dAH/xym/8
NXeDv4fAnxZf6eH1/wDjtFs4/l/CP+QXy3v+Mjp/hb8NvGXg7xpd6l4g8feM/FNvLamFbXV9Xa5h
QllbeqkDD/LjPoT6113xn/5NR+If/Yv3f/ol6yPh58a9E+I/i260jTvC3jrQ5YLYzm41rS1t4XAZ
V2Kwdsv82cY6A+la/wAZ/wDk1H4h/wDYv3f/AKJevNl7f67D23xXXb9Duj7H6rL2W1n3/U/ECy+8
K66x7VyNl1FddY9BX9U1Nj+fqR2mmXF5ZahZ3+nXDWepWkyXFpcL1ilRgyN+BA47jIr9cPht42tP
iD8HNH8TWyrDNPFsvbYHJt7hDtljPfhgcHuMHvX5F2X8P0r6j/Zy8df8Ip8YW8NX83l6F4kcLHuO
FhvlXCH281RsP+0kY71+b8fZL9bwft4L36evquv3b/efd8I5n9XxPspP3Z/n0/yP0Looor8KP1YK
KKKACiis3WNY0zQPC99rWs3sGn6XZwtNc3MzYWNAMkn/AA6mnGLk7LcTaSuzSorw/wCDPxji+L48
XX9lpw0/SNP1MW2nbyfOli2A+ZJzgMTk7R0HGT1r3Ct8XhauGqulVVpLdGWHxFOvTVSm7p7BRRRX
ObBRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUh
+6TQAtFfB1v+0bfeBP28/G3hTxhez3Xga71FFhklcudJcxRjcmefJJGWQcAksvO4N92QzQ3NpFcW
8sc8EqB45I2DK6kZBBHUEd69PMcpxGCVOVRaTipJ9Gmr/eupwYLMaOKc1B6xbTXa3+ZLRRRXmHeF
FFFABXxH+1T49Nze2Hw202fMMey/10qevOYID+I80jqNsfZq+tPGnivT/BHwv1nxRqZJtbC3LiNT
hpnPypGv+07lVHuwr8o9Zv8AUdX13Uta1iYT6vqNy11euM43t/Cuf4VGFUdlUV9/wDkv1nGfWZr3
ae3nLp92/wBx8jxdmfsMP7CL96f5f8Hb7zib7qfrXHX3Q12N91P1rjr7oa/eaR+R1jW+GH/J0fw+
/wCxhtP/AEatfr94s+D/AIN8a+I49Y1vStPvL7yVj82a0jd9o6Dcyk4GTx71+QPww/5Oj+H3/Yw2
n/o1a/U/4keJvjhpfjuO3+H+m+CLjQPsqZfVba5kn83ndzGwXbjbjv1r8h8SIylmVFRnyvk3bt1Z
+i8DyisDV5o83vbWv0LY/Zz+G69NC0sfSxi/+JqVf2efhyvTRNOH0tI//ia8u/4TP9qdv+YX8NF+
mn3n9Xpf+Es/anb/AJdPh4n+7plyf5vXwHsK3/QTH/wJ/wCR9h7al/z4f/gK/wAz1Ufs/fDsf8wW
x/8AAZP8KlHwD+Hg/wCYNZ/9+E/wryT/AISX9qhv4fAa/TSpv6vR/bv7VLf8tvBa/TR5P6vS+r1P
+gmP/gUv8h+3h/z4f3L/ADPYB8B/h6P+YPbD6RL/AIVIPgZ8Px/zCIP++B/hXjX9rftVN/y/eEk/
3dFY/wA2o+3/ALVbf8xbwyv00Mf/ABVT9VfXEx++X/yI/rC/58S+6P8Ame1D4IeAB00iIfgKlHwW
8BjppUdeH/aP2rGP/Ie0BPpoKH+bUZ/asb/madGT6eH4f8aTwi64mP3y/wDkR/WX/wA+Jf8Akv8A
8ke6D4N+B16aWlTD4Q+CV6aaB+NeC+T+1W3/ADOemJ9PDlv/AI0n2L9qpv8AmfrJPp4atf60vqUP
+gmP/k//AMiP61P/AJ8S/wDJf/kj6AHwn8Gr00/9alX4W+EV6WB/76NfPf8AZf7VLf8ANSIE+nhe
zo/sT9qhh/yVIJ9PCtif6VP1Gl/0Ew/8n/8AkB/W6n/PiX/kn/yR9JWXw+8NWGoxXVvZlZozlTuP
BrtwMAAV8p+GdC/aPi8e6RPr/wATn1DRorpHvbQ+GrOIXEYYFo96jcuRkZHIzX1WM7RnrjmuPEUY
U2lGop+nN/7ckdVGrKablBx9bfo2LRRRXObBRRRQAUUUUAIwDIVPQiuEufhx4Xur+W5msi0sjbmO
48mu6YkRsV5bHFfJetaH+0xJ4t1J9L+KH2TTHuXa1hHheyfyoyxKpuYZbAwMnk4rpw9CFRvmqKHr
zf8AtqZhXqyglywcvS36tHuw+GfhMf8ALjn/AIEacPhr4TH/ADDwf+BGvnT/AIRz9qRvvfFqX8PC
9iv9KX/hFP2nW+98Wr38PD9kP/Za6vqFD/oJh90//kDn+t1v+fEvvh/8kfRn/Ct/Cf8A0DU/Onj4
c+Ex/wAwuI184f8ACG/tLN974t6n+GjWg/8AZaP+EG/aQb73xb1n8NOth/7LR9Rw/wD0ER+6f/yI
fW63/PiX3x/+SPpEfDvwmP8AmFQH6inD4e+Eh/zCLY/hXzZ/wr79opvvfFzX/wALW3H/ALLR/wAK
3/aDc/N8XfEn4JCP/ZaPqWG/6CI/dP8A+RD63X/58v74/wCZ9Kj4f+Eh/wAwe1/75p3/AAgPhL/o
C2f/AHxXzP8A8Kv+Prfe+LviofSSIf8AstH/AAqj48N974v+L/wukH/stH1PDf8AQQvul/kH1rEf
8+X98f8AM+mv+EE8KD/mC2X/AHxTv+EG8LDpo1n/AN8V8x/8Ki+ODfe+MHjb8NRUf+y0n/Cm/jQ3
3vjD4+/DVsf+y0fU8L/0EL/wGX+QfWcR/wA+X96/zPqAeCfC4/5g9n/3wKcPBnhgdNHs/wDvgV8u
/wDClPjA33vjF8Rf+A64R/7LS/8ACjviw33vjH8TR9PETj/2Wj6phP8An/8A+SsPrOI/58/ij6ys
NB0nTJzLYWMFtIRgsi4rifjP/wAmo/EP/sX7v/0S9cj8Lfht4y8HeNLvUvEHj7xn4pt5bUwra6vq
7XMKEsrb1UgYf5cZ9CfWuu+M/wDyaj8Q/wDsX7v/ANEvWVKEIYqChLmV1ra3U0qTnLDyco2dn5n4
gWX3hXXWPauRsuorrrHoK/q+psfzzSOwsv4fpXVwxtLDsSWWCXIaKWNsPE4OVdT2YEAg+oFcpZfw
/SuwsvvD6159ZJqzPUovU/S74Q+PB8QPgvYapcmNdctSbPWIk4CXKAbiB2VwVkX/AGXFeoV+ePwa
8ZnwP8brRrmUx+H9eMdhqOT8sU2cW8x9PmYxsfSRSeFr9Duor+dOJ8neXY6UEvdesfTt8tj9lyPM
freFUm/eWj/z+YUUUhIVSzEAAZJNfOnsENzc29lp095eTw2trBG0k00rhUjRRksxPAAAJJNflP8A
tHfHa7+JmuvoHh+aa18BWU2YhyralIp/1zjqEH8CH/ePJAX0j9oX43P41urnwb4TumHg63kK317E
3GqyKfuqe8Ckdf4yM/dALfFOqdG/Gv2fgThD2PLjMVH3vsp9PN+fbt67fmHFvEbqJ4ag/d6vv5Ly
/P0Pv/8AYb/5Jt4z/wCwmv8A6LFfd1fCP7Df/JNvGf8A2E1/9Fivrb4h674k8O/DS61Hwno9prmt
o6CG1upGSNlLDcSV54XJHvXwHFsOfPMRFPeXXTsfYcOS5cpovtE7iivjv/hc3x8/6Jh4X/8AA2f/
AAo/4XN8fP8AomHhf/wNn/wryv7Kn/z8h/4HH/M9D+0IfyS/8Bf+R9iUV8d/8Lm+Pn/RMPC//gbP
/hR/wub4+f8ARMPC/wD4Gz/4Uf2VP/n5D/wOP+Yf2hD+SX/gL/yPsSivjv8A4XN8fP8AomHhf/wN
n/wo/wCFzfHz/omHhf8A8DZ/8KP7Kn/z8h/4HH/MP7Qh/JL/AMBf+R9iUV8d/wDC5vj5/wBEw8L/
APgbP/hR/wALm+Pn/RMPC/8A4Gz/AOFH9lT/AOfkP/A4/wCYf2hD+SX/AIC/8j7Eor47/wCFzfHz
/omHhf8A8DZ/8KP+FzfHz/omHhf/AMDZ/wDCj+yp/wDPyH/gcf8AMP7Qh/JL/wABf+R9iUV8d/8A
C5vj5/0TDwv/AOBs/wDhR/wub4+f9Ew8L/8AgbP/AIUf2VP/AJ+Q/wDA4/5h/aEP5Jf+Av8AyPsS
ivjv/hc3x8/6Jh4X/wDA2f8Awo/4XN8fP+iYeF//AANn/wAKP7Kn/wA/If8Agcf8w/tCH8kv/AX/
AJH2JRXx3/wub4+f9Ew8L/8AgbP/AIUf8Lm+Pn/RMPC//gbP/hR/ZU/+fkP/AAOP+Yf2hD+SX/gL
/wAj7Eor47/4XN8fP+iYeF//AANn/wAKP+FzfHz/AKJh4X/8DZ/8KP7Kn/z8h/4HH/MP7Qh/JL/w
F/5H2JRXx3/wub4+f9Ew8L/+Bs/+FH/C5vj5/wBEw8L/APgbP/hR/ZU/+fkP/A4/5h/aEP5Jf+Av
/I+xKK+O/wDhc3x8/wCiYeF//A2f/Cj/AIXN8fP+iYeF/wDwNn/wo/sqf/PyH/gcf8w/tCH8kv8A
wF/5H2JRXx3/AMLm+Pn/AETDwv8A+Bs/+FH/AAub4+f9Ew8L/wDgbP8A4Uf2VP8A5+Q/8Dj/AJh/
aEP5Jf8AgL/yPsSivjv/AIXN8fP+iYeF/wDwNn/wo/4XN8fP+iYeF/8AwNn/AMKP7Kn/AM/If+Bx
/wAw/tCH8kv/AAF/5H2JRXx3/wALm+Pn/RMPC/8A4Gz/AOFH/C5vj5/0TDwv/wCBs/8AhR/ZU/8A
n5D/AMDj/mH9oQ/kl/4C/wDI+xKQ/cP0r49X4y/H1nCj4YeFsk972f8Awr6t0S8vb/wXpt5qVtHZ
ajNao91AjErHIVG9QT1AOQDXPiMJKik3KLv2af5G9DEqq2lFr1TX5n42/Hv/AJPU8d/9fy/+i0r6
L/Zp+PT+GZbLwB4zvS3hmZhHpOozv/yD3Y8QyE/8sSfusfuE4Pyn5PnT49/8nqeO/wDr+X/0Wlcp
pqqyhWAZSMEEcHiv6Ep5Ph8yyGhRrL7EbPqnZao/GXmVbBZvWq039p3XdX2P3TzkZHNFfE37PHxs
eIad8O/Gd4zKxEPh/VZ3zu7Laysf4u0bH733T8wXd9s1+B5vlNfLsS6NZarZ9Gu6P1/LsxpY2gqt
N+q7PsFFFcJ8SPGkHgL4Rar4gdEuLxFEOn2rHH2i5c7Yo/XBYgkjooY9q4aNGdWpGnBXbdl8zsq1
I04OcnZI+VP2j/Gp1/4jW3gqwlLaVoTLcakVPEt4y/u4z6iNG3EdN0i91r5avuhrqZ1n2TTXlw15
qFxK895cv96eZ2LSOfqxJ9uBXLX3Rq/o/IcshgMJChHpu+76v+uh+M5tjZYvESqvr+C6HIX3U/Wu
Ovuhrsb7qfrXHX3Q19JSPnqxrfDD/k6P4ff9jDaf+jVr9oda+IHgHwzqceneJfGXhXQtRMKyC21D
U4YZdhyA21mBwcHn2r8Xvhh/ydH8Pv8AsYbT/wBGrX6/eLPg/wCDfGviOPWNb0rT7y+8lY/NmtI3
faOg3MpOBk8e9fj3iZ7H+0aPtb25Om+77n6PwJ7T6lV9na/N19CwfjP8IF6/ErwL+GswH/2aom+N
vwdXr8SfBX4apEf61zA/Zz+G69NC0sfSxi/+JqVf2efhyvTRNOH0tI//AImvzu+Xdp/ev8j7S2N7
x/H/ADN4/HP4Nr1+JHg/8NQQ1Efjz8GR1+I/hT8LsGssfs/fDsf8wWx/8Bk/wqUfAP4eD/mDWf8A
34T/AAo5su/ln96/yC2N7x+5/wCZaP7QHwXXr8RfDX4Tk/0qI/tDfBQdfiJ4f/B2P/stA+A/w9H/
ADB7YfSJf8KkHwM+H4/5hEH/AHwP8KObLv5Z/ev/AJEOXG/zR+5/5lZv2i/gkvX4h6J+CyH/ANlq
I/tI/A9evxB0n8IZj/7JWmPgh4AHTSIh+AqUfBbwGOmlR0c+XfyT/wDAl/8AIhy43+aP/gL/APkj
Cb9pf4GL1+IGnH6Wlwf/AGnUTftPfAtevj60/Cwuj/7Srph8G/A69NLSph8IfBK9NNA/Gj2mXf8A
Puf/AIEv/kA5Mb/PH/wF/wDyRx5/aj+BA6+PYPw0y7P/ALSqI/tU/AYdfHa/ho96f/aNd0PhP4NX
pp/61Kvwt8Ir0sD/AN9Gj2uXf8+p/wDga/8AkA9njf8An5H/AMBf/wAmcfo37SvwV8QeLNN0PSPG
LXep39yltaw/2ReIHkdgqjc0QUZJHJIFe69RXEWXw+8NWGoxXVvZlZozlTuPBrtwMAAVyYiVCTXs
otLzaf5RidNGNZJ+0kn6K36sKKKK5zYKKKKACiiigArg7n4p/DGyv57W8+IvgW0uoZDHNDNr1sjx
spwVYF8ggjBB6V3TDdGy+oxXg+ofs7fDnUtevNRuNC0hri5maWVjp8RLMxJJJK8kkk5rpw/1e79t
f5W/Uwr+2svZ2+d/0O0Pxg+Ew6/E74f/AIeILY/+z1CfjP8ACNevxM8C/hrcB/8AZq4gfs2fDRf+
YBo/4adCP/ZamX9nL4bgf8gLSvwsYv8A4mur/hO/v/gc/wDtv938TrG+NvwgXr8S/BX4atEf/Zqi
Pxz+Dq9fiV4P/DUkP9a50fs7/DgdND00fSzj/wDiamX9nz4dD/mC2H4Wsf8AhRfLu0/vX+QWxveP
3P8AzNc/Hn4Nr1+JHhT8L1TUTfH/AODC9fiP4ZP0uc/0qkPgD8PB/wAwaz/8B0/wqQfAb4ej/mDW
v/flf8KObLv5Z/ev8gtje8fuf+ZIf2hfgsOvxF8PfhIx/pUTftFfBNevxE0P8PMP/stTD4FfD4f8
wiD/AL9r/hUg+B3w/H/MIh/75FHPl38k/wDwJf8AyIcuN/mj9z/+SKB/aQ+CC9fiFpH4RTH/ANkq
I/tLfA5evxB038Lac/8AtOtkfBTwEo40mP8AIVKPg14GXppaUc+XfyT/APAl/wDIhyY3+eP/AIC/
/kjnD+058C16+P7L8LG5P/tOoj+1F8CR18fW/wCGm3Z/9pV1q/B/wQv/ADDFqUfCXwYvTTx+dHtM
u/59z/8AA1/8gHJjf54/+Av/AOSI/BPxn+GvxF8TXGj+DfEyazqUFsbiWEWU8W2MMqlsyIoPLKMA
55p/xn/5NR+If/Yv3f8A6Jeui0PwZoXh2+e40y28mVhgnPaud+M//JqPxD/7F+7/APRL1lSlSeKg
6SaV1u7vfukvyNKiqLDy9o03Z7K36v8AM/ECy+8K66x7VyNl1FddY9BX9X1Nj+eaR2Fl/D9K7Cy+
+PqK4+y/h+ldhZfeH1rgqnp0jqI7aG8sJbW4TzIJUKOvqCMV95fBHxxN4v8AhItnqs/neJdFcWWp
sx+afCgxT/8AbRMMT03bx/DXwpY9RXpHgfxU3gP4taZ4meQx6NOq2OujPyi3ZvkmP/XJzuJ7I0lf
EcYZP9ewTcV78NV+q+f52PreH8w+q4hXfuy0f6P5flc/Qevij4+fF99XfUPAHhG7ZdLiZodf1KBs
ecw4a0jYdh0kYf7g/ix2/wAaPivOj3XgXwbetDfFQut6tbvzYowz5ETD/luwPJH+rU5+8Vx8cXsE
NrYrb28aQwxrtRFHAFfKcF8LKpKOLxK03iu/m/Lt9/r7fEueOMXh6L9X+i/X7jz7UlCKVVQqquAA
OAMV51qnRvqa9G1Tq/0rznVOjfU1+1UT8txB9/8A7Df/ACTbxn/2E1/9Fivu0qGGGAI96+Ev2G/+
SbeM/wDsJr/6LFfYfjTxlo/gPwHc+ItdF82nwuiOtnbNNKSzBRhV5PJ59BX848WwlPPMRGKu3L/I
/aeHJxhlNGUnZKJ0/kxf880/75o8mL/nmn/fNfN3/DVnwt/54+Mv/BDLR/w1Z8Lf+ePjL/wQy15X
9jY7/n1L7j0P7Uwn/PxfefSPkxf880/75o8mL/nmn/fNfN3/AA1Z8Lf+ePjL/wAEMtH/AA1Z8Lf+
ePjL/wAEMtH9jY7/AJ9S+4P7Uwn/AD8X3n0j5MX/ADzT/vmjyYv+eaf98183f8NWfC3/AJ4+Mv8A
wQy0f8NWfC3/AJ4+Mv8AwQy0f2Njv+fUvuD+1MJ/z8X3n0j5MX/PNP8AvmjyYv8Anmn/AHzXzd/w
1Z8Lf+ePjL/wQy0f8NWfC3/nj4y/8EMtH9jY7/n1L7g/tTCf8/F959I+TF/zzT/vmjyYv+eaf981
83f8NWfC3/nj4y/8EMtH/DVnwt/54+Mv/BDLR/Y2O/59S+4P7Uwn/PxfefSPkxf880/75o8mL/nm
n/fNfN3/AA1Z8Lf+ePjL/wAEMtH/AA1Z8Lf+ePjL/wAEMtH9jY7/AJ9S+4P7Uwn/AD8X3n0j5MX/
ADzT/vmjyYv+eaf98183f8NWfC3/AJ4+Mv8AwQy0f8NWfC3/AJ4+Mv8AwQy0f2Njv+fUvuD+1MJ/
z8X3n0j5MX/PNP8AvmjyYv8Anmn/AHzXzd/w1Z8Lf+ePjL/wQy0f8NWfC3/nj4y/8EMtH9jY7/n1
L7g/tTCf8/F959I+TF/zzT/vmjyYv+eaf98183f8NWfC3/nj4y/8EMtH/DVnwt/54+Mv/BDLR/Y2
O/59S+4P7Uwn/PxfefSPkxf880/75o8mL/nmn/fNfN3/AA1Z8Lf+ePjL/wAEMtH/AA1Z8Lf+ePjL
/wAEMtH9jY7/AJ9S+4P7Uwn/AD8X3n0j5MX/ADzT/vmjyYv+eaf98183f8NWfC3/AJ4+Mv8AwQy0
f8NWfC3/AJ4+Mv8AwQy0f2Njv+fUvuD+1MJ/z8X3n0j5MX/PNP8AvmjyYv8Anmn/AHzXzd/w1Z8L
f+ePjL/wQy0f8NWfC3/nj4y/8EMtH9jY7/n1L7g/tTCf8/F959I+TF/zzT/vmjyYv+eaf98183f8
NWfC3/nj4y/8EMtH/DVnwt/54+Mv/BDLR/Y2O/59S+4P7Uwn/PxfefSPkxf880/75o8mL/nmn/fN
fN3/AA1Z8Lf+ePjL/wAEMtH/AA1Z8Lf+ePjL/wAEMtH9jY7/AJ9S+4P7Uwn/AD8X3n0j5MX/ADzT
/vmnkARkDgYr5r/4as+Fuf8AU+Mv/BDLX0Jpep2uteFrDV7Lzfsl5bJPD5iFHCuoYbgehweR2rmx
GBxFBJ1YON+5vQxdGs2qck7dj8aPj3/yep47/wCv5f8A0WlcrpfVfpXVfHv/AJPU8d/9fy/+i0rl
dL6p9K/prI/+RVhv8EfyR+FZn/yMa/8Aif5noFjFHPaeVKgeNuCP89/evvL4GfF+bV1tvAvjG8Mm
vxoRpOpTHnU41GSjn/nugHP99RuHIbHwlpf3VrvrS3S5gVGeaGRHWSGaFykkMikFZEYcqykAgjoR
Xj8RZJRzLDunPSS2fZ/5d0e1kmZVMHV547dV3/rofqfXwv8AGrxcfF/xofS7WXzNA8Mu0CYPyz3z
DEr+/lqfKHozSiu30744a1J+yh4o1K6hW48VaPOmlpqiRgWtzLKyxpcEdB5e8GVR8oKkA84X57Fo
ljpcVqjySiMHdJI2XkYnLOx7sxJJPck18BwZw/OljKlWstab5V116v7vz8j67iLNo1MPCnT2mrv0
6L7/AMjmb3o1cffdDXX33Rq5C+6NX63SPz6schfdT9a46+6Guxvup+tcdfdDXoUjy6xrfDD/AJOj
+H3/AGMNp/6NWv1V+Inxa8ceDvHEek+HfhcfFunG1ST+0Dr0dr85zlPLKMeABznnPtX5VfDD/k6P
4ff9jDaf+jVr9yza20yI0sEUjbRyy5r8e8TKsaeY0XKCl7mzvbd9mn+J+j8CU5TwVVKTj726t280
z5L/AOGgviy33fgbCv18UIf/AGlSf8L9+L7fd+Clkv8AveIwf5R19a/YbP8A59YP++BS/Y7T/n2h
/wC+BX53/aFH/oHh/wCT/wDyZ9p9Tq/8/pf+S/8AyJ8kf8L3+Mx+78G9LH114n/2nSf8Ly+Njfd+
EOir9dZc/wDslfXP2W1H/LCH/vkUv2a2/wCeMX/fIo/tCl/0Dw/8m/8Akg+pVP8An9L/AMl/+RPk
M/G345t934UeH1+uqSH/ANlpP+F0fHo/d+FvhkfW/mP/ALLX195FuP8AllF/3yKXyYf+ecf5Cj+0
af8Az4h/5N/8kH1Kf/P6X/kv/wAifH5+Mf7QB+78M/Ca/W6uD/Sk/wCFvftDt934deC1+s1ya+wf
Kh/uR/lS+XF/dT8qP7Rh/wA+Ifc//kg+pS/5+y/D/I+Pf+FsftGt93wD4DX/AHnuz/Wk/wCFo/tK
N93wR8PF/wB4Xh/rX2Hsi/up+VG2Ifwx/kKP7Sj/AM+Yfc/8w+ov/n7L71/kfHn/AAsv9ptvu+D/
AIaL9Yr4/wDs1H/Cxf2oW+74X+Fq/wC9b35/9nr7DxF6R/kKaz26feaFfqQKP7SX/PmH3f8ABD6j
/wBPZff/AMA+WvDXjb9pC98e6Rb69oXwyg0N7pBfvaW18swh3DfsLOV3YzjIxnrX1UDlQenFVxc2
ZlVVnti5OAA4yTVmuXE1/atPlUfRWOihR9mmuZv1dwooormNwooooAKKKKAEZtsbMewzXyprHx5+
J2n+KtRsLT4JC7tre5eOC5bxREvnIGIV9vlHbuGDjPGcV9WVQkh00SEypZhs87sZrpw1eFNvmpqf
rzfo0YV6UppWm4+lv1TPlD/hoD4tt934H26/XxOh/wDaVJ/wvv4wk/L8FrBfr4hB/wDadfVRbRV+
9Jpq/V1FRm60Bet3pK/WZB/Wuz67T/6Bo/8Ak/8A8mc31Wf/AD/l/wCS/wDyJ8sf8L2+NB+78HdJ
X664T/7JSf8AC8fjcfu/CPQ1+uruf/ZK+pDqfhteuo6Iv1uIx/WozrfhVfvaxoC/W7i/xprGR6Ya
P/k//wAkL6tL/n/L/wAl/wDkT5d/4XX8dT934U+HV+upSn/2Wk/4XP8AHw/d+F/hcfW+nP8ASvp8
+JPCC9df8OL9b6L/ABqM+LPBa9fEvhhfrqMP/wAVVfWv+oaP3S/+SF9X/wCn8vvj/kfMX/C4v2gm
+78NfCC/W5uD/Sj/AIW5+0S33fh54JX/AHpbo19Mnxp4FXr4s8KL9dUh/wDiqjPjv4fr97xl4QX6
6tB/8VTWJn0w0ful/mT7CP8Az/f3r/I+av8Aha37SDfd8B+AV+puz/Wk/wCFn/tLt93wX8OV/wB5
b0/+zV9IH4hfDlfveOPBa/XWbf8A+LqM/Er4Zr97x94GX663bf8AxdV9Yq9MNH/wF/5i9jT/AOf7
+9f5Hzn/AMLJ/adb7vhL4ZL9Yb4/+zUf8LD/AGo2+74Z+FS/W1vz/wCz19Dt8Ufhav3viH4CH112
2/8Ai6jPxY+E6/e+JPw+X66/a/8AxdP21f8A6Bl/4Cxeypf8/wB/+BI4n4XeJvjPrPjO7h+IuleC
LLRxakwNo0F0k3nblxu81iNm3d05ziut+M//ACaj8Q/+xfu//RL10WheOfA/ifVZbHwz4u8LeIL2
OLzZINM1SG4kRMgbiqMSBkgZ9xXO/Gf/AJNR+If/AGL93/6JeuRSm8XByhyu60tbr2OlqKw0uWXN
o9b3PxAsvvCuuse1cjZdRXXWPQV/VlTY/nukdhZfw/Suwsvvj6iuPsv4fpXYWX3h9a4Kp6dI6+x+
8K6fS9FuPGPxA0fwZaBjHdkTaow/gtVIyp/66H5P93f6VyUVxDaWMt1cSLFBEheRz0CgZJr6/wD2
ePBE+meDrnxfrFu0Wtaywl2OPmghAxHF/wABXr/tFj3r4ni/OPqGCfK/flov1fy/Ox9ZkGA+tYhJ
/DHV/wCXz/K55p8Y/hvqfhTXZvGOhQy3ul3AU6vZRJkkgAecgH8YAGR/EB6gV883s8N1Yrc28iTQ
SKGR1OQwI4Nfq7e2dvf6dLa3UaywyKQysM1+eXxm+Fd58Pteu9e0aGSbwpdSGS6hRc/Y3PJlUf3T
/EO33vWvlOC+KeRxweJen2X+j/T7j2+JcjcovEUV6r9V+v3nzfqnV/pXnOqdG+pr0XUyrKWUhlK5
BByDxXnWqdG+pr9pon5diD7/AP2G/wDkm3jP/sJr/wCixX3BqGm2eq6e1rfQJcQN1VulfD/7Df8A
yTbxn/2E1/8ARYr7ur+buMf+R1iP8R+18M/8iuh6HGf8K+8Jf9Ae2/75o/4V94S/6A9t/wB812dF
fNHunGf8K+8Jf9Ae2/75o/4V94S/6A9t/wB812dFAHGf8K+8Jf8AQHtv++aP+FfeEv8AoD23/fNd
nRQBxn/CvvCX/QHtv++aP+FfeEv+gPbf9812dFAHGf8ACvvCX/QHtv8Avmj/AIV94S/6A9t/3zXZ
0UAcZ/wr7wl/0B7b/vmj/hX3hL/oD23/AHzXZ0UAcZ/wr7wl/wBAe2/75o/4V94S/wCgPbf9812d
FAHGf8K+8Jf9Ae2/75o/4V94S/6A9t/3zXZ0UAcZ/wAK+8Jf9Ae2/wC+aP8AhX3hL/oD23/fNdnR
QBxn/CvvCX/QHtv++aP+FfeEv+gPbf8AfNdnRQBxn/CvvCX/AEB7b/vmj/hX3hL/AKA9t/3zXZ0U
AcZ/wr7wl/0B7b/vmj/hX3hL/oD23/fNdnRQBxn/AAr7wl/0B7b/AL5o/wCFfeEv+gPbf9812dFA
HGf8K+8Jf9Ae2/75o/4V94S/6A9t/wB812dFAHGDwB4TDAjR7YEdPlrrIYIraxWCFBHEi4VR0Aqe
kP3D9KAPxY+Pf/J6njv/AK/l/wDRaVyul9V+ldV8e/8Ak9Tx3/1/L/6LSuV0vqn0r+pMj/5FWG/w
R/JH4Fmf/Ixr/wCJ/mei6X91K9G8L6HrHjbxknhjw/5sQyP7Sv0HFqh/hU/89GH/AHyOfTPDeE9D
1jxX4stvD3h+MtfS4M8+3K2sZ43n1brtHc+wNfpp8M/hxpHw98C2+n2UINyRunmfl5HPJZj3JPJN
fFcZcURwMXQov94//JV/n2+8+t4ayR4p+1qL3F+P/A7/AHFO2+FPh6y+ANz4JhsovsUtoYpExw2R
g5+uTzXw39nvtK1LUfDWrM7arpE3kSO/WeP/AJZS/wDAl6/7Qb0r9PK+Pf2jfB506/sfiJp8J2W4
8jV1Qfet2P3z/uNhs+m/1r4Pg3OnhcdyVH7tTR+vR/o/U+t4iy5VsLzwWsPy6r9T5mvejVx990Nd
fekFCQQQRwa5C+6NX7rSPyyschfdT9a46+6Guxvup+tcdfdDXoUjy6xrfDD/AJOj+H3/AGMNp/6N
Wv1O+JHwj8Q+NfHkes6f448ZaDALVIfsmmazJbQfLk7ti8bjnk+wr8sfhh/ydH8Pv+xhtP8A0atf
rF49+OFl4A8Zx6FN4H8c+IXNqk32vSrJJIPmyNm5nHzDHIx3FfkniJ9Y/tOj7B+9yeXfzP0Lgr2P
1Cr7Xbm8+3keVf8ADOHilvv/ABL+ITf73iOc0f8ADNWvt9/4ieOm/wB7xBOf61un9qazP3fhR8TT
/vWcI/8AalMP7UsZ+78JfiMf96KEf+z18RfOP5v/ACaP+Z9VbLf5fwl/kYv/AAzJqzff8e+M2+uu
zn+tH/DL1433/GvitvrrU5/9mrYP7Ucn8Pwi8fH6mEf+zUw/tQ3v8Pwf8bH6zwj+tHNnH/Pz/wAm
j/mFss/k/wDJZf5GT/wyw7ff8YeJW+urzn/2aj/hlKBvv+J9ef66pcf/ABdah/ag1T+H4OeMD9by
EU3/AIae1w/c+DHig/XU4R/Sjmzj/n7/AOTx/wDkg5cs/wCff/kkv8jN/wCGTtOP39e1h/rqVx/8
XR/wyTobH59U1JvrqNx/8XWh/wANN+JT9z4KeIj9dYhH/stIf2l/F5+58ENbPpnXoR/7JRz5x/z/
AP8AypH/AOSDlyz/AJ9f+SS/+RKP/DIfhg/fu7x/rf3H/wAXR/wx/wCDm++0zfW9uP8A45V3/hpP
xyfufAzVD9fEkA/9p0h/aQ+IR+58B74/XxTAP/aVHtM4/wCgj/yrH/5MOTLP+fP/AJTl/wDIlT/h
jvwIfvwb/reXH/xynj9jzwAP+XRf/Amc/wDtSp/+GjPiYfufASc/XxdAP/aNH/DRHxSb7vwGK/73
i6E/yho9pm//AEE/+Vo//JhyZb/z4/8AKUv/AJE2fDf7LPgbw3450rXrS0VbzT7pLm3cTyko6MGU
8vjgivqMcKBXy74c+OHxN1nx3pOmX/wbj0nT7m6SO6vP+EjSU28ZYBnCCMbsDJxnmvqIHIBrycwe
Jcl7epzv/Epfim7HpYNUFF+xhyr/AAuP5pC0UUV552BRRRQAUUUUANYFo2AOCR1r5R1j9k7wHq/i
zUtWmtFM97cvcTE3E3LuxZj9/uSa+r2bbGzHsM18qax8efidp/irUbC0+CQu7a3uXjguW8URL5yB
iFfb5R27hg4zxnFejl0sUpS9hU5H199Q/Nq5xY1Ydpe2hzf9uuX5J2M4fsgfD4f8ucf/AH+l/wDi
6lH7Inw9H/LlF/33J/8AFVD/AMNAfFtvu/A+3X6+J0P/ALSpP+F9/GEn5fgtYL9fEIP/ALTr0+bN
f+gn/wAqx/8Akjg5cv8A+fH/AJTf/wAiXB+yP8PB1sofzf8A+KqUfslfDsf8uEH5H/Gs3/he3xoP
3fg7pK/XXCf/AGSk/wCF4/G4/d+Eehr9dXc/+yUr5n/0E/8AlVf/ACQWwH/Pj/ym/wDI2B+yb8OR
/wAuFv8A98Z/rUg/ZQ+HA66fb/8AfoVg/wDC6/jqfu/Cnw6v11KU/wDstJ/wuf4+H7vwv8Lj6305
/pS/4UP+glf+DF/mV/sX/Ph/+AP/ACOkX9lP4bj/AJh1sf8AtgtSD9lf4bD/AJhlmfrbJ/hXK/8A
C4v2gm+78NfCC/W5uD/Sj/hbn7RLfd+Hnglf96W6NTy47riV/wCDP+CO+E/58P8A8A/4B16/st/D
YH/kE2B+tpH/AIVMP2X/AIaj/mD6afrZR/4VxX/C1v2kG+74D8Ar9Tdn+tJ/ws/9pdvu+C/hyv8A
vLen/wBmpOGM64lf+B/8Eanhv+fD/wDADux+zJ8NR/zBNKP1sIv/AImpR+zR8NB/zAdHP106H/4m
vP8A/hZP7Trfd8JfDJfrDfH/ANmo/wCFh/tRt93wz8Kl+trfn/2epdLFdcSv/A2P2mH/AOfD/wDA
T3bwV8JPCHgPX5tT0DS9PsbuWLynkt7SOJimQdpKgHGQDj2FSfGf/k1H4h/9i/d/+iXrkvhd4m+M
+s+M7uH4i6V4IstHFqTA2jQXSTeduXG7zWI2bd3TnOK634z/APJqPxD/AOxfu/8A0S9cajNYuClP
md1re/XudTcXhpcseXR6WsfiBZfeFddY9q5Gy6iuusegr+rKmx/PdI7Cy/h+ldhZffH1FcfZfw/S
upS4S0sZLiQMyxjO1RksewA7kngD1NefVdldnqUdT07wF4Wl8efGLS/DyoX0u1ZLzVmxkFQ2Y4j/
ALzDcR6Jj+Kv0utLWKz02G1hUJHGgVQPavCf2f8AwBJ4S+FS6lqcSjX9Vb7Tet1KlgMID6KoCj2X
3r3+v514pzj+0cdKcX7kdI+nf5/5H7JkWXfVMKk17z1f+XyCszV9Js9a0OewvoUmglUqQwzWnRXz
h7J+V3xp+E1/8NvEk13ZQvL4TuHJjZRkWbE/d/65k9P7p46EY+Y9U6N9TX7m+JfDem+KfCl1pWp2
8VxbzRlSHUEcjFfkb8bfhNqvwz8XyqI5Z/Ds7n7JcEE+Vk/6tj6eh/A88n9o4E4vVa2DxUve+y31
8n59u/rv+YcW8OOkniaC93qu3mvL8vTb6k/Yb/5Jt4z/AOwmv/osV9a/ESw8V6n8M7qy8G63N4e1
t3QxX0UCSsgDAsAr8cgEfjXyV+w3/wAk28Z/9hNf/RYr7ur8/wCLZuGeYiS3UvXt0eh9hw5FSymi
n1ifG/8Awhf7Sn/RW9W/8FNp/wDE0f8ACF/tKf8ARW9W/wDBTaf/ABNfZFFeV/a+I7R/8Ah/8ieh
/ZtHvL/wKX+Z8b/8IX+0p/0VvVv/AAU2n/xNH/CF/tKf9Fb1b/wU2n/xNfZFFH9r4jtH/wAAh/8A
Ih/ZtHvL/wACl/mfG/8Awhf7Sn/RW9W/8FNp/wDE0f8ACF/tKf8ARW9W/wDBTaf/ABNfZFFH9r4j
tH/wCH/yIf2bR7y/8Cl/mfG//CF/tKf9Fb1b/wAFNp/8TR/whf7Sn/RW9W/8FNp/8TX2RRR/a+I7
R/8AAIf/ACIf2bR7y/8AApf5nxv/AMIX+0p/0VvVv/BTaf8AxNH/AAhf7Sn/AEVvVv8AwU2n/wAT
X2RRR/a+I7R/8Ah/8iH9m0e8v/Apf5nxv/whf7Sn/RW9W/8ABTaf/E0f8IX+0p/0VvVv/BTaf/E1
9kUUf2viO0f/AACH/wAiH9m0e8v/AAKX+Z8b/wDCF/tKf9Fb1b/wU2n/AMTR/wAIX+0p/wBFb1b/
AMFNp/8AE19kUUf2viO0f/AIf/Ih/ZtHvL/wKX+Z8b/8IX+0p/0VvVv/AAU2n/xNH/CF/tKf9Fb1
b/wU2n/xNfZFFH9r4jtH/wAAh/8AIh/ZtHvL/wACl/mfG/8Awhf7Sn/RW9W/8FNp/wDE0f8ACF/t
Kf8ARW9W/wDBTaf/ABNfZFFH9r4jtH/wCH/yIf2bR7y/8Cl/mfG//CF/tKf9Fb1b/wAFNp/8TR/w
hf7Sn/RW9W/8FNp/8TX2RRR/a+I7R/8AAIf/ACIf2bR7y/8AApf5nxv/AMIX+0p/0VvVv/BTaf8A
xNH/AAhf7Sn/AEVvVv8AwU2n/wATX2RRR/a+I7R/8Ah/8iH9m0e8v/Apf5nxv/whf7Sn/RW9W/8A
BTaf/E0f8IX+0p/0VvVv/BTaf/E19kUUf2viO0f/AACH/wAiH9m0e8v/AAKX+Z8b/wDCF/tKf9Fb
1b/wU2n/AMTR/wAIX+0p/wBFb1b/AMFNp/8AE19kUUf2viO0f/AIf/Ih/ZtHvL/wKX+Z8b/8IX+0
p/0VvVv/AAU2n/xNH/CF/tKf9Fb1b/wU2n/xNfZFFH9r4jtH/wAAh/8AIh/ZtHvL/wACl/mfHC+C
v2ky4B+LmrAE8n+ybT/4mvrDQ4tQg8FaZBq1yb3U4rVEurkoFM0gUBnIHAJOTgcc1r0h+4fpXNiM
ZUrpKdtO0Yr8kjehhYUm+W/zbf5tn4sfHv8A5PU8d/8AX8v/AKLSsfwlouq+JPFFnomh2xudRuMb
eMrEvQu3sP1PFdT8ZNI1LXv29vGOk6RaveX9xqKLFGo/6ZpyT2A7mv0J+A/wVsPh14NjvL6NLrX7
lQ9zOy857AegHYf1JNftGY8VU8ryXDU4a1ZQjZdtFq/07n5dgeH54/NK856U1J3ffXZf1odL8Hvh
Ppnw58DxJsFxq0w8y6uZB88jkck/4dhgV7TRRX4jWrTqzc5u7erZ+rUqUKcFCCskFZGvaRa674Uv
tLvIkmguImRlcZByK16KzLPyn13Q7vwh431bwhfB92nvmykfrLbMT5Zz3K4KH/dB71xl90Nfbf7S
/gSS98K23jjSrcyajpOTcpGuWmtzjzF9yAAw90A718RXTpLbiSNg8bAMrA8EEcGv6D4QzlZhgYuT
9+Okv8/mvxufkPEWXfVMS0l7r1X+XyOSvup+tcdfdDXY33U/WuOvuhr7WkfJ1jW+GH/J0fw+/wCx
htP/AEatft/caLpd8yTXdlbzybR8zoCa/ED4Yf8AJ0fw+/7GG0/9GrX6nfEj4R+IfGvjyPWdP8ce
MtBgFqkP2TTNZktoPlyd2xeNxzyfYV+PeJkKcsxoqpLlXJva/Vn6PwJOccFVcI3fN3t0Pah4a0If
8wu0/wC/Yp//AAjuhj/mGWn/AH7FfKP/AAzh4pb7/wAS/iE3+94jnNH/AAzVr7ff+Injpv8Ae8QT
n+tfnf1bBf8AP5/+A/8ABPtPb4r/AJ9L/wAC/wCAfWH9gaKP+YbaD/tmKcND0cdNOs/+/Yr5N/4Z
k1Zvv+PfGbfXXZz/AFo/4ZevG+/418Vt9danP/s1H1fA/wDP5/8AgH/2we2xf/Ppf+Bf8A+tBouk
Dpp9n/37FL/ZGlD/AJcLT/v2K+Sf+GWHb7/jDxK311ec/wDs1H/DKUDff8T68/11S4/+Lo9hgP8A
n9L/AMA/+2D22L/59L/wL/7U+t/7J0v/AJ8bT/v2KX+y9MB/48rX/v2K+R/+GTtOP39e1h/rqVx/
8XR/wyTobH59U1JvrqNx/wDF0ewwH/P6X/gC/wDkw9rjP+fcf/An/wDIn11/Zum/8+dr/wB8Cj+z
9OH/AC6Wo/4AK+Rv+GQ/DB+/d3j/AFv7j/4uj/hj/wAHN99pm+t7cf8Axyj2OX/8/Zf+AL/5MPa4
3/n3H/wJ/wDyB9dfYdP/AOfW1/74FI1rpifehtF+oAr5H/4Y78CH78G/63lx/wDHKeP2PPAA/wCX
Rf8AwJnP/tSj2WXf8/Z/+AL/AOWB7TG/8+4/+BP/AOQPrRBpazKIzYiQnChWXJNaFfLfhv8AZZ8D
eG/HOla9aWireafdJc27ieUlHRgynl8cEV9RjhQK5MRGgmvZSbXmkvybOmjKs0/aRS9Hf80haKKK
5zYKKKKACiiigAqhJDpokJlSzDZ53YzV1gWjYA4JHWvlHWP2TvAer+LNS1aa0Uz3ty9xMTcTcu7F
mP3+5Jrpw8cO2/bSa9En+comFeVZJezin6tr8kz6bLaKv3pNNX6uoqM3WgL1u9JX6zIP618tj9kD
4fD/AJc4/wDv9L/8XUo/ZE+Ho/5cov8AvuT/AOKrq9nl3/Pyf/gC/wDkzn58b/JH/wACf/yJ9NnU
/Da9dR0RfrcRj+tRnW/Cq/e1jQF+t3F/jXzaP2R/h4OtlD+b/wDxVSj9kr4dj/lwg/I/40ezy7+e
f/gK/wDkw58b/JH/AMCf/wAifRJ8SeEF66/4cX630X+NRnxZ4LXr4l8ML9dRh/8Aiq+fx+yb8OR/
y4W//fGf61IP2UPhwOun2/8A36FHJl388/8AwFf/ACQc2N/lj97/APkT3g+NPAq9fFnhRfrqkP8A
8VUZ8d/D9fveMvCC/XVoP/iq8QX9lP4bj/mHWx/7YLUg/ZX+Gw/5hlmfrbJ/hRy5d/NP7l/mHNje
0fvf+R7KfiF8OV+9448Fr9dZt/8A4uoz8Svhmv3vH3gZfrrdt/8AF15Gv7Lfw2B/5BNgfraR/wCF
TD9l/wCGo/5g+mn62Uf+FFsu7z+5f5hfG9o/e/8AI9Rb4o/C1fvfEPwEPrrtt/8AF1Gfix8J1+98
Sfh8v11+1/8Ai683H7Mnw1H/ADBNKP1sIv8A4mpR+zR8NB/zAdHP106H/wCJo/4Tv7/4B/tv938T
1zQvHPgfxPqstj4Z8XeFvEF7HF5skGmapDcSImQNxVGJAyQM+4rnfjP/AMmo/EP/ALF+7/8ARL1H
4K+EnhDwHr82p6Bpen2N3LF5TyW9pHExTIO0lQDjIBx7CpPjP/yaj8Q/+xfu/wD0S9ZUvZfWoezv
a63338jSp7T6vL2lr2ex+IFl94V11j2rkbLqK66x6Cv6vqbH880jsLL+H6V7r8FvBMnjr432gmiL
6Jorrc3RI+WSfrGn/Afvn32V4NbGQLGkETXFzIyxwQp96WRiAqj3JIFfqZ8EPh+ngP4NWNtMFfVb
keffTAf6yV+WP0zwPQADtX5zx7nX1PB+xg/fqaei6v8AT/hj7rhLLPrOJ9pJe7DX59P8z2KGJILZ
Io1CoigACpKKK/CD9XCiiigAri/HPgnR/HPge80bVrWK4jmjKjcK7SinGTi009RSSasz5r/Z6+FO
p/CqHxhpl3KlxY3eoiaxfnfs2gYfjGQe46+3SvpSiit8Xi6uJqurVd5PdmOHw9OhTVOmrJbBRRRX
ObhRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUh5B
FLRQB5BoXwf8O6R8bfEPjl4vtWr6pMJJJJfmKYAAVfQcD6988V6+BgYHAooq6lWdR3k7vb7tERCn
GCtFW/4IUUUVBYUUUUAUtQsodR0a4srhA8UqFWBHrX5TfETwjP4C+LWq+G3Qpp7MbnS2xwYWPKD/
AHGOP91lr9Zq+aP2kvh2/in4W/27pdv5mu6STPAFHzSqB88f/AlyPrtPavqeEc6/s7Hxcn7ktJfo
/l+VzweIss+uYRqK96Oq/wAvn+dj83L7qfrXHX3Q11tzKk1uksZ3I4yDXJX3Q1/R1Jn4nWNb4Yf8
nR/D7/sYbT/0atfrF49+OFl4A8Zx6FN4H8c+IXNqk32vSrJJIPmyNm5nHzDHIx3Ffk78MP8Ak6P4
ff8AYw2n/o1a/b+40XS75kmu7K3nk2j5nQE1+P8AiZUpwzGi5x5lybXt1fY/R+BITlgqqjKz5vXo
fNR/amsz934UfE0/71nCP/alMP7UsZ+78JfiMf8AeihH/s9fSI8NaEP+YXaf9+xT/wDhHdDH/MMt
P+/Yr87+t4T/AJ8L/wACl/mfafVsR/z+f3L/ACPmk/tRyfw/CLx8fqYR/wCzUw/tQ3v8Pwf8bH6z
wj+tfTf9gaKP+YbaD/tmKcND0cdNOs/+/Yo+uYX/AKB198v8w+q4j/n8/uj/AJHzAf2oNU/h+Dnj
A/W8hFN/4ae1w/c+DHig/XU4R/SvqMaLpA6afZ/9+xS/2RpQ/wCXC0/79ij67hv+geP3y/8Akg+q
1/8An8/uj/kfLP8Aw034lP3Pgp4iP11iEf8AstIf2l/F5+58ENbPpnXoR/7JX1R/ZOl/8+Np/wB+
xS/2XpgP/Hla/wDfsUfXsP8A9A8fvn/8kH1Sv/z/AJfdH/5E+Vf+Gk/HJ+58DNUP18SQD/2nSH9p
D4hH7nwHvj9fFMA/9pV9W/2bpv8Az52v/fAo/s/Th/y6Wo/4AKPr2H/6Bo/fP/5MPqlb/n/L7of/
ACJ8o/8ADRnxMP3PgJOfr4ugH/tGj/hoj4pN934DFf8Ae8XQn+UNfV/2HT/+fW1/74FI1rpifeht
F+oAo+v0P+gaH3z/APkw+qVf+f8AL7of/InzX4c+OHxN1nx3pOmX/wAG49J0+5ukjurz/hI0lNvG
WAZwgjG7AycZ5r6iByAaoINLWZRGbESE4UKy5JrQrkxNaNRpxpqHpf8AVs6KFKUE05uXrb9Egooo
rnNwooooAKKKKAEZtsbMewzXyprHx5+J2n+KtRsLT4JC7tre5eOC5bxREvnIGIV9vlHbuGDjPGcV
9WVVaytGcs1tCWPUlBXTh68KbblTU/Xm/Rowr0pVEuWbj6W/VM+S/wDhoD4tt934H26/XxOh/wDa
VJ/wvv4wk/L8FrBfr4hB/wDadfWv2Kz/AOfaD/vgUv2O1/594f8AvgV1f2hR/wCgeH/k/wD8mc/1
Op/z+l/5L/8AInyR/wAL2+NB+78HdJX664T/AOyUn/C8fjcfu/CPQ1+uruf/AGSvrn7Lbf8APCH/
AL4FL9mt/wDnhF/3yKP7Qpf9A8P/ACb/AOSD6lU/5/S/8l/+RPkP/hdfx1P3fhT4dX66lKf/AGWk
/wCFz/Hw/d+F/hcfW+nP9K+vvIg/55Rf98il8qH/AJ5x/kKP7Rp/8+If+Tf/ACQfUp/8/pfh/wDI
nx9/wuL9oJvu/DXwgv1ubg/0o/4W5+0S33fh54JX/elujX2F5cX9xPyo8uL+4n5Uf2jD/nxD7n/8
kH1GX/P2X3r/ACPj3/ha37SDfd8B+AV+puz/AFpP+Fn/ALS7fd8F/Dlf95b0/wDs1fYflxf3E/Kl
2xf3U/IUf2lH/nzD7n/mH1F/8/Zfev8AI+O/+Fk/tOt93wl8Ml+sN8f/AGaj/hYf7Ubfd8M/Cpfr
a35/9nr7D2xf3Y/yFGIvSP8ASj+01/z5h93/AAQ+o/8ATyX3/wDAPCfhd4m+M+s+M7uH4i6V4Ist
HFqTA2jQXSTeduXG7zWI2bd3TnOK634z/wDJqPxD/wCxfu//AES9eljZn5dufavNPjP/AMmo/EP/
ALF+7/8ARL1lSre1xUJcqWq20W5pUp+zw8ldvR7n4gWX3hXXWPauRsuorttGsrzU9XstN06I3F/d
zrDbx/3nbgZ9h1PoAa/qzEVI04OcnZJXZ/PeGhKclGKu2fUf7Nnw/bxf8XB4gvYS2jaKcRbh8slw
Ryf+Aqfzb2r9MVUJGqKMKBgCvNfhN4FtPAHwb0rRLdQZkiDTyEYaRzyzH3JJP41x37RPxb1v4TfC
Dw6fB2jadr/xE8YeKrHwp4QstSlaOy+33ZciW5ZPnEEUUU0zhfmYR7QQW3D+YOIc3lmWOnXe2y8k
tv8AP1Z+95Nl0cFhI0uu79ev+R77RXyfqNv+0n4A+CnxU8QeNvin8PfG2nWvgPU7/T7nSPB0mj32
l6nFAXh8sNc3Ec1vgSE7wHDKn3gzYr/CX4u3WpXPwpj8ZfEi2+0XvwEsfF+uaVdaEsQZybfz9Ue/
DhEUF2U24jA5L7gBivEPUPriivnzwF+018L/AIifE3RPCmj/APCZaTf6/p8uo+FbjxB4WvdMtfEd
rEA0k1jNPGqzBUZZNoIfYwcKVO6uX8N/tm/A3xX4n8LWOkX/AIwfTtf1saDY6/N4VvY9HGqM7Imn
vemPyVuXZCAm48lQSGIFAH1XRXyn8OP2mh47/b0+LXwXl8A+OtMh8K6hbWlhrMnhq8S2k3WbTyvd
SsgjgVmQiBiQJlZGXO4V9WUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFF
ABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRXwtr3xZ+LXi3/go78Sfgv4Q+J/w0+EN74UstNuvD
eieJvDL6hc+NEuLbz5rhGN1ARbRybrci3DOrI7Mei0AfdNFeHfEj9oPwB8MfHB8M6rbeNPEniKHS
v7X1DTfCnhm71ifTrDeyC6uFt0byoyyOFz8z7H2q21sYPi/9qz4OeEbL4dSjVNf8WzePtFl1fwXa
eFdCudUudcgj+zlhbxQoWZ9tyj7SAQiyMcBGwAfR9FeDR/tI/Ctv2bfiH8VJ9S1ew8MeCNTu9M8S
x3mlTQ3tnd2zIrwG3Zd5kYyRbFA+fzUx1qr4/wD2mvhl8OPFmp6LrUXjfVb3R9Mi1PxMfD/hW91O
Pw5aShmjmv2gjYQAqjvtOX2Iz7do3UAfQdQXNvHdWMtvKoeORSrA18+eOP2pPhP4G8beGfDUs/ir
xd4j8R6DHrvh/TPCPh661m41SxdiPPhS3RiyBQXJ6BQDnJUH6KoA/Jb44+A5fAPxvvraKIpo2pu1
1YkDhWJzJH+ZDD/ePpXz7fdDX64ftBfDhfHvwVu/skaf21Y/6RYuR0dQePoRlT7Ma/I++3jesiNF
IpKvG4wyMDgg+4ORX9A8A559ewKpTfv09PVdH+nyPx3jDKvquKdSK92evz6r9TW+GH/J0fw+/wCx
htP/AEatfqd8SPhH4h8a+PI9Z0/xx4y0GAWqQ/ZNM1mS2g+XJ3bF43HPJ9hX5Y/DD/k6P4ff9jDa
f+jVr9dfGXxz+G3w98Vx6B4p1m8s9UNsk/lQ6bPONjZAO5EIz8p4zmvm/EX6z/adH6um5cnRXe57
XBXsPqFX2zSjzdXboeL/APDOHilvv/Ev4hN/veI5zR/wzVr7ff8AiJ46b/e8QTn+td2f2rPgx/Dr
etP/ALuhXX/xumn9qz4P/wAOo+IX/wB3Qrn/AOIr4i2efyz+7/gH1V8p/mj9/wDwThv+GZNWb7/j
3xm3112c/wBaP+GXrxvv+NfFbfXWpz/7NXbH9qz4Sfwz+KX+mgz/APxNNP7Vnwr/AIY/GD/7ugzf
4Uf8Lvaf3B/wk94nFf8ADLDt9/xh4lb66vOf/ZqP+GUoG+/4n15/rqlx/wDF12R/at+GHaz8bt9N
Bkph/au+G/8ADpPj5/8Ad0F/8aP+FzvMP+En+6ch/wAMnacfv69rD/XUrj/4uj/hknQ2Pz6pqTfX
Ubj/AOLrrT+1d8Pf4fD/AMRn+mgH/wCKpp/au8B/w+Ffia/00D/7Oi+efzT+/wD4IWyntH7jlf8A
hkPwwfv3d4/1v7j/AOLo/wCGP/BzffaZvre3H/xyunP7V3gr+HwV8VX/AN3w+P8A45TT+1d4Q/h8
A/Fx/p4fT/47RfPf55/+Bf8ABC2U/wAkf/Af+Ac3/wAMd+BD9+Df9by4/wDjlPH7HngAf8ui/wDg
TOf/AGpW+f2rvC/8Pw2+Mb/7vh6P/wCPUh/at8On7nwx+MZ/3tBiH/tajmzz/n7P/wAD/wCCFsp/
kj/4D/wB3hv9lnwN4b8c6Vr1paKt5p90lzbuJ5SUdGDKeXxwRX1GOFAr5v0D9pLSfEHjXS9Fh+HH
xPsGvbpIPtV5pUaQw7mA3uRISFGck4PFfSIOQCO9eTmH1zmX1mTb6Xd/1Z6WD+rcr9hFJeSt+iCi
iivPOwKKKKACiiigBrZMbbThscV8l618CfHOo+LNSvoPiv8AE+3gubl5kgj8TSpHEGYttVQMKozg
DsAK+tqK6cPi61Bt03a5hXw1Oskpq9j43/4Z48bN9/4r/E1vr4nmNH/DOXixvv8AxO+Ir/73iSY1
9kUV1f2zjf8An5+Rz/2Zhf5D43/4Zs8Rt9/4jePW+viGf/Gj/hmbWW+/4/8AGrfXXpz/AFr7Ioo/
tnG/8/GH9l4X+RHxv/wy/ft9/wAceLm/3tbn/wDiqP8AhlqZvveMfE7fXWJz/wCzV9kUUf2zjv8A
n6/vD+y8J/z7R8bf8MqRk/P4q8QN9dVuP/i6P+GT7E/f8Q60/wBdTuP/AIuvsmij+2sf/wA/pfeH
9l4P/n2vuPjb/hkrRj9/V9Uf66jcf/F0f8Mi+HD9++vn+t/cf/F19k0Uf21mH/P6X3sP7Lwf/PqP
3I+N/wDhkHwifvyXD/W+uP8A45R/wx54HP342f63lx/8cr7Ioo/trMP+f8v/AAJ/5h/ZWC/58x+5
Hgvwu+A3hj4XeM7vW9Eh8m8uLU20jCeV8oWViMO5HVVPTPFdb8Z/+TUfiH/2L93/AOiXr02vMvjP
/wAmo/EP/sX7v/0S9ZUsRVrYqE6snJ3Wrd3v5mlSjTpYeUacUlZ6JWPxAsvvCvuj9kr4bHWfGE/j
rUoCbGyzDpwdeGf/AJaSD/0EfRq+MvB3h+/8VePdK8P6Yha8vp1jUgZ2Dqzn2Ayfwr9vPh/4RsfB
Xws0nQLCIRRW1uqH1JA6k9z6mv2TxJz32GHWDpv3p6vyj/wX+CZ+ZcDZT7as8TNe7Hb1/wCB/kdo
AAABwBXzX+0/8MPGXxE+FXgbXPhuNKuPiL8PvG9h4v8AD+n6ncG3ttVkthLFLZSTAExCaCeZQ+CA
+zOBkj6Vor8NP1g+UL7xP8cPiv8ABX4n+E9Y/Z61f4ZW174G1O0tZ9a8XaZdT3upSwGKG3gjtJZU
8o7nJmlkiwQmEIYlfDD+zT8S/Eujab4Z1LT08N2d9+yG3w4vNUe9hkSw1mXyUMLJG5d1UBmLoChC
kBskV+kVFAH56/Ab4RX9l8W/hTe+PPgT8c9F8X+CbGVY/E3ib4wvrug2Fy1k9pI9hbNqkzusyO6A
NbRbFYZ2lQKp6T8CPina/wDBJv4MfDWbwqI/HGgfFTTNb1PThqNsTbWcPio38swkEnlti2PmbVYs
fugFvlr9FqKAPk/wZ4d+Ingv/gqb8atXuPAGpat8O/iLDo95Z+LbPUrMW+lyWGnPbSwXMDyrcbnd
I9hijdT5mSVCtj6woooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACvgH9q7wl8QPjT4M8X/AAvh/ZZfxLrWwp8Pvib/AMJTpkNt
odw6KY9RMjSJfWskEnzGKGKTzPLADMGOPv6igD83fGfwM8f+Gf2zfEPxAvvC/wAa/jFoXijwbomn
Xl18N/iY/hi/tdR06OeGRrmA6jZR3EE4mWRX8x2ibzRsAcsfTPBfwQ1Dwp+1D+y7qfhX4eT+C/h1
4M+Gmv6Vd6dc63HfSaHc3k2mSQ2rSNK7zsfJuAZELqNh+YArn7WooA/PP4ifs9fErWv+ClQh0PR7
Wf8AZ18c6/ofjD4g3L30KfZ9T0RJ9lsLYsHkS7kh0lnYKQPsr7uvON8QfgX4p0z9t/43+LL74a/G
34reCPiP/Z9zaL8O/io/h8WksOnxWE1pf2r6lZRyxsIFdZh5uFdkIGBn9JaKAPkPwF8H9X8I/t6f
DzxHpHg0+GvhroHwEh8I2cT6rHdtptzHf28kdjuaRpZdkMWPNwVbZyxJr68oooAZJGssDxuAyMME
Gvyg/ad+HD+CvjJLrNnBs0XWXL5UfLHP1Yf8CHP1DV+sVeQfGv4e23xE+COqaS6qLxYzJay4yY5F
5U/n+YyO9fQcM51LLMwhW+ztL0e/3bnj59lax+DlS67r1/rQ/In4Yf8AJ0fw+/7GG0/9GrX7V6n4
P0LW7pLrULRZptgGSa/F34e2V1p37XXgjT76FoLy28TW0U8bdVZZgCPzFfuUn+pT/dFfXeKFSM8Z
QlF3Th+rPm+AYuOGqxas1L9Dhv8AhXHhP/oGR/nT/wDhXXhL/oFxV3FFfmJ94cT/AMK88J/9AmD8
qcPh94SH/MHtv++a7SigDjR4A8JD/mDWh/4DTh4C8Jj/AJgtl/3xXYUUAcj/AMIL4UHTRrP/AL4p
w8D+Fgf+QPZ/98CusooA5b/hCvC46aPZ/wDfApw8G+GR00iz/wC+BXT0UAc2PCHhsf8AMIs/+/Yp
w8JeHR00mz/79iuiooAxIfDeiW9wssOm2scinKsEGRW32oooAKKKKACiiigAooooAKKKKACiiigA
ooooAKKKKACiiigAooooAKKKKACvMvjP/wAmo/EP/sX7v/0S9em1h+JdCs/E/gPVvD+oKXsdQtXt
7hAxXcjqVYZBBGQTyDmtcPUUKsZPo0zOtBzpyiuqPg79jf4WkWtz8QtVtzvmHk6cHXpGD8zf8CI/
JR61+htYXhvw/p/hjwdY6LpkMdvZ2sQjjRBgAAYArdruzjM6mYYyeIqbyf3LovkjkyzAQwWGhQh0
X3vqwooorzDvCiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKA
CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKRlDIVYZBGCKWigD8
8vjL8LX8PftxfDrxtplsw03UfENol7sXhJfNXaxx6jjPTgdzX6Fp/qU/3RVO8060v2hN1CsrRPuQ
kdDV4DAAFehjMyq4mlSpz/5dqyfle6+7Y4sNgadCpUnD7bu/W1vxCiiivPO0KKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKK
ACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA
KKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAo
oooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACii
igD/2Q==

--_004_CBF69EC73765Cidoakamaicom_--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 18:47: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 1A15E11E80A2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 18:47:50 -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.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_38=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ca4S9Y4MGtBx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 18:47:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 89C9711E808F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 18:47:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScoIP-0000zC-Cl for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 01:47:25 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1ScoIE-0000xt-Hg for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 01:47:14 +0000
Received: from mail-yw0-f43.google.com ([209.85.213.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1ScoIA-00012g-4J for ietf-http-wg@w3.org; Fri, 08 Jun 2012 01:47:12 +0000
Received: by yhkk6 with SMTP id k6so958131yhk.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 18:46:44 -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 :cc:content-type:x-gm-message-state; bh=lZkiCNDAOr6lXkqBo1Fx9pt9bmDr5YKkfhXNUm1JlLo=; b=CwJJzXGth05f1hYZPZVLDQl+8ljTVbjkvpvx7Am5Jh+/UDMMpFHFsg+AnQ55uXwjY6 Ux0DVSII730c4s0YjP5OVPtze17OP1vET8XI7/mlXCL48PY7OpHovGa5D66WmJ+AvO4G c6JFhb+D5XgpHbpNdLIkhjrMp4NiO2vlYCmnYh9rDQmEmX4U6LgchBjD5G5fFfEB76b3 aa8IJVgWXEKbTL7Xomu17jeg7PuKCSvfMX01hQec6F6tMjeNJ4p1hqHXQjzzmeGWLcKl yGuTMCibkq1sB9kT4UD9mK4cbh0smX1vMfvNG0BlCneTd/ogvs3cTiSB4JEAQ6yD4mmg omtw==
MIME-Version: 1.0
Received: by 10.50.197.194 with SMTP id iw2mr2423958igc.31.1339120004563; Thu, 07 Jun 2012 18:46:44 -0700 (PDT)
Received: by 10.64.5.71 with HTTP; Thu, 7 Jun 2012 18:46:44 -0700 (PDT)
In-Reply-To: <CAMNEcwutF-d45n3kW9S9m7iXaZGJC9YXLzO+ad4uuNLuLckMrQ@mail.gmail.com>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CAMNEcwsRUuzCC5qj_paAxDSRdiVEPQ5T1CrrV18fBPJUAD4rfw@mail.gmail.com> <4A6008CA493DD743AF241A465C01F15F0943D904@SN2PRD0310MB360.namprd03.prod.outlook.com> <CAMNEcwutF-d45n3kW9S9m7iXaZGJC9YXLzO+ad4uuNLuLckMrQ@mail.gmail.com>
Date: Thu, 7 Jun 2012 18:46:44 -0700
Message-ID: <CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Alek Storm <alek.storm@gmail.com>
Cc: Jonathan Silvera <jsilvera@microsoft.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Matthew Cox <macox@microsoft.com>,  Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>,  Rob Trace <Rob.Trace@microsoft.com>
Content-Type: multipart/alternative; boundary=14dae93404cd2f036b04c1ec2c68
X-Gm-Message-State: ALoCoQlzFCvDNax2N1Dd3Nclzh+8ytkXmrCUIF7CwgnTZlrSQNuRC/ZDDBr2jHRmFPVMOCHTVCwb
Received-SPF: none client-ip=209.85.213.43; envelope-from=mike@belshe.com; helo=mail-yw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1ScoIA-00012g-4J 205277be3107d172a452d36028243e02
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13657
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScoIP-0000zC-Cl@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 01:47:25 +0000

--14dae93404cd2f036b04c1ec2c68
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

I'm excited to hear from Google, Yahoo, Tornado, and Cotendo/Akamai that
there is research into server push.  I see no reason to cut it when it is
actively being worked on; my proposal to cut was based on the belief nobody
was trying.  I stand corrected!

To those against the more speculative nature of server push features:  We
won't get another shot at protocol semantics for 15 years.  So, if there is
real work ongoing here, we should let it go further.

To those that are doing research:  Please keep in mind that time is short.
 The rest of the protocol is ready to move forward now, and the choices we
make can be greatly changed based on whether or not push is included as
part of the core.

To mnot:  Perhaps at the next meeting we can discuss some timeframes around
various concepts like server push so that those doing implementations can
have some guidance for dates.

Mike


On Thu, Jun 7, 2012 at 4:12 PM, Alek Storm <alek.storm@gmail.com> wrote:

> Hi Jonathan,
>
> On Thu, Jun 7, 2012 at 4:45 PM, Jonathan Silvera <jsilvera@microsoft.com>=
wrote:
>
>>  *I believe the client can achieve the same effect in SPDYv3 by sending
>> a GOAWAY frame, indicating that the other endpoint must not open any new
>> streams:*
>>
>> **=B7         **There is still data waste by the SYN stream sent to the
>> client and also there is nothing on the SPDY spec preventing the server
>> from sending data immediately after they send the SYN stream when doing
>> Push. This would result in unnecessary SYN_STREAM in the best case and o=
n
>> unnecessary pushing of data in the worst case.
>>
> I believe you're conflating GOAWAY with RST_STREAM+CANCEL. The former
> prevents the server from sending any SYN_STREAMs in the first place, whil=
e
> the latter resets individual streams after their SYN_STREAM has arrived a=
t
> the client.
>
>> ****
>>
>> **=B7         **From reading the SPDY spec, it seems GOAWAY affects the
>> connection. However, there are still valid resources that the client wou=
ld
>> need from the server. Would controlling server push this way require the
>> server to add additional logic to continue to serve additional requests =
on
>> the connection, while adding state on the server side to not push
>> additional content on subsequent requests when the client has sent a GOA=
WAY
>> message? I am not clear on  how GOAWAY due to a client rejecting Push wo=
uld
>> differ from normal GOAWAY behavior on both client and server.
>>
> GOAWAY is asymmetric - only the receiving endpoint is prohibited from
> opening new streams. In addition, one GOAWAY will suffice to prevent the
> server from pushing streams for all future requests on the connection, no=
t
> just ones currently open. This state can be reset by opening a new
> connection to the server.
>
>> ****
>>
>> **=B7         **The SPDY spec, appropriately, does not make GOAWAY
>> mandatory. This means that clients that do not implement GOAWAY could st=
ill
>> have data pushed to them.
>>
> I'm a bit confused by this. Unless otherwise indicated, all parts of the
> spdy/3 spec are mandatory. We have specifically provided a way for a clie=
nt
> to tell the server not to open any push streams. If the client only
> partially (and therefore, incorrectly) implements the specification, what
> are we to do about it?
>
>> ****
>>
>> **=B7         **Overall  it seems that having the client control PUSH
>> behavior is cleaner and is more efficient from a bandwidth perspective.
>>
> Agreed.
>
>> ****
>>
>> ** *I proposed a detailed system of cache control for pushed resources
>> on the spdy-dev mailing list, before I knew of the existence of this lis=
t.
>> I plan to post it here soon:*
>>
>
> Since server push has been a popular topic in the past 24 hours, I
> re-prioritized finishing the proposal and sent it to the list a few hours
> ago. You can read it at
> http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0514.html,
> although since some of the formatting has been mangled, I recommend an
> email client for an optimal proposal-reading experience. Feedback is most
> welcome, but should probably be posted in that thread.
>
>> **
>>
>> **=B7         **Great to hear that you are thinking about this. We belie=
ve
>> that is something that needs to be added to the Push spec. It would
>> probably require the client to keep track of resources previously
>> downloaded (no data on first navigation to a site) when visiting a top
>> level page and advertising the URL for the cached resources, along with =
the
>> corresponding cache validators as part of the top level request. The ser=
ver
>> would then have to explicitly confirm to the client, which cached resour=
ces
>> are valid in addition to initiating SYN streams for the content that it =
is
>> going to push.
>>
> There is no need to transmit the URI in addition to the cache validators,
> as long as a new restriction is added to entity tags: they must be unique
> among different URIs. I will add this to the proposal.
>
>>  ****
>>
>> **=B7         **If you are thinking about something similar, it would be
>> good to think about how to minimize data transferred on the wire for val=
id
>> cached resources. In the above model, the client has to send the URL +
>> cache validators and the server has to send back the URL to explicitly
>> inform the client that the cached resource is valid. The net effect is t=
hat
>> one additional header with a URL (per valid cache resources) is
>> transferred, when compared to the proposed =93Smart Client Pull=94 model=
.
>>
> My proposal only requires sending the cache validators for subresources,
> not their URIs. Additional bandwidth savings may be accrued by setting th=
e
> "push-if-invalidated" cache control directive, if all subresources are
> still fresh.
>
>  *Pushed content is likely to be that which is required to be present at
>> page load in the first place. Pushed CSS stylesheets would prevent flash=
es
>> of unstyled content (FOUC), and pushed scripts that trigger on page load
>> would be able to execute before the user is able to interact with the pa=
ge:
>> *
>>
>> **=B7         **Our concern here is that in order to completely prevent
>> the race condition, the top level page data is serialized behind SYN str=
eam
>> for all pushed dependencies.
>>
> I'm afraid I don't understand this sentence. Can you rephrase?
>
>>  ****
>>
>> **=B7         **As you mention the pushed dependencies will **likely** b=
e
>> only resources required to load the page. We take it a step further and
>> recommend that the server only push critical resources that would block
>> page load, since there are lower priority resources on webpages that do =
not
>> affect the user experience. Unfortunately we cannot guarantee that will =
be
>> case in practice.  The effect of misconfigured servers  that push conten=
t
>> not used on the top level page or push extremely large number of resourc=
es,
>> is that we end up blocking all data for the top level page on these SYN
>> streams and without the first bits of data, the user will be staring at =
a
>> blank screen.
>>
> I agree, and I think this recommendation should go into the spec. We can
> only hope that server admins will err on the side of pushing too few
> resources, rather than too many.
>
>> ****
>>
>> ***Mozilla (and Chrome, I believe) already interpret rel=3Dprefetch as
>> indicating resources that are likely to be useful in *future* page loads=
,
>> not necessarily the current one - I would recommend avoiding the naming
>> conflict:*
>>
>> **=B7         **Our original spec was using the rel=3Dsubresource type,
>> however we ended up changing it because rel=3Dsubresource is not current=
ly
>> included in the IANA (
>> http://www.iana.org/assignments/link-relations/link-relations.xml) list
>> of link relation assignments. We figured pursing an extension to an alre=
ady
>> defined link relation, to be faster than defining a new one. It would be
>> great to hear what the veteran standard folks on this list think about t=
his.
>> ****
>>
>> **=B7         **We interpreted the difference between rel=3Dsubresource =
and
>> rel=3Dprefetch as mostly that of priority and saw nothing on the spec
>> preventing clients from pre-fetching resources for the current  webpage.=
 It
>> would be great to understand if other browsers do not use rel=3Dprefetch=
 to
>> bypass rendering/parsing delays. ** **
>>
>> **=B7         **We are not sure who has implemented rel=3Dsubresource, s=
o it
>> would be good to also hear thoughts of other browser vendors about remov=
ing
>> the distinction between rel=3Dsubresource and rel=3Dprefetch.
>>
> I think they should remain separate. Merging them means we're going to
> have to pick one definition - if we pick subresource's, then servers will
> be unable to notify the client of resources relevant to *future* requests=
,
> since the client will immediately attempt to fetch them, wasting bandwidt=
h.
> Picking prefetch's current definition would present analogous problems.
> You're right, the opinions of browser vendors would be helpful here.
>
> Thanks for the detailed reply - this is a great discussion!
>
> Alek
>
>  ****
>>
>> Thanks
>>
>> ** **
>>
>> -Jonathan Silvera****
>>
>> ** **
>>
>> *From:* Alek Storm [mailto:alek.storm@gmail.com]
>> *Sent:* Wednesday, June 6, 2012 7:29 PM
>> *To:* Gabriel Montenegro
>> *Cc:* ietf-http-wg@w3.org; Matthew Cox; Ivan Pashov; Osama Mazahir; Rob
>> Trace; Jonathan Silvera
>>
>> *Subject:* Re: Some thoughts on server push and client pull****
>>
>> ** **
>>
>> On Wed, Jun 6, 2012 at 8:30 PM, Gabriel Montenegro <
>> Gabriel.Montenegro@microsoft.com> wrote:****
>>
>>  <snip>****
>>
>> 2. Issues with current Server Push in SPDY****
>>
>>  ****
>>
>> We don't envision Server push as part of the base HTTP 2.0 protocol, but
>> see it as a potentially interesting extension, as long as there is some =
way
>> for the client to exert some control over when and how it is used. One
>> fundamental requirement is for clients to be able to control =93Server P=
ush=94
>> behavior via a new opt-in <name TBD> header.  Servers MUST NOT push
>> unrequested data to the client, unless the top level page request <name
>> TBD> header is set to allow =93Server Push=94.****
>>
>>  ** **
>>
>> I have not verified this, but I believe the client can achieve the same
>> effect in SPDYv3 by sending a GOAWAY frame, indicating that the other
>> endpoint must not open any new streams.****
>>
>> ** **
>>
>>  Server Push does not require any validation prior to pushing data to
>> the client, which could result in the server sending unnecessary data to
>> clients that have some of the pushed resources stored in their cache.***=
*
>>
>>  ** **
>>
>> I proposed a detailed system of cache control for pushed resources on th=
e
>> spdy-dev mailing list, before I knew of the existence of this list. I pl=
an
>> to post it here soon.****
>>
>> ** **
>>
>>  Furthermore, "Server Push" introduces a race condition in which a
>> client could start a new request for data that the server is in the proc=
ess
>> of pushing, effectively causing the same resource to be downloaded twice=
.
>> SPDY addresses the race condition by not sending any data (headers are O=
K)
>> for the top level page, until all of the SYN_STREAM for the dependencies=
 it
>> will push are sent:****
>>
>>  ****
>>
>> "To minimize race conditions with the client, the SYN_STREAM for the
>> pushed resources MUST be sent prior to sending any content which could
>> allow the client to discover the pushed resource and request it."****
>>
>>  ****
>>
>> We agree that SPDY's proposal is a good way to mitigate the race
>> condition in Server Push without introducing significant complexity.
>> Unfortunately mitigating the race condition in this manner prevents the
>> server from sending data for the top level page. This could result in
>> user-visible delays.  Whether or not the user will see a delay will depe=
nd
>> on what messages (how many and how large) the server is pushing to the
>> client.****
>>
>>  ** **
>>
>> Pushed content is likely to be that which is required to be present at
>> page load in the first place. Pushed CSS stylesheets would prevent flash=
es
>> of unstyled content (FOUC), and pushed scripts that trigger on page load
>> would be able to execute before the user is able to interact with the pa=
ge.
>> ****
>>
>> ** **
>>
>>  3. Smart Client Pull alternative to Server Push****
>>
>>  ****
>>
>> We would like to propose an alternative to Server Push for discussion.
>> This alternative is closely aligned with existing standards and could ev=
en
>> work for HTTP 1.1.****
>>
>>  ****
>>
>> When a server receives an HTTP request for a top level page, the server
>> will generate a list of resources needed to fully load the top level pag=
e.
>> The server will send the optimal pre-fetch list to the client, via LINK
>> headers, with a "prefetch" link relation type (defined in HTML5 per
>> http://www.iana.org/assignments/link-relations/link-relations.xml). ****
>>
>> The server SHOULD also include the corresponding cache validators for
>> each resource in the pre-fetch list. An extension to the =93prefetch=94 =
link
>> relation type will be needed to allow cache validator data.****
>>
>>  ****
>>
>> When a client receives data for a top level page, it will begin
>> processing the top level page response, while simultaneously pre-fetchin=
g
>> resources in the pre-fetch list that are not in the client cache or that
>> are cached but invalid, as indicated by the cache validators included in
>> the pre-fetch list. Servers SHOULD only include resources that block
>> loading of the top level page in the optimal pre-fetch list.****
>>
>>  ** **
>>
>> Mozilla (and Chrome, I believe) already interpret rel=3Dprefetch as
>> indicating resources that are likely to be useful in *future* page loads=
,
>> not necessarily the current one - I would recommend avoiding the naming
>> conflict. SPDY appears to have an ancillary proposal for a rel=3Dsubreso=
urce
>> with essentially the semantics you describe, at
>> http://dev.chromium.org/spdy/link-headers-and-server-hint/link-rel-subre=
source,
>> which I believe is already implemented in Chrome.****
>>
>> ** **
>>
>> My soon-to-come cache control proposal will obviate the need for
>> extensions to the Link header, and would afford more fine-grained contro=
l.
>> ****
>>
>> ** **
>>
>> Alek****
>>
>
>

--14dae93404cd2f036b04c1ec2c68
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

I&#39;m excited to hear from Google, Yahoo, Tornado, and Cotendo/Akamai tha=
t there is research into server push. =A0I see no reason to cut it when it =
is actively being worked on; my proposal to cut was based on the belief nob=
ody was trying. =A0I stand corrected!<div>
<br></div><div>To those against the more speculative nature of server push =
features: =A0We won&#39;t get another shot at protocol semantics for 15 yea=
rs. =A0So, if there is real work ongoing here, we should let it go further.=
</div>
<div><br></div><div>To those that are doing research: =A0Please keep in min=
d that time is short. =A0The rest of the protocol is ready to move forward =
now, and the choices we make can be greatly changed based on whether or not=
 push is included as part of the core.=A0</div>
<div><br></div><div>To mnot: =A0Perhaps at the next meeting we can discuss =
some timeframes around various concepts like server push so that those doin=
g implementations can have some guidance for dates.<br><br>Mike</div><div>
<br><br><div class=3D"gmail_quote">On Thu, Jun 7, 2012 at 4:12 PM, Alek Sto=
rm <span dir=3D"ltr">&lt;<a href=3D"mailto:alek.storm@gmail.com" target=3D"=
_blank">alek.storm@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">
<div>Hi Jonathan,</div><div><br></div>On Thu, Jun 7, 2012 at 4:45 PM, Jonat=
han Silvera <span dir=3D"ltr">&lt;<a href=3D"mailto:jsilvera@microsoft.com"=
 target=3D"_blank">jsilvera@microsoft.com</a>&gt;</span> wrote:<br><div cla=
ss=3D"gmail_quote">

<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"><i>I believe the client can achieve the same effect =
in SPDYv3 by sending a GOAWAY frame, indicating that the other endpoint mus=
t not open any new streams:</i></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>There is still data waste by the SYN stream sen=
t to the client and also there is nothing on the SPDY spec preventing the s=
erver from sending data immediately after they send the SYN stream when doi=
ng Push. This would result in
 unnecessary SYN_STREAM in the best case and on unnecessary pushing of data=
 in the worst case.</p></div></div></blockquote><div>I believe you&#39;re c=
onflating GOAWAY with RST_STREAM+CANCEL. The former prevents the server fro=
m sending any SYN_STREAMs in the first place, while the latter resets indiv=
idual streams after their SYN_STREAM has arrived at the client.</div>





<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"p=
urple"><div><p><u></u><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>From reading the SPDY spec, it seems GOAWAY aff=
ects the connection. However, there are still valid resources that the clie=
nt would need from the server. Would controlling server push this way requi=
re the server to add additional
 logic to continue to serve additional requests on the connection, while ad=
ding state on the server side to not push additional content on subsequent =
requests when the client has sent a GOAWAY message? I am not clear on =A0ho=
w GOAWAY due to a client rejecting
 Push would differ from normal GOAWAY behavior on both client and server.</=
p></div></div></blockquote><div>GOAWAY is asymmetric - only the receiving e=
ndpoint is prohibited from opening new streams. In addition, one GOAWAY wil=
l suffice to prevent the server from pushing streams for all future request=
s on the connection, not just ones currently open. This state can be reset =
by opening a new connection to the server.</div>





<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"p=
urple"><div><p><u></u><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>The SPDY spec, appropriately, does not make GOA=
WAY mandatory. This means that clients that do not implement GOAWAY could s=
till have data pushed to them.</p></div></div></blockquote><div>I&#39;m a b=
it confused by this. Unless otherwise indicated, all parts of the spdy/3 sp=
ec are mandatory. We have specifically provided a way for a client to tell =
the server not to open any push streams. If the client only partially (and =
therefore, incorrectly) implements the specification, what are we to do abo=
ut it?</div>





<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"p=
urple"><div><p><u></u><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>Overall =A0it seems that having the client cont=
rol PUSH behavior is cleaner and is more efficient from a bandwidth perspec=
tive.</p></div></div></blockquote><div>Agreed.</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">




<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p><u></u><u></u></=
p>
<p class=3D"MsoNormal"><u></u>=A0<i>I proposed a detailed system of cache c=
ontrol for pushed resources on the spdy-dev mailing list, before I knew of =
the existence of this list. I plan to post it here soon:</i></p></div></div=
>



</blockquote><div><br></div><div>Since server push has been a popular topic=
 in the past 24 hours, I re-prioritized finishing the proposal and sent it =
to the list a few hours ago. You can read it at=A0<a href=3D"http://lists.w=
3.org/Archives/Public/ietf-http-wg/2012AprJun/0514.html" target=3D"_blank">=
http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0514.html</a>, =
although since some of the formatting has been mangled, I recommend an emai=
l client for an optimal proposal-reading experience. Feedback is most welco=
me, but should probably be posted in that thread.=A0</div>



<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"p=
urple"><p class=3D"MsoNormal"><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>Great to hear that you are thinking about this.=
 We believe that is something that needs to be added to the Push spec. It w=
ould probably require the client to keep track of resources previously down=
loaded (no data on first navigation
 to a site) when visiting a top level page and advertising the URL for the =
cached resources, along with the corresponding cache validators as part of =
the top level request. The server would then have to explicitly confirm to =
the client, which cached resources
 are valid in addition to initiating SYN streams for the content that it is=
 going to push.</p></div></blockquote><div>There is no need to transmit the=
 URI in addition to the cache validators, as long as a new restriction is a=
dded to entity tags: they must be unique among different URIs. I will add t=
his to the proposal.</div>



<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>
<u></u><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>If you are thinking about something similar, it=
 would be good to think about how to minimize data transferred on the wire =
for valid cached resources. In the above model, the client has to send the =
URL + cache validators and the
 server has to send back the URL to explicitly inform the client that the c=
ached resource is valid. The net effect is that one additional header with =
a URL (per valid cache resources) is transferred, when compared to the prop=
osed =93Smart Client Pull=94 model.</p>




</div></div></blockquote><div>My proposal only requires sending the cache v=
alidators for subresources, not their URIs. Additional bandwidth savings ma=
y be accrued by setting the &quot;push-if-invalidated&quot; cache control d=
irective, if all subresources are still fresh.</div>

<div><br></div><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"b=
lue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><i>Pushed content is likely to be that which is requ=
ired to be present at page load in the first place. Pushed CSS stylesheets =
would prevent flashes of unstyled content (FOUC), and pushed scripts that t=
rigger on page load would be able
 to execute before the user is able to interact with the page:<u></u><u></u=
></i></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>Our concern here is that in order to completely=
 prevent the race condition, the top level page data is serialized behind S=
YN stream for all pushed dependencies.</p></div></div></blockquote><div>




I&#39;m afraid I don&#39;t understand this sentence. Can you rephrase?</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlink=3D"=
purple">




<div><p>
<u></u><u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>As you mention the pushed dependencies will *<b=
>likely</b>* be only resources required to load the page. We take it a step=
 further and recommend that the server only push critical resources that wo=
uld block page load, since there
 are lower priority resources on webpages that do not affect the user exper=
ience. Unfortunately we cannot guarantee that will be case in practice.=A0 =
The effect of misconfigured servers =A0that push content not used on the to=
p level page or push extremely large
 number of resources, is that we end up blocking all data for the top level=
 page on these SYN streams and without the first bits of data, the user wil=
l be staring at a blank screen.</p></div></div></blockquote><div>I agree, a=
nd I think this recommendation should go into the spec. We can only hope th=
at server admins will err on the side of pushing too few resources, rather =
than too many.</div>




<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"p=
urple"><div><p><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u><i>Mozilla (and Chrome, I believe) already in=
terpret rel=3Dprefetch as indicating resources that are likely to be useful=
 in *future* page loads, not necessarily the current one - I would recommen=
d avoiding the naming conflict:</i></p>






<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>Our original spec was using the rel=3Dsubresour=
ce type, however we ended up changing it because rel=3Dsubresource is not c=
urrently included in the IANA (<a href=3D"http://www.iana.org/assignments/l=
ink-relations/link-relations.xml" target=3D"_blank">http://www.iana.org/ass=
ignments/link-relations/link-relations.xml</a>)
 list of link relation assignments. We figured pursing an extension to an a=
lready defined link relation, to be faster than defining a new one. It woul=
d be great to hear what the veteran standard folks on this list think about=
 this.<u></u><u></u></p>






<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>We interpreted the difference between rel=3Dsub=
resource and rel=3Dprefetch as mostly that of priority and saw nothing on t=
he spec preventing clients from pre-fetching resources for the current =A0w=
ebpage. It would be great to understand
 if other browsers do not use rel=3Dprefetch to bypass rendering/parsing de=
lays. <u></u>
<u></u></p>
<p><u></u><span style=3D"font-family:Symbol"><span>=B7<span style=3D"font:7=
.0pt &quot;Times New Roman&quot;">=A0=A0=A0=A0=A0=A0=A0=A0
</span></span></span><u></u>We are not sure who has implemented rel=3Dsubre=
source, so it would be good to also hear thoughts of other browser vendors =
about removing the distinction between rel=3Dsubresource and rel=3Dprefetch=
.</p>

</div></div></blockquote><div>I think they should remain separate. Merging =
them means we&#39;re going to have to pick one definition - if we pick subr=
esource&#39;s, then servers will be unable to notify the client of resource=
s relevant to *future* requests, since the client will immediately attempt =
to fetch them, wasting bandwidth. Picking prefetch&#39;s current definition=
 would present analogous problems. You&#39;re right, the opinions of browse=
r vendors would be helpful here.</div>

<div><br></div><div>Thanks for the detailed reply - this is a great discuss=
ion!</div><div><br></div><div>Alek</div><div><br></div><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>
<u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Calibri,sans-serif;font-s=
ize:11pt">Thanks</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;"><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;">-Jonathan Silvera<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"><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;"> Alek Sto=
rm [mailto:<a href=3D"mailto:alek.storm@gmail.com" target=3D"_blank">alek.s=
torm@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, June 6, 2012 7:29 PM<br>
<b>To:</b> Gabriel Montenegro<br>
<b>Cc:</b> <a href=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-ht=
tp-wg@w3.org</a>; Matthew Cox; Ivan Pashov; Osama Mazahir; Rob Trace; Jonat=
han Silvera</span></p><div class=3D"im"><div><br>
<b>Subject:</b> Re: Some thoughts on server push and client pull<u></u><u><=
/u></div><p></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div><p class=3D"MsoNormal">On Wed, Jun 6, 2012 at 8:30 PM, Gabriel Monten=
egro &lt;<a href=3D"mailto:Gabriel.Montenegro@microsoft.com" target=3D"_bla=
nk">Gabriel.Montenegro@microsoft.com</a>&gt; wrote:<u></u><u></u></p><div><=
div class=3D"h5">
<div><div>

<div>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">&lt;snip&gt;<u></u><u></u></p>
<p class=3D"MsoNormal">2. Issues with current Server Push in SPDY<u></u><u>=
</u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">We don&#39;t envision Server push as part of the bas=
e HTTP 2.0 protocol, but see it as a potentially interesting extension, as =
long as there is some way for the client to exert some
 control over when and how it is used. One fundamental requirement is for c=
lients to be able to control =93Server Push=94 behavior via a new opt-in &l=
t;name TBD&gt; header.=A0 Servers MUST NOT push unrequested data to the cli=
ent, unless the top level page request &lt;name
 TBD&gt; header is set to allow =93Server Push=94.<u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I have not verified this, but I believe the client c=
an achieve the same effect in SPDYv3 by sending a GOAWAY frame, indicating =
that the other endpoint must not open any new streams.<u></u><u></u></p>






</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">Server Push does not require any validation prior to=
 pushing data to the client, which could result in the server sending unnec=
essary data to clients that have some of the pushed
 resources stored in their cache.<u></u><u></u></p>
</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">I proposed a detailed system of cache control for pu=
shed resources on the spdy-dev mailing list, before I knew of the existence=
 of this list. I plan to post it here soon.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal">Furthermore, &quot;Server Push&quot; introduces a ra=
ce condition in which a client could start a new request for data that the =
server is in the process of pushing, effectively causing the
 same resource to be downloaded twice. SPDY addresses the race condition by=
 not sending any data (headers are OK) for the top level page, until all of=
 the SYN_STREAM for the dependencies it will push are sent:<u></u><u></u></=
p>






<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">&quot;To minimize race conditions with the client, t=
he SYN_STREAM for the pushed resources MUST be sent prior to sending any co=
ntent which could allow the client to discover the pushed
 resource and request it.&quot;<u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">We agree that SPDY&#39;s proposal is a good way to m=
itigate the race condition in Server Push without introducing significant c=
omplexity. Unfortunately mitigating the race condition
 in this manner prevents the server from sending data for the top level pag=
e. This could result in user-visible delays.=A0 Whether or not the user wil=
l see a delay will depend on what messages (how many and how large) the ser=
ver is pushing to the client.<u></u><u></u></p>






</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Pushed content is likely to be that which is require=
d to be present at page load in the first place. Pushed CSS stylesheets wou=
ld prevent flashes of unstyled content (FOUC), and pushed scripts that trig=
ger on page load would be able to
 execute before the user is able to interact with the page.<u></u><u></u></=
p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<blockquote style=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class=3D"MsoNormal">3. Smart Client Pull alternative to Server Push<u></=
u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">We would like to propose an alternative to Server Pu=
sh for discussion. This alternative is closely aligned with existing standa=
rds and could even work for HTTP 1.1.<u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">When a server receives an HTTP request for a top lev=
el page, the server will generate a list of resources needed to fully load =
the top level page. The server will send the optimal
 pre-fetch list to the client, via LINK headers, with a &quot;prefetch&quot=
; link relation type (defined in HTML5 per
<a href=3D"http://www.iana.org/assignments/link-relations/link-relations.xm=
l" target=3D"_blank">
http://www.iana.org/assignments/link-relations/link-relations.xml</a>). <u>=
</u><u></u></p>
<p class=3D"MsoNormal">The server SHOULD also include the corresponding cac=
he validators for each resource in the pre-fetch list. An extension to the =
=93prefetch=94 link relation type will be needed to allow
 cache validator data.<u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">When a client receives data for a top level page, it=
 will begin processing the top level page response, while simultaneously pr=
e-fetching resources in the pre-fetch list that are
 not in the client cache or that are cached but invalid, as indicated by th=
e cache validators included in the pre-fetch list. Servers SHOULD only incl=
ude resources that block loading of the top level page in the optimal pre-f=
etch list.<u></u><u></u></p>






</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">Mozilla (and Chrome, I believe) already interpret re=
l=3Dprefetch as indicating resources that are likely to be useful in *futur=
e* page loads, not necessarily the current one - I would recommend avoiding=
 the naming conflict. SPDY appears to
 have an ancillary proposal for a rel=3Dsubresource with essentially the se=
mantics you describe, at=A0<a href=3D"http://dev.chromium.org/spdy/link-hea=
ders-and-server-hint/link-rel-subresource" target=3D"_blank">http://dev.chr=
omium.org/spdy/link-headers-and-server-hint/link-rel-subresource</a>,
 which I believe is already implemented in Chrome.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<p class=3D"MsoNormal">My soon-to-come cache control proposal will obviate =
the need for extensions to the Link header, and would afford more fine-grai=
ned control.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
<div>
<div>
<p class=3D"MsoNormal">Alek<u></u><u></u></p>
</div>
</div>
</div>
</div></div></div></div></div>
</div>

</blockquote></div><br>
</blockquote></div><br></div>

--14dae93404cd2f036b04c1ec2c68--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 18:53: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 327BA11E808A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 18:53:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.826
X-Spam-Level: 
X-Spam-Status: No, score=-9.826 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WN2rOMl4CLWr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 18:53:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6626611E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 18:53:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScoME-0001Mc-LX for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 01:51:22 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1ScoM4-0001LM-MV for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 01:51:12 +0000
Received: from mail-yw0-f43.google.com ([209.85.213.43]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1ScoM1-0006T1-NG for ietf-http-wg@w3.org; Fri, 08 Jun 2012 01:51:10 +0000
Received: by yhkk6 with SMTP id k6so959848yhk.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 18:50:44 -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 :cc:content-type:x-gm-message-state; bh=47w2CwQoaCUL33SlmHEBsSsrLG0YeII6dmuVR4fjm9c=; b=Wt9FZ2sQmZltR37WmkBeDQ74QF4IGOAFqK8zITlUpkx9nYrb4/Dj5hVG3UE0eTb1OW nG7rt2PuVpy66dIwmfENSn2PryR+kjCeEsV8r+muX0172FSsf3H1+Z1nMbaCnBnx7blL hmQwcr0CyAEoqIGHmSjhY3nPCjGu15sR4/4nv4goBhzEsP19cANzSWZSYHiI4sRhuVYw jl1Tq1v3sGdC5Fds/aBuy5TMib1BTyGYS6K4pQv6yyOXvI/w2glxLQc2DHXLW8wlqRjH LAKAuwnoAq+ldkgU+N414V3yxabp3u2zeaJtCd/rkUJvc+BQVCM5AuymTuZgcEtEnRsk bErQ==
MIME-Version: 1.0
Received: by 10.50.100.226 with SMTP id fb2mr2428222igb.31.1339120244140; Thu, 07 Jun 2012 18:50:44 -0700 (PDT)
Received: by 10.64.5.71 with HTTP; Thu, 7 Jun 2012 18:50:44 -0700 (PDT)
In-Reply-To: <CBF69EC7.3765C%ido@akamai.com>
References: <CAP+FsNdE+3+wy_7Lz-hksRwuWBPEkHXAUKeuEweNdd2Qxu1S1w@mail.gmail.com> <CBF69EC7.3765C%ido@akamai.com>
Date: Thu, 7 Jun 2012 18:50:44 -0700
Message-ID: <CABaLYCvKNaAX7Go6PpMbsx46TrV=1bxKOfhWkE-j5yNxMYtxNQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: "Safruti, Ido" <ido@akamai.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=e89a8f3b9bdf76a89c04c1ec3a9c
X-Gm-Message-State: ALoCoQnQhHwfNhtnTcxoGAAzxM4/LDbJuVVQ1oZUL96cPaqpW20wrE8DLZVesA1UNXe8/uVxgRWc
Received-SPF: none client-ip=209.85.213.43; envelope-from=mike@belshe.com; helo=mail-yw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1ScoM1-0006T1-NG 7d67950eac41187692b1398b6d180f3e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: multiplexing over more than one connection
Archived-At: <http://www.w3.org/mid/CABaLYCvKNaAX7Go6PpMbsx46TrV=1bxKOfhWkE-j5yNxMYtxNQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13658
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScoME-0001Mc-LX@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 01:51:22 +0000

--e89a8f3b9bdf76a89c04c1ec3a9c
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 7, 2012 at 6:40 PM, Safruti, Ido <ido@akamai.com> wrote:

> Hi,
>
> I know this is a long discussed issue when multiplexing (specifically
> around SPDY): the benefits of one optimized connection vs
> multiple. However, as we most likely will use TCP as an underlying
> protocol, using one connection exposes us to packet loss impacts. (It is
> also true that in cases of packet loss =96 it may impact all established
> connections).
>
> Did anyone in this forum explored implementing something like link
> aggregation (or connection aggregation)?
> We can have an upgrade mechanism where the server and client can negotiat=
e
> adding a connection to their channel.
> The server can publish, or announce that it supports it, and the client
> can try to establish an additional connection with some
> identification/verification, and only once this is verified the channel
> could be "upgraded" to utilize the additional connection.
> Basically establishing link aggregation.
> If the upgrade isn't supported, or won't work, we can always remain with =
a
> single connection. (and we know it may break in some connection with
> loadbalancers, or if we can't assure server stickiness).
>
> Using such a mechanism we can ensure better redundancy and recovery
> mechanisms, but still dramatically reducing the number of connections.
>
>
I ran experiments using all numbers of connections.  What happens is
exactly what you'd expect with more connections:  compression ratios go
down, SSL overhead goes up, buffering goes up.  Packet loss is the hardest
to understand, as it depends on the correlated vs random packet loss
question.  With random packet loss, it is clear that more connections is
less negatively affected by losses when there are more connections.

If we let the app layer use multiple connections, we'll again prevent the
TCP guys from really being able to optimize.  I hope that we can push
forward on making a single transport connection just-as-good-or-better than
multiple transport connections rather than just throwing buffers at the
problem.

I realize that transports basically never change tho.  Sad!

mike




> I would be happy to know what people think.
>
> - Ido
>
>

--e89a8f3b9bdf76a89c04c1ec3a9c
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Thu, Jun 7, 2012 at 6:40 PM, Safruti,=
 Ido <span dir=3D"ltr">&lt;<a href=3D"mailto:ido@akamai.com" target=3D"_bla=
nk">ido@akamai.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 style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div>Hi,</div><div><br></div><div>I know this is a long discussed is=
sue when multiplexing (specifically around SPDY): the benefits of one optim=
ized connection vs multiple.=A0However, as we most likely will use TCP as a=
n underlying protocol, using one connection exposes us to packet loss impac=
ts. (It is also true that in cases of packet loss =96 it may impact all est=
ablished connections).</div>
<div><br></div><div>Did anyone in this forum explored implementing somethin=
g like link aggregation (or connection aggregation)?</div><div>We can have =
an upgrade mechanism where the server and client can negotiate adding a con=
nection to their channel.</div>
<div>The server can publish, or announce that it supports it, and the clien=
t can try to establish an additional connection with some identification/ve=
rification, and only once this is verified the channel could be &quot;upgra=
ded&quot; to utilize the additional connection.</div>
<div>Basically establishing link aggregation.</div><div><div>If the upgrade=
 isn&#39;t supported, or won&#39;t work, we can always remain with a single=
 connection. (and we know it may break in some connection with loadbalancer=
s, or if we can&#39;t assure server stickiness).</div>
</div><div><br></div><div>Using such a mechanism we can ensure better redun=
dancy and recovery mechanisms, but still dramatically reducing the number o=
f connections.</div><div><br></div></div></blockquote><div><br></div><div>
I ran experiments using all numbers of connections. =A0What happens is exac=
tly what you&#39;d expect with more connections: =A0compression ratios go d=
own, SSL overhead goes up, buffering goes up. =A0Packet loss is the hardest=
 to understand, as it depends on the correlated vs random packet loss quest=
ion. =A0With random packet loss, it is clear that more connections is less =
negatively affected by losses when there are more connections.</div>
<div><br>If we let the app layer use multiple connections, we&#39;ll again =
prevent the TCP guys from really being able to optimize. =A0I hope that we =
can push forward on making a single transport connection just-as-good-or-be=
tter than multiple transport connections rather than just throwing buffers =
at the problem.</div>
<div><br></div><div>I realize that transports basically never change tho. =
=A0Sad!</div><div><br>mike</div><div><br></div><div><br></div><div>=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">
<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div></div><div>I would be happy to know what people think.</div><sp=
an class=3D"HOEnZb"><font color=3D"#888888"><div><br></div><div>- Ido</div>=
<div>
<br></div></font></span></div>
</blockquote></div><br>

--e89a8f3b9bdf76a89c04c1ec3a9c--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 19:08: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 3A42D11E80A6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 19:08:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.472
X-Spam-Level: 
X-Spam-Status: No, score=-9.472 tagged_above=-999 required=5 tests=[AWL=1.126, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nHptSJz06zc2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 19:08:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B298411E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 19:08:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scocl-00041q-Vp for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 02:08:28 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ido@akamai.com>) id 1Scocc-00040z-CB for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 02:08:18 +0000
Received: from prod-mail-xrelay05.akamai.com ([96.6.114.97]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ido@akamai.com>) id 1ScocZ-0001yM-9o for ietf-http-wg@w3.org; Fri, 08 Jun 2012 02:08:16 +0000
Received: from prod-mail-xrelay05.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 43D621C47E1 for <ietf-http-wg@w3.org>; Fri,  8 Jun 2012 02:07:49 +0000 (GMT)
Received: from prod-mail-relay03.akamai.com (prod-mail-relay03.akamai.com [172.27.8.26]) by prod-mail-xrelay05.akamai.com (Postfix) with ESMTP id 3895E1C47E0 for <ietf-http-wg@w3.org>; Fri,  8 Jun 2012 02:07:49 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub7.dfw01.corp.akamai.com [172.27.33.73]) by prod-mail-relay03.akamai.com (Postfix) with ESMTP id 327312FD65 for <ietf-http-wg@w3.org>; Fri,  8 Jun 2012 02:07:46 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.240]) by ustx2ex-cashub7.dfw01.corp.akamai.com ([172.27.33.73]) with mapi; Thu, 7 Jun 2012 21:07:45 -0500
From: "Safruti, Ido" <ido@akamai.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Thu, 7 Jun 2012 21:07:43 -0500
Thread-Topic: multiplexing different hosts on a single SSL connections
Thread-Index: Ac1FG36Z1FHgDaCJQVGVN0wX5M68rw==
Message-ID: <CBF6AAC0.376BE%ido@akamai.com>
In-Reply-To: <CABaLYCvKNaAX7Go6PpMbsx46TrV=1bxKOfhWkE-j5yNxMYtxNQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.2.120421
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CBF6AAC0376BEidoakamaicom_"
MIME-Version: 1.0
Received-SPF: none client-ip=96.6.114.97; envelope-from=ido@akamai.com; helo=prod-mail-xrelay05.akamai.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1ScocZ-0001yM-9o 0415aa6bdb6be2ae10ed822c211d2ff9
X-Original-To: ietf-http-wg@w3.org
Subject: multiplexing different hosts on a single SSL connections
Archived-At: <http://www.w3.org/mid/CBF6AAC0.376BE%25ido@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13659
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scocl-00041q-Vp@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 02:08:27 +0000

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

Hi,
I remember reading some ideas about how to enable that on the spdy group.
Obviously there are different security and privacy considerations for doing=
 that, but there are some performance benefits, especially for proxies/inte=
rmediate.

I am not sure it is in the scope of HTTP/2.0 and if this mailing list the r=
ight place to discuss this?
Is it covered/discussed as part of some other effort?

- Ido

--_000_CBF6AAC0376BEidoakamaicom_
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; color: rgb(0, 0, 0); font-si=
ze: 14px; font-family: Calibri, sans-serif; "><div>Hi,</div><div>I remember=
 reading some ideas about how to enable that on the spdy group.</div><div>O=
bviously there are different security and privacy considerations for doing =
that, but there are some performance benefits, especially for proxies/inter=
mediate.</div><div><br></div><div>I am not sure it is in the scope of HTTP/=
2.0 and if this mailing list the right place to discuss this?</div><div>Is =
it covered/discussed as part of some other effort?</div><div><br></div><div=
>- Ido</div></body></html>

--_000_CBF6AAC0376BEidoakamaicom_--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 19:12: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 A413211E80B7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 19:12:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.876
X-Spam-Level: 
X-Spam-Status: No, score=-9.876 tagged_above=-999 required=5 tests=[AWL=0.100, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D2iwoHUPMZwp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 19:12:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9E9A211E80AF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 19:12:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scog1-0004LC-1e for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 02:11:49 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1Scofr-0004Hl-FH for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 02:11:39 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Scofn-00025W-Pt for ietf-http-wg@w3.org; Fri, 08 Jun 2012 02:11:37 +0000
Received: by ggmi1 with SMTP id i1so956521ggm.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 19:11:10 -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 :cc:content-type:x-gm-message-state; bh=423iwEhbjR6v2E2mpOJS8trPK4JENusYDq2GhEHvi/w=; b=RslvaeMWjAEFneQqw2nXfU0oULQModncOlN0jQcqjJvJxbOHSTzPMtJ1JTt8JaueL8 0WcmyLEb6cOau1/Ky6dtchPadCKu7kSyy6HMmvZYKXFsBVWIzVscjvVFYHzCPoyNQff7 oUeZUqNgo/dM0QQFJV4CBPRgq51Eiqj33UFkDzF+5zD0xlkHBUkViTIsr+elJdccW7yj XPEnBhxTt/9N+iPz4O1CCxAR7HCiCpW8VQtK4AnCIQh6LOXEVW9jd9R4bsY5A5jiXxxO VgxgtCObkJTIAtGuAOaHpWZs5XYfJeMAJv2oOHi2Da72CJ7nXrUTiDzPS2qVN2FRNNYt WZCQ==
MIME-Version: 1.0
Received: by 10.50.17.226 with SMTP id r2mr2378636igd.47.1339121469876; Thu, 07 Jun 2012 19:11:09 -0700 (PDT)
Received: by 10.64.5.71 with HTTP; Thu, 7 Jun 2012 19:11:09 -0700 (PDT)
In-Reply-To: <CABkgnnWWJ+VvScOYYAeLsHVYAWT2QBrwqXhb5SZwQvU52GOjqA@mail.gmail.com>
References: <op.wfjd0s2diw9drz@riaa> <CABkgnnWWJ+VvScOYYAeLsHVYAWT2QBrwqXhb5SZwQvU52GOjqA@mail.gmail.com>
Date: Thu, 7 Jun 2012 19:11:09 -0700
Message-ID: <CABaLYCvawycrzu2JBu2qZcpQFGbX+J2z1x_Ui+xuM993ybgz4w@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Martin Nilsson <nilsson@opera.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=14dae934114b85ea5c04c1ec8396
X-Gm-Message-State: ALoCoQnLZlXL2QluTkroDdwcva8Ke4vwoxMiLG7UhUQJAbFauAa1Dv6lzMI4RVNaFNutfH0C3CPr
Received-SPF: none client-ip=209.85.161.171; envelope-from=mike@belshe.com; helo=mail-gg0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Scofn-00025W-Pt b55b0da3d798febab545cdca6d7a93e1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/CABaLYCvawycrzu2JBu2qZcpQFGbX+J2z1x_Ui+xuM993ybgz4w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13660
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scog1-0004LC-1e@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 02:11:49 +0000

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

On Thu, Jun 7, 2012 at 9:12 AM, Martin Thomson <martin.thomson@gmail.com>wrote:

> Interesting, thorough and well-considered review.  A few opinions
> included inline:
>
> On 7 June 2012 07:18, Martin Nilsson <nilsson@opera.com> wrote:
> >  By adding priority information to the requests the server can take
> >  active decision in which resource to send first.
>
> I don't think priority is as big a deal as people are making out.  On
> the contrary, it's a distraction.
>

I didn't put in priorities because I wanted them - I put them in because
the first version of SPDY, which didn't have them was slower than HTTP :-)
 The problem is that once the client can flood the server with requests,
the server gets inundated with a set of low priority (usually images) and
high priority requests. Without priorities, these all compete for the same
bandwidth leading to materially slower page load times.  I encourage you to
remove priorities and see this for yourself - it is evident with every
benchmark we ran.


> 1. The server is probably more likely to know what resources need to
> be acquired first.
>

Again, this is not true.  You should look into the resource loaders for
firefox or webkit before making such claims.  Only the browser knows which
resources are blocking rendering.  The client can prioritize best and MUST
be given a mechanism to tell the server which resources are needed first.
 This is actually an area where browsers can continue to improve.  The JS
file that the renderer is blocked on right now is more important than the
others.  Chrome, at least, doesn't yet make this distinction (but in the
future it could!)  Also, browsers are multi-tabbed beasts these days.  The
tab which the user is active on should have higher priority than all other
tabs.  The server, of course, has no idea which request is coming from
which tab or which tab is most important.

Of course, server implementors can ignore the browser hint (this is allowed
in the protocol today), but I strongly advise against it.



> 2. The client has the ultimate control over what resources are
> requested, so they already have control over priority (if resource A
> is more important than resource B, just don't request resource B).
>

It's about the round trips, not the ordering.  100ms delays are simply not
acceptable anymore.

Mike




>
> Beyond this, the main reason you might use priority is for large
> concurrent representation (i.e., file) transfers.  Bittorrent has this
> feature for torrents with multiple files.  The utility for HTTP is
> somewhat limited.  That's not to say that it isn't a useful feature,
> but I don't see it as a core necessity.
>
> >  [...]  While the concerns is valid, flow control looks like
> >  overkill to something where a per-channel pause control frame could
> >  do the same job with less implementation and protocol overhead.
>
> The problem with a pause frame is the time that it takes to propagate.
>  During that time, you can end up getting a lot of data that you can't
> do anything with.  Flow control is a well understood mechanism that
> solves the problem.
>
> I'm going to argue that flow control is the necessity and priority is
> the unnecessary feature gold plating.
>
> >  The problem with [asynchronous headers] is that it creates a situation
> where a
> >  potentially critical header for the interpretation of the content is
> >  sent last, thus forcing the receiver to put data processing on hold.
>
> If you read the guidance on trailing headers (footers?), the key
> message is that they should not be critical.  The same guidance should
> apply to any asynchronous headers.
>
> The utility of a trailer can be significant.  For instance, if you
> have to calculate a hash of the representation, they represent a
> significant performance gain.  In this case, I can imagine wanting to
> send supplementary information after the representation; Link headers,
> for instance.
>
> > 2.6. Push
>
> Is not sufficiently justified to warrant the significant change in
> protocol semantics.
>
>

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

<br><br><div class=3D"gmail_quote">On Thu, Jun 7, 2012 at 9:12 AM, Martin T=
homson <span dir=3D"ltr">&lt;<a href=3D"mailto:martin.thomson@gmail.com" ta=
rget=3D"_blank">martin.thomson@gmail.com</a>&gt;</span> wrote:<br><blockquo=
te class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc so=
lid;padding-left:1ex">
Interesting, thorough and well-considered review. =A0A few opinions<br>
included inline:<br>
<div class=3D"im"><br>
On 7 June 2012 07:18, Martin Nilsson &lt;<a href=3D"mailto:nilsson@opera.co=
m">nilsson@opera.com</a>&gt; wrote:<br>
&gt; =A0By adding priority information to the requests the server can take<=
br>
&gt; =A0active decision in which resource to send first.<br>
<br>
</div>I don&#39;t think priority is as big a deal as people are making out.=
 =A0On<br>
the contrary, it&#39;s a distraction.<br></blockquote><div><br></div><div>I=
 didn&#39;t put in priorities because I wanted them - I put them in because=
 the first version of SPDY, which didn&#39;t have them was slower than HTTP=
 :-) =A0The problem is that once the client can flood the server with reque=
sts, the server gets inundated with a set of low priority (usually images) =
and high priority requests. Without priorities, these all compete for the s=
ame bandwidth leading to materially slower page load times. =A0I encourage =
you to remove priorities and see this for yourself - it is evident with eve=
ry benchmark we ran.</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>
1. The server is probably more likely to know what resources need to<br>
be acquired first.<br></blockquote><div><br></div><div>Again, this is not t=
rue. =A0You should look into the resource loaders for firefox or webkit bef=
ore making such claims. =A0Only the browser knows which resources are block=
ing rendering. =A0The client can prioritize best and MUST be given a mechan=
ism to tell the server which resources are needed first. =A0This is actuall=
y an area where browsers can continue to improve. =A0The JS file that the r=
enderer is blocked on right now is more important than the others. =A0Chrom=
e, at least, doesn&#39;t yet make this distinction (but in the future it co=
uld!) =A0Also, browsers are multi-tabbed beasts these days. =A0The tab whic=
h the user is active on should have higher priority than all other tabs. =
=A0The server, of course, has no idea which request is coming from which ta=
b or which tab is most important.</div>
<div><br>Of course, server implementors can ignore the browser hint (this i=
s allowed in the protocol today), but I strongly advise against it.</div><d=
iv><br></div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

2. The client has the ultimate control over what resources are<br>
requested, so they already have control over priority (if resource A<br>
is more important than resource B, just don&#39;t request resource B).<br><=
/blockquote><div><br></div><div>It&#39;s about the round trips, not the ord=
ering. =A0100ms delays are simply not acceptable anymore.</div><div><br>
</div><div>Mike</div><div>=A0</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">
<br>
Beyond this, the main reason you might use priority is for large<br>
concurrent representation (i.e., file) transfers. =A0Bittorrent has this<br=
>
feature for torrents with multiple files. =A0The utility for HTTP is<br>
somewhat limited. =A0That&#39;s not to say that it isn&#39;t a useful featu=
re,<br>
but I don&#39;t see it as a core necessity.<br>
<br>
&gt; =A0[...] =A0While the concerns is valid, flow control looks like<br>
<div class=3D"im">&gt; =A0overkill to something where a per-channel pause c=
ontrol frame could<br>
&gt; =A0do the same job with less implementation and protocol overhead.<br>
<br>
</div>The problem with a pause frame is the time that it takes to propagate=
.<br>
=A0During that time, you can end up getting a lot of data that you can&#39;=
t<br>
do anything with. =A0Flow control is a well understood mechanism that<br>
solves the problem.<br>
<br>
I&#39;m going to argue that flow control is the necessity and priority is<b=
r>
the unnecessary feature gold plating.<br>
<br>
&gt; =A0The problem with [asynchronous headers] is that it creates a situat=
ion where a<br>
<div class=3D"im">&gt; =A0potentially critical header for the interpretatio=
n of the content is<br>
&gt; =A0sent last, thus forcing the receiver to put data processing on hold=
.<br>
<br>
</div>If you read the guidance on trailing headers (footers?), the key<br>
message is that they should not be critical. =A0The same guidance should<br=
>
apply to any asynchronous headers.<br>
<br>
The utility of a trailer can be significant. =A0For instance, if you<br>
have to calculate a hash of the representation, they represent a<br>
significant performance gain. =A0In this case, I can imagine wanting to<br>
send supplementary information after the representation; Link headers,<br>
for instance.<br>
<br>
&gt; 2.6. Push<br>
<br>
Is not sufficiently justified to warrant the significant change in<br>
protocol semantics.<br>
<br>
</blockquote></div><br>

--14dae934114b85ea5c04c1ec8396--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 20:59: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 7C8F111E80B3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 20:59:59 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MO9CGGxpSrGK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 20:59:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D791011E80B2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 20:59:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScqLR-0000Wj-Fl for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 03:58:41 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ycheng@google.com>) id 1ScqL8-0000Vn-E7 for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 03:58:22 +0000
Received: from mail-ob0-f171.google.com ([209.85.214.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <ycheng@google.com>) id 1ScqL5-00067X-BX for ietf-http-wg@w3.org; Fri, 08 Jun 2012 03:58:20 +0000
Received: by obfk16 with SMTP id k16so2070993obf.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 20:57:53 -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:content-transfer-encoding:x-system-of-record; bh=CTqZ8XwXxSUaPdbf7e6+pYE87czu24xhR6RptaG4eUE=; b=YsnT0XIRrdoVZhdvajpuGLUOME3fUphR2IjSifFpPUy02IhZ8UI2ihdItXf7D/y3me 9wpN29jOIjL3ESJ7audntdl6w3cL2WUv1mnUc69bmbpsPpzm1THH4I5DfyO4f6oQxKPS RUoPZmfdxklQ1hT9UE8q9Ka+XJ+XBSo+VClA9sAybsXmToU+v00uCwAs2lR0LTzCAEet s3eB041x5210LAQxtdkqeyFfZl8XEYFVHHNgO2TwYKqdy2KOONVbBPNqzMNoxwqBx3tX T2n6jXusvojUGLOGZV16hUonMFw4euN7+ugNFIU3CzXjl28tjMWiYW2K2vNyXxGgLpR8 sYGg==
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:content-transfer-encoding:x-system-of-record :x-gm-message-state; bh=CTqZ8XwXxSUaPdbf7e6+pYE87czu24xhR6RptaG4eUE=; b=Zg6Aut3Nvrb4ly23rAOiQ4No/TBaDKzPVnV5urMIRvRfdjC5uaGrmr6CyxjW2H7bd3 HuSBKjIcyXDaUMmv5ohE2FVheJM0+h6oE7xv4HPu6Z7qg1+tV6rncKR/lobaU8v2LPy5 oGRWcyuNXMntckymTEPYegrR7mepabhoBboNgMwxsiN594sG5KLrQRn+4D+8dSGC2CQN +7CI0B1cC86ObrYyOLzakanVP0MjMB7UyQO6+1A2w26L8bVYSlQkjVcKMBYXJeFAILrw YU1AYrFScRA1Ggsco5K3E0am51SV8IHSpPz5QRcpC2R3BRz5+9iQkayWIWBqH00wdBnx 22+A==
Received: by 10.60.19.67 with SMTP id c3mr4625791oee.2.1339127873320; Thu, 07 Jun 2012 20:57:53 -0700 (PDT)
Received: by 10.60.19.67 with SMTP id c3mr4625786oee.2.1339127873182; Thu, 07 Jun 2012 20:57:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.182.225.35 with HTTP; Thu, 7 Jun 2012 20:57:32 -0700 (PDT)
In-Reply-To: <CBF69EC7.3765C%ido@akamai.com>
References: <CAP+FsNdE+3+wy_7Lz-hksRwuWBPEkHXAUKeuEweNdd2Qxu1S1w@mail.gmail.com> <CBF69EC7.3765C%ido@akamai.com>
From: Yuchung Cheng <ycheng@google.com>
Date: Thu, 7 Jun 2012 20:57:32 -0700
Message-ID: <CAK6E8=ftcmdiD=Y8HWfddZF0YHSZBX4H7sus2fSjAC3k1qgoHg@mail.gmail.com>
To: "Safruti, Ido" <ido@akamai.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQkD7WZfZ8iQcyq66iN1nKn7+sDQz2VUUn1giLBwX1CJqyoD2SWB4m+hAmyd32Nge9c1GPvkgQP4B8giMxWFw63JFox7nqyIgJgET5fD2UIE/gbIVvqSEyuHGMkb86s2ajyQtybn31TMlXM+roUuFKE+V/At3w==
Received-SPF: pass client-ip=209.85.214.171; envelope-from=ycheng@google.com; helo=mail-ob0-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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1ScqL5-00067X-BX daee0cdb629816dc76705b524e8674e7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: multiplexing over more than one connection
Archived-At: <http://www.w3.org/mid/CAK6E8=ftcmdiD=Y8HWfddZF0YHSZBX4H7sus2fSjAC3k1qgoHg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13661
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScqLR-0000Wj-Fl@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 03:58:41 +0000

On Thu, Jun 7, 2012 at 6:40 PM, Safruti, Ido <ido@akamai.com> wrote:
> Hi,
>
> I know this is a long discussed issue when multiplexing (specifically aro=
und
> SPDY): the benefits of one optimized connection vs multiple.=A0However, a=
s we
> most likely will use TCP as an underlying protocol, using one connection
> exposes us to packet loss impacts. (It is also true that in cases of pack=
et
> loss =96 it may impact all established connections).
>
> Did anyone in this forum explored implementing something like link
> aggregation (or connection aggregation)?
> We can have an upgrade mechanism where the server and client can negotiat=
e
> adding a connection to their channel.
> The server can publish, or announce that it supports it, and the client c=
an
> try to establish an additional connection with some
> identification/verification, and only once this is verified the channel
> could be "upgraded" to utilize the additional connection.
> Basically establishing link aggregation.
> If the upgrade isn't supported, or won't work, we can always remain with =
a
> single connection. (and we know it may break in some connection with
> loadbalancers, or if we can't assure server stickiness).

You might want to take a look at SST
(http://pdos.csail.mit.edu/uia/sst/) and SCTP


>
> Using such a mechanism we can ensure better redundancy and recovery
> mechanisms, but still dramatically reducing the number of connections.
>
> I would be happy to know what people think.
>
> - Ido
>


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 21:16: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 5F1C321F861B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 21:16: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VT1CDIRy0otE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 21:16:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 63D2D21F8606 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 21:16:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scqca-0004qV-Cu for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 04:16:24 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <robert@mattson.com.au>) id 1Scqc6-0004c6-Qo for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 04:15:55 +0000
Received: from ppp154-145.static.internode.on.net ([150.101.154.145] helo=www.connectedis.com.au) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <robert@mattson.com.au>) id 1Scqc2-0006nd-53 for ietf-http-wg@w3.org; Fri, 08 Jun 2012 04:15:52 +0000
Received: by www.connectedis.com.au (Postfix, from userid 1000) id F09F7104630; Fri,  8 Jun 2012 14:15:25 +1000 (EST)
Received: from localhost (localhost [127.0.0.1]) by www.connectedis.com.au (Postfix) with ESMTP id EAA1210440E; Fri,  8 Jun 2012 14:15:25 +1000 (EST)
Date: Fri, 8 Jun 2012 14:15:25 +1000 (EST)
From: Robert Mattson <robert@mattson.com.au>
X-X-Sender: robert@www.connectedis.com.au
To: "Safruti, Ido" <ido@akamai.com>
cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
In-Reply-To: <CBF69EC7.3765C%ido@akamai.com>
Message-ID: <alpine.LNX.2.00.1206081357350.10783@www.connectedis.com.au>
References: <CBF69EC7.3765C%ido@akamai.com>
User-Agent: Alpine 2.00 (LNX 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1047141547-1339128925=:10783"
Received-SPF: none client-ip=150.101.154.145; envelope-from=robert@mattson.com.au; helo=www.connectedis.com.au
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1Scqc2-0006nd-53 34960da5c0540a9ac9cb71c76df1e307
X-Original-To: ietf-http-wg@w3.org
Subject: Re: multiplexing over more than one connection
Archived-At: <http://www.w3.org/mid/alpine.LNX.2.00.1206081357350.10783@www.connectedis.com.au>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13662
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scqca-0004qV-Cu@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 04:16:24 +0000

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-1047141547-1339128925=:10783
Content-Type: TEXT/PLAIN; charset=Windows-1252; format=flowed
Content-Transfer-Encoding: 8BIT

Some quick 2c answers inline, cause I had to :)


Sincerely,
Rob Mattson, MACS (CT), MIEEE

Email: robert@mattson.com.au

On Thu, 7 Jun 2012, Safruti, Ido wrote:

> Hi,
> 
> I know this is a long discussed issue when multiplexing (specifically around SPDY): the benefits of one optimized connection vs multiple. However, as we most
> likely will use TCP as an underlying protocol, using one connection exposes us to packet loss impacts. (It is also true that in cases of packet loss ? it may impact
> all established connections).
The effect of packet loss on a connection among many is an exercise in 
probability, it becomes complicated when we think about QoS and RED in the 
mix. RED signals a connection to slow down by dropping packets to trigger 
congestion control/flow back-off responses in the TCP stack.

> 
> Did anyone in this forum explored implementing something like link aggregation (or connection aggregation)?
This is comparable to multiplexing. think of HTTP-MPLEX & web bundles 
against something like Coordinated congestion controle (COCOON). You 
really want a single congestion control algorithm aware of multiple 
connections (response level multiplexing on a single TCP connection).
When you have multiple retransmit buffers that are sizeable because of 
high delay and high bandwidth it might take more segments to trigger 
something like fast retransmit. That is because other segments will be in 
flight delaying the arrival of out of order segments for a TCP connection 
experiencing the loss. Assuming unequal distribution of loss among open 
TCP connections.


> We can have an upgrade mechanism where the server and client can negotiate adding a connection to their channel.
yep. See HTTP-MPLEX. Although you have to wait for the current response to 
arrive before the next stream of responses, but you also reduce head of 
the line blocking with HTTP-MPLEX and also server side response 
prioritisation.


> The server can publish, or announce that it supports it, and the client can try to establish an additional connection with some identification/verification, and
> only once this is verified the channel could be "upgraded" to utilize the additional connection.
HTTP-MPLEX does this in a backwards compatible and transparent manner.

> Basically establishing link aggregation.
> If the upgrade isn't supported, or won't work, we can always remain with a single connection. (and we know it may break in some connection with loadbalancers, or
> if we can't assure server stickiness).
> 
> Using such a mechanism we can ensure better redundancy and recovery mechanisms, but still dramatically reducing the number of connections.
> 
> I would be happy to know what people think.
> 
> - Ido
> 
> 
>


Thanks for an opportunity to trumpet my own horn, but i'll wait for my 
current caffiene inspired sugar-rush to wear off and i promise to spell 
check my emails in the future and capitalise my 'I's.
--8323328-1047141547-1339128925=:10783--


From ietf-http-wg-request@listhub.w3.org  Thu Jun  7 21:25: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 CD43911E80CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 21:25:26 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3Ij9NkBVQvgz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu,  7 Jun 2012 21:25:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 41AD011E80BD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu,  7 Jun 2012 21:25:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scqjg-0006b7-1H for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 04:23:44 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1ScqjM-0006aE-FN for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 04:23:24 +0000
Received: from mail-ee0-f43.google.com ([74.125.83.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1ScqjJ-00076K-Am for ietf-http-wg@w3.org; Fri, 08 Jun 2012 04:23:22 +0000
Received: by eeke50 with SMTP id e50so825859eek.2 for <ietf-http-wg@w3.org>; Thu, 07 Jun 2012 21:22: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=Hma3PuHK6x9fReyFUXPHLW247jSHUMAA4CYWutHDIvA=; b=FOqs4i7Zjepbt1dZ2nRr7heu8QKNfK+r8KzRdxh2O5oEyhOwjyzITBcgqsZIfTqnBp T2L1XWV60MqiXwN2nM6ItMtetck50Wu+8nc2MKJsQ+gCYMZizHpK4v/32b/74EYrVQuT GOSPaoId6eJEiLGJZ2xzPQqXtk3H6ttvjgAXVYI4YFOzp4tGGZ0g8YvMv2XURFB1DOox bZCMkOxfBMOwXsBVovXSZuSjX/ZXAmBpWv4RjaUCAujSKX6C16L8r61tKJ9y0LQaNttL 6SMvXIP4BImtqTf1fW7NSIZnRKUj02VfJ32I/snhWH/B3344O4IkP8u5cAFhDdlwa84S K47A==
MIME-Version: 1.0
Received: by 10.14.28.198 with SMTP id g46mr2576428eea.207.1339129375284; Thu, 07 Jun 2012 21:22:55 -0700 (PDT)
Received: by 10.14.29.10 with HTTP; Thu, 7 Jun 2012 21:22:55 -0700 (PDT)
In-Reply-To: <CBF6AAC0.376BE%ido@akamai.com>
References: <CABaLYCvKNaAX7Go6PpMbsx46TrV=1bxKOfhWkE-j5yNxMYtxNQ@mail.gmail.com> <CBF6AAC0.376BE%ido@akamai.com>
Date: Thu, 7 Jun 2012 21:22:55 -0700
Message-ID: <CAP+FsNeA1nVHf8FXVOsD9L2szz+7BJzr-vkaCtKuEfMbsKGWAw@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: "Safruti, Ido" <ido@akamai.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=bcaec52be76fb8e02404c1ee5abc
Received-SPF: pass client-ip=74.125.83.43; envelope-from=grmocg@gmail.com; helo=mail-ee0-f43.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 1ScqjJ-00076K-Am 8c61901b622d864d50498116ee30bbbc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: multiplexing different hosts on a single SSL connections
Archived-At: <http://www.w3.org/mid/CAP+FsNeA1nVHf8FXVOsD9L2szz+7BJzr-vkaCtKuEfMbsKGWAw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13663
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scqjg-0006b7-1H@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 04:23:44 +0000

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

If the cert you got from the original connection matches the new host you
wish to go to, AND the DNS resolution for that host overlaps with the IP of
the connection you already have, then Chrome will attempt to reuse the
connection.

spdy-dev is probably a better list for discussing this, since this is a
SPDY implementation question.

-=R

On Thu, Jun 7, 2012 at 7:07 PM, Safruti, Ido <ido@akamai.com> wrote:

> Hi,
> I remember reading some ideas about how to enable that on the spdy group.
> Obviously there are different security and privacy considerations for
> doing that, but there are some performance benefits, especially for
> proxies/intermediate.
>
> I am not sure it is in the scope of HTTP/2.0 and if this mailing list the
> right place to discuss this?
> Is it covered/discussed as part of some other effort?
>
> - Ido
>

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

If the cert you got from the original connection matches the new host you w=
ish to go to, AND the DNS resolution for that host overlaps with the IP of =
the connection you already have, then Chrome will attempt to reuse the conn=
ection.<div>
<br></div><div>spdy-dev is probably a better list for discussing this, sinc=
e this is a SPDY implementation question.</div><div><br></div><div>-=3DR<br=
><br><div class=3D"gmail_quote">On Thu, Jun 7, 2012 at 7:07 PM, Safruti, Id=
o <span dir=3D"ltr">&lt;<a href=3D"mailto:ido@akamai.com" target=3D"_blank"=
>ido@akamai.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 style=3D"font-size:14px;font-family:Cal=
ibri,sans-serif;word-wrap:break-word"><div>Hi,</div><div>I remember reading=
 some ideas about how to enable that on the spdy group.</div>
<div>Obviously there are different security and privacy considerations for =
doing that, but there are some performance benefits, especially for proxies=
/intermediate.</div><div><br></div><div>I am not sure it is in the scope of=
 HTTP/2.0 and if this mailing list the right place to discuss this?</div>
<div>Is it covered/discussed as part of some other effort?</div><span class=
=3D"HOEnZb"><font color=3D"#888888"><div><br></div><div>- Ido</div></font><=
/span></div>
</blockquote></div><br></div>

--bcaec52be76fb8e02404c1ee5abc--


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 00:10: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 C712011E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:10:55 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xFZRbTkbbpSm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:10:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6A8E511E80A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 00:10:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SctJz-0000dS-EJ for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 07:09:23 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ido@akamai.com>) id 1SctJi-0000cQ-Je for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 07:09:07 +0000
Received: from prod-mail-xrelay01.akamai.com ([72.246.2.12]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <ido@akamai.com>) id 1SctJf-0004d1-Tw for ietf-http-wg@w3.org; Fri, 08 Jun 2012 07:09:04 +0000
Received: from prod-mail-xrelay01.akamai.com (localhost.localdomain [127.0.0.1]) by postfix.imss70 (Postfix) with ESMTP id 1D56ECF23C; Fri,  8 Jun 2012 07:08:38 +0000 (GMT)
Received: from prod-mail-relay02.akamai.com (prod-mail-relay02.akamai.com [172.17.50.21]) by prod-mail-xrelay01.akamai.com (Postfix) with ESMTP id 0A6DACF23B; Fri,  8 Jun 2012 07:08:38 +0000 (GMT)
Received: from ustx2ex-cashub.dfw01.corp.akamai.com (ustx2ex-cashub5.dfw01.corp.akamai.com [172.27.33.71]) by prod-mail-relay02.akamai.com (Postfix) with ESMTP id BB62BFE070; Fri,  8 Jun 2012 07:08:37 +0000 (GMT)
Received: from USMBX2.msg.corp.akamai.com ([169.254.1.240]) by ustx2ex-cashub5.dfw01.corp.akamai.com ([172.27.33.71]) with mapi; Fri, 8 Jun 2012 02:08:37 -0500
From: "Safruti, Ido" <ido@akamai.com>
To: Roberto Peon <grmocg@gmail.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Fri, 8 Jun 2012 02:08:34 -0500
Thread-Topic: multiplexing different hosts on a single SSL connections
Thread-Index: Ac1FRYXJ2awhX7NNTsKd00GFS3qrFg==
Message-ID: <CBF6F1CF.37733%ido@akamai.com>
In-Reply-To: <CAP+FsNeA1nVHf8FXVOsD9L2szz+7BJzr-vkaCtKuEfMbsKGWAw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.2.2.120421
acceptlanguage: en-US
Content-Type: multipart/alternative; boundary="_000_CBF6F1CF37733idoakamaicom_"
MIME-Version: 1.0
Received-SPF: none client-ip=72.246.2.12; envelope-from=ido@akamai.com; helo=prod-mail-xrelay01.akamai.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SctJf-0004d1-Tw f91710fc676549e931e5821b2b65fed3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: multiplexing different hosts on a single SSL connections
Archived-At: <http://www.w3.org/mid/CBF6F1CF.37733%25ido@akamai.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13664
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SctJz-0000dS-EJ@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 07:09:23 +0000

--_000_CBF6F1CF37733idoakamaicom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Hi Roberto, thanks for the note,
I know that currently this is the way chrome works.
However, assuming multiplexing will be part of http/2.0, and performance as=
 well I am wondering if we can extend that notion.
Can the server send a validation on an existing SSL connection to validate =
it is also good for another domain/cert.
Obviously we would want to use another cert for the connection, so that you=
 won't be able to decipher one hosts message by having the cert of another.

Anyhow =96 I'll move it to spdy dev, but it looks like a TLS issue.

From: Roberto Peon <grmocg@gmail.com<mailto:grmocg@gmail.com>>
To: Ido Safruti <ido@akamai.com<mailto:ido@akamai.com>>
Cc: "ietf-http-wg@w3.org<mailto:ietf-http-wg@w3.org>" <ietf-http-wg@w3.org<=
mailto:ietf-http-wg@w3.org>>
Subject: Re: multiplexing different hosts on a single SSL connections

If the cert you got from the original connection matches the new host you w=
ish to go to, AND the DNS resolution for that host overlaps with the IP of =
the connection you already have, then Chrome will attempt to reuse the conn=
ection.

spdy-dev is probably a better list for discussing this, since this is a SPD=
Y implementation question.

-=3DR

On Thu, Jun 7, 2012 at 7:07 PM, Safruti, Ido <ido@akamai.com<mailto:ido@aka=
mai.com>> wrote:
Hi,
I remember reading some ideas about how to enable that on the spdy group.
Obviously there are different security and privacy considerations for doing=
 that, but there are some performance benefits, especially for proxies/inte=
rmediate.

I am not sure it is in the scope of HTTP/2.0 and if this mailing list the r=
ight place to discuss this?
Is it covered/discussed as part of some other effort?

- Ido


--_000_CBF6F1CF37733idoakamaicom_
Content-Type: text/html; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<html><head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1=
252"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space;=
 -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14p=
x; font-family: Calibri, sans-serif; "><div>Hi Roberto, thanks for the note=
,&nbsp;</div><div>I know that currently this is the way chrome works.</div>=
<div>However, assuming multiplexing will be part of http/2.0, and performan=
ce as well I am wondering if we can extend that notion.</div><div>Can the s=
erver send a validation on an existing SSL connection to validate it is als=
o good for another domain/cert.</div><div>Obviously we would want to use an=
other cert for the connection, so that you won't be able to decipher one ho=
sts message by having the cert of another.</div><div><br></div><div>Anyhow =
=96 I'll move it to spdy dev, but it looks like a TLS issue.</div><div><br>=
</div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; =
font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; B=
ORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RI=
GHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING=
-TOP: 3pt"><span style=3D"font-weight:bold">From: </span> Roberto Peon &lt;=
<a href=3D"mailto:grmocg@gmail.com">grmocg@gmail.com</a>&gt;<br><span style=
=3D"font-weight:bold">To: </span> Ido Safruti &lt;<a href=3D"mailto:ido@aka=
mai.com">ido@akamai.com</a>&gt;<br><span style=3D"font-weight:bold">Cc: </s=
pan> &quot;<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&q=
uot; &lt;<a href=3D"mailto:ietf-http-wg@w3.org">ietf-http-wg@w3.org</a>&gt;=
<br><span style=3D"font-weight:bold">Subject: </span> Re: multiplexing diff=
erent hosts on a single SSL connections<br></div><div><br></div><div><div>
If the cert you got from the original connection matches the new host you w=
ish to go to, AND the DNS resolution for that host overlaps with the IP of =
the connection you already have, then Chrome will attempt to reuse the conn=
ection.
<div><br></div><div>spdy-dev is probably a better list for discussing this,=
 since this is a SPDY implementation question.</div><div><br></div><div>-=
=3DR<br><br><div class=3D"gmail_quote">On Thu, Jun 7, 2012 at 7:07 PM, Safr=
uti, Ido <span dir=3D"ltr">
&lt;<a href=3D"mailto:ido@akamai.com" target=3D"_blank">ido@akamai.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 style=3D"font-size=
:14px;font-family:Calibri,sans-serif;word-wrap:break-word"><div>Hi,</div><d=
iv>I remember reading some ideas about how to enable that on the spdy group=
.</div><div>Obviously there are different security and privacy consideratio=
ns for doing that, but there are some performance benefits, especially for =
proxies/intermediate.</div><div><br></div><div>I am not sure it is in the s=
cope of HTTP/2.0 and if this mailing list the right place to discuss this?<=
/div><div>Is it covered/discussed as part of some other effort?</div><span =
class=3D"HOEnZb"><font color=3D"#888888"><div><br></div><div>- Ido</div></f=
ont></span></div></blockquote></div><br></div></div></div></span></body></h=
tml>

--_000_CBF6F1CF37733idoakamaicom_--


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 00:13: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 C73C511E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:13:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.837
X-Spam-Level: 
X-Spam-Status: No, score=-7.837 tagged_above=-999 required=5 tests=[AWL=2.762, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id imJ-glMQn0it for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:13:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 037C821F8658 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 00:13:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SctNP-0000uO-Sk for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 07:12:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SctNE-0000tX-UO for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 07:12:44 +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 1SctNC-0000cN-Ji for ietf-http-wg@w3.org; Fri, 08 Jun 2012 07:12:43 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0833322E25B; Fri,  8 Jun 2012 03:12:14 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Fri, 8 Jun 2012 17:12:11 +1000
Message-Id: <E4731404-8A93-4810-92AE-D611C6D2B63D@mnot.net>
Cc: http-auth@ietf.org
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SctNC-0000cN-Ji dcfd0237e4eb60d4efca437a5bd52e19
X-Original-To: ietf-http-wg@w3.org
Subject: Reminder: Proposals for HTTP/2.0, Authentication Schemes Due
Archived-At: <http://www.w3.org/mid/E4731404-8A93-4810-92AE-D611C6D2B63D@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13665
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SctNP-0000uO-Sk@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 07:12:55 +0000

As discussed in Paris, we'll start evaluating proposals we've received =
at the end of next week.

See our charter <http://datatracker.ietf.org/wg/httpbis/charter/> for =
details. We're collecting proposals here:

 <http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2Proposals>
 <http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals>

Once the 15th passes, we'll start discussing them in earnest, and =
gathering feedback from implementers and deployers to help us get to a =
new charter.

Regards,

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 00:17: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 4624711E80B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:17:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.901
X-Spam-Level: 
X-Spam-Status: No, score=-7.901 tagged_above=-999 required=5 tests=[AWL=2.698, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ed3eaxZ44p+i for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:17:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 409BF11E809F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 00:17:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SctRm-0003Hf-8h for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 07:17:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SctRZ-0003Go-Ad for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 07:17:13 +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 1SctRS-0000mx-Qe for ietf-http-wg@w3.org; Fri, 08 Jun 2012 07:17:11 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 16B7322E259; Fri,  8 Jun 2012 03:16:42 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com>
Date: Fri, 8 Jun 2012 17:16:40 +1000
Cc: Alek Storm <alek.storm@gmail.com>, Jonathan Silvera <jsilvera@microsoft.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Matthew Cox <macox@microsoft.com>, Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <1C5701A7-895A-4BFC-8231-BC10BF9F003E@mnot.net>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CAMNEcwsRUuzCC5qj_paAxDSRdiVEPQ5T1CrrV18fBPJUAD4rfw@mail.gmail.com> <4A6008CA493DD743AF241A465C01F15F0943D904@SN2PRD0310MB360.namprd03.prod.outlook.com> <CAMNEcwutF-d45n3kW9S9m7iXaZGJC9YXLzO+ad4uuNLuLckMrQ@mail.gmail.com> <CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SctRS-0000mx-Qe 0feff90cd51bd9926a3c02aeedab4116
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/1C5701A7-895A-4BFC-8231-BC10BF9F003E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13666
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SctRm-0003Hf-8h@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 07:17:26 +0000

On 08/06/2012, at 11:46 AM, Mike Belshe wrote:

> I'm excited to hear from Google, Yahoo, Tornado, and Cotendo/Akamai =
that there is research into server push.  I see no reason to cut it when =
it is actively being worked on; my proposal to cut was based on the =
belief nobody was trying.  I stand corrected!
>=20
> To those against the more speculative nature of server push features:  =
We won't get another shot at protocol semantics for 15 years.  So, if =
there is real work ongoing here, we should let it go further.
>=20
> To those that are doing research:  Please keep in mind that time is =
short.  The rest of the protocol is ready to move forward now, and the =
choices we make can be greatly changed based on whether or not push is =
included as part of the core.=20
>=20
> To mnot:  Perhaps at the next meeting we can discuss some timeframes =
around various concepts like server push so that those doing =
implementations can have some guidance for dates.

Well, we need to come to agreement and re-charter, but I'd say we'll be =
able to have this kind of discussion in Vancouver, yes.

WRT SPDY and server push, I'd suggest keeping it in, but making sure =
it's separable, so that the decision can be delayed until you have more =
data.

Regards,

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 00:26: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 E4F3E21F86B6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:26:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.963
X-Spam-Level: 
X-Spam-Status: No, score=-7.963 tagged_above=-999 required=5 tests=[AWL=2.636, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IARAB7jjzyCQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:26:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 261B021F85A2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 00:26:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SctZh-0003yV-QN for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 07:25:37 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SctZW-0003xC-Q3 for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 07:25:26 +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 1SctZP-0005I3-3m for ietf-http-wg@w3.org; Fri, 08 Jun 2012 07:25:24 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 2AF6F509EB; Fri,  8 Jun 2012 03:24:50 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD07FA8.2080404@gmx.de>
Date: Fri, 8 Jun 2012 17:24:47 +1000
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <E85744D3-4EB5-4B7A-AD00-EEEF6E84F338@mnot.net>
References: <A53C13F5-CA27-4930-9DB2-AD253E911842@mnot.net> <4FC77CF5.6030709@isode.com> <4FC78203.3070202@gmx.de> <alpine.LRH.2.01.1205310752090.15057@egate.xpasc.com> <4FC7890C.2000106@gmx.de> <alpine.LRH.2.01.1206041700000.22684@egate.xpasc.com> <4FCE5EFA.4040205@gmx.de> <alpine.LRH.2.01.1206061023560.15954@egate.xpasc.com> <255B9BB34FB7D647A506DC292726F6E114F53DCFF7@WSMSG3153V.srv.dir.telstra.com> <4FD071A6.5000701@treenet.co.nz> <4FD07FA8.2080404@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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 1SctZP-0005I3-3m b82e32d2b3b3a97e03645b738d2025e6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #348: Realms and scope
Archived-At: <http://www.w3.org/mid/E85744D3-4EB5-4B7A-AD00-EEEF6E84F338@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13667
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SctZh-0003yV-QN@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 07:25:37 +0000

I think that's good, and I think we're getting to diminishing returns.

Unless we hear *strong* objections, we'll close the ticket and =
incorporate.

Regards,


On 07/06/2012, at 8:17 PM, Julian Reschke wrote:

> On 2012-06-07 11:17, Amos Jeffries wrote:
>> ...
>>>   Authentication schemes that use the "realm" mechanism for
>>> establishing a
>>>   protection space will expose credentials to all resources on a =
server.
>>=20
>> NP: personally I'm not sure we can say it that generically. Some may =
use
>> realm, but also use a target space internally to restrict the scope
>> where that realm is relevant/valid.
>>=20
>> Perhapse s/use/rely solely on/. Which implies the current Basic and
>> Digest without limiting it by naming them.
>=20
> +1
>=20
>> ...
>> IMHO, this needs to be clearer than "server" since that implies all
>> types of virtual hosting as well which are actually not guilty of =
this
>> brokenness.
>> Perhapse more words at the end of that sentence to the effect of =
"under
>> the same hostname." or similar.
>> ...
>=20
> We already have the term "canonical root URI" for that (but maybe we =
should think about a better term).
>=20
> Revised proposal:
>=20
> 6.2.  Protection Spaces
>=20
>   Authentication schemes that solely rely on the "realm" mechanism for
>   establishing a protection space will expose credentials to all
>   resources on a server.  Clients that have successfully made
>   authenticated requests with a resource can use the same
>   authentication credentials for other resources on the same server.
>   This makes it possible for a different resource to harvest
>   authentication credentials for other resources.
>=20
>   This is of particular concern when a server hosts resources for
>   multiple parties under the same canonical root URI (Section 6.2).
>   Possible mitigation strategies include restricting direct access to
>   authentication credentials (i.e., not making the content of the
>   Authorization request header field available), and separating
>   protection spaces by using a different host name for each party.
>=20
> =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/348/348.diff=
>
>=20
> Best regards, Julian
>=20

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 00:26: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 AE3F221F86B6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:26:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.021
X-Spam-Level: 
X-Spam-Status: No, score=-8.021 tagged_above=-999 required=5 tests=[AWL=2.578, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9IHed4zoLyS3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:26:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3228721F85A2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 00:26:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scta3-00040Y-L6 for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 07:25:59 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SctZt-0003ye-4w for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 07:25:49 +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 1SctZp-0005JK-SR for ietf-http-wg@w3.org; Fri, 08 Jun 2012 07:25:47 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 1439B50A5D; Fri,  8 Jun 2012 03:25:23 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FCDC3CF.4050102@gmx.de>
Date: Fri, 8 Jun 2012 17:25:23 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8B28B8DF-366E-40F3-A7FC-F5BEA6948642@mnot.net>
References: <F39717E1-97A6-458A-9B72-382555C25092@mnot.net>            <62229440-E99F-486E-959B-7B95AB5DCDAF@mnot.net> <4F6C6C34.4020701@isode.com> <4F71AF2C.6040803@stpeter.im> <86053556-FE93-4913-B8C9-989CCC735231@mnot.net> <4FC7793E.9050905@cs.tcd.ie> <81FE5FE4-6B20-487C-AE06-A165A46CFB8F@mnot.net> <4FC9EB37.3060709@gmx.de> <8CA0F06B-4CAF-4065-9F6C-B9A3D123DAEA@mnot.net> <7o1os7145351k97h0ooitt3ebje8n7q8so@hive.bjoern.hoehrmann.de> <D14EA701-3F2E-46D0-92D8-D489FC8BDAD9@mnot.net> <alpine.LRH.2.01.1206032251480.8250@egate.xpasc.com> <4FCDC3CF.4050102@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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 1SctZp-0005JK-SR 23a6a1cc1df75785d3df30466381b37f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #349: "strength"
Archived-At: <http://www.w3.org/mid/8B28B8DF-366E-40F3-A7FC-F5BEA6948642@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13668
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scta3-00040Y-L6@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 07:25:59 +0000

... and I'm closing the WGLC ticket. Thanks.



On 05/06/2012, at 6:31 PM, Julian Reschke wrote:

> On 2012-06-04 07:54, David Morris wrote:
>>=20
>>=20
>> On Mon, 4 Jun 2012, Mark Nottingham wrote:
>>=20
>>>=20
>>> On 04/06/2012, at 10:57 AM, Bjoern Hoehrmann wrote:
>>>=20
>>>> * Mark Nottingham wrote:
>>>>> On 02/06/2012, at 8:30 PM, Julian Reschke wrote:
>>>>>> -1; if we change the terms we should do so consistently.
>>>>>=20
>>>>> I thought "details" captured a certain vagueness that would help =
in this particular case. YMMV.
>>>>=20
>>>> I agree with Julian in that if we want to consider changing the =
termino-
>>>> logy, we should do that in a dedicated thread rather than arguing =
about
>>>> the terms in the particular example, short of a rationale why this =
par-
>>>> ticular instance is exceptional. I don't think, in any case, =
"details"
>>>> would be a good replacement.
>>>=20
>>> See my subsequent message; my understanding was that this is a =
special
>>> case, because it's not talking about what's happening on the wire.
>>=20
>> I don't see a reason to call what is on the wire anything different =
than
>> what is provided by the user. It is encoded according to the rules of
>> the authentication method. There is no clarity that I can divine with
>> the additional complexity.
>=20
> Change applied with =
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1669>.
>=20
> We can discuss terminology, but this should happen in a separate =
thread.
>=20
> Best regards, Julian
>=20

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 00:29: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 55B9921F8510 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:29:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.077
X-Spam-Level: 
X-Spam-Status: No, score=-8.077 tagged_above=-999 required=5 tests=[AWL=2.522, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OKMGt+VNabNF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:29:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B7C0521F842E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 00:29:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SctdY-0004Ni-Mz for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 07:29:36 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SctdP-0004Lx-66 for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 07:29:27 +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 1SctdM-0001Ak-AV for ietf-http-wg@w3.org; Fri, 08 Jun 2012 07:29:25 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0F1FA50A6B; Fri,  8 Jun 2012 03:29:02 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Fri, 8 Jun 2012 17:29:00 +1000
Message-Id: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net>
To: Alexey Melnikov <alexey.melnikov@isode.com>, HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SctdM-0001Ak-AV 6c8e3366769d3db66442480a5a7873f5
X-Original-To: ietf-http-wg@w3.org
Subject: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13669
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SctdY-0004Ni-Mz@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 07:29:36 +0000

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/357>

Alexey, could you say a little more here? The text as it reads doesn't =
require authentication to happen in one exchange; it only mandates the =
status codes and headers to use.=20

Thanks,

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 00:32: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 C2C6921F86D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:32:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.131
X-Spam-Level: 
X-Spam-Status: No, score=-8.131 tagged_above=-999 required=5 tests=[AWL=2.468, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vKI15OWIpV9A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:32:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 258F221F86CB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 00:32:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sctg2-0006tQ-6c for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 07:32:10 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sctfs-0006q3-2P for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 07:32:00 +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 1Sctfk-0001H7-NS for ietf-http-wg@w3.org; Fri, 08 Jun 2012 07:31:58 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6735E509B4 for <ietf-http-wg@w3.org>; Fri,  8 Jun 2012 03:30:40 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1278)
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net>
Date: Fri, 8 Jun 2012 17:30:37 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1Sctfk-0001H7-NS b4833450e35f4b393bb42b46ff182ac5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13670
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sctg2-0006tQ-6c@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 07:32:10 +0000

Revised proposal, based upon discussion:

> Add a note to =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#calculating.freshness.lifetime>:
>=20
> """
> When there is more than one value present for a given directive (e.g., =
two Expires headers, multiple Cache-Control: max-age directives), it is =
considered invalid. Caches SHOULD consider responses that have invalid =
freshness information to be stale.
> """


Any further comments? Otherwise we'll close and incorporate.

Regards,



On 31/05/2012, at 9:58 PM, Mark Nottingham wrote:

> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/353>
>=20
> I think this issue is a re-hash of the discussions around =
error-handling.=20
>=20
> At most, we might add a note to =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#calculating.freshness.lifetime> like this:
>=20
> """
> When there is more than one value present for a given directive (e.g., =
two Expires headers, multiple Cache-Control: max-age directives), it is =
considered invalid. Caches SHOULD consider responses that have invalid =
freshness information to be stale, but MAY attempt to recover (e.g., by =
using the most conservative value).
> """
>=20
> The issue also suggests other places to look, but I'm inclined not to =
go too far down this path.=20
>=20
> Thoughts?
>=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  Fri Jun  8 00:36: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 5EDD321F8718 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:36: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29ArIon3cbCF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:36:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 43B3A21F8717 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 00:36:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sctjw-0007Q7-Ml for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 07:36:12 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1Sctjm-0007OE-FU for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 07:36:02 +0000
Received: from mail-ey0-f171.google.com ([209.85.215.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <grmocg@gmail.com>) id 1Sctjj-0001aC-Oq for ietf-http-wg@w3.org; Fri, 08 Jun 2012 07:36:00 +0000
Received: by eaaa12 with SMTP id a12so959194eaa.2 for <ietf-http-wg@w3.org>; Fri, 08 Jun 2012 00:35: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=XJSDxTH0/hJp584r7hu6kROMk9NrwPnVUXdm+O+mYiE=; b=QQ0Va9r98naEPFJJxksZ15AsIRquEfgZtMd+RGZu9r9AjVES1V+OpqiPlmLIaLI/N8 Nxx1Z6RubdD2qonHkyBXCjEsuMWsc7yvLJtSz9p5yPo8VtaRbC553/D8mA3MnWxX+oH3 K3H3srtoStT717h4F5amlWrJenvLnRVzdX8BVULBS5lXPxFL3knPgUvV6N9zURY32c1R F9/2FGLAiLArhKcspxXv60Leucx+q0PVhIkYlpYDJCjWWnoA0VGk2Z7sys5KzSL89blM LgtiveIqp+SnppIDJh3/CVtEnh5+ZuG7+5BzKGTJYVs8ua4kyK/QQU64a7RgZjup84y/ 92yA==
MIME-Version: 1.0
Received: by 10.14.127.198 with SMTP id d46mr3402446eei.101.1339140933194; Fri, 08 Jun 2012 00:35:33 -0700 (PDT)
Received: by 10.194.0.238 with HTTP; Fri, 8 Jun 2012 00:35:33 -0700 (PDT)
In-Reply-To: <CBF6F1CF.37733%ido@akamai.com>
References: <CAP+FsNeA1nVHf8FXVOsD9L2szz+7BJzr-vkaCtKuEfMbsKGWAw@mail.gmail.com> <CBF6F1CF.37733%ido@akamai.com>
Date: Fri, 8 Jun 2012 00:35:33 -0700
Message-ID: <CAP+FsNeeXBpivtjAH0urbzWhLANnuUOfzMh9fkSxasVytnQomA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: "Safruti, Ido" <ido@akamai.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=90e6ba61530aa092d904c1f10b8b
Received-SPF: pass client-ip=209.85.215.171; envelope-from=grmocg@gmail.com; helo=mail-ey0-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 1Sctjj-0001aC-Oq ed0f46ee7e1f563fdbd9ada4182def79
X-Original-To: ietf-http-wg@w3.org
Subject: Re: multiplexing different hosts on a single SSL connections
Archived-At: <http://www.w3.org/mid/CAP+FsNeeXBpivtjAH0urbzWhLANnuUOfzMh9fkSxasVytnQomA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13671
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sctjw-0007Q7-Ml@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 07:36:12 +0000

--90e6ba61530aa092d904c1f10b8b
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

That is one of the ideas we've had for SPDY/4.
Specifically, with name resolution push and with cert data push, a server
could prove that it was authoritative for a domain, and prove that the
client should send requests down the connection.
Of course, name resolution push will be interesting for load balancing,
brownout avoidance, and other goodies, but... I haven't had time to write
up the whitepaper on all this yet. <rueful grin>

-=3DR

On Fri, Jun 8, 2012 at 12:08 AM, Safruti, Ido <ido@akamai.com> wrote:

> Hi Roberto, thanks for the note,
> I know that currently this is the way chrome works.
> However, assuming multiplexing will be part of http/2.0, and performance
> as well I am wondering if we can extend that notion.
> Can the server send a validation on an existing SSL connection to validat=
e
> it is also good for another domain/cert.
> Obviously we would want to use another cert for the connection, so that
> you won't be able to decipher one hosts message by having the cert of
> another.
>
> Anyhow =96 I'll move it to spdy dev, but it looks like a TLS issue.
>
> From: Roberto Peon <grmocg@gmail.com>
> To: Ido Safruti <ido@akamai.com>
> Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
> Subject: Re: multiplexing different hosts on a single SSL connections
>
> If the cert you got from the original connection matches the new host you
> wish to go to, AND the DNS resolution for that host overlaps with the IP =
of
> the connection you already have, then Chrome will attempt to reuse the
> connection.
>
> spdy-dev is probably a better list for discussing this, since this is a
> SPDY implementation question.
>
> -=3DR
>
> On Thu, Jun 7, 2012 at 7:07 PM, Safruti, Ido <ido@akamai.com> wrote:
>
>> Hi,
>> I remember reading some ideas about how to enable that on the spdy group=
.
>> Obviously there are different security and privacy considerations for
>> doing that, but there are some performance benefits, especially for
>> proxies/intermediate.
>>
>> I am not sure it is in the scope of HTTP/2.0 and if this mailing list th=
e
>> right place to discuss this?
>> Is it covered/discussed as part of some other effort?
>>
>> - Ido
>>
>
>

--90e6ba61530aa092d904c1f10b8b
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

That is one of the ideas we&#39;ve had for SPDY/4.<div>Specifically, with n=
ame resolution push and with cert data push, a server could prove that it w=
as authoritative for a domain, and prove that the client should send reques=
ts down the connection.</div>
<div>Of course, name resolution push will be interesting for load balancing=
, brownout avoidance, and other goodies, but... I haven&#39;t had time to w=
rite up the whitepaper on all this yet. &lt;rueful grin&gt;</div><div><br>
</div><div>-=3DR<br><br><div class=3D"gmail_quote">On Fri, Jun 8, 2012 at 1=
2:08 AM, Safruti, Ido <span dir=3D"ltr">&lt;<a href=3D"mailto:ido@akamai.co=
m" target=3D"_blank">ido@akamai.com</a>&gt;</span> wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex">

<div style=3D"font-size:14px;font-family:Calibri,sans-serif;word-wrap:break=
-word"><div>Hi Roberto, thanks for the note,=A0</div><div>I know that curre=
ntly this is the way chrome works.</div><div>However, assuming multiplexing=
 will be part of http/2.0, and performance as well I am wondering if we can=
 extend that notion.</div>
<div>Can the server send a validation on an existing SSL connection to vali=
date it is also good for another domain/cert.</div><div>Obviously we would =
want to use another cert for the connection, so that you won&#39;t be able =
to decipher one hosts message by having the cert of another.</div>
<div><br></div><div>Anyhow =96 I&#39;ll move it to spdy dev, but it looks l=
ike a TLS issue.</div><div><br></div><span><div style=3D"border-right:mediu=
m none;padding-right:0in;padding-left:0in;padding-top:3pt;text-align:left;f=
ont-size:11pt;border-bottom:medium none;font-family:Calibri;border-top:#b5c=
4df 1pt solid;padding-bottom:0in;border-left:medium none">
<span style=3D"font-weight:bold">From: </span> Roberto Peon &lt;<a href=3D"=
mailto:grmocg@gmail.com" target=3D"_blank">grmocg@gmail.com</a>&gt;<br><spa=
n style=3D"font-weight:bold">To: </span> Ido Safruti &lt;<a href=3D"mailto:=
ido@akamai.com" target=3D"_blank">ido@akamai.com</a>&gt;<br>
<span style=3D"font-weight:bold">Cc: </span> &quot;<a href=3D"mailto:ietf-h=
ttp-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&quot; &lt;<a href=
=3D"mailto:ietf-http-wg@w3.org" target=3D"_blank">ietf-http-wg@w3.org</a>&g=
t;<br><span style=3D"font-weight:bold">Subject: </span> Re: multiplexing di=
fferent hosts on a single SSL connections<br>
</div><div><div class=3D"h5"><div><br></div><div><div>
If the cert you got from the original connection matches the new host you w=
ish to go to, AND the DNS resolution for that host overlaps with the IP of =
the connection you already have, then Chrome will attempt to reuse the conn=
ection.
<div><br></div><div>spdy-dev is probably a better list for discussing this,=
 since this is a SPDY implementation question.</div><div><br></div><div>-=
=3DR<br><br><div class=3D"gmail_quote">On Thu, Jun 7, 2012 at 7:07 PM, Safr=
uti, Ido <span dir=3D"ltr">
&lt;<a href=3D"mailto:ido@akamai.com" target=3D"_blank">ido@akamai.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 style=3D"font-size=
:14px;font-family:Calibri,sans-serif;word-wrap:break-word">
<div>Hi,</div><div>I remember reading some ideas about how to enable that o=
n the spdy group.</div><div>Obviously there are different security and priv=
acy considerations for doing that, but there are some performance benefits,=
 especially for proxies/intermediate.</div>
<div><br></div><div>I am not sure it is in the scope of HTTP/2.0 and if thi=
s mailing list the right place to discuss this?</div><div>Is it covered/dis=
cussed as part of some other effort?</div><span><font color=3D"#888888"><di=
v>
<br></div><div>- Ido</div></font></span></div></blockquote></div><br></div>=
</div></div></div></div></span></div>
</blockquote></div><br></div>

--90e6ba61530aa092d904c1f10b8b--


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 00:41: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 0628A21F85E7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:41:25 -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.417, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id srWK+LGwuty5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:41:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 39E2F21F85E3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 00:41:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SctoU-0008Gw-8C for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 07:40:54 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SctoK-0008Ec-41 for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 07:40:44 +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 1SctoC-0005yQ-9H for ietf-http-wg@w3.org; Fri, 08 Jun 2012 07:40:42 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id AB40050A5D for <ietf-http-wg@w3.org>; Fri,  8 Jun 2012 03:40:14 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1278)
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <3177CA14-4B84-407C-A6B9-9B965D5E1EA2@mnot.net>
Date: Fri, 8 Jun 2012 17:40:11 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <3C4FC18F-D99C-4737-9B30-7EEB786F554F@mnot.net>
References: <3177CA14-4B84-407C-A6B9-9B965D5E1EA2@mnot.net>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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 1SctoC-0005yQ-9H d07ede5a64b4bed230330eb49ef78dd8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #346: Registry policies
Archived-At: <http://www.w3.org/mid/3C4FC18F-D99C-4737-9B30-7EEB786F554F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13672
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SctoU-0008Gw-8C@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 07:40:54 +0000

I haven't seen much response to this, except a +1 from Julian.

So, the proposed resolution is: to keep Transfer-Codings and =
Content-Codings at IETF Review, and return Upgrade Tokens =
First-Come-First-Served.

Any further comments? If not, we'll close and incorporate.

Regards,


On 28/03/2012, at 10:27 PM, Mark Nottingham wrote:

> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/346>
>=20
> At yesterday's meeting, there was some pushback on defining our =
registry policies as IETF Review for "consistency."
>=20
> Given that there is a larger discussion about registry policy =
definition taking place, and I *think* we've agreed that we shouldn't =
block HTTPbis on that discussion (since it's likely to take some time), =
it seems that we should take the attitude of installing (relatively) =
temporary registration policies; i.e., we should make them reasonable, =
but not try to solve all of the problems we perceive with them, in the =
belief / hope that a more general effort will help later.
>=20
> In #346, we changed the following registries to "IETF Review":
>=20
> * Upgrade Tokens (previously First Come First Served)
> * Transfer-Codings (previously Specification Required)
> * Content-Codings (previously Specification Required)
>=20
> I'm re-opening this ticket based upon discussion in the meeting =
yesterday.=20
>=20
> My take -=20
>=20
> I believe we should leave Transfer-Codings and Content-Codings as IETF =
Review, because otherwise we will need to establish expert review =
procedures and guidelines for them, as well as identify experts. These =
are very low-throughput registries, and will benefit from IETF review =
(as there's a cost to adding new schemes to negotiation).
>=20
> I think we should discuss Upgrade Tokens; first-come-first-served may =
make sense here. However, I'd note it'd be a shame if we spent too much =
time on it.=20

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 00:45: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 8AF0F21F86CB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:45:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.232
X-Spam-Level: 
X-Spam-Status: No, score=-8.232 tagged_above=-999 required=5 tests=[AWL=2.367, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Hmvju5HPD1b for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 00:45:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EBBDD21F86BE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 00:45:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sctsg-0002BA-7T for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 07:45:14 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SctsW-0001Dc-Dy for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 07:45:04 +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 1SctsP-0001xh-52 for ietf-http-wg@w3.org; Fri, 08 Jun 2012 07:45:02 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9E66750A6A for <ietf-http-wg@w3.org>; Fri,  8 Jun 2012 03:44:35 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Date: Fri, 8 Jun 2012 17:44:32 +1000
Message-Id: <DF0CFD82-695C-4BA7-A26D-A024A84670A0@mnot.net>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SctsP-0001xh-52 7614cddd7015bc97967f6908712215b2
X-Original-To: ietf-http-wg@w3.org
Subject: #247: "intended usage" in our registries
Archived-At: <http://www.w3.org/mid/DF0CFD82-695C-4BA7-A26D-A024A84670A0@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13673
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sctsg-0002BA-7T@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 07:45:14 +0000

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/247>

Does anyone have any interest in pursuing this?

If not, we'll close with no action.

Regards,


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





From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 02:59: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 0CF2521F87C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 02:59:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.099
X-Spam-Level: 
X-Spam-Status: No, score=-8.099 tagged_above=-999 required=5 tests=[AWL=2.500, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id A3rBmMCVz6bF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 02:59:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A873421F877B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 02:59:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScvxN-0001np-Kn for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 09:58:13 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ScvxA-0001mt-D0 for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 09:58:00 +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 1Scvx7-0003CS-Gj for ietf-http-wg@w3.org; Fri, 08 Jun 2012 09:57:58 +0000
Received: (qmail invoked by alias); 08 Jun 2012 09:57:31 -0000
Received: from p5DD972CB.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.114.203] by mail.gmx.net (mp070) with SMTP; 08 Jun 2012 11:57:31 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19uqI9yJtpuiGZyQ10KkqYb5QY9lIb7yvH/22Vq/n XLs7F2mgj77ho5
Message-ID: <4FD1CC85.60704@gmx.de>
Date: Fri, 08 Jun 2012 11:57:25 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net>
In-Reply-To: <CC8C9073-ADCA-44DE-87CA-B108345C6603@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Scvx7-0003CS-Gj bcc648b524184cedef9024d23c98a795
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4FD1CC85.60704@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13674
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScvxN-0001np-Kn@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 09:58:13 +0000

On 2012-06-08 09:30, Mark Nottingham wrote:
> Revised proposal, based upon discussion:
>
>> Add a note to <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-cache.html#calculating.freshness.lifetime>:
>>
>> """
>> When there is more than one value present for a given directive (e.g., two Expires headers, multiple Cache-Control: max-age directives), it is considered invalid. Caches SHOULD consider responses that have invalid freshness information to be stale.
>> """
>
>
> Any further comments? Otherwise we'll close and incorporate.
> ...

Would it make sense to have generic text in the definition of 
Cache-Control about this?

Does the "must have a single value" rule apply to all directives? Can 
the definition of error recovery diverge per directive?

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 03:01: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 A4A0021F870E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 03:01:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.199
X-Spam-Level: 
X-Spam-Status: No, score=-8.199 tagged_above=-999 required=5 tests=[AWL=2.400, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X+sfIZyvRtJb for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 03:01:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 878CC21F8713 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 03:01:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scw0U-0003lq-GZ for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 10:01:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Scw0K-0003kz-LV for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 10:01:16 +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 1Scw0I-0006nJ-Bn for ietf-http-wg@w3.org; Fri, 08 Jun 2012 10:01:15 +0000
Received: (qmail invoked by alias); 08 Jun 2012 10:00:47 -0000
Received: from p5DD972CB.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.114.203] by mail.gmx.net (mp004) with SMTP; 08 Jun 2012 12:00:47 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+zoMEvulSz6J7tLLP5DnLMWJxNVYBt556HFZIQNv zS+z9Oi/tmGvrh
Message-ID: <4FD1CD49.9080706@gmx.de>
Date: Fri, 08 Jun 2012 12:00:41 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <DF0CFD82-695C-4BA7-A26D-A024A84670A0@mnot.net>
In-Reply-To: <DF0CFD82-695C-4BA7-A26D-A024A84670A0@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Scw0I-0006nJ-Bn a92df80fa1e49c9c1d03c0ae89124236
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #247: "intended usage" in our registries
Archived-At: <http://www.w3.org/mid/4FD1CD49.9080706@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13675
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scw0U-0003lq-GZ@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 10:01:26 +0000

On 2012-06-08 09:44, Mark Nottingham wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/247>
>
> Does anyone have any interest in pursuing this?

Nope.

> If not, we'll close with no action.

Please.



From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 03:07: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 C26D721F8685 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 03:07:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.279
X-Spam-Level: 
X-Spam-Status: No, score=-8.279 tagged_above=-999 required=5 tests=[AWL=2.320, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T-Cbep3nUJz3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 03:07:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CD7A821F864A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 03:07:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scw69-00045c-VV for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 10:07:18 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Scw60-00044C-8a for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 10:07:08 +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 1Scw5u-0003Xt-46 for ietf-http-wg@w3.org; Fri, 08 Jun 2012 10:07:06 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B3C14509EB; Fri,  8 Jun 2012 06:06:39 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD1CC85.60704@gmx.de>
Date: Fri, 8 Jun 2012 20:06:39 +1000
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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 1Scw5u-0003Xt-46 0253e2cfda76d5694895f4d202b53304
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13676
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scw69-00045c-VV@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 10:07:17 +0000

On 08/06/2012, at 7:57 PM, Julian Reschke wrote:

> On 2012-06-08 09:30, Mark Nottingham wrote:
>> Revised proposal, based upon discussion:
>>=20
>>> Add a note to =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#calculating.freshness.lifetime>:
>>>=20
>>> """
>>> When there is more than one value present for a given directive =
(e.g., two Expires headers, multiple Cache-Control: max-age directives), =
it is considered invalid. Caches SHOULD consider responses that have =
invalid freshness information to be stale.
>>> """
>>=20
>>=20
>> Any further comments? Otherwise we'll close and incorporate.
>> ...
>=20
> Would it make sense to have generic text in the definition of =
Cache-Control about this?

Don't think so, because...

> Does the "must have a single value" rule apply to all directives?

No; I've seen examples that use multiple values (can't remember what =
ATM)

> Can the definition of error recovery diverge per directive?

I imagine so.


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





From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 03: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 E56B421F8898 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 03:16:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.291
X-Spam-Level: 
X-Spam-Status: No, score=-8.291 tagged_above=-999 required=5 tests=[AWL=2.308, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qlQwxcDiM7iu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 03:16:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4942A21F8711 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 03:16:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScwCm-0004Tk-Lj for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 10:14:08 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ScwCc-0004St-ET for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 10:13:58 +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 1ScwCZ-0003mj-1e for ietf-http-wg@w3.org; Fri, 08 Jun 2012 10:13:56 +0000
Received: (qmail invoked by alias); 08 Jun 2012 10:13:29 -0000
Received: from p5DD972CB.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.114.203] by mail.gmx.net (mp035) with SMTP; 08 Jun 2012 12:13:29 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/3oiE0fAf3XkzQzO1qA0t47cU8sJDL91tUgptR8p 2X4FNHruKYo3Ob
Message-ID: <4FD1D044.6010202@gmx.de>
Date: Fri, 08 Jun 2012 12:13:24 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <3177CA14-4B84-407C-A6B9-9B965D5E1EA2@mnot.net> <3C4FC18F-D99C-4737-9B30-7EEB786F554F@mnot.net>
In-Reply-To: <3C4FC18F-D99C-4737-9B30-7EEB786F554F@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1ScwCZ-0003mj-1e 01a6545af24ca3e2fc04e65ec0886009
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #346: Registry policies
Archived-At: <http://www.w3.org/mid/4FD1D044.6010202@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13677
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScwCm-0004Tk-Lj@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 10:14:08 +0000

On 2012-06-08 09:40, Mark Nottingham wrote:
>
> I haven't seen much response to this, except a +1 from Julian.
>
> So, the proposed resolution is: to keep Transfer-Codings and Content-Codings at IETF Review, and return Upgrade Tokens First-Come-First-Served.
>
> Any further comments? If not, we'll close and incorporate.
>
> Regards,
> ...

Proposed change: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/346/346.2.diff>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 03:16: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 F271121F889A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 03:16:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.377
X-Spam-Level: 
X-Spam-Status: No, score=-8.377 tagged_above=-999 required=5 tests=[AWL=2.222, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lhv5IGv-g1fj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 03:16:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5E70321F87EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 03:16:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ScwEU-0006DT-Ht for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 10:15:54 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ScwEK-0006Bc-Lo for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 10:15:44 +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 1ScwEH-0007GZ-CK for ietf-http-wg@w3.org; Fri, 08 Jun 2012 10:15:42 +0000
Received: (qmail invoked by alias); 08 Jun 2012 10:15:15 -0000
Received: from p5DD972CB.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.114.203] by mail.gmx.net (mp037) with SMTP; 08 Jun 2012 12:15:15 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18H8+51bioHk2vSzaavllXufJeiFNRnywgpSwTRqG RLt/URU+hUBwPc
Message-ID: <4FD1D0AD.4080109@gmx.de>
Date: Fri, 08 Jun 2012 12:15:09 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net>
In-Reply-To: <4E84872F-8FD0-4794-91D4-E58F858F5793@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1ScwEH-0007GZ-CK 14577097ac23ca97e2c5cbacb318806f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4FD1D0AD.4080109@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13678
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ScwEU-0006DT-Ht@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 10:15:54 +0000

On 2012-06-08 12:06, Mark Nottingham wrote:
>
> On 08/06/2012, at 7:57 PM, Julian Reschke wrote:
>
>> On 2012-06-08 09:30, Mark Nottingham wrote:
>>> Revised proposal, based upon discussion:
>>>
>>>> Add a note to <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-cache.html#calculating.freshness.lifetime>:
>>>>
>>>> """
>>>> When there is more than one value present for a given directive (e.g., two Expires headers, multiple Cache-Control: max-age directives), it is considered invalid. Caches SHOULD consider responses that have invalid freshness information to be stale.
>>>> """
>>>
>>>
>>> Any further comments? Otherwise we'll close and incorporate.
>>> ...
>>
>> Would it make sense to have generic text in the definition of Cache-Control about this?
>
> Don't think so, because...
>
>> Does the "must have a single value" rule apply to all directives?
>
> No; I've seen examples that use multiple values (can't remember what ATM)

If that is the case, we probably need to spend some more time on 
clarifying this, as this different from similar header fields.

>> Can the definition of error recovery diverge per directive?
>
> I imagine so.

Which makes it sound as if we should define it for all directives 
defined in this spec (as bad as this sounds)...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 05:14: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 8865521F88DC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 05:14: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yMVt57ECsm59 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 05:14:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7321921F88AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 05:13:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Scy2W-0003Gv-T6 for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 12:11:40 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1Scy2G-0003E6-Iw for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 12:11:24 +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 1Scy29-0000Ao-W1 for ietf-http-wg@w3.org; Fri, 08 Jun 2012 12:11:22 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 76471E6E90 for <ietf-http-wg@w3.org>; Sat,  9 Jun 2012 00:10:53 +1200 (NZST)
Message-ID: <4FD1EBC3.9070007@treenet.co.nz>
Date: Sat, 09 Jun 2012 00:10:43 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de>
In-Reply-To: <4FD1D0AD.4080109@gmx.de>
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=-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 1Scy29-0000Ao-W1 3277592669d504562369c47e6654b404
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4FD1EBC3.9070007@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13679
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Scy2W-0003Gv-T6@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 12:11:40 +0000

On 8/06/2012 10:15 p.m., Julian Reschke wrote:
> On 2012-06-08 12:06, Mark Nottingham wrote:
>>
>> On 08/06/2012, at 7:57 PM, Julian Reschke wrote:
>>
>>> On 2012-06-08 09:30, Mark Nottingham wrote:
>>>> Revised proposal, based upon discussion:
>>>>
>>>>> Add a note to 
>>>>> <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-cache.html#calculating.freshness.lifetime>:
>>>>>
>>>>> """
>>>>> When there is more than one value present for a given directive 
>>>>> (e.g., two Expires headers, multiple Cache-Control: max-age 
>>>>> directives), it is considered invalid. Caches SHOULD consider 
>>>>> responses that have invalid freshness information to be stale.
>>>>> """
>>>>
>>>>
>>>> Any further comments? Otherwise we'll close and incorporate.
>>>> ...
>>>
>>> Would it make sense to have generic text in the definition of 
>>> Cache-Control about this?
>>
>> Don't think so, because...
>>
>>> Does the "must have a single value" rule apply to all directives?
>>
>> No; I've seen examples that use multiple values (can't remember what 
>> ATM)
>
> If that is the case, we probably need to spend some more time on 
> clarifying this, as this different from similar header fields.
>
>>> Can the definition of error recovery diverge per directive?
>>
>> I imagine so.
>
> Which makes it sound as if we should define it for all directives 
> defined in this spec (as bad as this sounds)...
>
> Best regards, Julian
>

Or with a blanket to cover the generic "safe" erro rhandlign of dropping 
something. ie I would imagine duplicate identical controls it would be 
harmless to drop duplicates before interpreting the controls.

And a specific mention of anythign special for those directives with 
parameter values. Which face a more difficult time resolving multiples 
and non-duplicate values.

AYJ


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 09:28: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 5E89521F87CB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 09:28:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s6-JbAXurmQz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 09:28:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9303D21F87C5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 09:28:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd21N-0008SL-3T for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 16:26:45 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1Sd216-0008ON-Ss for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 16:26:28 +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 1Sd213-00025y-E0 for ietf-http-wg@w3.org; Fri, 08 Jun 2012 16:26: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 q58GPui5015036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 8 Jun 2012 16:25:57 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "Martin Thomson" <martin.thomson@gmail.com>
Cc: ietf-http-wg@w3.org
References: <op.wfjd0s2diw9drz@riaa> <CABkgnnWWJ+VvScOYYAeLsHVYAWT2QBrwqXhb5SZwQvU52GOjqA@mail.gmail.com>
Date: Fri, 08 Jun 2012 18:25:56 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wfleligfiw9drz@riaa>
In-Reply-To: <CABkgnnWWJ+VvScOYYAeLsHVYAWT2QBrwqXhb5SZwQvU52GOjqA@mail.gmail.com>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sd213-00025y-E0 a39f1e243171db518957ae7ecd921ced
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/op.wfleligfiw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13680
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd21N-0008SL-3T@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 16:26:45 +0000

On Thu, 07 Jun 2012 18:12:24 +0200, Martin Thomson  
<martin.thomson@gmail.com> wrote:

> On 7 June 2012 07:18, Martin Nilsson <nilsson@opera.com> wrote:
>>  By adding priority information to the requests the server can take
>>  active decision in which resource to send first.
>
> I don't think priority is as big a deal as people are making out.  On
> the contrary, it's a distraction.

As Mike points out priority is of great importance from a browser point of  
view. Javascripts are executed in sequence on a page, and it is not  
uncommon for once script to load another one, or one style sheet to  
include another one. At the same time you have images from the main  
document being loaded. The relative importance of the resources can shift  
during the loading of the page as well, e.g. if the user started to scroll  
down the page and view new items.

>
>> 2.6. Push
>
> Is not sufficiently justified to warrant the significant change in
> protocol semantics.

We can see several use cases for Push, but there needs to be better user  
agent control.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 09:28: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 B7B1321F87C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 09:28:07 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xpQTZGQPguO9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 09:28:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9316F21F87C6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 09:28:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd22K-00006J-Pj for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 16:27:44 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1Sd22A-0008Ui-5b for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 16:27:34 +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 1Sd226-0004yD-TF for ietf-http-wg@w3.org; Fri, 08 Jun 2012 16:27:32 +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 q58GR3Hu015148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 8 Jun 2012 16:27:04 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "Alek Storm" <alek.storm@gmail.com>
Cc: ietf-http-wg@w3.org
References: <op.wfjd0s2diw9drz@riaa> <CAMNEcwtPpz9ZFGqAwpNPn8gVEoEh=v2TWpdXnoU_8yjDee93aA@mail.gmail.com>
Date: Fri, 08 Jun 2012 18:27:03 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wflendwpiw9drz@riaa>
In-Reply-To: <CAMNEcwtPpz9ZFGqAwpNPn8gVEoEh=v2TWpdXnoU_8yjDee93aA@mail.gmail.com>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sd226-0004yD-TF f8b23045cd18950d1d9b772faa4e0dde
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/op.wflendwpiw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13681
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd22K-00006J-Pj@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 16:27:44 +0000

On Thu, 07 Jun 2012 19:43:09 +0200, Alek Storm <alek.storm@gmail.com>  
wrote:

>
> 4.3. Specialized HTTP frames
>>
>>  For the common case of using SPDY as an HTTP substitute, create
>>  special frames to open HTTP request-response and HTTP push
>>  streams. This removes the need for explicit unidirectional flag and
>>  mandatory header values.
>>
>
> The UNIDIRECTIONAL flag is set to be removed in spdy/4. Elsewhere, you
> advocate moving information specific to request-response and pushed  
> streams
> to the headers section, which appears to conflict with this proposal.

Some of the proposals are mutually exclusive, yes.

>
> 4.4. Typed key-value pairs
>>
>>  Create a better structure for the key-value pair lists where it is
>>  possible to have binary values and typed values. The types can
>>  include binary string, integer and list. Standardize how all
>>  standard HTTP headers should be normalized and typed, including
>>  which ones are disallowed to be in lists of multiple values.
>>
>
> This sounds like a can of worms. Depending on the serialization format  
> you
> look at, there's already a zoo of possible "types" to encode data as -  
> and
> what if you want something outside the norm, like JSON? The only problem
> you raised with the current encoding is that binary data would have to be
> escaped; this looks like overkill.

One complaint that perhaps doesn't come across as clear as it should is  
that the current SPDY serialization takes more space than HTTP (c.f. table  
in 2.4.1). If you are moving away from HTTP, and thus not reusing existing  
protocol code, it's reasonable to consider alternative encodings as well.  
Types here doesn't refer to anything more exotic than the examples given  
(string, integer, list). To encode a time stamp like "Thu, 29 Apr 2010  
13:36:52 GMT" as a 64 bit integer doesn't appear as a radical suggestion  
to me.

>
> 4.7. Header compression
>>
>>  Remove the header compression dictionary. It creates little benefit
>>  for the added complexity it introduces.
>>
>
> This paper (http://www.eecis.udel.edu/~amer/PEL/poc/pdf/SPDY-Fan.pdf)
> claims 8% size reduction of the request header and an additional 15%
> reduction of the reply header. Giving more detail on the benchmarks you
> cited earlier would help us evaluate the differing results.

It claims an 8/15% improvement over the previous dictionary, but doesn't  
compare it with the no dictionary case. Doing some simple tests over 5000  
requests I see about 15% additional compression on requests and 25% on  
response headers for the first request. For subsequent requests dictionary  
only gives a few bytes extra savings. Somewhat better compression on the  
response side with about 10-20 bytes savings, but then dwarfed by the  
actual payload.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 09:30: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 A062B21F87EF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 09:30:48 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dXEc6s42m6qH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 09:30:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 58CA821F87EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 09:30:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd254-0001rI-QK for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 16:30:34 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1Sd24u-0001gf-OU for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 16:30:24 +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 1Sd24r-0002Hm-JN for ietf-http-wg@w3.org; Fri, 08 Jun 2012 16:30:22 +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 q58GTs3s015322 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 8 Jun 2012 16:29:54 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: <op.wfjd0s2diw9drz@riaa> <CAP+FsNfD3=OYibM8hZOWAB8qxmnO7K=e4=JK+BV50P8y7sDZ6A@mail.gmail.com>
Date: Fri, 08 Jun 2012 18:29:53 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wfler3eyiw9drz@riaa>
In-Reply-To: <CAP+FsNfD3=OYibM8hZOWAB8qxmnO7K=e4=JK+BV50P8y7sDZ6A@mail.gmail.com>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sd24r-0002Hm-JN c6056af5aa17b1ca8b7d42ed5f66a32e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/op.wfler3eyiw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13683
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd254-0001rI-QK@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 16:30:34 +0000

On Thu, 07 Jun 2012 21:57:38 +0200, Roberto Peon <grmocg@gmail.com> wrote:

>
> Can you tell us more about your or Opera's operational experience with
> equivalent features?
> I'd be rapt at any such presentation!
>

We have Opera Mini that uses several different protocols, both similar to  
HTTP as well as of the persistent TCP connection type. These are all  
binary protocols using different versions of request-response, RPC, push  
features, as well as compression of different sorts. We have Opera Turbo,  
which is essentially a modified HTTP with prioritized, out-of-order  
pipelining and some simple compression. Finally we have integrations with  
different 3rd party technologies, some of which are mentioned on the press  
release pages
http://www.opera.com/press/releases/2004/11/04/
http://www.opera.com/press/releases/2007/02/06/

Not really an answer to your question though, I'm afraid. I would need  
more time (and meetings) to collect that...

>
> I agree totally that better approaches on the compression side likely  
> exist.
> I'm surprised at the numbers, though. Our experience in the past was that
> headers were significantly more compressed than you're seeing here.
>

I'm using the same data as the  
http://www.eecis.udel.edu/~amer/PEL/poc/pdf/SPDY-Fan.pdf and when using  
the evaluation set they use I actually get somewhat better compression  
values (probably due to better header normalization).

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 10:20: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 E8D8321F87D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 10:20:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.412
X-Spam-Level: 
X-Spam-Status: No, score=-10.412 tagged_above=-999 required=5 tests=[AWL=-0.112, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wZF32xs4nj1Q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 10:20:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 956DB21F87AF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 10:20:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd237-0000HP-9U for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 16:28:33 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1Sd22x-0000GT-5D for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 16:28:23 +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 1Sd22u-0004zO-2X for ietf-http-wg@w3.org; Fri, 08 Jun 2012 16:28:21 +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 q58GRqBY015177 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 8 Jun 2012 16:27:52 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: =?utf-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
Cc: ietf-http-wg@w3.org
References: <op.wfjd0s2diw9drz@riaa> <CAA4WUYjCqCxRvxhHMrNxgrVPwPGD9F5jqLT+7Td21CEadQtMQA@mail.gmail.com>
Date: Fri, 08 Jun 2012 18:27:51 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: Quoted-Printable
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wfleop18iw9drz@riaa>
In-Reply-To: <CAA4WUYjCqCxRvxhHMrNxgrVPwPGD9F5jqLT+7Td21CEadQtMQA@mail.gmail.com>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sd22u-0004zO-2X a695778ae869a8e8c18b508ffda2f5e9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/op.wfleop18iw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13682
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd237-0000HP-9U@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 16:28:33 +0000

On Thu, 07 Jun 2012 21:10:27 +0200, William Chan (=E9=99=88=E6=99=BA=E6=98=
=8C)  =

<willchan@chromium.org> wrote:

>>
>
> I think I agree with you, but this paragraph is a bit short and I want=
ed  =

> to
> ask for a clarification. When you say data overhead, you're referring =
to
> the framing overhead, right? And when you say lower latency for high
> priority requests requires higher overhead, you in particular mean tha=
t  =

> by
> choosing smaller frame sizes, you have more opportunity to interleave,=
 at
> the cost of more framing overhead, right? If so, I agree.
>

Correct.

>>
>> 4.3. Specialized HTTP frames
>>
>>  For the common case of using SPDY as an HTTP substitute, create
>>  special frames to open HTTP request-response and HTTP push
>>  streams. This removes the need for explicit unidirectional flag and
>>  mandatory header values.
>>
>
> What do you mean by mandatory header values? Those are specific to HTT=
P
> over SPDY, right? I'm not convinced about the necessity of baking in H=
TTP
> assumptions into the core SPDY layer, rather than defining the mandato=
ry
> headers at the HTTP layering over SPDY level.
>

The background for this suggestion is the assumption that HTTP will be a=
  =

significant use case of SPDY that may be worth optimizing for, and that =
 =

the current SPDY binary format isn't very size efficient. There were als=
o  =

some concerns about the generic approach to directionality, which no  =

longer applies if that feature is being removed.

>
>> 4.4. Typed key-value pairs
>>
>>  Create a better structure for the key-value pair lists where it is
>>  possible to have binary values and typed values. The types can
>>  include binary string, integer and list. Standardize how all
>>  standard HTTP headers should be normalized and typed, including
>>  which ones are disallowed to be in lists of multiple values.
>
>
>>  Introduce a mechanism that allows headers to be properties of the
>>  stream, to be used internally in SPDY, and move optional parameters
>>
>
> Did you mean properties of the session? Headers are already metadata f=
or
> the stream.

This is a request for separation between SPDY specific stream headers  =

(priority, slot and associate-to-stream-id given as examples) and HTTP  =

(stream) headers.

/Martin Nilsson

-- =

Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 10:29: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 36A7A11E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 10:29:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.777
X-Spam-Level: 
X-Spam-Status: No, score=-7.777 tagged_above=-999 required=5 tests=[AWL=2.822, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fP63T9UgmsVJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 10:29:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8C99711E8086 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 10:29:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd2yZ-0006pJ-9a for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 17:27:55 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1Sd2yN-0006mw-TM for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 17:27:43 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Sd2yL-0004UH-0T for ietf-http-wg@w3.org; Fri, 08 Jun 2012 17:27:41 +0000
Received: by bkty5 with SMTP id y5so2125347bkt.2 for <ietf-http-wg@w3.org>; Fri, 08 Jun 2012 10:27:14 -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=ia0+79NZFOuMs/+biR7BFGZKkyLnxMp4JgRzKQumUTw=; b=CM8Zh8r4Jqet7U2+H3nVDwqbcTwCsVach6OjYIDf2oHHh8A70llXpGO47hlZLyj6IS ZX5eB1H50WCQAjG9haziThBcNB9Ii53ux6f+jKLdj8E53EZ7f4dM+hngsjtomYvRRSmV U6PO0L1dEdGvlUcFL637oEenFsc5naUOJZX+4hMrvRp2tDWQuaFNys7U0XdyiTsc9F4l DeljY+ffyqOb/P/gbh1Xf+39EUPGB9frY9u1liV4P4yMXkLqP3olEivKGg6DwbBzsoxL /17Z/Uqc3lCq6JQrXHjx3c/DxycJ00S6BuXg/Lf40t5n2qDt6l6ngI9EH5cNagyim+fV PeRw==
MIME-Version: 1.0
Received: by 10.204.149.216 with SMTP id u24mr6704338bkv.36.1339176434560; Fri, 08 Jun 2012 10:27:14 -0700 (PDT)
Received: by 10.204.66.4 with HTTP; Fri, 8 Jun 2012 10:27:14 -0700 (PDT)
In-Reply-To: <1C5701A7-895A-4BFC-8231-BC10BF9F003E@mnot.net>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CAMNEcwsRUuzCC5qj_paAxDSRdiVEPQ5T1CrrV18fBPJUAD4rfw@mail.gmail.com> <4A6008CA493DD743AF241A465C01F15F0943D904@SN2PRD0310MB360.namprd03.prod.outlook.com> <CAMNEcwutF-d45n3kW9S9m7iXaZGJC9YXLzO+ad4uuNLuLckMrQ@mail.gmail.com> <CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com> <1C5701A7-895A-4BFC-8231-BC10BF9F003E@mnot.net>
Date: Fri, 8 Jun 2012 10:27:14 -0700
Message-ID: <CABkgnnVGSM8QqxdyAxfjA9ymmH-GDD1wFauzKs1ZzhK8kzr=ZQ@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Mike Belshe <mike@belshe.com>, Alek Storm <alek.storm@gmail.com>,  Jonathan Silvera <jsilvera@microsoft.com>,  Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Matthew Cox <macox@microsoft.com>,  Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>,  Rob Trace <Rob.Trace@microsoft.com>
Content-Type: text/plain; charset=UTF-8
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.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: lisa.w3.org 1Sd2yL-0004UH-0T ead84a2583900e989087de5d09dfccea
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/CABkgnnVGSM8QqxdyAxfjA9ymmH-GDD1wFauzKs1ZzhK8kzr=ZQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13684
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd2yZ-0006pJ-9a@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 17:27:55 +0000

On 8 June 2012 00:16, Mark Nottingham <mnot@mnot.net> wrote:
> WRT SPDY and server push, I'd suggest keeping it in, but making sure it's separable, so that the decision can be delayed until you have more data.

I don't know.  Not to abuse the analogy, but I might like giant wooden
horses and still have an aversion to having strange men inside my city
walls.  Or, from another angle, it's going to be hard enough to get
the simple things right, why add more stuff.  We're here to solve
head-of-line blocking, not to create an standard analogue of the same.

The idea that this is a once-in-a-lifetime opportunity is a fallacy.
If you care about this feature, then make sure that no changes ruin
the protocol such that push couldn't be added.

The trade-offs involved with binary serialization/compression,
multiplexing and the other properties are well enough understood to
retain those.  On the other hand, the unilateral delivery of
unrequested content is not.

--Martin


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 12:13: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 477F121F8770 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 12:13:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.901
X-Spam-Level: 
X-Spam-Status: No, score=-9.901 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q8ALXACysObW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 12:13:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 30EBE21F8768 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 12:13:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd4b4-0003cn-2I for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 19:11:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1Sd4am-0003aP-RQ for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 19:11:28 +0000
Received: from mail-yw0-f43.google.com ([209.85.213.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sd4aj-0000QI-SQ for ietf-http-wg@w3.org; Fri, 08 Jun 2012 19:11:27 +0000
Received: by yhkk6 with SMTP id k6so1583478yhk.2 for <ietf-http-wg@w3.org>; Fri, 08 Jun 2012 12:11:00 -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 :cc:content-type:x-gm-message-state; bh=nonB/jccdeI2ng2KB6MJJZEfJBaGRX7l4r3DsHbHZHE=; b=k5SKDd7LDjnL17ADcXYCsXeQ2/2PFNl5V3DvrxjrTnpyygfXOMc17xbA0SWvFK2R33 a/liO8CwphFgPjYACH7zs3S0kX9YngO9+bluiiL+UiBajXdE81Tp6OnG7QzejgRbBSrN Gr80E0PX8natrjt+uBE5TiIAUHV+l3+KYcjLcRmLGZZl5gi22Y9UDlp2j1YtV2v7kRFJ Xt3YdrXhMUZZhuDzkrCyyWt3tyx7dsYeSf/uvdUTdcjeiBasn4RO2yu9xSHzCfzXIYNq pbsDozcOwvHN0LolPUD19IE/a+idcM41Cb6Qt/ZM1dAWkxzG+AAoXEg2uRzr+WCWxFtV dClQ==
MIME-Version: 1.0
Received: by 10.50.106.136 with SMTP id gu8mr3298521igb.23.1339182659722; Fri, 08 Jun 2012 12:10:59 -0700 (PDT)
Received: by 10.64.5.71 with HTTP; Fri, 8 Jun 2012 12:10:59 -0700 (PDT)
In-Reply-To: <op.wfler3eyiw9drz@riaa>
References: <op.wfjd0s2diw9drz@riaa> <CAP+FsNfD3=OYibM8hZOWAB8qxmnO7K=e4=JK+BV50P8y7sDZ6A@mail.gmail.com> <op.wfler3eyiw9drz@riaa>
Date: Fri, 8 Jun 2012 12:10:59 -0700
Message-ID: <CABaLYCuh2bOyXQVxCVYfwu-yCqgUCvFjyzvJpTEfNQ9MzsyKpw@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Martin Nilsson <nilsson@opera.com>
Cc: Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f23579db8de5004c1fac2a5
X-Gm-Message-State: ALoCoQkupTJlN2yv+w8ZfgH9GYHUkv70bJ81PaYh9NKV5QKT5doFlGgcg9doZ/WVuMBtK5liYio8
Received-SPF: none client-ip=209.85.213.43; envelope-from=mike@belshe.com; helo=mail-yw0-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1Sd4aj-0000QI-SQ 4096af0593f40034cb4f6c93fd0f35d8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/CABaLYCuh2bOyXQVxCVYfwu-yCqgUCvFjyzvJpTEfNQ9MzsyKpw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13685
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd4b4-0003cn-2I@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 19:11:46 +0000

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

On Fri, Jun 8, 2012 at 9:29 AM, Martin Nilsson <nilsson@opera.com> wrote:

> On Thu, 07 Jun 2012 21:57:38 +0200, Roberto Peon <grmocg@gmail.com> wrote:
>
>
>> Can you tell us more about your or Opera's operational experience with
>> equivalent features?
>> I'd be rapt at any such presentation!
>>
>>
> We have Opera Mini that uses several different protocols, both similar to
> HTTP as well as of the persistent TCP connection type. These are all binary
> protocols using different versions of request-response, RPC, push features,
> as well as compression of different sorts. We have Opera Turbo, which is
> essentially a modified HTTP with prioritized, out-of-order pipelining and
> some simple compression. Finally we have integrations with different 3rd
> party technologies, some of which are mentioned on the press release pages
> http://www.opera.com/press/**releases/2004/11/04/<http://www.opera.com/press/releases/2004/11/04/>
> http://www.opera.com/press/**releases/2007/02/06/<http://www.opera.com/press/releases/2007/02/06/>
>
> Not really an answer to your question though, I'm afraid. I would need
> more time (and meetings) to collect that...
>
>
>
>> I agree totally that better approaches on the compression side likely
>> exist.
>> I'm surprised at the numbers, though. Our experience in the past was that
>> headers were significantly more compressed than you're seeing here.
>>
>>
> I'm using the same data as the http://www.eecis.udel.edu/~**
> amer/PEL/poc/pdf/SPDY-Fan.pdf<http://www.eecis.udel.edu/~amer/PEL/poc/pdf/SPDY-Fan.pdf>and when using the evaluation set they use I actually get somewhat better
> compression values (probably due to better header normalization).


The point of SPDY header compression is to use stateful compression.  If
you only compress one chunk of headers, you'll get modest savings - 30-50%.
 but on the second set, you get like 95% :-)  For SPDY sessions in steady
state, the typical size of a request is 50-60 bytes.  Almost everything,
including the cookies, compresses out.

Mike



>
>
> /Martin Nilsson
>
> --
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>
>

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

<br><br><div class=3D"gmail_quote">On Fri, Jun 8, 2012 at 9:29 AM, Martin N=
ilsson <span dir=3D"ltr">&lt;<a href=3D"mailto:nilsson@opera.com" target=3D=
"_blank">nilsson@opera.com</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
<div class=3D"im">On Thu, 07 Jun 2012 21:57:38 +0200, Roberto Peon &lt;<a h=
ref=3D"mailto:grmocg@gmail.com" target=3D"_blank">grmocg@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">
<br>
Can you tell us more about your or Opera&#39;s operational experience with<=
br>
equivalent features?<br>
I&#39;d be rapt at any such presentation!<br>
<br>
</blockquote>
<br></div>
We have Opera Mini that uses several different protocols, both similar to H=
TTP as well as of the persistent TCP connection type. These are all binary =
protocols using different versions of request-response, RPC, push features,=
 as well as compression of different sorts. We have Opera Turbo, which is e=
ssentially a modified HTTP with prioritized, out-of-order pipelining and so=
me simple compression. Finally we have integrations with different 3rd part=
y technologies, some of which are mentioned on the press release pages<br>

<a href=3D"http://www.opera.com/press/releases/2004/11/04/" target=3D"_blan=
k">http://www.opera.com/press/<u></u>releases/2004/11/04/</a><br>
<a href=3D"http://www.opera.com/press/releases/2007/02/06/" target=3D"_blan=
k">http://www.opera.com/press/<u></u>releases/2007/02/06/</a><br>
<br>
Not really an answer to your question though, I&#39;m afraid. I would need =
more time (and meetings) to collect that...<div class=3D"im"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
I agree totally that better approaches on the compression side likely exist=
.<br>
I&#39;m surprised at the numbers, though. Our experience in the past was th=
at<br>
headers were significantly more compressed than you&#39;re seeing here.<br>
<br>
</blockquote>
<br></div>
I&#39;m using the same data as the <a href=3D"http://www.eecis.udel.edu/~am=
er/PEL/poc/pdf/SPDY-Fan.pdf" target=3D"_blank">http://www.eecis.udel.edu/~<=
u></u>amer/PEL/poc/pdf/SPDY-Fan.pdf</a> and when using the evaluation set t=
hey use I actually get somewhat better compression values (probably due to =
better header normalization).</blockquote>
<div><br></div><div>The point of SPDY header compression is to use stateful=
 compression. =A0If you only compress one chunk of headers, you&#39;ll get =
modest savings - 30-50%. =A0but on the second set, you get like 95% :-) =A0=
For SPDY sessions in steady state, the typical size of a request is 50-60 b=
ytes. =A0Almost everything, including the cookies, compresses out.</div>
<div><br></div><div>Mike</div><div><br></div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex"><div class=3D"HOEnZb"><div class=3D"h5"><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>
</div></div></blockquote></div><br>

--e89a8f23579db8de5004c1fac2a5--


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 13:36: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 426D111E817E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 13:36:29 -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_38=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CTzrBNfCk391 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 13:36:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 974FB11E8165 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 13:36:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd5t9-00041a-8j for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 20:34:31 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <rbector@yahoo-inc.com>) id 1Sd5sr-00040h-31 for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 20:34:13 +0000
Received: from mrout1-b.corp.bf1.yahoo.com ([98.139.253.104]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <rbector@yahoo-inc.com>) id 1Sd5sk-0003W3-UU for ietf-http-wg@w3.org; Fri, 08 Jun 2012 20:34:11 +0000
Received: from SP2-EX07CAS01.ds.corp.yahoo.com (sp2-ex07cas01.corp.sp2.yahoo.com [98.137.59.37]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q58KXY18083282; Fri, 8 Jun 2012 13:33:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1339187616; bh=FiBtxNLPPEYB10qiBA32PdXjyu72TeukBRltaT/52f4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=YBfT7G2lDMeM5KK1uTXglPLlq0CL4liADssCXLFJ2kC+qj2cu0AUgpA8202b9wsgk 5dL0G/MAftcTmPVmoh1inOwzCTA/sOSxhG3z70E5qflcR3w7xvzDsMV6YloKw8h/BL HQJaq9wYvJ9gC/CkVRSCALYm7iGz1QaPwCOzvCO4=
Received: from Rajeevs-iMac.local (216.145.48.98) by SP2-EX07CAS01.ds.corp.yahoo.com (98.137.59.4) with Microsoft SMTP Server id 8.3.245.1; Fri, 8 Jun 2012 13:33:32 -0700
Message-ID: <4FD2619B.2040802@yahoo-inc.com>
Date: Fri, 8 Jun 2012 15:33:31 -0500
From: Rajeev Bector <rbector@yahoo-inc.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: Mike Belshe <mike@belshe.com>
CC: Alek Storm <alek.storm@gmail.com>, Jonathan Silvera <jsilvera@microsoft.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Matthew Cox <macox@microsoft.com>, Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CAMNEcwsRUuzCC5qj_paAxDSRdiVEPQ5T1CrrV18fBPJUAD4rfw@mail.gmail.com> <4A6008CA493DD743AF241A465C01F15F0943D904@SN2PRD0310MB360.namprd03.prod.outlook.com> <CAMNEcwutF-d45n3kW9S9m7iXaZGJC9YXLzO+ad4uuNLuLckMrQ@mail.gmail.com> <CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com>
In-Reply-To: <CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------030504030900010205070700"
X-Milter-Version: master.31+4-gbc07cd5+
X-CLX-ID: 187614016
Received-SPF: neutral client-ip=98.139.253.104; envelope-from=rbector@yahoo-inc.com; helo=mrout1-b.corp.bf1.yahoo.com
X-W3C-Hub-Spam-Status: No, score=-16.2
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_NONE=-0.0001, SPF_NEUTRAL=0.779, USER_IN_DEF_WHITELIST=-15
X-W3C-Scan-Sig: lisa.w3.org 1Sd5sk-0003W3-UU 4cfa6c96dcb78390178fcaeca185d656
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/4FD2619B.2040802@yahoo-inc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13686
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd5t9-00041a-8j@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 20:34:31 +0000

--------------030504030900010205070700
Content-Type: text/plain; charset="windows-1252"; format=flowed
Content-Transfer-Encoding: 8bit

I am all for the overall concept that stuff that we know needs to be 
sent should be sent early. I am yet to get a warm-and-fuzzy about 
introducing a new paradigm altogether - to accomplish that. With proxies 
in the middle, it definitely adds more things to be thought about.  And 
as others on the thread have opined, getting all the other stuff  *done 
right* (and deployed at scale while we figure out how to inter-operate 
in a mixed world where SPDY and non-SPDY browsers will exist) will be an 
effort in itself.

On 6/7/12 8:46 PM, Mike Belshe wrote:
> I'm excited to hear from Google, Yahoo, Tornado, and Cotendo/Akamai 
> that there is research into server push.  I see no reason to cut it 
> when it is actively being worked on; my proposal to cut was based on 
> the belief nobody was trying.  I stand corrected!
>
> To those against the more speculative nature of server push features: 
>  We won't get another shot at protocol semantics for 15 years.  So, if 
> there is real work ongoing here, we should let it go further.
>
> To those that are doing research:  Please keep in mind that time is 
> short.  The rest of the protocol is ready to move forward now, and the 
> choices we make can be greatly changed based on whether or not push is 
> included as part of the core.
Precisely because time is short - it makes for an even compelling reason 
to decouple the two ! In the sense that since benefits from baseline 
SPDY proposals seem compelling enough - why delay deploying them while 
we wait for the research to be completed.

If the post-research feeling is that "server push" is the best way 
forward (instead of other flattening/pre-fetching alternatives), and the 
benefits seem compelling enough, having another rev in a cpl years 
should be possible (its again a latency vs throughput tradeoff :) ? Mnot ?


Thanks,
Rajeev

>
> To mnot:  Perhaps at the next meeting we can discuss some timeframes 
> around various concepts like server push so that those doing 
> implementations can have some guidance for dates.
>
> Mike
>
>
> On Thu, Jun 7, 2012 at 4:12 PM, Alek Storm <alek.storm@gmail.com 
> <mailto:alek.storm@gmail.com>> wrote:
>
>     Hi Jonathan,
>
>     On Thu, Jun 7, 2012 at 4:45 PM, Jonathan Silvera
>     <jsilvera@microsoft.com <mailto:jsilvera@microsoft.com>> wrote:
>
>         /I believe the client can achieve the same effect in SPDYv3 by
>         sending a GOAWAY frame, indicating that the other endpoint
>         must not open any new streams:/
>
>         ·There is still data waste by the SYN stream sent to the
>         client and also there is nothing on the SPDY spec preventing
>         the server from sending data immediately after they send the
>         SYN stream when doing Push. This would result in unnecessary
>         SYN_STREAM in the best case and on unnecessary pushing of data
>         in the worst case.
>
>     I believe you're conflating GOAWAY with RST_STREAM+CANCEL. The
>     former prevents the server from sending any SYN_STREAMs in the
>     first place, while the latter resets individual streams after
>     their SYN_STREAM has arrived at the client.
>
>         ·From reading the SPDY spec, it seems GOAWAY affects the
>         connection. However, there are still valid resources that the
>         client would need from the server. Would controlling server
>         push this way require the server to add additional logic to
>         continue to serve additional requests on the connection, while
>         adding state on the server side to not push additional content
>         on subsequent requests when the client has sent a GOAWAY
>         message? I am not clear on  how GOAWAY due to a client
>         rejecting Push would differ from normal GOAWAY behavior on
>         both client and server.
>
>     GOAWAY is asymmetric - only the receiving endpoint is prohibited
>     from opening new streams. In addition, one GOAWAY will suffice to
>     prevent the server from pushing streams for all future requests on
>     the connection, not just ones currently open. This state can be
>     reset by opening a new connection to the server.
>
>         ·The SPDY spec, appropriately, does not make GOAWAY mandatory.
>         This means that clients that do not implement GOAWAY could
>         still have data pushed to them.
>
>     I'm a bit confused by this. Unless otherwise indicated, all parts
>     of the spdy/3 spec are mandatory. We have specifically provided a
>     way for a client to tell the server not to open any push streams.
>     If the client only partially (and therefore, incorrectly)
>     implements the specification, what are we to do about it?
>
>         ·Overall  it seems that having the client control PUSH
>         behavior is cleaner and is more efficient from a bandwidth
>         perspective.
>
>     Agreed.
>
>         /I proposed a detailed system of cache control for pushed
>         resources on the spdy-dev mailing list, before I knew of the
>         existence of this list. I plan to post it here soon:/
>
>
>     Since server push has been a popular topic in the past 24 hours, I
>     re-prioritized finishing the proposal and sent it to the list a
>     few hours ago. You can read it at
>     http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0514.html,
>     although since some of the formatting has been mangled, I
>     recommend an email client for an optimal proposal-reading
>     experience. Feedback is most welcome, but should probably be
>     posted in that thread.
>
>         ·Great to hear that you are thinking about this. We believe
>         that is something that needs to be added to the Push spec. It
>         would probably require the client to keep track of resources
>         previously downloaded (no data on first navigation to a site)
>         when visiting a top level page and advertising the URL for the
>         cached resources, along with the corresponding cache
>         validators as part of the top level request. The server would
>         then have to explicitly confirm to the client, which cached
>         resources are valid in addition to initiating SYN streams for
>         the content that it is going to push.
>
>     There is no need to transmit the URI in addition to the cache
>     validators, as long as a new restriction is added to entity tags:
>     they must be unique among different URIs. I will add this to the
>     proposal.
>
>         ·If you are thinking about something similar, it would be good
>         to think about how to minimize data transferred on the wire
>         for valid cached resources. In the above model, the client has
>         to send the URL + cache validators and the server has to send
>         back the URL to explicitly inform the client that the cached
>         resource is valid. The net effect is that one additional
>         header with a URL (per valid cache resources) is transferred,
>         when compared to the proposed “Smart Client Pull” model.
>
>     My proposal only requires sending the cache validators for
>     subresources, not their URIs. Additional bandwidth savings may be
>     accrued by setting the "push-if-invalidated" cache control
>     directive, if all subresources are still fresh.
>
>         /Pushed content is likely to be that which is required to be
>         present at page load in the first place. Pushed CSS
>         stylesheets would prevent flashes of unstyled content (FOUC),
>         and pushed scripts that trigger on page load would be able to
>         execute before the user is able to interact with the page:/
>
>         ·Our concern here is that in order to completely prevent the
>         race condition, the top level page data is serialized behind
>         SYN stream for all pushed dependencies.
>
>     I'm afraid I don't understand this sentence. Can you rephrase?
>
>         ·As you mention the pushed dependencies will **likely** be
>         only resources required to load the page. We take it a step
>         further and recommend that the server only push critical
>         resources that would block page load, since there are lower
>         priority resources on webpages that do not affect the user
>         experience. Unfortunately we cannot guarantee that will be
>         case in practice.  The effect of misconfigured servers  that
>         push content not used on the top level page or push extremely
>         large number of resources, is that we end up blocking all data
>         for the top level page on these SYN streams and without the
>         first bits of data, the user will be staring at a blank screen.
>
>     I agree, and I think this recommendation should go into the spec.
>     We can only hope that server admins will err on the side of
>     pushing too few resources, rather than too many.
>
>         /Mozilla (and Chrome, I believe) already interpret
>         rel=prefetch as indicating resources that are likely to be
>         useful in *future* page loads, not necessarily the current one
>         - I would recommend avoiding the naming conflict:/
>
>         ·Our original spec was using the rel=subresource type, however
>         we ended up changing it because rel=subresource is not
>         currently included in the IANA
>         (http://www.iana.org/assignments/link-relations/link-relations.xml)
>         list of link relation assignments. We figured pursing an
>         extension to an already defined link relation, to be faster
>         than defining a new one. It would be great to hear what the
>         veteran standard folks on this list think about this.
>
>         ·We interpreted the difference between rel=subresource and
>         rel=prefetch as mostly that of priority and saw nothing on the
>         spec preventing clients from pre-fetching resources for the
>         current  webpage. It would be great to understand if other
>         browsers do not use rel=prefetch to bypass rendering/parsing
>         delays.
>
>         ·We are not sure who has implemented rel=subresource, so it
>         would be good to also hear thoughts of other browser vendors
>         about removing the distinction between rel=subresource and
>         rel=prefetch.
>
>     I think they should remain separate. Merging them means we're
>     going to have to pick one definition - if we pick subresource's,
>     then servers will be unable to notify the client of resources
>     relevant to *future* requests, since the client will immediately
>     attempt to fetch them, wasting bandwidth. Picking prefetch's
>     current definition would present analogous problems. You're right,
>     the opinions of browser vendors would be helpful here.
>
>     Thanks for the detailed reply - this is a great discussion!
>
>     Alek
>
>         Thanks
>
>         -Jonathan Silvera
>
>         *From:*Alek Storm [mailto:alek.storm@gmail.com
>         <mailto:alek.storm@gmail.com>]
>         *Sent:* Wednesday, June 6, 2012 7:29 PM
>         *To:* Gabriel Montenegro
>         *Cc:* ietf-http-wg@w3.org <mailto:ietf-http-wg@w3.org>;
>         Matthew Cox; Ivan Pashov; Osama Mazahir; Rob Trace; Jonathan
>         Silvera
>
>
>         *Subject:* Re: Some thoughts on server push and client pull
>
>         On Wed, Jun 6, 2012 at 8:30 PM, Gabriel Montenegro
>         <Gabriel.Montenegro@microsoft.com
>         <mailto:Gabriel.Montenegro@microsoft.com>> wrote:
>
>             <snip>
>
>             2. Issues with current Server Push in SPDY
>
>             We don't envision Server push as part of the base HTTP 2.0
>             protocol, but see it as a potentially interesting
>             extension, as long as there is some way for the client to
>             exert some control over when and how it is used. One
>             fundamental requirement is for clients to be able to
>             control “Server Push” behavior via a new opt-in <name TBD>
>             header.  Servers MUST NOT push unrequested data to the
>             client, unless the top level page request <name TBD>
>             header is set to allow “Server Push”.
>
>         I have not verified this, but I believe the client can achieve
>         the same effect in SPDYv3 by sending a GOAWAY frame,
>         indicating that the other endpoint must not open any new streams.
>
>             Server Push does not require any validation prior to
>             pushing data to the client, which could result in the
>             server sending unnecessary data to clients that have some
>             of the pushed resources stored in their cache.
>
>         I proposed a detailed system of cache control for pushed
>         resources on the spdy-dev mailing list, before I knew of the
>         existence of this list. I plan to post it here soon.
>
>             Furthermore, "Server Push" introduces a race condition in
>             which a client could start a new request for data that the
>             server is in the process of pushing, effectively causing
>             the same resource to be downloaded twice. SPDY addresses
>             the race condition by not sending any data (headers are
>             OK) for the top level page, until all of the SYN_STREAM
>             for the dependencies it will push are sent:
>
>             "To minimize race conditions with the client, the
>             SYN_STREAM for the pushed resources MUST be sent prior to
>             sending any content which could allow the client to
>             discover the pushed resource and request it."
>
>             We agree that SPDY's proposal is a good way to mitigate
>             the race condition in Server Push without introducing
>             significant complexity. Unfortunately mitigating the race
>             condition in this manner prevents the server from sending
>             data for the top level page. This could result in
>             user-visible delays.  Whether or not the user will see a
>             delay will depend on what messages (how many and how
>             large) the server is pushing to the client.
>
>         Pushed content is likely to be that which is required to be
>         present at page load in the first place. Pushed CSS
>         stylesheets would prevent flashes of unstyled content (FOUC),
>         and pushed scripts that trigger on page load would be able to
>         execute before the user is able to interact with the page.
>
>             3. Smart Client Pull alternative to Server Push
>
>             We would like to propose an alternative to Server Push for
>             discussion. This alternative is closely aligned with
>             existing standards and could even work for HTTP 1.1.
>
>             When a server receives an HTTP request for a top level
>             page, the server will generate a list of resources needed
>             to fully load the top level page. The server will send the
>             optimal pre-fetch list to the client, via LINK headers,
>             with a "prefetch" link relation type (defined in HTML5 per
>             http://www.iana.org/assignments/link-relations/link-relations.xml).
>
>
>             The server SHOULD also include the corresponding cache
>             validators for each resource in the pre-fetch list. An
>             extension to the “prefetch” link relation type will be
>             needed to allow cache validator data.
>
>             When a client receives data for a top level page, it will
>             begin processing the top level page response, while
>             simultaneously pre-fetching resources in the pre-fetch
>             list that are not in the client cache or that are cached
>             but invalid, as indicated by the cache validators included
>             in the pre-fetch list. Servers SHOULD only include
>             resources that block loading of the top level page in the
>             optimal pre-fetch list.
>
>         Mozilla (and Chrome, I believe) already interpret rel=prefetch
>         as indicating resources that are likely to be useful in
>         *future* page loads, not necessarily the current one - I would
>         recommend avoiding the naming conflict. SPDY appears to have
>         an ancillary proposal for a rel=subresource with essentially
>         the semantics you describe, at
>         http://dev.chromium.org/spdy/link-headers-and-server-hint/link-rel-subresource,
>         which I believe is already implemented in Chrome.
>
>         My soon-to-come cache control proposal will obviate the need
>         for extensions to the Link header, and would afford more
>         fine-grained control.
>
>         Alek
>
>
>

--------------030504030900010205070700
Content-Type: text/html; charset="windows-1252"
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I am all for the overall concept that stuff that we know needs to be
    sent should be sent early. I am yet to get a warm-and-fuzzy about
    introducing a new paradigm altogether - to accomplish that. With
    proxies in the middle, it definitely adds more things to be thought
    about.  And as others on the thread have opined, getting all the
    other stuff  *done right* (and deployed at scale while we figure out
    how to inter-operate in a mixed world where SPDY and non-SPDY
    browsers will exist) will be an effort in itself.<br>
    <br>
    On 6/7/12 8:46 PM, Mike Belshe wrote:
    <blockquote
cite="mid:CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com"
      type="cite">I'm excited to hear from Google, Yahoo, Tornado, and
      Cotendo/Akamai that there is research into server push.  I see no
      reason to cut it when it is actively being worked on; my proposal
      to cut was based on the belief nobody was trying.  I stand
      corrected!
      <div>
        <br>
      </div>
      <div>To those against the more speculative nature of server push
        features:  We won't get another shot at protocol semantics for
        15 years.  So, if there is real work ongoing here, we should let
        it go further.</div>
      <div><br>
      </div>
    </blockquote>
    <blockquote
cite="mid:CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com"
      type="cite">
      <div>To those that are doing research:  Please keep in mind that
        time is short.  The rest of the protocol is ready to move
        forward now, and the choices we make can be greatly changed
        based on whether or not push is included as part of the core. <br>
      </div>
    </blockquote>
    Precisely because time is short - it makes for an even compelling
    reason to decouple the two ! In the sense that since benefits from
    baseline SPDY proposals seem compelling enough - why delay deploying
    them while we wait for the research to be completed.  <br>
    <br>
    If the post-research feeling is that "server push" is the best way
    forward (instead of other flattening/pre-fetching alternatives), and
    the benefits seem compelling enough, having another rev in a cpl
    years should be possible (its again a latency vs throughput tradeoff
    :) ? Mnot ?<br>
    <br>
    <br>
    Thanks,<br>
    Rajeev<br>
    <br>
    <blockquote
cite="mid:CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div>To mnot:  Perhaps at the next meeting we can discuss some
        timeframes around various concepts like server push so that
        those doing implementations can have some guidance for dates.<br>
        <br>
        Mike</div>
      <div>
        <br>
        <br>
        <div class="gmail_quote">On Thu, Jun 7, 2012 at 4:12 PM, Alek
          Storm <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:alek.storm@gmail.com" target="_blank">alek.storm@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div>Hi Jonathan,</div>
            <div><br>
            </div>
            On Thu, Jun 7, 2012 at 4:45 PM, Jonathan Silvera <span
              dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:jsilvera@microsoft.com" target="_blank">jsilvera@microsoft.com</a>&gt;</span>
            wrote:<br>
            <div class="gmail_quote">
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <div>
                    <p class="MsoNormal"><i>I believe the client can
                        achieve the same effect in SPDYv3 by sending a
                        GOAWAY frame, indicating that the other endpoint
                        must not open any new streams:</i></p>
                    <p><span style="font-family:Symbol"><span>·<span
                            style="font:7.0pt &quot;Times New
                            Roman&quot;">        
                          </span></span></span>There is still data waste
                      by the SYN stream sent to the client and also
                      there is nothing on the SPDY spec preventing the
                      server from sending data immediately after they
                      send the SYN stream when doing Push. This would
                      result in unnecessary SYN_STREAM in the best case
                      and on unnecessary pushing of data in the worst
                      case.</p>
                  </div>
                </div>
              </blockquote>
              <div>I believe you're conflating GOAWAY with
                RST_STREAM+CANCEL. The former prevents the server from
                sending any SYN_STREAMs in the first place, while the
                latter resets individual streams after their SYN_STREAM
                has arrived at the client.</div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <div>
                    <p><span style="font-family:Symbol"><span>·<span
                            style="font:7.0pt &quot;Times New
                            Roman&quot;">        
                          </span></span></span>From reading the SPDY
                      spec, it seems GOAWAY affects the connection.
                      However, there are still valid resources that the
                      client would need from the server. Would
                      controlling server push this way require the
                      server to add additional logic to continue to
                      serve additional requests on the connection, while
                      adding state on the server side to not push
                      additional content on subsequent requests when the
                      client has sent a GOAWAY message? I am not clear
                      on  how GOAWAY due to a client rejecting Push
                      would differ from normal GOAWAY behavior on both
                      client and server.</p>
                  </div>
                </div>
              </blockquote>
              <div>GOAWAY is asymmetric - only the receiving endpoint is
                prohibited from opening new streams. In addition, one
                GOAWAY will suffice to prevent the server from pushing
                streams for all future requests on the connection, not
                just ones currently open. This state can be reset by
                opening a new connection to the server.</div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <div>
                    <p><span style="font-family:Symbol"><span>·<span
                            style="font:7.0pt &quot;Times New
                            Roman&quot;">        
                          </span></span></span>The SPDY spec,
                      appropriately, does not make GOAWAY mandatory.
                      This means that clients that do not implement
                      GOAWAY could still have data pushed to them.</p>
                  </div>
                </div>
              </blockquote>
              <div>I'm a bit confused by this. Unless otherwise
                indicated, all parts of the spdy/3 spec are mandatory.
                We have specifically provided a way for a client to tell
                the server not to open any push streams. If the client
                only partially (and therefore, incorrectly) implements
                the specification, what are we to do about it?</div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <div>
                    <p><span style="font-family:Symbol"><span>·<span
                            style="font:7.0pt &quot;Times New
                            Roman&quot;">        
                          </span></span></span>Overall  it seems that
                      having the client control PUSH behavior is cleaner
                      and is more efficient from a bandwidth
                      perspective.</p>
                  </div>
                </div>
              </blockquote>
              <div>Agreed.</div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <div>
                    <p class="MsoNormal"> <i>I proposed a detailed
                        system of cache control for pushed resources on
                        the spdy-dev mailing list, before I knew of the
                        existence of this list. I plan to post it here
                        soon:</i></p>
                  </div>
                </div>
              </blockquote>
              <div><br>
              </div>
              <div>Since server push has been a popular topic in the
                past 24 hours, I re-prioritized finishing the proposal
                and sent it to the list a few hours ago. You can read it
                at <a moz-do-not-send="true"
href="http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0514.html"
                  target="_blank">http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0514.html</a>,
                although since some of the formatting has been mangled,
                I recommend an email client for an optimal
                proposal-reading experience. Feedback is most welcome,
                but should probably be posted in that thread. </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <p><span style="font-family:Symbol"><span>·<span
                          style="font:7.0pt &quot;Times New Roman&quot;">        
                        </span></span></span>Great to hear that you are
                    thinking about this. We believe that is something
                    that needs to be added to the Push spec. It would
                    probably require the client to keep track of
                    resources previously downloaded (no data on first
                    navigation to a site) when visiting a top level page
                    and advertising the URL for the cached resources,
                    along with the corresponding cache validators as
                    part of the top level request. The server would then
                    have to explicitly confirm to the client, which
                    cached resources are valid in addition to initiating
                    SYN streams for the content that it is going to
                    push.</p>
                </div>
              </blockquote>
              <div>There is no need to transmit the URI in addition to
                the cache validators, as long as a new restriction is
                added to entity tags: they must be unique among
                different URIs. I will add this to the proposal.</div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <div>
                    <p>
                    </p>
                    <p><span style="font-family:Symbol"><span>·<span
                            style="font:7.0pt &quot;Times New
                            Roman&quot;">        
                          </span></span></span>If you are thinking about
                      something similar, it would be good to think about
                      how to minimize data transferred on the wire for
                      valid cached resources. In the above model, the
                      client has to send the URL + cache validators and
                      the server has to send back the URL to explicitly
                      inform the client that the cached resource is
                      valid. The net effect is that one additional
                      header with a URL (per valid cache resources) is
                      transferred, when compared to the proposed “Smart
                      Client Pull” model.</p>
                  </div>
                </div>
              </blockquote>
              <div>My proposal only requires sending the cache
                validators for subresources, not their URIs. Additional
                bandwidth savings may be accrued by setting the
                "push-if-invalidated" cache control directive, if all
                subresources are still fresh.</div>
              <div><br>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <div>
                    <p class="MsoNormal"><i>Pushed content is likely to
                        be that which is required to be present at page
                        load in the first place. Pushed CSS stylesheets
                        would prevent flashes of unstyled content
                        (FOUC), and pushed scripts that trigger on page
                        load would be able to execute before the user is
                        able to interact with the page:</i></p>
                    <p><span style="font-family:Symbol"><span>·<span
                            style="font:7.0pt &quot;Times New
                            Roman&quot;">        
                          </span></span></span>Our concern here is that
                      in order to completely prevent the race condition,
                      the top level page data is serialized behind SYN
                      stream for all pushed dependencies.</p>
                  </div>
                </div>
              </blockquote>
              <div>
                I'm afraid I don't understand this sentence. Can you
                rephrase?</div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <div>
                    <p>
                    </p>
                    <p><span style="font-family:Symbol"><span>·<span
                            style="font:7.0pt &quot;Times New
                            Roman&quot;">        
                          </span></span></span>As you mention the pushed
                      dependencies will *<b>likely</b>* be only
                      resources required to load the page. We take it a
                      step further and recommend that the server only
                      push critical resources that would block page
                      load, since there are lower priority resources on
                      webpages that do not affect the user experience.
                      Unfortunately we cannot guarantee that will be
                      case in practice.  The effect of misconfigured
                      servers  that push content not used on the top
                      level page or push extremely large number of
                      resources, is that we end up blocking all data for
                      the top level page on these SYN streams and
                      without the first bits of data, the user will be
                      staring at a blank screen.</p>
                  </div>
                </div>
              </blockquote>
              <div>I agree, and I think this recommendation should go
                into the spec. We can only hope that server admins will
                err on the side of pushing too few resources, rather
                than too many.</div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <div>
                    <p class="MsoNormal"><i>Mozilla (and Chrome, I
                        believe) already interpret rel=prefetch as
                        indicating resources that are likely to be
                        useful in *future* page loads, not necessarily
                        the current one - I would recommend avoiding the
                        naming conflict:</i></p>
                    <p><span style="font-family:Symbol"><span>·<span
                            style="font:7.0pt &quot;Times New
                            Roman&quot;">        
                          </span></span></span>Our original spec was
                      using the rel=subresource type, however we ended
                      up changing it because rel=subresource is not
                      currently included in the IANA (<a
                        moz-do-not-send="true"
                        href="http://www.iana.org/assignments/link-relations/link-relations.xml"
                        target="_blank">http://www.iana.org/assignments/link-relations/link-relations.xml</a>)
                      list of link relation assignments. We figured
                      pursing an extension to an already defined link
                      relation, to be faster than defining a new one. It
                      would be great to hear what the veteran standard
                      folks on this list think about this.</p>
                    <p><span style="font-family:Symbol"><span>·<span
                            style="font:7.0pt &quot;Times New
                            Roman&quot;">        
                          </span></span></span>We interpreted the
                      difference between rel=subresource and
                      rel=prefetch as mostly that of priority and saw
                      nothing on the spec preventing clients from
                      pre-fetching resources for the current  webpage.
                      It would be great to understand if other browsers
                      do not use rel=prefetch to bypass
                      rendering/parsing delays. </p>
                    <p><span style="font-family:Symbol"><span>·<span
                            style="font:7.0pt &quot;Times New
                            Roman&quot;">        
                          </span></span></span>We are not sure who has
                      implemented rel=subresource, so it would be good
                      to also hear thoughts of other browser vendors
                      about removing the distinction between
                      rel=subresource and rel=prefetch.</p>
                  </div>
                </div>
              </blockquote>
              <div>I think they should remain separate. Merging them
                means we're going to have to pick one definition - if we
                pick subresource's, then servers will be unable to
                notify the client of resources relevant to *future*
                requests, since the client will immediately attempt to
                fetch them, wasting bandwidth. Picking prefetch's
                current definition would present analogous problems.
                You're right, the opinions of browser vendors would be
                helpful here.</div>
              <div><br>
              </div>
              <div>Thanks for the detailed reply - this is a great
                discussion!</div>
              <div><br>
              </div>
              <div>Alek</div>
              <div><br>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div link="blue" vlink="purple" lang="EN-US">
                  <div>
                    <p>
                    </p>
                    <p class="MsoNormal"><span
                        style="font-family:Calibri,sans-serif;font-size:11pt">Thanks</span></p>
                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;"> </span></p>
                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">-Jonathan
                        Silvera</span></p>
                    <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> </span></p>
                    <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                        Alek Storm [mailto:<a moz-do-not-send="true"
                          href="mailto:alek.storm@gmail.com"
                          target="_blank">alek.storm@gmail.com</a>]
                        <br>
                        <b>Sent:</b> Wednesday, June 6, 2012 7:29 PM<br>
                        <b>To:</b> Gabriel Montenegro<br>
                        <b>Cc:</b> <a moz-do-not-send="true"
                          href="mailto:ietf-http-wg@w3.org"
                          target="_blank">ietf-http-wg@w3.org</a>;
                        Matthew Cox; Ivan Pashov; Osama Mazahir; Rob
                        Trace; Jonathan Silvera</span></p>
                    <div class="im">
                      <div><br>
                        <b>Subject:</b> Re: Some thoughts on server push
                        and client pull</div>
                      <p class="MsoNormal"> </p>
                    </div>
                    <p class="MsoNormal">On Wed, Jun 6, 2012 at 8:30 PM,
                      Gabriel Montenegro &lt;<a moz-do-not-send="true"
                        href="mailto:Gabriel.Montenegro@microsoft.com"
                        target="_blank">Gabriel.Montenegro@microsoft.com</a>&gt;
                      wrote:</p>
                    <div>
                      <div class="h5">
                        <div>
                          <div>
                            <div>
                              <blockquote
                                style="border:none;border-left:solid
                                #cccccc 1.0pt;padding:0in 0in 0in
                                6.0pt;margin-left:4.8pt;margin-right:0in">
                                <div>
                                  <div>
                                    <p class="MsoNormal">&lt;snip&gt;</p>
                                    <p class="MsoNormal">2. Issues with
                                      current Server Push in SPDY</p>
                                    <p class="MsoNormal"> </p>
                                    <p class="MsoNormal">We don't
                                      envision Server push as part of
                                      the base HTTP 2.0 protocol, but
                                      see it as a potentially
                                      interesting extension, as long as
                                      there is some way for the client
                                      to exert some control over when
                                      and how it is used. One
                                      fundamental requirement is for
                                      clients to be able to control
                                      “Server Push” behavior via a new
                                      opt-in &lt;name TBD&gt; header. 
                                      Servers MUST NOT push unrequested
                                      data to the client, unless the top
                                      level page request &lt;name
                                      TBD&gt; header is set to allow
                                      “Server Push”.</p>
                                  </div>
                                </div>
                              </blockquote>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal">I have not verified
                                  this, but I believe the client can
                                  achieve the same effect in SPDYv3 by
                                  sending a GOAWAY frame, indicating
                                  that the other endpoint must not open
                                  any new streams.</p>
                              </div>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <blockquote
                                style="border:none;border-left:solid
                                #cccccc 1.0pt;padding:0in 0in 0in
                                6.0pt;margin-left:4.8pt;margin-right:0in">
                                <div>
                                  <div>
                                    <p class="MsoNormal">Server Push
                                      does not require any validation
                                      prior to pushing data to the
                                      client, which could result in the
                                      server sending unnecessary data to
                                      clients that have some of the
                                      pushed resources stored in their
                                      cache.</p>
                                  </div>
                                </div>
                              </blockquote>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal">I proposed a
                                  detailed system of cache control for
                                  pushed resources on the spdy-dev
                                  mailing list, before I knew of the
                                  existence of this list. I plan to post
                                  it here soon.</p>
                              </div>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <blockquote
                                style="border:none;border-left:solid
                                #cccccc 1.0pt;padding:0in 0in 0in
                                6.0pt;margin-left:4.8pt;margin-right:0in">
                                <div>
                                  <div>
                                    <p class="MsoNormal">Furthermore,
                                      "Server Push" introduces a race
                                      condition in which a client could
                                      start a new request for data that
                                      the server is in the process of
                                      pushing, effectively causing the
                                      same resource to be downloaded
                                      twice. SPDY addresses the race
                                      condition by not sending any data
                                      (headers are OK) for the top level
                                      page, until all of the SYN_STREAM
                                      for the dependencies it will push
                                      are sent:</p>
                                    <p class="MsoNormal"> </p>
                                    <p class="MsoNormal">"To minimize
                                      race conditions with the client,
                                      the SYN_STREAM for the pushed
                                      resources MUST be sent prior to
                                      sending any content which could
                                      allow the client to discover the
                                      pushed resource and request it."</p>
                                    <p class="MsoNormal"> </p>
                                    <p class="MsoNormal">We agree that
                                      SPDY's proposal is a good way to
                                      mitigate the race condition in
                                      Server Push without introducing
                                      significant complexity.
                                      Unfortunately mitigating the race
                                      condition in this manner prevents
                                      the server from sending data for
                                      the top level page. This could
                                      result in user-visible delays. 
                                      Whether or not the user will see a
                                      delay will depend on what messages
                                      (how many and how large) the
                                      server is pushing to the client.</p>
                                  </div>
                                </div>
                              </blockquote>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal">Pushed content is
                                  likely to be that which is required to
                                  be present at page load in the first
                                  place. Pushed CSS stylesheets would
                                  prevent flashes of unstyled content
                                  (FOUC), and pushed scripts that
                                  trigger on page load would be able to
                                  execute before the user is able to
                                  interact with the page.</p>
                              </div>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <blockquote
                                style="border:none;border-left:solid
                                #cccccc 1.0pt;padding:0in 0in 0in
                                6.0pt;margin-left:4.8pt;margin-right:0in">
                                <div>
                                  <p class="MsoNormal">3. Smart Client
                                    Pull alternative to Server Push</p>
                                  <p class="MsoNormal"> </p>
                                  <p class="MsoNormal">We would like to
                                    propose an alternative to Server
                                    Push for discussion. This
                                    alternative is closely aligned with
                                    existing standards and could even
                                    work for HTTP 1.1.</p>
                                  <p class="MsoNormal"> </p>
                                  <p class="MsoNormal">When a server
                                    receives an HTTP request for a top
                                    level page, the server will generate
                                    a list of resources needed to fully
                                    load the top level page. The server
                                    will send the optimal pre-fetch list
                                    to the client, via LINK headers,
                                    with a "prefetch" link relation type
                                    (defined in HTML5 per
                                    <a moz-do-not-send="true"
                                      href="http://www.iana.org/assignments/link-relations/link-relations.xml"
                                      target="_blank">
http://www.iana.org/assignments/link-relations/link-relations.xml</a>).
                                  </p>
                                  <p class="MsoNormal">The server SHOULD
                                    also include the corresponding cache
                                    validators for each resource in the
                                    pre-fetch list. An extension to the
                                    “prefetch” link relation type will
                                    be needed to allow cache validator
                                    data.</p>
                                  <p class="MsoNormal"> </p>
                                  <p class="MsoNormal">When a client
                                    receives data for a top level page,
                                    it will begin processing the top
                                    level page response, while
                                    simultaneously pre-fetching
                                    resources in the pre-fetch list that
                                    are not in the client cache or that
                                    are cached but invalid, as indicated
                                    by the cache validators included in
                                    the pre-fetch list. Servers SHOULD
                                    only include resources that block
                                    loading of the top level page in the
                                    optimal pre-fetch list.</p>
                                </div>
                              </blockquote>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal">Mozilla (and
                                  Chrome, I believe) already interpret
                                  rel=prefetch as indicating resources
                                  that are likely to be useful in
                                  *future* page loads, not necessarily
                                  the current one - I would recommend
                                  avoiding the naming conflict. SPDY
                                  appears to have an ancillary proposal
                                  for a rel=subresource with essentially
                                  the semantics you describe, at <a
                                    moz-do-not-send="true"
href="http://dev.chromium.org/spdy/link-headers-and-server-hint/link-rel-subresource"
                                    target="_blank">http://dev.chromium.org/spdy/link-headers-and-server-hint/link-rel-subresource</a>,
                                  which I believe is already implemented
                                  in Chrome.</p>
                              </div>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <div>
                                <p class="MsoNormal">My soon-to-come
                                  cache control proposal will obviate
                                  the need for extensions to the Link
                                  header, and would afford more
                                  fine-grained control.</p>
                              </div>
                              <div>
                                <p class="MsoNormal"> </p>
                              </div>
                              <div>
                                <div>
                                  <p class="MsoNormal">Alek</p>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>

--------------030504030900010205070700--


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 15:32: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 1A77C21F8633 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 15:32: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nnyvk4oP780k for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 15:32:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD89B21F863F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 15:32:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd7ho-0002uF-NT for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 22:30:56 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1Sd7hQ-0002b8-SG for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 22:30:32 +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 1Sd7hN-00073l-6P for ietf-http-wg@w3.org; Fri, 08 Jun 2012 22:30:30 +0000
Received: from manganese.bredbandsbolaget.se (c-961de353.03-25-6c6b7010.cust.bredbandsbolaget.se [83.227.29.150]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q58MTxQs007148 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 8 Jun 2012 22:30:00 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: "Mike Belshe" <mike@belshe.com>
Cc: "Roberto Peon" <grmocg@gmail.com>, ietf-http-wg@w3.org
References: <op.wfjd0s2diw9drz@riaa> <CAP+FsNfD3=OYibM8hZOWAB8qxmnO7K=e4=JK+BV50P8y7sDZ6A@mail.gmail.com> <op.wfler3eyiw9drz@riaa> <CABaLYCuh2bOyXQVxCVYfwu-yCqgUCvFjyzvJpTEfNQ9MzsyKpw@mail.gmail.com>
Date: Sat, 09 Jun 2012 00:30:09 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wflvgjmbiw9drz@manganese.bredbandsbolaget.se>
In-Reply-To: <CABaLYCuh2bOyXQVxCVYfwu-yCqgUCvFjyzvJpTEfNQ9MzsyKpw@mail.gmail.com>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sd7hN-00073l-6P 572a4f03152e2180a3eeff9fcb8b7f52
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/op.wflvgjmbiw9drz@manganese.bredbandsbolaget.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13687
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd7ho-0002uF-NT@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 22:30:56 +0000

On Fri, 08 Jun 2012 21:10:59 +0200, Mike Belshe <mike@belshe.com> wrote:

>>>
>> I'm using the same data as the http://www.eecis.udel.edu/~**
>> amer/PEL/poc/pdf/SPDY-Fan.pdf<http://www.eecis.udel.edu/~amer/PEL/poc/pdf/SPDY-Fan.pdf>and  
>> when using the evaluation set they use I actually get somewhat better
>> compression values (probably due to better header normalization).
>
>
> The point of SPDY header compression is to use stateful compression.  If
> you only compress one chunk of headers, you'll get modest savings -  
> 30-50%.
>  but on the second set, you get like 95% :-)  For SPDY sessions in steady
> state, the typical size of a request is 50-60 bytes.  Almost everything,
> including the cookies, compresses out.
>

Yes, that is quite clear from the specification, and I noted "deflate with  
persistent context is a good approach" in the original text. The context  
here is about using a deflate dictionary, and then the subsequent requests  
compress almost equally well without dictionary. This is natural given how  
LZ77 works and the repetitive nature of HTTP headers. So if you are only  
making single requests on every SPDY connection, the dictionary gives you  
a 15-25% boost on the header compression. If you are making multiple  
requests you will however very quickly see the benefit over normal deflate  
disappear.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 15:58: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 4987211E80AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 15:58:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.916
X-Spam-Level: 
X-Spam-Status: No, score=-9.916 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mDKbv1ysthpK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 15:58:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6B87611E8091 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 15:58:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd86f-0007cM-TX for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 22:56:37 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1Sd86F-0007bM-BO for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 22:56:11 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1Sd86C-0000YR-D0 for ietf-http-wg@w3.org; Fri, 08 Jun 2012 22:56:09 +0000
Received: by yenq11 with SMTP id q11so1694590yen.2 for <ietf-http-wg@w3.org>; Fri, 08 Jun 2012 15:55:43 -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 :cc:content-type:x-gm-message-state; bh=se4Ek7ou/qgqrqleYvDBXVtcIfIIe/q/RPXqI6fh63k=; b=QgB5W641V0r2hOyjOQDNvd6YQ968M8OVVvTuFKQ1p+xMyA1/THWmbMKQM1wSpHPzoz gY0O5n2LsBD5Ltg6gxGDjcs6ER5h9I4h4za0+BJKPpfUqEkevKHtwcFJT0zjsbvgMGPe 3X1BMw9ESDUSRR4y6l4C9fzJ9dCe+vMGSXARDrdHPf9NY8LoVV+G+zXDx2zFzUE11E8t jfsGYQHa7BofTb7lQTmhkPXaMQsFhdLWLEPIlL9+JjDRRRWJeuKsimwePWBuvpbWgDEG 5pL/rHTZo0UedKKVWO3MIXN/anAsb/LNxG4ycQ3I/iQjJuG3UBdffmmYv24Z8z2h2rpG ACsA==
MIME-Version: 1.0
Received: by 10.50.156.228 with SMTP id wh4mr3392878igb.47.1339196142752; Fri, 08 Jun 2012 15:55:42 -0700 (PDT)
Received: by 10.64.5.71 with HTTP; Fri, 8 Jun 2012 15:55:42 -0700 (PDT)
In-Reply-To: <op.wflvgjmbiw9drz@manganese.bredbandsbolaget.se>
References: <op.wfjd0s2diw9drz@riaa> <CAP+FsNfD3=OYibM8hZOWAB8qxmnO7K=e4=JK+BV50P8y7sDZ6A@mail.gmail.com> <op.wfler3eyiw9drz@riaa> <CABaLYCuh2bOyXQVxCVYfwu-yCqgUCvFjyzvJpTEfNQ9MzsyKpw@mail.gmail.com> <op.wflvgjmbiw9drz@manganese.bredbandsbolaget.se>
Date: Fri, 8 Jun 2012 15:55:42 -0700
Message-ID: <CABaLYCvRObLwoPZ18U4Typ7i0v-97d+b6aEFPZkz5JD4BekUTQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Martin Nilsson <nilsson@opera.com>
Cc: Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f3ba1155f937c04c1fde65e
X-Gm-Message-State: ALoCoQk10QRsIyWsAPlV8CAcNWVSCvrbm3zKE8gFZGl6LuEsDGXQui4BZOF+LCaQcZ+ySZ2yy7tq
Received-SPF: none client-ip=209.85.213.171; envelope-from=mike@belshe.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Sd86C-0000YR-D0 7c2f00ffbc7354c25d382c83dc08223f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/CABaLYCvRObLwoPZ18U4Typ7i0v-97d+b6aEFPZkz5JD4BekUTQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13688
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd86f-0007cM-TX@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 22:56:37 +0000

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

On Fri, Jun 8, 2012 at 3:30 PM, Martin Nilsson <nilsson@opera.com> wrote:

> On Fri, 08 Jun 2012 21:10:59 +0200, Mike Belshe <mike@belshe.com> wrote:
>
>
>>>>  I'm using the same data as the http://www.eecis.udel.edu/~**
>>> amer/PEL/poc/pdf/SPDY-Fan.pdf<**http://www.eecis.udel.edu/~**
>>> amer/PEL/poc/pdf/SPDY-Fan.pdf<http://www.eecis.udel.edu/~amer/PEL/poc/pdf/SPDY-Fan.pdf>
>>> >**and when using the evaluation set they use I actually get somewhat
>>> better
>>>
>>> compression values (probably due to better header normalization).
>>>
>>
>>
>> The point of SPDY header compression is to use stateful compression.  If
>> you only compress one chunk of headers, you'll get modest savings -
>> 30-50%.
>>  but on the second set, you get like 95% :-)  For SPDY sessions in steady
>> state, the typical size of a request is 50-60 bytes.  Almost everything,
>> including the cookies, compresses out.
>>
>>
> Yes, that is quite clear from the specification, and I noted "deflate with
> persistent context is a good approach" in the original text. The context
> here is about using a deflate dictionary, and then the subsequent requests
> compress almost equally well without dictionary. This is natural given how
> LZ77 works and the repetitive nature of HTTP headers. So if you are only
> making single requests on every SPDY connection, the dictionary gives you a
> 15-25% boost on the header compression. If you are making multiple requests
> you will however very quickly see the benefit over normal deflate disappear.


OK.   Yes, we know that the dictionary only helps a small amount.  But it
does help.  The good news is that its basically free to use the dictionary,
so I don't really see any downsides.


Mike



>
>
> /Martin Nilsson
>
> --
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>

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

<br><br><div class=3D"gmail_quote">On Fri, Jun 8, 2012 at 3:30 PM, Martin N=
ilsson <span dir=3D"ltr">&lt;<a href=3D"mailto:nilsson@opera.com" target=3D=
"_blank">nilsson@opera.com</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
On Fri, 08 Jun 2012 21:10:59 +0200, Mike Belshe &lt;<a href=3D"mailto:mike@=
belshe.com" target=3D"_blank">mike@belshe.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"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">

<br>
</blockquote>
I&#39;m using the same data as the <a href=3D"http://www.eecis.udel.edu/~**=
" target=3D"_blank">http://www.eecis.udel.edu/~**</a><br>
amer/PEL/poc/pdf/SPDY-Fan.pdf&lt;<a href=3D"http://www.eecis.udel.edu/~amer=
/PEL/poc/pdf/SPDY-Fan.pdf" target=3D"_blank"><u></u>http://www.eecis.udel.e=
du/~<u></u>amer/PEL/poc/pdf/SPDY-Fan.pdf</a>&gt;<u></u>and when using the e=
valuation set they use I actually get somewhat better<div class=3D"im">
<br>
compression values (probably due to better header normalization).<br>
</div></blockquote><div class=3D"im">
<br>
<br>
The point of SPDY header compression is to use stateful compression. =A0If<=
br>
you only compress one chunk of headers, you&#39;ll get modest savings - 30-=
50%.<br>
=A0but on the second set, you get like 95% :-) =A0For SPDY sessions in stea=
dy<br>
state, the typical size of a request is 50-60 bytes. =A0Almost everything,<=
br>
including the cookies, compresses out.<br>
<br>
</div></blockquote>
<br>
Yes, that is quite clear from the specification, and I noted &quot;deflate =
with persistent context is a good approach&quot; in the original text. The =
context here is about using a deflate dictionary, and then the subsequent r=
equests compress almost equally well without dictionary. This is natural gi=
ven how LZ77 works and the repetitive nature of HTTP headers. So if you are=
 only making single requests on every SPDY connection, the dictionary gives=
 you a 15-25% boost on the header compression. If you are making multiple r=
equests you will however very quickly see the benefit over normal deflate d=
isappear.</blockquote>
<div><br></div><div>OK. =A0 Yes, we know that the dictionary only helps a s=
mall amount. =A0But it does help. =A0The good news is that its basically fr=
ee to use the dictionary, so I don&#39;t really see any downsides.</div><di=
v>
<br></div><div><br>Mike</div><div><br></div><div>=A0</div><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"><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>
</div></div></blockquote></div><br>

--e89a8f3ba1155f937c04c1fde65e--


From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 16:22: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 244F811E80F5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 16:22: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vmtzRYjaRupH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 16:22:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 58BB311E80E2 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 16:22:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd8V0-0005jt-9o for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 23:21:46 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sd8Ud-0005hM-85 for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 23:21:23 +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 1Sd8Ua-0001EK-NT for ietf-http-wg@w3.org; Fri, 08 Jun 2012 23:21:21 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6A2C6509B4; Fri,  8 Jun 2012 19:20:55 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABkgnnVGSM8QqxdyAxfjA9ymmH-GDD1wFauzKs1ZzhK8kzr=ZQ@mail.gmail.com>
Date: Sat, 9 Jun 2012 09:20:50 +1000
Cc: Mike Belshe <mike@belshe.com>, Alek Storm <alek.storm@gmail.com>, Jonathan Silvera <jsilvera@microsoft.com>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, Matthew Cox <macox@microsoft.com>, Ivan Pashov <ivanpash@microsoft.com>, Osama Mazahir <OSAMAM@microsoft.com>, Rob Trace <Rob.Trace@microsoft.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <77FD46A8-0E14-4933-B1A2-0B51D6363DD8@mnot.net>
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CAMNEcwsRUuzCC5qj_paAxDSRdiVEPQ5T1CrrV18fBPJUAD4rfw@mail.gmail.com> <4A6008CA493DD743AF241A465C01F15F0943D904@SN2PRD0310MB360.namprd03.prod.outlook.com> <CAMNEcwutF-d45n3kW9S9m7iXaZGJC9YXLzO+ad4uuNLuLckMrQ@mail.gmail.com> <CABaLYCtZdzExvm6a=TkcHv84d0WbH2fx+NKZtzGoPW8c8wNwDQ@mail.gmail.com> <1C5701A7-895A-4BFC-8231-BC10BF9F003E@mnot.net> <CABkgnnVGSM8QqxdyAxfjA9ymmH-GDD1wFauzKs1ZzhK8kzr=ZQ@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1Sd8Ua-0001EK-NT 56ab0801a1dd8605e1f8e0bc11b4d5a5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/77FD46A8-0E14-4933-B1A2-0B51D6363DD8@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13689
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd8V0-0005jt-9o@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 23:21:46 +0000

On 09/06/2012, at 3:27 AM, Martin Thomson wrote:

> On 8 June 2012 00:16, Mark Nottingham <mnot@mnot.net> wrote:
>> WRT SPDY and server push, I'd suggest keeping it in, but making sure =
it's separable, so that the decision can be delayed until you have more =
data.
>=20
> I don't know.  Not to abuse the analogy, but I might like giant wooden
> horses and still have an aversion to having strange men inside my city
> walls.  Or, from another angle, it's going to be hard enough to get
> the simple things right, why add more stuff.  We're here to solve
> head-of-line blocking, not to create an standard analogue of the same.
>=20
> The idea that this is a once-in-a-lifetime opportunity is a fallacy.
> If you care about this feature, then make sure that no changes ruin
> the protocol such that push couldn't be added.
>=20
> The trade-offs involved with binary serialization/compression,
> multiplexing and the other properties are well enough understood to
> retain those.  On the other hand, the unilateral delivery of
> unrequested content is not.


Martin,

I'm talking about in the short-to-medium term; i.e., we don't have to =
decide this *now*, but we very well may in a month or two.

Regards,

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun  8 16:44: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 A8CEA11E808E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 16:44:56 -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=[BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Dl-CNdxrINvW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri,  8 Jun 2012 16:44:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0EEAD11E8088 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri,  8 Jun 2012 16:44:56 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sd8qm-0007zg-8c for ietf-http-wg-dist@listhub.w3.org; Fri, 08 Jun 2012 23:44:16 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <karld@opera.com>) id 1Sd8qb-0007yp-1r for ietf-http-wg@listhub.w3.org; Fri, 08 Jun 2012 23:44:05 +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 <karld@opera.com>) id 1Sd8qX-0001v1-SM for ietf-http-wg@w3.org; Fri, 08 Jun 2012 23:44:03 +0000
Received: from [10.0.1.20] (modemcable119.80-59-74.mc.videotron.ca [74.59.80.119]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q58NhV6G017873 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 8 Jun 2012 23:43:32 GMT
References: <CA566BAEAD6B3F4E8B5C5C4F61710C1148040AF5@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <CABaLYCvkGSXJgzWrsyuMWN0QSZkmpti26jN4H-5WUBKrbREUUg@mail.gmail.com> <CAA4WUYiRUU7eq8RUbiCp2DjCa25jp8K6iBouFDxvyCbLyan_4w@mail.gmail.com>
In-Reply-To: <CAA4WUYiRUU7eq8RUbiCp2DjCa25jp8K6iBouFDxvyCbLyan_4w@mail.gmail.com>
Mime-Version: 1.0 (Apple Message framework v1257)
Content-Type: text/plain; charset=utf-8
Message-Id: <E916B113-4E2D-4BFD-BA68-FF105933823C@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: HTTP Working Group <ietf-http-wg@w3.org>
From: Karl Dubost <karld@opera.com>
Date: Fri, 8 Jun 2012 19:43:30 -0400
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.1257)
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.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sd8qX-0001v1-SM 4d00ac59bffd8bfca8c0ac5344170915
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Some thoughts on server push and client pull
Archived-At: <http://www.w3.org/mid/E916B113-4E2D-4BFD-BA68-FF105933823C@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13690
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sd8qm-0007zg-8c@frink.w3.org>
Resent-Date: Fri, 08 Jun 2012 23:44:16 +0000

Le 7 juin 2012 =C3=A0 12:43, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) =
a =C3=A9crit :
> * To my knowledge, Amazon is using it in their Silk browser. A proxy =
that uses server push is a fascinating use case, and it'd be cool to get =
data on that first.

Do you know in which circumstances they use it? (aka only Amazon =
services, or on the Web in general)


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



From ietf-http-wg-request@listhub.w3.org  Sat Jun  9 10:07: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 7DF0C21F8806 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  9 Jun 2012 10:07:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.926
X-Spam-Level: 
X-Spam-Status: No, score=-9.926 tagged_above=-999 required=5 tests=[AWL=0.050, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TechnDpiDHkh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  9 Jun 2012 10:07:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3E3D521F87EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  9 Jun 2012 10:07:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdP6D-0004NH-A9 for ietf-http-wg-dist@listhub.w3.org; Sat, 09 Jun 2012 17:05:17 +0000
Received: from aji.keio.w3.org ([133.27.228.206]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1SdP5o-0004Lm-Tl for ietf-http-wg@listhub.w3.org; Sat, 09 Jun 2012 17:04:53 +0000
Received: from mail-lpp01m010-f43.google.com ([209.85.215.43]) by aji.keio.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <mike@belshe.com>) id 1SdP5g-0005bT-Sw for ietf-http-wg@w3.org; Sat, 09 Jun 2012 17:04:49 +0000
Received: by lahg1 with SMTP id g1so1986680lah.2 for <ietf-http-wg@w3.org>; Sat, 09 Jun 2012 10:03:32 -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 :cc:content-type:x-gm-message-state; bh=fXIUNTI6GWyw5suvZqqMFN+Sb0LUrCHfvKegb9gsd/E=; b=TgYLa63ar/xfkbfTmu0b9Oc8S3VuHtfyWzwBgFpowNXg215JL9i1qMlh1XEcs6kUy0 vCKoGnlh8i0c8ErP8tliiKqiyMut9Bz/f7QYI6sxP8wr+FI8FLLDVYJ01BT7hQfOOZxR Ebk19pAdtyyPWKTtHL9ei6AXcC9BmR2PKjA9ADCvSsX5CFyAvwjYFu5vgWqNUMAmsoM0 9J/WFvewyoiMOmcyBZ6DevTjiwpxfv7XKxAONkrbrJuobRiLCpsmucUiUZo9QycpGTRZ eABpNXWnT19KSkqcHsscuUuyv+8NgC3uxluJ9fCZNhpY2vc/qWCm7lC30EI3CMG6YgXp 1vEA==
MIME-Version: 1.0
Received: by 10.112.83.169 with SMTP id r9mr958670lby.66.1339261412210; Sat, 09 Jun 2012 10:03:32 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Sat, 9 Jun 2012 10:03:32 -0700 (PDT)
In-Reply-To: <op.wfler3eyiw9drz@riaa>
References: <op.wfjd0s2diw9drz@riaa> <CAP+FsNfD3=OYibM8hZOWAB8qxmnO7K=e4=JK+BV50P8y7sDZ6A@mail.gmail.com> <op.wfler3eyiw9drz@riaa>
Date: Sat, 9 Jun 2012 10:03:32 -0700
Message-ID: <CABaLYCtMbCcFMDzJxcHQs49f5iAtL7=hR-b51tvXx=nW=HBNFQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Martin Nilsson <nilsson@opera.com>
Cc: Roberto Peon <grmocg@gmail.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0401fc43bc782a04c20d185e
X-Gm-Message-State: ALoCoQlKsQLfjbyLD4JJtORFYMJNkaMuCaWeIG/5gLVfahsOBJn6C1dt7NS7kyGU8S613i/TzUdQ
Received-SPF: none client-ip=209.85.215.43; envelope-from=mike@belshe.com; helo=mail-lpp01m010-f43.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: aji.keio.w3.org 1SdP5g-0005bT-Sw aa98cac26141332bb7c3b85823859511
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/CABaLYCtMbCcFMDzJxcHQs49f5iAtL7=hR-b51tvXx=nW=HBNFQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13691
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdP6D-0004NH-A9@frink.w3.org>
Resent-Date: Sat, 09 Jun 2012 17:05:17 +0000

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

On Fri, Jun 8, 2012 at 9:29 AM, Martin Nilsson <nilsson@opera.com> wrote:

> On Thu, 07 Jun 2012 21:57:38 +0200, Roberto Peon <grmocg@gmail.com> wrote:
>
>
>> Can you tell us more about your or Opera's operational experience with
>> equivalent features?
>> I'd be rapt at any such presentation!
>>
>>
> We have Opera Mini that uses several different protocols, both similar to
> HTTP as well as of the persistent TCP connection type. These are all binary
> protocols using different versions of request-response, RPC, push features,
> as well as compression of different sorts. We have Opera Turbo, which is
> essentially a modified HTTP with prioritized, out-of-order pipelining and
> some simple compression. Finally we have integrations with different 3rd
> party technologies, some of which are mentioned on the press release pages
> http://www.opera.com/press/**releases/2004/11/04/<http://www.opera.com/press/releases/2004/11/04/>
> http://www.opera.com/press/**releases/2007/02/06/<http://www.opera.com/press/releases/2007/02/06/>
>
> Not really an answer to your question though, I'm afraid. I would need
> more time (and meetings) to collect that...


I'd be interested to hear if Opera would ever open-source these protocols
and any reasons for why or why not that Opera would be willing to disclose.



>
>
>
>> I agree totally that better approaches on the compression side likely
>> exist.
>> I'm surprised at the numbers, though. Our experience in the past was that
>> headers were significantly more compressed than you're seeing here.
>>
>>
> I'm using the same data as the http://www.eecis.udel.edu/~**
> amer/PEL/poc/pdf/SPDY-Fan.pdf<http://www.eecis.udel.edu/~amer/PEL/poc/pdf/SPDY-Fan.pdf>and when using the evaluation set they use I actually get somewhat better
> compression values (probably due to better header normalization).


I feel like we're getting caught up in noise here; looking at single block
compression is uninteresting.  In real world cases, with repeated cookie
blocks, the algorithm does great, at over 85% compression.  We can do
incrementally better and I'm not opposed to that.  But the use of the
dictionary or not is trivial and doesn't matter in the overall picture.

Is there something else you wanted to propose?

Mike


>
>
> /Martin Nilsson
>
> --
> Using Opera's revolutionary email client: http://www.opera.com/mail/
>
>

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

<br><br><div class=3D"gmail_quote">On Fri, Jun 8, 2012 at 9:29 AM, Martin N=
ilsson <span dir=3D"ltr">&lt;<a href=3D"mailto:nilsson@opera.com" target=3D=
"_blank">nilsson@opera.com</a>&gt;</span> wrote:<br><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
<div class=3D"im">On Thu, 07 Jun 2012 21:57:38 +0200, Roberto Peon &lt;<a h=
ref=3D"mailto:grmocg@gmail.com" target=3D"_blank">grmocg@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">
<br>
Can you tell us more about your or Opera&#39;s operational experience with<=
br>
equivalent features?<br>
I&#39;d be rapt at any such presentation!<br>
<br>
</blockquote>
<br></div>
We have Opera Mini that uses several different protocols, both similar to H=
TTP as well as of the persistent TCP connection type. These are all binary =
protocols using different versions of request-response, RPC, push features,=
 as well as compression of different sorts. We have Opera Turbo, which is e=
ssentially a modified HTTP with prioritized, out-of-order pipelining and so=
me simple compression. Finally we have integrations with different 3rd part=
y technologies, some of which are mentioned on the press release pages<br>

<a href=3D"http://www.opera.com/press/releases/2004/11/04/" target=3D"_blan=
k">http://www.opera.com/press/<u></u>releases/2004/11/04/</a><br>
<a href=3D"http://www.opera.com/press/releases/2007/02/06/" target=3D"_blan=
k">http://www.opera.com/press/<u></u>releases/2007/02/06/</a><br>
<br>
Not really an answer to your question though, I&#39;m afraid. I would need =
more time (and meetings) to collect that...</blockquote><div><br></div><div=
>I&#39;d be interested to hear if Opera would ever open-source these protoc=
ols and any reasons for why or why not that Opera would be willing to discl=
ose.</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"i=
m"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
I agree totally that better approaches on the compression side likely exist=
.<br>
I&#39;m surprised at the numbers, though. Our experience in the past was th=
at<br>
headers were significantly more compressed than you&#39;re seeing here.<br>
<br>
</blockquote>
<br></div>
I&#39;m using the same data as the <a href=3D"http://www.eecis.udel.edu/~am=
er/PEL/poc/pdf/SPDY-Fan.pdf" target=3D"_blank">http://www.eecis.udel.edu/~<=
u></u>amer/PEL/poc/pdf/SPDY-Fan.pdf</a> and when using the evaluation set t=
hey use I actually get somewhat better compression values (probably due to =
better header normalization).</blockquote>
<div><br></div><div>I feel like we&#39;re getting caught up in noise here; =
looking at single block compression is uninteresting. =A0In real world case=
s, with repeated cookie blocks, the algorithm does great, at over 85% compr=
ession. =A0We can do incrementally better and I&#39;m not opposed to that. =
=A0But the use of the dictionary or not is trivial and doesn&#39;t matter i=
n the overall picture.</div>
<div><br></div><div>Is there something else you wanted to propose?</div><di=
v><br></div><div>Mike</div><div>=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><di=
v class=3D"HOEnZb">
<div class=3D"h5"><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>
</div></div></blockquote></div><br>

--f46d0401fc43bc782a04c20d185e--


From ietf-http-wg-request@listhub.w3.org  Sat Jun  9 22:08: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 09DF621F8698 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  9 Jun 2012 22:08:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.377
X-Spam-Level: 
X-Spam-Status: No, score=-7.377 tagged_above=-999 required=5 tests=[FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aTixUpwLqvUO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  9 Jun 2012 22:08:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DEE2B21F8685 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  9 Jun 2012 22:08:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdaM4-0006w2-8B for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 05:06:24 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1SdaLo-0006v3-Sb for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 05:06:08 +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 <tbray@textuality.com>) id 1SdaLl-00006q-Ph for ietf-http-wg@w3.org; Sun, 10 Jun 2012 05:06:07 +0000
Received: by obfk16 with SMTP id k16so1195241obf.2 for <ietf-http-wg@w3.org>; Sat, 09 Jun 2012 22:05:39 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=lXWS3IIwQYbVrSFcBUW8mRapTPlXc6wjrhjDNHdJXiQ=; b=CzjENZobYRwxplPA6MFud4s3P3d/ANNc7a/u4GIL08YT22R7+l11/bubxRtcwlG5rk fiuqnSM3I5ojFtzXB8oNAwhqZ2oCaM8dm1VxVDwrUQRucp+EcA5jjc+uRnivnwFmJGxL uEMMbcxVcY59s5VyKOUiyAn0EpCO7Jt0imzInIMeuxXoXZY9qomO3psE8UAw+01GKd2B fostReVWujSva+2RJMYjGy+tBh8FdQ9VajB83lhWv6vxiq0N8rCJNqLqem3VFQG6rwxi kM5a9E5swTVqlv3B2xBU5gC7paFLOyGKVrIH18bUKTMfqzFo8ojXo3GPSfno7huzZYfU hd7Q==
MIME-Version: 1.0
Received: by 10.50.87.227 with SMTP id bb3mr4550648igb.57.1339304739590; Sat, 09 Jun 2012 22:05:39 -0700 (PDT)
Received: by 10.231.80.74 with HTTP; Sat, 9 Jun 2012 22:05:39 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
Date: Sat, 9 Jun 2012 22:05:39 -0700
Message-ID: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8f3ba4d33fd22e04c2172f93
X-Gm-Message-State: ALoCoQk/7qAtZwY9KwqOAngRRM5UDk3y+IlRh/4AE5gCdqz9zNTOHs1WY4KDR73LC6q1uYQs7933
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SdaLl-00006q-Ph 174aa726c96bded041de9a4cfd49bf68
X-Original-To: ietf-http-wg@w3.org
Subject: Status code for censorship?
Archived-At: <http://www.w3.org/mid/CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13692
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdaM4-0006w2-8B@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 05:06:24 +0000

--e89a8f3ba4d33fd22e04c2172f93
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Check out
http://yro.slashdot.org/story/12/06/09/1927246/an-http-status-code-for-cens=
orship

The thinking about returning 403 when you=92re forbidden to follow a link
seems sound to me.  This idea is superficially appealing; is it deeply
broken in some way that=92s not obvious?  -Tim

--e89a8f3ba4d33fd22e04c2172f93
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Check out <a href=3D"http://yro.slashdot.org/story/12/06/09/1927246/an-http=
-status-code-for-censorship">http://yro.slashdot.org/story/12/06/09/1927246=
/an-http-status-code-for-censorship</a><br><br>The thinking about returning=
 403 when you=92re forbidden to follow a link seems sound to me.=A0 This id=
ea is superficially appealing; is it deeply broken in some way that=92s not=
 obvious?=A0 -Tim<br>

--e89a8f3ba4d33fd22e04c2172f93--


From ietf-http-wg-request@listhub.w3.org  Sat Jun  9 22:41: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 0ADE721F8690 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  9 Jun 2012 22:41:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8
X-Spam-Level: 
X-Spam-Status: No, score=-8 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tuh-jwiAun+S for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  9 Jun 2012 22:41:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 30DED21F866E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  9 Jun 2012 22:41:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sdasc-0002Lx-F2 for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 05:40:02 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <martin.thomson@gmail.com>) id 1Sdas8-0002K2-RB for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 05:39:32 +0000
Received: from mail-bk0-f43.google.com ([209.85.214.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <martin.thomson@gmail.com>) id 1Sdas6-0003Rv-Pg for ietf-http-wg@w3.org; Sun, 10 Jun 2012 05:39:31 +0000
Received: by bkty5 with SMTP id y5so2910796bkt.2 for <ietf-http-wg@w3.org>; Sat, 09 Jun 2012 22:39: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:content-transfer-encoding; bh=w4xpnakJVN5u5f0J+SOOkjY2jM6bPXxLS1PIhZ/4tnU=; b=iPdr08R22tNGHylKqOOoU1ePSxlcO8l9LlbxHbo1DOU31WZEOz40D+XVm3hmyvKMdS VDs4JdoiXTJLqNIq4oAK8aNuPrKCntNJia8Hpk2vPL4ydoiGf8Bgl/7LssToG75sHPjj uHnVUiJYxWANQxHJK3Uc0dv87nAqNbW6ue/5BqnpJgq2BowNAY7IKoNQA2EYCCSidtqM YU74Ldi4hrpq7EoOu28WKfnhdU0nWUEQfAP7oyseD16V/vIAnXGJDH1TAb1yzBH1RJJz 7B5tea/Jp1EQ/KebA5YCaEkY/gX0kQBcMcj2l5sO1C20PZ7apM3vKnUZsrLCYJr0tiNY QL0Q==
MIME-Version: 1.0
Received: by 10.204.152.13 with SMTP id e13mr8825483bkw.46.1339306743932; Sat, 09 Jun 2012 22:39:03 -0700 (PDT)
Received: by 10.204.66.4 with HTTP; Sat, 9 Jun 2012 22:39:03 -0700 (PDT)
In-Reply-To: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com>
Date: Sat, 9 Jun 2012 22:39:03 -0700
Message-ID: <CABkgnnXrPAcZbqO5vapO5ZhSzmz68Awws_krcHucsi4oghbr2g@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=209.85.214.43; envelope-from=martin.thomson@gmail.com; helo=mail-bk0-f43.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: lisa.w3.org 1Sdas6-0003Rv-Pg ccb2d9e96b0743132196074450336255
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/CABkgnnXrPAcZbqO5vapO5ZhSzmz68Awws_krcHucsi4oghbr2g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13693
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sdasc-0002Lx-F2@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 05:40:02 +0000

On 9 June 2012 22:05, Tim Bray <tbray@textuality.com> wrote:
> The thinking about returning 403 when you=E2=80=99re forbidden to follow =
a link
> seems sound to me.=C2=A0 This idea is superficially appealing; is it deep=
ly
> broken in some way that=E2=80=99s not obvious?=C2=A0 -Tim

The temptation to suggest 418 is strong, but 403 is essentially
correct.  The entity making the authorization decision might not be
the usual or expected one, but that is the decision they are making.

--Martin

p.s. It is less about following the link than it is about interacting
with the resource identified by that link.


From ietf-http-wg-request@listhub.w3.org  Sat Jun  9 23:55: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 9DF1121F869C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  9 Jun 2012 23:55:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8
X-Spam-Level: 
X-Spam-Status: No, score=-8 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZUNBqbk3xCFa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat,  9 Jun 2012 23:55:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 234F621F8698 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat,  9 Jun 2012 23:55:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sdc2Z-0001Db-Es for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 06:54:23 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ynir@checkpoint.com>) id 1Sdc2F-0001CY-Ns for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 06:54:03 +0000
Received: from smtp.checkpoint.com ([194.29.34.68] helo=michael.checkpoint.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sdc2C-0002wz-Nx for ietf-http-wg@w3.org; Sun, 10 Jun 2012 06:54:02 +0000
Received: from il-ex01.ad.checkpoint.com (dlpgw.checkpoint.com [194.29.34.27]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id q5A6rU7F019941; Sun, 10 Jun 2012 09:53:30 +0300
X-CheckPoint: {4FD44443-10000-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Sun, 10 Jun 2012 09:53:22 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: "'Martin Thomson'" <martin.thomson@gmail.com>, Tim Bray <tbray@textuality.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sun, 10 Jun 2012 09:53:16 +0300
Thread-Topic: Status code for censorship?
Thread-Index: Ac1Gy8hwfW/CRoHGSd+dnBg64Pe7tQACL9Vg
Message-ID: <006FEB08D9C6444AB014105C9AEB133F017A7C056C85@il-ex01.ad.checkpoint.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABkgnnXrPAcZbqO5vapO5ZhSzmz68Awws_krcHucsi4oghbr2g@mail.gmail.com>
In-Reply-To: <CABkgnnXrPAcZbqO5vapO5ZhSzmz68Awws_krcHucsi4oghbr2g@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
x-cpdlp: 11f26371bd17b9e7880619a313ca31d9f379e02bce
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=michael.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sdc2C-0002wz-Nx dc6792ca8bf35603c7de88db2076d9e0
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Status code for censorship?
Archived-At: <http://www.w3.org/mid/006FEB08D9C6444AB014105C9AEB133F017A7C056C85@il-ex01.ad.checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13694
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sdc2Z-0001Db-Es@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 06:54:23 +0000

The value of status codes is in aiding trouble-shooting. So using a differe=
nt code for when a MitM has made the decision, as opposed to when the serve=
r has made the decision seems appropriate.

If you get a 403, you clear cookies, try again, and send an email to thepir=
atebay.
If you got a number that shows a policy decision by the government (probabl=
y enforced by the ISP), you send an email to your congressman/MP/vote for s=
omeone else.

Maybe we need several codes, for government mandate, decision by ISP, decis=
ion by your employer (implemented on a perimeter firewall), and for a polic=
y you've asked for (like netnanny)

-----Original Message-----
From: Martin Thomson [mailto:martin.thomson@gmail.com]=20
Sent: 10 June 2012 08:39
To: Tim Bray
Cc: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?

On 9 June 2012 22:05, Tim Bray <tbray@textuality.com> wrote:
> The thinking about returning 403 when you're forbidden to follow a=20
> link seems sound to me.=A0 This idea is superficially appealing; is it=20
> deeply broken in some way that's not obvious?=A0 -Tim

The temptation to suggest 418 is strong, but 403 is essentially correct.  T=
he entity making the authorization decision might not be the usual or expec=
ted one, but that is the decision they are making.

--Martin

p.s. It is less about following the link than it is about interacting with =
the resource identified by that link.



From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 00:45: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 2435321F865E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 00:45:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.999
X-Spam-Level: 
X-Spam-Status: No, score=-7.999 tagged_above=-999 required=5 tests=[AWL=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ImAaZHvv00kC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 00:45:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 57FA221F865D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 00:45:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdcoT-0007a7-U7 for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 07:43:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ynir@checkpoint.com>) id 1Sdcnx-0007ZC-HN for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 07:43:21 +0000
Received: from smtp.checkpoint.com ([194.29.34.68] helo=michael.checkpoint.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1Sdcnu-00041r-1e for ietf-http-wg@w3.org; Sun, 10 Jun 2012 07:43:19 +0000
Received: from il-ex01.ad.checkpoint.com (dlpgw.checkpoint.com [194.29.34.27]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id q5A7glUi027000; Sun, 10 Jun 2012 10:42:47 +0300
X-CheckPoint: {4FD44FCF-10002-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Sun, 10 Jun 2012 10:42:45 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
CC: "'mcgrew@cisco.com'" <mcgrew@cisco.com>, "'Dan Wing'" <dwing@cisco.com>
Date: Sun, 10 Jun 2012 10:42:44 +0300
Thread-Topic: Explicit Proxy (draft-rpeon-httpbis-exproxy)
Thread-Index: Ac1G3J67G8iTotDEQBOgldlz1ERg/A==
Message-ID: <006FEB08D9C6444AB014105C9AEB133F017A7C056C86@il-ex01.ad.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
x-cpdlp: 11408ccaa353d8a4872c7d16076d91090f7a761fa4
Content-Type: multipart/alternative; boundary="_000_006FEB08D9C6444AB014105C9AEB133F017A7C056C86ilex01adche_"
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=michael.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sdcnu-00041r-1e 3cc0647cf7264def1ff952609b5640a8
X-Original-To: ietf-http-wg@w3.org
Subject: Explicit Proxy (draft-rpeon-httpbis-exproxy)
Archived-At: <http://www.w3.org/mid/006FEB08D9C6444AB014105C9AEB133F017A7C056C86@il-ex01.ad.checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13695
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdcoT-0007a7-U7@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 07:43:53 +0000

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

Hi

I've read the draft.  I don't really understand how the caching proxy is pr=
evented from inspecting non-cached data. If it's only trusted to do so, the=
n OK, but both the "Bob" connection and the "Don" connection are point-to-p=
oint, so "Chris" always gets to see the clear traffic.

One building block to consider is the now expired draft for TLS proxies: ht=
tp://tools.ietf.org/id/draft-mcgrew-tls-proxy-server-00.html

The not-yet-published newer version of this draft will have all of the foll=
owing:

 *   The proxy authenticates to the client (so proxies can be explicitly co=
nfigured)
 *   The proxy uses a TLS extension to show the cilent the real certificate=
 chain presented by the server (so trust and EV status can be determined, a=
nd the client can check revocation on its own)
 *   The proxy can send an indication to the server that it is on-path (not=
 in the -00 draft and needed for client authentication)

I think it's better to indicate the presence of a proxy in the TLS layer th=
en as part of the application (last paragraph in section 6). I also don't s=
ee value (for the server) in distinguishing between caching and trusted pro=
xy, since the client has no control over the behavior of the proxy. IOW if =
I were writing a web application for an health service provider, and the ne=
w version of HIPAA prohibits showing test results with a MitM present, it w=
ould not be prudent to allow them with any proxy present. Even if the clien=
t swears it's only a caching proxy.

Yoav


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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META content=3D"text/html; charset=3Dus-ascii" http-equiv=3DContent-Type>
<META name=3DGENERATOR content=3D"MSHTML 8.00.7600.16968"></HEAD>
<BODY><!-- Converted from text/plain format -->
<P>Hi<BR><BR>I've read the draft.&nbsp; I don't really understand how the=20
caching proxy is prevented from inspecting non-cached data. If it's only tr=
usted=20
to do so, then OK, but both the "Bob" connection and the "Don" connection a=
re=20
point-to-point, so "Chris" always gets to see the clear traffic.</P>
<P>One&nbsp;building block&nbsp;to consider is the now expired draft for TL=
S=20
proxies: <A=20
href=3D"http://tools.ietf.org/id/draft-mcgrew-tls-proxy-server-00.html">htt=
p://tools.ietf.org/id/draft-mcgrew-tls-proxy-server-00.html</A><BR><BR>The=
=20
not-yet-published newer version of this draft will have all of the=20
following:</P>
<UL>
  <LI>The proxy authenticates to the client (so proxies can be explicitly=20
  configured)</LI>
  <LI>The proxy uses a TLS extension to show the cilent the real certificat=
e=20
  chain presented by the server (so trust and EV&nbsp;status can be determi=
ned,=20
  and the client can&nbsp;check revocation on its own)</LI>
  <LI>The proxy can send an indication to the server that it is on-path (no=
t in=20
  the -00 draft and needed for client authentication)</LI></UL>
<DIV>I think it's better to indicate the presence of a proxy in the TLS lay=
er=20
then as part of the application (last paragraph in section 6). I also don't=
 see=20
value (for the server) in distinguishing between caching and trusted proxy,=
=20
since the client has no control over the behavior of the proxy. IOW if I we=
re=20
writing a web application for an health service provider, and the new versi=
on of=20
HIPAA prohibits showing test results with a MitM present, it would not be=20
prudent to allow them with any proxy present. Even if the client swears it'=
s=20
only a caching proxy.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DTahoma>Yoav</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

--_000_006FEB08D9C6444AB014105C9AEB133F017A7C056C86ilex01adche_--


From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 02:32: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 192EE21F8621 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 02:32:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8
X-Spam-Level: 
X-Spam-Status: No, score=-8 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cCngNGvFbtx6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 02:32:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EB0F921F85DB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 02:32:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdeUF-0000JP-Rj for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 09:31:07 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jrn@jrn.me.uk>) id 1SdeU2-0000IW-AF for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 09:30:54 +0000
Received: from caiajhbdccac.dreamhost.com ([208.97.132.202] helo=homiemail-a62.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SdeTz-0006ci-Si for ietf-http-wg@w3.org; Sun, 10 Jun 2012 09:30:52 +0000
Received: from homiemail-a62.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTP id 4BFAC634073 for <ietf-http-wg@w3.org>; Sun, 10 Jun 2012 02:30:30 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=message-id:date:from :mime-version:to:subject:references:in-reply-to:content-type: content-transfer-encoding; q=dns; s=jrn.me.uk; b=mPYRXINKaFqjwGo CWLv9OhbDdEeH7HtbOqscTonqhgbnnh3A8A/HHewK8T1tfk5M7WUDwln/BQal60e yELqQkndIePzqCUQnhUbvuS/7R2V6Ks/5n2bPZxobfsY8uyZ/uqDhpPxfipvbKxX ksD9gDzgKCt4SsS7jSeEMmEwzmVM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=jrn.me.uk; bh=/YbXjRg kmq6/TEzjMgSjLoishdU=; b=Qm3xtLVcXca5qZWzFnkF6saXU1pKD8HHcdbVdBh sNSMoee8hy39HKPibm0QJ31R9gopMNcDmRZz2dN+/0zXarNEojreAg5SNgY9EG2m cQ7Ssyv2Y/HNTMIJ5AOEcOERLZwVnfkhG3albOzHd9DrgXjaNnnF4YSIDt6D28hj 74JQ=
Received: from [192.168.1.68] (94-194-232-105.zone8.bethere.co.uk [94.194.232.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTPSA id DA72563406F for <ietf-http-wg@w3.org>; Sun, 10 Jun 2012 02:30:29 -0700 (PDT)
Message-ID: <4FD46932.1030609@jrn.me.uk>
Date: Sun, 10 Jun 2012 10:30:26 +0100
From: J Ross Nicoll <jrn@jrn.me.uk>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABkgnnXrPAcZbqO5vapO5ZhSzmz68Awws_krcHucsi4oghbr2g@mail.gmail.com> <006FEB08D9C6444AB014105C9AEB133F017A7C056C85@il-ex01.ad.checkpoint.com>
In-Reply-To: <006FEB08D9C6444AB014105C9AEB133F017A7C056C85@il-ex01.ad.checkpoint.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=208.97.132.202; envelope-from=jrn@jrn.me.uk; helo=homiemail-a62.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
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_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SdeTz-0006ci-Si 1eb89062bc5871ec23a1612b0b54743c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/4FD46932.1030609@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13696
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdeUF-0000JP-Rj@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 09:31:07 +0000

Technically, the request is not intended to be repeated if you see a 403 
( "Authorization will not help and the request SHOULD NOT be repeated." )

My interpretation has always been that 403 is a fairly broad-scoped 
error code, and this is not accidental. If there's a need to provide 
machine-readable detail, I would suggest a new header is the correct answer.

Although surely the correct answer here is that the connections should 
be rejected at the TCP level, anyway.

On 10/06/2012 07:53, Yoav Nir wrote:
> The value of status codes is in aiding trouble-shooting. So using a different code for when a MitM has made the decision, as opposed to when the server has made the decision seems appropriate.
>
> If you get a 403, you clear cookies, try again, and send an email to thepiratebay.
> If you got a number that shows a policy decision by the government (probably enforced by the ISP), you send an email to your congressman/MP/vote for someone else.
>
> Maybe we need several codes, for government mandate, decision by ISP, decision by your employer (implemented on a perimeter firewall), and for a policy you've asked for (like netnanny)
>
> -----Original Message-----
> From: Martin Thomson [mailto:martin.thomson@gmail.com]
> Sent: 10 June 2012 08:39
> To: Tim Bray
> Cc: ietf-http-wg@w3.org
> Subject: Re: Status code for censorship?
>
> On 9 June 2012 22:05, Tim Bray <tbray@textuality.com> wrote:
>> The thinking about returning 403 when you're forbidden to follow a
>> link seems sound to me.  This idea is superficially appealing; is it
>> deeply broken in some way that's not obvious?  -Tim
> The temptation to suggest 418 is strong, but 403 is essentially correct.  The entity making the authorization decision might not be the usual or expected one, but that is the decision they are making.
>
> --Martin
>
> p.s. It is less about following the link than it is about interacting with the resource identified by that link.
>
>




From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 07:10: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 8B66721F85F2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 07:10: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iaFAyhZey-+M for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 07:10:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 16F5821F85E3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 07:10:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdioI-0002Xx-GA for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 14:08:06 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sdio3-0002Ws-Kc for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 14:07:51 +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 1Sdiny-00029M-Ve for ietf-http-wg@w3.org; Sun, 10 Jun 2012 14:07:49 +0000
Received: (qmail invoked by alias); 10 Jun 2012 14:07:16 -0000
Received: from p5DD95838.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.88.56] by mail.gmx.net (mp001) with SMTP; 10 Jun 2012 16:07:16 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18LNWQNAxgLUbOV3ou7qJEDFfj4QWOAsvlbfeVuB0 BmCyHvycV2Ynq3
Message-ID: <4FD4AA10.7050208@gmx.de>
Date: Sun, 10 Jun 2012 16:07:12 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <3177CA14-4B84-407C-A6B9-9B965D5E1EA2@mnot.net> <3C4FC18F-D99C-4737-9B30-7EEB786F554F@mnot.net> <4FD1D044.6010202@gmx.de>
In-Reply-To: <4FD1D044.6010202@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Sdiny-00029M-Ve 288ece028b37b67143827944edd35387
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #346: Registry policies
Archived-At: <http://www.w3.org/mid/4FD4AA10.7050208@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13697
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdioI-0002Xx-GA@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 14:08:06 +0000

On 2012-06-08 12:13, Julian Reschke wrote:
> On 2012-06-08 09:40, Mark Nottingham wrote:
>>
>> I haven't seen much response to this, except a +1 from Julian.
>>
>> So, the proposed resolution is: to keep Transfer-Codings and
>> Content-Codings at IETF Review, and return Upgrade Tokens
>> First-Come-First-Served.
>>
>> Any further comments? If not, we'll close and incorporate.
>>
>> Regards,
>> ...
>
> Proposed change:
> <http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/346/346.2.diff>

Hearing no objections -> 
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1674>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 08:56: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 A3A4F21F85F6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 08:56:07 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G8vbqMs5PmcO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 08:56:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1E54821F85EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 08:56:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdkTb-0003Al-Mc for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 15:54:51 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dwm@xpasc.com>) id 1SdkTO-00038P-Ni for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 15:54:38 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1SdkTM-0008R8-36 for ietf-http-wg@w3.org; Sun, 10 Jun 2012 15:54:36 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 900B740941 for <ietf-http-wg@w3.org>; Sun, 10 Jun 2012 15:54:08 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q5AFs8Zn020870 for <ietf-http-wg@w3.org>; Sun, 10 Jun 2012 08:54:08 -0700
Date: Sun, 10 Jun 2012 08:54:08 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: "'HTTP Working Group'" <ietf-http-wg@w3.org>
To: "'HTTP Working Group'" <ietf-http-wg@w3.org>
In-Reply-To: <4FD46932.1030609@jrn.me.uk>
Message-ID: <alpine.LRH.2.01.1206100844100.19099@egate.xpasc.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABkgnnXrPAcZbqO5vapO5ZhSzmz68Awws_krcHucsi4oghbr2g@mail.gmail.com> <006FEB08D9C6444AB014105C9AEB133F017A7C056C85@il-ex01.ad.checkpoint.com> <4FD46932.1030609@jrn.me.uk>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.24-gef8a08a
X-CLX-ID: a110AD3GD7Hu1vr-5A08548
X-CLX-Spam: false
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.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 1SdkTM-0008R8-36 c379e73276803ca25f2674dc682a3dec
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1206100844100.19099@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13698
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdkTb-0003Al-Mc@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 15:54:51 +0000

On Sun, 10 Jun 2012, J Ross Nicoll wrote:

> Although surely the correct answer here is that the connections should be
> rejected at the TCP level, anyway.

It is kind of hard to report/enforce a content based decision at the TCP
level with any kind of meaningful diagnosic information. Many forms of
censorship are based on the bytes on the wire (content, URL, etc.) so
aborting the connection is about the only choice. Highly likely that
the request will be repeated.


From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 10:24: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 02A8821F857F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 10:24:08 -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=[BAYES_50=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2dAR22s3Snww for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 10:24:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 518FE21F8589 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 10:24:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdlqX-0001xA-3j for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 17:22:37 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alexey.melnikov@isode.com>) id 1SdlqJ-0001tU-ED for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 17:22:23 +0000
Received: from rufus.isode.com ([62.3.217.251]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SdlqG-00011w-N8 for ietf-http-wg@w3.org; Sun, 10 Jun 2012 17:22:21 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1339348918; d=isode.com; s=selector; i=@isode.com; bh=LZjjjjsiIA3zbM2qTwP6rGeS6R9cSNyj9WeEC1VKHUc=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=Y9Qf1vFOlalfP8mXpIew+ZuPf4J0Iaq9XFWeZfNM9ytswH/plODspUc32+7pCRyBsk/zFJ Z7SY8Lw0un9WxXOcEfogXOEGg8UQsRi3JalREoMRJ/BRvfOWgbDqWAGW2fZRoewbrSRADe KEAw4JP6kvjuNw/CnhIsknB+YwCmVbo=;
Received: from [188.28.164.227] (188.28.164.227.threembb.co.uk [188.28.164.227])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <T9TXtAAE47pn@rufus.isode.com>; Sun, 10 Jun 2012 18:21:58 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
Message-Id: <C8F62D17-2D64-4FBA-A6B8-80652465150B@isode.com>
Date: Sun, 10 Jun 2012 18:21:54 +0100
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: iPad Mail (9B206)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=rufus.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SdlqG-00011w-N8 01f899637bd4f375faf6b9e733916cd7
X-Original-To: ietf-http-wg@w3.org
Subject: Comments on draft-oiwa-httpbis-auth-extension-00
Archived-At: <http://www.w3.org/mid/C8F62D17-2D64-4FBA-A6B8-80652465150B@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13699
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdlqX-0001xA-3j@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 17:22:37 +0000

In general I think this is a useful document and it is worth working on in t=
he WG. Below are my general comments (I would have nitpicked a bit more if t=
his document was in IETF LC).

Optional authentication: is a new header field really needed or can this be a=
lready done using a 200 response containing a WWW-Authenticate header field?=
 Was use of 200 with WWW-Authenticate tried and it didn't work with existing=
 browsers?

Section 3, last paragraph: some MAYs in the last couple of sentences look in=
correct. I also think that making some HTTP authentication schemes require t=
his header field would be a mistake, at least before HTTP authentication fra=
mework is updated to include the new header field.

Similar text in Section 4, 2nd paragraph. The same problem.

In 4.3, 2nd to the last paragraph, last sentence: I think you need to specif=
y which one wins (or to ignore the whole header field), otherwise this is no=
t very useful.

In 4.3, last paragraph: avoid passive voice. Otherwise it is not clear whom t=
he SHOULD/SHOULD NOT applies to. Also the use of SHOULD doesn't seem to be c=
orrect, but I can't tell until you clarify whom it applies to.

 In 4.2 and 4.4: the pattern "MUST be an absolute URI, MAY be treated as rel=
ative if not" seems a bit wrong. Either use of absolute URIs is optional (an=
d then you must use SHOULD/MAY), or it is not and the MAY needs to be droppe=
d. Either way, use of MAY is incorrect here.

In 4.4: I think you meant "authentication sessions" instead of "authenticati=
on period"

Is auth-style value correct in Section 5.2?

Best Regards,
Alexey



From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 11:53: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 11D9F21F8551 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 11:53:58 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GYINhelg7pd8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 11:53:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6049F21F8550 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 11:53:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdnF5-0003fO-3z for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 18:52:03 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1SdnEt-0003eX-Ni for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 18:51:51 +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 1SdnEr-0004Ei-0u for ietf-http-wg@w3.org; Sun, 10 Jun 2012 18:51:50 +0000
Received: by wgbdt14 with SMTP id dt14so2147480wgb.26 for <ietf-http-wg@w3.org>; Sun, 10 Jun 2012 11:51:22 -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=2mOZMPMdcrkSSm0yxpdg16XtuNBd4Z17xpk37fRU3Tc=; b=Nvoz883QUtJsXgPXh/NkMtksA/2jzvApYHrPSPouQ6LO0WAxIpGAK2P+qj+DV3pm0m s//DpHR8sEPClOd3uETfAuqZ0+MmxGAFNhPJpZITzpZWm5WhrZsyjWBq4xFf4uSTKB1n fvx4in2NPmaybdBalk8jWVPO4N2oNm311j9g/rSMi6eECRnl8K9AIP8pRwVgAyZltyz4 Gmo5flO3EhLxcXeovj1UjxqTscHC6kkX5dXSUA7njQ2HPxK02I2lewELWgtzLvV79F/A yDolVdf3RLhBcWwjUjxjF+lAPBoCBMWv60mqHL3ZS6N0wx9FLuBgxRqX9rptmF6rJtcT O07Q==
MIME-Version: 1.0
Received: by 10.216.199.75 with SMTP id w53mr5077716wen.14.1339354282033; Sun, 10 Jun 2012 11:51:22 -0700 (PDT)
Received: by 10.223.173.67 with HTTP; Sun, 10 Jun 2012 11:51:21 -0700 (PDT)
Received: by 10.223.173.67 with HTTP; Sun, 10 Jun 2012 11:51:21 -0700 (PDT)
In-Reply-To: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com>
Date: Sun, 10 Jun 2012 11:51:21 -0700
Message-ID: <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=0016e6d644e83580c204c222b84c
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 1SdnEr-0004Ei-0u 61ffdc6de17683ff258ae34f03d8a4f0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13700
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdnF5-0003fO-3z@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 18:52:03 +0000

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

Quite honestly, while 403 would probably work just fine, I think a
dedicated status code in the 5xx range would make for a better approach, if
only from an informational point of view.

HTTP/1.1 512 Service Blocked

Sends a very clear message and makes the fact that the service is being
censored, as opposed to merely being technically unavailable, quite clear.
On Jun 9, 2012 10:09 PM, "Tim Bray" <tbray@textuality.com> wrote:

> Check out
> http://yro.slashdot.org/story/12/06/09/1927246/an-http-status-code-for-ce=
nsorship
>
> The thinking about returning 403 when you=E2=80=99re forbidden to follow =
a link
> seems sound to me.  This idea is superficially appealing; is it deeply
> broken in some way that=E2=80=99s not obvious?  -Tim
>

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

<p>Quite honestly, while 403 would probably work just fine, I think a dedic=
ated status code in the 5xx range would make for a better approach, if only=
 from an informational point of view.</p>
<p>HTTP/1.1 512 Service Blocked</p>
<p>Sends a very clear message and makes the fact that the service is being =
censored, as opposed to merely being technically unavailable, quite clear.<=
br></p>
<div class=3D"gmail_quote">On Jun 9, 2012 10:09 PM, &quot;Tim Bray&quot; &l=
t;<a href=3D"mailto:tbray@textuality.com">tbray@textuality.com</a>&gt; wrot=
e:<br type=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Check out <a href=3D"http://yro.slashdot.org/story/12/06/09/1927246/an-http=
-status-code-for-censorship" target=3D"_blank">http://yro.slashdot.org/stor=
y/12/06/09/1927246/an-http-status-code-for-censorship</a><br><br>The thinki=
ng about returning 403 when you=E2=80=99re forbidden to follow a link seems=
 sound to me.=C2=A0 This idea is superficially appealing; is it deeply brok=
en in some way that=E2=80=99s not obvious?=C2=A0 -Tim<br>

</blockquote></div>

--0016e6d644e83580c204c222b84c--


From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 12:54: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 172B621F850D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 12:54:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.632
X-Spam-Level: 
X-Spam-Status: No, score=-6.632 tagged_above=-999 required=5 tests=[AWL=1.367, BAYES_50=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wBHaPCCbmc4I for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 12:54:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F1F8221F8440 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 12:54:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdoCJ-0001wG-PW for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 19:53:15 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SdoBt-0001uR-MG for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 19:52:49 +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 1SdoBq-0006CE-HH for ietf-http-wg@w3.org; Sun, 10 Jun 2012 19:52:47 +0000
Received: (qmail invoked by alias); 10 Jun 2012 19:52:19 -0000
Received: from p5DD95838.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.88.56] by mail.gmx.net (mp027) with SMTP; 10 Jun 2012 21:52:19 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+LzXNRrgmLidfWEcYzQr4N+kyM0mQmhDI404hPSM svW5ezsR/zX5KO
Message-ID: <4FD4FAF0.8060104@gmx.de>
Date: Sun, 10 Jun 2012 21:52:16 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SdoBq-0006CE-HH 66117a01df8457da9b7749b87cd0fe39
X-Original-To: ietf-http-wg@w3.org
Subject: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD4FAF0.8060104@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13701
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdoCJ-0001wG-PW@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 19:53:15 +0000

This is a left-over TODO from previous ABNF discussions -- Cache-Control 
currently defines directives as part of it's value ABNF; which makes it 
look as if generic parsers need to special-case the predefined 
directives. Hopefully we all agree that parsers should be generic (as we 
suggest for new header fields in P2).

Thus I'd like to simplify the Cache-Control ABNF to the bare minimum, 
and then define the individual directives in separate subsections. 
Here's how this might look:

3.2.  Cache-Control

    The "Cache-Control" header field is used to specify directives for
    caches along the request/response chain.  Such cache directives are
    unidirectional in that the presence of a directive in a request does
    not imply that the same directive is to be given in the response.

    A cache MUST obey the requirements of the Cache-Control directives
    defined in this section.  See Section 3.2.3 for information about how
    Cache-Control directives defined elsewhere are handled.

       Note: HTTP/1.0 caches might not implement Cache-Control and might
       only implement Pragma: no-cache (see Section 3.4).

    A proxy, whether or not it implements a cache, MUST pass cache
    directives through in forwarded messages, regardless of their
    significance to that application, since the directives might be
    applicable to all recipients along the request/response chain.  It is
    not possible to target a directive to a specific cache.

    Cache directives are identified by a token, to be compared case-
    insensitively, and have an optional argument, that can use both token
    and quoted-string syntax.  Recipients MUST accept both forms.

      Cache-Control   = 1#cache-directive

      cache-directive = token [ "=" ( token / quoted-string ) ]

    For the cache directives defined below, no argument is defined (nor
    allowed) otherwise stated otherwise.

3.2.1.  Request Cache-Control Directives

3.2.1.1.  no-cache

    The no-cache request directive indicates that a cache MUST NOT use a
    stored response to satisfy the request without successful validation
    on the origin server.

3.2.1.2.  no-store

    The no-store request directive indicates that a cache MUST NOT store
    any part of either this request or any response to it.  This
    directive applies to both private and shared caches.  "MUST NOT
    store" in this context means that the cache MUST NOT intentionally
    store the information in non-volatile storage, and MUST make a best-
    effort attempt to remove the information from volatile storage as
    promptly as possible after forwarding it.

    This directive is NOT a reliable or sufficient mechanism for ensuring
    privacy.  In particular, malicious or compromised caches might not
    recognize or obey this directive, and communications networks might
    be vulnerable to eavesdropping.

    Note that if a request containing this directive is satisfied from a
    cache, the no-store request directive does not apply to the already
    stored response.

3.2.1.3.  max-age

    Argument syntax:

       delta-seconds (see Section 1.5)

    The max-age request directive indicates that the client is unwilling
    to accept a response whose age is greater than the specified number
    of seconds.  Unless the max-stale request directive is also present,
    the client is not willing to accept a stale response.

3.2.1.4.  max-stale

    Argument syntax:

       delta-seconds (see Section 1.5)

    The max-stale request directive indicates that the client is willing
    to accept a response that has exceeded its expiration time.  If max-
    stale is assigned a value, then the client is willing to accept a
    response that has exceeded its expiration time by no more than the
    specified number of seconds.  If no value is assigned to max-stale,
    then the client is willing to accept a stale response of any age.

3.2.1.5.  min-fresh

    Argument syntax:

       delta-seconds (see Section 1.5)

    The min-fresh request directive indicates that the client is willing
    to accept a response whose freshness lifetime is no less than its
    current age plus the specified time in seconds.  That is, the client
    wants a response that will still be fresh for at least the specified
    number of seconds.

3.2.1.6.  no-transform

    The no-transform request directive indicates that an intermediary
    (whether or not it implements a cache) MUST NOT change the Content-
    Encoding, Content-Range or Content-Type request header fields, nor
    the request representation.

3.2.1.7.  only-if-cached

    The only-if-cached request directive indicates that the client only
    wishes to obtain a stored response.  If it receives this directive, a
    cache SHOULD either respond using a stored response that is
    consistent with the other constraints of the request, or respond with
    a 504 (Gateway Timeout) status code.  If a group of caches is being
    operated as a unified system with good internal connectivity, a
    member cache MAY forward such a request within that group of caches.

3.2.2.  Response Cache-Control Directives

3.2.2.1.  public

    The public response directive indicates that a response whose
    associated request contains an 'Authentication' header MAY be stored
    (see Section 2.7).

3.2.2.2.  private

    Argument syntax:

       #field-name

    The private response directive indicates that the response message is
    intended for a single user and MUST NOT be stored by a shared cache.
    A private cache MAY store the response.

    If the private response directive specifies one or more field-names,
    this requirement is limited to the field-values associated with the
    listed response header fields.  That is, a shared cache MUST NOT
    store the specified field-names(s), whereas it MAY store the
    remainder of the response message.

    The field-names given are not limited to the set of standard header
    fields defined by this specification.  Field names are case-
    insensitive.

    Note: This usage of the word "private" only controls where the
    response can be stored; it cannot ensure the privacy of the message
    content.  Also, private response directives with field-names are
    often handled by implementations as if an unqualified private
    directive was received; i.e., the special handling for the qualified
    form is not widely implemented.

    Note: For compatibility with non-robust recipients, even a single-
    entry list of field names SHOULD be sent using the quoted-string
    syntax.

3.2.2.3.  no-cache

    Argument syntax:

       #field-name

    The no-cache response directive indicates that the response MUST NOT
    be used to satisfy a subsequent request without successful validation
    on the origin server.  This allows an origin server to prevent a
    cache from using it to satisfy a request without contacting it, even
    by caches that have been configured to return stale responses.

    If the no-cache response directive specifies one or more field-names,
    then a cache MAY use the response to satisfy a subsequent request,
    subject to any other restrictions on caching.  However, any header
    fields in the response that have the field-name(s) listed MUST NOT be
    sent in the response to a subsequent request without successful
    revalidation with the origin server.  This allows an origin server to
    prevent the re-use of certain header fields in a response, while
    still allowing caching of the rest of the response.

    The field-names given are not limited to the set of standard header
    fields defined by this specification.  Field names are case-
    insensitive.

    Note: Most HTTP/1.0 caches will not recognize or obey this directive.
    Also, no-cache response directives with field-names are often handled
    by implementations as if an unqualified no-cache directive was
    received; i.e., the special handling for the qualified form is not
    widely implemented.

    Note: For compatibility with non-robust recipients, even a single-
    entry list of field names SHOULD be sent using the quoted-string
    syntax.

3.2.2.4.  no-store

    The no-store response directive indicates that a cache MUST NOT store
    any part of either the immediate request or response.  This directive
    applies to both private and shared caches.  "MUST NOT store" in this
    context means that the cache MUST NOT intentionally store the
    information in non-volatile storage, and MUST make a best-effort
    attempt to remove the information from volatile storage as promptly
    as possible after forwarding it.

    This directive is NOT a reliable or sufficient mechanism for ensuring
    privacy.  In particular, malicious or compromised caches might not
    recognize or obey this directive, and communications networks might
    be vulnerable to eavesdropping.

3.2.2.5.  must-revalidate

    The must-revalidate response directive indicates that once it has
    become stale, a cache MUST NOT use the response to satisfy subsequent
    requests without successful validation on the origin server.

    The must-revalidate directive is necessary to support reliable
    operation for certain protocol features.  In all circumstances a
    cache MUST obey the must-revalidate directive; in particular, if a
    cache cannot reach the origin server for any reason, it MUST generate
    a 504 (Gateway Timeout) response.

    The must-revalidate directive ought to be used by servers if and only
    if failure to validate a request on the representation could result
    in incorrect operation, such as a silently unexecuted financial
    transaction.

3.2.2.6.  proxy-revalidate

    The proxy-revalidate response directive has the same meaning as the
    must-revalidate response directive, except that it does not apply to
    private caches.

3.2.2.7.  max-age

    Argument syntax:

       delta-seconds (see Section 1.5)

    The max-age response directive indicates that the response is to be
    considered stale after its age is greater than the specified number
    of seconds.

3.2.2.8.  s-maxage

    Argument syntax:

       delta-seconds (see Section 1.5)

    The s-maxage response directive indicates that, in shared caches, the
    maximum age specified by this directive overrides the maximum age
    specified by either the max-age directive or the Expires header
    field.  The s-maxage directive also implies the semantics of the
    proxy-revalidate response directive.

3.2.2.9.  no-transform

    The no-transform response directive indicates that an intermediary
    (regardless of whether it implements a cache) MUST NOT change the
    Content-Encoding, Content-Range or Content-Type response header
    fields, nor the response representation.


3.3 ...

Feedback appreciated, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 12:56: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 C9E0521F8440 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 12:56:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.299
X-Spam-Level: 
X-Spam-Status: No, score=-9.299 tagged_above=-999 required=5 tests=[AWL=1.299, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VeUzCpJeyGza for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 12:56:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7C9F021F8540 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 12:56:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdoF8-00026p-Ty for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 19:56:10 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <ynir@checkpoint.com>) id 1SdoEx-00025t-H9 for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 19:55:59 +0000
Received: from smtp.checkpoint.com ([194.29.34.68] helo=michael.checkpoint.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <ynir@checkpoint.com>) id 1SdoEu-0006HD-0r for ietf-http-wg@w3.org; Sun, 10 Jun 2012 19:55:57 +0000
Received: from il-ex01.ad.checkpoint.com (dlpgw.checkpoint.com [194.29.34.27]) by michael.checkpoint.com (8.13.8/8.13.8) with ESMTP id q5AJtPdC021254; Sun, 10 Jun 2012 22:55:25 +0300
X-CheckPoint: {4FD4FB7D-10001-1B221DC2-2FFFF}
Received: from il-ex01.ad.checkpoint.com ([126.0.0.2]) by il-ex01.ad.checkpoint.com ([126.0.0.2]) with mapi; Sun, 10 Jun 2012 22:55:23 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: James M Snell <jasnell@gmail.com>
CC: Tim Bray <tbray@textuality.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Sun, 10 Jun 2012 22:55:29 +0300
Thread-Topic: Status code for censorship?
Thread-Index: Ac1HQvjni7q/wRsiS+yfC0+oq/QCTQ==
Message-ID: <66C57D90-4177-48B6-AB34-7AA6B1F7BBCD@checkpoint.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com>
In-Reply-To: <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@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
x-cpdlp: 11d560c9ed70e3df2112e4a4b36cac264ccc395b9e
Content-Type: multipart/alternative; boundary="_000_66C57D90417748B6AB347AA6B1F7BBCDcheckpointcom_"
MIME-Version: 1.0
Received-SPF: pass client-ip=194.29.34.68; envelope-from=ynir@checkpoint.com; helo=michael.checkpoint.com
X-W3C-Hub-Spam-Status: No, score=-6.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SdoEu-0006HD-0r e4d3584e5f63d233e298e521560c815c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/66C57D90-4177-48B6-AB34-7AA6B1F7BBCD@checkpoint.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13702
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdoF8-00026p-Ty@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 19:56:10 +0000

--_000_66C57D90417748B6AB347AA6B1F7BBCDcheckpointcom_
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

Thinking it over, the message is supposed to be sent to humans, not machine=
s. So the correct thing would be to redirect to a service-provider hosted p=
age, that says what was blocked and why.

"Access to thepiratebay.se<http://thepiratebay.se> is blocked at the reques=
t of xxxxx, according to section yyyyyyy of zzzzzzz.  Sorry for the inconve=
nience"


On Jun 10, 2012, at 9:51 PM, James M Snell wrote:


Quite honestly, while 403 would probably work just fine, I think a dedicate=
d status code in the 5xx range would make for a better approach, if only fr=
om an informational point of view.

HTTP/1.1 512 Service Blocked

Sends a very clear message and makes the fact that the service is being cen=
sored, as opposed to merely being technically unavailable, quite clear.

On Jun 9, 2012 10:09 PM, "Tim Bray" <tbray@textuality.com<mailto:tbray@text=
uality.com>> wrote:
Check out http://yro.slashdot.org/story/12/06/09/1927246/an-http-status-cod=
e-for-censorship

The thinking about returning 403 when you=92re forbidden to follow a link s=
eems sound to me.  This idea is superficially appealing; is it deeply broke=
n in some way that=92s not obvious?  -Tim



--_000_66C57D90417748B6AB347AA6B1F7BBCDcheckpointcom_
Content-Type: text/html; charset="Windows-1252"
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; ">Thinking it over, the mess=
age is supposed to be sent to humans, not machines. So the correct thing wo=
uld be to redirect to a service-provider hosted page, that says what was bl=
ocked and why.<div><br></div><div>"Access to <a href=3D"http://thepiratebay=
.se">thepiratebay.se</a> is blocked at the request of xxxxx, according to s=
ection yyyyyyy of zzzzzzz. &nbsp;Sorry for the inconvenience"</div><div><br=
></div><div><br><div><div>On Jun 10, 2012, at 9:51 PM, James M Snell wrote:=
</div><br class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><p>=
Quite honestly, while 403 would probably work just fine, I think a dedicate=
d status code in the 5xx range would make for a better approach, if only fr=
om an informational point of view.</p><p>HTTP/1.1 512 Service Blocked</p><p=
>Sends a very clear message and makes the fact that the service is being ce=
nsored, as opposed to merely being technically unavailable, quite clear.<br=
></p>
<div class=3D"gmail_quote">On Jun 9, 2012 10:09 PM, "Tim Bray" &lt;<a href=
=3D"mailto:tbray@textuality.com">tbray@textuality.com</a>&gt; wrote:<br typ=
e=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">
Check out <a href=3D"http://yro.slashdot.org/story/12/06/09/1927246/an-http=
-status-code-for-censorship" target=3D"_blank">http://yro.slashdot.org/stor=
y/12/06/09/1927246/an-http-status-code-for-censorship</a><br><br>The thinki=
ng about returning 403 when you=92re forbidden to follow a link seems sound=
 to me.&nbsp; This idea is superficially appealing; is it deeply broken in =
some way that=92s not obvious?&nbsp; -Tim<br>

</blockquote></div>

<br></blockquote></div><br></div></body></html>=

--_000_66C57D90417748B6AB347AA6B1F7BBCDcheckpointcom_--


From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 13:39: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 5CC7F21F8522 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 13:39: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P3QVcYKSaplk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 13:39:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B9F4621F84A7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 13:39:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdouM-0002Db-8X for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 20:38:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <bortzmeyer@nic.fr>) id 1SdouB-00021a-BM for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 20:38:35 +0000
Received: from aetius.bortzmeyer.org ([217.70.190.232] helo=mail.bortzmeyer.org) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <bortzmeyer@nic.fr>) id 1Sdou8-0007fA-F0 for ietf-http-wg@w3.org; Sun, 10 Jun 2012 20:38:33 +0000
Received: by mail.bortzmeyer.org (Postfix, from userid 10) id 26DFF3B3F0; Sun, 10 Jun 2012 20:38:10 +0000 (UTC)
Received: by mail.sources.org (Postfix, from userid 1000) id 7F7391909F8; Sun, 10 Jun 2012 22:34:49 +0200 (CEST)
Date: Sun, 10 Jun 2012 22:34:49 +0200
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: James M Snell <jasnell@gmail.com>
Cc: Tim Bray <tbray@textuality.com>, ietf-http-wg@w3.org
Message-ID: <20120610203449.GA7570@sources.org>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com>
X-Transport: UUCP rules
X-Operating-System: Debian GNU/Linux 6.0.5
User-Agent: Mutt/1.5.20 (2009-06-14)
Received-SPF: none client-ip=217.70.190.232; envelope-from=bortzmeyer@nic.fr; helo=mail.bortzmeyer.org
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1Sdou8-0007fA-F0 e54538375be0e22de43d0c740b301b24
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/20120610203449.GA7570@sources.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13703
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdouM-0002Db-8X@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 20:38:46 +0000

On Sun, Jun 10, 2012 at 11:51:21AM -0700,
 James M Snell <jasnell@gmail.com> wrote 
 a message of 49 lines which said:

> Quite honestly, while 403 would probably work just fine, I think a
> dedicated status code in the 5xx range would make for a better
> approach,

But in the 4xx range, as discussed in the Slashdot article, we have a
much better candidate:

HTTP/1.2 451 This site has been burnt.


From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 14:05: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 68FB821F853E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 14:05:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.676
X-Spam-Level: 
X-Spam-Status: No, score=-8.676 tagged_above=-999 required=5 tests=[AWL=1.299, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id omJVfD3fsuKa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 14:05:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7FED621F8526 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 14:05:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdpI3-0006jA-54 for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 21:03:15 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1SdpHq-0006gF-NX for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 21:03:02 +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 <tbray@textuality.com>) id 1SdpHn-00008J-Vw for ietf-http-wg@w3.org; Sun, 10 Jun 2012 21:03:01 +0000
Received: by obfk16 with SMTP id k16so2171615obf.2 for <ietf-http-wg@w3.org>; Sun, 10 Jun 2012 14:02:33 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=hm5iHjzQERcmbQTs4G6Zz9oEDnQJrYMOUtfZMGCK7TA=; b=LIbQu0cwFvr9SztLAIAvxr0b/oGiAm+5i6jXNBMYy02DdqtHXPuMGXHiC5g9RgJOaX cB3k5R2+oGKpm1rUiP/Pjwd5j5vJz0fU+xYRYXAnhl0ZlMmJsJBVAvk+lZoECN528eLf uUX9j6Jv2wRYKhrc94gZoGxeXTyHOkbbNUJGtYfgA87eRc81eJDZhhdOzaQl8Mwxpa11 IMZHH7+nBorMLGLrszTJSJu+bZF2eIpVERFr94F8hTx92urjE+MgYkQlXNFyZA4mI4Sp /n6xmgM1P/rwqwJW4VmWgvZgNNMZSLbNBHSNnGWE9/1lVCIlCJqTT6LhLTfxlj9NQqIO XczQ==
MIME-Version: 1.0
Received: by 10.60.21.36 with SMTP id s4mr14103266oee.61.1339362153619; Sun, 10 Jun 2012 14:02:33 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Sun, 10 Jun 2012 14:02:33 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com>
Date: Sun, 10 Jun 2012 14:02:33 -0700
Message-ID: <CAHBU6iv95H=SW7WH5v_BrdbUjHaeXSasRtS=Tsasc9gquaB+Aw@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: James M Snell <jasnell@gmail.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8ff1c7ca64616004c2248d08
X-Gm-Message-State: ALoCoQn/yUKz4WTQnuncxWFxKtXi79eAJJBOJfTVe1XsbQvnL1RkZtjDy/0VTbKylhoxT22z5Kl/
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SdpHn-00008J-Vw 54f40c058f2ec2de4175c44a63da9f9e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/CAHBU6iv95H=SW7WH5v_BrdbUjHaeXSasRtS=Tsasc9gquaB+Aw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13704
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdpI3-0006jA-54@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 21:03:15 +0000

--e89a8ff1c7ca64616004c2248d08
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

It=92d have to be in the 4xx not 5xx range; it=92s not a server error; simi=
lar
to 401/403, but distinct.  I actually think this is a good idea; will write
a formal proposal.

-T

On Sun, Jun 10, 2012 at 11:51 AM, James M Snell <jasnell@gmail.com> wrote:

> Quite honestly, while 403 would probably work just fine, I think a
> dedicated status code in the 5xx range would make for a better approach, =
if
> only from an informational point of view.
>
> HTTP/1.1 512 Service Blocked
>
> Sends a very clear message and makes the fact that the service is being
> censored, as opposed to merely being technically unavailable, quite clear=
.
> On Jun 9, 2012 10:09 PM, "Tim Bray" <tbray@textuality.com> wrote:
>
>> Check out
>> http://yro.slashdot.org/story/12/06/09/1927246/an-http-status-code-for-c=
ensorship
>>
>> The thinking about returning 403 when you=92re forbidden to follow a lin=
k
>> seems sound to me.  This idea is superficially appealing; is it deeply
>> broken in some way that=92s not obvious?  -Tim
>>
>

--e89a8ff1c7ca64616004c2248d08
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

It=92d have to be in the 4xx not 5xx range; it=92s not a server error; simi=
lar to 401/403, but distinct.=A0 I actually think this is a good idea; will=
 write a formal proposal.<br><br>-T<br><br><div class=3D"gmail_quote">On Su=
n, Jun 10, 2012 at 11:51 AM, James M Snell <span dir=3D"ltr">&lt;<a href=3D=
"mailto:jasnell@gmail.com" target=3D"_blank">jasnell@gmail.com</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"><p>Quite honestly, while 403 would probably =
work just fine, I think a dedicated status code in the 5xx range would make=
 for a better approach, if only from an informational point of view.</p>

<p>HTTP/1.1 512 Service Blocked</p>
<p>Sends a very clear message and makes the fact that the service is being =
censored, as opposed to merely being technically unavailable, quite clear.<=
br></p><div class=3D"HOEnZb"><div class=3D"h5">
<div class=3D"gmail_quote">On Jun 9, 2012 10:09 PM, &quot;Tim Bray&quot; &l=
t;<a href=3D"mailto:tbray@textuality.com" target=3D"_blank">tbray@textualit=
y.com</a>&gt; wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>

Check out <a href=3D"http://yro.slashdot.org/story/12/06/09/1927246/an-http=
-status-code-for-censorship" target=3D"_blank">http://yro.slashdot.org/stor=
y/12/06/09/1927246/an-http-status-code-for-censorship</a><br><br>The thinki=
ng about returning 403 when you=92re forbidden to follow a link seems sound=
 to me.=A0 This idea is superficially appealing; is it deeply broken in som=
e way that=92s not obvious?=A0 -Tim<br>


</blockquote></div>
</div></div></blockquote></div><br>

--e89a8ff1c7ca64616004c2248d08--


From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 14:59: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 0610021F8526 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 14:59:07 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nf4KKWxHN0CB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 14:59:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 260C021F8522 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 14:59:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sdq8S-0005io-Nx for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 21:57:24 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1Sdq8H-0005hx-Eo for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 21:57:13 +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 1Sdq8D-00018a-1w for ietf-http-wg@w3.org; Sun, 10 Jun 2012 21:57:11 +0000
Received: by wgbdt14 with SMTP id dt14so2225458wgb.26 for <ietf-http-wg@w3.org>; Sun, 10 Jun 2012 14:56:43 -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=6BtsClyIm4L6IIeSdpGpa9UJ6Dr2840YuqmhPziD/tM=; b=CcKNK3gn4rqEWquNFR4saLybjCf7Vmi0ED6rUL/LsFshdw3AZxYRuZbJO2sVz0midR 15qmy4UygHC6XsI+Wkk/Ia5Te+UGg81CzYoHtajJJbGb7ez+QN1MDy5JxN3UNxJoMtWe MMEIO7MhEN5vbq0Zsg7GgFcS1+yT5e0n5C/y5pI/1eBgip0f/vI6P/UkegLTSU/Aei5g JVxbANs4MUq/mJKAmrTzw5ov62cky7BbzaDmYg95IZZFEHQUzqCuaI91cjYA2V03NYEf ebeRzBMQhIbWAxACiogt7UKuUTZm6nIMusdO7eO7VZc6rhZiPL0vFz0bgN9IFNoUH1pr b2ow==
MIME-Version: 1.0
Received: by 10.216.226.40 with SMTP id a40mr5415733weq.127.1339365401042; Sun, 10 Jun 2012 14:56:41 -0700 (PDT)
Received: by 10.194.0.238 with HTTP; Sun, 10 Jun 2012 14:56:41 -0700 (PDT)
In-Reply-To: <006FEB08D9C6444AB014105C9AEB133F017A7C056C86@il-ex01.ad.checkpoint.com>
References: <006FEB08D9C6444AB014105C9AEB133F017A7C056C86@il-ex01.ad.checkpoint.com>
Date: Sun, 10 Jun 2012 14:56:41 -0700
Message-ID: <CAP+FsNf+5tdoi4NqGsnkQomiXqOi9BqaUYMDfcScFS9w2X2rBA@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Yoav Nir <ynir@checkpoint.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, "mcgrew@cisco.com" <mcgrew@cisco.com>, Dan Wing <dwing@cisco.com>
Content-Type: multipart/alternative; boundary=00504502da1ef41e4b04c2254ec5
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 1Sdq8D-00018a-1w a9dc53ebf7189a5e9fb218a1f575224c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Explicit Proxy (draft-rpeon-httpbis-exproxy)
Archived-At: <http://www.w3.org/mid/CAP+FsNf+5tdoi4NqGsnkQomiXqOi9BqaUYMDfcScFS9w2X2rBA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13705
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sdq8S-0005io-Nx@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 21:57:24 +0000

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

A caching proxy won't be able to inspect any traffic going through the TLS
tunnel because the client doesn't provide the decryption key material for
it.
The only requests the caching proxy can inspect are those which the client
chooses to do outside the TLS tunnel, and, at least in the proposal, the
client should only do such if it has a cryptographic hash of the content
from a trusted source so that it can verify integrity.

In all cases, in the draft I just submitted makes a tunnel to the eventual
endpoint so it does always get the certs and can verify that the proxy
isn't mistaken about whom to connect to...

On distinguishing between 'trusted' and caching proxies.
The client doesn't always control the network over which it must make a
connection. Perhaps the client is forced to use a trusted proxy (e.g.
within a school). In such cases, the content-provider should be notified so
that they can vary the content it provides (as in your example). If you
can't trust the client you have no trust chain to the user anyway... (they
could lie about anything in that case)

Despite the name 'trusted', it isn't true that both parties will believe
that the proxy should be trusted, and in all cases, integrity of all
resources is verified. The 'trust' part in the proposal is that they get to
inspect the traffic and advise either side to drop specific requests.
This will help to keep the incentive for trusted proxy owners in-line with
those of the client and content-providers, at least hopefully.

I'll definitely have to read your draft :)


-=R

On Sun, Jun 10, 2012 at 12:42 AM, Yoav Nir <ynir@checkpoint.com> wrote:

> **
>
> Hi
>
> I've read the draft.  I don't really understand how the caching proxy is
> prevented from inspecting non-cached data. If it's only trusted to do so,
> then OK, but both the "Bob" connection and the "Don" connection are
> point-to-point, so "Chris" always gets to see the clear traffic.
>
> One building block to consider is the now expired draft for TLS proxies:
> http://tools.ietf.org/id/draft-mcgrew-tls-proxy-server-00.html
>
> The not-yet-published newer version of this draft will have all of the
> following:
>
>    - The proxy authenticates to the client (so proxies can be explicitly
>    configured)
>    - The proxy uses a TLS extension to show the cilent the real
>    certificate chain presented by the server (so trust and EV status can be
>    determined, and the client can check revocation on its own)
>    - The proxy can send an indication to the server that it is on-path
>    (not in the -00 draft and needed for client authentication)
>
> I think it's better to indicate the presence of a proxy in the TLS layer
> then as part of the application (last paragraph in section 6). I also don't
> see value (for the server) in distinguishing between caching and trusted
> proxy, since the client has no control over the behavior of the proxy. IOW
> if I were writing a web application for an health service provider, and the
> new version of HIPAA prohibits showing test results with a MitM present, it
> would not be prudent to allow them with any proxy present. Even if the
> client swears it's only a caching proxy.
>
> Yoav
>
>

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

A caching proxy won&#39;t be able to inspect any traffic going through the =
TLS tunnel because the client doesn&#39;t provide the decryption key materi=
al for it.<div>The only requests the caching proxy can inspect are those wh=
ich the client chooses to do outside the TLS tunnel, and, at least in the p=
roposal, the client should only do such if it has a cryptographic hash of t=
he content from a trusted source so that it can verify integrity.</div>
<div><br></div><div>In all cases, in the draft I just submitted makes a tun=
nel to the eventual endpoint so it does always get the certs and can verify=
 that the proxy isn&#39;t mistaken about whom to connect to...</div><div>
<br></div><div>On distinguishing between &#39;trusted&#39; and caching prox=
ies.</div><div>The client doesn&#39;t always control the network over which=
 it must make a connection. Perhaps the client is forced to use a trusted p=
roxy (e.g. within a school). In such cases, the content-provider should be =
notified so that they can vary the content it provides (as in your example)=
. If you can&#39;t trust the client you have no trust chain to the user any=
way... (they could lie about anything in that case)</div>
<div><br></div><div>Despite the name &#39;trusted&#39;, it isn&#39;t true t=
hat both parties will believe that the proxy should be trusted, and in all =
cases, integrity of all resources is verified. The &#39;trust&#39; part in =
the proposal is that they get to inspect the traffic and advise either side=
 to drop specific requests.</div>
<div>This will help to keep the incentive for trusted proxy owners in-line =
with those of the client and content-providers, at least hopefully.</div><d=
iv><br></div><div>I&#39;ll definitely have to read your draft :)</div><div>
<br></div><div><br></div><div>-=3DR<br><br><div class=3D"gmail_quote">On Su=
n, Jun 10, 2012 at 12:42 AM, Yoav Nir <span dir=3D"ltr">&lt;<a href=3D"mail=
to:ynir@checkpoint.com" target=3D"_blank">ynir@checkpoint.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"><u></u>



<div>
<p>Hi<br><br>I&#39;ve read the draft.=A0 I don&#39;t really understand how =
the=20
caching proxy is prevented from inspecting non-cached data. If it&#39;s onl=
y trusted=20
to do so, then OK, but both the &quot;Bob&quot; connection and the &quot;Do=
n&quot; connection are=20
point-to-point, so &quot;Chris&quot; always gets to see the clear traffic.<=
/p>
<p>One=A0building block=A0to consider is the now expired draft for TLS=20
proxies: <a href=3D"http://tools.ietf.org/id/draft-mcgrew-tls-proxy-server-=
00.html" target=3D"_blank">http://tools.ietf.org/id/draft-mcgrew-tls-proxy-=
server-00.html</a><br><br>The=20
not-yet-published newer version of this draft will have all of the=20
following:</p>
<ul>
  <li>The proxy authenticates to the client (so proxies can be explicitly=
=20
  configured)</li>
  <li>The proxy uses a TLS extension to show the cilent the real certificat=
e=20
  chain presented by the server (so trust and EV=A0status can be determined=
,=20
  and the client can=A0check revocation on its own)</li>
  <li>The proxy can send an indication to the server that it is on-path (no=
t in=20
  the -00 draft and needed for client authentication)</li></ul>
<div>I think it&#39;s better to indicate the presence of a proxy in the TLS=
 layer=20
then as part of the application (last paragraph in section 6). I also don&#=
39;t see=20
value (for the server) in distinguishing between caching and trusted proxy,=
=20
since the client has no control over the behavior of the proxy. IOW if I we=
re=20
writing a web application for an health service provider, and the new versi=
on of=20
HIPAA prohibits showing test results with a MitM present, it would not be=
=20
prudent to allow them with any proxy present. Even if the client swears it&=
#39;s=20
only a caching proxy.</div><span class=3D"HOEnZb"><font color=3D"#888888">
<div>=A0</div>
<div><font face=3D"Tahoma">Yoav</font></div>
<div>=A0</div></font></span></div>
</blockquote></div><br></div>

--00504502da1ef41e4b04c2254ec5--


From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 16:21: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 7DAC221F854C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 16:21: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T58qq5Sm6O9u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 16:21:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A44F221F8483 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 16:21:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdrRH-00015y-5J for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 23:20:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SdrR5-000157-IF for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 23:20:43 +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 1SdrR2-0003Cq-HQ for ietf-http-wg@w3.org; Sun, 10 Jun 2012 23:20:41 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C203250A6B; Sun, 10 Jun 2012 19:20:17 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com>
Date: Mon, 11 Jun 2012 09:20:13 +1000
Cc: Tim Bray <tbray@textuality.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SdrR2-0003Cq-HQ 86f0936d0c938ed09869e0617d38f07f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13707
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdrRH-00015y-5J@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 23:20:55 +0000

4xx status codes indicate that the problem is at the client; 5xx =
indicates that the error is at the server.

Since HTTP is a layer 7 protocol, not layer 8 (or 9, or 10, depending on =
how you're counting; I go by the t-shirt), there are going to be =
arguments for both sides.

If we had to choose, I'd go with a 5xx, because there's clear precedent =
for intermediary-related errors occurring there (most recently, 511), =
and this is essentially an intermediary problem. Something like "512 =
Network Policy Violation".=20

However, it'd need to get deployed. Since the primary objective of such =
a status code seems to be to raise the visibility of censorship, thereby =
(presumably) causing some reaction against it, it seems unlikely that =
it'll happen in places where there's strong oversight of whoever is =
deploying it.

Also, there's the question of whether the IETF should do this; by =
allocating a status code for censorship, we'd be explicitly supporting =
its use. Given the IESG's stance on similar issues in the past (e.g., =
<http://www.ietf.org/rfc/rfc2804.txt>), I suspect adding a status code =
for censorship would at least require some serious discussion at that =
level, if not a plenary session, etc.

Cheers,

P.S. The interesting part, for me, is that this is a perfectly valid use =
of 403, according to our specs:

"The server understood the request, but refuses to authorize it."

Note "server", not "origin server" -- which in both 2616 and bis means =
*any* server in the chain can send it.=20

We also talk about transforming proxies, but the most that's required in =
this instance is to add a 214 Transformation Applied warn-code. Even =
then, it's not clearly required, because it's defined in terms of =
changing the representation, not giving what's effectively a status =
message:

"""
3.6.6 214 Transformation Applied

must be added by a proxy if it applies any transformation to the =
representation, such as changing the content-coding, media-type, or =
modifying the representation data, unless this Warning code already =
appears in the response.
"""




On 11/06/2012, at 4:51 AM, James M Snell wrote:

> Quite honestly, while 403 would probably work just fine, I think a =
dedicated status code in the 5xx range would make for a better approach, =
if only from an informational point of view.
>=20
> HTTP/1.1 512 Service Blocked
>=20
> Sends a very clear message and makes the fact that the service is =
being censored, as opposed to merely being technically unavailable, =
quite clear.
>=20
> On Jun 9, 2012 10:09 PM, "Tim Bray" <tbray@textuality.com> wrote:
> Check out =
http://yro.slashdot.org/story/12/06/09/1927246/an-http-status-code-for-cen=
sorship
>=20
> The thinking about returning 403 when you=92re forbidden to follow a =
link seems sound to me.  This idea is superficially appealing; is it =
deeply broken in some way that=92s not obvious?  -Tim

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





From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 16:21: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 C132A21F8483 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 16:21:05 -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=[BAYES_50=0.001, J_CHICKENPOX_47=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UR5LCnTyQxtK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 16:21:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A45B421F851A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 16:21:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SdrP9-00010l-Fw for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 23:18:43 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1SdrOr-0000yA-4h for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 23:18:25 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SdrOm-00039B-S4 for ietf-http-wg@w3.org; Sun, 10 Jun 2012 23:18:23 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q5ANHvrF005093 for ietf-http-wg@w3.org; Mon, 11 Jun 2012 01:17:57 +0200
Date: Mon, 11 Jun 2012 01:17:57 +0200
From: Willy Tarreau <w@1wt.eu>
To: ietf-http-wg@w3.org
Message-ID: <20120610231757.GA4983@1wt.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SdrOm-00039B-S4 c4dca7be605dca349ef84bc104177067
X-Original-To: ietf-http-wg@w3.org
Subject: Significantly reducing headers footprint
Archived-At: <http://www.w3.org/mid/20120610231757.GA4983@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13706
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SdrP9-00010l-Fw@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 23:18:43 +0000

Hi,

I recently managed to collect requests from some enterprise proxies to
experiment with binary encoding as described in our draft [1].

After some experimentation and discussions with some people, I managed to
get significant gains [2] which could still be improved.

What's currently performed is the following :
  - message framing
  - binary encoding of the HTTP version (2 bits)
  - binary encoding of the method (4 bits)
  - move Host header to the URI
  - encoding of the URI relative to the previous one
  - binary encoding of each header field names (1 byte)
  - encoding of each header relative to the previous one.
  - binary encoding of the If-Modified-Since date

The code achieving this is available at [2]. It's an ugly PoC but it's
a useful experimentation tool for me, feel free to use it to experiment
with your own implementations if you like.

I'm already observing request compression ratios of 90-92% on various
requests, including on a site with a huge page with large cookies and
URIs ; 132 kB of requests were reduced to 10kB. In fact while the draft
suggests use of multiple header contexts (connection, common and message),
now I'm feeling like we don't need to store 3 contexts anymore, one single
is enough if requests remain relative to previous one.

But I think that by typing a bit more the protocol, we could improve even
further and at the same time improve interoperability. Among the things
I am observing which still take some space in the page load of an online
newspaper (127 objects, data were anonymized) :

  - User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
    => Well, this one is only sent once over the connection, but we could
       reduce this further by using a registery of known vendors/products
       and incite vendors to emit just a few bytes (vendor/product/version).

  - Accept: text/css,*/*;q=0.1
    => this one changes depending on what object the browser requests, so it
       is less efficiently compressed :

        1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
        4 Accept: text/css,*/*;q=0.1
        8 Accept: */*
        1 Accept: image/png,image/*;q=0.8,*/*;q=0.5
        2 Accept: */*
        9 Accept: image/png,image/*;q=0.8,*/*;q=0.5
        2 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
       90 Accept: image/png,image/*;q=0.8,*/*;q=0.5
        1 Accept: */*
        9 Accept: image/png,image/*;q=0.8,*/*;q=0.5

    => With better request reordering, we could have this :
  
       11 Accept: */*
      109 Accept: image/png,image/*;q=0.8,*/*;q=0.5
        4 Accept: text/css,*/*;q=0.1
        3 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

    I'm already wondering if we have *that* many content-types and if we need
    to use long words such as "application" everywhere.

  - Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Accept-Encoding: gzip,deflate

    => Same comment as above concerning the number of possible values. However
       these ones were all sent identical so the gain is more for the remote
       parser than for the upstream link.

  - Referer: http://www.example.com/
    => referrers do compress quite well relative to each other. Still there
       are many blogs and newspapers on the net today with very large URLs,
       and their URLs cause very large referrers to be sent along with each
       object composing the page. At least a better ordering of the requests
       saves a few more hundred bytes for the whole page. In the end I only
       got 4 different values :
       http://www.example.com/
       http://www.example.com/sites/news/files/css/css_RWicSr_h9UxCJrAbE57UbNf_oNYhtaF5YghFXJemVNQ.css
       http://www.example.com/sites/news/files/css/css_lKoFARDAyB20ibb5wNG8nMhflDNNW_Nb9DsNprYt8mk.css
       http://www.example.com/sites/news/files/css/css_qSyFGRLc-tslOV1oF9GCzEe1eGDn4PP7vOM1HGymNYU.css

    Among the improvements I'm thinking about, we could decide to use relative
    URIs when the site is the same. I don't know either if it's of any use on
    the server side to know that the request was emitted for a specific CSS.

  - If-Modified-Since: Fri, 27 Apr 2012 14:41:31 GMT
    => I have encoded this one on 32 and 64 bits and immediately saved 3.1 and
       2.6 kB respectively. Well, storing 4 more bytes per request might be
       wasted considering that we probably don't need a nanosecond resolution
       for 585 years. But 40-48 bits might be fine.

  - Cache-Control: max-age=0
    => I suspect the user hit the Refresh button, this was present in about
       half the requests. Anyway, this raises the question of the length it
       requires for something which is just a boolean here ("ignore cache").
       Probably that a client has very few Cache-Control header values to
       send, and that reducing this to a smaller set would be beneficial.

  - If-None-Match: "3013140661"
    => I guess there is nothing we can do on this one, except suggest that
       implementors use more bits and less bytes to emit their etags.

  - Cookie: xtvrn=$OaiJty$; xtan327981=c; xtant327981=c; has_js=c; __utma=KBjWnx24Q.7qFKqmB7v.i0JDH91L_R.0kU2W1uL49.JM4KtFLV0b.C; __utmc=Rae9ZgQHz; __utmz=NRSZOcCWV.d5MlK5RJsi.-.f.N8J73w=S1SLuT_j0m.O8|VsIxwE=(jHw58obb)|r9SgsT=WQfZe8jr|pFSZGH=/@/qwDyMw3I; __gads=td=ASP_D5ml4Ebevrej:R=pvxltafqZK:x=E4FUn3YiNldW3rhxzX6YlCptZp8zF-b5qc; _chartbeat2=oQvb8k_G9tduhauf.LqOukjnlaaE7K.uDBaR79E1WT4t.Kr9L_lIrOtruE8; __qca=LC9oiRpFSWShYlxUtD37GJ2k8AL; __utmb=vG8UMEjrz.Qf.At.pXD61lUeHZ; pm8196_1=c; pm8194_1=c

    => amazingly, this one compresses extremely well with the above scheme,
       because additions are performed at the end so consecutive cookies keep
       a lot in common, and changes are not too frequent. However, given the
       omnipresent usage of cookies, I was wondering why we should not create
       a new entity of its own for the cookies instead of abusing the Cookie
       header. It would make it a lot easier for both ends to find what they
       need. For instance, a load balancer just needs to find a server name
       in the thing above. What a waste of on-wire bits and of CPU cycles !

BTW, binary encoding would probably also help addressing a request I often
hear in banking environments : the need to sign/encrypt/compress only certain
headers or cookies. Right now when people do this, they have to base64-encode
the result, which is another transformation at both ends and inflates the
data. If we make provisions in the protocol for announcing encrypted or
compressed headers using 2-3 bits, it might become more usable. I'm not
convinced it provides any benefit between a browser and an origin server
though. So maybe it will remain application-specific and the transport
just has to make it easier to emit 8-bit data in header field values.

Has anyone any opinion on the subject above ? Or ideas about other things
that terribly clobber the upstream pipe and that should be fixed in 2.0 ?

I hope I'll soon find some time to update our draft to reflect recent updates
and findings.

Regards,
Willy

--
[1] http://tools.ietf.org/id/draft-tarreau-httpbis-network-friendly-00.txt
[2] http://1wt.eu/http2/



From ietf-http-wg-request@listhub.w3.org  Sun Jun 10 16:41: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 E123321F8493 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 16:41:41 -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_47=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WapeO0m9Hkhw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 10 Jun 2012 16:41:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4800121F8491 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 10 Jun 2012 16:41:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sdrk2-0003ip-IF for ietf-http-wg-dist@listhub.w3.org; Sun, 10 Jun 2012 23:40:18 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1Sdrjr-0003hR-HC for ietf-http-wg@listhub.w3.org; Sun, 10 Jun 2012 23:40:07 +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 <grmocg@gmail.com>) id 1Sdrjn-0005Ki-OC for ietf-http-wg@w3.org; Sun, 10 Jun 2012 23:40:05 +0000
Received: by wibhr14 with SMTP id hr14so1942066wib.8 for <ietf-http-wg@w3.org>; Sun, 10 Jun 2012 16:39:37 -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=zEE9L2HpLxAFx4/hL/esKYwrN80W/DjGub2DNIKGb0M=; b=oyIhyk87G9+BNzaCr5WNWaZi9OJz0vBYg9iGaW47uO4g0YK7v2X0H2aeuQR+5vr+C6 1vge8Q5RR5eokOIGhOYkiQZnz4ZQP5j+8P1/iVmJ1QRJvLE4g/DI3t1wiVwfr20WlF/j Hp5zZ9LdAFZF6kfuHFTJpE9ubPMtT3fVkY+113upOm4eNn4d55TznJkNCsLkZZFagdAV yEXWiX6rPP0iQRtDORA/HIlt+LBGejrWhiThnY9DenUGqDOWadOitz45XBbhwdpd7uS5 OErAJyo3Tzo7LUiY2dchhBPWFrOvLPV431qz0DZUc4xOUKsL18Rlmwl5xq0EsfmA7Ver tRZw==
MIME-Version: 1.0
Received: by 10.180.99.70 with SMTP id eo6mr16171822wib.17.1339371577743; Sun, 10 Jun 2012 16:39:37 -0700 (PDT)
Received: by 10.194.0.238 with HTTP; Sun, 10 Jun 2012 16:39:37 -0700 (PDT)
In-Reply-To: <20120610231757.GA4983@1wt.eu>
References: <20120610231757.GA4983@1wt.eu>
Date: Sun, 10 Jun 2012 16:39:37 -0700
Message-ID: <CAP+FsNeqeihCZbbDG3mO55M9wEVEuFixGfrdPQ8jkSgSmjzN3A@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Willy Tarreau <w@1wt.eu>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d04428b501d19fb04c226bf99
Received-SPF: pass client-ip=209.85.212.179; envelope-from=grmocg@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 1Sdrjn-0005Ki-OC 5b2ce41815f24a0c8e980776691fb421
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Significantly reducing headers footprint
Archived-At: <http://www.w3.org/mid/CAP+FsNeqeihCZbbDG3mO55M9wEVEuFixGfrdPQ8jkSgSmjzN3A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13708
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sdrk2-0003ip-IF@frink.w3.org>
Resent-Date: Sun, 10 Jun 2012 23:40:18 +0000

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

On Sun, Jun 10, 2012 at 4:17 PM, Willy Tarreau <w@1wt.eu> wrote:

> Hi,
>
> I recently managed to collect requests from some enterprise proxies to
> experiment with binary encoding as described in our draft [1].
>
> After some experimentation and discussions with some people, I managed to
> get significant gains [2] which could still be improved.
>
> What's currently performed is the following :
>  - message framing
>  - binary encoding of the HTTP version (2 bits)
>  - binary encoding of the method (4 bits)
>  - move Host header to the URI
>  - encoding of the URI relative to the previous one
>  - binary encoding of each header field names (1 byte)
>  - encoding of each header relative to the previous one.
>  - binary encoding of the If-Modified-Since date
>
> The code achieving this is available at [2]. It's an ugly PoC but it's
> a useful experimentation tool for me, feel free to use it to experiment
> with your own implementations if you like.
>
> I'm already observing request compression ratios of 90-92% on various
> requests, including on a site with a huge page with large cookies and
> URIs ; 132 kB of requests were reduced to 10kB. In fact while the draft
> suggests use of multiple header contexts (connection, common and message),
> now I'm feeling like we don't need to store 3 contexts anymore, one single
> is enough if requests remain relative to previous one.
>

For my deployment, I'm fairly certain this would not be all that common.
Two contexts may be enough 'connection' and 'common', but I think you had
it right the first time.
The more clients you have and are aggregating through to elsewhere, to more
advantageous that scheme becomes.


>
> But I think that by typing a bit more the protocol, we could improve even
> further and at the same time improve interoperability. Among the things
> I am observing which still take some space in the page load of an online
> newspaper (127 objects, data were anonymized) :
>
>  - User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr;
> rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
>    => Well, this one is only sent once over the connection, but we could
>       reduce this further by using a registery of known vendors/products
>       and incite vendors to emit just a few bytes (vendor/product/version).
>
>  - Accept: text/css,*/*;q=0.1
>    => this one changes depending on what object the browser requests, so it
>       is less efficiently compressed :
>
>        1 Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>        4 Accept: text/css,*/*;q=0.1
>        8 Accept: */*
>        1 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>        2 Accept: */*
>        9 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>        2 Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>       90 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>        1 Accept: */*
>        9 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>
>    => With better request reordering, we could have this :
>
>       11 Accept: */*
>      109 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>        4 Accept: text/css,*/*;q=0.1
>        3 Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>

Achieving this seems difficult? How would we get a reording to occur in a
reasonable manner?


>
>    I'm already wondering if we have *that* many content-types and if we
> need
>    to use long words such as "application" everywhere.
>

We were quite wordy in the past :)


>
>  - Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
>    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>    Accept-Encoding: gzip,deflate
>
>    => Same comment as above concerning the number of possible values.
> However
>       these ones were all sent identical so the gain is more for the remote
>       parser than for the upstream link.
>
>  - Referer: http://www.example.com/
>    => referrers do compress quite well relative to each other. Still there
>       are many blogs and newspapers on the net today with very large URLs,
>       and their URLs cause very large referrers to be sent along with each
>       object composing the page. At least a better ordering of the requests
>       saves a few more hundred bytes for the whole page. In the end I only
>       got 4 different values :
>       http://www.example.com/
>
> http://www.example.com/sites/news/files/css/css_RWicSr_h9UxCJrAbE57UbNf_oNYhtaF5YghFXJemVNQ.css
>
> http://www.example.com/sites/news/files/css/css_lKoFARDAyB20ibb5wNG8nMhflDNNW_Nb9DsNprYt8mk.css
>
> http://www.example.com/sites/news/files/css/css_qSyFGRLc-tslOV1oF9GCzEe1eGDn4PP7vOM1HGymNYU.css
>
>    Among the improvements I'm thinking about, we could decide to use
> relative
>    URIs when the site is the same. I don't know either if it's of any use
> on
>    the server side to know that the request was emitted for a specific CSS.
>
>  - If-Modified-Since: Fri, 27 Apr 2012 14:41:31 GMT
>    => I have encoded this one on 32 and 64 bits and immediately saved 3.1
> and
>       2.6 kB respectively. Well, storing 4 more bytes per request might be
>       wasted considering that we probably don't need a nanosecond
> resolution
>       for 585 years. But 40-48 bits might be fine.
>
>  - Cache-Control: max-age=0
>    => I suspect the user hit the Refresh button, this was present in about
>       half the requests. Anyway, this raises the question of the length it
>       requires for something which is just a boolean here ("ignore cache").
>       Probably that a client has very few Cache-Control header values to
>       send, and that reducing this to a smaller set would be beneficial.
>
>  - If-None-Match: "3013140661"
>    => I guess there is nothing we can do on this one, except suggest that
>       implementors use more bits and less bytes to emit their etags.
>
>  - Cookie: xtvrn=$OaiJty$; xtan327981=c; xtant327981=c; has_js=c;
> __utma=KBjWnx24Q.7qFKqmB7v.i0JDH91L_R.0kU2W1uL49.JM4KtFLV0b.C;
> __utmc=Rae9ZgQHz;
> __utmz=NRSZOcCWV.d5MlK5RJsi.-.f.N8J73w=S1SLuT_j0m.O8|VsIxwE=(jHw58obb)|r9SgsT=WQfZe8jr|pFSZGH=/@/qwDyMw3I;
> __gads=td=ASP_D5ml4Ebevrej:R=pvxltafqZK:x=E4FUn3YiNldW3rhxzX6YlCptZp8zF-b5qc;
> _chartbeat2=oQvb8k_G9tduhauf.LqOukjnlaaE7K.uDBaR79E1WT4t.Kr9L_lIrOtruE8;
> __qca=LC9oiRpFSWShYlxUtD37GJ2k8AL; __utmb=vG8UMEjrz.Qf.At.pXD61lUeHZ;
> pm8196_1=c; pm8194_1=c
>
>    => amazingly, this one compresses extremely well with the above scheme,
>       because additions are performed at the end so consecutive cookies
> keep
>       a lot in common, and changes are not too frequent. However, given the
>       omnipresent usage of cookies, I was wondering why we should not
> create
>       a new entity of its own for the cookies instead of abusing the Cookie
>       header. It would make it a lot easier for both ends to find what they
>       need. For instance, a load balancer just needs to find a server name
>       in the thing above. What a waste of on-wire bits and of CPU cycles !
>

You're suggesting breaking the above into smaller, addressable bits?


>
> BTW, binary encoding would probably also help addressing a request I often
> hear in banking environments : the need to sign/encrypt/compress only
> certain
> headers or cookies. Right now when people do this, they have to
> base64-encode
> the result, which is another transformation at both ends and inflates the
> data. If we make provisions in the protocol for announcing encrypted or
> compressed headers using 2-3 bits, it might become more usable. I'm not
> convinced it provides any benefit between a browser and an origin server
> though. So maybe it will remain application-specific and the transport
> just has to make it easier to emit 8-bit data in header field values.
>
>

> Has anyone any opinion on the subject above ? Or ideas about other things
> that terribly clobber the upstream pipe and that should be fixed in 2.0 ?
>

I like binary framing because it is significantly easier to get right and
works well when we're considering things other than just plain HTTP.
Token-based parsing is quite annoying in comparison-- it either requires
significant implementation complexity to minimize memory. With length-based
framing, the implementation complexity is decreased arguably for everyone
and certainly in cases where you wish to be efficient with buffers.

-=R


> I hope I'll soon find some time to update our draft to reflect recent
> updates
> and findings.
>
> Regards,
> Willy
>
> --
> [1] http://tools.ietf.org/id/draft-tarreau-httpbis-network-friendly-00.txt
> [2] http://1wt.eu/http2/
>
>
>

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

<br><br><div class=3D"gmail_quote">On Sun, Jun 10, 2012 at 4:17 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,<br>
<br>
I recently managed to collect requests from some enterprise proxies to<br>
experiment with binary encoding as described in our draft [1].<br>
<br>
After some experimentation and discussions with some people, I managed to<b=
r>
get significant gains [2] which could still be improved.<br>
<br>
What&#39;s currently performed is the following :<br>
 =A0- message framing<br>
 =A0- binary encoding of the HTTP version (2 bits)<br>
 =A0- binary encoding of the method (4 bits)<br>
 =A0- move Host header to the URI<br>
 =A0- encoding of the URI relative to the previous one<br>
 =A0- binary encoding of each header field names (1 byte)<br>
 =A0- encoding of each header relative to the previous one.<br>
 =A0- binary encoding of the If-Modified-Since date<br>
<br>
The code achieving this is available at [2]. It&#39;s an ugly PoC but it&#3=
9;s<br>
a useful experimentation tool for me, feel free to use it to experiment<br>
with your own implementations if you like.<br>
<br>
I&#39;m already observing request compression ratios of 90-92% on various<b=
r>
requests, including on a site with a huge page with large cookies and<br>
URIs ; 132 kB of requests were reduced to 10kB. In fact while the draft<br>
suggests use of multiple header contexts (connection, common and message),<=
br>
now I&#39;m feeling like we don&#39;t need to store 3 contexts anymore, one=
 single<br>
is enough if requests remain relative to previous one.<br></blockquote><div=
><br></div><div>For my deployment, I&#39;m fairly certain this would not be=
 all that common.</div><div>Two contexts may be enough &#39;connection&#39;=
 and &#39;common&#39;, but I think you had it right the first time.</div>
<div>The more clients you have and are aggregating through to elsewhere, to=
 more advantageous that scheme becomes.</div><div>=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex">

<br>
But I think that by typing a bit more the protocol, we could improve even<b=
r>
further and at the same time improve interoperability. Among the things<br>
I am observing which still take some space in the page load of an online<br=
>
newspaper (127 objects, data were anonymized) :<br>
<br>
 =A0- User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:1.=
9.2.12) Gecko/20101026 Firefox/3.6.12<br>
 =A0 =A0=3D&gt; Well, this one is only sent once over the connection, but w=
e could<br>
 =A0 =A0 =A0 reduce this further by using a registery of known vendors/prod=
ucts<br>
 =A0 =A0 =A0 and incite vendors to emit just a few bytes (vendor/product/ve=
rsion).<br>
<br>
 =A0- Accept: text/css,*/*;q=3D0.1<br>
 =A0 =A0=3D&gt; this one changes depending on what object the browser reque=
sts, so it<br>
 =A0 =A0 =A0 is less efficiently compressed :<br>
<br>
 =A0 =A0 =A0 =A01 Accept: text/html,application/xhtml+xml,application/xml;q=
=3D0.9,*/*;q=3D0.8<br>
 =A0 =A0 =A0 =A04 Accept: text/css,*/*;q=3D0.1<br>
 =A0 =A0 =A0 =A08 Accept: */*<br>
 =A0 =A0 =A0 =A01 Accept: image/png,image/*;q=3D0.8,*/*;q=3D0.5<br>
 =A0 =A0 =A0 =A02 Accept: */*<br>
 =A0 =A0 =A0 =A09 Accept: image/png,image/*;q=3D0.8,*/*;q=3D0.5<br>
 =A0 =A0 =A0 =A02 Accept: text/html,application/xhtml+xml,application/xml;q=
=3D0.9,*/*;q=3D0.8<br>
 =A0 =A0 =A0 90 Accept: image/png,image/*;q=3D0.8,*/*;q=3D0.5<br>
 =A0 =A0 =A0 =A01 Accept: */*<br>
 =A0 =A0 =A0 =A09 Accept: image/png,image/*;q=3D0.8,*/*;q=3D0.5<br>
<br>
 =A0 =A0=3D&gt; With better request reordering, we could have this :<br>
<br>
 =A0 =A0 =A0 11 Accept: */*<br>
 =A0 =A0 =A0109 Accept: image/png,image/*;q=3D0.8,*/*;q=3D0.5<br>
 =A0 =A0 =A0 =A04 Accept: text/css,*/*;q=3D0.1<br>
 =A0 =A0 =A0 =A03 Accept: text/html,application/xhtml+xml,application/xml;q=
=3D0.9,*/*;q=3D0.8<br></blockquote><div><br></div><div>Achieving this seems=
 difficult? How would we get a reording to occur in a reasonable manner?</d=
iv><div>
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">
<br>
 =A0 =A0I&#39;m already wondering if we have *that* many content-types and =
if we need<br>
 =A0 =A0to use long words such as &quot;application&quot; everywhere.<br></=
blockquote><div><br></div><div>We were quite wordy in the past :)</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">

<br>
 =A0- Accept-Language: fr,fr-fr;q=3D0.8,en-us;q=3D0.5,en;q=3D0.3<br>
 =A0 =A0Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7<br>
 =A0 =A0Accept-Encoding: gzip,deflate<br>
<br>
 =A0 =A0=3D&gt; Same comment as above concerning the number of possible val=
ues. However<br>
 =A0 =A0 =A0 these ones were all sent identical so the gain is more for the=
 remote<br>
 =A0 =A0 =A0 parser than for the upstream link.<br>
<br>
 =A0- Referer: <a href=3D"http://www.example.com/" target=3D"_blank">http:/=
/www.example.com/</a><br>
 =A0 =A0=3D&gt; referrers do compress quite well relative to each other. St=
ill there<br>
 =A0 =A0 =A0 are many blogs and newspapers on the net today with very large=
 URLs,<br>
 =A0 =A0 =A0 and their URLs cause very large referrers to be sent along wit=
h each<br>
 =A0 =A0 =A0 object composing the page. At least a better ordering of the r=
equests<br>
 =A0 =A0 =A0 saves a few more hundred bytes for the whole page. In the end =
I only<br>
 =A0 =A0 =A0 got 4 different values :<br>
 =A0 =A0 =A0 <a href=3D"http://www.example.com/" target=3D"_blank">http://w=
ww.example.com/</a><br>
 =A0 =A0 =A0 <a href=3D"http://www.example.com/sites/news/files/css/css_RWi=
cSr_h9UxCJrAbE57UbNf_oNYhtaF5YghFXJemVNQ.css" target=3D"_blank">http://www.=
example.com/sites/news/files/css/css_RWicSr_h9UxCJrAbE57UbNf_oNYhtaF5YghFXJ=
emVNQ.css</a><br>

 =A0 =A0 =A0 <a href=3D"http://www.example.com/sites/news/files/css/css_lKo=
FARDAyB20ibb5wNG8nMhflDNNW_Nb9DsNprYt8mk.css" target=3D"_blank">http://www.=
example.com/sites/news/files/css/css_lKoFARDAyB20ibb5wNG8nMhflDNNW_Nb9DsNpr=
Yt8mk.css</a><br>

 =A0 =A0 =A0 <a href=3D"http://www.example.com/sites/news/files/css/css_qSy=
FGRLc-tslOV1oF9GCzEe1eGDn4PP7vOM1HGymNYU.css" target=3D"_blank">http://www.=
example.com/sites/news/files/css/css_qSyFGRLc-tslOV1oF9GCzEe1eGDn4PP7vOM1HG=
ymNYU.css</a><br>

<br>
 =A0 =A0Among the improvements I&#39;m thinking about, we could decide to u=
se relative<br>
 =A0 =A0URIs when the site is the same. I don&#39;t know either if it&#39;s=
 of any use on<br>
 =A0 =A0the server side to know that the request was emitted for a specific=
 CSS.<br>
<br>
 =A0- If-Modified-Since: Fri, 27 Apr 2012 14:41:31 GMT<br>
 =A0 =A0=3D&gt; I have encoded this one on 32 and 64 bits and immediately s=
aved 3.1 and<br>
 =A0 =A0 =A0 2.6 kB respectively. Well, storing 4 more bytes per request mi=
ght be<br>
 =A0 =A0 =A0 wasted considering that we probably don&#39;t need a nanosecon=
d resolution<br>
 =A0 =A0 =A0 for 585 years. But 40-48 bits might be fine.<br>
<br>
 =A0- Cache-Control: max-age=3D0<br>
 =A0 =A0=3D&gt; I suspect the user hit the Refresh button, this was present=
 in about<br>
 =A0 =A0 =A0 half the requests. Anyway, this raises the question of the len=
gth it<br>
 =A0 =A0 =A0 requires for something which is just a boolean here (&quot;ign=
ore cache&quot;).<br>
 =A0 =A0 =A0 Probably that a client has very few Cache-Control header value=
s to<br>
 =A0 =A0 =A0 send, and that reducing this to a smaller set would be benefic=
ial.<br>
<br>
 =A0- If-None-Match: &quot;3013140661&quot;<br>
 =A0 =A0=3D&gt; I guess there is nothing we can do on this one, except sugg=
est that<br>
 =A0 =A0 =A0 implementors use more bits and less bytes to emit their etags.=
<br>
<br>
 =A0- Cookie: xtvrn=3D$OaiJty$; xtan327981=3Dc; xtant327981=3Dc; has_js=3Dc=
; __utma=3DKBjWnx24Q.7qFKqmB7v.i0JDH91L_R.0kU2W1uL49.JM4KtFLV0b.C; __utmc=
=3DRae9ZgQHz; __utmz=3DNRSZOcCWV.d5MlK5RJsi.-.f.N8J73w=3DS1SLuT_j0m.O8|VsIx=
wE=3D(jHw58obb)|r9SgsT=3DWQfZe8jr|pFSZGH=3D/@/qwDyMw3I; __gads=3Dtd=3DASP_D=
5ml4Ebevrej:R=3DpvxltafqZK:x=3DE4FUn3YiNldW3rhxzX6YlCptZp8zF-b5qc; _chartbe=
at2=3DoQvb8k_G9tduhauf.LqOukjnlaaE7K.uDBaR79E1WT4t.Kr9L_lIrOtruE8; __qca=3D=
LC9oiRpFSWShYlxUtD37GJ2k8AL; __utmb=3DvG8UMEjrz.Qf.At.pXD61lUeHZ; pm8196_1=
=3Dc; pm8194_1=3Dc<br>

<br>
 =A0 =A0=3D&gt; amazingly, this one compresses extremely well with the abov=
e scheme,<br>
 =A0 =A0 =A0 because additions are performed at the end so consecutive cook=
ies keep<br>
 =A0 =A0 =A0 a lot in common, and changes are not too frequent. However, gi=
ven the<br>
 =A0 =A0 =A0 omnipresent usage of cookies, I was wondering why we should no=
t create<br>
 =A0 =A0 =A0 a new entity of its own for the cookies instead of abusing the=
 Cookie<br>
 =A0 =A0 =A0 header. It would make it a lot easier for both ends to find wh=
at they<br>
 =A0 =A0 =A0 need. For instance, a load balancer just needs to find a serve=
r name<br>
 =A0 =A0 =A0 in the thing above. What a waste of on-wire bits and of CPU cy=
cles !<br></blockquote><div><br></div><div>You&#39;re suggesting breaking t=
he above into smaller, addressable bits?</div><div>=A0</div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pa=
dding-left:1ex">

<br>
BTW, binary encoding would probably also help addressing a request I often<=
br>
hear in banking environments : the need to sign/encrypt/compress only certa=
in<br>
headers or cookies. Right now when people do this, they have to base64-enco=
de<br>
the result, which is another transformation at both ends and inflates the<b=
r>
data. If we make provisions in the protocol for announcing encrypted or<br>
compressed headers using 2-3 bits, it might become more usable. I&#39;m not=
<br>
convinced it provides any benefit between a browser and an origin server<br=
>
though. So maybe it will remain application-specific and the transport<br>
just has to make it easier to emit 8-bit data in header field values.<br>
<br></blockquote><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Has anyone any opinion on the subject above ? Or ideas about other things<b=
r>
that terribly clobber the upstream pipe and that should be fixed in 2.0 ?<b=
r></blockquote><div><br></div><div>I like binary framing because it is sign=
ificantly easier to get right and works well when we&#39;re considering thi=
ngs other than just plain HTTP.</div>
<div>Token-based parsing is quite annoying in comparison-- it either requir=
es significant implementation complexity to minimize memory. With length-ba=
sed framing, the implementation complexity is decreased arguably for everyo=
ne and certainly in cases where you wish to be efficient with buffers.</div=
>
<div><br></div><div>-=3DR</div><div><br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
">
<br>
I hope I&#39;ll soon find some time to update our draft to reflect recent u=
pdates<br>
and findings.<br>
<br>
Regards,<br>
Willy<br>
<br>
--<br>
[1] <a href=3D"http://tools.ietf.org/id/draft-tarreau-httpbis-network-frien=
dly-00.txt" target=3D"_blank">http://tools.ietf.org/id/draft-tarreau-httpbi=
s-network-friendly-00.txt</a><br>
[2] <a href=3D"http://1wt.eu/http2/" target=3D"_blank">http://1wt.eu/http2/=
</a><br>
<br>
<br>
</blockquote></div><br>

--f46d04428b501d19fb04c226bf99--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 02:18: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 E495421F8555 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 02:18:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.999
X-Spam-Level: 
X-Spam-Status: No, score=-8.999 tagged_above=-999 required=5 tests=[AWL=1.600, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eW-7hXOBcTbf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 02:18:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1090021F8554 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 02:18:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se0kX-0002Vj-QK for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 09:17:25 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1Se0kF-0002Uq-Hy for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 09:17:07 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Se0k8-0001nG-Rb for ietf-http-wg@w3.org; Mon, 11 Jun 2012 09:17:06 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q5B9Gaeg008169; Mon, 11 Jun 2012 11:16:36 +0200
Date: Mon, 11 Jun 2012 11:16:36 +0200
From: Willy Tarreau <w@1wt.eu>
To: Roberto Peon <grmocg@gmail.com>
Cc: ietf-http-wg@w3.org
Message-ID: <20120611091636.GA7538@1wt.eu>
References: <20120610231757.GA4983@1wt.eu> <CAP+FsNeqeihCZbbDG3mO55M9wEVEuFixGfrdPQ8jkSgSmjzN3A@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAP+FsNeqeihCZbbDG3mO55M9wEVEuFixGfrdPQ8jkSgSmjzN3A@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Se0k8-0001nG-Rb 34b23dca24b1ee239dc30e44892278db
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Significantly reducing headers footprint
Archived-At: <http://www.w3.org/mid/20120611091636.GA7538@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13709
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se0kX-0002Vj-QK@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 09:17:25 +0000

Hi Roberto !

I was sure you would be the first to respond :-)

On Sun, Jun 10, 2012 at 04:39:37PM -0700, Roberto Peon wrote:
> > I'm already observing request compression ratios of 90-92% on various
> > requests, including on a site with a huge page with large cookies and
> > URIs ; 132 kB of requests were reduced to 10kB. In fact while the draft
> > suggests use of multiple header contexts (connection, common and message),
> > now I'm feeling like we don't need to store 3 contexts anymore, one single
> > is enough if requests remain relative to previous one.
> >
> 
> For my deployment, I'm fairly certain this would not be all that common.
> Two contexts may be enough 'connection' and 'common', but I think you had
> it right the first time.

Connection indeed has some uses, but we found that these are sometimes
limited. Between a client and a server, the UA and connection information
may be transmitted. Whether it's transmitted as a connection-specific header
or as a normal header that is retained for all other messages doesn't make a
difference.

For a proxy, connection headers may be used to transmit Via and the
Forwarded-For header. This last one goes away if connections are
multiplexed between multiple clients.

Concerning the merge oc common+message into message, I found in the traffic
I analysed that a number of header fields are transmitted for a few requests
in a row only. Initially I thought that sending a set of headers which are
planned to be common for multiple consecutive requests was the way to do it.
But after seeing the traces, I'm realizing that sending differences between
consecutive requests achieves the same result with more flexibility and better
resistance to frequent changes. Also, one of the difficulties for a proxy was
to decide what to put into the common section. By only sending differences
between requests, this problem doesn't exist anymore.

> The more clients you have and are aggregating through to elsewhere, to more
> advantageous that scheme becomes.

Warning, for me there always was only one common section, since we can't make
a server support an infinite number of contexts.

> >  - Accept: text/css,*/*;q=0.1
> >    => this one changes depending on what object the browser requests, so it
> >       is less efficiently compressed :
> >
> >        1 Accept:
> > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> >        4 Accept: text/css,*/*;q=0.1
> >        8 Accept: */*
> >        1 Accept: image/png,image/*;q=0.8,*/*;q=0.5
> >        2 Accept: */*
> >        9 Accept: image/png,image/*;q=0.8,*/*;q=0.5
> >        2 Accept:
> > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> >       90 Accept: image/png,image/*;q=0.8,*/*;q=0.5
> >        1 Accept: */*
> >        9 Accept: image/png,image/*;q=0.8,*/*;q=0.5
> >
> >    => With better request reordering, we could have this :
> >
> >       11 Accept: */*
> >      109 Accept: image/png,image/*;q=0.8,*/*;q=0.5
> >        4 Accept: text/css,*/*;q=0.1
> >        3 Accept:
> > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> >
> 
> Achieving this seems difficult? How would we get a reording to occur in a
> reasonable manner?

I don't think it's that difficult, but I'm not a browser developer and I'm
sure they're facing a huge amount of complex issues. For instance, maybe
it's not always possible to fetch all images at a time, or to fetch css
first then images. I must say I don't know :-/

> >    I'm already wondering if we have *that* many content-types and if we
> > need
> >    to use long words such as "application" everywhere.
> 
> We were quite wordy in the past :)

Yes, indeed.

> >  - Cookie: xtvrn=$OaiJty$; xtan327981=c; xtant327981=c; has_js=c;
> > __utma=KBjWnx24Q.7qFKqmB7v.i0JDH91L_R.0kU2W1uL49.JM4KtFLV0b.C;
> > __utmc=Rae9ZgQHz;
> > __utmz=NRSZOcCWV.d5MlK5RJsi.-.f.N8J73w=S1SLuT_j0m.O8|VsIxwE=(jHw58obb)|r9SgsT=WQfZe8jr|pFSZGH=/@/qwDyMw3I;
> > __gads=td=ASP_D5ml4Ebevrej:R=pvxltafqZK:x=E4FUn3YiNldW3rhxzX6YlCptZp8zF-b5qc;
> > _chartbeat2=oQvb8k_G9tduhauf.LqOukjnlaaE7K.uDBaR79E1WT4t.Kr9L_lIrOtruE8;
> > __qca=LC9oiRpFSWShYlxUtD37GJ2k8AL; __utmb=vG8UMEjrz.Qf.At.pXD61lUeHZ;
> > pm8196_1=c; pm8194_1=c
> >
> >    => amazingly, this one compresses extremely well with the above scheme,
> >       because additions are performed at the end so consecutive cookies
> > keep
> >       a lot in common, and changes are not too frequent. However, given the
> >       omnipresent usage of cookies, I was wondering why we should not
> > create
> >       a new entity of its own for the cookies instead of abusing the Cookie
> >       header. It would make it a lot easier for both ends to find what they
> >       need. For instance, a load balancer just needs to find a server name
> >       in the thing above. What a waste of on-wire bits and of CPU cycles !
> >
> 
> You're suggesting breaking the above into smaller, addressable bits?

Yes possibly. I'm not completely sure yet because the overhead of "; =" is
small. That said, we're seeing many hex-encoded or base64-encoded cookies
everywhere, and such use cases would benefit from being length-delimited
and support binary contents.

> > Has anyone any opinion on the subject above ? Or ideas about other things
> > that terribly clobber the upstream pipe and that should be fixed in 2.0 ?
> 
> I like binary framing because it is significantly easier to get right and
> works well when we're considering things other than just plain HTTP.
>
> Token-based parsing is quite annoying in comparison-- it either requires
> significant implementation complexity to minimize memory.

And it forces us to support border-line variants (eg: LF vs CRLF, case
matching, support of empty names and spaces around names, etc...). And it
requires the recipient to parse data it doesn't care about, just to find
delimiters.

> With length-based
> framing, the implementation complexity is decreased arguably for everyone
> and certainly in cases where you wish to be efficient with buffers.

Exactly. And it's harder to get it wrong :-)

Thanks,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 03:22: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 0DBBF21F849A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 03:22:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.532
X-Spam-Level: 
X-Spam-Status: No, score=-8.532 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, RCVD_NUMERIC_HELO=2.067]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xwyvK5cmfrc8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 03:22:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 88DB821F848B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 03:22:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se1jh-0004VA-SS for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 10:20:37 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1Se1jW-0004UJ-PN for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 10:20:26 +0000
Received: from plane.gmane.org ([80.91.229.3]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1Se1jU-0004Zl-3G for ietf-http-wg@w3.org; Mon, 11 Jun 2012 10:20:24 +0000
Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1Se1j4-0007V5-Le for ietf-http-wg@w3.org; Mon, 11 Jun 2012 12:19:58 +0200
Received: from 192.196.142.27 ([192.196.142.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 12:19:57 +0200
Received: from nicolas.mailhot by 192.196.142.27 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 12:19:57 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-http-wg@w3.org
From: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Date: Mon, 11 Jun 2012 10:19:48 +0000 (UTC)
Lines: 28
Message-ID: <loom.20120611T120934-721@post.gmane.org>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <66C57D90-4177-48B6-AB34-7AA6B1F7BBCD@checkpoint.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: sea.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 192.196.142.27 (Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0)
Received-SPF: pass client-ip=80.91.229.3; envelope-from=gix-ietf-http-wg@m.gmane.org; helo=plane.gmane.org
X-W3C-Hub-Spam-Status: No, score=-0.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_NUMERIC_HELO=1.164, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Se1jU-0004Zl-3G 5271d3e3fe1cf287c6e66cf4b39cc56b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/loom.20120611T120934-721@post.gmane.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13710
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se1jh-0004VA-SS@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 10:20:37 +0000

Yoav Nir <ynir@...> writes:

> Thinking it over, the message is supposed to be sent to humans, not machines.
So the correct thing would be to redirect to a service-provider hosted page,
that says what was blocked and why.

1. browsers will silently block the redirect if the original request was for an
https URL, so that does not work

2. some dumb clients will loop over redirects they don't understand

3. dumb web clients can not parse a complex html page and need the response in a
header or something simple they can grab and relay elsewhere (for example a fat
client that uses curl or some other http lib: curl needs to grab the message so
the fat client can display it in a popup)

4. the message is not always a simple no (at a conference/school guests will
have limited accesses but staff no so the message could be 'go authentify
yourself there to prove you're staff before I let you access what you requested')

5. the 'authentify there' can vary depending on what you're trying to access
(not all network traffic will be routed through the same gateways)

6. ideally the message needs to be signed by the requesting authority so it can
not be spoofed by truants






From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 03:56: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 743E021F847E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 03:56: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gh4XkfAjgimt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 03:56:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 85F6921F8470 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 03:56:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se2Ha-00036j-9l for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 10:55:38 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <karld@opera.com>) id 1Se2HP-00035s-QF for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 10:55:27 +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 1Se2HL-00062T-UH for ietf-http-wg@w3.org; Mon, 11 Jun 2012 10:55:25 +0000
Received: from [10.0.1.20] (modemcable119.80-59-74.mc.videotron.ca [74.59.80.119]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q5BAsmG8021543 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 11 Jun 2012 10:54:50 GMT
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net>
In-Reply-To: <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
Message-Id: <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: James M Snell <jasnell@gmail.com>, Tim Bray <tbray@textuality.com>, ietf-http-wg@w3.org
From: Karl Dubost <karld@opera.com>
Date: Mon, 11 Jun 2012 06:54:47 -0400
To: Mark Nottingham <mnot@mnot.net>
X-Mailer: Apple Mail (2.1278)
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.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Se2HL-00062T-UH 06f26f5b04716bfa485336ee7c5763f8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13711
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se2Ha-00036j-9l@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 10:55:38 +0000

For me the main argument against its implementability is that:

Le 10 juin 2012 =E0 19:20, Mark Nottingham a =E9crit :
> However, it'd need to get deployed. Since the primary objective of =
such a status code seems to be to raise the visibility of censorship, =
thereby (presumably) causing some reaction against it, it seems unlikely =
that it'll happen in places where there's strong oversight of whoever is =
deploying it.


That said, I guess, and without malice, that Mark had in mind a state =
like China, Iran, etc. Censorship happens sometimes in other states =
through decision of laws and/or regulations. For example, a network in a =
corporate environment blocking certain sites through proxy (such as =
social networks). A library blocking some sites through proxy to other =
users. In these cases, the organization in charge of it might want to =
advertise it for reasons which seem perfectly legible to them.


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



From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 04:10: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 AD7D421F8593 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 04:10: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=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ovyLERbODIZQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 04:10:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AD38721F858A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 04:10:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se2Vq-0005fQ-Qd for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 11:10:22 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Se2Vd-0005eS-Kg for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 11:10:09 +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 1Se2VT-00012i-4y for ietf-http-wg@w3.org; Mon, 11 Jun 2012 11:10:03 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 3B740509B4; Mon, 11 Jun 2012 07:09:30 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com>
Date: Mon, 11 Jun 2012 21:09:27 +1000
Cc: James M Snell <jasnell@gmail.com>, Tim Bray <tbray@textuality.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <11A618A3-7906-4619-BC63-438D564DB328@mnot.net>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com>
To: Karl Dubost <karld@opera.com>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1Se2VT-00012i-4y 8522b70c7f02c9bbf09f2092e2a9dc7a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/11A618A3-7906-4619-BC63-438D564DB328@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13712
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se2Vq-0005fQ-Qd@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 11:10:22 +0000

On 11/06/2012, at 8:54 PM, Karl Dubost wrote:

> For me the main argument against its implementability is that:
>=20
> Le 10 juin 2012 =E0 19:20, Mark Nottingham a =E9crit :
>> However, it'd need to get deployed. Since the primary objective of =
such a status code seems to be to raise the visibility of censorship, =
thereby (presumably) causing some reaction against it, it seems unlikely =
that it'll happen in places where there's strong oversight of whoever is =
deploying it.
>=20
>=20
> That said, I guess, and without malice, that Mark had in mind a state =
like China, Iran, etc.

On the contrary; those in charge have rewired my head so that I'm unable =
to form any such thoughts about specific state actors, companies, =
implementers or other parties that may take slight.

It's somewhat liberating, but makes reading the Saturday paper a bit =
problematic.


> Censorship happens sometimes in other states through decision of laws =
and/or regulations. For example, a network in a corporate environment =
blocking certain sites through proxy (such as social networks). A =
library blocking some sites through proxy to other users. In these =
cases, the organization in charge of it might want to advertise it for =
reasons which seem perfectly legible to them.

Yes. However, as discussed, current status codes can be used for this, =
and the HTML will explain what's going on. The one remaining motivation =
that I can see would be a similar situation that got us 511; non-browser =
devices that get confused by what's going on. However, since this isn't =
a redirect, but just a refusal, it's less of an issue, practically.

Cheers,



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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 04:59: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 EBA8B21F8564 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 04:59: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OUDRIX6BkpGu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 04:59:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2F0A221F851A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 04:59:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se3GW-0004dc-1R for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 11:58:36 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Se3GL-0004cH-CG for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 11:58:25 +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 1Se3GI-0000FY-F1 for ietf-http-wg@w3.org; Mon, 11 Jun 2012 11:58:23 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9893150A6C; Mon, 11 Jun 2012 07:58:00 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD1D0AD.4080109@gmx.de>
Date: Mon, 11 Jun 2012 21:57:57 +1000
Cc: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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 1Se3GI-0000FY-F1 971fb31770e784da0ee3801f679c8d57
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13713
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se3GW-0004dc-1R@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 11:58:36 +0000

On 08/06/2012, at 8:15 PM, Julian Reschke wrote:

> On 2012-06-08 12:06, Mark Nottingham wrote:
>>=20
>> On 08/06/2012, at 7:57 PM, Julian Reschke wrote:
>>=20
>>> On 2012-06-08 09:30, Mark Nottingham wrote:
>>>> Revised proposal, based upon discussion:
>>>>=20
>>>>> Add a note to =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#calculating.freshness.lifetime>:
>>>>>=20
>>>>> """
>>>>> When there is more than one value present for a given directive =
(e.g., two Expires headers, multiple Cache-Control: max-age directives), =
it is considered invalid. Caches SHOULD consider responses that have =
invalid freshness information to be stale.
>>>>> """
>>>>=20
>>>>=20
>>>> Any further comments? Otherwise we'll close and incorporate.
>>>> ...
>>>=20
>>> Would it make sense to have generic text in the definition of =
Cache-Control about this?
>>=20
>> Don't think so, because...
>>=20
>>> Does the "must have a single value" rule apply to all directives?
>>=20
>> No; I've seen examples that use multiple values (can't remember what =
ATM)
>=20
> If that is the case, we probably need to spend some more time on =
clarifying this, as this different from similar header fields.

How so? I thought we'd agreed we don't have shared microsyntax / model =
for our existing headers...



>>> Can the definition of error recovery diverge per directive?
>>=20
>> I imagine so.
>=20
> Which makes it sound as if we should define it for all directives =
defined in this spec (as bad as this sounds)...


If someone wants to point out specific instances where they believe it's =
important for security and/or interoperability, and it doesn't fall =
afoul of our stance on error handling, by all means.

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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 05:14: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 74E8621F8568 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:14:02 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M9Sha3qOmoFy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:14:01 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B50FB21F8567 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 05:14:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se3Tp-0007ss-4b for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 12:12:21 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Se3TZ-0007rp-Iq for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 12:12:05 +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 1Se3TD-0000k9-VL for ietf-http-wg@w3.org; Mon, 11 Jun 2012 12:11:53 +0000
Received: (qmail invoked by alias); 11 Jun 2012 12:10:52 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp028) with SMTP; 11 Jun 2012 14:10:52 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18Pa/5ym40Pr5qU4oQhzEX0cc6axWjhp3dp1sWlsZ +Yt0tmIFd6fTiU
Message-ID: <4FD5E04B.2000103@gmx.de>
Date: Mon, 11 Jun 2012 14:10:51 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net>
In-Reply-To: <EC5286A1-C4C3-4509-8C93-683899470E4A@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Se3TD-0000k9-VL 6bd39a24871491e87ceb79fe8efd61ba
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4FD5E04B.2000103@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13714
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se3Tp-0007ss-4b@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 12:12:21 +0000

On 2012-06-11 13:57, Mark Nottingham wrote:
> ...
>> If that is the case, we probably need to spend some more time on clarifying this, as this different from similar header fields.
>
> How so? I thought we'd agreed we don't have shared microsyntax / model for our existing headers...

At least for those headers that inherit MIME header field parameter 
syntax (such as C-T and C-D) I believe the consensus was that parameters 
can not get repeated. It might be hard to find something normative on 
that, though.

So let's rephrase this: optimally, we

- defined this for all header fields in the spec (optimally globally for 
all parameters of that header field), and

- advise people defining new header fields to do so as well (-> 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-19.html#rfc.section.3.1>)

>>>> Can the definition of error recovery diverge per directive?
>>>
>>> I imagine so.
>>
>> Which makes it sound as if we should define it for all directives defined in this spec (as bad as this sounds)...
>
>
> If someone wants to point out specific instances where they believe it's important for security and/or interoperability, and it doesn't fall afoul of our stance on error handling, by all means.

Right now we don't say anything what to do, for instance, with two 
max-age directives? If this is an invalid header field instance, we 
should say so. If it's not, we should say how to handle that.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 05:22: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 CBE2721F853B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:22: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id synyTtDGHQ8t for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:22:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4CD4C21F84FC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 05:22:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se3ax-0001uR-F6 for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 12:19:43 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <semtlenori@gmail.com>) id 1Se3al-0001ta-UR for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 12:19:31 +0000
Received: from mail-gg0-f171.google.com ([209.85.161.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <semtlenori@gmail.com>) id 1Se3ae-00010F-Gr for ietf-http-wg@w3.org; Mon, 11 Jun 2012 12:19:29 +0000
Received: by ggmi1 with SMTP id i1so2416322ggm.2 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 05:18:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Dk0d4LTxXD/iXFTCpYmLbxZEqM05fI0y0lZDFoSySr8=; b=rEPmZltve81TndpfBMDwJR3xHUUGG0wJfaRcZMZlgh72Wm4llaPOvhEXdi2BnucQkM EUEcHr/d1X+Wl9yG19lOCzLoVSUqoN8Rs9BMy6Guaq8GkWjMduxuJs7AjTzx3+FOPL2s iRlNRr1EsZN++U3t6T2EMCHxZdWrocxFsuhtfM2LbRZerBBwEQTyqtS1DcxdHxvHdJDt lOOG62o0Ff0h0IowKI8lwf1AokpzCOcLhO0k6ef7OBdiHlu3xkfRgFavCscKms4E61Pf LIOCkCXT9BlivojwGXnuCjkAH2ESiHlKlq/zd2Rjqx84fQsbJdW/+UPwEKvxBZ/orVCD Xr3w==
MIME-Version: 1.0
Received: by 10.60.25.100 with SMTP id b4mr16033911oeg.64.1339417139110; Mon, 11 Jun 2012 05:18:59 -0700 (PDT)
Received: by 10.182.170.4 with HTTP; Mon, 11 Jun 2012 05:18:59 -0700 (PDT)
Reply-To: semtlenori@gmail.com
In-Reply-To: <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net>
Date: Mon, 11 Jun 2012 21:18:59 +0900
Message-ID: <CAFT+Tg_qBwJmuetKP_1CEvWyyuFP_6-sDdiQPAtsW1kuEY2xsA@mail.gmail.com>
From: "Yi, EungJun" <semtlenori@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: James M Snell <jasnell@gmail.com>, Tim Bray <tbray@textuality.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Received-SPF: pass client-ip=209.85.161.171; envelope-from=semtlenori@gmail.com; helo=mail-gg0-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, FSL_FREEMAIL_1=0.001, FSL_FREEMAIL_2=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Se3ae-00010F-Gr 2d303b38ddeac29019c2d3ffcba33b11
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/CAFT+Tg_qBwJmuetKP_1CEvWyyuFP_6-sDdiQPAtsW1kuEY2xsA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13715
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se3ax-0001uR-F6@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 12:19:43 +0000

>
> P.S. The interesting part, for me, is that this is a perfectly valid use of 403, according to our specs:
>
> "The server understood the request, but refuses to authorize it."
>
> Note "server", not "origin server" -- which in both 2616 and bis means *any* server in the chain can send it.
>

+1.

And 403 is also helpful for users because it allows to describe in the
entity why the request is refused.

In 10.4.4. 403 Forbidden, RFC 2616 says,
"If the request method was not HEAD and the server wishes to make
public why the request has not been fulfilled, it SHOULD describe the
reason for the refusal in the entity".


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 05:38: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 6AF1921F84A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:38:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.999
X-Spam-Level: 
X-Spam-Status: No, score=-8.999 tagged_above=-999 required=5 tests=[AWL=1.600, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0nnaf8R2LbZe for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:38:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2E57021F8497 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 05:38:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se3rv-0005vU-1v for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 12:37:15 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Se3rc-0005aC-8W for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 12:36:56 +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 1Se3rU-0001re-N4 for ietf-http-wg@w3.org; Mon, 11 Jun 2012 12:36:54 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 991E750A64; Mon, 11 Jun 2012 08:36:25 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD4FAF0.8060104@gmx.de>
Date: Mon, 11 Jun 2012 22:36:22 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net>
References: <4FD4FAF0.8060104@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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 1Se3rU-0001re-N4 366b8c723a66a62d619c49a0ddd6c29e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13716
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se3rv-0005vU-1v@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 12:37:15 +0000

+1; do you have a diff?

On 11/06/2012, at 5:52 AM, Julian Reschke wrote:

> This is a left-over TODO from previous ABNF discussions -- =
Cache-Control currently defines directives as part of it's value ABNF; =
which makes it look as if generic parsers need to special-case the =
predefined directives. Hopefully we all agree that parsers should be =
generic (as we suggest for new header fields in P2).
>=20
> Thus I'd like to simplify the Cache-Control ABNF to the bare minimum, =
and then define the individual directives in separate subsections. =
Here's how this might look:
>=20
> 3.2.  Cache-Control
>=20
>   The "Cache-Control" header field is used to specify directives for
>   caches along the request/response chain.  Such cache directives are
>   unidirectional in that the presence of a directive in a request does
>   not imply that the same directive is to be given in the response.
>=20
>   A cache MUST obey the requirements of the Cache-Control directives
>   defined in this section.  See Section 3.2.3 for information about =
how
>   Cache-Control directives defined elsewhere are handled.
>=20
>      Note: HTTP/1.0 caches might not implement Cache-Control and might
>      only implement Pragma: no-cache (see Section 3.4).
>=20
>   A proxy, whether or not it implements a cache, MUST pass cache
>   directives through in forwarded messages, regardless of their
>   significance to that application, since the directives might be
>   applicable to all recipients along the request/response chain.  It =
is
>   not possible to target a directive to a specific cache.
>=20
>   Cache directives are identified by a token, to be compared case-
>   insensitively, and have an optional argument, that can use both =
token
>   and quoted-string syntax.  Recipients MUST accept both forms.
>=20
>     Cache-Control   =3D 1#cache-directive
>=20
>     cache-directive =3D token [ "=3D" ( token / quoted-string ) ]
>=20
>   For the cache directives defined below, no argument is defined (nor
>   allowed) otherwise stated otherwise.
>=20
> 3.2.1.  Request Cache-Control Directives
>=20
> 3.2.1.1.  no-cache
>=20
>   The no-cache request directive indicates that a cache MUST NOT use a
>   stored response to satisfy the request without successful validation
>   on the origin server.
>=20
> 3.2.1.2.  no-store
>=20
>   The no-store request directive indicates that a cache MUST NOT store
>   any part of either this request or any response to it.  This
>   directive applies to both private and shared caches.  "MUST NOT
>   store" in this context means that the cache MUST NOT intentionally
>   store the information in non-volatile storage, and MUST make a best-
>   effort attempt to remove the information from volatile storage as
>   promptly as possible after forwarding it.
>=20
>   This directive is NOT a reliable or sufficient mechanism for =
ensuring
>   privacy.  In particular, malicious or compromised caches might not
>   recognize or obey this directive, and communications networks might
>   be vulnerable to eavesdropping.
>=20
>   Note that if a request containing this directive is satisfied from a
>   cache, the no-store request directive does not apply to the already
>   stored response.
>=20
> 3.2.1.3.  max-age
>=20
>   Argument syntax:
>=20
>      delta-seconds (see Section 1.5)
>=20
>   The max-age request directive indicates that the client is unwilling
>   to accept a response whose age is greater than the specified number
>   of seconds.  Unless the max-stale request directive is also present,
>   the client is not willing to accept a stale response.
>=20
> 3.2.1.4.  max-stale
>=20
>   Argument syntax:
>=20
>      delta-seconds (see Section 1.5)
>=20
>   The max-stale request directive indicates that the client is willing
>   to accept a response that has exceeded its expiration time.  If max-
>   stale is assigned a value, then the client is willing to accept a
>   response that has exceeded its expiration time by no more than the
>   specified number of seconds.  If no value is assigned to max-stale,
>   then the client is willing to accept a stale response of any age.
>=20
> 3.2.1.5.  min-fresh
>=20
>   Argument syntax:
>=20
>      delta-seconds (see Section 1.5)
>=20
>   The min-fresh request directive indicates that the client is willing
>   to accept a response whose freshness lifetime is no less than its
>   current age plus the specified time in seconds.  That is, the client
>   wants a response that will still be fresh for at least the specified
>   number of seconds.
>=20
> 3.2.1.6.  no-transform
>=20
>   The no-transform request directive indicates that an intermediary
>   (whether or not it implements a cache) MUST NOT change the Content-
>   Encoding, Content-Range or Content-Type request header fields, nor
>   the request representation.
>=20
> 3.2.1.7.  only-if-cached
>=20
>   The only-if-cached request directive indicates that the client only
>   wishes to obtain a stored response.  If it receives this directive, =
a
>   cache SHOULD either respond using a stored response that is
>   consistent with the other constraints of the request, or respond =
with
>   a 504 (Gateway Timeout) status code.  If a group of caches is being
>   operated as a unified system with good internal connectivity, a
>   member cache MAY forward such a request within that group of caches.
>=20
> 3.2.2.  Response Cache-Control Directives
>=20
> 3.2.2.1.  public
>=20
>   The public response directive indicates that a response whose
>   associated request contains an 'Authentication' header MAY be stored
>   (see Section 2.7).
>=20
> 3.2.2.2.  private
>=20
>   Argument syntax:
>=20
>      #field-name
>=20
>   The private response directive indicates that the response message =
is
>   intended for a single user and MUST NOT be stored by a shared cache.
>   A private cache MAY store the response.
>=20
>   If the private response directive specifies one or more field-names,
>   this requirement is limited to the field-values associated with the
>   listed response header fields.  That is, a shared cache MUST NOT
>   store the specified field-names(s), whereas it MAY store the
>   remainder of the response message.
>=20
>   The field-names given are not limited to the set of standard header
>   fields defined by this specification.  Field names are case-
>   insensitive.
>=20
>   Note: This usage of the word "private" only controls where the
>   response can be stored; it cannot ensure the privacy of the message
>   content.  Also, private response directives with field-names are
>   often handled by implementations as if an unqualified private
>   directive was received; i.e., the special handling for the qualified
>   form is not widely implemented.
>=20
>   Note: For compatibility with non-robust recipients, even a single-
>   entry list of field names SHOULD be sent using the quoted-string
>   syntax.
>=20
> 3.2.2.3.  no-cache
>=20
>   Argument syntax:
>=20
>      #field-name
>=20
>   The no-cache response directive indicates that the response MUST NOT
>   be used to satisfy a subsequent request without successful =
validation
>   on the origin server.  This allows an origin server to prevent a
>   cache from using it to satisfy a request without contacting it, even
>   by caches that have been configured to return stale responses.
>=20
>   If the no-cache response directive specifies one or more =
field-names,
>   then a cache MAY use the response to satisfy a subsequent request,
>   subject to any other restrictions on caching.  However, any header
>   fields in the response that have the field-name(s) listed MUST NOT =
be
>   sent in the response to a subsequent request without successful
>   revalidation with the origin server.  This allows an origin server =
to
>   prevent the re-use of certain header fields in a response, while
>   still allowing caching of the rest of the response.
>=20
>   The field-names given are not limited to the set of standard header
>   fields defined by this specification.  Field names are case-
>   insensitive.
>=20
>   Note: Most HTTP/1.0 caches will not recognize or obey this =
directive.
>   Also, no-cache response directives with field-names are often =
handled
>   by implementations as if an unqualified no-cache directive was
>   received; i.e., the special handling for the qualified form is not
>   widely implemented.
>=20
>   Note: For compatibility with non-robust recipients, even a single-
>   entry list of field names SHOULD be sent using the quoted-string
>   syntax.
>=20
> 3.2.2.4.  no-store
>=20
>   The no-store response directive indicates that a cache MUST NOT =
store
>   any part of either the immediate request or response.  This =
directive
>   applies to both private and shared caches.  "MUST NOT store" in this
>   context means that the cache MUST NOT intentionally store the
>   information in non-volatile storage, and MUST make a best-effort
>   attempt to remove the information from volatile storage as promptly
>   as possible after forwarding it.
>=20
>   This directive is NOT a reliable or sufficient mechanism for =
ensuring
>   privacy.  In particular, malicious or compromised caches might not
>   recognize or obey this directive, and communications networks might
>   be vulnerable to eavesdropping.
>=20
> 3.2.2.5.  must-revalidate
>=20
>   The must-revalidate response directive indicates that once it has
>   become stale, a cache MUST NOT use the response to satisfy =
subsequent
>   requests without successful validation on the origin server.
>=20
>   The must-revalidate directive is necessary to support reliable
>   operation for certain protocol features.  In all circumstances a
>   cache MUST obey the must-revalidate directive; in particular, if a
>   cache cannot reach the origin server for any reason, it MUST =
generate
>   a 504 (Gateway Timeout) response.
>=20
>   The must-revalidate directive ought to be used by servers if and =
only
>   if failure to validate a request on the representation could result
>   in incorrect operation, such as a silently unexecuted financial
>   transaction.
>=20
> 3.2.2.6.  proxy-revalidate
>=20
>   The proxy-revalidate response directive has the same meaning as the
>   must-revalidate response directive, except that it does not apply to
>   private caches.
>=20
> 3.2.2.7.  max-age
>=20
>   Argument syntax:
>=20
>      delta-seconds (see Section 1.5)
>=20
>   The max-age response directive indicates that the response is to be
>   considered stale after its age is greater than the specified number
>   of seconds.
>=20
> 3.2.2.8.  s-maxage
>=20
>   Argument syntax:
>=20
>      delta-seconds (see Section 1.5)
>=20
>   The s-maxage response directive indicates that, in shared caches, =
the
>   maximum age specified by this directive overrides the maximum age
>   specified by either the max-age directive or the Expires header
>   field.  The s-maxage directive also implies the semantics of the
>   proxy-revalidate response directive.
>=20
> 3.2.2.9.  no-transform
>=20
>   The no-transform response directive indicates that an intermediary
>   (regardless of whether it implements a cache) MUST NOT change the
>   Content-Encoding, Content-Range or Content-Type response header
>   fields, nor the response representation.
>=20
>=20
> 3.3 ...
>=20
> Feedback appreciated, Julian
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 05:43: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 B8CE921F8535 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:43:47 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OTwyj7TO+rRh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:43:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2BC8421F8497 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 05:43:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se3xO-0007q6-ST for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 12:42:54 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Se3xE-0007np-N4 for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 12:42:44 +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 1Se3x4-0004T4-JL for ietf-http-wg@w3.org; Mon, 11 Jun 2012 12:42:42 +0000
Received: (qmail invoked by alias); 11 Jun 2012 12:42:08 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp004) with SMTP; 11 Jun 2012 14:42:08 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX196uGwG/2t6SIOmyYEnEMrYwRdgrhQiA9QWl9YSdZ P4xY8GC1MunchU
Message-ID: <4FD5E7A0.6050008@gmx.de>
Date: Mon, 11 Jun 2012 14:42:08 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net>
In-Reply-To: <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Se3x4-0004T4-JL 2963f6f643b0535904a482fa67e41f4c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD5E7A0.6050008@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13717
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se3xO-0007q6-ST@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 12:42:54 +0000

On 2012-06-11 14:36, Mark Nottingham wrote:
> +1; do you have a diff?

Always :-) -> 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/307/307.diff>

That being said, that's for the XML source only.

If this is going into the right direction I'll do some more tuning (the 
IANA template generation needs to be adjusted) and post a new diff later 
today.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 05:46: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 D9D2921F85A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:46:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.266
X-Spam-Level: 
X-Spam-Status: No, score=-9.266 tagged_above=-999 required=5 tests=[AWL=1.333, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NhZAEnhELhGm for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:46:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 44A1421F8587 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 05:46:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se40C-00015p-B9 for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 12:45:48 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Se400-00014t-76 for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 12:45:36 +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 1Se3zY-0004WJ-KH for ietf-http-wg@w3.org; Mon, 11 Jun 2012 12:45:24 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 8E96550A5D; Mon, 11 Jun 2012 08:44:25 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD5E7A0.6050008@gmx.de>
Date: Mon, 11 Jun 2012 22:44:22 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1Se3zY-0004WJ-KH 6d2f2ce8531a9798333f845386fa86d4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13718
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se40C-00015p-B9@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 12:45:48 +0000

Assuming that the text isn't changing in substance, yes.

I think this is verging on editorial; if anyone has concerns about this =
direction, please speak up; otherwise, Julian go ahead.

Cheers,


On 11/06/2012, at 10:42 PM, Julian Reschke wrote:

> On 2012-06-11 14:36, Mark Nottingham wrote:
>> +1; do you have a diff?
>=20
> Always :-) -> =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/307/307.diff=
>
>=20
> That being said, that's for the XML source only.
>=20
> If this is going into the right direction I'll do some more tuning =
(the IANA template generation needs to be adjusted) and post a new diff =
later today.
>=20
> Best regards, Julian

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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 05:52: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 8A21021F85B7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:52:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.266
X-Spam-Level: 
X-Spam-Status: No, score=-9.266 tagged_above=-999 required=5 tests=[AWL=1.333, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0mmYORFaFy2s for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 05:52:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ECA1E21F85AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 05:52:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se46n-0001bF-9R for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 12:52:37 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Se46d-0001Zw-8c for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 12:52: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 1Se46Q-0004mV-Ly for ietf-http-wg@w3.org; Mon, 11 Jun 2012 12:52:20 +0000
Received: (qmail invoked by alias); 11 Jun 2012 12:51:38 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp070) with SMTP; 11 Jun 2012 14:51:38 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19w6BQ/AZdwYHezEM25GF35WfTA1sOkt/mHsn60BK efkTbxO+4kENbZ
Message-ID: <4FD5E9DA.9070200@gmx.de>
Date: Mon, 11 Jun 2012 14:51:38 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net>
In-Reply-To: <48F4AEE2-53E4-4270-844F-59D5CE58B035@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Se46Q-0004mV-Ly ed540aa5756c61eefa20013f59f60f71
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD5E9DA.9070200@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13719
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se46n-0001bF-9R@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 12:52:37 +0000

On 2012-06-11 14:44, Mark Nottingham wrote:
> Assuming that the text isn't changing in substance, yes.
>
> I think this is verging on editorial; if anyone has concerns about this direction, please speak up; otherwise, Julian go ahead.
> ...

It's a bit more than editorial, because it tries to address the mismatch 
between the ABNFs for predefined directives (special-cased), and 
extension directives (token *and* quoted-string).

Highlighting these changes:

   Cache directives are identified by a token, to be compared case-
   insensitively, and have an optional argument, that can use both token
   and quoted-string syntax.  Recipients MUST accept both forms.

   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

     Cache-Control   = 1#cache-directive

     cache-directive = token [ "=" ( token / quoted-string ) ]

   For the cache directives defined below, no argument is defined (nor
   allowed) otherwise stated otherwise.

   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


3.2.2.2.  private

   Argument syntax:

      #field-name

   The private response directive indicates that the response message is
   intended for a single user and MUST NOT be stored by a shared cache.
   A private cache MAY store the response.

   If the private response directive specifies one or more field-names,
   this requirement is limited to the field-values associated with the
   listed response header fields.  That is, a shared cache MUST NOT
   store the specified field-names(s), whereas it MAY store the
   remainder of the response message.

   The field-names given are not limited to the set of standard header
   fields defined by this specification.  Field names are case-
   insensitive.

   Note: This usage of the word "private" only controls where the
   response can be stored; it cannot ensure the privacy of the message
   content.  Also, private response directives with field-names are
   often handled by implementations as if an unqualified private
   directive was received; i.e., the special handling for the qualified
   form is not widely implemented.

   Note: For compatibility with non-robust recipients, even a single-
   entry list of field names SHOULD be sent using the quoted-string
   syntax.

   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

   ....

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 06:04: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 3155B21F8559 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 06:04:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.456
X-Spam-Level: 
X-Spam-Status: No, score=-9.456 tagged_above=-999 required=5 tests=[AWL=1.143, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3RW4CtHLAFZF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 06:04:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2CCC921F8535 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 06:04:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se4H3-0004qt-G1 for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 13:03:13 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Se4Gp-0004q0-Sa for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 13:02:59 +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 1Se4GW-0002xh-19 for ietf-http-wg@w3.org; Mon, 11 Jun 2012 13:02:50 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B868150A5D; Mon, 11 Jun 2012 09:02:18 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD5E9DA.9070200@gmx.de>
Date: Mon, 11 Jun 2012 23:02:15 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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 1Se4GW-0002xh-19 f20a5e01a5ffa2aa69f2a2b55e800d7a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13720
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se4H3-0004qt-G1@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 13:03:13 +0000

On 11/06/2012, at 10:51 PM, Julian Reschke wrote:

> On 2012-06-11 14:44, Mark Nottingham wrote:
>> Assuming that the text isn't changing in substance, yes.
>>=20
>> I think this is verging on editorial; if anyone has concerns about =
this direction, please speak up; otherwise, Julian go ahead.
>> ...
>=20
> It's a bit more than editorial, because it tries to address the =
mismatch between the ABNFs for predefined directives (special-cased), =
and extension directives (token *and* quoted-string).

Ah.

>=20
> Highlighting these changes:
>=20
>  Cache directives are identified by a token, to be compared case-
>  insensitively, and have an optional argument, that can use both token
>  and quoted-string syntax.  Recipients MUST accept both forms.

The MUST is going too far here. I think that individual parameters can =
(and do) constrain the syntax.=20



>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>=20
>    Cache-Control   =3D 1#cache-directive
>=20
>    cache-directive =3D token [ "=3D" ( token / quoted-string ) ]
>=20
>  For the cache directives defined below, no argument is defined (nor
>  allowed) otherwise stated otherwise.
>=20
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>=20
>=20
> 3.2.2.2.  private
>=20
>  Argument syntax:
>=20
>     #field-name
>=20
>  The private response directive indicates that the response message is
>  intended for a single user and MUST NOT be stored by a shared cache.
>  A private cache MAY store the response.
>=20
>  If the private response directive specifies one or more field-names,
>  this requirement is limited to the field-values associated with the
>  listed response header fields.  That is, a shared cache MUST NOT
>  store the specified field-names(s), whereas it MAY store the
>  remainder of the response message.
>=20
>  The field-names given are not limited to the set of standard header
>  fields defined by this specification.  Field names are case-
>  insensitive.
>=20
>  Note: This usage of the word "private" only controls where the
>  response can be stored; it cannot ensure the privacy of the message
>  content.  Also, private response directives with field-names are
>  often handled by implementations as if an unqualified private
>  directive was received; i.e., the special handling for the qualified
>  form is not widely implemented.
>=20
>  Note: For compatibility with non-robust recipients, even a single-
>  entry list of field names SHOULD be sent using the quoted-string
>  syntax.
>=20
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>=20
>  ....
>=20
> Best regards, Julian
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 06:06: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 A9AD321F8596 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 06:06: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xy5YdicdLt7P for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 06:06:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 90EC921F85AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 06:06:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se4JJ-00057P-2n for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 13:05:33 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1Se4J4-00054g-O7 for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 13:05:18 +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 1Se4In-00032M-Kp for ietf-http-wg@w3.org; Mon, 11 Jun 2012 13:05:07 +0000
Received: from [192.168.1.100] (unknown [101.98.102.102]) by treenet.co.nz (Postfix) with ESMTP id 17161E6D7E for <ietf-http-wg@w3.org>; Tue, 12 Jun 2012 01:04:31 +1200 (NZST)
Message-ID: <4FD5ECD8.3000308@treenet.co.nz>
Date: Tue, 12 Jun 2012 01:04:24 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net> <4FD5E04B.2000103@gmx.de>
In-Reply-To: <4FD5E04B.2000103@gmx.de>
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=-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 1Se4In-00032M-Kp 225ed7dadb7024a3291a917c9909cf36
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4FD5ECD8.3000308@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13721
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se4JJ-00057P-2n@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 13:05:33 +0000

On 12/06/2012 12:10 a.m., Julian Reschke wrote:
> On 2012-06-11 13:57, Mark Nottingham wrote:
>> ...
>>> If that is the case, we probably need to spend some more time on 
>>> clarifying this, as this different from similar header fields.
>>
>> How so? I thought we'd agreed we don't have shared microsyntax / 
>> model for our existing headers...
>
> At least for those headers that inherit MIME header field parameter 
> syntax (such as C-T and C-D) I believe the consensus was that 
> parameters can not get repeated. It might be hard to find something 
> normative on that, though.
>
> So let's rephrase this: optimally, we
>
> - defined this for all header fields in the spec (optimally globally 
> for all parameters of that header field), and
>
> - advise people defining new header fields to do so as well (-> 
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-19.html#rfc.section.3.1>) 
>
>
>>>>> Can the definition of error recovery diverge per directive?
>>>>
>>>> I imagine so.
>>>
>>> Which makes it sound as if we should define it for all directives 
>>> defined in this spec (as bad as this sounds)...
>>
>>
>> If someone wants to point out specific instances where they believe 
>> it's important for security and/or interoperability, and it doesn't 
>> fall afoul of our stance on error handling, by all means.
>
> Right now we don't say anything what to do, for instance, with two 
> max-age directives? If this is an invalid header field instance, we 
> should say so. If it's not, we should say how to handle that.

* flag parameters can't exactly contradict, so dropping/merging 
duplicates and treating as one flag would seem okay. (only-if-cached 
must-revalidate, proxy-ravalidate, no-cache, no-store, no-transform, etc)

* time-delta parameters (max-age, s-maxage, etc) being conservative and 
dropping the larger or equal of the two seems the right handling.

* list of tokens ... maybe combine? it is possible one proxy adds 
no-cache="Foo" and another adds no-cache="Bar" and they both hit some 
downstream cache which needs to handle both Foo and Bar properly.
   Yes the right thing to do woudl have been no-cache="Foo Bar". But 
what if that is not done?


AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 06:17: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 8B31121F8471 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 06:17:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level: 
X-Spam-Status: No, score=-9.599 tagged_above=-999 required=5 tests=[AWL=1.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jaxag451ueKy for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 06:17:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 136C921F846D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 06:17:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se4UY-0008MD-UL for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 13:17:11 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Se4UN-0008IE-GA for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 13:16:59 +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 1Se4UF-0003SR-Os for ietf-http-wg@w3.org; Mon, 11 Jun 2012 13:16:57 +0000
Received: (qmail invoked by alias); 11 Jun 2012 13:16:25 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp038) with SMTP; 11 Jun 2012 15:16:25 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/L5i4tXLbLurOJZwgS1RQVGrDykhkULbXRqwI0Rv 9fasVVcMTgkA+V
Message-ID: <4FD5EFA8.4030007@gmx.de>
Date: Mon, 11 Jun 2012 15:16:24 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net>
In-Reply-To: <3874B271-8E63-4523-BC15-0C98281E8BD0@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Se4UF-0003SR-Os 9ef465af3dc4a18806a6df297f217d3a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD5EFA8.4030007@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13722
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se4UY-0008MD-UL@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 13:17:10 +0000

On 2012-06-11 15:02, Mark Nottingham wrote:
>
> On 11/06/2012, at 10:51 PM, Julian Reschke wrote:
>
>> On 2012-06-11 14:44, Mark Nottingham wrote:
>>> Assuming that the text isn't changing in substance, yes.
>>>
>>> I think this is verging on editorial; if anyone has concerns about this direction, please speak up; otherwise, Julian go ahead.
>>> ...
>>
>> It's a bit more than editorial, because it tries to address the mismatch between the ABNFs for predefined directives (special-cased), and extension directives (token *and* quoted-string).
>
> Ah.
>
>>
>> Highlighting these changes:
>>
>>   Cache directives are identified by a token, to be compared case-
>>   insensitively, and have an optional argument, that can use both token
>>   and quoted-string syntax.  Recipients MUST accept both forms.
>
> The MUST is going too far here. I think that individual parameters can (and do) constrain the syntax.

Well, they should not. It's pointless. Do you expect a parser for 
cache-control to special-case every constraint it knows about? What 
happens with an extension header that has constrained syntax? Some 
parsers will apply the constraint, some won't.

It's the same discussion we've had for other fields (say 
WWW-Authenticate, Expect, Prefer, STS, ...); and the answer should be 
the same.

We can't change what's out there, but we need to provide guidance how to 
fix these parsers to make them reliable.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 06:22: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 3134621F8535 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 06:22:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.799
X-Spam-Level: 
X-Spam-Status: No, score=-9.799 tagged_above=-999 required=5 tests=[AWL=0.800, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j4u6ysLguGNU for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 06:22:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A15FB21F851A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 06:22:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se4Yc-00011j-25 for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 13:21:22 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Se4YS-00010s-0S for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 13:21:12 +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 1Se4Xx-0003eV-Ge for ietf-http-wg@w3.org; Mon, 11 Jun 2012 13:20:49 +0000
Received: (qmail invoked by alias); 11 Jun 2012 13:20:15 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp038) with SMTP; 11 Jun 2012 15:20:15 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/DP9cv+kDDK8y7LalSWXEe3rLw/tKdCl8rbgJII8 6QcGUjfV1B5YYZ
Message-ID: <4FD5F08D.9040905@gmx.de>
Date: Mon, 11 Jun 2012 15:20:13 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Amos Jeffries <squid3@treenet.co.nz>
CC: ietf-http-wg@w3.org
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net> <4FD5E04B.2000103@gmx.de> <4FD5ECD8.3000308@treenet.co.nz>
In-Reply-To: <4FD5ECD8.3000308@treenet.co.nz>
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=-1.9
X-W3C-Hub-Spam-Report: 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 1Se4Xx-0003eV-Ge f229e7697b3502b1a1503585c5a5b81d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/4FD5F08D.9040905@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13723
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se4Yc-00011j-25@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 13:21:22 +0000

On 2012-06-11 15:04, Amos Jeffries wrote:
> ...
> * flag parameters can't exactly contradict, so dropping/merging
> duplicates and treating as one flag would seem okay. (only-if-cached
> must-revalidate, proxy-ravalidate, no-cache, no-store, no-transform, etc)

"public" vs "private"?

> * time-delta parameters (max-age, s-maxage, etc) being conservative and
> dropping the larger or equal of the two seems the right handling.

Yes, we could say that.

> * list of tokens ... maybe combine? it is possible one proxy adds
> no-cache="Foo" and another adds no-cache="Bar" and they both hit some
> downstream cache which needs to handle both Foo and Bar properly.
>    Yes the right thing to do woudl have been no-cache="Foo Bar". But
> what if that is not done?

Right now we allow

   no-cache="Foo, Bar"

Should

   no-cache="Foo", no-cache="Bar"

be equivalent? (That would be similar with the use of list syntax in 
header fields)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 06:34: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 3CE7521F8525 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 06:34:14 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wNR66-o1NgzB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 06:34:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 45C7F21F8518 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 06:34:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se4kW-0004HR-Lg for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 13:33:40 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alexey.melnikov@isode.com>) id 1Se4kL-0004GV-RV for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 13:33:29 +0000
Received: from rufus.isode.com ([62.3.217.251]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1Se4kE-0006BO-AZ for ietf-http-wg@w3.org; Mon, 11 Jun 2012 13:33:28 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1339421580; d=isode.com; s=selector; i=@isode.com; bh=aPxeXv1K0RMKK+hJFsk0JadzRoaMGQwwl2x7DuULa5E=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=hddhZlhK5vk99xaUEtBqxu/Fmi+9n+Oq06Risn+aO86i7JgDI4Ozklbpp8Hcvh5ER2zCxN JtKNSvF8dCfUFCk0DhXwj+tL24wvg98mlBIsSO6LqilPgOS1ZxEnFOJhrQZYvHJ7s7dGAb vya+U4AFTSzdvfc5xCqEL9aPKLI2VTg=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250])  by rufus.isode.com (submission channel) via TCP with ESMTPSA  id <T9XzigAE41fn@rufus.isode.com>; Mon, 11 Jun 2012 14:33:00 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <4FD5F3A6.7010306@isode.com>
Date: Mon, 11 Jun 2012 14:33:26 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <20120611131634.14554.38920.idtracker@ietfa.amsl.com>
In-Reply-To: <20120611131634.14554.38920.idtracker@ietfa.amsl.com>
X-Forwarded-Message-Id: <20120611131634.14554.38920.idtracker@ietfa.amsl.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------000505020007080802070207"
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=rufus.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Se4kE-0006BO-AZ ad9767f794f59b4f525462af7acb5987
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: I-D Action: draft-melnikov-httpbis-scram-auth-00.txt
Archived-At: <http://www.w3.org/mid/4FD5F3A6.7010306@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13724
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se4kW-0004HR-Lg@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 13:33:40 +0000

This is a multi-part message in MIME format.
--------------000505020007080802070207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

FYI.

-------- Original Message --------
Subject: 	I-D Action: draft-melnikov-httpbis-scram-auth-00.txt
Date: 	Mon, 11 Jun 2012 06:16:34 -0700
From: 	internet-drafts@ietf.org
Reply-To: 	internet-drafts@ietf.org
To: 	i-d-announce@ietf.org



A New Internet-Draft is available from the on-line Internet-Drafts directories.

	Title           : Salted Challenge Response (SCRAM) HTTP Authentication Mechanism
	Author(s)       : Alexey Melnikov
	Filename        : draft-melnikov-httpbis-scram-auth-00.txt
	Pages           : 27
	Date            : 2012-06-11

    The secure authentication mechanism most widely deployed and used by
    Internet application protocols is the transmission of clear-text
    passwords over a channel protected by Transport Layer Security (TLS).
    There are some significant security concerns with that mechanism,
    which could be addressed by the use of a challenge response
    authentication mechanism protected by TLS.  Unfortunately, the HTTP
    Digest challenge response mechanism presently on the standards track
    failed widespread deployment, and have had success only in limited
    use.

    This specification describes a family of HTTP authentication
    mechanisms called the Salted Challenge Response Authentication
    Mechanism (SCRAM), which addresses the security concerns and meets
    the deployability requirements.  When used in combination with TLS or
    an equivalent security layer, a mechanism from this family could
    improve the status-quo for application protocol authentication.


A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-melnikov-httpbis-scram-auth-00.txt

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

This Internet-Draft can be retrieved at:
ftp://ftp.ietf.org/internet-drafts/draft-melnikov-httpbis-scram-auth-00.txt

The IETF datatracker page for this Internet-Draft is:
https://datatracker.ietf.org/doc/draft-melnikov-httpbis-scram-auth/



--------------000505020007080802070207
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    FYI.<br>
    <br>
    -------- Original Message --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject: </th>
          <td>I-D Action: draft-melnikov-httpbis-scram-auth-00.txt</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date: </th>
          <td>Mon, 11 Jun 2012 06:16:34 -0700</td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">From: </th>
          <td><a class="moz-txt-link-abbreviated" href="mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Reply-To:
          </th>
          <td><a class="moz-txt-link-abbreviated" href="mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a></td>
        </tr>
        <tr>
          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
          <td><a class="moz-txt-link-abbreviated" href="mailto:i-d-announce@ietf.org">i-d-announce@ietf.org</a></td>
        </tr>
      </tbody>
    </table>
    <br>
    <br>
    <pre>A New Internet-Draft is available from the on-line Internet-Drafts directories.

	Title           : Salted Challenge Response (SCRAM) HTTP Authentication Mechanism
	Author(s)       : Alexey Melnikov
	Filename        : draft-melnikov-httpbis-scram-auth-00.txt
	Pages           : 27
	Date            : 2012-06-11

   The secure authentication mechanism most widely deployed and used by
   Internet application protocols is the transmission of clear-text
   passwords over a channel protected by Transport Layer Security (TLS).
   There are some significant security concerns with that mechanism,
   which could be addressed by the use of a challenge response
   authentication mechanism protected by TLS.  Unfortunately, the HTTP
   Digest challenge response mechanism presently on the standards track
   failed widespread deployment, and have had success only in limited
   use.

   This specification describes a family of HTTP authentication
   mechanisms called the Salted Challenge Response Authentication
   Mechanism (SCRAM), which addresses the security concerns and meets
   the deployability requirements.  When used in combination with TLS or
   an equivalent security layer, a mechanism from this family could
   improve the status-quo for application protocol authentication.


A URL for this Internet-Draft is:
<a class="moz-txt-link-freetext" href="http://www.ietf.org/internet-drafts/draft-melnikov-httpbis-scram-auth-00.txt">http://www.ietf.org/internet-drafts/draft-melnikov-httpbis-scram-auth-00.txt</a>

Internet-Drafts are also available by anonymous FTP at:
<a class="moz-txt-link-freetext" href="ftp://ftp.ietf.org/internet-drafts/">ftp://ftp.ietf.org/internet-drafts/</a>

This Internet-Draft can be retrieved at:
<a class="moz-txt-link-freetext" href="ftp://ftp.ietf.org/internet-drafts/draft-melnikov-httpbis-scram-auth-00.txt">ftp://ftp.ietf.org/internet-drafts/draft-melnikov-httpbis-scram-auth-00.txt</a>

The IETF datatracker page for this Internet-Draft is:
<a class="moz-txt-link-freetext" href="https://datatracker.ietf.org/doc/draft-melnikov-httpbis-scram-auth/">https://datatracker.ietf.org/doc/draft-melnikov-httpbis-scram-auth/</a>

</pre>
  </body>
</html>

--------------000505020007080802070207--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 07:35: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 DB85821F864F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 07:35:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.376
X-Spam-Level: 
X-Spam-Status: No, score=-9.376 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, J_CHICKENPOX_47=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pCVlmRhkb7rr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 07:35:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E503221F8645 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 07:35:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se5gm-0003b2-TO for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 14:33:52 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1Se5gW-0003Y0-2b for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 14:33:36 +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 <mike@belshe.com>) id 1Se5gE-0000EK-92 for ietf-http-wg@w3.org; Mon, 11 Jun 2012 14:33:29 +0000
Received: by lbom4 with SMTP id m4so2931920lbo.2 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 07:32:41 -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 :cc:content-type:x-gm-message-state; bh=qW0dj3UoJRMR3cyMqjnUB2npJ5EZExGiNVpiO7itGbk=; b=IXAkWG9x8RzZo0JgPpUy5y0Mjn/VJub9iaIQtQ6rUJ7L8WMYVuJHI+XDG/SL33OpS1 anJxd0y6fom6At1VhYxRhskYjTwah2DV1mUG/L99MiVPyfOFl7wOKCpoh3ME7rN+JJxj 2tjhNaSkqlqkUdf39P1mwF6D/b7zMHMLZkXm2SY9ZbaDjMBMnXGdVPqhSvXC8y+Lvl8p oco/7pXj3O8oQbzSaI2FPksv3I92zi1VQ3PMFLucmyLmKanDIoVka1rW344Y5S1g+JSd MWi4/+ZF1jsnN1F9pPLjNNiQ/XyIMh23u3lWP0i8J3NDv9SJKblJBG629pxxfBVSW3x+ JzrQ==
MIME-Version: 1.0
Received: by 10.112.83.169 with SMTP id r9mr3204283lby.66.1339425161761; Mon, 11 Jun 2012 07:32:41 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Mon, 11 Jun 2012 07:32:41 -0700 (PDT)
In-Reply-To: <20120610231757.GA4983@1wt.eu>
References: <20120610231757.GA4983@1wt.eu>
Date: Mon, 11 Jun 2012 07:32:41 -0700
Message-ID: <CABaLYCsdSSzbbP98dOd_Bbq8uHbryCiW4=7BB=y6tTU_Rz+hgA@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Willy Tarreau <w@1wt.eu>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0401fc43f8530a04c233380b
X-Gm-Message-State: ALoCoQmX2u3Wihmyo4mFpZRWXNmBkASDRFhK8plYWPjjW72xuwrPuK3sAEjHPeGMh5dmX1CLENkI
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Se5gE-0000EK-92 908cc5ec612f088e62447d92f66f6ee5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Significantly reducing headers footprint
Archived-At: <http://www.w3.org/mid/CABaLYCsdSSzbbP98dOd_Bbq8uHbryCiW4=7BB=y6tTU_Rz+hgA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13725
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se5gm-0003b2-TO@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 14:33:52 +0000

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

This is good work, Willy.

Any perf results on how much this will impact the user?  Given the stateful
nature of gzip already in use, I'm betting this has almost no impact for
most users?

There is a tradeoff; completely custom compression will introduce more
interop issues.  Registries of "well known headers" are notoriously painful
to maintain and keep versioned.

A few more comments below:


On Sun, Jun 10, 2012 at 4:17 PM, Willy Tarreau <w@1wt.eu> wrote:

> Hi,
>
> I recently managed to collect requests from some enterprise proxies to
> experiment with binary encoding as described in our draft [1].
>
> After some experimentation and discussions with some people, I managed to
> get significant gains [2] which could still be improved.
>
> What's currently performed is the following :
>  - message framing
>  - binary encoding of the HTTP version (2 bits)
>  - binary encoding of the method (4 bits)
>  - move Host header to the URI
>  - encoding of the URI relative to the previous one
>  - binary encoding of each header field names (1 byte)
>  - encoding of each header relative to the previous one.
>  - binary encoding of the If-Modified-Since date
>
> The code achieving this is available at [2]. It's an ugly PoC but it's
> a useful experimentation tool for me, feel free to use it to experiment
> with your own implementations if you like.
>
> I'm already observing request compression ratios of 90-92% on various
> requests, including on a site with a huge page with large cookies and
> URIs ; 132 kB of requests were reduced to 10kB. In fact while the draft
> suggests use of multiple header contexts (connection, common and message),
> now I'm feeling like we don't need to store 3 contexts anymore, one single
> is enough if requests remain relative to previous one.
>
> But I think that by typing a bit more the protocol, we could improve even
> further and at the same time improve interoperability. Among the things
> I am observing which still take some space in the page load of an online
> newspaper (127 objects, data were anonymized) :
>
>  - User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr;
> rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
>    => Well, this one is only sent once over the connection, but we could
>       reduce this further by using a registery of known vendors/products
>       and incite vendors to emit just a few bytes (vendor/product/version).
>

I don't think the compressor should be learning about vendor-specific
information.  This gives advantages to certain browser incumbents and is
unfair to startups.  We absolutely MUST NOT give advantages to the current
popular browsers.


>  - Accept: text/css,*/*;q=0.1
>    => this one changes depending on what object the browser requests, so it
>       is less efficiently compressed :
>
>        1 Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>        4 Accept: text/css,*/*;q=0.1
>        8 Accept: */*
>        1 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>        2 Accept: */*
>        9 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>        2 Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>       90 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>        1 Accept: */*
>        9 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>
>    => With better request reordering, we could have this :
>
>       11 Accept: */*
>      109 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>        4 Accept: text/css,*/*;q=0.1
>        3 Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>

As long as the browser uses the same accept header from request to request
(which it generally does), this compresses to almost zero after the first
header block.


>
>    I'm already wondering if we have *that* many content-types and if we
> need
>    to use long words such as "application" everywhere.
>
>  - Accept-Language: fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3
>    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
>    Accept-Encoding: gzip,deflate
>
>    => Same comment as above concerning the number of possible values.
> However
>       these ones were all sent identical so the gain is more for the remote
>       parser than for the upstream link.
>
>  - Referer: http://www.example.com/
>    => referrers do compress quite well relative to each other. Still there
>       are many blogs and newspapers on the net today with very large URLs,
>       and their URLs cause very large referrers to be sent along with each
>       object composing the page. At least a better ordering of the requests
>       saves a few more hundred bytes for the whole page. In the end I only
>       got 4 different values :
>       http://www.example.com/
>
> http://www.example.com/sites/news/files/css/css_RWicSr_h9UxCJrAbE57UbNf_oNYhtaF5YghFXJemVNQ.css
>
> http://www.example.com/sites/news/files/css/css_lKoFARDAyB20ibb5wNG8nMhflDNNW_Nb9DsNprYt8mk.css
>
> http://www.example.com/sites/news/files/css/css_qSyFGRLc-tslOV1oF9GCzEe1eGDn4PP7vOM1HGymNYU.css
>
>    Among the improvements I'm thinking about, we could decide to use
> relative
>    URIs when the site is the same. I don't know either if it's of any use
> on
>    the server side to know that the request was emitted for a specific CSS.
>
>  - If-Modified-Since: Fri, 27 Apr 2012 14:41:31 GMT
>    => I have encoded this one on 32 and 64 bits and immediately saved 3.1
> and
>       2.6 kB respectively. Well, storing 4 more bytes per request might be
>       wasted considering that we probably don't need a nanosecond
> resolution
>       for 585 years. But 40-48 bits might be fine.


>  - Cache-Control: max-age=0
>    => I suspect the user hit the Refresh button, this was present in about
>       half the requests. Anyway, this raises the question of the length it
>       requires for something which is just a boolean here ("ignore cache").
>       Probably that a client has very few Cache-Control header values to
>       send, and that reducing this to a smaller set would be beneficial.
>

Trying to change the motivation or semantics of headers is a large
endeavor....  Not sure if the compression of the bits is the right
motivation for doing so.



>  - If-None-Match: "3013140661"
>    => I guess there is nothing we can do on this one, except suggest that
>       implementors use more bits and less bytes to emit their etags.
>
>  - Cookie: xtvrn=$OaiJty$; xtan327981=c; xtant327981=c; has_js=c;
> __utma=KBjWnx24Q.7qFKqmB7v.i0JDH91L_R.0kU2W1uL49.JM4KtFLV0b.C;
> __utmc=Rae9ZgQHz;
> __utmz=NRSZOcCWV.d5MlK5RJsi.-.f.N8J73w=S1SLuT_j0m.O8|VsIxwE=(jHw58obb)|r9SgsT=WQfZe8jr|pFSZGH=/@/qwDyMw3I;
> __gads=td=ASP_D5ml4Ebevrej:R=pvxltafqZK:x=E4FUn3YiNldW3rhxzX6YlCptZp8zF-b5qc;
> _chartbeat2=oQvb8k_G9tduhauf.LqOukjnlaaE7K.uDBaR79E1WT4t.Kr9L_lIrOtruE8;
> __qca=LC9oiRpFSWShYlxUtD37GJ2k8AL; __utmb=vG8UMEjrz.Qf.At.pXD61lUeHZ;
> pm8196_1=c; pm8194_1=c
>
>    => amazingly, this one compresses extremely well with the above scheme,
>       because additions are performed at the end so consecutive cookies
> keep
>       a lot in common, and changes are not too frequent. However, given the
>       omnipresent usage of cookies, I was wondering why we should not
> create
>       a new entity of its own for the cookies instead of abusing the Cookie
>       header. It would make it a lot easier for both ends to find what they
>       need. For instance, a load balancer just needs to find a server name
>       in the thing above. What a waste of on-wire bits and of CPU cycles !
>
> BTW, binary encoding would probably also help addressing a request I often
> hear in banking environments : the need to sign/encrypt/compress only
> certain
> headers or cookies. Right now when people do this, they have to
> base64-encode
> the result, which is another transformation at both ends and inflates the
> data. If we make provisions in the protocol for announcing encrypted or
> compressed headers using 2-3 bits, it might become more usable. I'm not
> convinced it provides any benefit between a browser and an origin server
> though. So maybe it will remain application-specific and the transport
> just has to make it easier to emit 8-bit data in header field values.
>

Happens all the time, yes.  Just make sure that HTTP2 -> HTTP1.1 definition
is preserved so that gateways still work.


>
> Has anyone any opinion on the subject above ? Or ideas about other things
> that terribly clobber the upstream pipe and that should be fixed in 2.0 ?
>
> I hope I'll soon find some time to update our draft to reflect recent
> updates
> and findings.
>

Again, I think we could spend a lot of time debating the compressor.  And
with one more registry or one more semantic header change from HTTP, there
will always be one more bit to compress out.  But these are, IMHO, already
diminishing returns for performance.  I hope we'll all focus on the more
important parts of the protocol (flow control, security, 1.x to 2.x
upgrades, etc) than compression.

Mike


> Regards,
> Willy
>
> --
> [1] http://tools.ietf.org/id/draft-tarreau-httpbis-network-friendly-00.txt
> [2] http://1wt.eu/http2/
>
>
>

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

This is good work, Willy.<div><br></div><div>Any perf results on how much t=
his will impact the user? =A0Given the stateful nature of gzip already in u=
se, I&#39;m betting this has almost no impact for most users? =A0</div><div=
>
<br>There is a tradeoff; completely custom compression will introduce more =
interop issues. =A0Registries of &quot;well known headers&quot; are notorio=
usly painful to maintain and keep versioned.</div><div><br></div><div>A few=
 more comments below:</div>
<div><br><br><div class=3D"gmail_quote">On Sun, Jun 10, 2012 at 4:17 PM, Wi=
lly Tarreau <span dir=3D"ltr">&lt;<a href=3D"mailto:w@1wt.eu" target=3D"_bl=
ank">w@1wt.eu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I recently managed to collect requests from some enterprise proxies to<br>
experiment with binary encoding as described in our draft [1].<br>
<br>
After some experimentation and discussions with some people, I managed to<b=
r>
get significant gains [2] which could still be improved.<br>
<br>
What&#39;s currently performed is the following :<br>
 =A0- message framing<br>
 =A0- binary encoding of the HTTP version (2 bits)<br>
 =A0- binary encoding of the method (4 bits)<br>
 =A0- move Host header to the URI<br>
 =A0- encoding of the URI relative to the previous one<br>
 =A0- binary encoding of each header field names (1 byte)<br>
 =A0- encoding of each header relative to the previous one.<br>
 =A0- binary encoding of the If-Modified-Since date<br>
<br>
The code achieving this is available at [2]. It&#39;s an ugly PoC but it&#3=
9;s<br>
a useful experimentation tool for me, feel free to use it to experiment<br>
with your own implementations if you like.<br>
<br>
I&#39;m already observing request compression ratios of 90-92% on various<b=
r>
requests, including on a site with a huge page with large cookies and<br>
URIs ; 132 kB of requests were reduced to 10kB. In fact while the draft<br>
suggests use of multiple header contexts (connection, common and message),<=
br>
now I&#39;m feeling like we don&#39;t need to store 3 contexts anymore, one=
 single<br>
is enough if requests remain relative to previous one.<br>
<br>
But I think that by typing a bit more the protocol, we could improve even<b=
r>
further and at the same time improve interoperability. Among the things<br>
I am observing which still take some space in the page load of an online<br=
>
newspaper (127 objects, data were anonymized) :<br>
<br>
 =A0- User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr; rv:1.=
9.2.12) Gecko/20101026 Firefox/3.6.12<br>
 =A0 =A0=3D&gt; Well, this one is only sent once over the connection, but w=
e could<br>
 =A0 =A0 =A0 reduce this further by using a registery of known vendors/prod=
ucts<br>
 =A0 =A0 =A0 and incite vendors to emit just a few bytes (vendor/product/ve=
rsion).<br></blockquote><div><br></div><div>I don&#39;t think the compresso=
r should be learning about vendor-specific information. =A0This gives advan=
tages to certain browser=A0incumbents=A0and is unfair to startups. =A0We ab=
solutely MUST NOT give advantages to the current popular browsers.</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>
 =A0- Accept: text/css,*/*;q=3D0.1<br>
 =A0 =A0=3D&gt; this one changes depending on what object the browser reque=
sts, so it<br>
 =A0 =A0 =A0 is less efficiently compressed :<br>
<br>
 =A0 =A0 =A0 =A01 Accept: text/html,application/xhtml+xml,application/xml;q=
=3D0.9,*/*;q=3D0.8<br>
 =A0 =A0 =A0 =A04 Accept: text/css,*/*;q=3D0.1<br>
 =A0 =A0 =A0 =A08 Accept: */*<br>
 =A0 =A0 =A0 =A01 Accept: image/png,image/*;q=3D0.8,*/*;q=3D0.5<br>
 =A0 =A0 =A0 =A02 Accept: */*<br>
 =A0 =A0 =A0 =A09 Accept: image/png,image/*;q=3D0.8,*/*;q=3D0.5<br>
 =A0 =A0 =A0 =A02 Accept: text/html,application/xhtml+xml,application/xml;q=
=3D0.9,*/*;q=3D0.8<br>
 =A0 =A0 =A0 90 Accept: image/png,image/*;q=3D0.8,*/*;q=3D0.5<br>
 =A0 =A0 =A0 =A01 Accept: */*<br>
 =A0 =A0 =A0 =A09 Accept: image/png,image/*;q=3D0.8,*/*;q=3D0.5<br>
<br>
 =A0 =A0=3D&gt; With better request reordering, we could have this :<br>
<br>
 =A0 =A0 =A0 11 Accept: */*<br>
 =A0 =A0 =A0109 Accept: image/png,image/*;q=3D0.8,*/*;q=3D0.5<br>
 =A0 =A0 =A0 =A04 Accept: text/css,*/*;q=3D0.1<br>
 =A0 =A0 =A0 =A03 Accept: text/html,application/xhtml+xml,application/xml;q=
=3D0.9,*/*;q=3D0.8<br></blockquote><div><br></div><div>As long as the brows=
er uses the same accept header from request to request (which it generally =
does), this compresses to almost zero after the first header block.</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>
 =A0 =A0I&#39;m already wondering if we have *that* many content-types and =
if we need<br>
 =A0 =A0to use long words such as &quot;application&quot; everywhere.<br>
<br>
 =A0- Accept-Language: fr,fr-fr;q=3D0.8,en-us;q=3D0.5,en;q=3D0.3<br>
 =A0 =A0Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7<br>
 =A0 =A0Accept-Encoding: gzip,deflate<br>
<br>
 =A0 =A0=3D&gt; Same comment as above concerning the number of possible val=
ues. However<br>
 =A0 =A0 =A0 these ones were all sent identical so the gain is more for the=
 remote<br>
 =A0 =A0 =A0 parser than for the upstream link.<br>
<br>
 =A0- Referer: <a href=3D"http://www.example.com/" target=3D"_blank">http:/=
/www.example.com/</a><br>
 =A0 =A0=3D&gt; referrers do compress quite well relative to each other. St=
ill there<br>
 =A0 =A0 =A0 are many blogs and newspapers on the net today with very large=
 URLs,<br>
 =A0 =A0 =A0 and their URLs cause very large referrers to be sent along wit=
h each<br>
 =A0 =A0 =A0 object composing the page. At least a better ordering of the r=
equests<br>
 =A0 =A0 =A0 saves a few more hundred bytes for the whole page. In the end =
I only<br>
 =A0 =A0 =A0 got 4 different values :<br>
 =A0 =A0 =A0 <a href=3D"http://www.example.com/" target=3D"_blank">http://w=
ww.example.com/</a><br>
 =A0 =A0 =A0 <a href=3D"http://www.example.com/sites/news/files/css/css_RWi=
cSr_h9UxCJrAbE57UbNf_oNYhtaF5YghFXJemVNQ.css" target=3D"_blank">http://www.=
example.com/sites/news/files/css/css_RWicSr_h9UxCJrAbE57UbNf_oNYhtaF5YghFXJ=
emVNQ.css</a><br>

 =A0 =A0 =A0 <a href=3D"http://www.example.com/sites/news/files/css/css_lKo=
FARDAyB20ibb5wNG8nMhflDNNW_Nb9DsNprYt8mk.css" target=3D"_blank">http://www.=
example.com/sites/news/files/css/css_lKoFARDAyB20ibb5wNG8nMhflDNNW_Nb9DsNpr=
Yt8mk.css</a><br>

 =A0 =A0 =A0 <a href=3D"http://www.example.com/sites/news/files/css/css_qSy=
FGRLc-tslOV1oF9GCzEe1eGDn4PP7vOM1HGymNYU.css" target=3D"_blank">http://www.=
example.com/sites/news/files/css/css_qSyFGRLc-tslOV1oF9GCzEe1eGDn4PP7vOM1HG=
ymNYU.css</a><br>

<br>
 =A0 =A0Among the improvements I&#39;m thinking about, we could decide to u=
se relative<br>
 =A0 =A0URIs when the site is the same. I don&#39;t know either if it&#39;s=
 of any use on<br>
 =A0 =A0the server side to know that the request was emitted for a specific=
 CSS.<br>
<br>
 =A0- If-Modified-Since: Fri, 27 Apr 2012 14:41:31 GMT<br>
 =A0 =A0=3D&gt; I have encoded this one on 32 and 64 bits and immediately s=
aved 3.1 and<br>
 =A0 =A0 =A0 2.6 kB respectively. Well, storing 4 more bytes per request mi=
ght be<br>
 =A0 =A0 =A0 wasted considering that we probably don&#39;t need a nanosecon=
d resolution<br>
 =A0 =A0 =A0 for 585 years. But 40-48 bits might be fine.</blockquote><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">
<br>
 =A0- Cache-Control: max-age=3D0<br>
 =A0 =A0=3D&gt; I suspect the user hit the Refresh button, this was present=
 in about<br>
 =A0 =A0 =A0 half the requests. Anyway, this raises the question of the len=
gth it<br>
 =A0 =A0 =A0 requires for something which is just a boolean here (&quot;ign=
ore cache&quot;).<br>
 =A0 =A0 =A0 Probably that a client has very few Cache-Control header value=
s to<br>
 =A0 =A0 =A0 send, and that reducing this to a smaller set would be benefic=
ial.<br></blockquote><div><br></div><div>Trying to change the motivation or=
 semantics of headers is a large endeavor.... =A0Not sure if the compressio=
n of the bits is the right motivation for doing so.</div>
<div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
 =A0- If-None-Match: &quot;<a href=3D"tel:3013140661" value=3D"+13013140661=
">3013140661</a>&quot;<br>
 =A0 =A0=3D&gt; I guess there is nothing we can do on this one, except sugg=
est that<br>
 =A0 =A0 =A0 implementors use more bits and less bytes to emit their etags.=
<br>
<br>
 =A0- Cookie: xtvrn=3D$OaiJty$; xtan327981=3Dc; xtant327981=3Dc; has_js=3Dc=
; __utma=3DKBjWnx24Q.7qFKqmB7v.i0JDH91L_R.0kU2W1uL49.JM4KtFLV0b.C; __utmc=
=3DRae9ZgQHz; __utmz=3DNRSZOcCWV.d5MlK5RJsi.-.f.N8J73w=3DS1SLuT_j0m.O8|VsIx=
wE=3D(jHw58obb)|r9SgsT=3DWQfZe8jr|pFSZGH=3D/@/qwDyMw3I; __gads=3Dtd=3DASP_D=
5ml4Ebevrej:R=3DpvxltafqZK:x=3DE4FUn3YiNldW3rhxzX6YlCptZp8zF-b5qc; _chartbe=
at2=3DoQvb8k_G9tduhauf.LqOukjnlaaE7K.uDBaR79E1WT4t.Kr9L_lIrOtruE8; __qca=3D=
LC9oiRpFSWShYlxUtD37GJ2k8AL; __utmb=3DvG8UMEjrz.Qf.At.pXD61lUeHZ; pm8196_1=
=3Dc; pm8194_1=3Dc<br>

<br>
 =A0 =A0=3D&gt; amazingly, this one compresses extremely well with the abov=
e scheme,<br>
 =A0 =A0 =A0 because additions are performed at the end so consecutive cook=
ies keep<br>
 =A0 =A0 =A0 a lot in common, and changes are not too frequent. However, gi=
ven the<br>
 =A0 =A0 =A0 omnipresent usage of cookies, I was wondering why we should no=
t create<br>
 =A0 =A0 =A0 a new entity of its own for the cookies instead of abusing the=
 Cookie<br>
 =A0 =A0 =A0 header. It would make it a lot easier for both ends to find wh=
at they<br>
 =A0 =A0 =A0 need. For instance, a load balancer just needs to find a serve=
r name<br>
 =A0 =A0 =A0 in the thing above. What a waste of on-wire bits and of CPU cy=
cles !<br>
<br>
BTW, binary encoding would probably also help addressing a request I often<=
br>
hear in banking environments : the need to sign/encrypt/compress only certa=
in<br>
headers or cookies. Right now when people do this, they have to base64-enco=
de<br>
the result, which is another transformation at both ends and inflates the<b=
r>
data. If we make provisions in the protocol for announcing encrypted or<br>
compressed headers using 2-3 bits, it might become more usable. I&#39;m not=
<br>
convinced it provides any benefit between a browser and an origin server<br=
>
though. So maybe it will remain application-specific and the transport<br>
just has to make it easier to emit 8-bit data in header field values.<br></=
blockquote><div><br></div><div>Happens all the time, yes. =A0Just make sure=
 that HTTP2 -&gt; HTTP1.1 definition is preserved so that gateways still wo=
rk.</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>
Has anyone any opinion on the subject above ? Or ideas about other things<b=
r>
that terribly clobber the upstream pipe and that should be fixed in 2.0 ?<b=
r>
<br>
I hope I&#39;ll soon find some time to update our draft to reflect recent u=
pdates<br>
and findings.<br></blockquote><div><br></div><div>Again, I think we could s=
pend a lot of time debating the compressor. =A0And with one more registry o=
r one more semantic header change from HTTP, there will always be one more =
bit to compress out. =A0But these are, IMHO, already diminishing returns fo=
r performance. =A0I hope we&#39;ll all focus on the more important parts of=
 the protocol (flow control, security, 1.x to 2.x upgrades, etc) than compr=
ession.</div>
<div><br></div><div>Mike</div><div><br></div><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
>
<br>
Regards,<br>
Willy<br>
<br>
--<br>
[1] <a href=3D"http://tools.ietf.org/id/draft-tarreau-httpbis-network-frien=
dly-00.txt" target=3D"_blank">http://tools.ietf.org/id/draft-tarreau-httpbi=
s-network-friendly-00.txt</a><br>
[2] <a href=3D"http://1wt.eu/http2/" target=3D"_blank">http://1wt.eu/http2/=
</a><br>
<br>
<br>
</blockquote></div><br></div>

--f46d0401fc43f8530a04c233380b--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 08:30: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 0BE2221F8657 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 08:30: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=[AWL=0.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E0pFseNNh1v1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 08:30:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 59D1621F85B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 08:30:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se6XL-0007yG-6h for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 15:28:11 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1Se6X3-0007wh-NX for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 15:27:53 +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 1Se6X0-0001b3-SK for ietf-http-wg@w3.org; Mon, 11 Jun 2012 15:27:52 +0000
Received: by wgbdt14 with SMTP id dt14so2907932wgb.26 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 08:27: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:content-transfer-encoding; bh=dqIG2MdCU00XXHu8n8uJOCBYcdrnSMaeBjLueZvKop0=; b=zrphePx8Hsoo+nPFWlXkFTnULMJq5Yl2myPymy9Rk0wz+gbgujexth14ugc4vSPRbU Xaqeun5/+o2o4CxI6QebCd/nCPYXg4OarDcZ0h1D7rWGrrZCCm/Zkh+Thgh6eoU3nUNZ n8YaELX53fNsaewW/eVRvTjM1Yawgfm7Jx2jMzo05LhFEtMsiUxun6wvI8uD+M28H4GM y80uGnMlD3ehK09rUPenMA3Z9TYpQEpbAA9OOtzFPhtmipX6NKBbBXhbF5kGSPJDkgro K3uMTvqkIGenZDfxOYyfaoP3ploKYY3vApcYp5FEPzEhKWs83EK3cMkPR7hBQZkAXgMJ LcOQ==
Received: by 10.216.199.75 with SMTP id w53mr483919wen.14.1339428444487; Mon, 11 Jun 2012 08:27:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.173.67 with HTTP; Mon, 11 Jun 2012 08:27:04 -0700 (PDT)
In-Reply-To: <11A618A3-7906-4619-BC63-438D564DB328@mnot.net>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 11 Jun 2012 08:27:04 -0700
Message-ID: <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Karl Dubost <karld@opera.com>, Tim Bray <tbray@textuality.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Se6X0-0001b3-SK 10b84c85e43ae8ab3b96d8bedc168e16
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13726
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se6XL-0007yG-6h@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 15:28:11 +0000

On Mon, Jun 11, 2012 at 4:09 AM, Mark Nottingham <mnot@mnot.net> wrote:
>[snip]
>> Censorship happens sometimes in other states through decision of laws an=
d/or regulations. For example, a network in a corporate environment blockin=
g certain sites through proxy (such as social networks). A library blocking=
 some sites through proxy to other users. In these cases, the organization =
in charge of it might want to advertise it for reasons which seem perfectly=
 legible to them.
>
> Yes. However, as discussed, current status codes can be used for this, an=
d the HTML will explain what's going on. The one remaining motivation that =
I can see would be a similar situation that got us 511; non-browser devices=
 that get confused by what's going on. However, since this isn't a redirect=
, but just a refusal, it's less of an issue, practically.
>

True, however, with 511, there is a distinct practical action that the
user-agent can take in response to the specific code... namely,
authenticating with the network prior to retrying the request. There
is no such clear response action with this.

Further, one additional consideration is the case where a particular
request is blocked through similar policy-driven action. A 4xx
response would be perfectly reasonable in such cases. My initial
inclination was to use a new 5xx code but the more I go through the
cases, the more I think 403 is just fine.

- James

> Cheers,
>
>
>
> --
> Mark Nottingham =C2=A0 http://www.mnot.net/
>
>
>


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 08:42: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 1CC5921F864A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 08:42:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.326
X-Spam-Level: 
X-Spam-Status: No, score=-9.326 tagged_above=-999 required=5 tests=[AWL=0.650, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hIGk7l54NoMj for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 08:42:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1115121F8648 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 08:42:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se6jZ-00033F-I0 for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 15:40:49 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1Se6jO-00031n-IT for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 15:40:38 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1Se6j9-0002qe-0X for ietf-http-wg@w3.org; Mon, 11 Jun 2012 15:40:31 +0000
Received: by yenq11 with SMTP id q11so2635986yen.2 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 08:39:44 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=mFhjBYR1iXs8Qrw7gttHXKSC58PESxqa71b43ihsuXo=; b=j9a4pWyRqizB1uJk1alsiBJeSH7eshoQ1DWzU87Ngz2ZhXLBcR4Y1uMnpUvq5Du56z qd1Sr+tUu90Qz5xEKRe6fEXQzjA2mPwiLpgpwEzMiwlVhGwr4Zf8t7h822S3bBH7HwmU ySRwN4uxFLxysLXljyWKibdT/bEH+4N8wzREWDEd6aVZPbx8WXtwSWNwFXVVtb56wxlD 4WAbrcXfeaFSt/i9iKrm+igqFewZCOJ3dqoC2prr3ILVz6CTnix6sENF2ABcnBqX8kqs NHwtJboTbz5Jefrj13TaMA35s3mmBbdyYBe17Pkd5V8JB+Ddmo8fAf3eaoSK6mD5cPvw getA==
MIME-Version: 1.0
Received: by 10.60.8.35 with SMTP id o3mr16785672oea.45.1339429184339; Mon, 11 Jun 2012 08:39:44 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Mon, 11 Jun 2012 08:39:44 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com>
Date: Mon, 11 Jun 2012 08:39:44 -0700
Message-ID: <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: James M Snell <jasnell@gmail.com>
Cc: Mark Nottingham <mnot@mnot.net>, Karl Dubost <karld@opera.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8fb1f79abbffb904c23428d8
X-Gm-Message-State: ALoCoQkfboDyuFiWc6GH6pb+a9TaTl8rYLLQiZoKA0RhXBlKXOBtk9QtFS7wNHDu7HDh+Uas0Ivj
Received-SPF: none client-ip=209.85.213.171; envelope-from=tbray@textuality.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Se6j9-0002qe-0X ef200fc9e79c328b267e40c705f2f33e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13727
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se6jZ-00033F-I0@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 15:40:49 +0000

--e89a8fb1f79abbffb904c23428d8
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Well, the practical argument is programmer behavior, in the way that client
devs handle the codes.  I regularly see code along the lines of:

else if (status =3D=3D 401)
 // do authent stuff
else if (status =3D=3D 403)
 // apologize and explain
else if (status/100 =3D=3D 5)
 // apologize for server misbehavior without many details (which would
probably not be helpful to end-user anyhow)

So we want a result like 403, not 5XX.  So 403 would not be flatly
incorrect, but I still think a new 4XX would be desirable. Would it be
used?  Well, in most web frameworks, you can already provide any old
integer status code, so I don=92t think any infrastructure development woul=
d
be required.  I suspect the browser people would be happy to provide a
boilerplate message if the status code became official.

And finally, I am sure that some websites under government pressure would
be happy to lie and deny censorship exists, but I am quite certain that
lots of others would welcome the chance to make clear the responsibility
for the blockage. I would welcome being so informed in those situations.

So where=92s the downside?

-T


On Mon, Jun 11, 2012 at 8:27 AM, James M Snell <jasnell@gmail.com> wrote:
> On Mon, Jun 11, 2012 at 4:09 AM, Mark Nottingham <mnot@mnot.net> wrote:
>>[snip]
>>> Censorship happens sometimes in other states through decision of laws
and/or regulations. For example, a network in a corporate environment
blocking certain sites through proxy (such as social networks). A library
blocking some sites through proxy to other users. In these cases, the
organization in charge of it might want to advertise it for reasons which
seem perfectly legible to them.
>>
>> Yes. However, as discussed, current status codes can be used for this,
and the HTML will explain what's going on. The one remaining motivation
that I can see would be a similar situation that got us 511; non-browser
devices that get confused by what's going on. However, since this isn't a
redirect, but just a refusal, it's less of an issue, practically.
>>
>
> True, however, with 511, there is a distinct practical action that the
> user-agent can take in response to the specific code... namely,
> authenticating with the network prior to retrying the request. There
> is no such clear response action with this.
>
> Further, one additional consideration is the case where a particular
> request is blocked through similar policy-driven action. A 4xx
> response would be perfectly reasonable in such cases. My initial
> inclination was to use a new 5xx code but the more I go through the
> cases, the more I think 403 is just fine.
>
> - James
>
>> Cheers,
>>
>>
>>
>> --
>> Mark Nottingham   http://www.mnot.net/
>>
>>
>>

--e89a8fb1f79abbffb904c23428d8
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Well, the practical argument is programmer behavior, in the way that client=
 devs handle the codes. =A0I regularly see code along the lines of:<br><br>=
else if (status =3D=3D 401) <br> =A0// do authent stuff<br>else if (status =
=3D=3D 403)<br>
 =A0// apologize and explain<br>else if (status/100 =3D=3D 5)<br> =A0// apo=
logize for server misbehavior without many details (which would probably no=
t be helpful to end-user anyhow)<br><br>So we want a result like 403, not 5=
XX. =A0So 403 would not be flatly incorrect, but I still think a new 4XX wo=
uld be desirable. Would it be used? =A0Well, in most web frameworks, you ca=
n already provide any old integer status code, so I don=92t think any infra=
structure development would be required. =A0I suspect the browser people wo=
uld be happy to provide a boilerplate message if the status code became off=
icial. <br>
<br>And finally, I am sure that some websites under government pressure wou=
ld be happy to lie and deny censorship exists, but I am quite certain that =
lots of others would welcome the chance to make clear the responsibility fo=
r the blockage. I would welcome being so informed in those situations.<br>
<br>So where=92s the downside?<br><br>-T<br><br><br>On Mon, Jun 11, 2012 at=
 8:27 AM, James M Snell &lt;<a href=3D"mailto:jasnell@gmail.com">jasnell@gm=
ail.com</a>&gt; wrote:<br>&gt; On Mon, Jun 11, 2012 at 4:09 AM, Mark Nottin=
gham &lt;<a href=3D"mailto:mnot@mnot.net">mnot@mnot.net</a>&gt; wrote:<br>
&gt;&gt;[snip]<br>&gt;&gt;&gt; Censorship happens sometimes in other states=
 through decision of laws and/or regulations. For example, a network in a c=
orporate environment blocking certain sites through proxy (such as social n=
etworks). A library blocking some sites through proxy to other users. In th=
ese cases, the organization in charge of it might want to advertise it for =
reasons which seem perfectly legible to them.<br>
&gt;&gt;<br>&gt;&gt; Yes. However, as discussed, current status codes can b=
e used for this, and the HTML will explain what&#39;s going on. The one rem=
aining motivation that I can see would be a similar situation that got us 5=
11; non-browser devices that get confused by what&#39;s going on. However, =
since this isn&#39;t a redirect, but just a refusal, it&#39;s less of an is=
sue, practically.<br>
&gt;&gt;<br>&gt;<br>&gt; True, however, with 511, there is a distinct pract=
ical action that the<br>&gt; user-agent can take in response to the specifi=
c code... namely,<br>&gt; authenticating with the network prior to retrying=
 the request. There<br>
&gt; is no such clear response action with this.<br>&gt;<br>&gt; Further, o=
ne additional consideration is the case where a particular<br>&gt; request =
is blocked through similar policy-driven action. A 4xx<br>&gt; response wou=
ld be perfectly reasonable in such cases. My initial<br>
&gt; inclination was to use a new 5xx code but the more I go through the<br=
>&gt; cases, the more I think 403 is just fine.<br>&gt;<br>&gt; - James<br>=
&gt;<br>&gt;&gt; Cheers,<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --=
<br>
&gt;&gt; Mark Nottingham =A0 <a href=3D"http://www.mnot.net/">http://www.mn=
ot.net/</a><br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br><br>

--e89a8fb1f79abbffb904c23428d8--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 08:56: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 45FC621F8633 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 08:56: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZdatWpzdNGZJ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 08:56:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 08A7621F8445 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 08:56:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se6y0-0007sd-9I for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 15:55:44 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1Se6xb-0007qr-Kr for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 15:55:19 +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 1Se6xY-0002vz-Ft for ietf-http-wg@w3.org; Mon, 11 Jun 2012 15:55:17 +0000
Received: by wibhj6 with SMTP id hj6so2496224wib.8 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 08:54: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:content-transfer-encoding; bh=8FHupRmrl0MO39UBdqAtFjt3YUWD0ZyMQD2APRVWRkc=; b=v1dBjZEezjKNDzR1Wjzs0sDQ7dWW4xpAbl5evHIKE8yQt5XfG3Avkiv0t+V/eqvnDs nUQiP9oY1nCw0iqwaqXnWZzXQMbYeKOpTfrZqTC0mj18dF/IB4A0+96BZK6xN6/w2lbn kbOe1ZGIQJR8i48Yu1S1pOnwbUJnAXZvmdSbwlXtqBJ4g8z9gwxhHSBXaaD3Vw/BSr+w 8n9yEwoHZzeeKB5EYzx4s6Iy225pKDSxEwRch/KfGUo466Wm7FIxT0/OQ4rxZUXB5AA1 qVm/W7cGOxRt/VAM3ZFAvPuIwfDL3rvbKSV8o2r55vqM9kl/42/hhmbtrCAV1JEiBqk8 Eq/g==
Received: by 10.216.209.95 with SMTP id r73mr7165441weo.157.1339430085109; Mon, 11 Jun 2012 08:54:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.173.67 with HTTP; Mon, 11 Jun 2012 08:54:24 -0700 (PDT)
In-Reply-To: <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com> <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 11 Jun 2012 08:54:24 -0700
Message-ID: <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: Mark Nottingham <mnot@mnot.net>, Karl Dubost <karld@opera.com>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Se6xY-0002vz-Ft aca88a98bf8800127a7e255a125561d4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13728
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se6y0-0007sd-9I@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 15:55:44 +0000

I can definitely live with that.. anything that increases the
visibility of censorship is not a bad thing.  Looks like status code
427 is open currently.

- James

On Mon, Jun 11, 2012 at 8:39 AM, Tim Bray <tbray@textuality.com> wrote:
> Well, the practical argument is programmer behavior, in the way that clie=
nt
> devs handle the codes. =C2=A0I regularly see code along the lines of:
>
> else if (status =3D=3D 401)
> =C2=A0// do authent stuff
> else if (status =3D=3D 403)
> =C2=A0// apologize and explain
> else if (status/100 =3D=3D 5)
> =C2=A0// apologize for server misbehavior without many details (which wou=
ld
> probably not be helpful to end-user anyhow)
>
> So we want a result like 403, not 5XX. =C2=A0So 403 would not be flatly
> incorrect, but I still think a new 4XX would be desirable. Would it be us=
ed?
> =C2=A0Well, in most web frameworks, you can already provide any old integ=
er
> status code, so I don=E2=80=99t think any infrastructure development woul=
d be
> required. =C2=A0I suspect the browser people would be happy to provide a
> boilerplate message if the status code became official.
>
> And finally, I am sure that some websites under government pressure would=
 be
> happy to lie and deny censorship exists, but I am quite certain that lots=
 of
> others would welcome the chance to make clear the responsibility for the
> blockage. I would welcome being so informed in those situations.
>
> So where=E2=80=99s the downside?
>
> -T
>
>
>
> On Mon, Jun 11, 2012 at 8:27 AM, James M Snell <jasnell@gmail.com> wrote:
>> On Mon, Jun 11, 2012 at 4:09 AM, Mark Nottingham <mnot@mnot.net> wrote:
>>>[snip]
>>>> Censorship happens sometimes in other states through decision of laws
>>>> and/or regulations. For example, a network in a corporate environment
>>>> blocking certain sites through proxy (such as social networks). A libr=
ary
>>>> blocking some sites through proxy to other users. In these cases, the
>>>> organization in charge of it might want to advertise it for reasons wh=
ich
>>>> seem perfectly legible to them.
>>>
>>> Yes. However, as discussed, current status codes can be used for this,
>>> and the HTML will explain what's going on. The one remaining motivation=
 that
>>> I can see would be a similar situation that got us 511; non-browser dev=
ices
>>> that get confused by what's going on. However, since this isn't a redir=
ect,
>>> but just a refusal, it's less of an issue, practically.
>>>
>>
>> True, however, with 511, there is a distinct practical action that the
>> user-agent can take in response to the specific code... namely,
>> authenticating with the network prior to retrying the request. There
>> is no such clear response action with this.
>>
>> Further, one additional consideration is the case where a particular
>> request is blocked through similar policy-driven action. A 4xx
>> response would be perfectly reasonable in such cases. My initial
>> inclination was to use a new 5xx code but the more I go through the
>> cases, the more I think 403 is just fine.
>>
>> - James
>>
>>> Cheers,
>>>
>>>
>>>
>>> --
>>> Mark Nottingham =C2=A0 http://www.mnot.net/
>>>
>>>
>>>
>


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 09:05: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 7C24D21F865D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:05:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.932
X-Spam-Level: 
X-Spam-Status: No, score=-9.932 tagged_above=-999 required=5 tests=[AWL=0.667, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FzfqGFmnvpDv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:05:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EFE9021F865C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 09:05:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se761-0003hD-5N for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:04:01 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Se75p-0003ez-Uc for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:03:49 +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 1Se75j-0003mB-SI for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:03:48 +0000
Received: (qmail invoked by alias); 11 Jun 2012 16:03:17 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp041) with SMTP; 11 Jun 2012 18:03:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19LHFwnKO1L8IAeqF+YKAsXZGDkZQuIMfkWoUUMn9 xIfAMAGHXdTgbK
Message-ID: <4FD616C3.3050200@gmx.de>
Date: Mon, 11 Jun 2012 18:03:15 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: James M Snell <jasnell@gmail.com>
CC: Tim Bray <tbray@textuality.com>, Mark Nottingham <mnot@mnot.net>,  Karl Dubost <karld@opera.com>, ietf-http-wg@w3.org
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com> <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com> <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com>
In-Reply-To: <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Se75j-0003mB-SI f4eac26b9f46725c47082507082d1015
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/4FD616C3.3050200@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13729
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se761-0003hD-5N@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:04:01 +0000

On 2012-06-11 17:54, James M Snell wrote:
> I can definitely live with that.. anything that increases the
> visibility of censorship is not a bad thing.  Looks like status code
> 427 is open currently.
> ...

So is 418. In any case, if we go there it should be 451.

Best regards, Julian

PS: and I do agree with Mark that it's unlikely that it'll be tricky to 
get something standardized that might give the impression that 
censorship is ok.


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 09:12: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 5B76321F865F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:12:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.426
X-Spam-Level: 
X-Spam-Status: No, score=-7.426 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5wCEWF0DvRtv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:12:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 98E0721F865E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 09:12:15 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se7DL-00048m-W7 for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:11:36 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <prvs=5021fe135=Martin.Musatov@bestbuy.com>) id 1Se7Cu-00047Y-EN for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:11:08 +0000
Received: from dsp2xmail.bestbuy.com ([198.22.123.158]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <prvs=5021fe135=Martin.Musatov@bestbuy.com>) id 1Se7Ch-000451-Nu for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:11:01 +0000
Received: from unknown (HELO DSP50MAIL.na.bestbuy.com) ([168.94.110.140]) by dsp2xmail.bestbuy.com with ESMTP/TLS/AES128-SHA; 11 Jun 2012 11:03:19 -0500
Received: from am1outboundpool.messaging.microsoft.com (213.199.154.204) by mail10.bestbuy.com (168.94.110.140) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 11 Jun 2012 11:10:10 -0500
Received: from mail108-am1-R.bigfish.com (10.3.201.247) by AM1EHSOBE002.bigfish.com (10.3.204.22) with Microsoft SMTP Server id 14.1.225.23; Mon, 11 Jun 2012 16:09:09 +0000
Received: from mail108-am1 (localhost [127.0.0.1])	by mail108-am1-R.bigfish.com (Postfix) with ESMTP id 312944C0262	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Mon, 11 Jun 2012 16:09:09 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.234.133;KIP:(null);UIP:(null);(null);H:SN2PRD0610HT003.namprd06.prod.outlook.com;R:internal;EFV:INT
X-SpamScore: -8
X-BigFish: PS-8(zz98dI9371I936eI542Mzz1202hzz8275dhz31h2a8h668h839h93fhd25hf0ah)
Received-SPF: softfail (mail108-am1: transitioning domain of bestbuy.com does not designate 157.56.234.133 as permitted sender) client-ip=157.56.234.133; envelope-from=Martin.Musatov@bestbuy.com; helo=SN2PRD0610HT003.namprd06.prod.outlook.com ;.outlook.com ;
Received: from mail108-am1 (localhost.localdomain [127.0.0.1]) by mail108-am1 (MessageSwitch) id 1339430946864413_24754; Mon, 11 Jun 2012 16:09:06 +0000 (UTC)
Received: from AM1EHSMHS015.bigfish.com (unknown [10.3.201.227])	by mail108-am1.bigfish.com (Postfix) with ESMTP id CF05540046;	Mon, 11 Jun 2012 16:09:06 +0000 (UTC)
Received: from SN2PRD0610HT003.namprd06.prod.outlook.com (157.56.234.133) by AM1EHSMHS015.bigfish.com (10.3.207.153) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 11 Jun 2012 16:09:06 +0000
Received: from SN2PRD0610MB371.namprd06.prod.outlook.com ([169.254.3.123]) by SN2PRD0610HT003.namprd06.prod.outlook.com ([10.255.117.38]) with mapi id 14.16.0164.004; Mon, 11 Jun 2012 16:10:05 +0000
From: "Musatov, Martin - CW" <Martin.Musatov@bestbuy.com>
To: Julian Reschke <julian.reschke@gmx.de>, James M Snell <jasnell@gmail.com>
CC: Tim Bray <tbray@textuality.com>, Mark Nottingham <mnot@mnot.net>, Karl Dubost <karld@opera.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Status code for censorship?
Thread-Index: AQHNRscf+SHFEjQVTE6sRYP4bs1im5bz5n+AgABLH4CAAMIPgIAABBmAgABH+gCAAAOKAIAABBkAgAACeYCAAAGKIA==
Date: Mon, 11 Jun 2012 16:10:04 +0000
Message-ID: <1A861E6970A91447BBC0BD2021F75320029BD04F@SN2PRD0610MB371.namprd06.prod.outlook.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com> <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com> <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com> <4FD616C3.3050200@gmx.de>
In-Reply-To: <4FD616C3.3050200@gmx.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [168.94.245.7]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0610HT003.namprd06.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%8463$Dn%GMX.DE$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%GMAIL.COM$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%TEXTUALITY.COM$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%MNOT.NET$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%OPERA.COM$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%W3.ORG$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-OriginatorOrg: BestBuy.com
X-CrossPremisesHeadersPromoted: DSP50MAIL.na.bestbuy.com
X-CrossPremisesHeadersFiltered: DSP50MAIL.na.bestbuy.com
Received-SPF: pass client-ip=198.22.123.158; envelope-from=prvs=5021fe135=Martin.Musatov@bestbuy.com; helo=dsp2xmail.bestbuy.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1Se7Ch-000451-Nu 30779f9a8fdf2dd374b5342d621215ab
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Status code for censorship?
Archived-At: <http://www.w3.org/mid/1A861E6970A91447BBC0BD2021F75320029BD04F@SN2PRD0610MB371.namprd06.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13730
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se7DL-00048m-W7@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:11:35 +0000

DQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBKdWxpYW4gUmVzY2hrZSBbbWFp
bHRvOmp1bGlhbi5yZXNjaGtlQGdteC5kZV0gDQpTZW50OiBNb25kYXksIEp1bmUgMTEsIDIwMTIg
MTE6MDMgQU0NClRvOiBKYW1lcyBNIFNuZWxsDQpDYzogVGltIEJyYXk7IE1hcmsgTm90dGluZ2hh
bTsgS2FybCBEdWJvc3Q7IGlldGYtaHR0cC13Z0B3My5vcmcNClN1YmplY3Q6IFJlOiBTdGF0dXMg
Y29kZSBmb3IgY2Vuc29yc2hpcD8NCg0KT24gMjAxMi0wNi0xMSAxNzo1NCwgSmFtZXMgTSBTbmVs
bCB3cm90ZToNCj4gSSBjYW4gZGVmaW5pdGVseSBsaXZlIHdpdGggdGhhdC4uIGFueXRoaW5nIHRo
YXQgaW5jcmVhc2VzIHRoZSANCj4gdmlzaWJpbGl0eSBvZiBjZW5zb3JzaGlwIGlzIG5vdCBhIGJh
ZCB0aGluZy4gIA0KDQpZZXMsIGJ1dCB3aGF0IGluY2VudGl2ZXMgYXJlIHRoZXJlIGZvciBjZW5z
b3JzIHRvIGNvbXBseSB3aXRoIGl0cyB1c2U/DQpNYXJ0aW4NCg0KTG9va3MgbGlrZSBzdGF0dXMg
Y29kZQ0KPiA0MjcgaXMgb3BlbiBjdXJyZW50bHkuDQo+IC4uLg0KDQpTbyBpcyA0MTguIEluIGFu
eSBjYXNlLCBpZiB3ZSBnbyB0aGVyZSBpdCBzaG91bGQgYmUgNDUxLg0KDQpCZXN0IHJlZ2FyZHMs
IEp1bGlhbg0KDQpQUzogYW5kIEkgZG8gYWdyZWUgd2l0aCBNYXJrIHRoYXQgaXQncyB1bmxpa2Vs
eSB0aGF0IGl0J2xsIGJlIHRyaWNreSB0byBnZXQgc29tZXRoaW5nIHN0YW5kYXJkaXplZCB0aGF0
IG1pZ2h0IGdpdmUgdGhlIGltcHJlc3Npb24gdGhhdCBjZW5zb3JzaGlwIGlzIG9rLg0KDQoNCg==



From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 09:14: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 4F88E21F8618 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:14:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.543
X-Spam-Level: 
X-Spam-Status: No, score=-9.543 tagged_above=-999 required=5 tests=[AWL=0.433, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id txBGT3lSEKYH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:14:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9666921F85DA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 09:14:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se7Ev-0004Hm-5u for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:13:13 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1Se7Ek-0004GQ-4Z for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:13:02 +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 <tbray@textuality.com>) id 1Se7Ee-000498-4n for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:13:00 +0000
Received: by obfk16 with SMTP id k16so3485462obf.2 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 09:12:30 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=MVVKlaoWVb045vJ3CZxt4q8IdA7fbkx7ZZ6tMxKgvn4=; b=GKqqB7AZwSekHF+oSlz4iwGvhdeHJxte3pAU53jqBEUqdElOMj9LGyN2hSzAJheiil SOGN++aR647R75wH0FQ8/apL5LlmgINtgTmCj6ob2JEE6+k6ciMz58jM5U5ISPNgv3JE pnsw6zlFAlwz91KPb6vI89fR0f2QCvMv5YynWmepqcSrtcNZueettlu8gur64vHedBoj a7S0ivyweNfHXilrSUHfCCS8BtZxstD09dU0io371MRw4n8X9lhOtQo+C0HjqQfnRZv4 c6y0/Dyvx/A3PbZ0wvLLnuYfQI+cNA4HejPq+p6ZPHlvqLdlxAzh51ICay/ta4NjNfhY DaYA==
MIME-Version: 1.0
Received: by 10.182.145.40 with SMTP id sr8mr17168132obb.42.1339431149988; Mon, 11 Jun 2012 09:12:29 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Mon, 11 Jun 2012 09:12:29 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <1A861E6970A91447BBC0BD2021F75320029BD04F@SN2PRD0610MB371.namprd06.prod.outlook.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com> <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com> <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com> <4FD616C3.3050200@gmx.de> <1A861E6970A91447BBC0BD2021F75320029BD04F@SN2PRD0610MB371.namprd06.prod.outlook.com>
Date: Mon, 11 Jun 2012 09:12:29 -0700
Message-ID: <CAHBU6iuAKjKa9Se5i8PsQxyBfakQTqZkPB2=52kA9kMjiU5qaw@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: "Musatov, Martin - CW" <Martin.Musatov@bestbuy.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, James M Snell <jasnell@gmail.com>,  Mark Nottingham <mnot@mnot.net>, Karl Dubost <karld@opera.com>,  "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary=f46d04463232e56a1404c2349dd9
X-Gm-Message-State: ALoCoQlezWrt8IP2/p4Kr1/on5IBmMg04AcHgFjncmsIOrUYrzuTQMMEnFCttZR6qMXeXox+uNBV
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1Se7Ee-000498-4n 8753d5ca739c0335c5c345e0da3ab9fa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/CAHBU6iuAKjKa9Se5i8PsQxyBfakQTqZkPB2=52kA9kMjiU5qaw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13731
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se7Ev-0004Hm-5u@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:13:13 +0000

--f46d04463232e56a1404c2349dd9
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

None. But when some ISP or search engine gets a court order saying =93You a=
re
forbidden to link to {The Pirate Bay|Anonymous|whatever}, they have a
strong incentive to be transparent about it. Now in some countries, the
censors will also pass a law saying it=92s forbidden to disclose the
censorship; but thankfully, not all. -T

On Mon, Jun 11, 2012 at 9:10 AM, Musatov, Martin - CW <
Martin.Musatov@bestbuy.com> wrote:

>
>
> -----Original Message-----
> From: Julian Reschke [mailto:julian.reschke@gmx.de]
> Sent: Monday, June 11, 2012 11:03 AM
> To: James M Snell
> Cc: Tim Bray; Mark Nottingham; Karl Dubost; ietf-http-wg@w3.org
> Subject: Re: Status code for censorship?
>
> On 2012-06-11 17:54, James M Snell wrote:
> > I can definitely live with that.. anything that increases the
> > visibility of censorship is not a bad thing.
>
> Yes, but what incentives are there for censors to comply with its use?
> Martin
>
> Looks like status code
> > 427 is open currently.
> > ...
>
> So is 418. In any case, if we go there it should be 451.
>
> Best regards, Julian
>
> PS: and I do agree with Mark that it's unlikely that it'll be tricky to
> get something standardized that might give the impression that censorship
> is ok.
>
>
>

--f46d04463232e56a1404c2349dd9
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

None. But when some ISP or search engine gets a court order saying =93You a=
re forbidden to link to {The Pirate Bay|Anonymous|whatever}, they have a st=
rong incentive to be transparent about it. Now in some countries, the censo=
rs will also pass a law saying it=92s forbidden to disclose the censorship;=
 but thankfully, not all. -T<br>
<br><div class=3D"gmail_quote">On Mon, Jun 11, 2012 at 9:10 AM, Musatov, Ma=
rtin - CW <span dir=3D"ltr">&lt;<a href=3D"mailto:Martin.Musatov@bestbuy.co=
m" target=3D"_blank">Martin.Musatov@bestbuy.com</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">
<div class=3D"im"><br>
<br>
-----Original Message-----<br>
From: Julian Reschke [mailto:<a href=3D"mailto:julian.reschke@gmx.de">julia=
n.reschke@gmx.de</a>]<br>
Sent: Monday, June 11, 2012 11:03 AM<br>
To: James M Snell<br>
Cc: Tim Bray; Mark Nottingham; Karl Dubost; <a href=3D"mailto:ietf-http-wg@=
w3.org">ietf-http-wg@w3.org</a><br>
Subject: Re: Status code for censorship?<br>
<br>
</div><div class=3D"im">On 2012-06-11 17:54, James M Snell wrote:<br>
&gt; I can definitely live with that.. anything that increases the<br>
&gt; visibility of censorship is not a bad thing.<br>
<br>
</div>Yes, but what incentives are there for censors to comply with its use=
?<br>
<span class=3D"HOEnZb"><font color=3D"#888888">Martin<br>
</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
Looks like status code<br>
&gt; 427 is open currently.<br>
&gt; ...<br>
<br>
So is 418. In any case, if we go there it should be 451.<br>
<br>
Best regards, Julian<br>
<br>
PS: and I do agree with Mark that it&#39;s unlikely that it&#39;ll be trick=
y to get something standardized that might give the impression that censors=
hip is ok.<br>
<br>
<br>
</div></div></blockquote></div><br>

--f46d04463232e56a1404c2349dd9--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 09:20: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 EFA2E21F864F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:20:47 -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_21=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eKf5hsDEQPTQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:20:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 621D421F8522 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 09:20:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se7Ly-0007Iv-1K for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:20:30 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dwm@xpasc.com>) id 1Se7Ln-0007Hz-Ab for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:20:19 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1Se7Lk-0004AA-3b for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:20:17 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id 41ABF3F8C6 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 16:19:49 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q5BGJnmK030573 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 09:19:49 -0700
Date: Mon, 11 Jun 2012 09:19:48 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
In-Reply-To: <CAHBU6iuAKjKa9Se5i8PsQxyBfakQTqZkPB2=52kA9kMjiU5qaw@mail.gmail.com>
Message-ID: <alpine.LRH.2.01.1206110916520.19099@egate.xpasc.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com> <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com> <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com> <4FD616C3.3050200@gmx.de> <1A861E6970A91447BBC0BD2021F75320029BD04F@SN2PRD0610MB371.namprd06.prod.outlook.com> <CAHBU6iuAKjKa9Se5i8PsQxyBfakQTqZkPB2=52kA9kMjiU5qaw@mail.gmail.com>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.24-gef8a08a
X-CLX-ID: a110AD3GD7Hu1vr-5B0919n
X-CLX-Spam: false
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.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: lisa.w3.org 1Se7Lk-0004AA-3b 68b7585460377b5edaca7482e30a26da
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1206110916520.19099@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13732
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se7Ly-0007Iv-1K@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:20:30 +0000

FWIW .. a couple years ago I had a customer support issue related to
company censorship. In that case, the country enforcement was to
to provide a replacement page which essentially said 'forbidden' and
return it with 200 status and a long expiration. Essentially poluting
the end user's local caching and reducing the load on their interception
process.

On Mon, 11 Jun 2012, Tim Bray wrote:

> None. But when some ISP or search engine gets a court order saying ?You are
> forbidden to link to {The Pirate Bay|Anonymous|whatever}, they have a
> strong incentive to be transparent about it. Now in some countries, the
> censors will also pass a law saying it?s forbidden to disclose the
> censorship; but thankfully, not all. -T
> 
> On Mon, Jun 11, 2012 at 9:10 AM, Musatov, Martin - CW <
> Martin.Musatov@bestbuy.com> wrote:
> 
> >
> >
> > -----Original Message-----
> > From: Julian Reschke [mailto:julian.reschke@gmx.de]
> > Sent: Monday, June 11, 2012 11:03 AM
> > To: James M Snell
> > Cc: Tim Bray; Mark Nottingham; Karl Dubost; ietf-http-wg@w3.org
> > Subject: Re: Status code for censorship?
> >
> > On 2012-06-11 17:54, James M Snell wrote:
> > > I can definitely live with that.. anything that increases the
> > > visibility of censorship is not a bad thing.
> >
> > Yes, but what incentives are there for censors to comply with its use?
> > Martin
> >
> > Looks like status code
> > > 427 is open currently.
> > > ...
> >
> > So is 418. In any case, if we go there it should be 451.
> >
> > Best regards, Julian
> >
> > PS: and I do agree with Mark that it's unlikely that it'll be tricky to
> > get something standardized that might give the impression that censorship
> > is ok.
> >
> >
> >
> 


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 09:28: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 0DC1F21F85CC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:28:15 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PiQOKj8UEBZf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:28:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D0E4921F85A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 09:28:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se7T0-0007rY-De for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:27:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1Se7Sp-0007qh-RZ for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:27:35 +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 1Se7Sl-0004Se-Mk for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:27: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 q5BGR2Ih017944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 11 Jun 2012 16:27:02 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "Mike Belshe" <mike@belshe.com>
Cc: "Roberto Peon" <grmocg@gmail.com>, ietf-http-wg@w3.org
References: <op.wfjd0s2diw9drz@riaa> <CAP+FsNfD3=OYibM8hZOWAB8qxmnO7K=e4=JK+BV50P8y7sDZ6A@mail.gmail.com> <op.wfler3eyiw9drz@riaa> <CABaLYCuh2bOyXQVxCVYfwu-yCqgUCvFjyzvJpTEfNQ9MzsyKpw@mail.gmail.com> <op.wflvgjmbiw9drz@manganese.bredbandsbolaget.se> <CABaLYCvRObLwoPZ18U4Typ7i0v-97d+b6aEFPZkz5JD4BekUTQ@mail.gmail.com>
Date: Mon, 11 Jun 2012 18:27:01 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wfqynbqbiw9drz@riaa>
In-Reply-To: <CABaLYCvRObLwoPZ18U4Typ7i0v-97d+b6aEFPZkz5JD4BekUTQ@mail.gmail.com>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Se7Sl-0004Se-Mk cfbbea4bb3e49282da2ce9198c1f9d1c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/op.wfqynbqbiw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13733
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se7T0-0007rY-De@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:27:46 +0000

On Sat, 09 Jun 2012 00:55:42 +0200, Mike Belshe <mike@belshe.com> wrote:

>
> OK.   Yes, we know that the dictionary only helps a small amount.  But it
> does help.  The good news is that its basically free to use the  
> dictionary,
> so I don't really see any downsides.
>

I would guess that there are device manufacturers that would object
that 1k data for 100 bytes saving when establishing a connection is
not free nor worthwhile. That is not our main objection though.

The dictionary is a fixed magic number that has to go into every SPDY
implementation. Since the dictionary is not well researched there will
likely be future proposals for replacements. If approved this creates
either the necessity for some handshaking or a library of
dictionaries. Also, no matter how perfect we make it now, thinking of
all different existing user agents and use cases, it will lose its
relevance over time as these change.

I'm basing the assertion that it is not well researched on the fact
that it is easy to propose improvements on it. The most major ones
would be adding tokens like ":method", ":version" and ":scheme" to the
dictionary (they were not updated in the dictionary when the protocol
was changed between version 2 and 3, and gives an instant 2%
improvement) and to split the dictionary for the request context and
the recipient context, as the headers are mostly mutually exclusive.

If you look at the compressed data you will see that 50% of the
characters in the dictionary are used in less than 5% of the cases.
7% are never used, not even accidentally like creating " Apple" from
" Apr" and "Implemented".

Bottom line is that the cost is insignificant, the savings are
insignificant, but the maintenance is an issue.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 09:29: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 D956421F85F6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:29: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a6sxOBn5+tMq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:29:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 66F5921F85CC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 09:29:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se7Uj-0007zW-J8 for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:29:33 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1Se7UZ-0007ya-7Y for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:29:23 +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 1Se7UQ-0004Wj-GO for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:29:21 +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 q5BGSktZ018134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 11 Jun 2012 16:28:46 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: "Mike Belshe" <mike@belshe.com>
Cc: "Roberto Peon" <grmocg@gmail.com>, ietf-http-wg@w3.org
References: <op.wfjd0s2diw9drz@riaa> <CAP+FsNfD3=OYibM8hZOWAB8qxmnO7K=e4=JK+BV50P8y7sDZ6A@mail.gmail.com> <op.wfler3eyiw9drz@riaa> <CABaLYCtMbCcFMDzJxcHQs49f5iAtL7=hR-b51tvXx=nW=HBNFQ@mail.gmail.com>
Date: Mon, 11 Jun 2012 18:28:45 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wfqyp7hziw9drz@riaa>
In-Reply-To: <CABaLYCtMbCcFMDzJxcHQs49f5iAtL7=hR-b51tvXx=nW=HBNFQ@mail.gmail.com>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Se7UQ-0004Wj-GO c6d5e34a46c2f972b8ff80a4385b2264
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/op.wfqyp7hziw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13734
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se7Uj-0007zW-J8@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:29:33 +0000

On Sat, 09 Jun 2012 19:03:32 +0200, Mike Belshe <mike@belshe.com> wrote:

>
> I'd be interested to hear if Opera would ever open-source these protocols
> and any reasons for why or why not that Opera would be willing to  
> disclose.
>

We do not have any such plans at the moment.

>
> I feel like we're getting caught up in noise here; looking at single  
> block
> compression is uninteresting.  In real world cases, with repeated cookie
> blocks, the algorithm does great, at over 85% compression.  We can do
> incrementally better and I'm not opposed to that.  But the use of the
> dictionary or not is trivial and doesn't matter in the overall picture.
>
> Is there something else you wanted to propose?
>

I'm more than happy to answer any questions I can. We'll try to think of  
how we can best help improving SPDY from this point forward.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 09:32: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 6762C21F8644 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:32: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n6xaL2hs3DWM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:32:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C270E21F85CD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 09:32:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se7Wv-0001Jv-74 for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:31:49 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1Se7Wk-0001IK-PL for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:31:38 +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 1Se7WP-0004by-T3 for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:31: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 q5BGUk0g018765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 16:30:46 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com> <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com> <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com> <4FD616C3.3050200@gmx.de>
Date: Mon, 11 Jun 2012 18:30:45 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wfqytjr8iw9drz@riaa>
In-Reply-To: <4FD616C3.3050200@gmx.de>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Se7WP-0004by-T3 e604b6b32a5801296153b1668bccf21f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/op.wfqytjr8iw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13735
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se7Wv-0001Jv-74@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:31:49 +0000

On Mon, 11 Jun 2012 18:03:15 +0200, Julian Reschke <julian.reschke@gmx.de>  
wrote:

> On 2012-06-11 17:54, James M Snell wrote:
>> I can definitely live with that.. anything that increases the
>> visibility of censorship is not a bad thing.  Looks like status code
>> 427 is open currently.
>> ...
>
> So is 418. In any case, if we go there it should be 451.
>

450 is used by Microsoft for parental control blocking, so it makes sense  
for more than one reason.

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 09:39: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 740B521F85A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:39: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LajKgqrDRFyk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:39:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B496621F848A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 09:39:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se7eB-0003e2-VR for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:39:20 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1Se7e1-0003ce-RW for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:39:09 +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 1Se7dz-00056K-Ae for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:39:08 +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 q5BGce18019948 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 16:38:40 GMT
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
To: ietf-http-wg@w3.org
References: <20120610231757.GA4983@1wt.eu> <CABaLYCsdSSzbbP98dOd_Bbq8uHbryCiW4=7BB=y6tTU_Rz+hgA@mail.gmail.com>
Date: Mon, 11 Jun 2012 18:38:39 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software ASA
Message-ID: <op.wfqy6pxliw9drz@riaa>
In-Reply-To: <CABaLYCsdSSzbbP98dOd_Bbq8uHbryCiW4=7BB=y6tTU_Rz+hgA@mail.gmail.com>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Se7dz-00056K-Ae 64589224795a392038a2843bf4987651
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Significantly reducing headers footprint
Archived-At: <http://www.w3.org/mid/op.wfqy6pxliw9drz@riaa>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13736
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se7eB-0003e2-VR@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:39:19 +0000

On Mon, 11 Jun 2012 16:32:41 +0200, Mike Belshe <mike@belshe.com> wrote:

> This is good work, Willy.
>
> Any perf results on how much this will impact the user?  Given the  
> stateful
> nature of gzip already in use, I'm betting this has almost no impact for
> most users?
>

Gzip works better on text files than binary files, at least for small  
messages where transferring a custom huffman table creates a big relative  
overhead, so doing things binary doesn't have to be better. If you start  
doing unaligned bits it gets really bad, as gzip works on byte level (c.f.  
flash files). You can of course try to construct your binary format so  
that it looks ASCII-ish for all common values...

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 09:47: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 7439621F863E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:47:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.028
X-Spam-Level: 
X-Spam-Status: No, score=-10.028 tagged_above=-999 required=5 tests=[AWL=0.571, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o4UQnjdrRp7B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 09:47:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DD45221F85F6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 09:47:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se7ks-0006EW-C3 for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:46:14 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Se7kh-000667-I7 for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:46:03 +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 1Se7kZ-0005MO-JW for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:45:56 +0000
Received: (qmail invoked by alias); 11 Jun 2012 16:45:29 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp019) with SMTP; 11 Jun 2012 18:45:29 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/qH119XFvqy73VsH815YuXfKTawajyk20ycJAnY6 ENj/ppuSVr+soP
Message-ID: <4FD620A8.3080706@gmx.de>
Date: Mon, 11 Jun 2012 18:45:28 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Martin Nilsson <nilsson@opera.com>
CC: ietf-http-wg@w3.org
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com> <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com> <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com> <4FD616C3.3050200@gmx.de> <op.wfqytjr8iw9drz@riaa>
In-Reply-To: <op.wfqytjr8iw9drz@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Se7kZ-0005MO-JW 9a71fb2e6afbc72cafe0a4f2e8dc4bac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/4FD620A8.3080706@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13737
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se7ks-0006EW-C3@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:46:14 +0000

On 2012-06-11 18:30, Martin Nilsson wrote:
> On Mon, 11 Jun 2012 18:03:15 +0200, Julian Reschke
> <julian.reschke@gmx.de> wrote:
>
>> On 2012-06-11 17:54, James M Snell wrote:
>>> I can definitely live with that.. anything that increases the
>>> visibility of censorship is not a bad thing.  Looks like status code
>>> 427 is open currently.
>>> ...
>>
>> So is 418. In any case, if we go there it should be 451.
>>
>
> 450 is used by Microsoft for parental control blocking, so it makes
> sense for more than one reason.

Good to know.

Friends @MSFT: how about writing a spec?

Best regards, Julian




From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 10:00: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 9B15C21F8569 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 10:00:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.124
X-Spam-Level: 
X-Spam-Status: No, score=-8.124 tagged_above=-999 required=5 tests=[AWL=2.475, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lAZsDe3rw3bo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 10:00:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 11C7021F8526 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 10:00:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se7wq-00083u-Pr for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:58:36 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <cabo@tzi.org>) id 1Se7wc-00082w-AS for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:58:22 +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 1Se7wZ-0005o1-Ib for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:58:20 +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 q5BGvc5R020447; Mon, 11 Jun 2012 18:57:38 +0200 (CEST)
Received: from [192.168.217.105] (p54899670.dip.t-dialin.net [84.137.150.112]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 872615B; Mon, 11 Jun 2012 18:57:38 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <4FD616C3.3050200@gmx.de>
Date: Mon, 11 Jun 2012 18:57:37 +0200
Cc: James M Snell <jasnell@gmail.com>, Tim Bray <tbray@textuality.com>, Mark Nottingham <mnot@mnot.net>, Karl Dubost <karld@opera.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <46C23AA3-0BF4-4440-82F8-926D258148FC@tzi.org>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com> <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com> <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com> <4FD616C3.3050200@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Se7wZ-0005o1-Ib 4aed75d50d226de1b60925f31979a47c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/46C23AA3-0BF4-4440-82F8-926D258148FC@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13738
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se7wq-00083u-Pr@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:58:36 +0000

On Jun 11, 2012, at 18:03, Julian Reschke wrote:

> if we go there it should be 451

Obvious to anyone skilled in the art.
(But please never document, or write to the list, why :-)

Gr=FC=DFe, Carsten



From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 10:00: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 422FF21F8569 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 10:00:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.799
X-Spam-Level: 
X-Spam-Status: No, score=-9.799 tagged_above=-999 required=5 tests=[AWL=0.800, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ps88zPKE6oIK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 10:00:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3DB9F21F8526 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 10:00:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se7y2-00085U-0G for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 16:59:50 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1Se7xp-00084B-Nq for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 16:59:37 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Se7xm-0005qL-9r for ietf-http-wg@w3.org; Mon, 11 Jun 2012 16:59:35 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q5BGxAQj011425; Mon, 11 Jun 2012 18:59:10 +0200
Date: Mon, 11 Jun 2012 18:59:10 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mike Belshe <mike@belshe.com>
Cc: ietf-http-wg@w3.org
Message-ID: <20120611165910.GB7538@1wt.eu>
References: <20120610231757.GA4983@1wt.eu> <CABaLYCsdSSzbbP98dOd_Bbq8uHbryCiW4=7BB=y6tTU_Rz+hgA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CABaLYCsdSSzbbP98dOd_Bbq8uHbryCiW4=7BB=y6tTU_Rz+hgA@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Se7xm-0005qL-9r 47d44c16fc0f2ba019072a2c484b1789
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Significantly reducing headers footprint
Archived-At: <http://www.w3.org/mid/20120611165910.GB7538@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13739
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se7y2-00085U-0G@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 16:59:50 +0000

Hi Mike,

On Mon, Jun 11, 2012 at 07:32:41AM -0700, Mike Belshe wrote:
> This is good work, Willy.

Thanks.

> Any perf results on how much this will impact the user?  Given the stateful
> nature of gzip already in use, I'm betting this has almost no impact for
> most users?

No, I don't have numbers. All I can say is that on one core of my core2 3 GHz, 
I could compress around 70k requests per second with the PoC code, so the
CPU cost even at 100 req/s will be extremely low. Also, the compression
ratio was quite high (12.7x, 92%) even with the currently limited set of
features, so I'm quite confident that the impact on upstream will be a
significant gain. For instance, the original 132 kB of requests were around
90 MSS, which represent a significant number of RTTs. The resulting 10kB are
7 MSS, which can be sent at once with the default INITCWND 10. I'd be pleased
if I could put my hands on large amounts of reassembled requests streams.
It's something much more difficult to get than I initially believed. And
I'm not a browser developer, I'd really now know where to start from to
make a PoC with a real browser.

> There is a tradeoff; completely custom compression will introduce more
> interop issues.  Registries of "well known headers" are notoriously painful
> to maintain and keep versioned.

I agree. But some are clearly protocol elements. Basically everything
that is described in the spec could have its number. We have a syntax
for If-Modified-Since, we can have a number too.

> >  - User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; fr;
> > rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
> >    => Well, this one is only sent once over the connection, but we could
> >       reduce this further by using a registery of known vendors/products
> >       and incite vendors to emit just a few bytes (vendor/product/version).
> 
> I don't think the compressor should be learning about vendor-specific
> information.  This gives advantages to certain browser incumbents and is
> unfair to startups.  We absolutely MUST NOT give advantages to the current
> popular browsers.

I'm with you on this, but I was not speaking about making the compressor
aware of the numbers (I probably was not clear on this, it was late). I'd
rather have vendors register IDs and choose to advertise them instead of
the current text. An 1.1 -> 2.0 gateway would just pass along what is above,
as my PoC code did. For instance, the UA above could be advertised by the
browser as 0x0002:0x0306:0xC (just 5 bytes). There could be an experimental
range as you have on USB/PCI/Ethernet so that new users are not disadvantaged.

> >    => With better request reordering, we could have this :
> >
> >       11 Accept: */*
> >      109 Accept: image/png,image/*;q=0.8,*/*;q=0.5
> >        4 Accept: text/css,*/*;q=0.1
> >        3 Accept:
> > text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> >
> 
> As long as the browser uses the same accept header from request to request
> (which it generally does), this compresses to almost zero after the first
> header block.

Indeed, this was more a note about things that can be improved upstream,
where the requests are originated.

> >  - Cache-Control: max-age=0
> >    => I suspect the user hit the Refresh button, this was present in about
> >       half the requests. Anyway, this raises the question of the length it
> >       requires for something which is just a boolean here ("ignore cache").
> >       Probably that a client has very few Cache-Control header values to
> >       send, and that reducing this to a smaller set would be beneficial.
> >
> 
> Trying to change the motivation or semantics of headers is a large
> endeavor....  Not sure if the compression of the bits is the right
> motivation for doing so.

The compression clearly does not gain much from this. In fact it's more
that I noticed it in the compressed stream, and it made me realize that
improving semantincs in 2.0 could improve reliability and interoperability.
I've seen many times users sending "maxage=0" or "max-age:0", which are
not supposed to be the correct form. In fact what they want is simply to
ignore cached contents.

> >  - Cookie: xtvrn=$OaiJty$; xtan327981=c; xtant327981=c; has_js=c;
> > __utma=KBjWnx24Q.7qFKqmB7v.i0JDH91L_R.0kU2W1uL49.JM4KtFLV0b.C;
> > __utmc=Rae9ZgQHz;
> > __utmz=NRSZOcCWV.d5MlK5RJsi.-.f.N8J73w=S1SLuT_j0m.O8|VsIxwE=(jHw58obb)|r9SgsT=WQfZe8jr|pFSZGH=/@/qwDyMw3I;
> > __gads=td=ASP_D5ml4Ebevrej:R=pvxltafqZK:x=E4FUn3YiNldW3rhxzX6YlCptZp8zF-b5qc;
> > _chartbeat2=oQvb8k_G9tduhauf.LqOukjnlaaE7K.uDBaR79E1WT4t.Kr9L_lIrOtruE8;
> > __qca=LC9oiRpFSWShYlxUtD37GJ2k8AL; __utmb=vG8UMEjrz.Qf.At.pXD61lUeHZ;
> > pm8196_1=c; pm8194_1=c
> >
> >    => amazingly, this one compresses extremely well with the above scheme,
> >       because additions are performed at the end so consecutive cookies
> > keep
> >       a lot in common, and changes are not too frequent. However, given the
> >       omnipresent usage of cookies, I was wondering why we should not
> > create
> >       a new entity of its own for the cookies instead of abusing the Cookie
> >       header. It would make it a lot easier for both ends to find what they
> >       need. For instance, a load balancer just needs to find a server name
> >       in the thing above. What a waste of on-wire bits and of CPU cycles !
> >
> > BTW, binary encoding would probably also help addressing a request I often
> > hear in banking environments : the need to sign/encrypt/compress only
> > certain
> > headers or cookies. Right now when people do this, they have to
> > base64-encode
> > the result, which is another transformation at both ends and inflates the
> > data. If we make provisions in the protocol for announcing encrypted or
> > compressed headers using 2-3 bits, it might become more usable. I'm not
> > convinced it provides any benefit between a browser and an origin server
> > though. So maybe it will remain application-specific and the transport
> > just has to make it easier to emit 8-bit data in header field values.
> >
> 
> Happens all the time, yes.  Just make sure that HTTP2 -> HTTP1.1 definition
> is preserved so that gateways still work.

In fact I'd say that we have to make provisions for those gateways to reliably
encode bytes that cannot be represented in 1.1, and have the conversion back.
This is a bit tricky, might look a bit like what happened with quoted-printable
text in mails but certainly can be done a lot easier.

> > Has anyone any opinion on the subject above ? Or ideas about other things
> > that terribly clobber the upstream pipe and that should be fixed in 2.0 ?
> >
> > I hope I'll soon find some time to update our draft to reflect recent
> > updates
> > and findings.
> >
> 
> Again, I think we could spend a lot of time debating the compressor.  And
> with one more registry or one more semantic header change from HTTP, there
> will always be one more bit to compress out.  But these are, IMHO, already
> diminishing returns for performance.  I hope we'll all focus on the more
> important parts of the protocol (flow control, security, 1.x to 2.x
> upgrades, etc) than compression.

Totally agreed. In fact I feel a bit frustrated to be working on this because
I know there are a lot of other aspects. But I wanted to ensure that we could
squeeze enough bytes of the stream impacting the end user in a way that would
be cheaper to process than gzip for intermediaries.

On the other hand, I'm perfectly fine with the way you process streams and
flow control in SPDY, which is another reason why I have no motivation for
working on it too. Upgrades and gatewaying are other very important points
that still need some work.

Thanks for your comments, Mike !

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 10:05: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 50CCC21F8645 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 10:05:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.066
X-Spam-Level: 
X-Spam-Status: No, score=-10.066 tagged_above=-999 required=5 tests=[AWL=0.533, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pndARzJLmQpY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 10:05:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BA9CD21F863D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 10:05:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se83T-0002HU-4m for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 17:05:27 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1Se83I-0002Cj-Gm for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 17:05:16 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Se82u-00066i-CE for ietf-http-wg@w3.org; Mon, 11 Jun 2012 17:05:04 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q5BH47dJ011443; Mon, 11 Jun 2012 19:04:07 +0200
Date: Mon, 11 Jun 2012 19:04:07 +0200
From: Willy Tarreau <w@1wt.eu>
To: Martin Nilsson <nilsson@opera.com>
Cc: ietf-http-wg@w3.org
Message-ID: <20120611170407.GC7538@1wt.eu>
References: <20120610231757.GA4983@1wt.eu> <CABaLYCsdSSzbbP98dOd_Bbq8uHbryCiW4=7BB=y6tTU_Rz+hgA@mail.gmail.com> <op.wfqy6pxliw9drz@riaa>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <op.wfqy6pxliw9drz@riaa>
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Se82u-00066i-CE a32a7be08eb9ee9cb067d08bdeb165f0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Significantly reducing headers footprint
Archived-At: <http://www.w3.org/mid/20120611170407.GC7538@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13740
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se83T-0002HU-4m@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 17:05:27 +0000

Hi Martin,

On Mon, Jun 11, 2012 at 06:38:39PM +0200, Martin Nilsson wrote:
> On Mon, 11 Jun 2012 16:32:41 +0200, Mike Belshe <mike@belshe.com> wrote:
> 
> >This is good work, Willy.
> >
> >Any perf results on how much this will impact the user?  Given the  
> >stateful
> >nature of gzip already in use, I'm betting this has almost no impact for
> >most users?
> >
> 
> Gzip works better on text files than binary files, at least for small  
> messages where transferring a custom huffman table creates a big relative  
> overhead, so doing things binary doesn't have to be better. If you start  
> doing unaligned bits it gets really bad, as gzip works on byte level (c.f.  
> flash files). You can of course try to construct your binary format so  
> that it looks ASCII-ish for all common values...

It's not totally true in fact. Gzip offers nice savings here, but the main
issue I'm having is that by compressing the full requests, we still present
a complete request to the recipient, which has to process it as a whole. This
basically means decompressing then parsing all the cookies etc... While
doing so over HTTP/1.1 probably is the most natural thing to do, I think
that we can improve the 2.0 design to avoid having to do this in the first
place.

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 10:25: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 E73E821F85B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 10:25: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o0wsR44cy2Hp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 10:25:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4089021F85A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 10:25:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se8Ln-0007SJ-62 for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 17:24:23 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <JSullivan@velocix.com>) id 1Se8Lb-0007RS-RB for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 17:24:11 +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 <JSullivan@velocix.com>) id 1Se8LZ-0006ij-6B for ietf-http-wg@w3.org; Mon, 11 Jun 2012 17:24:10 +0000
Received: from orthrus.eng.velocix.com (172.18.32.42) by exccam.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Mon, 11 Jun 2012 18:23:42 +0100
Message-ID: <4FD6299D.30604@velocix.com>
Date: Mon, 11 Jun 2012 18:23:41 +0100
From: John Sullivan <jsullivan@velocix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: James M Snell <jasnell@gmail.com>, Tim Bray <tbray@textuality.com>, <ietf-http-wg@w3.org>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net>
In-Reply-To: <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.18.32.42]
Received-SPF: none client-ip=81.134.152.10; envelope-from=JSullivan@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Se8LZ-0006ij-6B 736cd1cae7ca07930d1b832c7122e8f8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/4FD6299D.30604@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13741
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se8Ln-0007SJ-62@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 17:24:23 +0000

Mark Nottingham wrote:
> 4xx status codes indicate that the problem is at the client; 5xx
> indicates that the error is at the server.

While that appears to be true, I think this is a case where
ambiguity of the English language is colouring the technical side
of things. (I saw the /. discussion and saw many people making the
same argument for a 5xx code, and that's before you get to the ones
arguing for [6-9]xx codes or 4-digit codes(?!) or worse...)

Take the case of an origin server returning a 403 error: the
client has very likely made a request that is indistinguishable
from a valid request, yet the server alone has decided not to
satisfy it. I don't think this means that 403 should in fact have
been specified as a 5xx error!

To me the crucial difference between the two classes is what
resolution action a user-agent can take. For a 4xx code, the
client must change some aspect of the request if it is to expect
to proceed past the error. Some 4xx codes are suggestive of
specific resolutions (such as 401, or even 406); ones where the
client has no specific intelligence are not going to be
automatically resolvable but the basic premise stands.

For 5xx codes the client can have a reasonable expectation that
at some future time (which might be days or weeks if a collapsed
server needs rebooting!) the exact same request might not receive
an error. (Err. Without changing the underlying resource. Of
course "normal" 403s can be resolved with chmod, and 404 by
uploading the necessary file. That's different.)

(I think there's a stronger argument that 501 and 505 should have
been made 4xx errors, but it's Too Late Now.)

I don't think the above is new, I think it's generally understood
in practice, but I've seen this misconception often enough that
it might be worth saying so in the two heading sections in httpbis.

> [...]
> However, it'd need to get deployed. Since the primary objective
> of such a status code seems to be to raise the visibility of
> censorship, thereby (presumably) causing some reaction against it,
> it seems unlikely that it'll happen in places where there's strong
> oversight of whoever is deploying it.

It doesn't *have* to be deployed. It doesn't even *have* to be
standardised, really. Today, any unknown 4xx code is going to
invoke pretty much the same (and probably correct) client behaviour,
and as you noted, 403 is perfectly sensible here.

Using a non-403 code is a choice made by intermediaries that wish
to be transparent about what they are doing. And in that case,
reserving a code *might* be useful to avoid clashing with any future
standard code that suggests specific resolution actions that are
clearly not appropriate in this instance. People are already using
various different custom non-standardised codes for this and related
things though.

John
-- 


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 11:15: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 4CFBC21F845B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 11:15: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G+KOQzq-hVF4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 11:15:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A323221F8453 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 11:15:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se97T-000137-Lu for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 18:13:39 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1Se97E-000125-TD for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 18:13:24 +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 1Se97B-0000Uv-Sb for ietf-http-wg@w3.org; Mon, 11 Jun 2012 18:13:22 +0000
Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 73B2713F44; Mon, 11 Jun 2012 18:13:00 +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 q5BICxTv002233; Mon, 11 Jun 2012 18:12:59 GMT (envelope-from phk@phk.freebsd.dk)
To: "Martin Nilsson" <nilsson@opera.com>
cc: "Mike Belshe" <mike@belshe.com>, "Roberto Peon" <grmocg@gmail.com>, ietf-http-wg@w3.org
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Mon, 11 Jun 2012 18:27:01 +0200." <op.wfqynbqbiw9drz@riaa>
Content-Type: text/plain; charset=ISO-8859-1
Date: Mon, 11 Jun 2012 18:12:59 +0000
Message-ID: <2232.1339438379@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=-0.0
X-W3C-Hub-Spam-Report: BAYES_20=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Se97B-0000Uv-Sb 6364f5f329766df25692331e77cf4218
X-Original-To: ietf-http-wg@w3.org
Subject: Re: SPDY Review
Archived-At: <http://www.w3.org/mid/2232.1339438379@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13742
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se97T-000137-Lu@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 18:13:39 +0000

In message <op.wfqynbqbiw9drz@riaa>, "Martin Nilsson" writes:

>Bottom line is that the cost is insignificant, the savings are
>insignificant, but the maintenance is an issue.

...and more importantly: LZ is a horrible compression to deal with
in hardware based designs, compared to pretty much anything else
in the entire realm of compression...

-- 
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  Mon Jun 11 11: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 BBC0721F8625 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 11: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mRA5lWjk5TXC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 11:52:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D364B21F8617 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 11:52:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Se9i1-0001p1-Hm for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 18:51:25 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <pmcmanus@mozilla.com>) id 1Se9hq-0001ni-2E for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 18:51:14 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1Se9hn-0002Wh-KN for ietf-http-wg@w3.org; Mon, 11 Jun 2012 18:51:12 +0000
Received: from [192.168.1.7] (cpe-67-249-82-140.twcny.res.rr.com [67.249.82.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id 4B7AF101B4 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 14:51:11 -0400 (EDT)
Message-ID: <4FD63E05.5060707@mozilla.com>
Date: Mon, 11 Jun 2012 14:50:45 -0400
From: patrick mcmanus <pmcmanus@mozilla.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120610231757.GA4983@1wt.eu> <CAP+FsNeqeihCZbbDG3mO55M9wEVEuFixGfrdPQ8jkSgSmjzN3A@mail.gmail.com> <20120611091636.GA7538@1wt.eu>
In-Reply-To: <20120611091636.GA7538@1wt.eu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1Se9hn-0002Wh-KN 8fa28a8e8426f5d6a4949058e43f4435
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Significantly reducing headers footprint
Archived-At: <http://www.w3.org/mid/4FD63E05.5060707@mozilla.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13743
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Se9i1-0001p1-Hm@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 18:51:25 +0000

On 6/11/2012 5:16 AM, Willy Tarreau wrote:
> On Sun, Jun 10, 2012 at 04:39:37PM -0700, Roberto Peon wrote:
>     =>  With better request reordering, we could have this :
>
>        11 Accept: */*
>       109 Accept: image/png,image/*;q=0.8,*/*;q=0.5
>         4 Accept: text/css,*/*;q=0.1
>         3 Accept:
> text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
>
>> Achieving this seems difficult? How would we get a reording to occur in a
>> reasonable manner?
> I don't think it's that difficult, but I'm not a browser developer and I'm
> sure they're facing a huge amount of complex issues. For instance, maybe
> it's not always possible to fetch all images at a time, or to fetch css
> first then images. I must say I don't know :-/
>

reordering adds latency in order to discover the full set of things that 
should be reordered when you're doing streamed parsing. This is a 
situation SPDY actually improves - in HTTP/1 you might not send a 
resource request as soon as you discover it (adding latency) in order to 
speculatively preserve bandwidth for resources you hope will be 
discovered "soon".. in spdy you can just send them all asap with 
appropriate priorities attached to manage the bandwidth - reintroducing 
a motivation for queuing is undesirable imo.

So this seems like an un-necessary constraint to solve a situation that 
gzip windows already effectively address.





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 13: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 E5F4421F848B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 13:12:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level: 
X-Spam-Status: No, score=-9.599 tagged_above=-999 required=5 tests=[AWL=1.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L4xj8U-yxa+q for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 13:12:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0563A21F8484 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 13:12:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeAyA-00019B-Gy for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 20:12:10 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SeAy0-00018K-7M for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 20:12:00 +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 1SeAxw-0005a6-TD for ietf-http-wg@w3.org; Mon, 11 Jun 2012 20:11:58 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id EB43950A5D; Mon, 11 Jun 2012 16:11:33 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAHBU6iuAKjKa9Se5i8PsQxyBfakQTqZkPB2=52kA9kMjiU5qaw@mail.gmail.com>
Date: Tue, 12 Jun 2012 06:11:29 +1000
Cc: "Musatov, Martin - CW" <Martin.Musatov@bestbuy.com>, Julian Reschke <julian.reschke@gmx.de>, James M Snell <jasnell@gmail.com>, Karl Dubost <karld@opera.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <C7C50692-5F1A-4AF8-90A6-A4EB9751964C@mnot.net>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com> <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com> <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com> <4FD616C3.3050200@gmx.de> <1A861E6970A91447BBC0BD2021F75320029BD04F@SN2PRD0610MB371.namprd06.prod.outlook.com> <CAHBU6iuAKjKa9Se5i8PsQxyBfakQTqZkPB2=52kA9kMjiU5qaw@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SeAxw-0005a6-TD f1a92e5869b533c3d2e123ed5add6255
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/C7C50692-5F1A-4AF8-90A6-A4EB9751964C@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13745
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeAyA-00019B-Gy@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 20:12:10 +0000

Sure, but as discussed, how does some appropriate HTML not fit the job?


On 12/06/2012, at 2:12 AM, Tim Bray wrote:

> None. But when some ISP or search engine gets a court order saying =
=93You are forbidden to link to {The Pirate Bay|Anonymous|whatever}, =
they have a strong incentive to be transparent about it. Now in some =
countries, the censors will also pass a law saying it=92s forbidden to =
disclose the censorship; but thankfully, not all. -T
>=20
> On Mon, Jun 11, 2012 at 9:10 AM, Musatov, Martin - CW =
<Martin.Musatov@bestbuy.com> wrote:
>=20
>=20
> -----Original Message-----
> From: Julian Reschke [mailto:julian.reschke@gmx.de]
> Sent: Monday, June 11, 2012 11:03 AM
> To: James M Snell
> Cc: Tim Bray; Mark Nottingham; Karl Dubost; ietf-http-wg@w3.org
> Subject: Re: Status code for censorship?
>=20
> On 2012-06-11 17:54, James M Snell wrote:
> > I can definitely live with that.. anything that increases the
> > visibility of censorship is not a bad thing.
>=20
> Yes, but what incentives are there for censors to comply with its use?
> Martin
>=20
> Looks like status code
> > 427 is open currently.
> > ...
>=20
> So is 418. In any case, if we go there it should be 451.
>=20
> Best regards, Julian
>=20
> PS: and I do agree with Mark that it's unlikely that it'll be tricky =
to get something standardized that might give the impression that =
censorship is ok.
>=20
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 13: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 EF89C21F848F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 13:12:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.71
X-Spam-Level: 
X-Spam-Status: No, score=-9.71 tagged_above=-999 required=5 tests=[AWL=0.889, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R7oHlJppyKLQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 13:12:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3A6F221F848A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 13:12:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeAxO-000134-Os for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 20:11:22 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SeAww-000124-Si for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 20:10:54 +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 1SeAwp-0005XN-3L for ietf-http-wg@w3.org; Mon, 11 Jun 2012 20:10:52 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 1D1C750A72; Mon, 11 Jun 2012 16:10:23 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com>
Date: Tue, 12 Jun 2012 06:10:18 +1000
Cc: Karl Dubost <karld@opera.com>, Tim Bray <tbray@textuality.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <9D288E61-3E16-45FD-B259-46DBBC888856@mnot.net>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com>
To: James M Snell <jasnell@gmail.com>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SeAwp-0005XN-3L b71a6580335056e72b01806039091baf
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Status code for censorship?
Archived-At: <http://www.w3.org/mid/9D288E61-3E16-45FD-B259-46DBBC888856@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13744
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeAxO-000134-Os@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 20:11:22 +0000

On 12/06/2012, at 1:27 AM, James M Snell wrote:

> On Mon, Jun 11, 2012 at 4:09 AM, Mark Nottingham <mnot@mnot.net> =
wrote:
>> [snip]
>>> Censorship happens sometimes in other states through decision of =
laws and/or regulations. For example, a network in a corporate =
environment blocking certain sites through proxy (such as social =
networks). A library blocking some sites through proxy to other users. =
In these cases, the organization in charge of it might want to advertise =
it for reasons which seem perfectly legible to them.
>>=20
>> Yes. However, as discussed, current status codes can be used for =
this, and the HTML will explain what's going on. The one remaining =
motivation that I can see would be a similar situation that got us 511; =
non-browser devices that get confused by what's going on. However, since =
this isn't a redirect, but just a refusal, it's less of an issue, =
practically.
>>=20
>=20
> True, however, with 511, there is a distinct practical action that the
> user-agent can take in response to the specific code... namely,
> authenticating with the network prior to retrying the request. There
> is no such clear response action with this.

That's pretty much what I was saying. Refusal doesn't have a follow-on =
action.



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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 13:28: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 2C89B21F8595 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 13:28:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.446
X-Spam-Level: 
X-Spam-Status: No, score=-7.446 tagged_above=-999 required=5 tests=[AWL=0.020, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v1dIaJK3NkJx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 13:28:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7FCE021F856D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 13:28:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeBCA-0004KY-DE for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 20:26:38 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <prvs=5021fe135=Martin.Musatov@bestbuy.com>) id 1SeBBy-0004Jh-J6 for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 20:26:26 +0000
Received: from dsp2xmail.bestbuy.com ([198.22.123.158]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <prvs=5021fe135=Martin.Musatov@bestbuy.com>) id 1SeBBp-0006uk-Qb for ietf-http-wg@w3.org; Mon, 11 Jun 2012 20:26:24 +0000
Received: from unknown (HELO DSP50MAIL.na.bestbuy.com) ([168.94.110.140]) by dsp2xmail.bestbuy.com with ESMTP/TLS/AES128-SHA; 11 Jun 2012 15:18:35 -0500
Received: from am1outboundpool.messaging.microsoft.com (213.199.154.204) by mail10.bestbuy.com (168.94.110.140) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 11 Jun 2012 15:25:27 -0500
Received: from mail30-am1-R.bigfish.com (10.3.201.245) by AM1EHSOBE004.bigfish.com (10.3.204.24) with Microsoft SMTP Server id 14.1.225.23; Mon, 11 Jun 2012 20:24:25 +0000
Received: from mail30-am1 (localhost [127.0.0.1])	by mail30-am1-R.bigfish.com (Postfix) with ESMTP id 7C8454603AA	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Mon, 11 Jun 2012 20:24:25 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.234.133;KIP:(null);UIP:(null);(null);H:SN2PRD0610HT005.namprd06.prod.outlook.com;R:internal;EFV:INT
X-SpamScore: -8
X-BigFish: PS-8(zz98dI9371I936eIc85fh542Mzz1202hzz8275bh8275dhz31h2a8h668h839hd25hf0ah)
Received-SPF: softfail (mail30-am1: transitioning domain of bestbuy.com does not designate 157.56.234.133 as permitted sender) client-ip=157.56.234.133; envelope-from=Martin.Musatov@bestbuy.com; helo=SN2PRD0610HT005.namprd06.prod.outlook.com ;.outlook.com ;
Received: from mail30-am1 (localhost.localdomain [127.0.0.1]) by mail30-am1 (MessageSwitch) id 1339446263930724_26132; Mon, 11 Jun 2012 20:24:23 +0000 (UTC)
Received: from AM1EHSMHS003.bigfish.com (unknown [10.3.201.230])	by mail30-am1.bigfish.com (Postfix) with ESMTP id D722F440048;	Mon, 11 Jun 2012 20:24:23 +0000 (UTC)
Received: from SN2PRD0610HT005.namprd06.prod.outlook.com (157.56.234.133) by AM1EHSMHS003.bigfish.com (10.3.207.103) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 11 Jun 2012 20:24:22 +0000
Received: from SN2PRD0610MB371.namprd06.prod.outlook.com ([169.254.3.123]) by SN2PRD0610HT005.namprd06.prod.outlook.com ([10.255.117.40]) with mapi id 14.16.0164.004; Mon, 11 Jun 2012 20:25:21 +0000
From: "Musatov, Martin - CW" <Martin.Musatov@bestbuy.com>
To: Tim Bray <tbray@textuality.com>
CC: Julian Reschke <julian.reschke@gmx.de>, James M Snell <jasnell@gmail.com>, Mark Nottingham <mnot@mnot.net>, Karl Dubost <karld@opera.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Status code for censorship?
Thread-Index: AQHNRscf+SHFEjQVTE6sRYP4bs1im5bz5n+AgABLH4CAAMIPgIAABBmAgABH+gCAAAOKAIAABBkAgAACeYCAAAGKIIAAAQqAgABEtNA=
Date: Mon, 11 Jun 2012 20:25:21 +0000
Message-ID: <1A861E6970A91447BBC0BD2021F75320029BDFF4@SN2PRD0610MB371.namprd06.prod.outlook.com>
References: <CAHBU6iuzYBHYewxk_N=-_iu-f6TcON9CvcdyWTm-HeRNGCZXbA@mail.gmail.com> <CABP7RbfKvqYmXUavFKacSAHCJnugx2fjCewC=yiAMWwYi1Tk6g@mail.gmail.com> <75F31997-D30E-467B-8D2F-EC429F9EBC03@mnot.net> <EEBAB7F3-57A5-4B2F-9492-645E5F9F31A1@opera.com> <11A618A3-7906-4619-BC63-438D564DB328@mnot.net> <CABP7RbfOAc3bgew8Lnkz7Raw4JEmanD423m7h4_KHrstbS3XTA@mail.gmail.com> <CAHBU6iu+J9D_x710J2R2u3zwoxqJd92AsFzcE7wSce4+hKE0uQ@mail.gmail.com> <CABP7Rbdu+_+d-87nKR5_joF==_365skEMp5mtL3Ys9RQQ3h-2Q@mail.gmail.com> <4FD616C3.3050200@gmx.de> <1A861E6970A91447BBC0BD2021F75320029BD04F@SN2PRD0610MB371.namprd06.prod.outlook.com> <CAHBU6iuAKjKa9Se5i8PsQxyBfakQTqZkPB2=52kA9kMjiU5qaw@mail.gmail.com>
In-Reply-To: <CAHBU6iuAKjKa9Se5i8PsQxyBfakQTqZkPB2=52kA9kMjiU5qaw@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [168.94.245.7]
Content-Type: multipart/alternative; boundary="_000_1A861E6970A91447BBC0BD2021F75320029BDFF4SN2PRD0610MB371_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0610HT005.namprd06.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%8463$Dn%TEXTUALITY.COM$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%GMX.DE$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%GMAIL.COM$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%MNOT.NET$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%OPERA.COM$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%W3.ORG$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-OriginatorOrg: BestBuy.com
X-CrossPremisesHeadersPromoted: DSP50MAIL.na.bestbuy.com
X-CrossPremisesHeadersFiltered: DSP50MAIL.na.bestbuy.com
Received-SPF: pass client-ip=198.22.123.158; envelope-from=prvs=5021fe135=Martin.Musatov@bestbuy.com; helo=dsp2xmail.bestbuy.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1SeBBp-0006uk-Qb 394ada48f51d5864100768c73544f4b5
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Status code for censorship?
Archived-At: <http://www.w3.org/mid/1A861E6970A91447BBC0BD2021F75320029BDFF4@SN2PRD0610MB371.namprd06.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13746
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeBCA-0004KY-DE@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 20:26:38 +0000

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

So in the below scenario, would it be something like a visitor to some sear=
ch engine, say Google, searches for a torrent, sees an indexed result, clic=
ks the link and gets a 4xx (meaning censored link)? --MM

From: Tim Bray [mailto:tbray@textuality.com]
Sent: Monday, June 11, 2012 11:12 AM
To: Musatov, Martin - CW
Cc: Julian Reschke; James M Snell; Mark Nottingham; Karl Dubost; ietf-http-=
wg@w3.org
Subject: Re: Status code for censorship?

None. But when some ISP or search engine gets a court order saying "You are=
 forbidden to link to {The Pirate Bay|Anonymous|whatever}, they have a stro=
ng incentive to be transparent about it. Now in some countries, the censors=
 will also pass a law saying it's forbidden to disclose the censorship; but=
 thankfully, not all. -T
On Mon, Jun 11, 2012 at 9:10 AM, Musatov, Martin - CW <Martin.Musatov@bestb=
uy.com<mailto:Martin.Musatov@bestbuy.com>> wrote:


-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de<mailto:julian.reschke@gm=
x.de>]
Sent: Monday, June 11, 2012 11:03 AM
To: James M Snell
Cc: Tim Bray; Mark Nottingham; Karl Dubost; ietf-http-wg@w3.org<mailto:ietf=
-http-wg@w3.org>
Subject: Re: Status code for censorship?
On 2012-06-11 17:54, James M Snell wrote:
> I can definitely live with that.. anything that increases the
> visibility of censorship is not a bad thing.
Yes, but what incentives are there for censors to comply with its use?
Martin

Looks like status code
> 427 is open currently.
> ...

So is 418. In any case, if we go there it should be 451.

Best regards, Julian

PS: and I do agree with Mark that it's unlikely that it'll be tricky to get=
 something standardized that might give the impression that censorship is o=
k.



--_000_1A861E6970A91447BBC0BD2021F75320029BDFF4SN2PRD0610MB371_
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-micr=
osoft-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=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.hoenzb
	{mso-style-name:hoenzb;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
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=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><font size=3D"2" color=3D"#1f497d" face=3D"Calibri">=
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D">So in the below scenario, would it be something =
like a visitor to some search engine, say Google, searches for
 a torrent, sees an indexed result, clicks the link and gets a 4xx (meaning=
 censored link)? --MM<o:p></o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"2" color=3D"#1f497d" face=3D"Calibri">=
<span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-=
serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p>
<p class=3D"MsoNormal"><b><font size=3D"2" face=3D"Tahoma"><span style=3D"f=
ont-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-=
weight:bold">From:</span></font></b><font size=3D"2" face=3D"Tahoma"><span =
style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&q=
uot;"> Tim
 Bray [mailto:tbray@textuality.com] <br>
<b><span style=3D"font-weight:bold">Sent:</span></b> Monday, June 11, 2012 =
11:12 AM<br>
<b><span style=3D"font-weight:bold">To:</span></b> Musatov, Martin - CW<br>
<b><span style=3D"font-weight:bold">Cc:</span></b> Julian Reschke; James M =
Snell; Mark Nottingham; Karl Dubost; ietf-http-wg@w3.org<br>
<b><span style=3D"font-weight:bold">Subject:</span></b> Re: Status code for=
 censorship?<o:p></o:p></span></font></p>
<p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span styl=
e=3D"font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><font size=3D"3" face=
=3D"Times New Roman"><span style=3D"font-size:12.0pt">None. But when some I=
SP or search engine gets a court order saying &#8220;You are forbidden to l=
ink to {The Pirate Bay|Anonymous|whatever}, they
 have a strong incentive to be transparent about it. Now in some countries,=
 the censors will also pass a law saying it&#8217;s forbidden to disclose t=
he censorship; but thankfully, not all. -T<o:p></o:p></span></font></p>
<div>
<p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span styl=
e=3D"font-size:12.0pt">On Mon, Jun 11, 2012 at 9:10 AM, Musatov, Martin - C=
W &lt;<a href=3D"mailto:Martin.Musatov@bestbuy.com" target=3D"_blank">Marti=
n.Musatov@bestbuy.com</a>&gt; wrote:<o:p></o:p></span></font></p>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><font size=3D"3" face=
=3D"Times New Roman"><span style=3D"font-size:12.0pt"><br>
<br>
-----Original Message-----<br>
From: Julian Reschke [mailto:<a href=3D"mailto:julian.reschke@gmx.de">julia=
n.reschke@gmx.de</a>]<br>
Sent: Monday, June 11, 2012 11:03 AM<br>
To: James M Snell<br>
Cc: Tim Bray; Mark Nottingham; Karl Dubost; <a href=3D"mailto:ietf-http-wg@=
w3.org">
ietf-http-wg@w3.org</a><br>
Subject: Re: Status code for censorship?<o:p></o:p></span></font></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><font size=3D"3" face=
=3D"Times New Roman"><span style=3D"font-size:12.0pt">On 2012-06-11 17:54, =
James M Snell wrote:<br>
&gt; I can definitely live with that.. anything that increases the<br>
&gt; visibility of censorship is not a bad thing.<o:p></o:p></span></font><=
/p>
</div>
<p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span styl=
e=3D"font-size:12.0pt">Yes, but what incentives are there for censors to co=
mply with its use?<br>
<span class=3D"hoenzb"><font color=3D"#888888"><span style=3D"color:#888888=
">Martin</span></font></span><o:p></o:p></span></font></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><font size=3D"3" face=
=3D"Times New Roman"><span style=3D"font-size:12.0pt"><br>
Looks like status code<br>
&gt; 427 is open currently.<br>
&gt; ...<br>
<br>
So is 418. In any case, if we go there it should be 451.<br>
<br>
Best regards, Julian<br>
<br>
PS: and I do agree with Mark that it's unlikely that it'll be tricky to get=
 something standardized that might give the impression that censorship is o=
k.<br>
<br>
<o:p></o:p></span></font></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span styl=
e=3D"font-size:12.0pt"><o:p>&nbsp;</o:p></span></font></p>
</div>
</body>
</html>

--_000_1A861E6970A91447BBC0BD2021F75320029BDFF4SN2PRD0610MB371_--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 14:01: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 3512D21F8573 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 14:01:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.799
X-Spam-Level: 
X-Spam-Status: No, score=-9.799 tagged_above=-999 required=5 tests=[AWL=0.800, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zCbOrQklwgvK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 14:01:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 65F8821F8570 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 14:01:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeBi1-0004QM-Fc for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 20:59:33 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SeBhk-0004PO-FK for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 20:59:16 +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 1SeBhh-0008CW-Hc for ietf-http-wg@w3.org; Mon, 11 Jun 2012 20:59:14 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BA84B50A64; Mon, 11 Jun 2012 16:58:51 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD5EFA8.4030007@gmx.de>
Date: Tue, 12 Jun 2012 06:58:46 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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 1SeBhh-0008CW-Hc 754044933ba79dd3efcf00f7e2f57653
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13747
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeBi1-0004QM-Fc@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 20:59:33 +0000

On 11/06/2012, at 11:16 PM, Julian Reschke wrote:

> On 2012-06-11 15:02, Mark Nottingham wrote:
>>=20
>> On 11/06/2012, at 10:51 PM, Julian Reschke wrote:
>>=20
>>> On 2012-06-11 14:44, Mark Nottingham wrote:
>>>> Assuming that the text isn't changing in substance, yes.
>>>>=20
>>>> I think this is verging on editorial; if anyone has concerns about =
this direction, please speak up; otherwise, Julian go ahead.
>>>> ...
>>>=20
>>> It's a bit more than editorial, because it tries to address the =
mismatch between the ABNFs for predefined directives (special-cased), =
and extension directives (token *and* quoted-string).
>>=20
>> Ah.
>>=20
>>>=20
>>> Highlighting these changes:
>>>=20
>>>  Cache directives are identified by a token, to be compared case-
>>>  insensitively, and have an optional argument, that can use both =
token
>>>  and quoted-string syntax.  Recipients MUST accept both forms.
>>=20
>> The MUST is going too far here. I think that individual parameters =
can (and do) constrain the syntax.
>=20
> Well, they should not. It's pointless. Do you expect a parser for =
cache-control to special-case every constraint it knows about? What =
happens with an extension header that has constrained syntax? Some =
parsers will apply the constraint, some won't.
>=20
> It's the same discussion we've had for other fields (say =
WWW-Authenticate, Expect, Prefer, STS, ...); and the answer should be =
the same.
>=20
> We can't change what's out there, but we need to provide guidance how =
to fix these parsers to make them reliable.

If we take this path, we'll be making any cache that doesn't correctly =
parse

  Cache-Control: max-age=3D"5"

non-conformant. I don't think that's a reasonable thing to do; it's not =
improving security or interoperability (our two "major" criteria), only =
library reusability.

I *thought* we'd already discussed this; once I find some coffee, =
perhaps I'll dig in the archives.



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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 14:35: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 8299321F851C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 14:35:15 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gg8cmugHLnpq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 14:35:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D869121F8505 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 14:35:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeCF3-00050j-7N for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 21:33:41 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SeCEs-0004zO-AE for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 21:33:30 +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 1SeCEp-0008Ki-23 for ietf-http-wg@w3.org; Mon, 11 Jun 2012 21:33:28 +0000
Received: (qmail invoked by alias); 11 Jun 2012 21:33:00 -0000
Received: from p54BB3983.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.57.131] by mail.gmx.net (mp037) with SMTP; 11 Jun 2012 23:33:00 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/tSMpgW7TtZPoEq4NmVc/KlVSj1oYMAi8eytfe9u Luq3YTFYPyi5zy
Message-ID: <4FD6640B.7060106@gmx.de>
Date: Mon, 11 Jun 2012 23:32:59 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net>
In-Reply-To: <F8A86631-B78D-44CA-A439-B465973C1B7F@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SeCEp-0008Ki-23 dc69f3b615f70a62d56c39a07d5411d3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD6640B.7060106@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13748
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeCF3-00050j-7N@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 21:33:41 +0000

On 2012-06-11 22:58, Mark Nottingham wrote:
> ...
> If we take this path, we'll be making any cache that doesn't correctly parse
>
>    Cache-Control: max-age="5"
>
> non-conformant. I don't think that's a reasonable thing to do; it's not improving security or interoperability (our two "major" criteria), only library reusability.
>
> I *thought* we'd already discussed this; once I find some coffee, perhaps I'll dig in the archives.
> ...

You are right; this is a case where we should just advise ("ought to"), 
not yell.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 15:12: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 5378C21F8498 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 15:12:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.199
X-Spam-Level: 
X-Spam-Status: No, score=-10.199 tagged_above=-999 required=5 tests=[AWL=0.400, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HdT6RJZVT3Zw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 15:12:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C96B321F847B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 15:12:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeCp5-0007C0-Vk for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 22:10:56 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1SeCop-000790-CJ for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 22:10:39 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SeCom-0001VD-Gj for ietf-http-wg@w3.org; Mon, 11 Jun 2012 22:10:37 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q5BMAB1N013094; Tue, 12 Jun 2012 00:10:11 +0200
Date: Tue, 12 Jun 2012 00:10:11 +0200
From: Willy Tarreau <w@1wt.eu>
To: patrick mcmanus <pmcmanus@mozilla.com>
Cc: ietf-http-wg@w3.org
Message-ID: <20120611221011.GD12823@1wt.eu>
References: <20120610231757.GA4983@1wt.eu> <CAP+FsNeqeihCZbbDG3mO55M9wEVEuFixGfrdPQ8jkSgSmjzN3A@mail.gmail.com> <20120611091636.GA7538@1wt.eu> <4FD63E05.5060707@mozilla.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4FD63E05.5060707@mozilla.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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SeCom-0001VD-Gj 368c1716c465c7ea7537ce83a9ca0cad
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Significantly reducing headers footprint
Archived-At: <http://www.w3.org/mid/20120611221011.GD12823@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13749
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeCp5-0007C0-Vk@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 22:10:55 +0000

Hi Patrick,

On Mon, Jun 11, 2012 at 02:50:45PM -0400, patrick mcmanus wrote:
> On 6/11/2012 5:16 AM, Willy Tarreau wrote:
> >On Sun, Jun 10, 2012 at 04:39:37PM -0700, Roberto Peon wrote:
> >    =>  With better request reordering, we could have this :
> >
> >       11 Accept: */*
> >      109 Accept: image/png,image/*;q=0.8,*/*;q=0.5
> >        4 Accept: text/css,*/*;q=0.1
> >        3 Accept:
> >text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> >
> >>Achieving this seems difficult? How would we get a reording to occur in a
> >>reasonable manner?
> >I don't think it's that difficult, but I'm not a browser developer and I'm
> >sure they're facing a huge amount of complex issues. For instance, maybe
> >it's not always possible to fetch all images at a time, or to fetch css
> >first then images. I must say I don't know :-/
> >
> 
> reordering adds latency in order to discover the full set of things that 
> should be reordered when you're doing streamed parsing.

This is more or less what I was suspecting, but of course it's better
with your explanation !

> This is a 
> situation SPDY actually improves - in HTTP/1 you might not send a 
> resource request as soon as you discover it (adding latency) in order to 
> speculatively preserve bandwidth for resources you hope will be 
> discovered "soon".. in spdy you can just send them all asap with 
> appropriate priorities attached to manage the bandwidth - reintroducing 
> a motivation for queuing is undesirable imo.
> 
> So this seems like an un-necessary constraint to solve a situation that 
> gzip windows already effectively address.

OK thanks for your insights !

Willy



From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 16:51: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 DE70311E80AA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 16:51:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.872
X-Spam-Level: 
X-Spam-Status: No, score=-9.872 tagged_above=-999 required=5 tests=[AWL=0.727, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DbqzfmDEGKML for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 16:51:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4901611E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 16:51:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeEMt-00030S-3L for ietf-http-wg-dist@listhub.w3.org; Mon, 11 Jun 2012 23:49:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SeEMe-0002zb-L0 for ietf-http-wg@listhub.w3.org; Mon, 11 Jun 2012 23:49:40 +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 1SeEMc-0005Br-37 for ietf-http-wg@w3.org; Mon, 11 Jun 2012 23:49:39 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 71FDA509EB for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 19:49:15 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Tue, 12 Jun 2012 09:49:12 +1000
Message-Id: <AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SeEMc-0005Br-37 f6b7610798fc4264c49b15cec4c4cdf0
X-Original-To: ietf-http-wg@w3.org
Subject: Proposing Status Codes
Archived-At: <http://www.w3.org/mid/AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13750
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeEMt-00030S-3L@frink.w3.org>
Resent-Date: Mon, 11 Jun 2012 23:49:55 +0000

One of the things that has bothered me for a while is that status codes =
are a scarce resource, and making a "I have an idea" proposal =
effectively consumes one, at least for a while.

E.g., my proposal for 430 Would Block in draft-nottingham-http-pipeline =
had us using 431 for Request Header Fields Too Large, even though 430 =
might not see the light of day.

I think we might improve this by adding something like:

"""
Proposals for new status codes that are not yet widely deployed SHOULD =
NOT specify a specific code until there is clear consensus to register =
it; instead, early drafts can use notation such as "4xx" to indicate the =
class of the proposed status code, without consuming one prematurely.
"""

to =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-se=
mantics.html#considerations.for.new.status.codes>.

Thoughts?


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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 17:11: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 EC64D21F84FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:11:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.631
X-Spam-Level: 
X-Spam-Status: No, score=-5.631 tagged_above=-999 required=5 tests=[AWL=4.968, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kxTBjDuAuG-A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:11:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6DBF321F83EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 17:11:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeEfU-00060t-LP for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 00:09:08 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1SeEfI-0005yy-Jb for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 00:08:56 +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 1SeEfF-0005j4-HZ for ietf-http-wg@w3.org; Tue, 12 Jun 2012 00:08:54 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 1705EE6F2D; Tue, 12 Jun 2012 12:08:28 +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: Tue, 12 Jun 2012 12:08:28 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net>
References: <AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net>
Message-ID: <ea40c94f304275d2cedb72c5fc71d6da@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SeEfF-0005j4-HZ 7605a6b5f9dfe96bd3c8d833b8590ee9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposing Status Codes
Archived-At: <http://www.w3.org/mid/ea40c94f304275d2cedb72c5fc71d6da@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13751
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeEfU-00060t-LP@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 00:09:08 +0000

On 12.06.2012 11:49, Mark Nottingham wrote:
> One of the things that has bothered me for a while is that status
> codes are a scarce resource, and making a "I have an idea" proposal
> effectively consumes one, at least for a while.
>
> E.g., my proposal for 430 Would Block in
> draft-nottingham-http-pipeline had us using 431 for Request Header
> Fields Too Large, even though 430 might not see the light of day.
>
> I think we might improve this by adding something like:
>
> """
> Proposals for new status codes that are not yet widely deployed
> SHOULD NOT specify a specific code until there is clear consensus to
> register it; instead, early drafts can use notation such as "4xx" to
> indicate the class of the proposed status code, without consuming one
> prematurely.
> """
>
> to
> 
> <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#considerations.for.new.status.codes>.
>
> Thoughts?

Sounds good. Also prevents old drafts lying around consuming numbers.

But, how do early deployments know what to test with for 
interoperability and possible long-term deployments?

AYJ


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 17:17: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 8870821F8559 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:17:00 -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, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cgyuI1QJiHDF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:16:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ADEEF21F8551 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 17:16:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeEmB-0008Bi-7K for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 00:16:03 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1SeEm0-00089T-DH for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 00:15:52 +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 <grmocg@gmail.com>) id 1SeElx-0005vs-59 for ietf-http-wg@w3.org; Tue, 12 Jun 2012 00:15:50 +0000
Received: by wibhn14 with SMTP id hn14so3984685wib.2 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 17:15:22 -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=WGsqMDL33WDuWj7JUZYZBHKEvqG2n8nYTflvihCQ8WY=; b=DvV+MrGi1yH5LmZaJbZx9Ae5rojY5DOk7Tt3wM54Wn7msReeqsu13ZUucCc44h7D1U /H9dZIzpDCiw3H0Y3ACuvsDEpOVfovu4vKOK/PQSXnewCpQmxgLyrebX7+w4lqTMrWHG 95cU5ECbADMJ2CxveiQ2EXgvWdjSv7bsADbXZNCHo0Trv77tLQ5vu6cRAN9PIChqKACt LFQQnXkZBIKc9h9ckmYuoiocZNscesjZztEODctfiMubLfj6S11CHuLFS3JjoFQDm9s+ JfS0lQmFa2dmyvasasaQeDxzLhBYJRvy0Hbzjyv0bVh2Ul2YcnxGLcgNlIkOJFbk0ptg U8Qg==
MIME-Version: 1.0
Received: by 10.216.50.140 with SMTP id z12mr7171362web.11.1339460122346; Mon, 11 Jun 2012 17:15:22 -0700 (PDT)
Received: by 10.194.44.7 with HTTP; Mon, 11 Jun 2012 17:15:22 -0700 (PDT)
In-Reply-To: <ea40c94f304275d2cedb72c5fc71d6da@treenet.co.nz>
References: <AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net> <ea40c94f304275d2cedb72c5fc71d6da@treenet.co.nz>
Date: Mon, 11 Jun 2012 17:15:22 -0700
Message-ID: <CAP+FsNdAHKZ5CdBHLeC_LTCePyLUsdNmry80boQ1o2XRzEeAgg@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=0016e6dbdeecc8869304c23b5c9c
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: maggie.w3.org 1SeElx-0005vs-59 d5b26551cda145c88c13d372e5b53c64
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposing Status Codes
Archived-At: <http://www.w3.org/mid/CAP+FsNdAHKZ5CdBHLeC_LTCePyLUsdNmry80boQ1o2XRzEeAgg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13752
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeEmB-0008Bi-7K@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 00:16:03 +0000

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

I'd hope that early deployment != long-term deployment generally?

-=R

On Mon, Jun 11, 2012 at 5:08 PM, Amos Jeffries <squid3@treenet.co.nz> wrote:

> On 12.06.2012 11:49, Mark Nottingham wrote:
>
>> One of the things that has bothered me for a while is that status
>> codes are a scarce resource, and making a "I have an idea" proposal
>> effectively consumes one, at least for a while.
>>
>> E.g., my proposal for 430 Would Block in
>> draft-nottingham-http-pipeline had us using 431 for Request Header
>> Fields Too Large, even though 430 might not see the light of day.
>>
>> I think we might improve this by adding something like:
>>
>> """
>> Proposals for new status codes that are not yet widely deployed
>> SHOULD NOT specify a specific code until there is clear consensus to
>> register it; instead, early drafts can use notation such as "4xx" to
>> indicate the class of the proposed status code, without consuming one
>> prematurely.
>> """
>>
>> to
>>
>> <https://svn.tools.ietf.org/**svn/wg/httpbis/draft-ietf-**
>> httpbis/latest/p2-semantics.**html#considerations.for.new.**status.codes<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#considerations.for.new.status.codes>
>> >.
>>
>> Thoughts?
>>
>
> Sounds good. Also prevents old drafts lying around consuming numbers.
>
> But, how do early deployments know what to test with for interoperability
> and possible long-term deployments?
>
> AYJ
>
>

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

<br><div>I&#39;d hope that early deployment !=3D long-term deployment gener=
ally?<br></div><div><br></div><div>-=3DR<br><br><div class=3D"gmail_quote">=
On Mon, Jun 11, 2012 at 5:08 PM, Amos Jeffries <span dir=3D"ltr">&lt;<a hre=
f=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 1=
2.06.2012 11:49, Mark Nottingham wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
One of the things that has bothered me for a while is that status<br>
codes are a scarce resource, and making a &quot;I have an idea&quot; propos=
al<br>
effectively consumes one, at least for a while.<br>
<br>
E.g., my proposal for 430 Would Block in<br>
draft-nottingham-http-pipeline had us using 431 for Request Header<br>
Fields Too Large, even though 430 might not see the light of day.<br>
<br>
I think we might improve this by adding something like:<br>
<br>
&quot;&quot;&quot;<br>
Proposals for new status codes that are not yet widely deployed<br>
SHOULD NOT specify a specific code until there is clear consensus to<br>
register it; instead, early drafts can use notation such as &quot;4xx&quot;=
 to<br>
indicate the class of the proposed status code, without consuming one<br>
prematurely.<br>
&quot;&quot;&quot;<br>
<br>
to<br>
<br>
&lt;<a href=3D"https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis=
/latest/p2-semantics.html#considerations.for.new.status.codes" target=3D"_b=
lank">https://svn.tools.ietf.org/<u></u>svn/wg/httpbis/draft-ietf-<u></u>ht=
tpbis/latest/p2-semantics.<u></u>html#considerations.for.new.<u></u>status.=
codes</a>&gt;.<br>

<br>
Thoughts?<br>
</blockquote>
<br></div></div>
Sounds good. Also prevents old drafts lying around consuming numbers.<br>
<br>
But, how do early deployments know what to test with for interoperability a=
nd possible long-term deployments?<br>
<br>
AYJ<br>
<br>
</blockquote></div><br></div>

--0016e6dbdeecc8869304c23b5c9c--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 17:21: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 3B4AB21F8470 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:21:21 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id csPU+trbyr+x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:21:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8525521F846A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 17:21:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeEqK-0000CM-9E for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 00:20:20 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1SeEq6-0000BV-1Q for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 00:20:06 +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 1SeEq3-00087S-6S for ietf-http-wg@w3.org; Tue, 12 Jun 2012 00:20:04 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 38927E6F2D; Tue, 12 Jun 2012 12:19:41 +1200 (NZST)
To: Julian Reschke <julian.reschke@gmx.de>
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, 12 Jun 2012 12:19:40 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
Cc: <ietf-http-wg@w3.org>
In-Reply-To: <4FD5F08D.9040905@gmx.de>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net> <4FD5E04B.2000103@gmx.de> <4FD5ECD8.3000308@treenet.co.nz> <4FD5F08D.9040905@gmx.de>
Message-ID: <b0946f881b8719b2274de137b1e49d79@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=-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 1SeEq3-00087S-6S 44b1b756c523f246da049151033b7cd8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/b0946f881b8719b2274de137b1e49d79@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13753
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeEqK-0000CM-9E@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 00:20:20 +0000

On 12.06.2012 01:20, Julian Reschke wrote:
> On 2012-06-11 15:04, Amos Jeffries wrote:
>> ...
>> * flag parameters can't exactly contradict, so dropping/merging
>> duplicates and treating as one flag would seem okay. (only-if-cached
>> must-revalidate, proxy-ravalidate, no-cache, no-store, no-transform, 
>> etc)
>
> "public" vs "private"?

Okay. Nasty case there.
"public" is specifically linked to the auth systems though isn't it?

  Can we safely assume that "private" on auth responses is invalid and 
that "public" was intended to override it?

  on non-auth responses "public" would seem to be the redundant state, 
and "private" assumed to be the desired behaviour?


>
>> * time-delta parameters (max-age, s-maxage, etc) being conservative 
>> and
>> dropping the larger or equal of the two seems the right handling.
>
> Yes, we could say that.
>
>> * list of tokens ... maybe combine? it is possible one proxy adds
>> no-cache="Foo" and another adds no-cache="Bar" and they both hit 
>> some
>> downstream cache which needs to handle both Foo and Bar properly.
>>    Yes the right thing to do woudl have been no-cache="Foo Bar". But
>> what if that is not done?
>
> Right now we allow
>
>   no-cache="Foo, Bar"
>
> Should
>
>   no-cache="Foo", no-cache="Bar"
>
> be equivalent? (That would be similar with the use of list syntax in
> header fields)

I think so, yes.


Amos


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 17:23: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 ED8ED21F8550 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:23: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04JEClT9RqMT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:23:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3721C21F854D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 17:23:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeEsn-0000KN-5u for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 00:22:53 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1SeEsc-0000Ie-Kg for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 00:22:42 +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 1SeEsZ-000676-VB for ietf-http-wg@w3.org; Tue, 12 Jun 2012 00:22:41 +0000
Received: by wibhr14 with SMTP id hr14so2953338wib.8 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 17:22: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:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=AjA89hDYkYe9cnIU+7WSsGbyNOueoQavku52idOgJ78=; b=0LKJtdJOO64mln/eszzo+GxX8OAX+hpgn1Mbzeymja4nNcfy3Gv0pgBvLmmyinfFpf matoCkG3hyMMJj49RFce6mZ3xRSLhGwHJHV2Dftppas8ZILEmezSHfx8f5xWr0UL6ZEA 5Fg9XmcoTnMcPTIB2KnwFmSVnBsQrsg0tnaEMZgVxUP9ShtYPQulQL1iMw8ob6+EMjHq pc4dKCdp3fPXRou7Ewc7ADADYPx88VeojpzGIBKgdr4t/aCyJFr95lcnj1lW64ERsac6 McZ59ZK+gMKc4UAqeBnEU3HyU7vz0CG2eUSaBs3kOhweA3jH8HXV3Q/cbjzYa3N0ZTCM arZg==
Received: by 10.180.24.39 with SMTP id r7mr24692549wif.9.1339460533314; Mon, 11 Jun 2012 17:22:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.173.67 with HTTP; Mon, 11 Jun 2012 17:21:52 -0700 (PDT)
In-Reply-To: <F9FAF1D8-3597-48EE-A0EE-EEA11C27F45D@mnot.net>
References: <AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net> <CABP7RbfN4FJNpYZ48r7PRcFzCR6OJtc3On9F=EN8v8-Vd4r-Cg@mail.gmail.com> <F9FAF1D8-3597-48EE-A0EE-EEA11C27F45D@mnot.net>
From: James M Snell <jasnell@gmail.com>
Date: Mon, 11 Jun 2012 17:21:52 -0700
Message-ID: <CABP7RbcDD0OxKoNnhvPcxypiBBgkkvL33bf1im9q7E1pOki2GA@mail.gmail.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SeEsZ-000676-VB c1a10dc981d8df35e651604f8cf721e9
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: Proposing Status Codes
Archived-At: <http://www.w3.org/mid/CABP7RbcDD0OxKoNnhvPcxypiBBgkkvL33bf1im9q7E1pOki2GA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13754
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeEsn-0000KN-5u@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 00:22:53 +0000

My apologies... accidentally responded directly to Mark instead of the
group... Another possible approach to early implementation is to
designate a range of experimental, non-production status codes for
early development purposes that MUST NOT be used in production... once
the draft progresses to a reasonable stage (well beyond -01, the real
status can be assigned to the spec by the registrar rather than by the
spec author. I know schemes like this can tend to be problematic (e.g.
all those damn X- HTTP headers) so I'm not sure if it's a path we
should go down, but it's an idea at least.

---------- Forwarded message ----------
From: Mark Nottingham <mnot@mnot.net>
Date: Mon, Jun 11, 2012 at 4:58 PM
Subject: Re: Proposing Status Codes
To: James M Snell <jasnell@gmail.com>



On 12/06/2012, at 9:55 AM, James M Snell wrote:

> Perhaps one solution is to require the registrar to assign the status cod=
e upon completion... However, with any such late assignment approach, we ru=
n the risk of blocking important, valuable early implementation.

Yeah, I thought about that, but until the registry is actually
reflecting deployment practice, I think there needs to be more
oversight. What I'd like to see is having a -00 draft with 5xx (for
example) specified, but maybe -01 (or -02, or..) going ahead and
picking one, based on community input, once it's clear that there's
real interest.



--
Mark Nottingham =C2=A0 http://www.mnot.net/


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 17:29: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 213D821F852A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:29:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.943
X-Spam-Level: 
X-Spam-Status: No, score=-8.943 tagged_above=-999 required=5 tests=[AWL=1.656, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qj2fVKJaiz61 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:29:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A623721F849A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 17:29:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeEyO-0000nR-8Q for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 00:28:40 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1SeEyD-0000ma-Vs for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 00:28:30 +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 1SeEyA-0006IO-Uw for ietf-http-wg@w3.org; Tue, 12 Jun 2012 00:28:28 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id D50A0E6F2D; Tue, 12 Jun 2012 12:28:04 +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: Tue, 12 Jun 2012 12:28:04 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <CABP7RbcDD0OxKoNnhvPcxypiBBgkkvL33bf1im9q7E1pOki2GA@mail.gmail.com>
References: <AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net> <CABP7RbfN4FJNpYZ48r7PRcFzCR6OJtc3On9F=EN8v8-Vd4r-Cg@mail.gmail.com> <F9FAF1D8-3597-48EE-A0EE-EEA11C27F45D@mnot.net> <CABP7RbcDD0OxKoNnhvPcxypiBBgkkvL33bf1im9q7E1pOki2GA@mail.gmail.com>
Message-ID: <b6f0401ae6322cb84c085a0adaecff45@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SeEyA-0006IO-Uw 4d678192c27acf90228ef551e6bf788b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: Proposing Status Codes
Archived-At: <http://www.w3.org/mid/b6f0401ae6322cb84c085a0adaecff45@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13755
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeEyO-0000nR-8Q@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 00:28:40 +0000

On 12.06.2012 12:21, James M Snell wrote:
> My apologies... accidentally responded directly to Mark instead of 
> the
> group... Another possible approach to early implementation is to
> designate a range of experimental, non-production status codes for
> early development purposes that MUST NOT be used in production... 
> once
> the draft progresses to a reasonable stage (well beyond -01, the real
> status can be assigned to the spec by the registrar rather than by 
> the
> spec author. I know schemes like this can tend to be problematic 
> (e.g.
> all those damn X- HTTP headers) so I'm not sure if it's a path we
> should go down, but it's an idea at least.
>

You mean 490-499 for a 4XX exeprimental status?
Or completely out of the way range like 700-799? with requirement that 
once RFCs exist the experiments be dropped.

Amos



From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 17:46: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 85A0B11E8099 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:46:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.932
X-Spam-Level: 
X-Spam-Status: No, score=-9.932 tagged_above=-999 required=5 tests=[AWL=0.667, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yuRaRK9J6S67 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:46:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D985711E8087 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 17:46:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeFEY-0006RR-TS for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 00:45:23 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SeFEN-0006Ne-Ln for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 00:45:11 +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 1SeFEL-0006o6-5i for ietf-http-wg@w3.org; Tue, 12 Jun 2012 00:45:10 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DB53550A65; Mon, 11 Jun 2012 20:44:44 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <b6f0401ae6322cb84c085a0adaecff45@treenet.co.nz>
Date: Tue, 12 Jun 2012 10:44:41 +1000
Cc: <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A0ADB852-8212-4174-B473-3D383F21800A@mnot.net>
References: <AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net> <CABP7RbfN4FJNpYZ48r7PRcFzCR6OJtc3On9F=EN8v8-Vd4r-Cg@mail.gmail.com> <F9FAF1D8-3597-48EE-A0EE-EEA11C27F45D@mnot.net> <CABP7RbcDD0OxKoNnhvPcxypiBBgkkvL33bf1im9q7E1pOki2GA@mail.gmail.com> <b6f0401ae6322cb84c085a0adaecff45@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SeFEL-0006o6-5i 0d369bdaaea30a9b3cc450a33be1688e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposing Status Codes
Archived-At: <http://www.w3.org/mid/A0ADB852-8212-4174-B473-3D383F21800A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13756
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeFEY-0006RR-TS@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 00:45:22 +0000

On 12/06/2012, at 10:28 AM, Amos Jeffries wrote:

> On 12.06.2012 12:21, James M Snell wrote:
>> My apologies... accidentally responded directly to Mark instead of =
the
>> group... Another possible approach to early implementation is to
>> designate a range of experimental, non-production status codes for
>> early development purposes that MUST NOT be used in production... =
once
>> the draft progresses to a reasonable stage (well beyond -01, the real
>> status can be assigned to the spec by the registrar rather than by =
the
>> spec author. I know schemes like this can tend to be problematic =
(e.g.
>> all those damn X- HTTP headers) so I'm not sure if it's a path we
>> should go down, but it's an idea at least.
>>=20
>=20
> You mean 490-499 for a 4XX exeprimental status?
> Or completely out of the way range like 700-799? with requirement that =
once RFCs exist the experiments be dropped.

I think that managing that changeover would be very tricky.

However we do this, it's not going to be perfect; I just want to avoid =
the more experimental / tentative proposals from consuming codes =
(especially since they sometimes sit for a while).

E.g., a -00 draft would use "4xx", and maybe through -01, -02, but once =
it was clear it has momentum, and people want to start implementing, =
*then* you choose a code.

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 17:54: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 4F9C521F8445 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:54:20 -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=[AWL=-0.000, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BbfqVQZQgGpM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 17:54:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7004421F8449 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 17:54:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeFMH-00086S-H7 for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 00:53:21 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1SeFM6-00085b-Sa for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 00:53:10 +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 1SeFM4-0001A0-1Y for ietf-http-wg@w3.org; Tue, 12 Jun 2012 00:53:09 +0000
Received: by wgbdt14 with SMTP id dt14so3319000wgb.26 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 17:52:42 -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=N6tmsw6u9PEp/flMSSRdc8GbCjdBc7+icY5MDezgC4c=; b=mXVTNxoUjk/UXDm1ll1eleWEeZe58t2x+3km7zyvnJYGnXXHYQ3Ihl2LF3JYSQUqWR 1Q8IfOaEQpImNdai6ckZ+jBtB471va8W4Ez3gqGmP1bZDZq8wyeva+uMoWb1LYiHH7OB gDBU+FIF+2Mx+1d7K6n1QGjh//X+fVBgY9J8cWZgRLSTrVVGLlPqBv5oFeglVmOcWfN8 mG0XTO0ByIjBYlWOthbR6w9/u7BQTFyACw8lSUDY5NLZphi6piNVeYLxiiwPuGen40zl a5tn/LBswSDe8kS72tSvlEe6rzbHzHqLKuX5TTY4GopYZg+UUryqYB8cUACchP8H2z4p uing==
MIME-Version: 1.0
Received: by 10.180.83.197 with SMTP id s5mr24834499wiy.9.1339462361927; Mon, 11 Jun 2012 17:52:41 -0700 (PDT)
Received: by 10.223.173.67 with HTTP; Mon, 11 Jun 2012 17:52:41 -0700 (PDT)
Received: by 10.223.173.67 with HTTP; Mon, 11 Jun 2012 17:52:41 -0700 (PDT)
In-Reply-To: <A0ADB852-8212-4174-B473-3D383F21800A@mnot.net>
References: <AF11FF2D-4C52-414B-A642-7ED08E6E0A4F@mnot.net> <CABP7RbfN4FJNpYZ48r7PRcFzCR6OJtc3On9F=EN8v8-Vd4r-Cg@mail.gmail.com> <F9FAF1D8-3597-48EE-A0EE-EEA11C27F45D@mnot.net> <CABP7RbcDD0OxKoNnhvPcxypiBBgkkvL33bf1im9q7E1pOki2GA@mail.gmail.com> <b6f0401ae6322cb84c085a0adaecff45@treenet.co.nz> <A0ADB852-8212-4174-B473-3D383F21800A@mnot.net>
Date: Mon, 11 Jun 2012 17:52:41 -0700
Message-ID: <CABP7RbcXW4vO4fQfjY_y9iGOLkeQRZgWQQfyznYD_NFE5mrA2Q@mail.gmail.com>
From: James M Snell <jasnell@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d044304e845ce8304c23be295
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 1SeFM4-0001A0-1Y 01e186b1610f252fd509a8316c3ecbb8
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Proposing Status Codes
Archived-At: <http://www.w3.org/mid/CABP7RbcXW4vO4fQfjY_y9iGOLkeQRZgWQQfyznYD_NFE5mrA2Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13757
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeFMH-00086S-H7@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 00:53:21 +0000

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

+1 for picking it post -02.
On Jun 11, 2012 5:46 PM, "Mark Nottingham" <mnot@mnot.net> wrote:

> On 12/06/2012, at 10:28 AM, Amos Jeffries wrote:
>
> > On 12.06.2012 12:21, James M Snell wrote:
> >> My apologies... accidentally responded directly to Mark instead of the
> >> group... Another possible approach to early implementation is to
> >> designate a range of experimental, non-production status codes for
> >> early development purposes that MUST NOT be used in production... once
> >> the draft progresses to a reasonable stage (well beyond -01, the real
> >> status can be assigned to the spec by the registrar rather than by the
> >> spec author. I know schemes like this can tend to be problematic (e.g.
> >> all those damn X- HTTP headers) so I'm not sure if it's a path we
> >> should go down, but it's an idea at least.
> >>
> >
> > You mean 490-499 for a 4XX exeprimental status?
> > Or completely out of the way range like 700-799? with requirement that
> once RFCs exist the experiments be dropped.
>
> I think that managing that changeover would be very tricky.
>
> However we do this, it's not going to be perfect; I just want to avoid the
> more experimental / tentative proposals from consuming codes (especially
> since they sometimes sit for a while).
>
> E.g., a -00 draft would use "4xx", and maybe through -01, -02, but once it
> was clear it has momentum, and people want to start implementing, *then*
> you choose a code.
>
> Cheers,
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>

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

<p>+1 for picking it post -02.</p>
<div class=3D"gmail_quote">On Jun 11, 2012 5:46 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">
On 12/06/2012, at 10:28 AM, Amos Jeffries wrote:<br>
<br>
&gt; On 12.06.2012 12:21, James M Snell wrote:<br>
&gt;&gt; My apologies... accidentally responded directly to Mark instead of=
 the<br>
&gt;&gt; group... Another possible approach to early implementation is to<b=
r>
&gt;&gt; designate a range of experimental, non-production status codes for=
<br>
&gt;&gt; early development purposes that MUST NOT be used in production... =
once<br>
&gt;&gt; the draft progresses to a reasonable stage (well beyond -01, the r=
eal<br>
&gt;&gt; status can be assigned to the spec by the registrar rather than by=
 the<br>
&gt;&gt; spec author. I know schemes like this can tend to be problematic (=
e.g.<br>
&gt;&gt; all those damn X- HTTP headers) so I&#39;m not sure if it&#39;s a =
path we<br>
&gt;&gt; should go down, but it&#39;s an idea at least.<br>
&gt;&gt;<br>
&gt;<br>
&gt; You mean 490-499 for a 4XX exeprimental status?<br>
&gt; Or completely out of the way range like 700-799? with requirement that=
 once RFCs exist the experiments be dropped.<br>
<br>
I think that managing that changeover would be very tricky.<br>
<br>
However we do this, it&#39;s not going to be perfect; I just want to avoid =
the more experimental / tentative proposals from consuming codes (especiall=
y since they sometimes sit for a while).<br>
<br>
E.g., a -00 draft would use &quot;4xx&quot;, and maybe through -01, -02, bu=
t once it was clear it has momentum, and people want to start implementing,=
 *then* you choose a code.<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>

--f46d044304e845ce8304c23be295--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 18:38: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 2C30121F84B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 18:38:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.017
X-Spam-Level: 
X-Spam-Status: No, score=-9.017 tagged_above=-999 required=5 tests=[AWL=0.960, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QwcVQJm-Ng4w for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 18:38:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5116C21F8460 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 18:38:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeG2m-0000Et-N4 for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 01:37:16 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1SeG2Z-0000DT-0y for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 01:37:03 +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 <tbray@textuality.com>) id 1SeG2V-00008z-Qz for ietf-http-wg@w3.org; Tue, 12 Jun 2012 01:37:01 +0000
Received: by obfk16 with SMTP id k16so4193720obf.2 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 18:36:34 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding :x-gm-message-state; bh=au3Ly82yNYMDUjySOOwDgnhUPdg1hxx0xF2LrlCazKM=; b=ZbUVMIzTrhDP7/oFq6wTKfE5b6VJkjeBLXfVjloBg8vspUnJZPkoS44Y17ULJCziUn /4yFqEA6rx6ePRHVGb0iocHLvBPZFLt89FX/6HI4d4/aTPrbpUmxMMnrhj+CtktALGGc Z2KLrXebciEvjQPlz5rwIRRXI6One2g/XXxT0/x7BUHnONDUEefwVR9Bl991gJFy1sZ3 PWauMz7OoA+VxfcztQ1iLXcf61ie1pWiYj/0motU1kHzJFw+51Y8f28b6M3dIeqXpduR jcagnohPBRrAWe9kpdVOwN9ojh6pDa2yyuswMKEgxxwiiT3t2QDSnmVXQB2jHjrbhPJS sfhw==
MIME-Version: 1.0
Received: by 10.182.11.69 with SMTP id o5mr18361871obb.33.1339464994014; Mon, 11 Jun 2012 18:36:34 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Mon, 11 Jun 2012 18:36:33 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <20120612013301.7970.84065.idtracker@ietfa.amsl.com>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com>
Date: Mon, 11 Jun 2012 18:36:33 -0700
Message-ID: <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmSeMCK+kh5viOwTm/96rO/VrRkNZTM2VHrGB5NGfS+QcuHUlOGUyZKju7ghGkj6iGls4N2
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.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
X-W3C-Scan-Sig: maggie.w3.org 1SeG2V-00008z-Qz ab77ba2d5a144f6096a4329f4d3e099a
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13758
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeG2m-0000Et-N4@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 01:37:16 +0000

With apologies to MNot for ignoring his opinion (which I generally
agree with) about not picking particular
status values; but in this case I yielded to temptation.

rfc2xml output at
http://www.tbray.org/tmp/draft-tbray-http-legally-restricted-status.html

 -T

---------- Forwarded message ----------
From:  <internet-drafts@ietf.org>
Date: Mon, Jun 11, 2012 at 6:33 PM
Subject: New Version Notification for
draft-tbray-http-legally-restricted-status-00.txt
To: tbray@textuality.com

A new version of I-D, draft-tbray-http-legally-restricted-status-00.txt
has been successfully submitted by Tim Bray and posted to the
IETF repository.

Filename: =A0 =A0 =A0 =A0draft-tbray-http-legally-restricted-status
Revision: =A0 =A0 =A0 =A000
Title: =A0 =A0 =A0 =A0 =A0 A New HTTP Status Code for Legally-restricted Re=
sources
Creation date: =A0 2012-06-11
WG ID: =A0 =A0 =A0 =A0 =A0 Individual Submission
Number of pages: 5
URL:
http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-sta=
tus-00.txt
Status:
http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-status
Htmlized: =A0 =A0 =A0 =A0http://tools.ietf.org/html/submission.filename }}-=
00


Abstract:
=A0 This document specifies an additional Hypertext Transfer Protocol
=A0 (HTTP) status code for use when resource access is denied for legal
=A0 reasons.




The IETF Secretariat


From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 18:52: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 1DE8721F8542 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 18:52:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.984
X-Spam-Level: 
X-Spam-Status: No, score=-9.984 tagged_above=-999 required=5 tests=[AWL=0.615, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2fYerTdvVEaD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 18:52:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 51ABC21F8541 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 18:52:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeGFd-0002qi-8P for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 01:50:33 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SeGFQ-0002nY-Sj for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 01:50:20 +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 1SeGFN-0000gj-MV for ietf-http-wg@w3.org; Tue, 12 Jun 2012 01:50:19 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4690950A64; Mon, 11 Jun 2012 21:49:54 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>
Date: Tue, 12 Jun 2012 11:49:52 +1000
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SeGFN-0000gj-MV 6f27de788e130a7d6a8ec487d30f4a98
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13759
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeGFd-0002qi-8P@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 01:50:33 +0000

On 12/06/2012, at 11:36 AM, Tim Bray wrote:

> With apologies to MNot for ignoring his opinion (which I generally
> agree with) about not picking particular
> status values; but in this case I yielded to temptation.

Since we'll be in Vancouver soon, this may cost you beer. :)

Let's plan to have some discussion there in the WG meeting; Tim, would =
you be willing to present?

Regards,


>=20
> -T
>=20
> ---------- Forwarded message ----------
> From:  <internet-drafts@ietf.org>
> Date: Mon, Jun 11, 2012 at 6:33 PM
> Subject: New Version Notification for
> draft-tbray-http-legally-restricted-status-00.txt
> To: tbray@textuality.com
>=20
> A new version of I-D, =
draft-tbray-http-legally-restricted-status-00.txt
> has been successfully submitted by Tim Bray and posted to the
> IETF repository.
>=20
> Filename:        draft-tbray-http-legally-restricted-status
> Revision:        00
> Title:           A New HTTP Status Code for Legally-restricted =
Resources
> Creation date:   2012-06-11
> WG ID:           Individual Submission
> Number of pages: 5
> URL:
> =
http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-st=
atus-00.txt
> Status:
> =
http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-status=

> Htmlized:        http://tools.ietf.org/html/submission.filename }}-00
>=20
>=20
> Abstract:
>   This document specifies an additional Hypertext Transfer Protocol
>   (HTTP) status code for use when resource access is denied for legal
>   reasons.
>=20
>=20
>=20
>=20
> The IETF Secretariat
>=20

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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 11 18:59: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 65C6321F8559 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 18:59:18 -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=0.800, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QcRtZut2AyDR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 11 Jun 2012 18:59:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B015321F8512 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 11 Jun 2012 18:59:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeGN6-0003Rr-J3 for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 01:58:16 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1SeGMv-0003Q1-BT for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 01:58:05 +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 <tbray@textuality.com>) id 1SeGMs-00043u-AR for ietf-http-wg@w3.org; Tue, 12 Jun 2012 01:58:03 +0000
Received: by obfk16 with SMTP id k16so4217412obf.2 for <ietf-http-wg@w3.org>; Mon, 11 Jun 2012 18:57:36 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=BLLYTXdAI3LABv2J+HtwAH/hEyBUcL2yqR/P17gSHkw=; b=Izce9MJ0J/58liKfAFTBvzk++wpE5iQx4doxakDWQWTE+UyOPDiT/iqbRS9S9yWQ64 pUIXBFp1M4H7ktwida7Ze+7PrL6/83YUG0Bxie5xUxhR1sdawVKlq/LWRiWie27IvwdY TN84tE8iZWuTzmtFFzziA0or2jwfEq3x2ZSfQ34x22dtP2/DPnKcJ/Tkd3UfuCQUMSji PjPwpAEUOmJNCtWjWP+mIyGDAV3LZZ7GUmBhEb7+s45yjJg0uQWnjTesWgZCELZZ23s+ TRScN3B8mEnwGQLKAkkWW3yhvfp2OhAhPcqOYi02CItbV/g7K3yxZbrUBRoPVOMQPqAk WidQ==
MIME-Version: 1.0
Received: by 10.182.11.69 with SMTP id o5mr18403839obb.33.1339466256430; Mon, 11 Jun 2012 18:57:36 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Mon, 11 Jun 2012 18:57:36 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net>
Date: Mon, 11 Jun 2012 18:57:36 -0700
Message-ID: <CAHBU6is56iaae92DU7Ek+AxVmC6W3yWcEwveZXFkqmtephHpGw@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: ietf-http-wg@w3.org
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQlqS6C3NNUQTVKC1BEHZBLYra8Fzsxl6XckE5nPX7dlrBzTU7Ygi0zt3FunMoqOHO6qs71x
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.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
X-W3C-Scan-Sig: lisa.w3.org 1SeGMs-00043u-AR b25721d1fd4636b6fd7b37161ea41082
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/CAHBU6is56iaae92DU7Ek+AxVmC6W3yWcEwveZXFkqmtephHpGw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13760
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeGN6-0003Rr-J3@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 01:58:16 +0000

Happy to. It=92ll be a short presentation. -T

On Mon, Jun 11, 2012 at 6:49 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
> On 12/06/2012, at 11:36 AM, Tim Bray wrote:
>
>> With apologies to MNot for ignoring his opinion (which I generally
>> agree with) about not picking particular
>> status values; but in this case I yielded to temptation.
>
> Since we'll be in Vancouver soon, this may cost you beer. :)
>
> Let's plan to have some discussion there in the WG meeting; Tim, would yo=
u be willing to present?
>
> Regards,
>
>
>>
>> -T
>>
>> ---------- Forwarded message ----------
>> From: =A0<internet-drafts@ietf.org>
>> Date: Mon, Jun 11, 2012 at 6:33 PM
>> Subject: New Version Notification for
>> draft-tbray-http-legally-restricted-status-00.txt
>> To: tbray@textuality.com
>>
>> A new version of I-D, draft-tbray-http-legally-restricted-status-00.txt
>> has been successfully submitted by Tim Bray and posted to the
>> IETF repository.
>>
>> Filename: =A0 =A0 =A0 =A0draft-tbray-http-legally-restricted-status
>> Revision: =A0 =A0 =A0 =A000
>> Title: =A0 =A0 =A0 =A0 =A0 A New HTTP Status Code for Legally-restricted=
 Resources
>> Creation date: =A0 2012-06-11
>> WG ID: =A0 =A0 =A0 =A0 =A0 Individual Submission
>> Number of pages: 5
>> URL:
>> http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-=
status-00.txt
>> Status:
>> http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-stat=
us
>> Htmlized: =A0 =A0 =A0 =A0http://tools.ietf.org/html/submission.filename =
}}-00
>>
>>
>> Abstract:
>> =A0 This document specifies an additional Hypertext Transfer Protocol
>> =A0 (HTTP) status code for use when resource access is denied for legal
>> =A0 reasons.
>>
>>
>>
>>
>> The IETF Secretariat
>>
>
> --
> Mark Nottingham =A0 http://www.mnot.net/
>
>
>


From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 06:55: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 8A0A221F85B1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 06:55: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uqYD6j8gQB+7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 06:55:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 63BA721F859A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 06:55:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeRX5-0007oE-CH for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 13:53:19 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <JSullivan@velocix.com>) id 1SeRWn-0007lk-GN for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 13:53:01 +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 <JSullivan@velocix.com>) id 1SeRWf-00046i-RP for ietf-http-wg@w3.org; Tue, 12 Jun 2012 13:52:59 +0000
Received: from orthrus.eng.velocix.com (172.18.32.42) by exccam.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Tue, 12 Jun 2012 14:52:26 +0100
Message-ID: <4FD7499A.8010800@velocix.com>
Date: Tue, 12 Jun 2012 14:52:26 +0100
From: John Sullivan <jsullivan@velocix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Tim Bray <tbray@textuality.com>
CC: <ietf-http-wg@w3.org>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>
In-Reply-To: <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.18.32.42]
Received-SPF: none client-ip=81.134.152.10; envelope-from=JSullivan@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SeRWf-00046i-RP 7588e69b3f9e93b9412205ac5f5ce49a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FD7499A.8010800@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13761
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeRX5-0007oE-CH@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 13:53:19 +0000

Tim Bray wrote:
> http://www.tbray.org/tmp/draft-tbray-http-legally-restricted-status.html

> This document specifies an additional Hypertext Transfer Protocol
> (HTTP) status code for use when resource access is denied for
> legal reasons.

I think the description is too specific. While many of the instances
under recent discussion will be due to legal constraints, this code
may be applicable for other reasons: local policy, elective
filtering, etc.

To me, the defining aspects of the usefulness of this code are:

1) The code is generated by an intermediary outside of the control
of the origin server.

2) The content is being blocked due to the nature of the content
itself, whether that nature be assumed, suspected, reported,
spidered, analysed on attempted access or something else.

(I wonder if "3) users not downstream of the intermediary(s)
can expect to be able to access the content" is significant.)

Remember that non-legally mandated content filters are already
using various non-standardised status codes for this already:
they *might* want to switch to a standardised code should it
become available.

Consider the following cases:

1) A government agency provides technical information, but for
national security reasons does not want to allow access to IP
addresses within embargoed foreign states. It is neither an
intermediary, nor though it may appear so is the block directly
related to the nature of the content (which it would normally be
happy to serve to anyone else), but to the nature of the
requester. 403 would be more appropriate here.

2) A media company has negotiated broadcast rights for a piece
of content to certain territories, but not to others. Much as
above.

3) An internet cafe provides unrestricted normal browsing, but
blocks access to video/* responses unless "premium" access has
been paid for. Again this is not actually "content related":
they don't care whether it's kittens or anti-government
propaganda, their main motivation is financial and so 403 is
still appropriate.

4) A company implements a filtering web proxy. The CEO's
computer is allowed unfiltered access. Unlike (1),(2), it *is*
the nature of the content that causes block here, and although
the block is not evenly enforced, it is the CEO's access which
is exceptional, it is not generally the nature of the requester
that causes the block: the block is the normal case. This new
status code *is* appropriate here.

5) An ISP provides content-based filtering as a value-add feature.
It may be either opt-in or opt-out. The user is essentially
imposing the block on themselves in a sense, but the new code
is appropriate as the two defining aspects are met. Obviously
the response body should contain enough information to request
to opt out again.

6) A CDN with a direct relationship with the origin server blocks
content the origin attempts to serve due to contractual restrictions
chosen by the CDN itself on the types of content the CDN is willing
to serve. This could be argued either way perhaps, but I would
say the CDN and origin are closely enough related that 403 is
more appropriate.


> the server in question may or may not be an origin server

While I wouldn't say it is never appropriate for an origin server
to generate this code, I would expect that to be a highly unusual
case. In most cases an origin that does not want to serve the
content would simply return 403 or 404 directly. (An origin that
would normally serve the content, and wants to do so, but finds
itself under a temporary court injunction, for example, might
be one case.)

> Responses using this status code SHOULD include an explanation,
> in the response body, of the details of the legal restriction;
> which legal authority is imposing it, and what class of resources
> it applies to. For example:

I would say:

* details of the <del>legal</del> restriction and class of resources
  it applies to are likely to be very closely related, and may
  perhaps be treated as the same piece of information
* the party implementing the block
* the party imposing the block (if different)
* (the party requesting the block maybe: say the plaintiff if the
  block is due to a court injunction. The "party imposing" would
  be the court itself. Or maybe "party imposing" just has to be
  very specific about how the block came about.)
* sufficient information to contact/find contact details of the
  appropriate agent to complain about/request removal of the block

Any and all of these items are optional (as is the code itself) at
the discretion of the block implementing party based on what they
want to disclose, or what they are allowed to disclose.

> 4.  Security Considerations

For entities imposing a block locally, and inspecting status codes
from access logs to identify block hits, it should be remembered that
the given status code may also be generated externally so mere
presence of the status code does not necessarily imply an attempt
to violate local policy.

For all entities, blocks of any type have been known to generate
frequent false positives, so generation of the given status code
does not necessarily imply an attempt to access blocked content.

John
-- 


From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 09: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 D124E21F863F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 09:36:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.133
X-Spam-Level: 
X-Spam-Status: No, score=-9.133 tagged_above=-999 required=5 tests=[AWL=0.528, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rEEzT1Pfgxnh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 09:36:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E9BF221F8630 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 09:36:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeU3T-00043w-Ud for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 16:34:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1SeU3C-000423-Fh for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 16:34:38 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SeU30-0003S7-Mr for ietf-http-wg@w3.org; Tue, 12 Jun 2012 16:34:36 +0000
Received: by ghy10 with SMTP id 10so3646033ghy.2 for <ietf-http-wg@w3.org>; Tue, 12 Jun 2012 09:34:01 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=6JhJa9VciRZ6YCb8XRihsi2bSEp2uSHElZLpQQNOPNE=; b=B+yLCLvwT9eAPINmnMeMfL5JxB2K53pAN+eK6MBMc0hgW92mCltZi9LwwcxkiG1BWP O8YL+mr8bVsITH8XCEAwsN55Pr4J1/A6B5OPa1wqbstRklgpnwkb/zrhdRezRZv52v/k Jv1OJtmkbXhzpclyC1frNc3opCoJDO9HLuyJIv1eLYc0muErwIwwCQZg9D9ZdMCU3jMo YvwwWC2jOEaI/9mI565WICyxbzx7UhFIieaGjCAMs3K7JUt7qA8qqpCR7k5lTIMxqLh9 hysaae+yESt9U4hVS3OpcT9KhxRyQPfX8VJlY+GYv8tGzPI+OuN+0V1vVKS0PBFBHrJf q9XQ==
MIME-Version: 1.0
Received: by 10.60.4.165 with SMTP id l5mr21008015oel.41.1339518841070; Tue, 12 Jun 2012 09:34:01 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Tue, 12 Jun 2012 09:34:01 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net>
Date: Tue, 12 Jun 2012 09:34:01 -0700
Message-ID: <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8ff1c2e8b1257c04c249081b
X-Gm-Message-State: ALoCoQkX4Qu7CNcqYDvfO8M82MeoEgAJHwF8MoAa3bgYo9Q7DGqi7mVZFk1lcTtkE0n8fvBt3deF
Received-SPF: none client-ip=209.85.160.171; envelope-from=tbray@textuality.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SeU30-0003S7-Mr d5e6f15f6cf7247464c55918e6566f20
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13762
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeU3T-00043w-Ud@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 16:34:55 +0000

--e89a8ff1c2e8b1257c04c249081b
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Aaaaaaaand, it turns out MNot was right; I checked with an expert, and 451
is heavily used for =93redirect=94 in the Msft ecosystem, notably including
HotMail=92s hundreds of millions of users.  Consider it =934xx=94 (which I =
would
still argue for as opposed to 5xx).  -T

On Mon, Jun 11, 2012 at 6:49 PM, Mark Nottingham <mnot@mnot.net> wrote:
>
> On 12/06/2012, at 11:36 AM, Tim Bray wrote:
>
>> With apologies to MNot for ignoring his opinion (which I generally
>> agree with) about not picking particular
>> status values; but in this case I yielded to temptation.
>
> Since we'll be in Vancouver soon, this may cost you beer. :)
>
> Let's plan to have some discussion there in the WG meeting; Tim, would
you be willing to present?
>
> Regards,
>
>
>>
>> -T
>>
>> ---------- Forwarded message ----------
>> From:  <internet-drafts@ietf.org>
>> Date: Mon, Jun 11, 2012 at 6:33 PM
>> Subject: New Version Notification for
>> draft-tbray-http-legally-restricted-status-00.txt
>> To: tbray@textuality.com
>>
>> A new version of I-D, draft-tbray-http-legally-restricted-status-00.txt
>> has been successfully submitted by Tim Bray and posted to the
>> IETF repository.
>>
>> Filename:        draft-tbray-http-legally-restricted-status
>> Revision:        00
>> Title:           A New HTTP Status Code for Legally-restricted Resources
>> Creation date:   2012-06-11
>> WG ID:           Individual Submission
>> Number of pages: 5
>> URL:
>>
http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-sta=
tus-00.txt
>> Status:
>>
http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-status
>> Htmlized:        http://tools.ietf.org/html/submission.filename }}-00
>>
>>
>> Abstract:
>>   This document specifies an additional Hypertext Transfer Protocol
>>   (HTTP) status code for use when resource access is denied for legal
>>   reasons.
>>
>>
>>
>>
>> The IETF Secretariat
>>
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>

--e89a8ff1c2e8b1257c04c249081b
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Aaaaaaaand, it turns out MNot was right; I checked with an expert, and 451 =
is heavily used for =93redirect=94 in the Msft ecosystem, notably including=
 HotMail=92s hundreds of millions of users.=A0 Consider it =934xx=94 (which=
 I would still argue for as opposed to 5xx).=A0 -T<br>
<br>On Mon, Jun 11, 2012 at 6:49 PM, Mark Nottingham &lt;<a href=3D"mailto:=
mnot@mnot.net">mnot@mnot.net</a>&gt; wrote:<br>&gt;<br>&gt; On 12/06/2012, =
at 11:36 AM, Tim Bray wrote:<br>&gt;<br>&gt;&gt; With apologies to MNot for=
 ignoring his opinion (which I generally<br>
&gt;&gt; agree with) about not picking particular<br>&gt;&gt; status values=
; but in this case I yielded to temptation.<br>&gt;<br>&gt; Since we&#39;ll=
 be in Vancouver soon, this may cost you beer. :)<br>&gt;<br>&gt; Let&#39;s=
 plan to have some discussion there in the WG meeting; Tim, would you be wi=
lling to present?<br>
&gt;<br>&gt; Regards,<br>&gt;<br>&gt;<br>&gt;&gt;<br>&gt;&gt; -T<br>&gt;&gt=
;<br>&gt;&gt; ---------- Forwarded message ----------<br>&gt;&gt; From: =A0=
&lt;<a href=3D"mailto:internet-drafts@ietf.org">internet-drafts@ietf.org</a=
>&gt;<br>
&gt;&gt; Date: Mon, Jun 11, 2012 at 6:33 PM<br>&gt;&gt; Subject: New Versio=
n Notification for<br>&gt;&gt; draft-tbray-http-legally-restricted-status-0=
0.txt<br>&gt;&gt; To: <a href=3D"mailto:tbray@textuality.com">tbray@textual=
ity.com</a><br>
&gt;&gt;<br>&gt;&gt; A new version of I-D, draft-tbray-http-legally-restric=
ted-status-00.txt<br>&gt;&gt; has been successfully submitted by Tim Bray a=
nd posted to the<br>&gt;&gt; IETF repository.<br>&gt;&gt;<br>&gt;&gt; Filen=
ame: =A0 =A0 =A0 =A0draft-tbray-http-legally-restricted-status<br>
&gt;&gt; Revision: =A0 =A0 =A0 =A000<br>&gt;&gt; Title: =A0 =A0 =A0 =A0 =A0=
 A New HTTP Status Code for Legally-restricted Resources<br>&gt;&gt; Creati=
on date: =A0 2012-06-11<br>&gt;&gt; WG ID: =A0 =A0 =A0 =A0 =A0 Individual S=
ubmission<br>&gt;&gt; Number of pages: 5<br>
&gt;&gt; URL:<br>&gt;&gt; <a href=3D"http://www.ietf.org/internet-drafts/dr=
aft-tbray-http-legally-restricted-status-00.txt">http://www.ietf.org/intern=
et-drafts/draft-tbray-http-legally-restricted-status-00.txt</a><br>&gt;&gt;=
 Status:<br>
&gt;&gt; <a href=3D"http://datatracker.ietf.org/doc/draft-tbray-http-legall=
y-restricted-status">http://datatracker.ietf.org/doc/draft-tbray-http-legal=
ly-restricted-status</a><br>&gt;&gt; Htmlized: =A0 =A0 =A0 =A0<a href=3D"ht=
tp://tools.ietf.org/html/submission.filename">http://tools.ietf.org/html/su=
bmission.filename</a> }}-00<br>
&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Abstract:<br>&gt;&gt; =A0 This document sp=
ecifies an additional Hypertext Transfer Protocol<br>&gt;&gt; =A0 (HTTP) st=
atus code for use when resource access is denied for legal<br>&gt;&gt; =A0 =
reasons.<br>
&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; The IETF Secretari=
at<br>&gt;&gt;<br>&gt;<br>&gt; --<br>&gt; Mark Nottingham =A0 <a href=3D"ht=
tp://www.mnot.net/">http://www.mnot.net/</a><br>&gt;<br>&gt;<br>&gt;<br><br=
>

--e89a8ff1c2e8b1257c04c249081b--


From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 09: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 19F6121F8630 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 09:45:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.941
X-Spam-Level: 
X-Spam-Status: No, score=-9.941 tagged_above=-999 required=5 tests=[AWL=0.343, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y2sv93TJSAg5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 09:45:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3E95621F8629 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 09:45:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeUCS-0006xH-UX for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 16:44:12 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SeUCI-0006wJ-MG for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 16:44:02 +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 1SeUC5-0003rI-WF for ietf-http-wg@w3.org; Tue, 12 Jun 2012 16:44:00 +0000
Received: (qmail invoked by alias); 12 Jun 2012 16:43:23 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp033) with SMTP; 12 Jun 2012 18:43:23 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19QQvcJxhlQUnPE5xVlxZeY5KlQ5Ubcw+o9uspUW6 BgmtHOCwU7Jnl+
Message-ID: <4FD7719D.5030409@gmx.de>
Date: Tue, 12 Jun 2012 18:43:09 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Tim Bray <tbray@textuality.com>
CC: Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com>
In-Reply-To: <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: 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 1SeUC5-0003rI-WF 507909a586b63f68639027dea0f48f65
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FD7719D.5030409@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13763
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeUCS-0006xH-UX@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 16:44:12 +0000

On 2012-06-12 18:34, Tim Bray wrote:
> Aaaaaaaand, it turns out MNot was right; I checked with an expert, and
> 451 is heavily used for “redirect” in the Msft ecosystem, notably
> including HotMail’s hundreds of millions of users.  Consider it “4xx”
> (which I would still argue for as opposed to 5xx).  -T
> ...

Use it anyway. People who mint new status codes and do not register them 
do not deserve anything else :-)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 11: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 EC64721F85A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 11:05:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.441
X-Spam-Level: 
X-Spam-Status: No, score=-10.441 tagged_above=-999 required=5 tests=[AWL=-0.157, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IBF3YHeJRCZP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 11:05:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D313421F85C4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 11:05:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeVQo-0006dg-S3 for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 18:03:06 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jasnell@gmail.com>) id 1SeVQa-0006cV-MW for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 18:02:52 +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 1SeVQT-0008Rw-Rx for ietf-http-wg@w3.org; Tue, 12 Jun 2012 18:02:50 +0000
Received: by wibhr14 with SMTP id hr14so3715286wib.8 for <ietf-http-wg@w3.org>; Tue, 12 Jun 2012 11:02:19 -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:content-transfer-encoding; bh=Y4Jz15dS3kEfBrsX53NpHwdHpI5fvozh96GI2fM0zpY=; b=c+tNfgLpU0f220lshFtJfAGKXhyccr7CKMVzrjGQ027Ip3YGoXS6qkYLFxfl65yJCJ uzzHTP0Vv/YitdmdxCd8Qn+Q4qAo0rpQE68FvZK6kMAcfVtagAVdq9jIvAvFMpE2hECD IvXIgX9uIEzPcfjyafHXwBAy6+3vi+Db8eAZk1gvbaXMa3zKtGiya0DACyHdy9RxrX6/ m8a6u1XqgKdJpe9tIhT0pSjGYSto9gPN52Z3s7zlxEzu4ml1gFOMuXqwH9X7ryPmSsLv lvRIvWsHGPvJ7CDmVifFeMDCulUhAjRYgIRD3CPIyT6AZS7AfSKwvQ+jG4cJAbCJWHJY s4RA==
Received: by 10.216.132.150 with SMTP id o22mr8730942wei.109.1339524139736; Tue, 12 Jun 2012 11:02:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.173.67 with HTTP; Tue, 12 Jun 2012 11:01:59 -0700 (PDT)
In-Reply-To: <4FD7719D.5030409@gmx.de>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4FD7719D.5030409@gmx.de>
From: James M Snell <jasnell@gmail.com>
Date: Tue, 12 Jun 2012 11:01:59 -0700
Message-ID: <CABP7Rbf02dv3SuCQ1a0-03VWRqWQyWAOh6o9G8aJKA4TPx3G3A@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Tim Bray <tbray@textuality.com>, Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SeVQT-0008Rw-Rx 1dc2e184c85e381918778523306276b1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/CABP7Rbf02dv3SuCQ1a0-03VWRqWQyWAOh6o9G8aJKA4TPx3G3A@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13764
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeVQo-0006dg-S3@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 18:03:06 +0000

I'd have to agree with Julian on this... there is a clear, open
registration process in place for http status codes, a single vendor
should not be allowed to hijack status codes from the shared (and
quite limited) available range. If their stuff gets broken because
someone follows the legitimate process later, then the fault is on
them. They should have known better.

On Tue, Jun 12, 2012 at 9:43 AM, Julian Reschke <julian.reschke@gmx.de> wro=
te:
> On 2012-06-12 18:34, Tim Bray wrote:
>>
>> Aaaaaaaand, it turns out MNot was right; I checked with an expert, and
>> 451 is heavily used for =E2=80=9Credirect=E2=80=9D in the Msft ecosystem=
, notably
>> including HotMail=E2=80=99s hundreds of millions of users. =C2=A0Conside=
r it =E2=80=9C4xx=E2=80=9D
>> (which I would still argue for as opposed to 5xx). =C2=A0-T
>> ...
>
>
> Use it anyway. People who mint new status codes and do not register them =
do
> not deserve anything else :-)
>
> Best regards, Julian
>


From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 13:59: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 01AE111E80DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 13:59:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.274
X-Spam-Level: 
X-Spam-Status: No, score=-8.274 tagged_above=-999 required=5 tests=[AWL=2.325, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4jc5n7l0y-N5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 13:59:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8503D11E80D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 13:59:44 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeYAG-0003Fb-Hy for ietf-http-wg-dist@listhub.w3.org; Tue, 12 Jun 2012 20:58:12 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SeYA2-0003Ek-2X for ietf-http-wg@listhub.w3.org; Tue, 12 Jun 2012 20:57:58 +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 1SeY9w-00083s-KE for ietf-http-wg@w3.org; Tue, 12 Jun 2012 20:57:55 +0000
Received: (qmail invoked by alias); 12 Jun 2012 20:57:26 -0000
Received: from p5DD95DA3.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.93.163] by mail.gmx.net (mp070) with SMTP; 12 Jun 2012 22:57:26 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18TwfY1DUcTESv4n3R6tkxaoxhERERB/WJo2EnDgG Xcj0ReEsdCKaPO
Message-ID: <4FD7AD34.6020804@gmx.de>
Date: Tue, 12 Jun 2012 22:57:24 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de>
In-Reply-To: <4FD6640B.7060106@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.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SeY9w-00083s-KE 2fbdc777102ad31da62b5f3f482cf4a3
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD7AD34.6020804@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13765
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeYAG-0003Fb-Hy@frink.w3.org>
Resent-Date: Tue, 12 Jun 2012 20:58:12 +0000

On 2012-06-11 23:32, Julian Reschke wrote:
> On 2012-06-11 22:58, Mark Nottingham wrote:
>> ...
>> If we take this path, we'll be making any cache that doesn't correctly
>> parse
>>
>>    Cache-Control: max-age="5"
>>
>> non-conformant. I don't think that's a reasonable thing to do; it's
>> not improving security or interoperability (our two "major" criteria),
>> only library reusability.
>>
>> I *thought* we'd already discussed this; once I find some coffee,
>> perhaps I'll dig in the archives.
>> ...
>
> You are right; this is a case where we should just advise ("ought to"),
> not yell.
>
> Best regards, Julian

OK, revised patch at 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/307/307.2.diff>.

Text for that section with important parts highlighted...:

3.2.  Cache-Control

    The "Cache-Control" header field is used to specify directives for
    caches along the request/response chain.  Such cache directives are
    unidirectional in that the presence of a directive in a request does
    not imply that the same directive is to be given in the response.

    A cache MUST obey the requirements of the Cache-Control directives
    defined in this section.  See Section 3.2.3 for information about how
    Cache-Control directives defined elsewhere are handled.

       Note: HTTP/1.0 caches might not implement Cache-Control and might
       only implement Pragma: no-cache (see Section 3.4).

    A proxy, whether or not it implements a cache, MUST pass cache
    directives through in forwarded messages, regardless of their
    significance to that application, since the directives might be
    applicable to all recipients along the request/response chain.  It is
    not possible to target a directive to a specific cache.

--- NEW ---
    Cache directives are identified by a token, to be compared case-
    insensitively, and have an optional argument, that can use both token
    and quoted-string syntax.  For the directives defined below,
    recipients ought to accept both forms, even if one is documented to
    be preferred.  For any other directive, recipients MUST accept both
    forms.

      Cache-Control   = 1#cache-directive

      cache-directive = token [ "=" ( token / quoted-string ) ]

    For the cache directives defined below, no argument is defined (nor
    allowed) otherwise stated otherwise.
--- NEW ---

3.2.1.  Request Cache-Control Directives

3.2.1.1.  no-cache

    The no-cache request directive indicates that a cache MUST NOT use a
    stored response to satisfy the request without successful validation
    on the origin server.

3.2.1.2.  no-store

    The no-store request directive indicates that a cache MUST NOT store
    any part of either this request or any response to it.  This
    directive applies to both private and shared caches.  "MUST NOT
    store" in this context means that the cache MUST NOT intentionally
    store the information in non-volatile storage, and MUST make a best-
    effort attempt to remove the information from volatile storage as
    promptly as possible after forwarding it.

    This directive is NOT a reliable or sufficient mechanism for ensuring
    privacy.  In particular, malicious or compromised caches might not
    recognize or obey this directive, and communications networks might
    be vulnerable to eavesdropping.

    Note that if a request containing this directive is satisfied from a
    cache, the no-store request directive does not apply to the already
    stored response.

3.2.1.3.  max-age

    Argument syntax:

       delta-seconds (see Section 1.5)

    The max-age request directive indicates that the client is unwilling
    to accept a response whose age is greater than the specified number
    of seconds.  Unless the max-stale request directive is also present,
    the client is not willing to accept a stale response.

--- NEW ---
    Note: the preferred syntax for this argument is "token".  For
    compatibility with non-robust recipients, arguments SHOULD be sent
    using the token syntax.
--- NEW ---

3.2.1.4.  max-stale

    Argument syntax:

       delta-seconds (see Section 1.5)

    The max-stale request directive indicates that the client is willing
    to accept a response that has exceeded its expiration time.  If max-
    stale is assigned a value, then the client is willing to accept a
    response that has exceeded its expiration time by no more than the
    specified number of seconds.  If no value is assigned to max-stale,
    then the client is willing to accept a stale response of any age.

--- NEW ---
    Note: the preferred syntax for this argument is "token".  For
    compatibility with non-robust recipients, arguments SHOULD be sent
    using the token syntax.
--- NEW ---

3.2.1.5.  min-fresh

    Argument syntax:

       delta-seconds (see Section 1.5)

    The min-fresh request directive indicates that the client is willing
    to accept a response whose freshness lifetime is no less than its
    current age plus the specified time in seconds.  That is, the client
    wants a response that will still be fresh for at least the specified
    number of seconds.

3.2.1.6.  no-transform

    The no-transform request directive indicates that an intermediary
    (whether or not it implements a cache) MUST NOT change the Content-
    Encoding, Content-Range or Content-Type request header fields, nor
    the request representation.

3.2.1.7.  only-if-cached

    The only-if-cached request directive indicates that the client only
    wishes to obtain a stored response.  If it receives this directive, a
    cache SHOULD either respond using a stored response that is
    consistent with the other constraints of the request, or respond with
    a 504 (Gateway Timeout) status code.  If a group of caches is being
    operated as a unified system with good internal connectivity, a
    member cache MAY forward such a request within that group of caches.

3.2.2.  Response Cache-Control Directives

3.2.2.1.  public

    The public response directive indicates that a response whose
    associated request contains an 'Authentication' header MAY be stored
    (see Section 2.7).

3.2.2.2.  private

    Argument syntax:

       #field-name

    The private response directive indicates that the response message is
    intended for a single user and MUST NOT be stored by a shared cache.
    A private cache MAY store the response.

    If the private response directive specifies one or more field-names,
    this requirement is limited to the field-values associated with the
    listed response header fields.  That is, a shared cache MUST NOT
    store the specified field-names(s), whereas it MAY store the
    remainder of the response message.

    The field-names given are not limited to the set of standard header
    fields defined by this specification.  Field names are case-
    insensitive.

    Note: This usage of the word "private" only controls where the
    response can be stored; it cannot ensure the privacy of the message
    content.  Also, private response directives with field-names are
    often handled by implementations as if an unqualified private
    directive was received; i.e., the special handling for the qualified
    form is not widely implemented.

--- NEW ---
    Note: the preferred syntax for this argument is "quoted-string".  For
    compatibility with non-robust recipients, even a single-entry list of
    field names SHOULD be sent using the quoted-string syntax.
--- NEW ---

3.2.2.3.  no-cache

    Argument syntax:

       #field-name

    The no-cache response directive indicates that the response MUST NOT
    be used to satisfy a subsequent request without successful validation
    on the origin server.  This allows an origin server to prevent a
    cache from using it to satisfy a request without contacting it, even
    by caches that have been configured to return stale responses.

    If the no-cache response directive specifies one or more field-names,
    then a cache MAY use the response to satisfy a subsequent request,
    subject to any other restrictions on caching.  However, any header
    fields in the response that have the field-name(s) listed MUST NOT be
    sent in the response to a subsequent request without successful
    revalidation with the origin server.  This allows an origin server to
    prevent the re-use of certain header fields in a response, while
    still allowing caching of the rest of the response.

    The field-names given are not limited to the set of standard header
    fields defined by this specification.  Field names are case-
    insensitive.

    Note: Most HTTP/1.0 caches will not recognize or obey this directive.
    Also, no-cache response directives with field-names are often handled
    by implementations as if an unqualified no-cache directive was
    received; i.e., the special handling for the qualified form is not
    widely implemented.

--- NEW ---
    Note: the preferred syntax for this argument is "quoted-string".  For
    compatibility with non-robust recipients, even a single-entry list of
    field names SHOULD be sent using the quoted-string syntax.
--- NEW ---

3.2.2.4.  no-store

    The no-store response directive indicates that a cache MUST NOT store
    any part of either the immediate request or response.  This directive
    applies to both private and shared caches.  "MUST NOT store" in this
    context means that the cache MUST NOT intentionally store the
    information in non-volatile storage, and MUST make a best-effort
    attempt to remove the information from volatile storage as promptly
    as possible after forwarding it.

    This directive is NOT a reliable or sufficient mechanism for ensuring
    privacy.  In particular, malicious or compromised caches might not
    recognize or obey this directive, and communications networks might
    be vulnerable to eavesdropping.

3.2.2.5.  must-revalidate

    The must-revalidate response directive indicates that once it has
    become stale, a cache MUST NOT use the response to satisfy subsequent
    requests without successful validation on the origin server.

    The must-revalidate directive is necessary to support reliable
    operation for certain protocol features.  In all circumstances a
    cache MUST obey the must-revalidate directive; in particular, if a
    cache cannot reach the origin server for any reason, it MUST generate
    a 504 (Gateway Timeout) response.

    The must-revalidate directive ought to be used by servers if and only
    if failure to validate a request on the representation could result
    in incorrect operation, such as a silently unexecuted financial
    transaction.

3.2.2.6.  proxy-revalidate

    The proxy-revalidate response directive has the same meaning as the
    must-revalidate response directive, except that it does not apply to
    private caches.

3.2.2.7.  max-age

    Argument syntax:

       delta-seconds (see Section 1.5)

    The max-age response directive indicates that the response is to be
    considered stale after its age is greater than the specified number
    of seconds.

--- NEW ---
    Note: the preferred syntax for this argument is "token".  For
    compatibility with non-robust recipients, arguments SHOULD be sent
    using the token syntax.
--- NEW ---

3.2.2.8.  s-maxage

    Argument syntax:

       delta-seconds (see Section 1.5)

    The s-maxage response directive indicates that, in shared caches, the
    maximum age specified by this directive overrides the maximum age
    specified by either the max-age directive or the Expires header
    field.  The s-maxage directive also implies the semantics of the
    proxy-revalidate response directive.

--- NEW ---
    Note: the preferred syntax for this argument is "token".  For
    compatibility with non-robust recipients, arguments SHOULD be sent
    using the token syntax.
--- NEW ---

3.2.2.9.  no-transform

    The no-transform response directive indicates that an intermediary
    (regardless of whether it implements a cache) MUST NOT change the
    Content-Encoding, Content-Range or Content-Type response header
    fields, nor the response representation.



...yes, it's slightly more verbose, but I think it's worth the 
additional lines because it makes clear where a specific syntax is 
needed for historic reasons (only).

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 20:19: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 21FD711E80A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 20:19: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CrU3maxnuv1f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 20:19:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 31DFF11E8098 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 20:19:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1See5s-00039f-35 for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 03:18:04 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1See5d-000386-6b for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 03:17: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 1See5a-0000x6-8h for ietf-http-wg@w3.org; Wed, 13 Jun 2012 03:17:47 +0000
Received: from ldhn1zn1.rackspace.corp (unknown [69.20.3.135]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id BBAF822E253; Tue, 12 Jun 2012 23:17:23 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD7AD34.6020804@gmx.de>
Date: Wed, 13 Jun 2012 13:17:19 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1See5a-0000x6-8h 2cb674dfc7c229e9fd526044d58f3030
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13766
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1See5s-00039f-35@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 03:18:04 +0000

On 13/06/2012, at 6:57 AM, Julian Reschke wrote:
>=20
> --- NEW ---
>   Cache directives are identified by a token, to be compared case-
>   insensitively, and have an optional argument, that can use both =
token
>   and quoted-string syntax.  For the directives defined below,
>   recipients ought to accept both forms, even if one is documented to
>   be preferred.  For any other directive, recipients MUST accept both
>   forms.
>=20
>     Cache-Control   =3D 1#cache-directive
>=20
>     cache-directive =3D token [ "=3D" ( token / quoted-string ) ]
>=20
>   For the cache directives defined below, no argument is defined (nor
>   allowed) otherwise stated otherwise.
> --- NEW ---

A few things:

* You need to qualify the requirement so that it applies only to =
directives that take an argument

* The MUST still seems fairly strong; I'd be more comfortable with a =
SHOULD

* Isn't the requirement more appropriate in 3.2.3 Cache Control =
Extensions?


> --- NEW ---
>   Note: the preferred syntax for this argument is "token".  For
>   compatibility with non-robust recipients, arguments SHOULD be sent
>   using the token syntax.
> --- NEW ---


Here and elsewhere, the quotes around the token are confusing, and the =
language is slightly revisionist (max-age, for example, has never been =
defined to use quotes).

Suggest replacing with:

Note: This cache-control directive uses the token form of the argument; =
e.g., 'max-age=3D5', not 'max-age=3D"5". Senders SHOULD NOT use the =
quoted-string form.



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





From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 20:32: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 D2AAA21F86BA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 20:32:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.199
X-Spam-Level: 
X-Spam-Status: No, score=-9.199 tagged_above=-999 required=5 tests=[AWL=0.462, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PC18Y1KWEMur for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 20:32:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B8D6921F8652 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 20:31:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeeH3-0003xk-Uq for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 03:29:37 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1SeeGt-0003wV-8C for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 03:29:27 +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 <tbray@textuality.com>) id 1SeeGq-0001JX-05 for ietf-http-wg@w3.org; Wed, 13 Jun 2012 03:29:25 +0000
Received: by obfk16 with SMTP id k16so227551obf.2 for <ietf-http-wg@w3.org>; Tue, 12 Jun 2012 20:28:58 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=+C2K9BX7ZXJCEktOoyv1iz0MZKSCwo+/bGWxnmNKdEk=; b=aiDFFlQiLxBN7881o1Gfa51592wo9/WMr7d3TPA0BKC4Uzp7Vaw1dzrnauPdYq4ZWi 8yEXjLyf6xAeBvWGOfZvnLRFvT5QpGdWu/2LML75Uq4/EopF0pnbGdqrvmXmsVU9Z/f+ YXk44hy92FSkwcIfK83uZQgjchwrGvRJbbSK9QzTHkc1jOT8NgZZKNDG0Y1YxGJaBUod dgcWa+WMxdRk3Z2MshhQdSnu0kw2RnhoA1logJtLOZryRB1QCjUnd3EjHyvuPKKqUPuH /tq4OPGBC+CaddzoSlhVnoeeOmw5RXhard+H8H+fqt9zyPcOpH2xid6Q6t8imh5dMaNN Sf0A==
MIME-Version: 1.0
Received: by 10.60.14.169 with SMTP id q9mr23204819oec.19.1339558137978; Tue, 12 Jun 2012 20:28:57 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Tue, 12 Jun 2012 20:28:57 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <CABP7Rbf02dv3SuCQ1a0-03VWRqWQyWAOh6o9G8aJKA4TPx3G3A@mail.gmail.com>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4FD7719D.5030409@gmx.de> <CABP7Rbf02dv3SuCQ1a0-03VWRqWQyWAOh6o9G8aJKA4TPx3G3A@mail.gmail.com>
Date: Tue, 12 Jun 2012 20:28:57 -0700
Message-ID: <CAHBU6iuBtNTsA6p2qDFHirNk=H=1xDnQiZPzf5TXXojVt9PYcQ@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: James M Snell <jasnell@gmail.com>
Cc: Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8fb1ee0ef860d504c2522e91
X-Gm-Message-State: ALoCoQnLwHoVzPDNXwGv+tt8H2Ut8WTJRKpwPJbE9DkYSxheCjEpVphhNJCPkhfim4j46iq7W9bw
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SeeGq-0001JX-05 6a7ead1b80b04b4432ee6d0cab86e577
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/CAHBU6iuBtNTsA6p2qDFHirNk=H=1xDnQiZPzf5TXXojVt9PYcQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13767
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeeH3-0003xk-Uq@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 03:29:37 +0000

--e89a8fb1ee0ef860d504c2522e91
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

OK, Lauren Weinstein also agrees with you:
https://plus.google.com/u/0/114753028665775786510/posts/RKMHCtYpaeV

So I went back and pushed back on my mail expert (guy who does
mail/Exchange dev on Android), saying =93problem in practice or just in
theory?=94 and he wrote

=93I agree that in practice it wouldn't likely be an issue.  I guess I'm
using an abundance of caution criterion.=94

So maybe 451 is still plausible.  -T


On Tue, Jun 12, 2012 at 11:01 AM, James M Snell <jasnell@gmail.com> wrote:

> I'd have to agree with Julian on this... there is a clear, open
> registration process in place for http status codes, a single vendor
> should not be allowed to hijack status codes from the shared (and
> quite limited) available range. If their stuff gets broken because
> someone follows the legitimate process later, then the fault is on
> them. They should have known better.
>
> On Tue, Jun 12, 2012 at 9:43 AM, Julian Reschke <julian.reschke@gmx.de>
> wrote:
> > On 2012-06-12 18:34, Tim Bray wrote:
> >>
> >> Aaaaaaaand, it turns out MNot was right; I checked with an expert, and
> >> 451 is heavily used for =93redirect=94 in the Msft ecosystem, notably
> >> including HotMail=92s hundreds of millions of users.  Consider it =934=
xx=94
> >> (which I would still argue for as opposed to 5xx).  -T
> >> ...
> >
> >
> > Use it anyway. People who mint new status codes and do not register the=
m
> do
> > not deserve anything else :-)
> >
> > Best regards, Julian
> >
>

--e89a8fb1ee0ef860d504c2522e91
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

OK, Lauren Weinstein also agrees with you:=A0 <span style></span><a href=3D=
"https://plus.google.com/u/0/114753028665775786510/posts/RKMHCtYpaeV" targe=
t=3D"_blank" class=3D"cremed" style>https://plus.google.com/u/0/11475302866=
5775786510/posts/RKMHCtYpaeV</a><br>
<br>So I went back and pushed back on my mail expert (guy who does mail/Exc=
hange dev on Android), saying =93problem in practice or just in theory?=94 =
and he wrote <br><br>=93I agree that in practice it wouldn&#39;t likely be =
an issue.=A0 I guess I&#39;m using an abundance of caution criterion.=94<br=
>
<br>So maybe 451 is still plausible.=A0 -T<br><div class=3D"yj6qo ajU" styl=
e><br class=3D"Apple-interchange-newline"></div><br><div class=3D"gmail_quo=
te">On Tue, Jun 12, 2012 at 11:01 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:1p=
x #ccc solid;padding-left:1ex">I&#39;d have to agree with Julian on this...=
 there is a clear, open<br>
registration process in place for http status codes, a single vendor<br>
should not be allowed to hijack status codes from the shared (and<br>
quite limited) available range. If their stuff gets broken because<br>
someone follows the legitimate process later, then the fault is on<br>
them. They should have known better.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
On Tue, Jun 12, 2012 at 9:43 AM, Julian Reschke &lt;<a href=3D"mailto:julia=
n.reschke@gmx.de">julian.reschke@gmx.de</a>&gt; wrote:<br>
&gt; On 2012-06-12 18:34, Tim Bray wrote:<br>
&gt;&gt;<br>
&gt;&gt; Aaaaaaaand, it turns out MNot was right; I checked with an expert,=
 and<br>
&gt;&gt; 451 is heavily used for =93redirect=94 in the Msft ecosystem, nota=
bly<br>
&gt;&gt; including HotMail=92s hundreds of millions of users. =A0Consider i=
t =934xx=94<br>
&gt;&gt; (which I would still argue for as opposed to 5xx). =A0-T<br>
&gt;&gt; ...<br>
&gt;<br>
&gt;<br>
&gt; Use it anyway. People who mint new status codes and do not register th=
em do<br>
&gt; not deserve anything else :-)<br>
&gt;<br>
&gt; Best regards, Julian<br>
&gt;<br>
</div></div></blockquote></div><br>

--e89a8fb1ee0ef860d504c2522e91--


From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 20:42: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 9153E11E8098 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 20:42:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.441
X-Spam-Level: 
X-Spam-Status: No, score=-10.441 tagged_above=-999 required=5 tests=[AWL=-0.157, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wpgkwYnvyZEZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 20:42:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CA71F11E808D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 20:42:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeeSV-0006SS-SI for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 03:41:27 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SeeSF-0006Qq-59 for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 03:41: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 1SeeSC-00082V-AS for ietf-http-wg@w3.org; Wed, 13 Jun 2012 03:41:09 +0000
Received: from ldhn1zn1.rackspace.corp (unknown [69.20.3.135]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 730A322E253; Tue, 12 Jun 2012 23:40:45 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAHBU6iuBtNTsA6p2qDFHirNk=H=1xDnQiZPzf5TXXojVt9PYcQ@mail.gmail.com>
Date: Wed, 13 Jun 2012 13:40:41 +1000
Cc: James M Snell <jasnell@gmail.com>, Julian Reschke <julian.reschke@gmx.de>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <EFFE4F8C-FC66-4AA6-B9AA-6C4273697A2C@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4FD7719D.5030409@gmx.de> <CABP7Rbf02dv3SuCQ1a0-03VWRqWQyWAOh6o9G8aJKA4TPx3G3A@mail.gmail.com> <CAHBU6iuBtNTsA6p2qDFHirNk=H=1xDnQiZPzf5TXXojVt9PYcQ@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
X-Mailer: Apple Mail (2.1278)
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.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 1SeeSC-00082V-AS 382a1efeab6ad23cc41008ac93d379c1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/EFFE4F8C-FC66-4AA6-B9AA-6C4273697A2C@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13768
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeeSV-0006SS-SI@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 03:41:27 +0000

I wouldn't worry about it too much; AFAICT, the Exchange use case is one =
where the client and server are tightly coupled anyway, so the worst =
thing that's going to happen is that an Exchange client is going to =
interpret some censorship (again, *if* it gets deployed) as a different =
problem.

Cheers,



On 13/06/2012, at 1:28 PM, Tim Bray wrote:

> OK, Lauren Weinstein also agrees with you:  =
https://plus.google.com/u/0/114753028665775786510/posts/RKMHCtYpaeV
>=20
> So I went back and pushed back on my mail expert (guy who does =
mail/Exchange dev on Android), saying =93problem in practice or just in =
theory?=94 and he wrote=20
>=20
> =93I agree that in practice it wouldn't likely be an issue.  I guess =
I'm using an abundance of caution criterion.=94
>=20
> So maybe 451 is still plausible.  -T
>=20
>=20
> On Tue, Jun 12, 2012 at 11:01 AM, James M Snell <jasnell@gmail.com> =
wrote:
> I'd have to agree with Julian on this... there is a clear, open
> registration process in place for http status codes, a single vendor
> should not be allowed to hijack status codes from the shared (and
> quite limited) available range. If their stuff gets broken because
> someone follows the legitimate process later, then the fault is on
> them. They should have known better.
>=20
> On Tue, Jun 12, 2012 at 9:43 AM, Julian Reschke =
<julian.reschke@gmx.de> wrote:
> > On 2012-06-12 18:34, Tim Bray wrote:
> >>
> >> Aaaaaaaand, it turns out MNot was right; I checked with an expert, =
and
> >> 451 is heavily used for =93redirect=94 in the Msft ecosystem, =
notably
> >> including HotMail=92s hundreds of millions of users.  Consider it =
=934xx=94
> >> (which I would still argue for as opposed to 5xx).  -T
> >> ...
> >
> >
> > Use it anyway. People who mint new status codes and do not register =
them do
> > not deserve anything else :-)
> >
> > Best regards, Julian
> >
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 20:51: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 0807A11E8098 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 20:51:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.977
X-Spam-Level: 
X-Spam-Status: No, score=-7.977 tagged_above=-999 required=5 tests=[AWL=2.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xq0MabQ5HRhN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 20:51:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 535FA11E808D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 20:51:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Seebh-0000bu-If for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 03:50:57 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <y.oiwa@aist.go.jp>) id 1SeebV-0000b3-6s for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 03:50:45 +0000
Received: from na3sys010aog101.obsmtp.com ([74.125.245.70]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SeebS-0008PV-2g for ietf-http-wg@w3.org; Wed, 13 Jun 2012 03:50:43 +0000
Received: from mail-pb0-f50.google.com ([209.85.160.50]) (using TLSv1) by na3sys010aob101.postini.com ([74.125.244.12]) with SMTP ID DSNKT9gN/BcVCVa8v7P7BgKZAJ6uQ/ThilYL@postini.com; Tue, 12 Jun 2012 20:50:41 PDT
Received: by pbbrr4 with SMTP id rr4so1551108pbb.9 for <ietf-http-wg@w3.org>; Tue, 12 Jun 2012 20:50:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=MEC4uXzZQBLutmbzy3+eU4U/3AZX59Be7hIg3J4o+QI=; b=PxYALCTTuUoMhulHRTJ4l9JvVIp4B+VLIBOTog44Hi/5/Bvw2bLvc2nRKDrIiv9005 /tHbgpEVhrptNElvXFAquC1F+qJZDObdkjc3wIKkYF7QBqDoubQhTiBN1Qzu4/y/m8p5 447BLC/jnQ6yzuI9LKUU5jgWaMxT94JOLpQQI=
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 :content-type:content-transfer-encoding:x-gm-message-state; bh=MEC4uXzZQBLutmbzy3+eU4U/3AZX59Be7hIg3J4o+QI=; b=inwDsRD1D9xOcS3B/OEZP0e/ku0L4eiiia6/Fp1SrQim8GRL82tdf0Y7c79HpyZByI dj5SG1TbrKv48lwM963yRxwxs9VPr0dU0RJeGBfWiyN5voTpApEiDn8/rFa+ZDzA72Tt nxR71RYuHy7aDsp1fkjxytZzKWDxPLGlsUwz5VyZnXiZKrA8mqavG54B1RMnWH8P2V+E bbm0YMvYzJoj3A/15Qf0WnLF3+LlqgHKlnIYjPqvr+Rv0EECQllDbWxs2CvN+Q5O0IJ3 38tsL1XisdHMUwVP7M+PX8fWIdKPBhNWawOJI0a+b8OKmuwdhZxDMvA4xEKZHCL1t189 Cjyw==
Received: by 10.68.225.201 with SMTP id rm9mr45879447pbc.71.1339559419522; Tue, 12 Jun 2012 20:50:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.66.254.42 with HTTP; Tue, 12 Jun 2012 20:49:59 -0700 (PDT)
In-Reply-To: <CAMeZVwvgsMdY_EMyODzTAbZrWxp=GQpj_y=mLOZoyOx24-XevQ@mail.gmail.com>
References: <CAMeZVwuGYZqoZOH1hvc=-YWFKUizjMJmj+=c3ZkgswdYYP3pxw@mail.gmail.com> <CAMeZVwvgsMdY_EMyODzTAbZrWxp=GQpj_y=mLOZoyOx24-XevQ@mail.gmail.com>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Wed, 13 Jun 2012 12:49:59 +0900
Message-ID: <CAMeZVwsUmBVDYduXh06gy-FzBiyyP=B=HRvWFYkaZ5xtxqMr9Q@mail.gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>, "http-auth@ietf.org" <http-auth@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnxoQEzjMbKYtPNnuJ57Cpf5eCkg2IcoKmo7DlEUTkAmETBmL0okyBjr2aEWo0MarGlJdWu
Received-SPF: pass client-ip=74.125.245.70; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog101.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SeebS-0008PV-2g 8b7c0fbe075ff566900e27e4f48c6c73
X-Original-To: ietf-http-wg@w3.org
Subject: Re: [httpauth] Mutual authentication proposal
Archived-At: <http://www.w3.org/mid/CAMeZVwsUmBVDYduXh06gy-FzBiyyP=B=HRvWFYkaZ5xtxqMr9Q@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13769
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Seebh-0000bu-If@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 03:50:57 +0000

I put some document about some design decisions of
our protocol on the wiki.

It is available from
http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals/MutualAut=
h/LayeringDesigns

Hope this will help you understanding how the things work.

2012/6/5 Yutaka OIWA <y.oiwa@aist.go.jp>:
> Dear all,
>
> I created Wiki pages for my proposals:
>
> http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals/MutualA=
uth
> http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals/AuthExt=
ension
>
> I hope you will feel the information helpful.
>
> Cheers,
>
> Yutaka
>
> 2012/6/4 Yutaka OIWA <y.oiwa@aist.go.jp>:
>> Dear all,
>>
>> with a few corrections from the May-21st draft,
>> I submitted the HTTP Mutual authentication draft as an httpbis proposal.
>>
>> The proposal consists of two parts:
>>
>> <http://www.ietf.org/id/draft-oiwa-httpbis-mutualauth-00.txt>
>> is the core proposal for HTTP Mutual authentication,
>> using RFC 2617 architecture.
>>
>> <http://www.ietf.org/id/draft-oiwa-httpbis-auth-extension-00.txt>
>> is the important companion draft for generic extensions
>> which makes HTTP authentication useful again with
>> many Web applications.
>>
>> The proposal is (both documents are) HTTP/1.1 compatible, and
>> as far as core HTTP request/response semantics are kept,
>> it should work with future HTTP/2.0, too.
>>
>> I will set up wiki pages for these around tomorrow or so.
>> It will include information on available reference implementations,
>> some more introductions and so on.
>> I hope you will enjoy the proposed solution.
>>
>> Following previous suggestions on http-auth, crypto primitive choices
>> are kept for future discussions. =A0One of primitive candidates,
>> which is now for an "example" or "reference" purpose,
>> is available as an "individual" draft at
>> <http://tools.ietf.org/html/draft-oiwa-http-mutualauth-algo-02>.
>> To implement the core proposal now, please refer this, too.
>>
>>
>> P. S.
>> I also incremented the individual draft revisions for book-keeping purpo=
se.
>> (One of these depends on the revision numbers embedded to the protocol).
>> Contents of these are exactly the same as httpbis-proposed versions.
>>
>> --
>> Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliabili=
ty Research Group
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Inst=
itute for Secure Systems (RISEC)
>> =A0 =A0National Institute of Advanced Industrial Science and Technology =
(AIST)
>> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.=
go.jp>, <yutaka@oiwa.jp>
>> OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405=
 46B5]
>
>
>
> --
> Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliabilit=
y Research Group
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Insti=
tute for Secure Systems (RISEC)
> =A0 =A0National Institute of Advanced Industrial Science and Technology (=
AIST)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.g=
o.jp>, <yutaka@oiwa.jp>
> OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 =
46B5]



--=20
Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliability =
Research Group
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Institu=
te for Secure Systems (RISEC)
=A0 =A0National Institute of Advanced Industrial Science and Technology (AI=
ST)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.go.=
jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 46=
B5]


From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 22:38: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 85B3A21F870B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 22:38:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.284
X-Spam-Level: 
X-Spam-Status: No, score=-10.284 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nt-K86OLxcV0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 22:38:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9501C21F858F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 22:38:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SegFI-0001bT-UC for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 05:35:56 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fielding@gbiv.com>) id 1SegF1-0001aa-Fs for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 05:35:39 +0000
Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a27.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1SegEy-0004JO-E5 for ietf-http-wg@w3.org; Wed, 13 Jun 2012 05:35:37 +0000
Received: from homiemail-a27.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTP id A37AB598058; Tue, 12 Jun 2012 22:35:12 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gbiv.com; h=subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to; q=dns; s=gbiv.com; b=eKWaGqyeC6UqNne6 Pwp+ZtykVmB3JkB9ZNPynoBtILob9ALKKHbi/GVo7HQW12OwLGAsKL/RF7RZRPgb 93sXhHlq3orzYCxfx1/sTt87ROgIpPWMxxqcvGpuo7YoaxTfYN+UnuA7bHTYtxQI 0cow0UQcM3ws2CexFkdlJtXXB6c=
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=eX+kXUNRJMrXQKmLBIDza/9a2Cs=; b=n100ev8SXLr21OwVbe98N1w95XfN juViKcmNiCzqAqtw6pULEYW57Ea0Xxz61aRuMBs4fiNAKORCbZKOZn1L8fE4UMmE o5lNryi/uVdfyTpGIwttGInEG8eYe2F8B8AnA8Ekglg+t/vYKWAS/MmjMmnukYIY Ieip6o0xwtP/ErU=
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-a27.g.dreamhost.com (Postfix) with ESMTPSA id 73C96598057; Tue, 12 Jun 2012 22:35:12 -0700 (PDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: "Roy T. Fielding" <fielding@gbiv.com>
In-Reply-To: <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com>
Date: Tue, 12 Jun 2012 22:35:12 -0700
Cc: Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
X-Mailer: Apple Mail (2.1278)
Received-SPF: none client-ip=208.97.132.5; envelope-from=fielding@gbiv.com; helo=homiemail-a27.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
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_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SegEy-0004JO-E5 95bf39e434d4b0125b6a6fe8ec454fab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13770
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SegFI-0001bT-UC@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 05:35:56 +0000

On Jun 12, 2012, at 9:34 AM, Tim Bray wrote:

> Aaaaaaaand, it turns out MNot was right; I checked with an expert, and =
451 is heavily used for =93redirect=94 in the Msft ecosystem, notably =
including HotMail=92s hundreds of millions of users.  Consider it =934xx=94=
 (which I would still argue for as opposed to 5xx).  -T

4xx indicates an error by the user or user agent.  I don't see
any reason (aside from literary) that would justify using a 4xx
code for this.  5xx is typically used for non-authoritative
responses or server-imposed limitations -- a status that might
be different if the user agent chose a different intermediary
or tried again later.  Hence, 5xx makes more sense here.

....Roy



From ietf-http-wg-request@listhub.w3.org  Tue Jun 12 22:54: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 9D3E821F8749 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 22:54:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.822
X-Spam-Level: 
X-Spam-Status: No, score=-9.822 tagged_above=-999 required=5 tests=[AWL=-0.138, BAYES_00=-2.599, J_CHICKENPOX_71=0.6, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3gm5fMMTs0pE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 12 Jun 2012 22:54:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0A04821F8720 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 12 Jun 2012 22:54:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SegV0-00083d-54 for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 05:52:10 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1SegUo-00082k-8V for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 05:51:58 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SegUk-00063O-TT for ietf-http-wg@w3.org; Wed, 13 Jun 2012 05:51:56 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q5D5pOcI022601; Wed, 13 Jun 2012 07:51:24 +0200
Date: Wed, 13 Jun 2012 07:51:24 +0200
From: Willy Tarreau <w@1wt.eu>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Tim Bray <tbray@textuality.com>, Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
Message-ID: <20120613055124.GB20619@1wt.eu>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SegUk-00063O-TT 1f991e84226673ba05e35b313e8f3c08
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/20120613055124.GB20619@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13771
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SegV0-00083d-54@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 05:52:10 +0000

Hi Roy,

On Tue, Jun 12, 2012 at 10:35:12PM -0700, Roy T. Fielding wrote:
> On Jun 12, 2012, at 9:34 AM, Tim Bray wrote:
> 
> > Aaaaaaaand, it turns out MNot was right; I checked with an expert, and 451 is heavily used for ?redirect? in the Msft ecosystem, notably including HotMail?s hundreds of millions of users.  Consider it ?4xx? (which I would still argue for as opposed to 5xx).  -T
> 
> 4xx indicates an error by the user or user agent.  I don't see
> any reason (aside from literary) that would justify using a 4xx
> code for this.  5xx is typically used for non-authoritative
> responses or server-imposed limitations -- a status that might
> be different if the user agent chose a different intermediary
> or tried again later.  Hence, 5xx makes more sense here.

I don't completely agree here : for me, 5xx means that the error is not
the client's fault and that it might randomly work if the client tries
again, which is why network errors fall into this category, as opposed
to the 4xx error by the user/user agent as you explained (and which I
agree with). If a client requests a resource that is forbidden for legal
reasons, we're typically in the situation where the user caused the error
to happen by requesting this resource, and where if he tries again he will
get the same error again. Much like 403 or 404. 5xx would be appropriate
if the server was not able to verify in a database or referential whether
the resource is legally permitted or not.

Best regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 00:12: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 49FD621F8549 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 00:12:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.3
X-Spam-Level: 
X-Spam-Status: No, score=-9.3 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E71Yo4ouNq99 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 00:12:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4DBE421F8542 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 00:12:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SehjL-0007RH-0n for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 07:11:03 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jrn@jrn.me.uk>) id 1Sehiv-0007P3-Cf for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 07:10:37 +0000
Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66] helo=homiemail-a38.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1Sehir-0000uM-Lx for ietf-http-wg@w3.org; Wed, 13 Jun 2012 07:10:36 +0000
Received: from homiemail-a38.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTP id 1BC1B10AFA1 for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 00:10:12 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=message-id:date:from :mime-version:to:subject:references:in-reply-to:content-type: content-transfer-encoding; q=dns; s=jrn.me.uk; b=KQhvc3m8KTxAG4X 8NXC73PJY+2wga9YbaB2nW640lkwWWLfE8SyLbf++o6R+x1PEq3cuQZgeBMmQxNC 8XrbSYFuTzY7KwgCp1AeByQoXJRVtJR//W2gHTc6ZgtHXIdCtc2VJoVyi3jqXjay SYabL/l+McO63gvc7a3lGVFvTvWs=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=jrn.me.uk; bh=eZ7MzQ5 PK+7R1tMdvgSJcwWV/YM=; b=l/grRigyrjP4YTj5AyxulToqbJCZ8ZpmaMmxUQa M34gVxdiW7ddLvOt3FOVSOSSeHymZwbL7JA1NoPEyf5ZTRIztG6UaLlMqyDJbDrZ CLyo4vJtzE9Egg0ySOi/jCfb3i4J6JSleRbfuwDmBkm33TultBuc0/yjH1DUA+XP AGYU=
Received: from [192.168.1.74] (94-194-232-105.zone8.bethere.co.uk [94.194.232.105]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTPSA id 9F29A10AFAB for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 00:10:11 -0700 (PDT)
Message-ID: <4FD83CD0.8090408@jrn.me.uk>
Date: Wed, 13 Jun 2012 08:10:08 +0100
From: J Ross Nicoll <jrn@jrn.me.uk>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>
In-Reply-To: <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=208.97.132.66; envelope-from=jrn@jrn.me.uk; helo=homiemail-a38.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
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_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Sehir-0000uM-Lx cc645691fdf90bfda042e7712aaa06e7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FD83CD0.8090408@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13772
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SehjL-0007RH-0n@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 07:11:03 +0000

Should this only be for legal restrictions? Do we want to perhaps expand 
the scope to cover, for example, parents filtering a home Internet 
connection, or an employer filtering a workplace connection?

On 12/06/2012 02:36, Tim Bray wrote:
> With apologies to MNot for ignoring his opinion (which I generally
> agree with) about not picking particular
> status values; but in this case I yielded to temptation.
>
> rfc2xml output at
> http://www.tbray.org/tmp/draft-tbray-http-legally-restricted-status.html
>
>   -T
>
> ---------- Forwarded message ----------
> From:  <internet-drafts@ietf.org>
> Date: Mon, Jun 11, 2012 at 6:33 PM
> Subject: New Version Notification for
> draft-tbray-http-legally-restricted-status-00.txt
> To: tbray@textuality.com
>
> A new version of I-D, draft-tbray-http-legally-restricted-status-00.txt
> has been successfully submitted by Tim Bray and posted to the
> IETF repository.
>
> Filename:        draft-tbray-http-legally-restricted-status
> Revision:        00
> Title:           A New HTTP Status Code for Legally-restricted Resources
> Creation date:   2012-06-11
> WG ID:           Individual Submission
> Number of pages: 5
> URL:
> http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-status-00.txt
> Status:
> http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-status
> Htmlized:        http://tools.ietf.org/html/submission.filename }}-00
>
>
> Abstract:
>    This document specifies an additional Hypertext Transfer Protocol
>    (HTTP) status code for use when resource access is denied for legal
>    reasons.
>
>
>
>
> The IETF Secretariat
>




From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 00:20: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 7C4DF21F85B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 00:20:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.739
X-Spam-Level: 
X-Spam-Status: No, score=-8.739 tagged_above=-999 required=5 tests=[AWL=1.860, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LhLNNkWi9lSV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 00:20:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A705421F85A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 00:20:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sehqu-0001Gv-SM for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 07:18:52 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sehqf-0001Eg-RK for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 07:18:37 +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 1Sehqd-0001BS-4J for ietf-http-wg@w3.org; Wed, 13 Jun 2012 07:18:36 +0000
Received: (qmail invoked by alias); 13 Jun 2012 07:18:08 -0000
Received: from p5DD95DA3.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.93.163] by mail.gmx.net (mp027) with SMTP; 13 Jun 2012 09:18:08 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/hjMJkT7rhhIuSB40e0EvsWEyWymkGz89CTPKHFI CgwP07g/axyvlf
Message-ID: <4FD83EAD.4040200@gmx.de>
Date: Wed, 13 Jun 2012 09:18:05 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net>
In-Reply-To: <63446E9E-36B8-40FB-9B47-DB9CB973476C@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1Sehqd-0001BS-4J 809d281fad0724dfb074cad3650b487b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD83EAD.4040200@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13773
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sehqu-0001Gv-SM@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 07:18:52 +0000

On 2012-06-13 05:17, Mark Nottingham wrote:
>
> On 13/06/2012, at 6:57 AM, Julian Reschke wrote:
>>
>> --- NEW ---
>>    Cache directives are identified by a token, to be compared case-
>>    insensitively, and have an optional argument, that can use both token
>>    and quoted-string syntax.  For the directives defined below,
>>    recipients ought to accept both forms, even if one is documented to
>>    be preferred.  For any other directive, recipients MUST accept both
>>    forms.
>>
>>      Cache-Control   = 1#cache-directive
>>
>>      cache-directive = token [ "=" ( token / quoted-string ) ]
>>
>>    For the cache directives defined below, no argument is defined (nor
>>    allowed) otherwise stated otherwise.
>> --- NEW ---
>
> A few things:
>
> * You need to qualify the requirement so that it applies only to directives that take an argument

Yes:

    Cache directives are identified by a token, to be compared case-
    insensitively, and have an optional argument, that can use both token
    and quoted-string syntax.  For the directives defined below that
    define arguments, recipients ought to accept both forms, even if one
    is documented to be preferred.  For any other directive, recipients
    MUST accept both forms.

> * The MUST still seems fairly strong; I'd be more comfortable with a SHOULD

The MUST is essential otherwise you can't deploy extension directives in 
a reliable way. What would be a reason not to do this? (recall the ABNF 
requires it, and always has)

> * Isn't the requirement more appropriate in 3.2.3 Cache Control Extensions?

The requirement is about how to parse the header field; it's not 
specific to extensions. Even if you do not understand a single extension 
(and do not plan to), you still have to skip over them properly while 
parsing.

>> --- NEW ---
>>    Note: the preferred syntax for this argument is "token".  For
>>    compatibility with non-robust recipients, arguments SHOULD be sent
>>    using the token syntax.
>> --- NEW ---
>
>
> Here and elsewhere, the quotes around the token are confusing, and the language is slightly revisionist (max-age, for example, has never been defined to use quotes).
>
> Suggest replacing with:
>
> Note: This cache-control directive uses the token form of the argument; e.g., 'max-age=5', not 'max-age="5". Senders SHOULD NOT use the quoted-string form.

I made that:

    Note: This directive uses the token form of the argument syntax;
    e.g., 'max-age=5', not 'max-age="5"'.  Senders SHOULD NOT use the
    quoted-string form.

And for the other (#field-name) case:

    Note: This directive uses the quoted-string form of the argument
    syntax.  Senders SHOULD NOT use the token form (even if quoting
    appears not to be needed for single-entry lists).

Complete patch: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/307/307.3.diff>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 02:48: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 F1EC321F86B8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 02:48:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.787
X-Spam-Level: 
X-Spam-Status: No, score=-7.787 tagged_above=-999 required=5 tests=[AWL=-0.744, BAYES_05=-1.11, RCVD_IN_DNSWL_HI=-8, RCVD_NUMERIC_HELO=2.067]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Jr6U-1Hy1TC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 02:48:56 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 904EE21F85A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 02:48:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SekAO-0001sw-Bl for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 09:47:08 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1SekA7-0001o8-GB for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 09:46:51 +0000
Received: from plane.gmane.org ([80.91.229.3]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1SekA3-0007aS-NZ for ietf-http-wg@w3.org; Wed, 13 Jun 2012 09:46:49 +0000
Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1Sek96-0004fr-OM for ietf-http-wg@w3.org; Wed, 13 Jun 2012 11:45:48 +0200
Received: from 192.196.142.27 ([192.196.142.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 11:45:48 +0200
Received: from nicolas.mailhot by 192.196.142.27 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 11:45:48 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-http-wg@w3.org
From: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Date: Wed, 13 Jun 2012 09:44:38 +0000 (UTC)
Lines: 69
Message-ID: <loom.20120613T110345-438@post.gmane.org>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: sea.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 192.196.142.27 (Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0)
Received-SPF: pass client-ip=80.91.229.3; envelope-from=gix-ietf-http-wg@m.gmane.org; helo=plane.gmane.org
X-W3C-Hub-Spam-Status: No, score=-0.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_NUMERIC_HELO=1.164, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SekA3-0007aS-NZ a006091ecfff8a6125d485e3ae5bc597
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/loom.20120613T110345-438@post.gmane.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13774
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SekAO-0001sw-Bl@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 09:47:08 +0000

Willy Tarreau <w <at> 1wt.eu> writes:

> I don't completely agree here : for me, 5xx means that the error is not
> the client's fault and that it might randomly work if the client tries
> again, which is why network errors fall into this category, as opposed
> to the 4xx error by the user/user agent as you explained (and which I
> agree with).

I'd say there is not a sliver of technical difference between the blocking done
by an hotel wifi portal, by a school gateway on lab internet accesses, by a home
proxy on pornography accesses by children gadgets, by a corporate proxy on
facebook accesses, by a conference gateway for visitors, by an isp or country
filtering infra on stuff the country decided is not legitimate (and in all those
cases the equipments used are pretty much the same and marketed by the same
companies).

At every point the web client requested a web resource and it was denied by some
intermediary for violating the terms of use.

What varies is only the ultimate human justification behind the blocking
(financial, organisational, legalâ€¦): what the terms of use are based on, how to
get the level of access to bypass it (I'm pretty sure that even in
politically-challenged countries spooks get to see what is blocked), etc But
this justification is not something software should act on, it's something for
humans to act on (and I'm not saying I agree with all the possible kinds of
blocking, just that technically they are all the same).

It is completely wrong to try to enshrine political assessments in technical
protocols, the protocols must provide the technical means to communicate there
is some form of blocking, where the (human) justification can be found
(law/terms of uses), and where the user can provide credentials to lift the
blocking in the case it has this possibility (prove he paid the bill in case of
hotel accesses, prove he is staff for school labs/conferences, prove he is
marketing for facebook access in the Enterprise, that he is of legal age to see
nudity etc)

So the semantics should be the same as error 511 and I'd go as far as to say
error 511 should be generalised to handle those cases.

What error 511 is missing is:

1. a clear definition of 'terms of use' (what humans needs to read to understand
why access is blocked) and 'authentication means' (where the user or software
can provide credentials to get elevated access). This is especially important in
russian doll scenarii where the blocking can occur at different levels and the
different levels are not the same at all for users (a conference in a repressive
country for example: blocking can occur at the conference gateway level, at the
isp used by the conference, or at the national firewall level)

2. how this information is conveyed to users (a free-form html page does not
work for dumb clients or fat clients that use an http library such as curl).
'terms of use' and 'authentication means' location need to be specified in http
headers so the http library can pass it up the stack and the developer can
choose to display it (or not) in a browser window, an app popup or whatever he
deems appropriate

3. guidance to web client implementers on the security precautions to apply when
conveying this info to the user, and how to convey it even when the blocking
occurs mid-browsing in an https session

And it is not helping the user to refuse to acknowledge reality and hide this
information (when it is available). If the user does not even know it is blocked
and why he can not act at all (politically or otherwise)

Regards

-- 
Nicolas Mailhot




From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 03:01: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 3BD8621F8675 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 03:01:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.849
X-Spam-Level: 
X-Spam-Status: No, score=-5.849 tagged_above=-999 required=5 tests=[AWL=4.750, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id swpEDQddGKpg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 03:01:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5EBA221F8679 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 03:01:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SekMp-0004XO-95 for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 09:59:59 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SekMe-0004Ue-CV for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 09:59:48 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SekMa-0008TP-UD for ietf-http-wg@w3.org; Wed, 13 Jun 2012 09:59:46 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id AB670154263; Wed, 13 Jun 2012 10:59:24 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1339581564; bh=Z5GLp7fSoUMbcd 4k+6wqATMuoQ6fjZADmrAQy8XZvec=; b=vKLeDAi1XwYWKLlyCF5QgVMxmdcT7k b3AuPwPYGDHYuHuiTj6WIpqGstK4S/9NeI/ceI6L8jp0dLH/nqyc8AeJqDIrkjnA xKeJat9z57zMXT8pVH2G/7zPaxljauw3stBP6cQQmCQaCUSGbqDjKoDCDN6kDxHp 2rqEq7bmKRInSyC9Vhq2hbxSOCxCpwLpadeqL/I0kmciIiFuX0CgVeLOBIeMC8Si Q2S6MV5igVRpMvHqxekU58flqbrwQlp+tqnsFwmLCloSpL06rnn1RiG+SsG/FCDJ JAjWNJlM5LkXynX6u33z/S8xwtRTm5LBfx/2jQEcrSQY9lI8keqeUpxw==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id 5+GwNya9dwFB; Wed, 13 Jun 2012 10:59:24 +0100 (IST)
Received: from [IPv6:2001:770:10:203:353a:5c1f:6277:879a] (unknown [IPv6:2001:770:10:203:353a:5c1f:6277:879a]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 2271F154264; Wed, 13 Jun 2012 10:59:23 +0100 (IST)
Message-ID: <4FD8647B.8050200@cs.tcd.ie>
Date: Wed, 13 Jun 2012 10:59:23 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: J Ross Nicoll <jrn@jrn.me.uk>
CC: ietf-http-wg@w3.org
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <4FD83CD0.8090408@jrn.me.uk>
In-Reply-To: <4FD83CD0.8090408@jrn.me.uk>
X-Enigmail-Version: 1.4.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SekMa-0008TP-UD 2bbcf796e6b7a7a7c8a7572e9c79b431
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Fwd: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FD8647B.8050200@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13775
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SekMp-0004XO-95@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 09:59:59 +0000

On 06/13/2012 08:10 AM, J Ross Nicoll wrote:
> Should this only be for legal restrictions? Do we want to perhaps expand
> the scope to cover, for example, parents filtering a home Internet
> connection, or an employer filtering a workplace connection?

Hmmm. My guess would be that the the broader the scope, the
more likely this is to be problematic. And I suspect that'd
not be a linear relationship, but more like an exponential
increase in difficulty getting done with each small increase
in scope. Just my guess though.

S

> 
> On 12/06/2012 02:36, Tim Bray wrote:
>> With apologies to MNot for ignoring his opinion (which I generally
>> agree with) about not picking particular
>> status values; but in this case I yielded to temptation.
>>
>> rfc2xml output at
>> http://www.tbray.org/tmp/draft-tbray-http-legally-restricted-status.html
>>
>>   -T
>>
>> ---------- Forwarded message ----------
>> From:  <internet-drafts@ietf.org>
>> Date: Mon, Jun 11, 2012 at 6:33 PM
>> Subject: New Version Notification for
>> draft-tbray-http-legally-restricted-status-00.txt
>> To: tbray@textuality.com
>>
>> A new version of I-D, draft-tbray-http-legally-restricted-status-00.txt
>> has been successfully submitted by Tim Bray and posted to the
>> IETF repository.
>>
>> Filename:        draft-tbray-http-legally-restricted-status
>> Revision:        00
>> Title:           A New HTTP Status Code for Legally-restricted Resources
>> Creation date:   2012-06-11
>> WG ID:           Individual Submission
>> Number of pages: 5
>> URL:
>> http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-status-00.txt
>>
>> Status:
>> http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-status
>>
>> Htmlized:        http://tools.ietf.org/html/submission.filename }}-00
>>
>>
>> Abstract:
>>    This document specifies an additional Hypertext Transfer Protocol
>>    (HTTP) status code for use when resource access is denied for legal
>>    reasons.
>>
>>
>>
>>
>> The IETF Secretariat
>>
> 
> 
> 
> 


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 03:23: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 BBE7821F8610 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 03:23:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.342
X-Spam-Level: 
X-Spam-Status: No, score=-9.342 tagged_above=-999 required=5 tests=[AWL=0.342, BAYES_00=-2.599, J_CHICKENPOX_71=0.6, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mJ4bQbjPdGO5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 03:23:08 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C188521F85D0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 03:23:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Seki4-0002Ly-Nd for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 10:21:56 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sekht-0002J9-AS for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 10:21:45 +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 1Sekhq-00013q-82 for ietf-http-wg@w3.org; Wed, 13 Jun 2012 10:21:43 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 40623509B4; Wed, 13 Jun 2012 06:21:18 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <20120613055124.GB20619@1wt.eu>
Date: Wed, 13 Jun 2012 20:21:16 +1000
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Tim Bray <tbray@textuality.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu>
To: Willy Tarreau <w@1wt.eu>
X-Mailer: Apple Mail (2.1278)
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 1Sekhq-00013q-82 7b2c7591c45e1af99917f788da08eacb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13776
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Seki4-0002Ly-Nd@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 10:21:56 +0000

On 13/06/2012, at 3:51 PM, Willy Tarreau wrote:

> Hi Roy,
>=20
> On Tue, Jun 12, 2012 at 10:35:12PM -0700, Roy T. Fielding wrote:
>> On Jun 12, 2012, at 9:34 AM, Tim Bray wrote:
>>=20
>>> Aaaaaaaand, it turns out MNot was right; I checked with an expert, =
and 451 is heavily used for ?redirect? in the Msft ecosystem, notably =
including HotMail?s hundreds of millions of users.  Consider it ?4xx? =
(which I would still argue for as opposed to 5xx).  -T
>>=20
>> 4xx indicates an error by the user or user agent.  I don't see
>> any reason (aside from literary) that would justify using a 4xx
>> code for this.  5xx is typically used for non-authoritative
>> responses or server-imposed limitations -- a status that might
>> be different if the user agent chose a different intermediary
>> or tried again later.  Hence, 5xx makes more sense here.
>=20
> I don't completely agree here : for me, 5xx means that the error is =
not
> the client's fault and that it might randomly work if the client tries
> again, which is why network errors fall into this category, as opposed
> to the 4xx error by the user/user agent as you explained (and which I
> agree with).

This is completely off base.

If the client retries the request, it might indeed work again -- =
depending on what network path they're using, etc. That's why all of the =
intermediation-focused errors are in 5xx.


> If a client requests a resource that is forbidden for legal
> reasons, we're typically in the situation where the user caused the =
error
> to happen by requesting this resource, and where if he tries again he =
will
> get the same error again. Much like 403 or 404. 5xx would be =
appropriate
> if the server was not able to verify in a database or referential =
whether
> the resource is legally permitted or not.


Sorry, what?=20

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 03:27: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 1063F21F8569 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 03:27:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.82
X-Spam-Level: 
X-Spam-Status: No, score=-9.82 tagged_above=-999 required=5 tests=[AWL=0.779, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NBQkTDU52pQH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 03:27:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 65FE221F858F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 03:27:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sekll-0002Xe-CB for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 10:25:45 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SeklZ-0002Wn-QI for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 10:25:33 +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 1SeklW-0001Ce-RM for ietf-http-wg@w3.org; Wed, 13 Jun 2012 10:25:31 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D2A9350A6D; Wed, 13 Jun 2012 06:25:06 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD8647B.8050200@cs.tcd.ie>
Date: Wed, 13 Jun 2012 20:25:03 +1000
Cc: J Ross Nicoll <jrn@jrn.me.uk>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <6FDFE415-A52D-481A-A665-DDE8AA684616@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <4FD83CD0.8090408@jrn.me.uk> <4FD8647B.8050200@cs.tcd.ie>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
X-Mailer: Apple Mail (2.1278)
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 1SeklW-0001Ce-RM 9a3c9147796f2d3092dbaa0708005931
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/6FDFE415-A52D-481A-A665-DDE8AA684616@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13777
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sekll-0002Xe-CB@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 10:25:45 +0000

And putting the word "legal" in a protocol element isn't problematic??

I suggested "5xx Network Policy Violation" earlier; my .02 is that's =
more straightforward, more neutral, more useful, and more likely to =
actually be used.

Cheers,


On 13/06/2012, at 7:59 PM, Stephen Farrell wrote:

>=20
>=20
> On 06/13/2012 08:10 AM, J Ross Nicoll wrote:
>> Should this only be for legal restrictions? Do we want to perhaps =
expand
>> the scope to cover, for example, parents filtering a home Internet
>> connection, or an employer filtering a workplace connection?
>=20
> Hmmm. My guess would be that the the broader the scope, the
> more likely this is to be problematic. And I suspect that'd
> not be a linear relationship, but more like an exponential
> increase in difficulty getting done with each small increase
> in scope. Just my guess though.
>=20
> S
>=20
>>=20
>> On 12/06/2012 02:36, Tim Bray wrote:
>>> With apologies to MNot for ignoring his opinion (which I generally
>>> agree with) about not picking particular
>>> status values; but in this case I yielded to temptation.
>>>=20
>>> rfc2xml output at
>>> =
http://www.tbray.org/tmp/draft-tbray-http-legally-restricted-status.html
>>>=20
>>>  -T
>>>=20
>>> ---------- Forwarded message ----------
>>> From:  <internet-drafts@ietf.org>
>>> Date: Mon, Jun 11, 2012 at 6:33 PM
>>> Subject: New Version Notification for
>>> draft-tbray-http-legally-restricted-status-00.txt
>>> To: tbray@textuality.com
>>>=20
>>> A new version of I-D, =
draft-tbray-http-legally-restricted-status-00.txt
>>> has been successfully submitted by Tim Bray and posted to the
>>> IETF repository.
>>>=20
>>> Filename:        draft-tbray-http-legally-restricted-status
>>> Revision:        00
>>> Title:           A New HTTP Status Code for Legally-restricted =
Resources
>>> Creation date:   2012-06-11
>>> WG ID:           Individual Submission
>>> Number of pages: 5
>>> URL:
>>> =
http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-st=
atus-00.txt
>>>=20
>>> Status:
>>> =
http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-status=

>>>=20
>>> Htmlized:        http://tools.ietf.org/html/submission.filename =
}}-00
>>>=20
>>>=20
>>> Abstract:
>>>   This document specifies an additional Hypertext Transfer Protocol
>>>   (HTTP) status code for use when resource access is denied for =
legal
>>>   reasons.
>>>=20
>>>=20
>>>=20
>>>=20
>>> The IETF Secretariat
>>>=20
>>=20
>>=20
>>=20
>>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 03:33: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 F2EC721F865B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 03:33:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.866
X-Spam-Level: 
X-Spam-Status: No, score=-9.866 tagged_above=-999 required=5 tests=[AWL=0.733, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vgdszw7gGF68 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 03:33:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4935521F8652 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 03:33:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Seksa-0005XE-J6 for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 10:32:48 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SeksP-0005IC-9U for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 10:32:37 +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 1SeksJ-0000O8-MN for ietf-http-wg@w3.org; Wed, 13 Jun 2012 10:32:35 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6EE2350A5D; Wed, 13 Jun 2012 06:32:09 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD83EAD.4040200@gmx.de>
Date: Wed, 13 Jun 2012 20:32:06 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SeksJ-0000O8-MN 714675ad8813781a4515402380a5674f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13778
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Seksa-0005XE-J6@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 10:32:48 +0000

On 13/06/2012, at 5:18 PM, Julian Reschke wrote:

> On 2012-06-13 05:17, Mark Nottingham wrote:
>>=20
>> On 13/06/2012, at 6:57 AM, Julian Reschke wrote:
>>>=20
>>> --- NEW ---
>>>   Cache directives are identified by a token, to be compared case-
>>>   insensitively, and have an optional argument, that can use both =
token
>>>   and quoted-string syntax.  For the directives defined below,
>>>   recipients ought to accept both forms, even if one is documented =
to
>>>   be preferred.  For any other directive, recipients MUST accept =
both
>>>   forms.
>>>=20
>>>     Cache-Control   =3D 1#cache-directive
>>>=20
>>>     cache-directive =3D token [ "=3D" ( token / quoted-string ) ]
>>>=20
>>>   For the cache directives defined below, no argument is defined =
(nor
>>>   allowed) otherwise stated otherwise.
>>> --- NEW ---
>>=20
>> A few things:
>>=20
>> * You need to qualify the requirement so that it applies only to =
directives that take an argument
>=20
> Yes:
>=20
>   Cache directives are identified by a token, to be compared case-
>   insensitively, and have an optional argument, that can use both =
token
>   and quoted-string syntax.  For the directives defined below that
>   define arguments, recipients ought to accept both forms, even if one
>   is documented to be preferred.  For any other directive, recipients
>   MUST accept both forms.

You've managed to qualify it for those defined below, but not for "any =
other directive."


>> * The MUST still seems fairly strong; I'd be more comfortable with a =
SHOULD
>=20
> The MUST is essential otherwise you can't deploy extension directives =
in a reliable way. What would be a reason not to do this? (recall the =
ABNF requires it, and always has)

How so? If I define foo to have an unquoted numeric argument, what =
breaks? A generic parser can parse quoted and token, but that doesn't =
mean that all new directives need to allow both forms.


>> * Isn't the requirement more appropriate in 3.2.3 Cache Control =
Extensions?
>=20
> The requirement is about how to parse the header field; it's not =
specific to extensions. Even if you do not understand a single extension =
(and do not plan to), you still have to skip over them properly while =
parsing.

I see. I understand what you're trying to do, but I think it's too easy =
to misread it as "all new directives must be defined to allow both =
forms", which is both unnecessary and not realistic. Some rewording =
might help, but I question whether it's really necessary to put =
requirements around this; as you say, reading the BNF should make it =
clear what a generic parser needs to do.


>>> --- NEW ---
>>>   Note: the preferred syntax for this argument is "token".  For
>>>   compatibility with non-robust recipients, arguments SHOULD be sent
>>>   using the token syntax.
>>> --- NEW ---
>>=20
>>=20
>> Here and elsewhere, the quotes around the token are confusing, and =
the language is slightly revisionist (max-age, for example, has never =
been defined to use quotes).
>>=20
>> Suggest replacing with:
>>=20
>> Note: This cache-control directive uses the token form of the =
argument; e.g., 'max-age=3D5', not 'max-age=3D"5". Senders SHOULD NOT =
use the quoted-string form.
>=20
> I made that:
>=20
>   Note: This directive uses the token form of the argument syntax;
>   e.g., 'max-age=3D5', not 'max-age=3D"5"'.  Senders SHOULD NOT use =
the
>   quoted-string form.
>=20
> And for the other (#field-name) case:
>=20
>   Note: This directive uses the quoted-string form of the argument
>   syntax.  Senders SHOULD NOT use the token form (even if quoting
>   appears not to be needed for single-entry lists).


Looks good, thanks.


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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 03:57: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 1A1E321F847E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 03:57:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.137
X-Spam-Level: 
X-Spam-Status: No, score=-10.137 tagged_above=-999 required=5 tests=[AWL=0.462, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PnK+RznA0aAc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 03:57:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6144A21F847C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 03:57:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SelFU-0001lN-6u for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 10:56:28 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SelFH-0001gK-3z for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 10:56:15 +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 1SelF9-0001H6-Cr for ietf-http-wg@w3.org; Wed, 13 Jun 2012 10:56:13 +0000
Received: (qmail invoked by alias); 13 Jun 2012 10:55:41 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp041) with SMTP; 13 Jun 2012 12:55:41 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18A+JUpMJMAEAPvNEWorP/BPep8S4oTY/uJkD7jJR 3uMvnyQvLNQPnZ
Message-ID: <4FD871AA.6010309@gmx.de>
Date: Wed, 13 Jun 2012 12:55:38 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net>
In-Reply-To: <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SelF9-0001H6-Cr 31be50b8bea47fc742f746ace0c7f1de
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD871AA.6010309@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13779
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SelFU-0001lN-6u@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 10:56:28 +0000

On 2012-06-13 12:32, Mark Nottingham wrote:
>
> On 13/06/2012, at 5:18 PM, Julian Reschke wrote:
>
>> On 2012-06-13 05:17, Mark Nottingham wrote:
>>>
>>> On 13/06/2012, at 6:57 AM, Julian Reschke wrote:
>>>>
>>>> --- NEW ---
>>>>    Cache directives are identified by a token, to be compared case-
>>>>    insensitively, and have an optional argument, that can use both token
>>>>    and quoted-string syntax.  For the directives defined below,
>>>>    recipients ought to accept both forms, even if one is documented to
>>>>    be preferred.  For any other directive, recipients MUST accept both
>>>>    forms.
>>>>
>>>>      Cache-Control   = 1#cache-directive
>>>>
>>>>      cache-directive = token [ "=" ( token / quoted-string ) ]
>>>>
>>>>    For the cache directives defined below, no argument is defined (nor
>>>>    allowed) otherwise stated otherwise.
>>>> --- NEW ---
>>>
>>> A few things:
>>>
>>> * You need to qualify the requirement so that it applies only to directives that take an argument
>>
>> Yes:
>>
>>    Cache directives are identified by a token, to be compared case-
>>    insensitively, and have an optional argument, that can use both token
>>    and quoted-string syntax.  For the directives defined below that
>>    define arguments, recipients ought to accept both forms, even if one
>>    is documented to be preferred.  For any other directive, recipients
>>    MUST accept both forms.
>
> You've managed to qualify it for those defined below, but not for "any other directive."

Indeed... How about:

    Cache directives are identified by a token, to be compared case-
    insensitively, and have an optional argument, that can use both token
    and quoted-string syntax.  For the directives defined below that
    define arguments, recipients ought to accept both forms, even if one
    is documented to be preferred.  For any directive not defined by this
    specification, recipients MUST accept both forms.

? 
(<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/307/307.4.diff>)

>>> * The MUST still seems fairly strong; I'd be more comfortable with a SHOULD
>>
>> The MUST is essential otherwise you can't deploy extension directives in a reliable way. What would be a reason not to do this? (recall the ABNF requires it, and always has)
>
> How so? If I define foo to have an unquoted numeric argument, what breaks? A generic parser can parse quoted and token, but that doesn't mean that all new directives need to allow both forms.

It means that you add new special cases to something that is already 
unnecessarily complex. Why would you want to do that?

>>> * Isn't the requirement more appropriate in 3.2.3 Cache Control Extensions?
>>
>> The requirement is about how to parse the header field; it's not specific to extensions. Even if you do not understand a single extension (and do not plan to), you still have to skip over them properly while parsing.
>
> I see. I understand what you're trying to do, but I think it's too easy to misread it as "all new directives must be defined to allow both forms", which is both unnecessary and not realistic. Some rewording might help, but I question whether it's really necessary to put requirements around this; as you say, reading the BNF should make it clear what a generic parser needs to do.

No, that's actually the *intent*. I believe it's both necessary *and* 
realistic.

Best regards, Julian




From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 06:08: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 6F44821F864E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 06:08: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OJIR99WNteoP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 06:08:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BD69821F85C3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 06:07:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SenHF-0002ph-2x for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 13:06:25 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <JSullivan@velocix.com>) id 1SenGy-0002oM-Jd for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 13:06:08 +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 <JSullivan@velocix.com>) id 1SenGq-0008WA-Uh for ietf-http-wg@w3.org; Wed, 13 Jun 2012 13:06:06 +0000
Received: from orthrus.eng.velocix.com (172.18.32.42) by exccam.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Wed, 13 Jun 2012 14:05:34 +0100
Message-ID: <4FD8901D.7080308@velocix.com>
Date: Wed, 13 Jun 2012 14:05:33 +0100
From: John Sullivan <jsullivan@velocix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Willy Tarreau <w@1wt.eu>, "Roy T. Fielding" <fielding@gbiv.com>, Tim Bray <tbray@textuality.com>, <ietf-http-wg@w3.org>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>
In-Reply-To: <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.18.32.42]
Received-SPF: none client-ip=81.134.152.10; envelope-from=JSullivan@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SenGq-0008WA-Uh 94256b3be0ab659dc705c843a64ae3b4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FD8901D.7080308@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13780
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SenHF-0002ph-2x@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 13:06:25 +0000

Mark Nottingham wrote:
> On 13/06/2012, at 3:51 PM, Willy Tarreau wrote:
>> I don't completely agree here : for me, 5xx means that the error is not
>> the client's fault and that it might randomly work if the client tries
>> again, which is why network errors fall into this category, as opposed
>> to the 4xx error by the user/user agent as you explained (and which I
>> agree with).
> 
> This is completely off base.
> 
> If the client retries the request, it might indeed work again --
> depending on what network path they're using, etc. That's why all
> of the intermediation-focused errors are in 5xx.

If the same user agent, making the same request, from the same location,
over the same access link, can randomly switch between a path implementing
the block to one not from request to request, then I think all that shows
is that the block is *very* poorly implemented.

In practice the block will be implemented evenly for a given end point,
and the client will never succeed in that (exact) request no matter how
hard they try. Their only hope of success is to get the status of that
resource changed, which makes it a 4xx error.

>> If a client requests a resource that is forbidden for legal
>> reasons, we're typically in the situation where the user caused the error
>> to happen by requesting this resource, and where if he tries again he will
>> get the same error again. Much like 403 or 404. 5xx would be appropriate
>> if the server was not able to verify in a database or referential whether
>> the resource is legally permitted or not.
> 
> Sorry, what? 

You have made the case that, following specific language from the standard,
"4xx status codes indicate that the problem is at the client; 5xx indicates
that the error is at the server."

Taking that at face value, with no wider context, why is 404 a 4xx error?
The client made a request that to any outside observer looks entirely valid,
and usually apart from the precise URL requested is indistinguishable from
another request to the same server which returned a 200 response. The client
could even be following a link within a document it previously retrieved from
that same server. (With appropriate response headers the 404 might even be
cached by an intermediary past the point at which the origin server has been
"fixed" to return 200 responses for the same request.) The resulting 4xx error
could hardly be said to be the client's "fault".

I'm not trying to be facetious here, nor do I think I'm being dense. I really
see this interpretation as an (apparently quite common) mistake based on taking
a very narrow definition of the terms "client error" and "server error" which
is not quite justified by the heading paragraphs (p3 S7.4 and S7.5 in httpbis,
little changed from the 2616 versions), is contradicted by the descriptions of
specific status codes, does not match established usage, and in practical
terms fails to divide the domain of possible error types neatly(ish) into two
classes with broadly distinct:

   * causes
      4xx related to the request, or the state of a specific resource or
          resources, server does not want to satisfy request
      5xx network/server wide, server does want to satisfy request but
          "can't"
   * expected lifetimes
      4xx for a valid request, will not go away until the status of the
          underlying resource is modified
      5xx might "spontaneously" resolve, or resolution doesn't directly involve
          the specific resource
   * useful immediate response strategies
      4xx authenticate, change representation, change some other aspect of
          the request, ask for something different, give up; might make
          (semi-)persistent updates to local state
      5xx retry, or pause, retry; avoid polluting cache/history
   * useful final resolution strategies
      4xx fix/change the status of the resource(s)
      5xx forget after a successful retry, reboot server, reconfigure network

Things can get muddy round the edges, and this status code is I think muddiest
around "causes" (though I think 4xx is still justified), but under any other
metric I can't see why it isn't clearly in 4xx territory.

Conversely I think 5xx (511) for captive portals *is* justified under the
above classification. ("reconfigure network" could mean "walk down to the hotel
lobby and hand over a fiver for network access".)

(As I said previously, I'm deeply unsure about 501, and unconvinced about 505.
My skepticism here is bolstered by the choice of specific status codes to act
on in RFC 5861. *If* the underlying code usage were consistent, surely it could
have been applied based on code class alone.)

John
-- 


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 08:09: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 B1BDD21F8616 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 08:09:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.349
X-Spam-Level: 
X-Spam-Status: No, score=-8.349 tagged_above=-999 required=5 tests=[AWL=2.250, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZCH9TPG4e1sB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 08:09:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D0ECC21F858A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 08:09:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SepAe-00043L-82 for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 15:07:44 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SepAO-00041V-LF for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 15:07:28 +0000
Received: from hermes.scss.tcd.ie ([134.226.32.56] helo=scss.tcd.ie) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <stephen.farrell@cs.tcd.ie>) id 1SepAG-0006Yx-QO for ietf-http-wg@w3.org; Wed, 13 Jun 2012 15:07:26 +0000
Received: from localhost (localhost [127.0.0.1]) by hermes.scss.tcd.ie (Postfix) with ESMTP id DB6291717F3 for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 16:06:58 +0100 (IST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.tcd.ie; h= content-transfer-encoding:content-type:in-reply-to:references :subject:mime-version:user-agent:from:date:message-id:received :received:x-virus-scanned; s=cs; t=1339600018; bh=DouLBrDuJP77Vh chH+0iDpkTjzcQF2Ion49NeM8OxtY=; b=eyjA4VEGrFMzkkeJ9zftME+GiWlGI4 JTSmrJklT2QHzJUzTVD6DQI2FNKGH1ykGy2Sr0U0oLGeoB9GMP2IEKbgpNH7BqyU Gc0wxkpCJ3yVddNd4rtVDjqNNQMd/b+anABxYQn9R1QmNJsuLADRZFE+DHUmGecB jbWUPXwF3VVfq4MULOFQYCqieWAojdaGRz/VTLS4USJxJj9syn7E6CmIYexCmLsh dxp9rcN6AFK5ZGLMD6EVUFk24R51qwoXEFENT7sFnOrvpkCDRp4bS8Gk/KxIygTd hFnZWMo6Zn47oytKfCHEkFVUc5o6ZAnw+Nuo4wIP74vOEXb/AxHnps4w==
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from scss.tcd.ie ([127.0.0.1]) by localhost (scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id pAV3PpnC52PH for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 16:06:58 +0100 (IST)
Received: from [IPv6:2001:770:10:203:353a:5c1f:6277:879a] (unknown [IPv6:2001:770:10:203:353a:5c1f:6277:879a]) by smtp.scss.tcd.ie (Postfix) with ESMTPSA id 701DE1714DE for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 16:06:57 +0100 (IST)
Message-ID: <4FD8AC92.3010701@cs.tcd.ie>
Date: Wed, 13 Jun 2012 16:06:58 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1
MIME-Version: 1.0
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
References: <20120613150028.28062.59572.idtracker@ietfa.amsl.com>
In-Reply-To: <20120613150028.28062.59572.idtracker@ietfa.amsl.com>
X-Enigmail-Version: 1.4.2
X-Forwarded-Message-Id: <20120613150028.28062.59572.idtracker@ietfa.amsl.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=134.226.32.56; envelope-from=stephen.farrell@cs.tcd.ie; helo=scss.tcd.ie
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SepAG-0006Yx-QO af36a6dcb205f34f2ea79913f59caf29
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: New Version Notification for draft-farrell-httpbis-hoba-00.txt
Archived-At: <http://www.w3.org/mid/4FD8AC92.3010701@cs.tcd.ie>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13781
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SepAe-00043L-82@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 15:07:44 +0000

FYI, another potential auth mechanism.

-------- Original Message --------
Subject: New Version Notification for draft-farrell-httpbis-hoba-00.txt
Date: Wed, 13 Jun 2012 08:00:28 -0700
From: internet-drafts@ietf.org
To: stephen.farrell@cs.tcd.ie


A new version of I-D, draft-farrell-httpbis-hoba-00.txt
has been successfully submitted by Stephen Farrell and posted to the
IETF repository.

Filename:	 draft-farrell-httpbis-hoba
Revision:	 00
Title:		 HTTP Origin-Bound Authentication (HOBA)
Creation date:	 2012-06-13
WG ID:		 Individual Submission
Number of pages: 11
URL:
http://www.ietf.org/internet-drafts/draft-farrell-httpbis-hoba-00.txt
Status:          http://datatracker.ietf.org/doc/draft-farrell-httpbis-hoba
Htmlized:        http://tools.ietf.org/html/draft-farrell-httpbis-hoba-00


Abstract:
   This memo proposes a way of using origin-bound certificates for HTTP
   authentication, called HOBA.  HOBA is an HTTP authentication method
   with credentials that are not vulnerable to simple phishing attacks,
   and that does not require a server-side password database, both major
   potential positives, if deployed.  HOBA can be integrated with
   account management and other applications running over HTTP and
   supports portability, so a user can associate more than one device or
   origin-bound certificate with the same service.  This also provides a
   mechanism to handle state-loss, if one of a user's credentials is
   lost.  HOBA also provides a logout mechanism.





The IETF Secretariat


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 08:17: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 18A9E21F8503 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 08:17:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.25
X-Spam-Level: 
X-Spam-Status: No, score=-9.25 tagged_above=-999 required=5 tests=[AWL=0.411, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y3YM3-Dlke3B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 08:17:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6977B21F84A0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 08:17:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SepJS-00086z-CJ for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 15:16:50 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1SepJG-0007ip-0z for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 15:16:38 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SepJ4-00083S-J8 for ietf-http-wg@w3.org; Wed, 13 Jun 2012 15:16:36 +0000
Received: by yenq11 with SMTP id q11so609824yen.2 for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 08:16:00 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=PgwXQV8gz2sxrnaeng567y75SyOUuhY26/rZ8W5R7Oo=; b=id95YKr2XLm8ORaqchnZbEl/MHNk3JzC6Ylm1w+UTaCrShB9svPppAv4F7gmbU23JJ SAY6GTynHRk0ddvmbaYMW0o4P+R4PtA/TNq6KTJZYUAWCR47UTvif5CLXLUMQyOzpD4B keULO/1OHsmf8t7D/KVRrEED3J3MakqEec/ZwOjOlH7hfjPsivW6V1mtYSf+JbYRLVAy TzVjpA05W5JA68JamDvFTHPaJjK8AChBpXMUVqxDgmh2+2VoRd1e5q4C0poT2p/O8kC3 Hdgeh564J9o6J0Q7FsF+L06Sqja7UepD2ZbSSqGooc7zjniBJAAWTjDqeNyZQ5Hk8tTd sTxg==
MIME-Version: 1.0
Received: by 10.60.8.35 with SMTP id o3mr24900220oea.45.1339600560735; Wed, 13 Jun 2012 08:16:00 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Wed, 13 Jun 2012 08:16:00 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com>
Date: Wed, 13 Jun 2012 08:16:00 -0700
Message-ID: <CAHBU6iurnW9j+vmRGgz3AffuFDO_yucUoSgHSLLZ5TPoYW-S9w@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8fb1f79a90466d04c25c0fbb
X-Gm-Message-State: ALoCoQkqnMsL+z28XzhL0yUQ9yJ4RgUMDVFuQrJG2pNFuEdLGaaHWaIjqwC12Pax+qXJl9SXI1xB
Received-SPF: none client-ip=209.85.213.171; envelope-from=tbray@textuality.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SepJ4-00083S-J8 d5b3e1fc5b008f460f23f1b210c9a5bb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/CAHBU6iurnW9j+vmRGgz3AffuFDO_yucUoSgHSLLZ5TPoYW-S9w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13782
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SepJS-00086z-CJ@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 15:16:50 +0000

--e89a8fb1f79a90466d04c25c0fbb
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Yeah, if you look at RFC2616 sections 10.4 (4xx) and 10.5 (5xx), you can
make a good case that it doesn=92t belong in either.   I just don=92t belie=
ve
you can make a bullet-proof argument for either range.

The reasons I currently favor 4xx are:

- Lots of client software simply tries to sweep 5xx errors under the carpet
(=93Something went terribly wrong upstream, don=92t bother your pretty litt=
le
head=94)
- I liked the value 451

-T

On Tue, Jun 12, 2012 at 10:35 PM, Roy T. Fielding <fielding@gbiv.com> wrote=
:

> On Jun 12, 2012, at 9:34 AM, Tim Bray wrote:
>
> > Aaaaaaaand, it turns out MNot was right; I checked with an expert, and
> 451 is heavily used for =93redirect=94 in the Msft ecosystem, notably inc=
luding
> HotMail=92s hundreds of millions of users.  Consider it =934xx=94 (which =
I would
> still argue for as opposed to 5xx).  -T
>
> 4xx indicates an error by the user or user agent.  I don't see
> any reason (aside from literary) that would justify using a 4xx
> code for this.  5xx is typically used for non-authoritative
> responses or server-imposed limitations -- a status that might
> be different if the user agent chose a different intermediary
> or tried again later.  Hence, 5xx makes more sense here.
>
> ....Roy
>
>

--e89a8fb1f79a90466d04c25c0fbb
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Yeah, if you look at RFC2616 sections 10.4 (4xx) and 10.5 (5xx), you can ma=
ke a good case that it doesn=92t belong in either.=A0=A0 I just don=92t bel=
ieve you can make a bullet-proof argument for either range.=A0 <br><br>The =
reasons I currently favor 4xx are:<br>
<br>- Lots of client software simply tries to sweep 5xx errors under the ca=
rpet (=93Something went terribly wrong upstream, don=92t bother your pretty=
 little head=94)<br>- I liked the value 451<br><br>-T<br><br><div class=3D"=
gmail_quote">
On Tue, Jun 12, 2012 at 10:35 PM, Roy T. Fielding <span dir=3D"ltr">&lt;<a =
href=3D"mailto:fielding@gbiv.com" target=3D"_blank">fielding@gbiv.com</a>&g=
t;</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 Jun 12, 2012, at 9:34 AM, Tim Bray wrote:<br>
<br>
&gt; Aaaaaaaand, it turns out MNot was right; I checked with an expert, and=
 451 is heavily used for =93redirect=94 in the Msft ecosystem, notably incl=
uding HotMail=92s hundreds of millions of users. =A0Consider it =934xx=94 (=
which I would still argue for as opposed to 5xx). =A0-T<br>

<br>
</div>4xx indicates an error by the user or user agent. =A0I don&#39;t see<=
br>
any reason (aside from literary) that would justify using a 4xx<br>
code for this. =A05xx is typically used for non-authoritative<br>
responses or server-imposed limitations -- a status that might<br>
be different if the user agent chose a different intermediary<br>
or tried again later. =A0Hence, 5xx makes more sense here.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
....Roy<br>
<br>
</font></span></blockquote></div><br>

--e89a8fb1f79a90466d04c25c0fbb--


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 08: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 4C91A21F853D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 08:21:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.449
X-Spam-Level: 
X-Spam-Status: No, score=-9.449 tagged_above=-999 required=5 tests=[AWL=0.527, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kP+AMrRI1bR3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 08:21:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A6D1A21F84E6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 08:21:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SepNO-0000Jp-Vv for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 15:20:55 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1SepNE-0000Ig-6k for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 15:20:44 +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 <tbray@textuality.com>) id 1SepN8-0007DR-FA for ietf-http-wg@w3.org; Wed, 13 Jun 2012 15:20:42 +0000
Received: by obfk16 with SMTP id k16so1054166obf.2 for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 08:20:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=vZKHg/wybaRqyP36fu+Wu7H0RS6Hyjti4wYOmJzEw8k=; b=lEf/SPmrAAvS/5/i1w/Qoxei6mJoGoAuwpvbXQTg+Enh0qfwM3ILYo8sptN5RKZqkG kdDUbsBp0C2Zc/0K+mWAdiQ7tEr4QL2YPoUBIP8dt9xfeCrEPOHf101KKoSW3J2Iah7D HUqBqivNorFY4ndblWIng9K3YYmtNPkOxk8g1k3aatCK99W4vLuN7bgtf8mps5wuv1OS dR8GRRcJFnMVQGLIUHxkhcppCa4l7lM/SKzzTuXSuNcBL3fIQ6BXXxlZISzt1qSPFo+N 6ZFazWF3o/4MJYb97Ey0ZNDnANU52qc6SlVmt8Ofqz9X2W9R1TYyKiYJ4fBBFC7aQMdA QBFw==
MIME-Version: 1.0
Received: by 10.182.115.74 with SMTP id jm10mr25401985obb.71.1339600812518; Wed, 13 Jun 2012 08:20:12 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Wed, 13 Jun 2012 08:20:12 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>
Date: Wed, 13 Jun 2012 08:20:12 -0700
Message-ID: <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Willy Tarreau <w@1wt.eu>, "Roy T. Fielding" <fielding@gbiv.com>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0444ea83922e0a04c25c1e0e
X-Gm-Message-State: ALoCoQmvNMqmQ0myMWKUqix9+r7gFThIDHbJ51hLLUq5b6I94FohJrfHcZ+cbC0GVGgnj9iLB1R/
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SepN8-0007DR-FA 70cf92eaf96a0e088e601d975a6bf792
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13783
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SepNO-0000Jp-Vv@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 15:20:54 +0000

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

On Wed, Jun 13, 2012 at 3:21 AM, Mark Nottingham <mnot@mnot.net> wrote:

If the client retries the request, it might indeed work again -- depending
> on what network path they're using, etc. That's why all of the
> intermediation-focused errors are in 5xx.
>

Hm?  Surely the expectation would be the opposite; legislative/legal
changes typically have timeframes measured in years or at the quickest
months.   -T

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

On Wed, Jun 13, 2012 at 3:21 AM, Mark Nottingham <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:mnot@mnot.net" target=3D"_blank">mnot@mnot.net</a>&gt;</span>=
 wrote:<br><br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote"=
 style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"im">If the client retries the request, it might indeed work a=
gain -- depending on what network path they&#39;re using, etc. That&#39;s w=
hy all of the intermediation-focused errors are in 5xx.<br></div></blockquo=
te>
<div><br>Hm?=A0 Surely the expectation would be the opposite; legislative/l=
egal changes typically have timeframes measured in years or at the quickest=
 months.=A0=A0 -T<br><br></div></div>

--f46d0444ea83922e0a04c25c1e0e--


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 08:21: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 EFD6221F853D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 08:21:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.283
X-Spam-Level: 
X-Spam-Status: No, score=-10.283 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_MILLIONSOF=0.315]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZE47jVrsRta6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 08:21:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E781E21F84E6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 08:21:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SepNf-0000NG-DU for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 15:21:11 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jrn@jrn.me.uk>) id 1SepNU-0000KR-2P for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 15:21:00 +0000
Received: from caiajhbdcbbj.dreamhost.com ([208.97.132.119] helo=homiemail-a4.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SepNK-0008Cb-95 for ietf-http-wg@w3.org; Wed, 13 Jun 2012 15:20:58 +0000
Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id B076951C07C for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 08:20:28 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=message-id:date:from :mime-version:to:subject:references:in-reply-to:content-type; q= dns; s=jrn.me.uk; b=Bj0OGZAk/2T9yZrOv6ZIW6hXZMko87ZpvRiNjGdC2Yka uSZmMMssDNjetR/j1XdRj66262L5T1B6hXw31kr22u264J90reS9c5yaoofo0b0w 8l+W8CKQPO5V5glUjOsf8zQny62bY2QgJC62d8Iz4gPh01p3qmpwgfEaqREo21Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=message-id :date:from:mime-version:to:subject:references:in-reply-to: content-type; s=jrn.me.uk; bh=scROppAxwpkuEgLjbFhW14YaPeo=; b=VF mnqqKlcJNoI7WBxv2SzuJhhdYYW52C0uXsA81qSY+F452oE+dia76laUJOBNIrho z2yE8epff48tx+a1ZXiusUG9VI+REMoUto+M2jngIs6rGPH1uGbF9rcxAQLv4bQ/ orBsUDYeer3JKpUDMiY5LpXCGI3RFWmJEyTdJPyI0=
Received: from itsmac-jrn.st-andrews.ac.uk (itsmac-jrn.st-andrews.ac.uk [138.251.61.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id 3D01A51C063 for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 08:20:28 -0700 (PDT)
Message-ID: <4FD8AFBA.9080106@jrn.me.uk>
Date: Wed, 13 Jun 2012 16:20:26 +0100
From: Ross Nicoll <jrn@jrn.me.uk>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <CAHBU6iurnW9j+vmRGgz3AffuFDO_yucUoSgHSLLZ5TPoYW-S9w@mail.gmail.com>
In-Reply-To: <CAHBU6iurnW9j+vmRGgz3AffuFDO_yucUoSgHSLLZ5TPoYW-S9w@mail.gmail.com>
Content-Type: multipart/alternative; boundary="------------070206050904020401020403"
Received-SPF: none client-ip=208.97.132.119; envelope-from=jrn@jrn.me.uk; helo=homiemail-a4.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
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_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SepNK-0008Cb-95 fb64df1acec9e79f591a35ae4b3e33d9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FD8AFBA.9080106@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13784
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SepNf-0000NG-DU@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 15:21:11 +0000

This is a multi-part message in MIME format.
--------------070206050904020401020403
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

In an ideal world, I'd start a new 600-level status series, for "3rd=20
party", but strongly suspect that's infeasible due to impact on existing=20
implementations. A 400-level code (451 or otherwise) is probably the=20
most practical way of doing this.

Ross

On 13/06/2012 16:16, Tim Bray wrote:
> Yeah, if you look at RFC2616 sections 10.4 (4xx) and 10.5 (5xx), you=20
> can make a good case that it doesn=92t belong in either.   I just don=92=
t=20
> believe you can make a bullet-proof argument for either range.
>
> The reasons I currently favor 4xx are:
>
> - Lots of client software simply tries to sweep 5xx errors under the=20
> carpet (=93Something went terribly wrong upstream, don=92t bother your=20
> pretty little head=94)
> - I liked the value 451
>
> -T
>
> On Tue, Jun 12, 2012 at 10:35 PM, Roy T. Fielding <fielding@gbiv.com=20
> <mailto:fielding@gbiv.com>> wrote:
>
>     On Jun 12, 2012, at 9:34 AM, Tim Bray wrote:
>
>     > Aaaaaaaand, it turns out MNot was right; I checked with an
>     expert, and 451 is heavily used for =93redirect=94 in the Msft
>     ecosystem, notably including HotMail=92s hundreds of millions of
>     users.  Consider it =934xx=94 (which I would still argue for as
>     opposed to 5xx).  -T
>
>     4xx indicates an error by the user or user agent.  I don't see
>     any reason (aside from literary) that would justify using a 4xx
>     code for this.  5xx is typically used for non-authoritative
>     responses or server-imposed limitations -- a status that might
>     be different if the user agent chose a different intermediary
>     or tried again later.  Hence, 5xx makes more sense here.
>
>     ....Roy
>
>


--------------070206050904020401020403
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dwindows-1252"
      http-equiv=3D"Content-Type">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    In an ideal world, I'd start a new 600-level status series, for "3rd
    party", but strongly suspect that's infeasible due to impact on
    existing implementations. A 400-level code (451 or otherwise) is
    probably the most practical way of doing this.<br>
    <br>
    Ross<br>
    <br>
    On 13/06/2012 16:16, Tim Bray wrote:
    <blockquote
cite=3D"mid:CAHBU6iurnW9j+vmRGgz3AffuFDO_yucUoSgHSLLZ5TPoYW-S9w@mail.gmai=
l.com"
      type=3D"cite">Yeah, if you look at RFC2616 sections 10.4 (4xx) and
      10.5 (5xx), you can make a good case that it doesn=92t belong in
      either.=A0=A0 I just don=92t believe you can make a bullet-proof
      argument for either range.=A0 <br>
      <br>
      The reasons I currently favor 4xx are:<br>
      <br>
      - Lots of client software simply tries to sweep 5xx errors under
      the carpet (=93Something went terribly wrong upstream, don=92t both=
er
      your pretty little head=94)<br>
      - I liked the value 451<br>
      <br>
      -T<br>
      <br>
      <div class=3D"gmail_quote">
        On Tue, Jun 12, 2012 at 10:35 PM, Roy T. Fielding <span
          dir=3D"ltr">&lt;<a moz-do-not-send=3D"true"
            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:1px #ccc solid;padding-left:1ex">
          <div class=3D"im">On Jun 12, 2012, at 9:34 AM, Tim Bray wrote:<=
br>
            <br>
            &gt; Aaaaaaaand, it turns out MNot was right; I checked with
            an expert, and 451 is heavily used for =93redirect=94 in the
            Msft ecosystem, notably including HotMail=92s hundreds of
            millions of users. =A0Consider it =934xx=94 (which I would st=
ill
            argue for as opposed to 5xx). =A0-T<br>
            <br>
          </div>
          4xx indicates an error by the user or user agent. =A0I don't se=
e<br>
          any reason (aside from literary) that would justify using a
          4xx<br>
          code for this. =A05xx is typically used for non-authoritative<b=
r>
          responses or server-imposed limitations -- a status that might<=
br>
          be different if the user agent chose a different intermediary<b=
r>
          or tried again later. =A0Hence, 5xx makes more sense here.<br>
          <span class=3D"HOEnZb"><font color=3D"#888888"><br>
              ....Roy<br>
              <br>
            </font></span></blockquote>
      </div>
      <br>
    </blockquote>
    <br>
  </body>
</html>

--------------070206050904020401020403--


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 09:39: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 5D85411E8072 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 09:39:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.256
X-Spam-Level: 
X-Spam-Status: No, score=-10.256 tagged_above=-999 required=5 tests=[AWL=0.343, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4AvWngPUFxv0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 09:39:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E163311E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 09:39:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Seqa2-0006By-MJ for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 16:38:03 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1SeqWm-0004ns-3P for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 16:34:41 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SeqW9-0002SO-6T for ietf-http-wg@w3.org; Wed, 13 Jun 2012 16:34:02 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q5DGXUBB025938; Wed, 13 Jun 2012 18:33:30 +0200
Date: Wed, 13 Jun 2012 18:33:30 +0200
From: Willy Tarreau <w@1wt.eu>
To: Tim Bray <tbray@textuality.com>
Cc: Mark Nottingham <mnot@mnot.net>, "Roy T. Fielding" <fielding@gbiv.com>, ietf-http-wg@w3.org
Message-ID: <20120613163330.GA25932@1wt.eu>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SeqW9-0002SO-6T 150dfe2e04f1bb810e76ba92fc8b1123
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/20120613163330.GA25932@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13785
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Seqa2-0006By-MJ@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 16:38:02 +0000

On Wed, Jun 13, 2012 at 08:20:12AM -0700, Tim Bray wrote:
> On Wed, Jun 13, 2012 at 3:21 AM, Mark Nottingham <mnot@mnot.net> wrote:
> 
> If the client retries the request, it might indeed work again -- depending
> > on what network path they're using, etc. That's why all of the
> > intermediation-focused errors are in 5xx.
> >
> 
> Hm?  Surely the expectation would be the opposite; legislative/legal
> changes typically have timeframes measured in years or at the quickest
> months.   -T

I agree Tim. In my opinion it's just like a "403 forbidden" with a specific
reason for this being administratively forbidden.

Willy



From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 13:34: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 E867321F851C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 13:34: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O12CmXgT8bBL for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 13:34:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3D9AD21F847F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 13:34:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SeuE8-0003f6-6Z for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 20:31:40 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jacob@appelbaum.net>) id 1SeuDR-0003Jx-Cc for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 20:30:57 +0000
Received: from mail-pz0-f43.google.com ([209.85.210.43]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <jacob@appelbaum.net>) id 1SeuDP-00040z-6D for ietf-http-wg@w3.org; Wed, 13 Jun 2012 20:30:55 +0000
Received: by dajz8 with SMTP id z8so1600441daj.2 for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 13:30:29 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject:openpgp :content-type:content-transfer-encoding:x-gm-message-state; bh=4IVIARntipNllHLIJWJXif3v4MvMcsYWeVRNg8J8De8=; b=O/dAB3zWBcUa82btoa5CqYA4zJ4qO1Cg/1yXcRYluUgI+T9AdsBa8DhF/VxbrzOE8R Oq4ZNmBqG+C+sGdyFJ9k5v2R9WJ/6MM6pRybBnTsihlxu/WRhFSr3IpBUymCylb1tuIh D/3w9upS7Q743mQ8AspbM8WoecWvl1SlPkw/WNg1Z8RC+WaQW5uFOERIyT9ZdoNGRh+X fw2edqTFGYascQq50Ep8xK81kwV2yq3sPXfQ9sIWAxLMdenNPUrZReoDD07majGRXbu7 eSw4Vpk6K1+b9ksKbCQ2mCMcnayXEjlRKUbaHhwCHckz5xzTbeX9vX07LLwZuwNGCQKf wvjw==
Received: by 10.68.227.198 with SMTP id sc6mr54013701pbc.138.1339619428911; Wed, 13 Jun 2012 13:30:28 -0700 (PDT)
Received: from [127.0.0.1] (smtp.dyn.cs.washington.edu. [128.208.6.19]) by mx.google.com with ESMTPS id ql3sm6824680pbc.72.2012.06.13.13.30.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jun 2012 13:30:28 -0700 (PDT)
Message-ID: <4FD8F85F.1000404@appelbaum.net>
Date: Wed, 13 Jun 2012 13:30:23 -0700
From: Jacob Appelbaum <jacob@appelbaum.net>
User-Agent: mutt
MIME-Version: 1.0
To: tbray@textuality.com
CC: Tor assistants list <tor-assistants@torproject.org>,  ietf-http-wg@w3.org
OpenPGP: id=4193A197; url=http://www.appelbaum.net/gpg.asc
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQm9/NYROig9NFN11P++vWD+0TMoS2PLHQRtPl5QAfeRWAFhACEa2KyXtRXjJCH4+zLbQ1k+
Received-SPF: none client-ip=209.85.210.43; envelope-from=jacob@appelbaum.net; helo=mail-pz0-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
X-W3C-Scan-Sig: lisa.w3.org 1SeuDP-00040z-6D 210b269c2f7e1feb1426704254f494cd
X-Original-To: ietf-http-wg@w3.org
Subject: 451 Unavailable For Legal Reasons
Archived-At: <http://www.w3.org/mid/4FD8F85F.1000404@appelbaum.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13786
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SeuE8-0003f6-6Z@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 20:31:40 +0000

Hi Tim,

I recently came across your draft. I believe that while the spirit is
admirable, in a sort of depressing sense, it's seems incorrect to
implement it properly without changing a few things...

This seems like a fatal flaw:

   The 451 status code is optional; clients cannot rely upon its use.
   It is imaginable that certain legal authorities may wish to avoid
   transparency, and not only forbid access to certain resources, but
   also disclosure that the restriction exists.

While the reason may be optional, I firmly believe that the status code
itself must be present or there is little reason for the updated spec.
Some oppressive regimes will implement it properly and more oppressive
"legal authorities" will, like with nearly all things, go further and be
completely non-standard. Non-compliance by the worst is not a good
reason to let everyone else off the hook.

Furthermore, I think this is another major issue:

   The HTTP Status Codes Registry should be updated with the following
   entries:

   o  Code: 451
   o  Description: Unavailable for Legal Reasons
   o  Specification: [ this document ]


I suggest:

-   o  Description: Unavailable for Legal Reasons
+   o  Description: Resource Unavailable, Censored and Redacted


It may be by court order with a subpoena, by legal interpretation of a
specific law such as DMCA in the US, by sanction which restricts those
unable to democratically change those laws, by social restriction or
authoritarian decree such as in China or Syria, or by accidental
corporate blocklists such as in Burma or many US corporate networks.

To lump all of this into "legal" is likely to be incorrect - rather it
is perhaps more important to disclose the result and not the unknown,
often secret or even illegal to disclose process. Additionally, this
meets the definition of unavailable ( not available or accessible or at
hand ), censored ( suppress unacceptable parts ) and redacted (for legal
*or* security reasons ) for the resource in question.

I think 451 is also a contentious code from what I've seen online but
that's an entirely different can of worms. If I might, I'd suggest 6xx
as 666 is sure to make the topic even more hilarious... ;-)

All the best,
Jacob


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 15:02: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 E7AAE21F851A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 15:02:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.907
X-Spam-Level: 
X-Spam-Status: No, score=-9.907 tagged_above=-999 required=5 tests=[AWL=0.692, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dKKGlMoQiERt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 15:02:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4182921F850F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 15:02:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sevc1-0000yN-4T for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 22:00:25 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sevbl-0000tA-Gm for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 22:00:09 +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 1Sevbi-0007HS-NZ for ietf-http-wg@w3.org; Wed, 13 Jun 2012 22:00:07 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7E3AB50A64; Wed, 13 Jun 2012 17:59:43 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com>
Date: Thu, 14 Jun 2012 07:59:40 +1000
Cc: Willy Tarreau <w@1wt.eu>, "Roy T. Fielding" <fielding@gbiv.com>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <59FD4FD1-43B7-4ED3-9FEE-13F36D0AA140@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
X-Mailer: Apple Mail (2.1278)
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 1Sevbi-0007HS-NZ 4812fe467f169cad64957608ee7c74d7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/59FD4FD1-43B7-4ED3-9FEE-13F36D0AA140@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13787
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sevc1-0000yN-4T@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 22:00:25 +0000

On 14/06/2012, at 1:20 AM, Tim Bray wrote:

> On Wed, Jun 13, 2012 at 3:21 AM, Mark Nottingham <mnot@mnot.net> =
wrote:
>=20
> If the client retries the request, it might indeed work again -- =
depending on what network path they're using, etc. That's why all of the =
intermediation-focused errors are in 5xx.
>=20
> Hm?  Surely the expectation would be the opposite; legislative/legal =
changes typically have timeframes measured in years or at the quickest =
months.   -T

VPNs. Proxies. Airplanes. Tor.

Living in the non-US* makes it blindingly obvious that geolocation =
schemes, network border controls, etc. are extremely porous; the =
Internet works around them.

Cheers,

* Canada doesn't count; /me ducks


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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 16:27: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 F016B11E80B0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 16:27:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.612
X-Spam-Level: 
X-Spam-Status: No, score=-8.612 tagged_above=-999 required=5 tests=[AWL=1.987, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y1MjJFJkihfM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 16:27:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 65A3011E8083 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 16:27:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SewvV-0003ci-Qh for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 23:24:37 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1Sewv8-0003XD-LM for ietf-http-wg@listhub.w3.org; Wed, 13 Jun 2012 23:24: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 1Sewv5-0001vl-Pc for ietf-http-wg@w3.org; Wed, 13 Jun 2012 23:24:12 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id C40CBE6F33; Thu, 14 Jun 2012 11:23:47 +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: Thu, 14 Jun 2012 11:23:47 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <20120613163330.GA25932@1wt.eu>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com> <20120613163330.GA25932@1wt.eu>
Message-ID: <1bd1d279565c7f6f2ed63ecdc13cd41e@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=-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 1Sewv5-0001vl-Pc 21cf23f5fc4bf1d112392e7bee1ae531
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for  draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13788
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SewvV-0003ci-Qh@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 23:24:37 +0000

On 14.06.2012 04:33, Willy Tarreau wrote:
> On Wed, Jun 13, 2012 at 08:20:12AM -0700, Tim Bray wrote:
>> On Wed, Jun 13, 2012 at 3:21 AM, Mark Nottingham wrote:
>>
>> If the client retries the request, it might indeed work again -- 
>> depending
>> > on what network path they're using, etc. That's why all of the
>> > intermediation-focused errors are in 5xx.
>> >
>>
>> Hm?  Surely the expectation would be the opposite; legislative/legal
>> changes typically have timeframes measured in years or at the 
>> quickest
>> months.   -T
>
> I agree Tim. In my opinion it's just like a "403 forbidden" with a 
> specific
> reason for this being administratively forbidden.
>
> Willy


Would these types of differentiation between reasons for rejection be a 
good case for Warning: codes on a 403 response?

ie
  Warning: ... Legal Restriction
  Warning: ... Local administrative policy
  Warning: ... Authentication failed too many times. Your account is now 
closed
  ...

The body of 403 can as easily contain the legal disclaimer text as any 
other 4xx code.


AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 16:47: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 8598411E80D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 16:47:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.565
X-Spam-Level: 
X-Spam-Status: No, score=-9.565 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTTP_ESCAPED_HOST=0.134, J_CHICKENPOX_43=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qRpwPC+ZdZG3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 16:47:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A2E2F11E80C0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 16:47:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SexFw-00015q-Lf for ietf-http-wg-dist@listhub.w3.org; Wed, 13 Jun 2012 23:45:44 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <kornel@geekhood.net>) id 1SexFr-000157-1W; Wed, 13 Jun 2012 23:45:39 +0000
Received: from pornel.net ([178.77.100.176]) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <kornel@geekhood.net>) id 1SexFn-0007xV-Sc; Wed, 13 Jun 2012 23:45:37 +0000
Received: from 96.95.187.81.in-addr.arpa ([81.187.95.96] helo=aimac.local) by pornel.net with esmtpa (Exim 4.72) (envelope-from <kornel@geekhood.net>) id 1SexFP-0001Uj-Jv; Thu, 14 Jun 2012 01:45:12 +0200
Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes
Cc: ietf-http-wg@w3.org
To: public-html@w3.org
Date: Thu, 14 Jun 2012 00:45:10 +0100
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
From: =?utf-8?B?S29ybmVsIExlc2nFhHNraQ==?= <kornel@geekhood.net>
Message-ID: <op.wfu79kggte2ec8@aimac.local>
User-Agent: Opera Mail/12.00 (MacIntel)
X-SA-Exim-Connect-IP: 81.187.95.96
X-SA-Exim-Mail-From: kornel@geekhood.net
X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:26:47 +0000)
X-SA-Exim-Scanned: Yes (on pornel.net)
Received-SPF: pass client-ip=178.77.100.176; envelope-from=kornel@geekhood.net; helo=pornel.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: maggie.w3.org 1SexFn-0007xV-Sc deddd9581a329e8b08d66862d61caecb
X-Original-To: ietf-http-wg@w3.org
Subject: enc: URL scheme
Archived-At: <http://www.w3.org/mid/op.wfu79kggte2ec8@aimac.local>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13789
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SexFw-00015q-Lf@frink.w3.org>
Resent-Date: Wed, 13 Jun 2012 23:45:44 +0000

I'd like to propose an enhancement of the http+aes scheme (in WHATWG  
draft), and a generalization of the ClearKey Encrypted Media proposal.

This URL scheme is for providing encryption and integrity guarantees on  
top of other protocols.
It is intended to enable secure hosting of content on untrusted servers,  
e.g. storing private photos, commercial videos or shared JavaScript  
libraries on 3rd party HTTP content delivery networks.

----

The scheme uses attribute-value pairs to define type of encryption and  
digests used and includes absolute URI of the resource to be fetched.

     enc:<parameters>,<absoluteURI>

User agents are expected to fetch the resource using the (sub)protocol  
specified (following all redirects) and then decrypt it and/or verify its  
integrity according to the specified attribute(s).

For a start "sha1", "sha256" and "aes-ctr-key" are defined.

##Syntax

> (intended to be similar to data: URI)

     encurl        := "enc:" parameter *( ";" parameter ) "," absoluteURI
     parameter     := attribute "=" value
     value         := 1*pchar
     attribute     := optional_attr | required_attr
     optional_attr := 1*unreserved "?"
     required_attr := 1*unreserved

"`absoluteURI`", "`pchar`" and "`unreserved`" are the corresponding tokens  
 from [RFC2396].

Order of attributes is significant.

##Attributes

UA MUST NOT fetch resource from `enc:` URL which has a required attribute  
that the UA does not support.

UA MAY fetch the resource if it does not support an optional attribute.

UA MUST NOT use the resource if checksum specified in an optional  
supported attribute does not match fetched data (e.g. if UA is able to  
determine that the resource doesn't match `sha9999` digest then it should  
reject the resource).

###The `sha1` and `sha256` attributes

These attributes contain SHA-1 or SHA-256 digests of the content or the  
ciphertext. If the attribute is specified before an encryption attribute,  
it's a digest of unencrypted content. If it's specified after an  
encryption attribute, it's a digest of the ciphertext.

> (If there's a good reason to only hash before/after encryption, then it  
> should be defined as that instead, and then order of attributes could be  
> meaningless)

UA must fetch the entire resource and verify it matches the given hash. If  
it doesn't match, then the UA MUST NOT use the resource and must act as if  
the resource could not be obtained due to a network error.

     value         := sha_base64 | sha_hex

The `sha_base64` is a string base64-encoded as described in Section 6.8 of  
[RFC2045]. `sha_hex` is a string of 40 (`sha1`) or 64 (`sha256`)  
hexadecimal characters (case-insensitive).

     enc:sha1=Ck1VqNd45QIvq3AZd8XYQLvEhtA=,http://example.com/Hello%20World
     enc:sha1=0a4d55a8d778e5022fab701977c5d840bbc486d0,http://example.com/Hello%20World


Other specifications may define digest methods that are suitable for  
partial requests or streaming of content (e.g. hash trees).

     enc:sha1=ff4e04b67591f413dc713d8e9b7697c352c022f1,hashtree?=http%3A%2F%2Fexample.com%2FHello%2520World.index,http://example.com/video.ogv

####Security and privacy considerations

This attribute enables user agents to avoid fetching resources if they  
already have a cached resource matching the digest. An attacker could use  
such implementation to test whether users have certain known files cached  
(e.g. an image shown to users logged in to a particular website).

Attackers could also use this to obtain contents of cached files they only  
know checksum of (e.g. attacker may have seen a digital signature of a  
secret document and attempt to retrieve the document by including its  
digest in a bogus `enc:` URL).

User agents may want to limit sharing of cached files to files with  
`Cache-Control: public` or avoid sharing cached files across origins.

###The `aes-ctr-key` attribute

     value        := aes128_base64 | aes192_base64 | aes256_base64

This key is provided in the form of 16, 24, or 32 bytes base64-encoded as  
described in Section 6.8 of [RFC2045].

The message body must be decrypted by applying the AES-CTR algorithm using  
the key specified, and using a zero nonce.

If the base64-decoded value does not consist of exactly 16, 24, or 32  
bytes, then the user agent must act as if the resource could not be  
obtained due to a network error, and may report the problem to the user.

     enc:aes-ctr-key=ZGFtb3dtb3dkYW1vd21vdw==,http://example.com

####Security considerations

URLs using this attribute contain sensitive information (the key used to  
decrypt the referenced content) and as such should be handled with care,  
e.g. only sent over TLS-encrypted connections, and only sent to users who  
are authorized to access the encrypted content.

User agents are encouraged to not show the full `enc:` URLs in user  
interface elements where the URL is displayed, as it could be used to  
obscure the domain name.

This attribute enables the content of a particular resource to be  
encrypted. If protocol used to fetch the resource is not encrypted itself,  
it may leak private information through metadata, e.g. information held in  
HTTP headers. The length and name of the resource may still be visible.
The rate at which the data is transmitted is also unobscured. If this  
scheme is used to obscure private information, it is important to consider  
how these side channels might leak information.

Each resource encrypted in this fashion must use a fresh key. Otherwise,  
an attacker can use commonalities in the resources' plaintexts to  
determine the key and decrypt all the resources sharing a key.

The encryption does not guarantee integrity. Attacker will be able to  
truncate or corrupt the resource unless a cryptographically strong  
checksum is used as well.

> (Encryption without integrity is sufficient if you just want to protect  
> against the CDN being hacked/accidentally leaking all their files,  
> rather than malicious CDNs.)

##Origin

For the purpose of Same-Origin Policy the URL embedded in the `enc:`  
scheme should be used.

`enc:x=y,http://example.com` and `http://example.com` are same origin.

`enc:x=y,http://example.com` and `enc:x=y,https://example.com` are not  
same origin.



-- 
regards, Kornel LesiÅ„ski


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 17:28: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 1078C11E80AF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 17:28:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.943
X-Spam-Level: 
X-Spam-Status: No, score=-9.943 tagged_above=-999 required=5 tests=[AWL=0.656, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VsF-d313cxCh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 17:28:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2692021F852B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 17:28:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sextb-0007kz-E0 for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 00:26:43 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SextM-0007k8-By for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 00:26:28 +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 1SextJ-0000ig-ID for ietf-http-wg@w3.org; Thu, 14 Jun 2012 00:26:26 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 695C9509EB; Wed, 13 Jun 2012 20:26:00 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz>
Date: Thu, 14 Jun 2012 10:25:58 +1000
Cc: <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com> <20120613163330.GA25932@1wt.eu> <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SextJ-0000ig-ID 484869ab8957a096f12f69c4e4b48b08
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for  draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13790
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sextb-0007kz-E0@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 00:26:43 +0000

On 14/06/2012, at 9:23 AM, Amos Jeffries wrote:

> On 14.06.2012 04:33, Willy Tarreau wrote:
>> On Wed, Jun 13, 2012 at 08:20:12AM -0700, Tim Bray wrote:
>>> On Wed, Jun 13, 2012 at 3:21 AM, Mark Nottingham wrote:
>>>=20
>>> If the client retries the request, it might indeed work again -- =
depending
>>> > on what network path they're using, etc. That's why all of the
>>> > intermediation-focused errors are in 5xx.
>>> >
>>>=20
>>> Hm?  Surely the expectation would be the opposite; legislative/legal
>>> changes typically have timeframes measured in years or at the =
quickest
>>> months.   -T
>>=20
>> I agree Tim. In my opinion it's just like a "403 forbidden" with a =
specific
>> reason for this being administratively forbidden.
>>=20
>> Willy
>=20
>=20
> Would these types of differentiation between reasons for rejection be =
a good case for Warning: codes on a 403 response?
>=20
> ie
> Warning: ... Legal Restriction
> Warning: ... Local administrative policy
> Warning: ... Authentication failed too many times. Your account is now =
closed
> ...
>=20
> The body of 403 can as easily contain the legal disclaimer text as any =
other 4xx code.

So, again -- what's the use case for a machine consuming these? I =
haven't seen one yet, unless I've missed something.

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 18:28: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 1001121F8542 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 18:28:52 -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.623, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f93XcFp3olVl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 18:28:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3337621F8540 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 18:28:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Seypv-0003jn-Bq for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 01:26:59 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Seypj-0003i2-Ru for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 01:26:47 +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 1Seypg-0002pI-S3 for ietf-http-wg@w3.org; Thu, 14 Jun 2012 01:26:45 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0420750A6A for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 21:26:22 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Thu, 14 Jun 2012 11:26:20 +1000
Message-Id: <259DC2A5-A56B-4ED8-A26F-F24B01439F03@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1Seypg-0002pI-S3 b27d29269585ce467dcd36d737de7b69
X-Original-To: ietf-http-wg@w3.org
Subject: Vancouver in July
Archived-At: <http://www.w3.org/mid/259DC2A5-A56B-4ED8-A26F-F24B01439F03@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13791
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Seypv-0003jn-Bq@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 01:26:59 +0000

Just so people know, I've requested slots in the Vancouver meeting; the =
preliminary agenda (giving us our time slots) will be available on =
2012-06-28, according to =
<https://www.ietf.org/meeting/cutoff-dates-2012.html#IETF84>.

As in Paris, we'll have two slots; one to discuss the 1.1 bis effort, =
one to discuss 2.0.

We're likely to have a lot of ground to cover in the latter one, =
considering that our goal for the meeting will be to have a proposed =
re-charter with a plan for both HTTP/2.0 and an authentication scheme. =
This is going to make preparation and discussion before the meeting =
important, because our time there will be limited.

We'll kick that off in earnest after tomorrow, when our call for =
proposals closes.

Regards,

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 18:53: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 95A1221F8469 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 18:53:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.977
X-Spam-Level: 
X-Spam-Status: No, score=-8.977 tagged_above=-999 required=5 tests=[AWL=1.000, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AocZqiWhcFJ1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 18:53:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7DF9321F8468 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 18:53:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SezEP-00084d-E6 for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 01:52:17 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <y.oiwa@aist.go.jp>) id 1SezEE-00083h-GX for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 01:52:06 +0000
Received: from na3sys010aog110.obsmtp.com ([74.125.245.88]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SezEB-0007kS-UC for ietf-http-wg@w3.org; Thu, 14 Jun 2012 01:52:05 +0000
Received: from mail-gh0-f180.google.com ([209.85.160.180]) (using TLSv1) by na3sys010aob110.postini.com ([74.125.244.12]) with SMTP ID DSNKT9lDrucrNBzYLlgAeKxZ+wRfGbHNV0s2@postini.com; Wed, 13 Jun 2012 18:52:03 PDT
Received: by ghbz12 with SMTP id z12so1376287ghb.39 for <ietf-http-wg@w3.org>; Wed, 13 Jun 2012 18:51:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=yJhpIlvIgetEOjmh40zuZaM82SIBfr0lewHBDkXS9/Y=; b=JOhmov+UmzEewTxyzHkJ8HvZmBeJ7PKyBW91OnzhJyXJuvVERhglDywn34XJ/0eblF qURZ+OfRxZQhGbMAt5KRYaVr8zqSkj0VeXttuNe8O2qIgpiV10ac1eGE84NzkpDGySgO 7smuex9HQ74069hsGxBgMaHXK8H6rdb3/3C3s=
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:content-transfer-encoding:x-gm-message-state; bh=yJhpIlvIgetEOjmh40zuZaM82SIBfr0lewHBDkXS9/Y=; b=NEpcRPlWo5BSSdaZ2bMtPf+7WQArj3XlRYn1xBjJG9Zz/m5XH7L9xPaUThqw77nUoy 98yCqHIr9v503N5rZ2Sx9pfriMkiZWPjnPOV7EA9ZcvdxV8SUuy9xqpGmPeumJno6hw2 fttykkEEDqdnuF7QDBzcmq0nDTO/Ad1Nfw3/4I0gwY9aktqYVi7KH2Xzb4v5GH0En+z6 aygkNbsrFebssesHBXX4jSDsx3qvN3Il3YAT7AKCk6c0Emr0jcmRhjTWpPMiKc5p5p6G T/ENN1+Ebi4abccfZel2wconeaqXElDlKGpEvM/SBgRqB5mAsFrTlN53CpwurMmJvGcn 4IhQ==
Received: by 10.50.222.170 with SMTP id qn10mr5462igc.45.1339638701445; Wed, 13 Jun 2012 18:51:41 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.85.101 with HTTP; Wed, 13 Jun 2012 18:51:21 -0700 (PDT)
In-Reply-To: <C8F62D17-2D64-4FBA-A6B8-80652465150B@isode.com>
References: <C8F62D17-2D64-4FBA-A6B8-80652465150B@isode.com>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Thu, 14 Jun 2012 10:51:21 +0900
Message-ID: <CAMeZVwvGb0mr34vrYksWEf0pWqv7GiPfvKAnqdE+Gro+mbwNVg@mail.gmail.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQk/avwQmi1CPI/Gu+SUEMgK/xxfPf8RiBwQkr4T9IDeSTHdtzUJC5c/4+yrD/ABCx/v5i0D
Received-SPF: pass client-ip=74.125.245.88; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog110.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SezEB-0007kS-UC d05c2819d2eccc6a030f5cf0e5a2000b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Comments on draft-oiwa-httpbis-auth-extension-00
Archived-At: <http://www.w3.org/mid/CAMeZVwvGb0mr34vrYksWEf0pWqv7GiPfvKAnqdE+Gro+mbwNVg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13792
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SezEP-00084d-E6@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 01:52:17 +0000

Dear Alexey,

Thank you very much.
Your comments are really valuable for me to improve the draft.

I'd like to answer immediately for the comment on optional
authentication design:

2012/6/11 Alexey Melnikov <alexey.melnikov@isode.com>:

> Optional authentication: is a new header field really needed or can this =
be already done using a 200 response containing a WWW-Authenticate header f=
ield? Was use of 200 with WWW-Authenticate tried and it didn't work with ex=
isting browsers?

As far as I know,

 * Until recently, validity for the use of WWW-Authenticate header in
200-response
    was unclear.  It was clarified in the discussion of httpbis and it
is now OK.
    (I designed the protocol before that.)

 * My design principle is that, clients not supporting optional authenticat=
ion
    should ignore the request, so that Web site programmers can implement
    their own fallback mechanisms.

 * Someone in httpbis ML has checked for behavior of various browsers,
   and it will work (ignored) for all except one browser (forcibly
authenticate),
   I remember.

 * I want some consensus whether we can ignore this one case for the future=
,
   or we have to be conservative on that.

 * I like both approaches, so if people think the alternative is better,
   I'd like to migrate it.

 * We need some additional rules for making optional authentication
   with 200-status work (such as how the server will tell client about
   success/failure status of the authentication).
   I will research it and update the draft once the direction is decided.

--=20
Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliability =
Research Group
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Institu=
te for Secure Systems (RISEC)
=A0 =A0National Institute of Advanced Industrial Science and Technology (AI=
ST)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.go.=
jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 46=
B5]


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 19:31: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 9581E11E80CE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 19:31:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.799
X-Spam-Level: 
X-Spam-Status: No, score=-8.799 tagged_above=-999 required=5 tests=[AWL=1.500, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N6Nq0tXgy0C7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 19:31:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 07DD511E8089 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 19:31:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sezp6-0007Gk-EP for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 02:30:12 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <cabo@tzi.org>) id 1Sezot-000641-OF; Thu, 14 Jun 2012 02:29:59 +0000
Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18] helo=informatik.uni-bremen.de) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <cabo@tzi.org>) id 1Sezoq-0004Tk-Vd; Thu, 14 Jun 2012 02:29: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 q5E2TMTR019163; Thu, 14 Jun 2012 04:29:23 +0200 (CEST)
Received: from [192.168.217.105] (p54899DA7.dip.t-dialin.net [84.137.157.167]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id 9C44AD83; Thu, 14 Jun 2012 04:29:22 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=utf-8
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <op.wfu79kggte2ec8@aimac.local>
Date: Thu, 14 Jun 2012 04:29:21 +0200
Cc: public-html@w3.org, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <7911A364-5434-4078-B66F-019D1508FB33@tzi.org>
References: <op.wfu79kggte2ec8@aimac.local>
To: =?utf-8?Q?Kornel_Lesi=C5=84ski?= <kornel@geekhood.net>
X-Mailer: Apple Mail (2.1278)
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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sezoq-0004Tk-Vd fa17d84bfc08e61868f3450196bf59de
X-Original-To: ietf-http-wg@w3.org
Subject: Re: enc: URL scheme
Archived-At: <http://www.w3.org/mid/7911A364-5434-4078-B66F-019D1508FB33@tzi.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13793
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sezp6-0007Gk-EP@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 02:30:12 +0000

On Jun 14, 2012, at 01:45, Kornel Lesi=C5=84ski wrote:

>    enc:<parameters>,<absoluteURI>

Yep, that nicely generalizes the "frob" idea I proposed in =
http://lists.w3.org/Archives/Public/ietf-http-wg/2012JanMar/0833.html =
(except that it focuses in on encryption).

Given that the IETF is closing in on the ni: scheme for the hash-based =
part, would it be worthwhile thinking about aligning yours with that?  =
http://tools.ietf.org/html/draft-farrell-decade-ni

Gr=C3=BC=C3=9Fe, Carsten



From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 19:45: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 E8F1D11E80E9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 19:45:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.37
X-Spam-Level: 
X-Spam-Status: No, score=-10.37 tagged_above=-999 required=5 tests=[AWL=-0.071, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KvJVTfy3iT8N for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 19:45:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3826911E80CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 19:45:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf03l-0000ia-8s for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 02:45:21 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sf03U-0000Bl-SZ; Thu, 14 Jun 2012 02:45: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 1Sf03R-0004xn-So; Thu, 14 Jun 2012 02:45:02 +0000
Received: from l31xqfs1.rackspace.corp (unknown [69.20.3.135]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 19A5B22DD6D; Wed, 13 Jun 2012 22:44:38 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=utf-8
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <7911A364-5434-4078-B66F-019D1508FB33@tzi.org>
Date: Thu, 14 Jun 2012 12:44:34 +1000
Cc: public-html WG <public-html@w3.org>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8569D28F-27EE-4309-A294-870BAA195743@mnot.net>
References: <op.wfu79kggte2ec8@aimac.local> <7911A364-5434-4078-B66F-019D1508FB33@tzi.org>
To: =?utf-8?Q?Kornel_Lesi=C5=84ski?= <kornel@geekhood.net>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sf03R-0004xn-So f0983abd55d36b23c0fd377d56eaf202
X-Original-To: ietf-http-wg@w3.org
Subject: Re: enc: URL scheme
Archived-At: <http://www.w3.org/mid/8569D28F-27EE-4309-A294-870BAA195743@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13794
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf03l-0000ia-8s@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 02:45:21 +0000

Note that the URI mailing list =
<http://lists.w3.org/Archives/Public/uri/> is probably more appropriate =
than the HTTP list for this.

Regards,


On 14/06/2012, at 12:29 PM, Carsten Bormann wrote:

> On Jun 14, 2012, at 01:45, Kornel Lesi=C5=84ski wrote:
>=20
>>   enc:<parameters>,<absoluteURI>
>=20
> Yep, that nicely generalizes the "frob" idea I proposed in =
http://lists.w3.org/Archives/Public/ietf-http-wg/2012JanMar/0833.html =
(except that it focuses in on encryption).
>=20
> Given that the IETF is closing in on the ni: scheme for the hash-based =
part, would it be worthwhile thinking about aligning yours with that?  =
http://tools.ietf.org/html/draft-farrell-decade-ni
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 20:04: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 778FB11E80F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 20:04:13 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ApF8roaQDO-g for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 20:04:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EC51F11E80EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 20:04:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf0LJ-0005jR-S4 for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 03:03:29 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <derhoermi@gmx.net>) id 1Sf0Kx-0005i6-TI for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 03:03:07 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1Sf0Ku-0002Am-Sd for ietf-http-wg@w3.org; Thu, 14 Jun 2012 03:03:06 +0000
Received: (qmail invoked by alias); 14 Jun 2012 03:02:38 -0000
Received: from dslb-094-223-180-172.pools.arcor-ip.net (EHLO HIVE) [94.223.180.172] by mail.gmx.net (mp041) with SMTP; 14 Jun 2012 05:02:38 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX1+sS8gYBQus3xiCbtrp41GEWgX5k9lpeujrFkFYvT bK/aWoyEfqNfDI
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: ietf-http-wg@w3.org
Date: Thu, 14 Jun 2012 05:02:38 +0200
Message-ID: <d6kit7pebvjau5ngsfvu8f1oqbhi0aughn@hive.bjoern.hoehrmann.de>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com>
In-Reply-To: <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=derhoermi@gmx.net; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sf0Ku-0002Am-Sd 1b90990920fbad3e92b66121cce372e1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/d6kit7pebvjau5ngsfvu8f1oqbhi0aughn@hive.bjoern.hoehrmann.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13795
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf0LJ-0005jR-S4@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 03:03:29 +0000

* Roy T. Fielding wrote:
>4xx indicates an error by the user or user agent.  I don't see
>any reason (aside from literary) that would justify using a 4xx
>code for this.  5xx is typically used for non-authoritative
>responses or server-imposed limitations -- a status that might
>be different if the user agent chose a different intermediary
>or tried again later.  Hence, 5xx makes more sense here.

In the interest of possibly improving the status code definitions
and avoiding future debates like this, could you say how 403 For-
bidden fits into this? It's a server-imposed limitation and not an
error by the user or user agent. Link suffices if I missed useful
arguments or admissions on the matter.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 20:24: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 8935911E80B3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 20:24:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.006
X-Spam-Level: 
X-Spam-Status: No, score=-10.006 tagged_above=-999 required=5 tests=[AWL=0.593, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XOVGttoiU9oS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 20:24:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9276D11E808A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 20:24:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf0f5-0000ei-CS for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 03:23:55 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sf0et-0000d6-Fp for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 03:23:43 +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 1Sf0eq-0005tH-Sx for ietf-http-wg@w3.org; Thu, 14 Jun 2012 03:23:42 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0F827509B4; Wed, 13 Jun 2012 23:23:17 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD871AA.6010309@gmx.de>
Date: Thu, 14 Jun 2012 13:23:14 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1Sf0eq-0005tH-Sx 155062f4e62a13594d61e83a786d57be
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13796
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf0f5-0000ei-CS@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 03:23:55 +0000

On 13/06/2012, at 8:55 PM, Julian Reschke wrote:
>>>=20
>>>   Cache directives are identified by a token, to be compared case-
>>>   insensitively, and have an optional argument, that can use both =
token
>>>   and quoted-string syntax.  For the directives defined below that
>>>   define arguments, recipients ought to accept both forms, even if =
one
>>>   is documented to be preferred.  For any other directive, =
recipients
>>>   MUST accept both forms.
>>=20
>> You've managed to qualify it for those defined below, but not for =
"any other directive."
>=20
> Indeed... How about:
>=20
>   Cache directives are identified by a token, to be compared case-
>   insensitively, and have an optional argument, that can use both =
token
>   and quoted-string syntax.  For the directives defined below that
>   define arguments, recipients ought to accept both forms, even if one
>   is documented to be preferred.  For any directive not defined by =
this
>   specification, recipients MUST accept both forms.
>=20
> ? =
(<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/307/307.4.d=
iff>)

Still managing to avoid it. The last sentence needs to say something =
like:

"""
For any other directive that accepts an argument, recipients MUST accept =
both forms.
"""


>>>> * The MUST still seems fairly strong; I'd be more comfortable with =
a SHOULD
>>>=20
>>> The MUST is essential otherwise you can't deploy extension =
directives in a reliable way. What would be a reason not to do this? =
(recall the ABNF requires it, and always has)
>>=20
>> How so? If I define foo to have an unquoted numeric argument, what =
breaks? A generic parser can parse quoted and token, but that doesn't =
mean that all new directives need to allow both forms.
>=20
> It means that you add new special cases to something that is already =
unnecessarily complex. Why would you want to do that?

What special cases?=20

For example, if I define a new directive that takes an URL as its =
argument, I might decide to say that it should ONLY use the quoted form, =
because I know that people will mess it up if they use token. How does =
that make things more complex? Your generic parser works the same.


>>>> * Isn't the requirement more appropriate in 3.2.3 Cache Control =
Extensions?
>>>=20
>>> The requirement is about how to parse the header field; it's not =
specific to extensions. Even if you do not understand a single extension =
(and do not plan to), you still have to skip over them properly while =
parsing.
>>=20
>> I see. I understand what you're trying to do, but I think it's too =
easy to misread it as "all new directives must be defined to allow both =
forms", which is both unnecessary and not realistic. Some rewording =
might help, but I question whether it's really necessary to put =
requirements around this; as you say, reading the BNF should make it =
clear what a generic parser needs to do.
>=20
> No, that's actually the *intent*. I believe it's both necessary *and* =
realistic.


So, I didn't see what you're trying to do. However, above you say it's =
not specific to extensions, but as you say later, that's the effect (and =
intent).

I think it's going too far; in similar situations we haven't laid down =
such draconian rules.

E.g., we don't place ANY conformance requirements on new headers; it's =
all advice: =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-se=
mantics.html#considerations.for.creating.header.fields>

Likewise for auth schemes: =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p7-au=
th.html#considerations.for.new.authentication.schemes>

We don't place any conformance requirements on media type parameters =
either: =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-se=
mantics.html#media.types>; we only note that they can be transmitted in =
either form. Why not use similar language here?

What I'd really like, though, is to hear what someone else things, so =
this isn't just a back-and-forth between Julian and I. Anyone?

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 21:32: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 60A1F11E80AC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 21:32:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.877
X-Spam-Level: 
X-Spam-Status: No, score=-5.877 tagged_above=-999 required=5 tests=[AWL=4.722, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d7y1-wYmC9Wz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 21:32:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 61CA511E80A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 21:32:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf1hn-0001qs-4L for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 04:30:47 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <James.H.Manger@team.telstra.com>) id 1Sf1hC-0001oA-5k for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 04:30:10 +0000
Received: from ipxcno.tcif.telstra.com.au ([203.35.82.208]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <James.H.Manger@team.telstra.com>) id 1Sf1h8-0007qd-Nc for ietf-http-wg@w3.org; Thu, 14 Jun 2012 04:30:08 +0000
X-IronPort-AV: E=Sophos;i="4.77,407,1336312800";  d="scan'208";a="76884613"
Received: from unknown (HELO ipcani.tcif.telstra.com.au) ([10.97.216.200]) by ipocni.tcif.telstra.com.au with ESMTP; 14 Jun 2012 14:29:36 +1000
X-IronPort-AV: E=McAfee;i="5400,1158,6741"; a="17243567"
Received: from wsmsg3705.srv.dir.telstra.com ([172.49.40.203]) by ipcani.tcif.telstra.com.au with ESMTP; 14 Jun 2012 14:29:36 +1000
Received: from WSMSG3153V.srv.dir.telstra.com ([172.49.40.159]) by WSMSG3705.srv.dir.telstra.com ([172.49.40.203]) with mapi; Thu, 14 Jun 2012 14:29:36 +1000
From: "Manger, James H" <James.H.Manger@team.telstra.com>
To: Mark Nottingham <mnot@mnot.net>, Julian Reschke <julian.reschke@gmx.de>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Date: Thu, 14 Jun 2012 14:29:34 +1000
Thread-Topic: #307 (untangle Cache-Control ABNF)
Thread-Index: Ac1J3Tfkm6DPUM7sRCep9D/PPqsmhAAAHN9g
Message-ID: <255B9BB34FB7D647A506DC292726F6E114F55FCCEC@WSMSG3153V.srv.dir.telstra.com>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net>
In-Reply-To: <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net>
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: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1Sf1h8-0007qd-Nc 5b1a852910acec4aa21fecea980881b3
X-Original-To: ietf-http-wg@w3.org
Subject: RE: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/255B9BB34FB7D647A506DC292726F6E114F55FCCEC@WSMSG3153V.srv.dir.telstra.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13797
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf1hn-0001qs-4L@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 04:30:47 +0000

Pj4+IEkgc2VlLiBJIHVuZGVyc3RhbmQgd2hhdCB5b3UncmUgdHJ5aW5nIHRvIGRvLCBidXQgSSB0
aGluayBpdCdzIHRvbw0KPj4+IGVhc3kgdG8gbWlzcmVhZCBpdCBhcyAiYWxsIG5ldyBkaXJlY3Rp
dmVzIG11c3QgYmUgZGVmaW5lZCB0byBhbGxvdyBib3RoDQo+Pj4gZm9ybXMiLCB3aGljaCBpcyBi
b3RoIHVubmVjZXNzYXJ5IGFuZCBub3QgcmVhbGlzdGljLg0KDQo+PiBObywgdGhhdCdzIGFjdHVh
bGx5IHRoZSAqaW50ZW50Ki4gSSBiZWxpZXZlIGl0J3MgYm90aCBuZWNlc3NhcnkgKmFuZCoNCj4+
IHJlYWxpc3RpYy4NCg0KPiBTbywgSSBkaWRuJ3Qgc2VlIHdoYXQgeW91J3JlIHRyeWluZyB0byBk
by4gSG93ZXZlciwgYWJvdmUgeW91IHNheSBpdCdzDQo+IG5vdCBzcGVjaWZpYyB0byBleHRlbnNp
b25zLCBidXQgYXMgeW91IHNheSBsYXRlciwgdGhhdCdzIHRoZSBlZmZlY3QNCj4gKGFuZCBpbnRl
bnQpLg0KPg0KPiBJIHRoaW5rIGl0J3MgZ29pbmcgdG9vIGZhcjsgaW4gc2ltaWxhciBzaXR1YXRp
b25zIHdlIGhhdmVuJ3QgbGFpZCBkb3duDQo+IHN1Y2ggZHJhY29uaWFuIHJ1bGVzLg0KDQoNCk15
IGludGVycHJldGF0aW9uIG9mIEp1bGlhbidzIGNydXNhZGUsIHVzaW5nIG1heC1hZ2UgYXMgYW4g
ZXhhbXBsZToNCg0KMS4gVGhlIHN5bnRheCBmb3IgYSBnZW5lcmljIHBhcmFtZXRlciBpczogdG9r
ZW4gWyI9IiAodG9rZW4gLyBxdW90ZWQtc3RyaW5nKV0uDQoNCjIuIEEgZ2VuZXJpYyBwYXJzZXIg
d2lsbCBhY2NlcHQgbWF4LWFnZT01IGFuZCBtYXgtYWdlPSI1IiBhbmQgbWF4LWFnZT0iXDUiLCBh
bmQgc2ltcGx5IG1ha2UgYSBvbmUtY2hhcmFjdGVyIHN0cmluZyBhdmFpbGFibGUgdG8gdGhlIG5l
eHQgc3RhZ2UgKGVnIG1ha2UgaXQgYXZhaWxhYmxlIGluIGEgZGljdGlvbmFyeSkuDQoNCjMuIGhh
bmRsZU1heEFnZSgpIGNvZGUgd2lsbCB1c2UgdGhlIDEtY2hhciBzdHJpbmcsIGNoZWNraW5nIGl0
IG1hdGNoZXMgZGVsdGEtc2Vjb25kcy4gaGFuZGxlTWF4QWdlKCkgZG9lc24ndCBrbm93LCBub3Ig
Y2FyZSwgd2hpY2ggb2YgdGhlIDMgZm9ybXMgaW4gc3RlcCAyIHdhcyByZWNlaXZlZC4NCg0KNC4g
QSBkZXZlbG9wZXIgd2FudHMgdG8gc2V0IG1heC1hZ2UuIEhlIGxlYXJucyBpdCBpcyBhIGRlY2lt
YWwgbnVtYmVyIGluIHNlY29uZHMuIEhlIGRvZXNuJ3QgY2xvc2VseSByZWFkIHRoZSBzcGVjLiBI
ZSBzZWVzIHNvbWUgb3RoZXIgeHh4PSJ5eXkiIHBhcmFtZXRlcnMuIEhlIHRyaWVzIG1heC1hZ2U9
IjUiLiBJdCB3b3Jrcy4gSGUgZGVwbG95cyBoaXMgY29kZS4NCg0KNS4gTW9udGhzIGxhdGVyLCBh
ZnRlciB0aGUgZGV2ZWxvcGVyJ3MgY29kZSBoYXMgYmVlbiB3b3JraW5nIGZpbmUgaW4gc3lzdGVt
cyBYICYgWSwgaXQgZmFpbHMgd2l0aCBzeXN0ZW0gWi4gWiB3YXNuJ3QgdXNpbmcgYSBnZW5lcmlj
IHBhcnNlci4gWiBlbmZvcmNlZCB0aGUgbWF4LWFnZT10b2tlbiByZXN0cmljdGlvbi4NCj0+IElu
dGVyb3AgZmFpbHVyZQ0KDQoNClN5bnRhY3RpY2FsbHkgdGhlcmUgaXMgbm8gbmVlZCB0byBhbGxv
dyBtYXgtYWdlPXF1b3RlZC1zdHJpbmcsIGJ1dCBpZiBzb21lIHN5c3RlbXMgZXhjZXB0IHRoYXQg
dGhlbiBvdGhlciBzeXN0ZW1zIHdpbGwgc3RhcnQgcmVseWluZyBvbiBpdCwgdGhlbiBpbnRlcm9w
IHdpbGwgZmFpbCB3aXRoIHN5c3RlbXMgdGhhdCBkb24ndCBhbGxvdyBpdC4NCg0KSWYsIGxpa2Ug
c3lzdGVtIFosIHlvdSBkb24ndCB1c2UgYSBnZW5lcmljIHBhcnNlciB0aGVuIEp1bGlhbidzIHJ1
bGUgaXMgYW5ub3lpbmcuIEl0IG1lYW5zIHlvdSBoYXZlIHRvIHN1cHBvcnQgcXVvdGVkLXN0cmlu
ZyBmb3IgYSBmaWVsZCB0aGF0IHNob3VsZG4ndCBuZWVkIGl0IGp1c3QgaW4gY2FzZSBhIGRldmVs
b3BlciBpcyBzbG9wcHkuIEl0IGRvZXNuJ3Qgc2VlbSBmYWlyLiBZb3UgaGF2ZSB0byBkbyBleHRy
YSB3b3JrIHVwLWZyb250IChzdXBwb3J0aW5nIHF1b3RlZC1zdHJpbmcsIHByb2JhYmx5IGJ5IHN3
aXRjaGluZyB0byBhIGdlbmVyaWMgcGFyc2VyKSB0byBzYXZlIHBvc3NpYmxlIGludGVyb3AgcGFp
biBsYXRlci4NCg0KSnVsaWFuJ3MgcnVsZSBlbmNvdXJhZ2VzIHVzZSBvZiBnZW5lcmljIHBhcnNl
cnMgKGEgZ29vZCB0aGluZyk7IGFuZCBlbnN1cmluZyBhbGwgZGV2ZWxvcGVycyBkaWxpZ2VudGx5
IHJlYWQgb3VyIHNwZWNzIGlzIG5vdCByZWFsaXN0aWMuIFNvIChncnVkZ2luZ2x5KSBpdCBpcyBw
cm9iYWJseSB0aGUgYmVzdCBhcHByb2FjaCAob3IgYXQgbGVhc3QgaXQgd291bGQgYmUgaWYgaXQg
c3VwcG9ydGVkIGFueSBVbmljb2RlIHN0cmluZyB2YWx1ZSkuDQoNCg0KLS0NCkphbWVzIE1hbmdl
cg0KDQo=


From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 22:46: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 9658D21F8698 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 22:46:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.305
X-Spam-Level: 
X-Spam-Status: No, score=-10.305 tagged_above=-999 required=5 tests=[AWL=0.294, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JFcCFZLY3AQ0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 22:46:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F3CC821F869D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 22:46:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf2rn-0007ra-Ra for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 05:45:11 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1Sf2rW-0007o1-Fd for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 05:44:54 +0000
Received: from 1wt.eu ([62.212.114.60]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1Sf2rU-0001oa-1z for ietf-http-wg@w3.org; Thu, 14 Jun 2012 05:44:53 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q5E5i7eR029456; Thu, 14 Jun 2012 07:44:07 +0200
Date: Thu, 14 Jun 2012 07:44:07 +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: <20120614054407.GC26590@1wt.eu>
References: <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com> <20120613163330.GA25932@1wt.eu> <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz> <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <14BCCB69-E88D-4287-B1B6-41045460ED9A@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sf2rU-0001oa-1z c7a2d3b1ec9b38cce0394b75fe78a603
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for  draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/20120614054407.GC26590@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13798
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf2rn-0007ra-Ra@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 05:45:11 +0000

Hi Mark,

On Thu, Jun 14, 2012 at 10:25:58AM +1000, Mark Nottingham wrote:
> On 14/06/2012, at 9:23 AM, Amos Jeffries wrote:
> > Would these types of differentiation between reasons for rejection be a
> > good case for Warning: codes on a 403 response?
> > 
> > ie
> > Warning: ... Legal Restriction
> > Warning: ... Local administrative policy
> > Warning: ... Authentication failed too many times. Your account is now closed
> > ...
> > 
> > The body of 403 can as easily contain the legal disclaimer text as any other 4xx code.
> 
> So, again -- what's the use case for a machine consuming these? I haven't
> seen one yet, unless I've missed something.

The only one I can think of is logging/accounting. Reporting to the user
"Accessing this content is illegal, this access has been logged" is for
the body, but having the user-facing proxy being able to log to a separate
file when such an event happens can probably make sense.

It reminds me an event which happened to a customer around 10 years ago,
which was a public administration. Some people noticed that one of their
offices was easy to open from the outside. And we discovered in their
proxy's logs that during the week-end, some people were coming there to
download and watch x-movies, probably because the internet access was
well sized for this, despite some filtering on the way. With automated
logging into a separate file, the local admin could have noticed the
event much earlier, because surely a number of attempts had failed.

I'm not saying this is the solution to improper log analysis, but it
shows one use case of machine-readable code.

BTW I like Amos' proposal much more than just a separate code. I was
wondering how many new codes we'd have if we created a new code for
this, and having a large set of possible warnings with the usual 403
seems a lot better to me.

Cheers,
Willy



From ietf-http-wg-request@listhub.w3.org  Wed Jun 13 23:52: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 137DB21F864A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 23:52:10 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lZzffW8xAaOO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 13 Jun 2012 23:52:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0047321F8648 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 13 Jun 2012 23:52:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf3tJ-0007c0-R8 for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 06:50:49 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sf3sz-0007V1-R7 for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 06:50: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 1Sf3sx-0003xQ-6z for ietf-http-wg@w3.org; Thu, 14 Jun 2012 06:50:28 +0000
Received: (qmail invoked by alias); 14 Jun 2012 06:50:00 -0000
Received: from p54BB2366.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.35.102] by mail.gmx.net (mp039) with SMTP; 14 Jun 2012 08:50:00 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18WKMwxVxAWDLVFAlOSr1hQ1/jvFC8QlPBn5de7Zg ZYEcxnk5W0vOhh
Message-ID: <4FD98993.2020509@gmx.de>
Date: Thu, 14 Jun 2012 08:49:55 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: "Manger, James H" <James.H.Manger@team.telstra.com>
CC: Mark Nottingham <mnot@mnot.net>,  HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <255B9BB34FB7D647A506DC292726F6E114F55FCCEC@WSMSG3153V.srv.dir.telstra.com>
In-Reply-To: <255B9BB34FB7D647A506DC292726F6E114F55FCCEC@WSMSG3153V.srv.dir.telstra.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=-1.9
X-W3C-Hub-Spam-Report: 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 1Sf3sx-0003xQ-6z be30ec0192d8ee3a519cce037517d760
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD98993.2020509@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13799
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf3tJ-0007c0-R8@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 06:50:49 +0000

On 2012-06-14 06:29, Manger, James H wrote:
> My interpretation of Julian's crusade, using max-age as an example:
>
> 1. The syntax for a generic parameter is: token ["=" (token / quoted-string)].
>
> 2. A generic parser will accept max-age=5 and max-age="5" and max-age="\5", and simply make a one-character string available to the next stage (eg make it available in a dictionary).
>
> 3. handleMaxAge() code will use the 1-char string, checking it matches delta-seconds. handleMaxAge() doesn't know, nor care, which of the 3 forms in step 2 was received.
>
> 4. A developer wants to set max-age. He learns it is a decimal number in seconds. He doesn't closely read the spec. He sees some other xxx="yyy" parameters. He tries max-age="5". It works. He deploys his code.
>
> 5. Months later, after the developer's code has been working fine in systems X & Y, it fails with system Z. Z wasn't using a generic parser. Z enforced the max-age=token restriction.
> => Interop failure
>
>
> Syntactically there is no need to allow max-age=quoted-string, but if some systems except that then other systems will start relying on it, then interop will fail with systems that don't allow it.
>
> If, like system Z, you don't use a generic parser then Julian's rule is annoying. It means you have to support quoted-string for a field that shouldn't need it just in case a developer is sloppy. It doesn't seem fair. You have to do extra work up-front (supporting quoted-string, probably by switching to a generic parser) to save possible interop pain later.
>
> Julian's rule encourages use of generic parsers (a good thing); and ensuring all developers diligently read our specs is not realistic. So (grudgingly) it is probably the best approach (or at least it would be if it supported any Unicode string value).
>
>
> --
> James Manger

Thanks James. Worth bookmarking :-)




From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 00:14: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 5DD1F21F8671 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 00:14:40 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YX2vE58UEgHW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 00:14:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2F8D021F866D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 00:14:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf4FJ-0003oe-PI for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 07:13:33 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jzej8k@nottheoilrig.com>) id 1Sf4Ev-0003nj-EX for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 07:13:09 +0000
Received: from mail.nottheoilrig.com ([50.16.249.74]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jzej8k@nottheoilrig.com>) id 1Sf4Es-0004qH-48 for ietf-http-wg@w3.org; Thu, 14 Jun 2012 07:13:07 +0000
Received: from mail.nottheoilrig.com (localhost [127.0.0.1]) by mail.nottheoilrig.com (Postfix) with ESMTP id 05F0B40B92 for <ietf-http-wg@w3.org>; Thu, 14 Jun 2012 07:12:49 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nottheoilrig.com; s=mail; t=1339657969; bh=5F+qXPk0uPCSwIz415r/ll73HJOSgdWKC4D3JSSDg0Y=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=gKCWs0b3F1VWez9wxNsqxXiUqLbIcL9wTtOQBmrryMuTMlG5NObtJs2kJ5HhrOPgr JVDWSCnfS5QOYA4IdRGXApzB/gDrUfsZIwVnIyTOcv2a6M8D/MJgrwOYmdQo+dEbaT 5wkAk44oXG+tU80zLMiVjFq+SYBhrp6wPuSr5bEw=
Received: from [172.28.0.137] (unknown [41.197.16.250]) by mail.nottheoilrig.com (Postfix) with ESMTPSA; Thu, 14 Jun 2012 07:12:34 +0000 (UTC)
Message-ID: <4FD98FE2.8070602@nottheoilrig.com>
Date: Thu, 14 Jun 2012 00:16:50 -0700
From: Jack Bates <jzej8k@nottheoilrig.com>
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>,  Anthony Bryan <anthonybryan@gmail.com>, Leif Hedstrom <zwoop@apache.org>
References: %3CCANqTPeivxKNJD0pzyGWWeer-4fxKpKU_zAp+7WrheizukaEEGg@mail.gmail.com%3E <4FB75146.1060609@nottheoilrig.com> <9D170C01-4384-48A6-84EB-54EDF15F3697@mnot.net>
In-Reply-To: <9D170C01-4384-48A6-84EB-54EDF15F3697@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=50.16.249.74; envelope-from=jzej8k@nottheoilrig.com; helo=mail.nottheoilrig.com
X-W3C-Hub-Spam-Status: No, score=-1.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_SORBS_WEB=0.77, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sf4Es-0004qH-48 25a1e86ffb76e451b5a95de3977f1fea
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Forward proxies and CDN/mirrors
Archived-At: <http://www.w3.org/mid/4FD98FE2.8070602@nottheoilrig.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13800
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf4FJ-0003oe-PI@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 07:13:33 +0000

Thank you very much for your time and for your detailed response to this 
question, Mark. Thank you for being so helpful

On 21/05/12 12:13 AM, Mark Nottingham wrote:
>
> On 19/05/2012, at 5:52 PM, Jack Bates wrote:
>
>> Hello, I am curious to know the current thinking on HTTP forward proxies and content distribution networks, or download mirrors. What techniques are used to help forward proxies and content distribution networks play well together? What facilities are available in the HTTP protocol for this? What resources are available from the broader community of standards and best practices?
>
> There was a lot of activity around this about ten years ago, both before and after CDNs came around. Look for papers in the late 90's / early '00s about hierarchical caching, content distribution, replication, cache peering, etc. Good place to start:<http://web.cs.wpi.edu/~webbib/webbib-date.html>.

Thanks for this advice and for this comprehensive list of references


>> The approach that I am currently pursuing is to use RFC 6249, Metalink/HTTP: Mirrors and Hashes. For those content distribution networks that support it, our forward proxy listens for responses that are an HTTP redirect and have "Link:<...>; rel=duplicate" headers. If the URL in the "Location: ..." header is not already cached then we scan "Link:<...>; rel=duplicate" headers for a URL that is already cached and if found, we rewrite the "Location: ..." header with this URL
>
> Hmm. Security is the first thing that comes to mind. That seems to be assuming that the client will be checking the hashes to make sure it actually is the thing they requested. Do you do anything to affect the stored copy from the other server?
>
> Really, I'd want to see the combination of both the Link header and the digest before I did any rewriting, offhand.

"I'd want to see the combination of both the Link header and the digest 
before I did any rewriting, offhand." I think you mean that the proxy 
should check both that the URL from the Link header already exists in 
the cache and that digest of the cached content matches the Digest 
header, before rewriting the Location header with this URL. Good point, 
I will add a check that the digest matches

"Do you do anything to affect the stored copy from the other server?" I 
think you mean, does the proxy in any way alter the cached copy of the 
content from the URL in the Link header. It does not, and I guess this 
is important because if it did, it would interfere with the client 
checking the hashes?


>> We are also thinking of using RFC 3230, Instance Digests in HTTP. Our proxy would listen for HTTP redirect responses that had "Digest: ..." headers. If the URL in the "Location: ..." header were not already cached then we would check if other content with the same digest were already cached. If so then we would rewrite the "Location: ..." header with the corresponding URL
>
> To be clear, you're not talking about implementing its companion, RFC3229 (Delta Encoding), correct?

Correct

> Assuming that to be the case, I think it's not a great idea to do this solely on the content of the Digest header; again for security issues, but also because you're creating a second-layer identifier for the Web, which is something we should do carefully.
>
> Also, it's not clear offhand what Digest means on a 3xx response; at best it refers to an "anonymous" representation, rather than the thing at the other end of the Location header.

I think I understand what you mean by second-layer identifier. The 
primary identifier of the web is the URI, so looking up content by 
digest is a second-layer. But I'm not familiar with the implications of 
a second-layer identifier. To my novice understanding, looking up cached 
content by digest seems innocuous and helpful

I also follow when you say that it's not clear what Digest means on a 
3XX response, rather than the thing at the other end of the Location 
header. But I don't understand well what is an "anonymous" representation

I will continue reading to better understand second-layer identifier and 
"anonymous" representation. Any pointers welcome


>> The issue of forward proxies and content distribution networks is important to us because we run a caching proxy here at a rural village in Rwanda. Many web sites that distribute files present users with a simple download button that redirects to a download mirror, but they do not predictably redirect to the same mirror, or to a mirror that we already cached, so users can't predict whether a download will take seconds or hours, which is frustrating
>
> Great use case - thanks for sharing that.
>
>
>> Here is a proof of concept plugin [1] for the Apache Traffic Server open source caching proxy. It works just enough that given a response with a "Location: ..." header that is not already cached and a "Link:<...>; rel=duplicate" header that is already cached, it will replace the URL in the "Location: ..." header with the cached URL
>>
>> I am working on this as part of the Google Summer of Code
>>
>> [1] https://github.com/jablko/dedup
>
> Fantastic!
>
>
> --
> Mark Nottingham   http://www.mnot.net/
>


From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 00:31: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 7139921F85D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 00:31:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.58
X-Spam-Level: 
X-Spam-Status: No, score=-7.58 tagged_above=-999 required=5 tests=[AWL=3.019, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FotEOXJ8NFDr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 00:31:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7D38621F85D4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 00:31:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf4Vw-0000rN-N9 for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 07:30:44 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sf4VY-0000mj-7Z for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 07:30:20 +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 1Sf4VU-0005WQ-BC for ietf-http-wg@w3.org; Thu, 14 Jun 2012 07:30:18 +0000
Received: (qmail invoked by alias); 14 Jun 2012 07:29:50 -0000
Received: from p54BB2366.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.35.102] by mail.gmx.net (mp010) with SMTP; 14 Jun 2012 09:29:50 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/1YcRHJdL1oeVgRhxflscN/96t2tw1zYlv1w3i9u t6TT4FXTTWv5Jq
Message-ID: <4FD992EB.1040107@gmx.de>
Date: Thu, 14 Jun 2012 09:29:47 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net>
In-Reply-To: <FC6F9416-70E4-433A-ACFB-3642508A6101@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Sf4VU-0005WQ-BC e336ac014e3c8852800ef01d263eb319
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD992EB.1040107@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13801
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf4Vw-0000rN-N9@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 07:30:44 +0000

On 2012-06-14 05:23, Mark Nottingham wrote:
>
> On 13/06/2012, at 8:55 PM, Julian Reschke wrote:
>>>>
>>>>    Cache directives are identified by a token, to be compared case-
>>>>    insensitively, and have an optional argument, that can use both token
>>>>    and quoted-string syntax.  For the directives defined below that
>>>>    define arguments, recipients ought to accept both forms, even if one
>>>>    is documented to be preferred.  For any other directive, recipients
>>>>    MUST accept both forms.
>>>
>>> You've managed to qualify it for those defined below, but not for "any other directive."
>>
>> Indeed... How about:
>>
>>    Cache directives are identified by a token, to be compared case-
>>    insensitively, and have an optional argument, that can use both token
>>    and quoted-string syntax.  For the directives defined below that
>>    define arguments, recipients ought to accept both forms, even if one
>>    is documented to be preferred.  For any directive not defined by this
>>    specification, recipients MUST accept both forms.
>>
>> ? (<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/307/307.4.diff>)
>
> Still managing to avoid it. The last sentence needs to say something like:
>
> """
> For any other directive that accepts an argument, recipients MUST accept both forms.
> """

I believe that all new directives should not only be parseable with a 
generic parser, but also that senders can *rely* on them being parsed 
that way; see James' explanation.

>> It means that you add new special cases to something that is already unnecessarily complex. Why would you want to do that?
>
> What special cases?
>
> For example, if I define a new directive that takes an URL as its argument, I might decide to say that it should ONLY use the quoted form, because I know that people will mess it up if they use token. How does that make things more complex? Your generic parser works the same.

It's a special case in libraries that *construct* the header field. To 
conform to the SHOULD requirement, they'd have to understand the new 
directive.

>>>>> * Isn't the requirement more appropriate in 3.2.3 Cache Control Extensions?
>>>>
>>>> The requirement is about how to parse the header field; it's not specific to extensions. Even if you do not understand a single extension (and do not plan to), you still have to skip over them properly while parsing.
>>>
>>> I see. I understand what you're trying to do, but I think it's too easy to misread it as "all new directives must be defined to allow both forms", which is both unnecessary and not realistic. Some rewording might help, but I question whether it's really necessary to put requirements around this; as you say, reading the BNF should make it clear what a generic parser needs to do.
>>
>> No, that's actually the *intent*. I believe it's both necessary *and* realistic.
>
>
> So, I didn't see what you're trying to do. However, above you say it's not specific to extensions, but as you say later, that's the effect (and intent).

Optimally, it would apply to all directives, but we can't do that 
without making existing code non-compliant (although I'm pretty sure 
that most existing code is non-compliant anyway).

> I think it's going too far; in similar situations we haven't laid down such draconian rules.

I would call that the opposite of draconian; I want to make *more* 
things conforming on the recipient side.

> E.g., we don't place ANY conformance requirements on new headers; it's all advice: <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#considerations.for.creating.header.fields>

Optimally we would, but we don't have a mandate for that.

> Likewise for auth schemes: <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p7-auth.html#considerations.for.new.authentication.schemes>

That is incorrect. We've had these requirements all the time based on 
the ABNF.

Looking at RFC 2616:

Cache-Control   = "Cache-Control" ":" 1#cache-directive

    cache-directive = cache-request-directive
         | cache-response-directive

    cache-request-directive =
           "no-cache"                          ; Section 14.9.1
         | "no-store"                          ; Section 14.9.2
         | "max-age" "=" delta-seconds         ; Section 14.9.3, 14.9.4
         | "max-stale" [ "=" delta-seconds ]   ; Section 14.9.3
         | "min-fresh" "=" delta-seconds       ; Section 14.9.3
         | "no-transform"                      ; Section 14.9.5
         | "only-if-cached"                    ; Section 14.9.4
         | cache-extension                     ; Section 14.9.6

     cache-response-directive =
           "public"                               ; Section 14.9.1
         | "private" [ "=" <"> 1#field-name <"> ] ; Section 14.9.1
         | "no-cache" [ "=" <"> 1#field-name <"> ]; Section 14.9.1
         | "no-store"                             ; Section 14.9.2
         | "no-transform"                         ; Section 14.9.5
         | "must-revalidate"                      ; Section 14.9.4
         | "proxy-revalidate"                     ; Section 14.9.4
         | "max-age" "=" delta-seconds            ; Section 14.9.3
         | "s-maxage" "=" delta-seconds           ; Section 14.9.3
         | cache-extension                        ; Section 14.9.6

    cache-extension = token [ "=" ( token | quoted-string ) ]

So for any field not defined by RFC 2616, recipients always had to 
accept none/token/quoted-string. This is not new.

> We don't place any conformance requirements on media type parameters either: <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#media.types>; we only note that they can be transmitted in either form. Why not use similar language here?

It says:

> The type/subtype MAY be followed by parameters in the form of attribute/value pairs.
>
>   parameter      = attribute "=" value
>   attribute      = token
>   value          = word
>
> The type, subtype, and parameter attribute names are case-insensitive. Parameter values might or might not be case-sensitive, depending on the semantics of the parameter name. The presence or absence of a parameter might be significant to the processing of a media-type, depending on its definition within the media type registry.
>
> A parameter value that matches the token production can be transmitted as either a token or within a quoted-string. The quoted and unquoted values are equivalent.

So I don't see any language here that would allow a parameter to 
restrict the serialization within the header field.

> What I'd really like, though, is to hear what someone else things, so this isn't just a back-and-forth between Julian and I. Anyone?

Yes, more feedback appreciated. I think it's important to be as 
consistent as possible (without making existing code non-compliant), 
otherwise it's hard to see how we can argue for consistency and 
simplicity in new header fields (STS comes to mind).

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 02: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 5F06721F869D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 02:07:05 -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=0.372, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, RCVD_NUMERIC_HELO=2.067]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Dqdk0Wn6Q3a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 02:07:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 287AE21F869C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 02:07:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf5zX-0000O8-Cj for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 09:05:23 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1Sf5zF-0000MF-51 for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 09:05:05 +0000
Received: from plane.gmane.org ([80.91.229.3]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1Sf5zC-0007th-0Z for ietf-http-wg@w3.org; Thu, 14 Jun 2012 09:05:03 +0000
Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from <gix-ietf-http-wg@m.gmane.org>) id 1Sf5yn-0002rm-1B for ietf-http-wg@w3.org; Thu, 14 Jun 2012 11:04:37 +0200
Received: from 192.196.142.27 ([192.196.142.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-http-wg@w3.org>; Thu, 14 Jun 2012 11:04:37 +0200
Received: from nicolas.mailhot by 192.196.142.27 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf-http-wg@w3.org>; Thu, 14 Jun 2012 11:04:37 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: ietf-http-wg@w3.org
From: Nicolas Mailhot <nicolas.mailhot@laposte.net>
Date: Thu, 14 Jun 2012 09:04:23 +0000 (UTC)
Lines: 55
Message-ID: <loom.20120614T104702-439@post.gmane.org>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com> <20120613163330.GA25932@1wt.eu> <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz> <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@dough.gmane.org
X-Gmane-NNTP-Posting-Host: sea.gmane.org
User-Agent: Loom/3.14 (http://gmane.org/)
X-Loom-IP: 192.196.142.27 (Mozilla/5.0 (Windows NT 6.0; rv:13.0) Gecko/20100101 Firefox/13.0)
Received-SPF: pass client-ip=80.91.229.3; envelope-from=gix-ietf-http-wg@m.gmane.org; helo=plane.gmane.org
X-W3C-Hub-Spam-Status: No, score=-0.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_NUMERIC_HELO=1.164, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sf5zC-0007th-0Z 4c4ece80208028c5fc110907f84bdcfb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for  draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/loom.20120614T104702-439@post.gmane.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13802
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf5zX-0000O8-Cj@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 09:05:23 +0000

Mark Nottingham <mnot@...> writes:

> On 14/06/2012, at 9:23 AM, Amos Jeffries wrote:

> > Would these types of differentiation between reasons for rejection be a good
case for Warning: codes on a
> 403 response?
> > 
> > ie
> > Warning: ... Legal Restriction
> > Warning: ... Local administrative policy
> > Warning: ... Authentication failed too many times. Your account is now closed
> > ...
> > 
> > The body of 403 can as easily contain the legal disclaimer text as any other
4xx code.
> 
> So, again -- what's the use case for a machine consuming these? I haven't seen
one yet, unless I've missed something.

1. the block cause must be reflected in headers to be available in (legal or
debugging) logs. With today's spaghetti web sites that shard their content over
multiple servers and delegate more and more bits to nebulous cloud platforms
with fuzzy limits having to read all the html pages exchanged to debug a block
is increasingly un-practical

2. the block cause must be reflected in headers so all the web clients that use
http as transport via some other middleware can be notified of the block cause
(ie the not-html-capable http middleware needs something it can easily parse and
pass up the stack so the web client presentation layer gets a chance to do
something with it and inform the user)

3. the info must absolutely be relayed to the human user so he gets a chance to
do something about it.

4. The info must be complete enough the human user can act on it. Going to the
hotel lobby to buy some more creds is not the same thing as being invited to the
local police station to explain oneself

5. There must be a way to inform the user ways to lift the block when the
possibility exists instead of having him hang in the dark (hotel payment gateway
'credit-exhausted pay-here-to-continue', corporate authentication portal
'are-you-an-employee fill-in-your-corp-login-there',
'content-was-blocked-because-we-believe-it-is-objectionnable,
here-is-the-html-form-to-contest-the-evaluation-if-you-believe-it-is-wrong',
etc, etc)

None of those work of you rely on an html soup error page that may or may not be
parsed by the web client, or that you let the web client ignore at will even
when it is capable of parsing (current browsers refuse to display such pages
when a block occurs over https)

-- 
Nicolas Mailhot




From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 02:18: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 4AB5B21F86A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 02:18:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.703
X-Spam-Level: 
X-Spam-Status: No, score=-5.703 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, CHARSET_FARAWAY_HEADER=3.2, MIME_8BIT_HEADER=0.3, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JFY9W9kn6osT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 02:18:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C1BE221F8699 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 02:18:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf6BB-0005fv-OG for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 09:17:25 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <kornel@geekhood.net>) id 1Sf6B5-0005fC-CY for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 09:17:19 +0000
Received: from pornel.net ([178.77.100.176]) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <kornel@geekhood.net>) id 1Sf6B2-0008Qm-Dr for ietf-http-wg@w3.org; Thu, 14 Jun 2012 09:17:17 +0000
Received: from [80.169.157.170] (helo=[10.11.254.128]) by pornel.net with esmtpa (Exim 4.72) (envelope-from <kornel@geekhood.net>) id 1Sf6Ag-0004iq-Dv; Thu, 14 Jun 2012 11:16:54 +0200
References: <op.wfu79kggte2ec8@aimac.local> <7911A364-5434-4078-B66F-019D1508FB33@tzi.org>
In-Reply-To: <7911A364-5434-4078-B66F-019D1508FB33@tzi.org>
Mime-Version: 1.0 (1.0)
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Message-Id: <F4C6BBBE-FB06-44E2-98EF-BD4367931FB8@geekhood.net>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
X-Mailer: iPhone Mail (9A405)
From: =?GB2312?Q?Kornel_Lesi=A8=BDski?= <kornel@geekhood.net>
Date: Thu, 14 Jun 2012 10:16:49 +0100
To: Carsten Bormann <cabo@tzi.org>
X-SA-Exim-Connect-IP: 80.169.157.170
X-SA-Exim-Mail-From: kornel@geekhood.net
X-SA-Exim-Version: 4.2.1 (built Mon, 22 Mar 2010 06:26:47 +0000)
X-SA-Exim-Scanned: Yes (on pornel.net)
Received-SPF: pass client-ip=178.77.100.176; envelope-from=kornel@geekhood.net; helo=pornel.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MIME_QP_LONG_LINE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1Sf6B2-0008Qm-Dr 4239f54e223d441e47dd407cc4ae2984
X-Original-To: ietf-http-wg@w3.org
Subject: Re: enc: URL scheme
Archived-At: <http://www.w3.org/mid/F4C6BBBE-FB06-44E2-98EF-BD4367931FB8@geekhood.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13803
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf6BB-0005fv-OG@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 09:17:25 +0000

On 14 cze 2012, at 03:29, Carsten Bormann <cabo@tzi.org> wrote:

>>   enc:<parameters>,<absoluteURI>
>=20
> Yep, that nicely generalizes the "frob" idea I proposed in http://lists.w3=
.org/Archives/Public/ietf-http-wg/2012JanMar/0833.html (except that it focus=
es in on encryption).

Yes, it incorporates this and other suggestions from the IETF mailing list a=
nd Julian Reschke. Thank you for valuable feedback.

--=20
regards, Kornel



From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 03:16: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 D38B621F86B9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 03:16:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.033
X-Spam-Level: 
X-Spam-Status: No, score=-10.033 tagged_above=-999 required=5 tests=[AWL=0.566, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7R6+5S0O1Sjp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 03:16:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F201C21F86B8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 03:16:01 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf753-0002mQ-CY for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 10:15:09 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sf74q-0001t7-SA for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 10:14:56 +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 1Sf74k-0002v5-Fj for ietf-http-wg@w3.org; Thu, 14 Jun 2012 10:14:54 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 73F4F509EB; Thu, 14 Jun 2012 06:14:27 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <loom.20120614T104702-439@post.gmane.org>
Date: Thu, 14 Jun 2012 20:14:25 +1000
Cc: ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <21BA7F39-F9FF-45CF-AD3F-364D8E4CE73E@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com> <20120613163330.GA25932@1wt.eu> <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz> <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net> <loom.20120614T104702-439@post.gmane.org>
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1Sf74k-0002v5-Fj 0520ab2402a38cc02d04bca147860960
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for  draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/21BA7F39-F9FF-45CF-AD3F-364D8E4CE73E@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13804
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf753-0002mQ-CY@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 10:15:09 +0000

On 14/06/2012, at 7:04 PM, Nicolas Mailhot wrote:

> Mark Nottingham <mnot@...> writes:
>>=20
>> So, again -- what's the use case for a machine consuming these? I =
haven't seen
> one yet, unless I've missed something.
>=20
> 1. the block cause must be reflected in headers to be available in =
(legal or
> debugging) logs. With today's spaghetti web sites that shard their =
content over
> multiple servers and delegate more and more bits to nebulous cloud =
platforms
> with fuzzy limits having to read all the html pages exchanged to debug =
a block
> is increasingly un-practical

The device doing the blocking can log its own actions without making it =
machine-readable on the wire.=20


> 2. the block cause must be reflected in headers so all the web clients =
that use
> http as transport via some other middleware can be notified of the =
block cause
> (ie the not-html-capable http middleware needs something it can easily =
parse and
> pass up the stack so the web client presentation layer gets a chance =
to do
> something with it and inform the user)

Yes; this is the most compelling case I can see for a separate status =
code, similar to the one we had for 511. However, I don't yet see where =
the client will actually *do* something with the response that might =
require making this distinction. It was necessary in 511 because sites =
were interpreting the redirect as coming from the origin server, which =
has all sorts of nasty side effects for non-browser agents; what are the =
corresponding side effects here?


> 3. the info must absolutely be relayed to the human user so he gets a =
chance to
> do something about it.

That really sounds like HTML; most browsers don't expose the raw status =
code.


> 4. The info must be complete enough the human user can act on it. =
Going to the
> hotel lobby to buy some more creds is not the same thing as being =
invited to the
> local police station to explain oneself

Same as #3.


> 5. There must be a way to inform the user ways to lift the block when =
the
> possibility exists instead of having him hang in the dark (hotel =
payment gateway
> 'credit-exhausted pay-here-to-continue', corporate authentication =
portal
> 'are-you-an-employee fill-in-your-corp-login-there',
> 'content-was-blocked-because-we-believe-it-is-objectionnable,
> =
here-is-the-html-form-to-contest-the-evaluation-if-you-believe-it-is-wrong=
',
> etc, etc)

How is that accomplished by a status code, and NOT by HTML?


> None of those work of you rely on an html soup error page that may or =
may not be
> parsed by the web client, or that you let the web client ignore at =
will even
> when it is capable of parsing (current browsers refuse to display such =
pages
> when a block occurs over https)


None of these? Really?

Understand -- I'm not against minting a status code here per se, but if =
we do it, I want it to be for technically valid reasons, not just to =
scratch an itch to make developers feel more politically active, with no =
real-world deployment.

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 03:53: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 BF33D21F865D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 03:53:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.183
X-Spam-Level: 
X-Spam-Status: No, score=-10.183 tagged_above=-999 required=5 tests=[AWL=0.416, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ihLtZIYaYGYr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 03:53:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4249621F8562 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 03:53:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf7ee-0003PX-JX for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 10:51:56 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sf7eS-0003Nw-0S for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 10:51:44 +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 1Sf7eL-0004Mt-Co for ietf-http-wg@w3.org; Thu, 14 Jun 2012 10:51:42 +0000
Received: (qmail invoked by alias); 14 Jun 2012 10:51:10 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp027) with SMTP; 14 Jun 2012 12:51:10 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18uuwchFW8uz+/hMGfPZqj7lVaWtHhWHNDHAXKvco JdFl7zEeh7hCoI
Message-ID: <4FD9C21C.5040402@gmx.de>
Date: Thu, 14 Jun 2012 12:51:08 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net>
In-Reply-To: <FC6F9416-70E4-433A-ACFB-3642508A6101@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1Sf7eL-0004Mt-Co d10acdfb6eb809336dea56b462b018ae
X-Original-To: ietf-http-wg@w3.org
Subject: #360 (advice on defining new cache directives), was: #307 (untangle  Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD9C21C.5040402@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13805
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf7ee-0003PX-JX@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 10:51:56 +0000

On 2012-06-14 05:23, Mark Nottingham wrote:
> ...
> E.g., we don't place ANY conformance requirements on new headers; it's all advice: <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#considerations.for.creating.header.fields>
> ...

And indeed we don't have this kind of advice for Cache-Control 
directives, but I think we should.

I just opened <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/360>:

> For new cache control directives, we should recommend to document
>
>     what it means for a directive to be specified multiple times (invalid?)
>
>     what it means for an argument-less directive to have an argument
>
>     what it means for a argument-required directive not to have an argument

I believe we should improve the spec here no matter what we do about 
issue #307.

My 2 cents:

> For new cache control directives, we should recommend to document
>
>     what it means for a directive to be specified multiple times (invalid?)

I think the least surprising approach is to recommend to make this 
invalid. Mark noted that there may be cases out there where it's both 
valid and useful; feedback appreciated...

>     what it means for an argument-less directive to have an argument
>
>     what it means for a argument-required directive not to have an argument

A simple approach would be to recommend to make a missing argument to be 
equivalent to a zero-length string argument.

Re #307: optimally, these rules would be the same for all cache 
directive, or for at least all new directives. But if we can't do that, 
we should at least recommend a common approach.

Best regards, Julian




From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 03:55: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 B9E7421F8667 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 03:55:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.057
X-Spam-Level: 
X-Spam-Status: No, score=-10.057 tagged_above=-999 required=5 tests=[AWL=0.542, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bk6HqVjeoEOR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 03:55:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 11BBE21F865D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 03:55:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf7hl-0003wb-Ez for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 10:55:09 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sf7hZ-0003m9-KD for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 10:54: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 1Sf7hW-0004bI-Gk for ietf-http-wg@w3.org; Thu, 14 Jun 2012 10:54:55 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id DB1B9509EB; Thu, 14 Jun 2012 06:54:31 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD992EB.1040107@gmx.de>
Date: Thu, 14 Jun 2012 20:54:28 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1Sf7hW-0004bI-Gk 8db8e03414fd763589660117ef2ffd11
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13806
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf7hl-0003wb-Ez@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 10:55:09 +0000

On 14/06/2012, at 5:29 PM, Julian Reschke wrote:

> On 2012-06-14 05:23, Mark Nottingham wrote:
>>=20
>> On 13/06/2012, at 8:55 PM, Julian Reschke wrote:
>>>>>=20
>>>>>   Cache directives are identified by a token, to be compared case-
>>>>>   insensitively, and have an optional argument, that can use both =
token
>>>>>   and quoted-string syntax.  For the directives defined below that
>>>>>   define arguments, recipients ought to accept both forms, even if =
one
>>>>>   is documented to be preferred.  For any other directive, =
recipients
>>>>>   MUST accept both forms.
>>>>=20
>>>> You've managed to qualify it for those defined below, but not for =
"any other directive."
>>>=20
>>> Indeed... How about:
>>>=20
>>>   Cache directives are identified by a token, to be compared case-
>>>   insensitively, and have an optional argument, that can use both =
token
>>>   and quoted-string syntax.  For the directives defined below that
>>>   define arguments, recipients ought to accept both forms, even if =
one
>>>   is documented to be preferred.  For any directive not defined by =
this
>>>   specification, recipients MUST accept both forms.
>>>=20
>>> ? =
(<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/307/307.4.d=
iff>)
>>=20
>> Still managing to avoid it. The last sentence needs to say something =
like:
>>=20
>> """
>> For any other directive that accepts an argument, recipients MUST =
accept both forms.
>> """
>=20
> I believe that all new directives should not only be parseable with a =
generic parser, but also that senders can *rely* on them being parsed =
that way; see James' explanation.

And that's fine; I'm just wondering why we're encouraging this with a =
MUST, where we haven't done so anywhere else, AFAICT.


>>> It means that you add new special cases to something that is already =
unnecessarily complex. Why would you want to do that?
>>=20
>> What special cases?
>>=20
>> For example, if I define a new directive that takes an URL as its =
argument, I might decide to say that it should ONLY use the quoted form, =
because I know that people will mess it up if they use token. How does =
that make things more complex? Your generic parser works the same.
>=20
> It's a special case in libraries that *construct* the header field. To =
conform to the SHOULD requirement, they'd have to understand the new =
directive.

OK.



>> Likewise for auth schemes: =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p7-au=
th.html#considerations.for.new.authentication.schemes>
>=20
> That is incorrect. We've had these requirements all the time based on =
the ABNF.

Yes, but we haven't surfaced them as conformance requirements for auth =
schemes like we are here. Why is this different?


>> We don't place any conformance requirements on media type parameters =
either: =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-se=
mantics.html#media.types>; we only note that they can be transmitted in =
either form. Why not use similar language here?
>=20
> It says:
>=20
>> The type/subtype MAY be followed by parameters in the form of =
attribute/value pairs.
>>=20
>>  parameter      =3D attribute "=3D" value
>>  attribute      =3D token
>>  value          =3D word
>>=20
>> The type, subtype, and parameter attribute names are =
case-insensitive. Parameter values might or might not be case-sensitive, =
depending on the semantics of the parameter name. The presence or =
absence of a parameter might be significant to the processing of a =
media-type, depending on its definition within the media type registry.
>>=20
>> A parameter value that matches the token production can be =
transmitted as either a token or within a quoted-string. The quoted and =
unquoted values are equivalent.
>=20
> So I don't see any language here that would allow a parameter to =
restrict the serialization within the header field.


I think what I'm most concerned about here is that (in all of these =
cases, not just CC directives), we're requiring people to read between =
the lines. If we want to assure interoperability, we need to spell it =
out, e.g.,:

"""
Receivers of Cache-Control directives ought to be able to parse all =
three forms of directive (without a value, with a token value, and with =
a quoted-string value) for all directives.=20
"""

And, separately in the cache control extensions section:

"""
New cache control extension directives are encouraged to:
   - Define whether or not they allow or require a parameter
   - If they do accept a parameter, allow it to occur in either token or =
quoted-string form (restricting to one form requires sending libraries =
to special-case the directive)
   - If they do accept a parameter, define how a directive without one =
should be interpreted
   - If they do not accept a parameter, define how a parameter with one =
should be interpreted
   - If they do accept a parameter, define how multiple occurrences =
should be handled
"""

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





From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 04:57: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 08CDC21F8625 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 04:57:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.221
X-Spam-Level: 
X-Spam-Status: No, score=-10.221 tagged_above=-999 required=5 tests=[AWL=0.378, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OEoRncxUQg7W for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 04:57:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 431D221F86A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 04:57:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf8ew-0001gj-8k for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 11:56:18 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sf8eh-0001fm-IQ for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 11:56:03 +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 1Sf8ed-0006wt-LP for ietf-http-wg@w3.org; Thu, 14 Jun 2012 11:56:01 +0000
Received: (qmail invoked by alias); 14 Jun 2012 11:55:33 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp069) with SMTP; 14 Jun 2012 13:55:33 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+IWKYXWP6IuMXBfmVSUolGJ0oSAVC2MuE4IJGqBN 6Xq6OIaYnZzn0l
Message-ID: <4FD9D133.3000804@gmx.de>
Date: Thu, 14 Jun 2012 13:55:31 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net>
In-Reply-To: <2BD1DFA7-EA11-4328-997B-F171CF788660@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1Sf8ed-0006wt-LP 827e27b3afd6729af2e673c3e7f2b137
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FD9D133.3000804@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13807
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf8ew-0001gj-8k@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 11:56:18 +0000

On 2012-06-14 12:54, Mark Nottingham wrote:
> ...
>>> Still managing to avoid it. The last sentence needs to say something like:
>>>
>>> """
>>> For any other directive that accepts an argument, recipients MUST accept both forms.
>>> """
>>
>> I believe that all new directives should not only be parseable with a generic parser, but also that senders can *rely* on them being parsed that way; see James' explanation.
>
> And that's fine; I'm just wondering why we're encouraging this with a MUST, where we haven't done so anywhere else, AFAICT.

I agree that we should be consistent about this in the spec 
independently of the header field. *Are* we currently inconistent?

> ...
>>> Likewise for auth schemes: <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p7-auth.html#considerations.for.new.authentication.schemes>
>>
>> That is incorrect. We've had these requirements all the time based on the ABNF.
>
> Yes, but we haven't surfaced them as conformance requirements for auth schemes like we are here. Why is this different?
> ...

I don't think it's different.

The header field definition needs to define how to parse the header 
field, including future extensions. Extensions can constrain 
parameter/argument values *after* parsing (like: *DIGIT), but shouldn't 
constrain the base syntax (for the reasons we have discussed many many 
times).

The reason why we're discussing this here is that we need to 
special-case the existing cache control directives for now, thus we also 
have text that tries to clarify that the situation is different for any 
other directive. Maybe that's where the disconnect comes from?

>>> We don't place any conformance requirements on media type parameters either: <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#media.types>; we only note that they can be transmitted in either form. Why not use similar language here?
>>
>> It says:
>>
>>> The type/subtype MAY be followed by parameters in the form of attribute/value pairs.
>>>
>>>   parameter      = attribute "=" value
>>>   attribute      = token
>>>   value          = word
>>>
>>> The type, subtype, and parameter attribute names are case-insensitive. Parameter values might or might not be case-sensitive, depending on the semantics of the parameter name. The presence or absence of a parameter might be significant to the processing of a media-type, depending on its definition within the media type registry.
>>>
>>> A parameter value that matches the token production can be transmitted as either a token or within a quoted-string. The quoted and unquoted values are equivalent.
>>
>> So I don't see any language here that would allow a parameter to restrict the serialization within the header field.
>
>
> I think what I'm most concerned about here is that (in all of these cases, not just CC directives), we're requiring people to read between the lines. If we want to assure interoperability, we need to spell it out, e.g.,:

+1

> """
> Receivers of Cache-Control directives ought to be able to parse all three forms of directive (without a value, with a token value, and with a quoted-string value) for all directives.
> """

I'd prefer this to be a MUST for any directive not defined in HTTPbis.

> And, separately in the cache control extensions section:

A few minutes earlier, I opened the new ticket #360 for this...

> """
> New cache control extension directives are encouraged to:
>     - Define whether or not they allow or require a parameter
>     - If they do accept a parameter, allow it to occur in either token or quoted-string form (restricting to one form requires sending libraries to special-case the directive)
>     - If they do accept a parameter, define how a directive without one should be interpreted
>     - If they do not accept a parameter, define how a parameter with one should be interpreted
>     - If they do accept a parameter, define how multiple occurrences should be handled
> """

Indeed. Or alternatively, we could add additional constraints, see 
<http://lists.w3.org/Archives/Public/ietf-http-wg/2012AprJun/0668.html>.

Best regards, Julian




From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 05:13: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 67DD921F867D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 05:13:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.253
X-Spam-Level: 
X-Spam-Status: No, score=-10.253 tagged_above=-999 required=5 tests=[AWL=0.346, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2hieVgvmZnNB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 05:13:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2084621F8668 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 05:13:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf8ux-0004VF-SD for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 12:12:52 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sf8ul-0004UJ-T1 for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 12:12:39 +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 1Sf8ug-0007eE-21 for ietf-http-wg@w3.org; Thu, 14 Jun 2012 12:12:38 +0000
Received: (qmail invoked by alias); 14 Jun 2012 12:12:06 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp033) with SMTP; 14 Jun 2012 14:12:06 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19BPAk7bfhBINmLmwRUg8+M7gDXHT1JJ0TubyqHUv crKttjzkoeXL8H
Message-ID: <4FD9D512.7030207@gmx.de>
Date: Thu, 14 Jun 2012 14:12:02 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: httpbis Group <ietf-http-wg@w3.org>
References: <20110527121529.12527.95232.idtracker@ietfa.amsl.com> <04FFD657-4CF3-44EE-A7DA-3BC533ACA001@mnot.net>
In-Reply-To: <04FFD657-4CF3-44EE-A7DA-3BC533ACA001@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1Sf8ug-0007eE-21 3bee98e63e5117d96e65ffcd08f661dc
X-Original-To: ietf-http-wg@w3.org
Subject: inv-maxage Cache-Control directive syntax, was: Fwd: I-D Action:  draft-nottingham-linked-cache-inv-00.txt
Archived-At: <http://www.w3.org/mid/4FD9D512.7030207@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13808
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf8ux-0004VF-SD@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 12:12:51 +0000

On 2011-05-28 02:56, Mark Nottingham wrote:
> FYI. This is an individual draft, not a WG effort. Nevertheless, feedback welcome.
>
> Regards,
> ...

In 
<http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-02#section-5>, 
it would be good to define the edge parsing edge cases, such as:

- multiple instances of the directive,

- missing argument,

- use of quoted-string.

I would propose to say that:

- the parameter value needs to follow the delta-seconds ABNF after 
applying generic C-D parsing,

- that a missing argument is to be treated as empty string (thus 
invalid), and

- that specifying multiple instances makes the Cache-Control header 
invalid with respect to this directive (thus the header field should be 
processed as if inv-maxage wasn't specified at all).

Optimally, including examples :-)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 05:48: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 2771621F864B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 05:48: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZnBffM3KvKhW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 05:48:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0682921F864A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 05:48:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf9Ro-0000AW-0Q for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 12:46:48 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nicolas.mailhot@laposte.net>) id 1Sf9RV-0008L0-Rk for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 12:46:29 +0000
Received: from smtpout5.laposte.net ([193.253.67.230] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1Sf9RO-0000Z4-P9 for ietf-http-wg@w3.org; Thu, 14 Jun 2012 12:46:28 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8509-out with ME id NClu1j00C4WQcrc03ClucJ; Thu, 14 Jun 2012 14:45:55 +0200
Received: from localhost (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 4FF23397F; Thu, 14 Jun 2012 14:45:54 +0200 (CEST)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RZUlF1XqZP4g; Thu, 14 Jun 2012 14:45:47 +0200 (CEST)
Received: from arekh.dyndns.org (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Thu, 14 Jun 2012 14:45:47 +0200 (CEST)
Received: from 192.196.142.27 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Thu, 14 Jun 2012 14:45:47 +0200
Message-ID: <de7b47c0761aea95987a3f66f9c549bd.squirrel@arekh.dyndns.org>
In-Reply-To: <21BA7F39-F9FF-45CF-AD3F-364D8E4CE73E@mnot.net>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com> <20120613163330.GA25932@1wt.eu> <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz> <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net> <loom.20120614T104702-439@post.gmane.org> <21BA7F39-F9FF-45CF-AD3F-364D8E4CE73E@mnot.net>
Date: Thu, 14 Jun 2012 14:45:47 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Mark Nottingham" <mnot@mnot.net>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, ietf-http-wg@w3.org
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.230; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sf9RO-0000Z4-P9 75bfedf1492e7324c57bee816b1ade2f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for   draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/de7b47c0761aea95987a3f66f9c549bd.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13809
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf9Ro-0000AW-0Q@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 12:46:48 +0000

Le Jeu 14 juin 2012 12:14, Mark Nottingham a Ã©crit :
>
> On 14/06/2012, at 7:04 PM, Nicolas Mailhot wrote:
>
>> Mark Nottingham <mnot@...> writes:
>>>
>>> So, again -- what's the use case for a machine consuming these? I haven't
>>> seen
>> one yet, unless I've missed something.
>>
>> 1. the block cause must be reflected in headers to be available in (legal or
>> debugging) logs. With today's spaghetti web sites that shard their content
>> over
>> multiple servers and delegate more and more bits to nebulous cloud platforms
>> with fuzzy limits having to read all the html pages exchanged to debug a
>> block
>> is increasingly un-practical
>
> The device doing the blocking can log its own actions without making it
> machine-readable on the wire.

That's pretty much useless for the web app/web client developer the users will
complain at since he won't have access to the device logs and often won't even
know where to ask for them.

Also, as soon as you have a multi-tiered network architecture, or one
organisation making some web resources available to another through two
separately-managed networks, that's the road to log correlation and
multi-organisation coordination hell.

>> 2. the block cause must be reflected in headers so all the web clients that
>> use
>> http as transport via some other middleware can be notified of the block
>> cause
>> (ie the not-html-capable http middleware needs something it can easily parse
>> and
>> pass up the stack so the web client presentation layer gets a chance to do
>> something with it and inform the user)
>
> Yes; this is the most compelling case I can see for a separate status code,
> similar to the one we had for 511. However, I don't yet see where the client
> will actually *do* something with the response that might require making this
> distinction. It was necessary in 511 because sites were interpreting the
> redirect as coming from the origin server, which has all sorts of nasty side
> effects for non-browser agents; what are the corresponding side effects here?

To be honest I don't think the problem-space is any different from error 511.

In my opinion the current discussion just shows that error 511 didn't go far
enough to handle gracefully all real-world blocking scenarii and assumed
(wrongly) that a blocking error with human content that would not necessarily
be displayed to the user was sufficient, because no one cared why the blocking
occurred. When in fact the only reason Tim Bray launched this discussion was
because he wanted to convey the blocking rationale.

After spending quite a lot of time thinking about the problems error 511 does
not solve in our context (which admittedly is a lot more complex than the home
office case), and getting varied feedback from the developers of some of the
web clients I asked implementing error 511, and having to solve a few more
problems caused by current web client inability to interact gracefully with
blocking gateways, I'd really love to see a design such as the following:

%<-----

1. a generic 'blocked by intermediary' error code web clients are forbidden to
retry on (same rationale as error 511)

2. a header containing a free-form short sentence describing the blocking
rationale ('Blocked due to law 666', 'Upgrade your access', 'Too young for
this', whatever). If you want to get fancy this header should be localizable
by suffixing/prefixing it with an iso 639 code (we don't need this but I'm
pretty sure it will be a requirement in countries with multiple official
languages where it is forbidden to discriminate between them, or on
transnational networks; that makes it a candidate for UTF-8 encoding by
default BTW)

The only purpose of this header is to give dumb web clients something to
display or log in case of blocking, and to leave no room for javascript or
complex html those clients can not understand (though for logging you'll also
want the two next headers)

I don't think there is any point in trying to define a set of standard values
for this header as humans are very good at inventing new
political/social/organizational/religious reasons to block some accesses.

3. an optional header containing the location of the full explanation of the
blockage (can be a pdf with terms of service, a web site with lots of fancy
chrome, a video statement of the local leader, some cartoons to explain kids
why they don't have access to adult content, the local three-strikes law
excerpt, an helpdesk wiki page, whatever)

IMHO it is a huge mistake to try to put the pretty explanation in the error
page itself as networking equipments are not all able to host the rich content
needed to explain a situation to many users, and current computers access
stuff right and left so any user on a network subject to blocking is likely to
receive the error multiple times in a row. Better to offload it somewhere the
user will only consult once or twice in a full browser, and that is able to
withstand the load if the blocking is too extensive. The gateway always has
the option to host this page itself and transmit its own IP as location

4. an optional header containing the location of a web portal the user can use
to elevate his access (when it is possible). Can be a full auth portal, a
payment portal, a form where a visitor can enter the token printed on the card
given to him by the hotel personnel, a web page with a button stating 'I agree
that pirating hollywood films is the ultimate sin', whatever

Some organisations will set a cookie (meaning only the web client used to
access the elevating access portal will work), others will authorize all
accesses from the ip that was used to elevate the access (for a time), there
are many possible variations and this scheme is not restrictive at all.

This way any web client can display at least 1. without requiring an html
engine, it is possible to provide users a more complex rationale
representation, and the web client is informed on how to elevate its access
when it is possible.

And it also works fine when you stack multiple levels of blocking gateways
that obey to different rationales and have different ways to trigger
un-blocking

Finally, that permits the writing of password managers and other browser
chrome extensions that auto-supply credentials when they recognize a trusted
portal location in 4. (and 4. also permits the use of https auth portals the
password manager can check the certificate of before injecting credentials).

5. To be complete you also need to define a status code that the portal in 4.
will emit when it is satisfied by the token presented by the user, so browsers
can implement the obvious logic of:
â€œafter receiving a blocking code on any access, if the portal location was
loaded and returned the ok code, retry the access that was previously
blockedÌ†â€�

%<-----

The main side effect is the same as for error 511: web client writers will
have to acknowledge intermediaries exist, and not posit that errors are
necessarily emitted from the endpoint. And they'll have to sandbox the error
appropriately so there is no leakage between the endpoint dialog and the
intermediary dialog, especially if it occurs during https browsing.

Like with error 511 that's not a reality web client writers will like and like
with error 511 the intermediary always had the option of blocking the traffic
with no explanation anyway. So there's no point in making it hard for it to
supply information that is likely to help the user.

>> 3. the info must absolutely be relayed to the human user so he gets a chance
>> to
>> do something about it.
>
> That really sounds like HTML; most browsers don't expose the raw status code.

That's why I suggest dual reporting: short rationale in http header, full
rational at a location specified in another header.

>> 4. The info must be complete enough the human user can act on it. Going to
>> the
>> hotel lobby to buy some more creds is not the same thing as being invited to
>> the
>> local police station to explain oneself
>
> Same as #3.

ditto

>> 5. There must be a way to inform the user ways to lift the block when the
>> possibility exists instead of having him hang in the dark (hotel payment
>> gateway
>> 'credit-exhausted pay-here-to-continue', corporate authentication portal
>> 'are-you-an-employee fill-in-your-corp-login-there',
>> 'content-was-blocked-because-we-believe-it-is-objectionnable,
>> here-is-the-html-form-to-contest-the-evaluation-if-you-believe-it-is-wrong',
>> etc, etc)
>
> How is that accomplished by a status code, and NOT by HTML?

It is possible if you complete a generic status code with the kinds of headers
I described before.

>> None of those work of you rely on an html soup error page that may or may
>> not be
>> parsed by the web client, or that you let the web client ignore at will even
>> when it is capable of parsing (current browsers refuse to display such pages
>> when a block occurs over https)
>
> None of these? Really?

None well enough for users to be happy and helpdesk be let alone. The current
situation is painful for everyone, there are too many ways blocking can occur
without the user been given the means to understand the blocking, nor support
given the means to diagnose easily what's wrong.

In fact, it is so painful right now that if being painful was sufficient to
stop humans from implementing blocking, no one would do it today.

Thank you for your attention!

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 06:04: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 C420921F866A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 06:04:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.279
X-Spam-Level: 
X-Spam-Status: No, score=-10.279 tagged_above=-999 required=5 tests=[AWL=0.320, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f10FbJXIsepw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 06:04:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CB77121F8513 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 06:04:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sf9iD-0005dz-SV for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 13:03:45 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sf9i0-0005bo-Ql for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 13:03:33 +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 1Sf9hF-0001Ig-Rl for ietf-http-wg@w3.org; Thu, 14 Jun 2012 13:03:26 +0000
Received: (qmail invoked by alias); 14 Jun 2012 13:02:17 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp027) with SMTP; 14 Jun 2012 15:02:17 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18kN9MxTH0kZ8jJiV0ph5djqA4Bv9Uc3/czBd9nTp dlr1ZJNcWn/K9w
Message-ID: <4FD9E0D8.1050704@gmx.de>
Date: Thu, 14 Jun 2012 15:02:16 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
CC: Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com>    <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>    <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net>    <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com>    <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com>    <20120613055124.GB20619@1wt.eu>    <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>    <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com>    <20120613163330.GA25932@1wt.eu>    <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz>    <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net>    <loom.20120614T104702-439@post.gmane.org>    <21BA7F39-F9FF-45CF-AD3F-364D8E4CE73E@mnot.net> <de7b47c0761aea95987a3f66f9c549bd.squirrel@arekh.dyndns.org>
In-Reply-To: <de7b47c0761aea95987a3f66f9c549bd.squirrel@arekh.dyndns.org>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, TIME_LIMIT_EXCEEDED=0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sf9hF-0001Ig-Rl 2fe5980e188e024b6edff82add1ca653
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for   draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FD9E0D8.1050704@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13810
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sf9iD-0005dz-SV@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 13:03:45 +0000

On 2012-06-14 14:45, Nicolas Mailhot wrote:
>
> Le Jeu 14 juin 2012 12:14, Mark Nottingham a Ã©crit :
>>
>> On 14/06/2012, at 7:04 PM, Nicolas Mailhot wrote:
>>
>>> Mark Nottingham <mnot@...> writes:
>>>>
>>>> So, again -- what's the use case for a machine consuming these? I haven't
>>>> seen
>>> one yet, unless I've missed something.
>>>
>>> 1. the block cause must be reflected in headers to be available in (legal or
>>> debugging) logs. With today's spaghetti web sites that shard their content
>>> over
>>> multiple servers and delegate more and more bits to nebulous cloud platforms
>>> with fuzzy limits having to read all the html pages exchanged to debug a
>>> block
>>> is increasingly un-practical
>>
>> The device doing the blocking can log its own actions without making it
>> machine-readable on the wire.
>
> That's pretty much useless for the web app/web client developer the users will
> complain at since he won't have access to the device logs and often won't even
> know where to ask for them.
>
> Also, as soon as you have a multi-tiered network architecture, or one
> organisation making some web resources available to another through two
> separately-managed networks, that's the road to log correlation and
> multi-organisation coordination hell.
>
>>> 2. the block cause must be reflected in headers so all the web clients that
>>> use
>>> http as transport via some other middleware can be notified of the block
>>> cause
>>> (ie the not-html-capable http middleware needs something it can easily parse
>>> and
>>> pass up the stack so the web client presentation layer gets a chance to do
>>> something with it and inform the user)
>>
>> Yes; this is the most compelling case I can see for a separate status code,
>> similar to the one we had for 511. However, I don't yet see where the client
>> will actually *do* something with the response that might require making this
>> distinction. It was necessary in 511 because sites were interpreting the
>> redirect as coming from the origin server, which has all sorts of nasty side
>> effects for non-browser agents; what are the corresponding side effects here?
>
> To be honest I don't think the problem-space is any different from error 511.
>
> In my opinion the current discussion just shows that error 511 didn't go far
> enough to handle gracefully all real-world blocking scenarii and assumed
> (wrongly) that a blocking error with human content that would not necessarily
> be displayed to the user was sufficient, because no one cared why the blocking
> occurred. When in fact the only reason Tim Bray launched this discussion was
> because he wanted to convey the blocking rationale.
>
> After spending quite a lot of time thinking about the problems error 511 does
> not solve in our context (which admittedly is a lot more complex than the home
> office case), and getting varied feedback from the developers of some of the
> web clients I asked implementing error 511, and having to solve a few more
> problems caused by current web client inability to interact gracefully with
> blocking gateways, I'd really love to see a design such as the following:
>
> %<-----
>
> 1. a generic 'blocked by intermediary' error code web clients are forbidden to
> retry on (same rationale as error 511)
>
> 2. a header containing a free-form short sentence describing the blocking
> rationale ('Blocked due to law 666', 'Upgrade your access', 'Too young for
> this', whatever). If you want to get fancy this header should be localizable
> by suffixing/prefixing it with an iso 639 code (we don't need this but I'm
> pretty sure it will be a requirement in countries with multiple official
> languages where it is forbidden to discriminate between them, or on
> transnational networks; that makes it a candidate for UTF-8 encoding by
> default BTW)
>
> The only purpose of this header is to give dumb web clients something to
> display or log in case of blocking, and to leave no room for javascript or
> complex html those clients can not understand (though for logging you'll also
> want the two next headers)
>
> I don't think there is any point in trying to define a set of standard values
> for this header as humans are very good at inventing new
> political/social/organizational/religious reasons to block some accesses.
>
> 3. an optional header containing the location of the full explanation of the
> blockage (can be a pdf with terms of service, a web site with lots of fancy
> chrome, a video statement of the local leader, some cartoons to explain kids
> why they don't have access to adult content, the local three-strikes law
> excerpt, an helpdesk wiki page, whatever)
>
> IMHO it is a huge mistake to try to put the pretty explanation in the error
> page itself as networking equipments are not all able to host the rich content
> needed to explain a situation to many users, and current computers access
> stuff right and left so any user on a network subject to blocking is likely to
> receive the error multiple times in a row. Better to offload it somewhere the
> user will only consult once or twice in a full browser, and that is able to
> withstand the load if the blocking is too extensive. The gateway always has
> the option to host this page itself and transmit its own IP as location
>
> 4. an optional header containing the location of a web portal the user can use
> to elevate his access (when it is possible). Can be a full auth portal, a
> payment portal, a form where a visitor can enter the token printed on the card
> given to him by the hotel personnel, a web page with a button stating 'I agree
> that pirating hollywood films is the ultimate sin', whatever
>
> Some organisations will set a cookie (meaning only the web client used to
> access the elevating access portal will work), others will authorize all
> accesses from the ip that was used to elevate the access (for a time), there
> are many possible variations and this scheme is not restrictive at all.
>
> This way any web client can display at least 1. without requiring an html
> engine, it is possible to provide users a more complex rationale
> representation, and the web client is informed on how to elevate its access
> when it is possible.
>
> And it also works fine when you stack multiple levels of blocking gateways
> that obey to different rationales and have different ways to trigger
> un-blocking
>
> Finally, that permits the writing of password managers and other browser
> chrome extensions that auto-supply credentials when they recognize a trusted
> portal location in 4. (and 4. also permits the use of https auth portals the
> password manager can check the certificate of before injecting credentials).
>
> 5. To be complete you also need to define a status code that the portal in 4.
> will emit when it is satisfied by the token presented by the user, so browsers
> can implement the obvious logic of:
> â€œafter receiving a blocking code on any access, if the portal location was
> loaded and returned the ok code, retry the access that was previously
> blockedÌ†â€�
>
> %<-----
> ...

This really, really smells like over-engineering to me. Also, HTTP 
header fields are a very bad solution to transporting human-readable 
text; that's what we have markup languages for.

It probably would be useful if you could walk us through a concrete use 
case where a status code + response body is not sufficient. (And if you 
did before, sorry, then please provide a pointer).

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 07:54: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 4364821F8681 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 07:54:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.31
X-Spam-Level: 
X-Spam-Status: No, score=-9.31 tagged_above=-999 required=5 tests=[AWL=0.667, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aYOOsaB4LvLk for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 07:54:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2CFEE21F8678 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 07:54:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfBOA-0003sl-Ts for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 14:51:10 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <y.oiwa@aist.go.jp>) id 1SfBNs-0003rs-Iu for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 14:50:52 +0000
Received: from na3sys010aog108.obsmtp.com ([74.125.245.84]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1SfBNo-0006tH-MZ for ietf-http-wg@w3.org; Thu, 14 Jun 2012 14:50:51 +0000
Received: from mail-gg0-f174.google.com ([209.85.161.174]) (using TLSv1) by na3sys010aob108.postini.com ([74.125.244.12]) with SMTP ID DSNKT9n6MN/pL9IA5j7M/s4IlYY/ALvZVsd8@postini.com; Thu, 14 Jun 2012 07:50:47 PDT
Received: by gglu4 with SMTP id u4so1579268ggl.33 for <ietf-http-wg@w3.org>; Thu, 14 Jun 2012 07:50:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=rT7m19t3Z7hohuHMBCQK5L9r2yQrW8TPHPrqwly1dkw=; b=QOwRDSgzKx1gJOivwYuZC3U+C2pWt5dHtp+eUq4pUPYIeUR8grHyXTrWq5kGPtzeuW MEoquxskyWXqA3AWOWfBGFA1/fVKSDQQbyOz+DhBv0unKOlIhq4OLhitBUmtgX6Hmz+n DRm2YXLPw2B+ivcYYIB7Q3Z0O7zCkpQlQbqs8=
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:content-transfer-encoding:x-gm-message-state; bh=rT7m19t3Z7hohuHMBCQK5L9r2yQrW8TPHPrqwly1dkw=; b=fCyvTcOblB1bypmPqpbIxNLTNPlCf894ALrXW7hSGmlaWZUKqB8HEF0FXy+vt8v4XT 0X66Zco4qc4n4J+A2KA3tuSwm3V6uHn9UIyI57zVUV+ewn9Nzar/CO1+P+E4JpE3EAqR /pK3cN7PunR/dKO8yn7bZWA3dYXKpEymC6B3YUv689Eamc6bxN/AMneBDJfZ84EJRSA2 opAyuMSrIMydxny2ZC08xkODr+/ToLnD1h84xTsSUreIqrnHYpKTh1pRrqG4v4jccn9D YB5fUqf+whRxtY0HBQs0eJm+AnFuBI9KmZoWmX+GdEh1sKOxqZwkaNwkYUpO1R+dQ4r8 6SsA==
Received: by 10.50.168.1 with SMTP id zs1mr991501igb.45.1339685422690; Thu, 14 Jun 2012 07:50:22 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.85.101 with HTTP; Thu, 14 Jun 2012 07:50:02 -0700 (PDT)
In-Reply-To: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Thu, 14 Jun 2012 23:50:02 +0900
Message-ID: <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Alexey Melnikov <alexey.melnikov@isode.com>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQka39gTQmBA2mcsmtRC3D8XwBGtJxO+BnMbFinTm8RT86sga6I6W5LdXrDjaIAr55y8ZGpB
Received-SPF: pass client-ip=74.125.245.84; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog108.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SfBNo-0006tH-MZ 23e54077d7cf77ca1f25838bd5c51514
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13811
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfBOA-0003sl-Ts@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 14:51:10 +0000

Dear Mark,

I'm not Alexey, but (one of) the person(s) proposing an HTTP authentication
not happen in just one exchange.

>> If the origin server does not wish to accept the credentials
>> sent with a request, it SHOULD return a 401 (Unauthorized) response.

My interpretation of this phrase is "if the origin server does not wish to
provide the requested resource with credentials sent within a request"
(slightly rephrased).
Under this interpretation, we can implement multi-exchange authentication
by using the 401 status code as follows:

A non-authenticating request -> 401 Unauthorized (not acceptable)
-> ask user a secret
-> A request with 1st-credential -> 401 Unauthorized (not satisfied yet)
-> A request with 2nd-credential -> 200 Succeed (now satisfied enough)

# Of course, it can be naturally extended for three or more exchanges.

As far as I know, 401/407 are the best choice for this case.
I also think that there were already multi-exchange HTTP authentications
using 401 in this way.

If one thinks the original sentence is bad for this,
his/her understanding of the above flow may be
"the server is accepting the 1st credential, and just requesting more", I g=
uess.

My proposal is either we can just leave the text as is, or rephrase it
like something above.

# Any rephrasing again with better English is welcome.

2012/6/8 Mark Nottingham <mnot@mnot.net>:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/357>
>
> Alexey, could you say a little more here? The text as it reads doesn't re=
quire authentication to happen in one exchange; it only mandates the status=
 codes and headers to use.
>
> Thanks,
>
> --
> Mark Nottingham =A0 http://www.mnot.net/
>
>
>
>



--=20
Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliability =
Research Group
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Institu=
te for Secure Systems (RISEC)
=A0 =A0National Institute of Advanced Industrial Science and Technology (AI=
ST)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.go.=
jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 46=
B5]


From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 08:27: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 D0D3521F86CF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 08:27: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a9I2oun7xzwo for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 08:27:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D44D621F86CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 08:27:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfBvc-0004wY-Ra for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 15:25:44 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nicolas.mailhot@laposte.net>) id 1SfBvN-0004sz-Ag for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 15:25:29 +0000
Received: from smtpout6.laposte.net ([193.253.67.231] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SfBvE-0007CK-MR for ietf-http-wg@w3.org; Thu, 14 Jun 2012 15:25:27 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8511-out with ME id NFQt1j0084WQcrc03FQtSs; Thu, 14 Jun 2012 17:24:54 +0200
Received: from localhost (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 18A7E397F; Thu, 14 Jun 2012 17:24:53 +0200 (CEST)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QuHRgLpCBD7z; Thu, 14 Jun 2012 17:24:50 +0200 (CEST)
Received: from arekh.dyndns.org (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Thu, 14 Jun 2012 17:24:50 +0200 (CEST)
Received: from 192.196.142.27 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Thu, 14 Jun 2012 17:24:50 +0200
Message-ID: <dfff87d58b3a994194a5fe84b1289f91.squirrel@arekh.dyndns.org>
In-Reply-To: <4FD9E0D8.1050704@gmx.de>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com> <20120613163330.GA25932@1wt.eu> <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz> <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net> <loom.20120614T104702-439@post.gmane.org> <21BA7F39-F9FF-45CF-AD3F-364D8E4CE73E@mnot.net> <de7b47c0761aea95987a3f66f9c549bd.squirrel@arekh.dyndns.org> <4FD9E0D8.1050704@gmx.de>
Date: Thu, 14 Jun 2012 17:24:50 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "Julian Reschke" <julian.reschke@gmx.de>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, "Mark Nottingham" <mnot@mnot.net>, ietf-http-wg@w3.org
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.231; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SfBvE-0007CK-MR c826c46efa48db892f29e29e3a50f94f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for    draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/dfff87d58b3a994194a5fe84b1289f91.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13812
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfBvc-0004wY-Ra@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 15:25:44 +0000

Le Jeu 14 juin 2012 15:02, Julian Reschke a Ã©crit :

> This really, really smells like over-engineering to me. Also, HTTP
> header fields are a very bad solution to transporting human-readable
> text; that's what we have markup languages for.
>
> It probably would be useful if you could walk us through a concrete use
> case where a status code + response body is not sufficient. (And if you
> did before, sorry, then please provide a pointer).

Some use cases and problems (not exhaustive):

A. employee is visiting a foreign location. For safety reasons his laptop is
configured to only access the internet through corporate proxies that will
perform a set of anti-malware checks. To reach those proxies he needs to
launch a vpn on log in. The hotel has a captive portal.

Any web access will only succeed if:
1. the captive portal lets it pass
2. the vpn is set up
3. the corporate proxy okays it

So in this very simple case you have three levels of gateways to pass, one web
client (the vpn client) that is unable to process any complex html code, and a
non-technical user very far from any help.

For this setup to work the hotel captive portal needs to send the vpn client
something simple enough the vpn client recognizes it's a gateway portal
request, and lets the browser connect to it directly instead of passing
through the (not yet available) proxy

The vpn client can not read html.

If browsing is blocked at any point later the user needs to know if it's
because he needs to pay more at the hotel or because his access is blocked by
corporate policy. Hopefully in a non-spoofable way (so need to point to an
auth/explanation location secured by its own known certificate, not a naked
415 page)

B. A company has redundant filtering internet gateways. They do not share
authentication realms (because that is hard to do without making the gateways
dependant on one another). Web clients know both gateways through a .pac file
and decide to switch from one to another for their own reasons (typically,
"web site is slow to answer, let's try the other gateway in case it works
better"). When user auth expires the user need to be notified by the browser
even if he's mid https session, the notification must point to the correct
auth portal (the user has no idea which gateway his browser decided to try at
this moment, and besides its all technical mumbo-jumbo for him), and it must
be explicit enough one can hope to plug a password/certificate manager over it
someday

C. A company authorises direct access to an internal web app by another
company. If blocking occurs at any point the users of this other company must
be informed if the blocking is done by first company network, second company
network or if the app itself has a bug (that needs to be reported to its
application maintenance team)

D. Any time blocking occurs when a user POSTs some data, if the browser is not
aware that the user or some password manager resolved the blockage by
successfully supplying credentials to the location specified in the blocking
error, and if the browser does not then auto-retry the access that failed
before, the post content will be lost (because teaching non-technical users to
refresh the correct page at the correct time manually is a lost cause)

Browser can not know a specific location unlocks the gateway if it is not
specified at the http level and if there is no standard code that conveys
successful unlocking

(you could hide this complexity via various URL redirect tricks, but browsers
block them on https for security reasons nowadays so now the browser itself
must initiate the reloading of the blocked post when it is possible to do so
again)

E. Access is blocked. Users do not understand simple explanations and need
lots of pictures and text. Those explanations are provided in the error page
itself instead of a separate location. Frustrated users do not read the
explanations and just retry in a loop. Gateway melts under the load. No access
is possible for anyone anymore (even accesses for users that were not blocked
previously)

D. Same scenario but this time the network equipment can only provide a single
page with no external dependencies at all. Loads of not-fun with embedded
data: references to try to push the info anyway

E. Any fat client situation (eclipse, git, wget scripts, various rcp or dotnet
clients developed using traditional client/server mindset and that use http
transport because of-the-shelf libraries are available and this way they don't
have to ask to open new ports on the corporate firewalls). None of those will
be able to render a complex html page. All of those can easily be upgraded to
display a short error text on a specific error code and an url the user can
then launch in his browser

D. Any loging/debuging scenario where web pages bodies will be typically
ignored (to limit logging cost) but http envelope won't

E. Any scenario where you're worried about spoofing and would like your users
to check the reason given in the short error before opening a complete
(possiby hostile) site (just like you'd want them to check mail titles before
acting on their content)

F. If you don't add some free-form text to the error code you'll have to
invent new error codes for each blocking situation instead of having a single
one everyone can implement support for

You could perhaps get by with only the two location headers (one for the fine
manual no one will read but everyone will complain at if it's missing, the
other for the un-block location that will be heavily used) but it's a lot
easier to have a short text that says 'blocked due to rule 22' or 'blocked due
to rule 5' and in both cases point to the same terms of use web page/pdf, than
to try to have separate stable entry points for all the possible block reasons
as soon as you have non-trivial terms of use.

And fat client presentation layer will really want to have some short text to
print before naked urls. If you don't give it to them they'll invent something
(that will likely not represent accurately all blocking scenarii)

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 10:13: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 2A73021F854E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 10:13: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OwO6y3vqxEzv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 10:13:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AE30321F8688 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 10:13:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfDas-00039l-OO for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 17:12:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <atlunde@panix.com>) id 1SfDaa-00038s-24 for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 17:12:08 +0000
Received: from mailbackend.panix.com ([166.84.1.89]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <atlunde@panix.com>) id 1SfDaX-00025L-9o for ietf-http-wg@w3.org; Thu, 14 Jun 2012 17:12:06 +0000
Received: from [192.168.1.136] (c-24-15-64-127.hsd1.il.comcast.net [24.15.64.127]) by mailbackend.panix.com (Postfix) with ESMTP id F08ED34C21; Thu, 14 Jun 2012 13:11:43 -0400 (EDT)
Message-ID: <4FDA1B4A.3050904@panix.com>
Date: Thu, 14 Jun 2012 12:11:38 -0500
From: Albert Lunde <atlunde@panix.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>
In-Reply-To: <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=166.84.1.89; envelope-from=atlunde@panix.com; helo=mailbackend.panix.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SfDaX-00025L-9o 8760759858f0fe693797e2268939cfee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FDA1B4A.3050904@panix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13813
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfDas-00039l-OO@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 17:12:26 +0000

Rather than having details of the policy/legal etc. restrictions in 
additional headers, would there be any merit in having a structured XML 
mime multi-part, containing information in a parseable form?

I suppose if one put text or HTML body parts first, a simple-minded 
client would display that, but an advanced client could get more details.





From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 16:14: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 27A7A11E807F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 16:14:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.08
X-Spam-Level: 
X-Spam-Status: No, score=-10.08 tagged_above=-999 required=5 tests=[AWL=0.519, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gks8r5BM2LzC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 16:14:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5AD4411E8072 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 16:14:55 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfJDg-0000wE-5a for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 23:12:52 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SfJD8-0000vE-JV for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 23:12:18 +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 1SfJD5-0002au-CB for ietf-http-wg@w3.org; Thu, 14 Jun 2012 23:12:16 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7816550A65; Thu, 14 Jun 2012 19:11:52 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD9D512.7030207@gmx.de>
Date: Fri, 15 Jun 2012 09:11:48 +1000
Cc: httpbis Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <74E304E1-F003-4D21-86AB-F153DABE59BB@mnot.net>
References: <20110527121529.12527.95232.idtracker@ietfa.amsl.com> <04FFD657-4CF3-44EE-A7DA-3BC533ACA001@mnot.net> <4FD9D512.7030207@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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 1SfJD5-0002au-CB cbe2757ab4a52e643e05ded8ad3c856a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: inv-maxage Cache-Control directive syntax, was: Fwd: I-D Action:  draft-nottingham-linked-cache-inv-00.txt
Archived-At: <http://www.w3.org/mid/74E304E1-F003-4D21-86AB-F153DABE59BB@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13814
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfJDg-0000wE-5a@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 23:12:52 +0000

On 14/06/2012, at 10:12 PM, Julian Reschke wrote:

> On 2011-05-28 02:56, Mark Nottingham wrote:
>> FYI. This is an individual draft, not a WG effort. Nevertheless, =
feedback welcome.
>>=20
>> Regards,
>> ...
>=20
> In =
<http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-02#section-5=
>, it would be good to define the edge parsing edge cases, such as:
>=20
> - multiple instances of the directive,
>=20
> - missing argument,
>=20
> - use of quoted-string.

Agreed.

> I would propose to say that:
>=20
> - the parameter value needs to follow the delta-seconds ABNF after =
applying generic C-D parsing,

C-D?

> - that a missing argument is to be treated as empty string (thus =
invalid), and

Yes

> - that specifying multiple instances makes the Cache-Control header =
invalid with respect to this directive (thus the header field should be =
processed as if inv-maxage wasn't specified at all).

yes

>=20
> Optimally, including examples :-)

As always

Thanks,

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





From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 16:26: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 A382C21F8484 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 16:26:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.101
X-Spam-Level: 
X-Spam-Status: No, score=-10.101 tagged_above=-999 required=5 tests=[AWL=0.498, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id daLoDdW98H4x for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 16:26:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 80DEE21F8483 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 16:26:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfJPv-0004lD-T2 for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 23:25:31 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SfJPd-0004kC-89 for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 23:25:13 +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 1SfJPa-0005dv-2h for ietf-http-wg@w3.org; Thu, 14 Jun 2012 23:25:11 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C546E509B4; Thu, 14 Jun 2012 19:24:46 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com>
Date: Fri, 15 Jun 2012 09:24:42 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com>
To: Yutaka OIWA <y.oiwa@aist.go.jp>, Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SfJPa-0005dv-2h ddb40028d86a18dcd46bb8935d4f5b38
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13815
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfJPv-0004lD-T2@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 23:25:31 +0000

On 15/06/2012, at 12:50 AM, Yutaka OIWA wrote:

> Dear Mark,
>=20
> I'm not Alexey, but (one of) the person(s) proposing an HTTP =
authentication
> not happen in just one exchange.
>=20
>>> If the origin server does not wish to accept the credentials
>>> sent with a request, it SHOULD return a 401 (Unauthorized) response.
>=20
> My interpretation of this phrase is "if the origin server does not =
wish to
> provide the requested resource with credentials sent within a request"
> (slightly rephrased).
> Under this interpretation, we can implement multi-exchange =
authentication
> by using the 401 status code as follows:
>=20
> A non-authenticating request -> 401 Unauthorized (not acceptable)
> -> ask user a secret
> -> A request with 1st-credential -> 401 Unauthorized (not satisfied =
yet)
> -> A request with 2nd-credential -> 200 Succeed (now satisfied enough)
>=20
> # Of course, it can be naturally extended for three or more exchanges.

That was my reading too.

> As far as I know, 401/407 are the best choice for this case.
> I also think that there were already multi-exchange HTTP =
authentications
> using 401 in this way.
>=20
> If one thinks the original sentence is bad for this,
> his/her understanding of the above flow may be
> "the server is accepting the 1st credential, and just requesting =
more", I guess.
>=20
> My proposal is either we can just leave the text as is, or rephrase it
> like something above.

"provide the requested resource" isn't correct from an HTTP standpoint, =
but I see where you're going.

My (personal) inclination is to leave it as-is, but I'm not against =
rewording if that'll move us forward.

Alexey?

>=20
> # Any rephrasing again with better English is welcome.
>=20
> 2012/6/8 Mark Nottingham <mnot@mnot.net>:
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/357>
>>=20
>> Alexey, could you say a little more here? The text as it reads =
doesn't require authentication to happen in one exchange; it only =
mandates the status codes and headers to use.
>>=20
>> Thanks,
>>=20
>> --
>> Mark Nottingham   http://www.mnot.net/
>>=20
>>=20
>>=20
>>=20
>=20
>=20
>=20
> --=20
> Yutaka OIWA, Ph.D.              Leader, Software Reliability Research =
Group
>                              Research Institute for Secure Systems =
(RISEC)
>    National Institute of Advanced Industrial Science and Technology =
(AIST)
>                      Mail addresses: <y.oiwa@aist.go.jp>, =
<yutaka@oiwa.jp>
> OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 =
46B5]
>=20

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





From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 16:42: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 9C49311E808C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 16:42:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.12
X-Spam-Level: 
X-Spam-Status: No, score=-10.12 tagged_above=-999 required=5 tests=[AWL=0.479, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JZoWDiCsso-1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 16:42:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D537611E8083 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 16:42:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfJfT-0007GI-Vt for ietf-http-wg-dist@listhub.w3.org; Thu, 14 Jun 2012 23:41:36 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SfJfH-0007FR-NI for ietf-http-wg@listhub.w3.org; Thu, 14 Jun 2012 23:41:23 +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 1SfJfE-0006SW-FT for ietf-http-wg@w3.org; Thu, 14 Jun 2012 23:41:21 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 2ED6B50A5D; Thu, 14 Jun 2012 19:40:57 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FD9D133.3000804@gmx.de>
Date: Fri, 15 Jun 2012 09:40:54 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SfJfE-0006SW-FT fe427da0ba19c1886204bbbe4496bbed
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13816
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfJfT-0007GI-Vt@frink.w3.org>
Resent-Date: Thu, 14 Jun 2012 23:41:35 +0000

On 14/06/2012, at 9:55 PM, Julian Reschke wrote:

>>> I believe that all new directives should not only be parseable with =
a generic parser, but also that senders can *rely* on them being parsed =
that way; see James' explanation.
>>=20
>> And that's fine; I'm just wondering why we're encouraging this with a =
MUST, where we haven't done so anywhere else, AFAICT.
>=20
> I agree that we should be consistent about this in the spec =
independently of the header field. *Are* we currently inconistent?
>=20
>> ...
>>>> Likewise for auth schemes: =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p7-au=
th.html#considerations.for.new.authentication.schemes>
>>>=20
>>> That is incorrect. We've had these requirements all the time based =
on the ABNF.
>>=20
>> Yes, but we haven't surfaced them as conformance requirements for =
auth schemes like we are here. Why is this different?
>> ...
>=20
> I don't think it's different.
>=20
> The header field definition needs to define how to parse the header =
field, including future extensions. Extensions can constrain =
parameter/argument values *after* parsing (like: *DIGIT), but shouldn't =
constrain the base syntax (for the reasons we have discussed many many =
times).
>=20
> The reason why we're discussing this here is that we need to =
special-case the existing cache control directives for now, thus we also =
have text that tries to clarify that the situation is different for any =
other directive. Maybe that's where the disconnect comes from?

I *think* the only point of disagreement here is whether this (i.e., how =
to parse "non-core" cc directives) is advisory ("ought to...") or a =
conformance requirement ("MUST...").

I can't find anywhere else in our specs where we place conformance =
requirements on being able to parse multiple paths in the ABNF. Can you?

Cheers,

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





From ietf-http-wg-request@listhub.w3.org  Thu Jun 14 17:39: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 4D10211E80AE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 17:39:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.497
X-Spam-Level: 
X-Spam-Status: No, score=-9.497 tagged_above=-999 required=5 tests=[AWL=0.479, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 41zpQcEaLPK0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 14 Jun 2012 17:39:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A59C911E80AA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 14 Jun 2012 17:39:13 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfKXc-0002Yu-MT for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Jun 2012 00:37:32 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1SfKXH-0001aJ-Bg for ietf-http-wg@listhub.w3.org; Fri, 15 Jun 2012 00:37:11 +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 <tbray@textuality.com>) id 1SfKXE-00009n-8T for ietf-http-wg@w3.org; Fri, 15 Jun 2012 00:37:09 +0000
Received: by obfk16 with SMTP id k16so3444882obf.2 for <ietf-http-wg@w3.org>; Thu, 14 Jun 2012 17:36:42 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=0fr+QLHSQMb/GCtZvcjZETGW0+dFhQBOnp8hWJd3Hm8=; b=lfPTz9fGxxa82u8Q80GGrzAVAnd2ef/hL1XkoiiS6xZBJMgRi63oYoayW2gudalwNp JUEHDVTEArV9e3F4FkwxseGym82jkagBDutFhyN79qF2jav57O0g5XGYCDeQYblX83v7 ml34CsZNY5avUZa0C6o5W1wZBJdpxS/ILzfwIQEkuxPZygm5aZ5n50Erpe/BXXHhdxef jniRcmVK0az2Ofq7dZgXzFLDM6un8TSYi8SQew8jsg4XVCGw8/s5sCYfOBZAT0/gB99I Uyh84XHtWlujqsxxTbyeONa3exIlADoKGL3zglcVjDc5Q25rd+WPLAQlqSRLJLYnkZez X69w==
MIME-Version: 1.0
Received: by 10.182.115.74 with SMTP id jm10mr3952853obb.71.1339720602345; Thu, 14 Jun 2012 17:36:42 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Thu, 14 Jun 2012 17:36:42 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <4FDA1B4A.3050904@panix.com>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <4FDA1B4A.3050904@panix.com>
Date: Thu, 14 Jun 2012 17:36:42 -0700
Message-ID: <CAHBU6itVM5RDD_LRVWMhG6a+QndTufZSSGFGAzRYCx22K+XpRA@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Albert Lunde <atlunde@panix.com>
Cc: Mark Nottingham <mnot@mnot.net>, ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=f46d0444ea8399ded204c2780250
X-Gm-Message-State: ALoCoQkoEsJHLIObgBiPozUpOVs32Qv3ZA1o3ZN6EsVNr8X2ZpjlbS/aKpw7+XmOkwRiaKFOoB7a
Received-SPF: none client-ip=209.85.214.171; envelope-from=tbray@textuality.com; helo=mail-ob0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SfKXE-00009n-8T abc4493f0ac4aa89c8f03fda8bdc1605
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/CAHBU6itVM5RDD_LRVWMhG6a+QndTufZSSGFGAzRYCx22K+XpRA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13817
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfKXc-0002Yu-MT@frink.w3.org>
Resent-Date: Fri, 15 Jun 2012 00:37:32 +0000

--f46d0444ea8399ded204c2780250
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

You folks who want an enriched semantic payload describing the
finer-grained aspects of different modes & causes of policy-driven blockage
need to come up with some detailed proposals, maybe a controlled vocabulary
too.

Also, it=92s clear that this is entirely separate issue from the original
proposal, for a single HTTP status code saying =93legal restrictions=94 wit=
h a
SHOULD saying =93please explain in the response body=94.  Neither need depe=
nd
on the other.  -T

On Thu, Jun 14, 2012 at 10:11 AM, Albert Lunde <atlunde@panix.com> wrote:

> Rather than having details of the policy/legal etc. restrictions in
> additional headers, would there be any merit in having a structured XML
> mime multi-part, containing information in a parseable form?
>
> I suppose if one put text or HTML body parts first, a simple-minded clien=
t
> would display that, but an advanced client could get more details.
>
>
>
>
>

--f46d0444ea8399ded204c2780250
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

You folks who want an enriched semantic payload describing the finer-graine=
d aspects of different modes &amp; causes of policy-driven blockage need to=
 come up with some detailed proposals, maybe a controlled vocabulary too.<b=
r>
<br>Also, it=92s clear that this is entirely separate issue from the origin=
al proposal, for a single HTTP status code saying =93legal restrictions=94 =
with a SHOULD saying =93please explain in the response body=94.=A0 Neither =
need depend on the other.=A0 -T<br>
<br><div class=3D"gmail_quote">On Thu, Jun 14, 2012 at 10:11 AM, Albert Lun=
de <span dir=3D"ltr">&lt;<a href=3D"mailto:atlunde@panix.com" target=3D"_bl=
ank">atlunde@panix.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:1=
ex">
Rather than having details of the policy/legal etc. restrictions in additio=
nal headers, would there be any merit in having a structured XML mime multi=
-part, containing information in a parseable form?<br>
<br>
I suppose if one put text or HTML body parts first, a simple-minded client =
would display that, but an advanced client could get more details.<br>
<br>
<br>
<br>
<br>
</blockquote></div><br>

--f46d0444ea8399ded204c2780250--


From ietf-http-wg-request@listhub.w3.org  Fri Jun 15 00:19: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 675D021F8547 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 00:19:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.049
X-Spam-Level: 
X-Spam-Status: No, score=-9.049 tagged_above=-999 required=5 tests=[AWL=1.550, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iKpLYldXa2WT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 00:19:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 83D7021F853C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 15 Jun 2012 00:19:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfQn7-0003iA-3y for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Jun 2012 07:17:57 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SfQml-0003do-W4 for ietf-http-wg@listhub.w3.org; Fri, 15 Jun 2012 07:17:36 +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 1SfQmh-0003mO-E7 for ietf-http-wg@w3.org; Fri, 15 Jun 2012 07:17:33 +0000
Received: (qmail invoked by alias); 15 Jun 2012 06:50:24 -0000
Received: from p5DD9757C.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.117.124] by mail.gmx.net (mp029) with SMTP; 15 Jun 2012 08:50:24 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18oaINhz2Ao3NegANY3zwHXu1cbTgyC+V/I661hj2 ULeWVcWxBvE5/Y
Message-ID: <4FDADB30.7010709@gmx.de>
Date: Fri, 15 Jun 2012 08:50:24 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: httpbis Group <ietf-http-wg@w3.org>
References: <20110527121529.12527.95232.idtracker@ietfa.amsl.com> <04FFD657-4CF3-44EE-A7DA-3BC533ACA001@mnot.net> <4FD9D512.7030207@gmx.de> <74E304E1-F003-4D21-86AB-F153DABE59BB@mnot.net>
In-Reply-To: <74E304E1-F003-4D21-86AB-F153DABE59BB@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SfQmh-0003mO-E7 1ff90f488e1d097b7968e6e5e1fb301f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: inv-maxage Cache-Control directive syntax, was: Fwd: I-D Action:   draft-nottingham-linked-cache-inv-00.txt
Archived-At: <http://www.w3.org/mid/4FDADB30.7010709@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13818
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfQn7-0003iA-3y@frink.w3.org>
Resent-Date: Fri, 15 Jun 2012 07:17:57 +0000

On 2012-06-15 01:11, Mark Nottingham wrote:
>
> On 14/06/2012, at 10:12 PM, Julian Reschke wrote:
>
>> On 2011-05-28 02:56, Mark Nottingham wrote:
>>> FYI. This is an individual draft, not a WG effort. Nevertheless, feedback welcome.
>>>
>>> Regards,
>>> ...
>>
>> In <http://tools.ietf.org/html/draft-nottingham-linked-cache-inv-02#section-5>, it would be good to define the edge parsing edge cases, such as:
>>
>> - multiple instances of the directive,
>>
>> - missing argument,
>>
>> - use of quoted-string.
>
> Agreed.
>
>> I would propose to say that:
>>
>> - the parameter value needs to follow the delta-seconds ABNF after applying generic C-D parsing,
>
> C-D?

Sry. Cache-Control!

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Jun 15 00:36: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 1089221F85BD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 00:36: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V-PVMS0ZyPxQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 00:36:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2F23B21F85B4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 15 Jun 2012 00:35:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfR3g-0008E4-SZ for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Jun 2012 07:35:04 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nicolas.mailhot@laposte.net>) id 1SfR3M-0008C1-DJ for ietf-http-wg@listhub.w3.org; Fri, 15 Jun 2012 07:34:44 +0000
Received: from smtpout4.laposte.net ([193.253.67.229] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SfR3H-0004Z7-DI for ietf-http-wg@w3.org; Fri, 15 Jun 2012 07:34:42 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8508-out with ME id NXa21j00B4WQcrc03Xa2py; Fri, 15 Jun 2012 09:34:12 +0200
Received: from localhost (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id 4092C5836; Fri, 15 Jun 2012 09:34:02 +0200 (CEST)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TbLw96l8WCYB; Fri, 15 Jun 2012 09:33:59 +0200 (CEST)
Received: from arekh.dyndns.org (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Fri, 15 Jun 2012 09:33:59 +0200 (CEST)
Received: from 192.196.142.27 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Fri, 15 Jun 2012 09:33:59 +0200
Message-ID: <3a6b62c2d1d6afdf475e4ef8e1b426f6.squirrel@arekh.dyndns.org>
In-Reply-To: <dfff87d58b3a994194a5fe84b1289f91.squirrel@arekh.dyndns.org>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com> <20120613163330.GA25932@1wt.eu> <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz> <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net> <loom.20120614T104702-439@post.gmane.org> <21BA7F39-F9FF-45CF-AD3F-364D8E4CE73E@mnot.net> <de7b47c0761aea95987a3f66f9c549bd.squirrel@arekh.dyndns.org> <4FD9E0D8.1050704@gmx.de> <dfff87d58b3a994194a5fe84b1289f91.squirrel@arekh.dyndns.org>
Date: Fri, 15 Jun 2012 09:33:59 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: ietf-http-wg@w3.org
Cc: "Julian Reschke" <julian.reschke@gmx.de>, "Mark Nottingham" <mnot@mnot.net>, tbray@textuality.com, julian.reschke@gmx.de, w@1wt.eu
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.229; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SfR3H-0004Z7-DI ecf7ed3622c8e18d815bb88fd9b3ced1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for    draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/3a6b62c2d1d6afdf475e4ef8e1b426f6.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13819
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfR3g-0008E4-SZ@frink.w3.org>
Resent-Date: Fri, 15 Jun 2012 07:35:04 +0000

(Apologies for replying to myself)

To put the point shorter, I think the core problem with "assign a generic
code, put human explanations in html or xml body" is that's a layering
violation for all applications that use http as transport.

Those applications (reasonably) expect being able to set up the transport at
the http level without ever having to parse metalanguage bodies. When you put
relevant transport information in metalanguage bodies, you break this
expectation.

And in case of blocking or censorship, transport set up does not stop at
punting a metalanguage error to the human. In all but the most extreme cases
it is possible to lift all or part of the blocking by providing some
credentials or tokens somewhere, and to avoid breaking web apps that were
mid-transaction when the block occurred, the web client must then retry the
access that was blocked.

There are several possible designs. The full one in proposed yesterday. The
others are (if I've followed the discussion correctly) :

A.

1. Generic 'blocked by intermediary' code
2. All other information somewhere in a metalanguage body

That's error 511 design. The cons are that it is useless for dumb clients,
there is no clear way to unlock except by parsing not-standardised
metalanguage soup, the blocking cause is not explicit at the http level in
logs (you need to infer it from what emitted this error), it's a transport
layering violation, and in cases when your network equipment can not host a
full web site you have to stuff all the rationale in the error body, even if
most users don't need to read it twice, and it needlessly overloads the wire.

B. Same thing but with separate error code for each human reason for blocking

That's basically what Tim Bray is proposing with his separate censorship code.
It has the same drawbacks as the previous proposal, except that the blocking
cause is explicit at the http level. The other side of the coin is that you'll
have to define new codes for all human blocking rationales, which will lead to
code explosion and codes which are only supported by a limited set of web
clients

C.
1. Generic 'blocked by intermediary' code
2. Optional unlock location in header
3. Standard 'ok' code unlock location returns when it is safe to retry the
access that triggered 1.

Same thing as A. but solves the unlock problem and lets the unlock location
use https portal preventing spoofing. Blocking rationale is still nowhere and
you still have logging/debuging limitations

D.
Same thing as C. but with optional blocking rationale location

Lets you inform humans why they are blocked with rich content without
overloading the error body. Simplifies logging since you can correlate
blocking rationale location with blocking causes. Requires a separate
rationale location for each blocking reason (not nice in case of complex use
terms)

E.
Same thing as D. but with short blocking rationale in a separate header

Pro: solves all functional problems I see
Cons: heavy design, puts human text in headers

F.
Make all intermediaries explicit, proxy traffic hop from hop, communicate
blocking at the proxy protocol level)

(What Willy favoured for corporate proxies, I don't think it scales up to the
national censorship level, nor that it would be a good idea to go there)

I freely admit we could probably get by with C. only even though without D.
we'd probably continue to have frictions and E. would be heaven. I don't see
the point of B. except as a political point which has no place in a technical
standard.

Am I missing something obvious?
Is there one of those designs people would like me to try to formalize more or
are there good reasons to reject them all directly without bothering?

Best regards,

-- 
Nicolas Mailhot




From ietf-http-wg-request@listhub.w3.org  Fri Jun 15 00:45: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 22B6921F85B4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 00:45:35 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BY6Ee8DtOk95 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 00:45:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6EF3521F856D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 15 Jun 2012 00:45:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfRBy-0000q7-VV for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Jun 2012 07:43:39 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SfRBn-0000p0-O8 for ietf-http-wg@listhub.w3.org; Fri, 15 Jun 2012 07:43:27 +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 1SfRBl-0004eK-Am for ietf-http-wg@w3.org; Fri, 15 Jun 2012 07:43:26 +0000
Received: (qmail invoked by alias); 15 Jun 2012 07:42:58 -0000
Received: from p5DD9757C.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.117.124] by mail.gmx.net (mp028) with SMTP; 15 Jun 2012 09:42:58 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19HtaA0yU5H6X+2kmtQQvVolZlthQbh8KZ2u8W75/ ak4TthgDMnEuXX
Message-ID: <4FDAE780.6030504@gmx.de>
Date: Fri, 15 Jun 2012 09:42:56 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120604 Thunderbird/13.0
MIME-Version: 1.0
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
CC: ietf-http-wg@w3.org, Mark Nottingham <mnot@mnot.net>,  tbray@textuality.com, w@1wt.eu
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com>    <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>    <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net>    <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com>    <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com>    <20120613055124.GB20619@1wt.eu>    <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>    <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com>    <20120613163330.GA25932@1wt.eu>    <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz>    <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net>    <loom.20120614T104702-439@post.gmane.org>    <21BA7F39-F9FF-45CF-AD3F-364D8E4CE73E@mnot.net>    <de7b47c0761aea95987a3f66f9c549bd.squirrel@arekh.dyndns.org>    <4FD9E0D8.1050704@gmx.de>    <dfff87d58b3a994194a5fe84b1289f91.squirrel@arekh.dyndns.org> <3a6b62c2d1d6afdf475e4ef8e1b426f6.squirrel@arekh.dyndns.org>
In-Reply-To: <3a6b62c2d1d6afdf475e4ef8e1b426f6.squirrel@arekh.dyndns.org>
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=-1.9
X-W3C-Hub-Spam-Report: 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 1SfRBl-0004eK-Am f9c0687ccc585b96ab865c33606fa793
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for    draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FDAE780.6030504@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13820
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfRBy-0000q7-VV@frink.w3.org>
Resent-Date: Fri, 15 Jun 2012 07:43:38 +0000

On 2012-06-15 09:33, Nicolas Mailhot wrote:
> (Apologies for replying to myself)
>
> To put the point shorter, I think the core problem with "assign a generic
> code, put human explanations in html or xml body" is that's a layering
> violation for all applications that use http as transport.
>
> Those applications (reasonably) expect being able to set up the transport at
> the http level without ever having to parse metalanguage bodies. When you put
> relevant transport information in metalanguage bodies, you break this
> expectation.
>
> And in case of blocking or censorship, transport set up does not stop at
> punting a metalanguage error to the human. In all but the most extreme cases
> it is possible to lift all or part of the blocking by providing some
> credentials or tokens somewhere, and to avoid breaking web apps that were
> mid-transaction when the block occurred, the web client must then retry the
> access that was blocked.
>
> There are several possible designs. The full one in proposed yesterday. The
> others are (if I've followed the discussion correctly) :
>
> A.
>
> 1. Generic 'blocked by intermediary' code
> 2. All other information somewhere in a metalanguage body
>
> That's error 511 design. The cons are that it is useless for dumb clients,
> there is no clear way to unlock except by parsing not-standardised
> metalanguage soup, the blocking cause is not explicit at the http level in
> logs (you need to infer it from what emitted this error), it's a transport

That's not helpful. I hate tag soup as much as you, but in the end it's 
simply HTML, *is* standardized, and has tons of implementations.

> layering violation, and in cases when your network equipment can not host a
> full web site you have to stuff all the rationale in the error body, even if
> most users don't need to read it twice, and it needlessly overloads the wire.
> ...

For 511, the reason for the scope of the spec is that for the case it 
covers, there is no protocol around that can be used. The network 
authentication dialogue *is* HTML, and those who design and deploy these 
devices see no need to make it more complicated. After all, it "works" 
(mostly).

The spec for 511 just addresses one specific problem (this content being 
sent with a success status), nothing more. The scope is *intentionally* 
constrained. That's not an error.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Jun 15 07:14: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 54B6821F8767 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 07:14: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YqH9+kDNtBdX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 07:14:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CB0B821F875E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 15 Jun 2012 07:14:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfXFl-0006sI-P2 for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Jun 2012 14:11:57 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <JSullivan@velocix.com>) id 1SfXFW-0006r6-NN for ietf-http-wg@listhub.w3.org; Fri, 15 Jun 2012 14:11:42 +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 <JSullivan@velocix.com>) id 1SfXFR-0003eh-AP for ietf-http-wg@w3.org; Fri, 15 Jun 2012 14:11:41 +0000
Received: from orthrus.eng.velocix.com (172.18.32.42) by exccam.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Fri, 15 Jun 2012 15:11:09 +0100
Message-ID: <4FDB427D.9000200@velocix.com>
Date: Fri, 15 Jun 2012 15:11:09 +0100
From: John Sullivan <jsullivan@velocix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Nicolas Mailhot <nicolas.mailhot@laposte.net>
CC: <ietf-http-wg@w3.org>, Julian Reschke <julian.reschke@gmx.de>, Mark Nottingham <mnot@mnot.net>, <tbray@textuality.com>, <w@1wt.eu>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com>    <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>    <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net>    <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com>    <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com>    <20120613055124.GB20619@1wt.eu>    <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net>    <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com>    <20120613163330.GA25932@1wt.eu>    <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz>    <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net>    <loom.20120614T104702-439@post.gmane.org>    <21BA7F39-F9FF-45CF-AD3F-364D8E4CE73E@mnot.net>    <de7b47c0761aea95987a3f66f9c549bd.squirrel@arekh.dyndns.org>    <4FD9E0D8.1050704@gmx.de>    <dfff87d58b3a994194a5fe84b1289f91.squirrel@arekh.dyndns.org> <3a6b62c2d1d6afdf475e4ef8e1b426f6.squirrel@arekh.dyndns.org>
In-Reply-To: <3a6b62c2d1d6afdf475e4ef8e1b426f6.squirrel@arekh.dyndns.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.18.32.42]
Received-SPF: none client-ip=81.134.152.10; envelope-from=JSullivan@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SfXFR-0003eh-AP 4891299665188dd093c800523e2b592b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for    draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FDB427D.9000200@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13821
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfXFl-0006sI-P2@frink.w3.org>
Resent-Date: Fri, 15 Jun 2012 14:11:57 +0000

Nicolas Mailhot wrote:
> And in case of blocking or censorship, transport set up does not stop at
> punting a metalanguage error to the human. In all but the most extreme cases
> it is possible to lift all or part of the blocking by providing some
> credentials or tokens somewhere, and to avoid breaking web apps that were
> mid-transaction when the block occurred, the web client must then retry the
> access that was blocked.

No, the expectation is that the block is permanent, the entity
implementing the block *wants* to (semi)permanently pollute that
URL, retries are unlikely to be useful.

The user *might* be able to get the block lifted by complaining to
the right place, but that's a longer process. In some cases the
local sysadmin might agree a particular URL is blocked in error
with an email round-trip, in some cases it might take societal
upheaval to get the blocking policy changed.

> That's error 511 design. The cons are that it is useless for dumb clients,
> there is no clear way to unlock except by parsing not-standardised

For 511/captive portal the situation is that the user probably can
rapidly resolve the block themselves, either by completing the attached
form, or by phoning/walking to reception etc, and then trying again.
The blocker doesn't want to break that access permanently, they just
want to get paid for it first, but I don't see how except in vanishingly
rare cases there could be fully automatic recovery, it's going to require
some form of user action.

John
-- 


From ietf-http-wg-request@listhub.w3.org  Fri Jun 15 07:45: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 DCA9821F8764 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 07:45:30 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zbYpvFGFTnJr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 07:45:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 32D0621F859A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 15 Jun 2012 07:45:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfXkg-00078I-5F for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Jun 2012 14:43:54 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fluffy@cisco.com>) id 1SfXkT-00076x-Ui for ietf-http-wg@listhub.w3.org; Fri, 15 Jun 2012 14:43:41 +0000
Received: from mtv-iport-3.cisco.com ([173.36.130.14]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <fluffy@cisco.com>) id 1SfXkP-00053k-V5 for ietf-http-wg@w3.org; Fri, 15 Jun 2012 14:43:40 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=fluffy@cisco.com; l=1973; q=dns/txt; s=iport; t=1339771418; x=1340981018; h=subject:mime-version:from:in-reply-to:date:cc: content-transfer-encoding:message-id:references:to; bh=kzYwKfV6wT+9Xt8MQNYLRj4AxR7cFy9QyMwlktJmK3M=; b=A0ptQ97OzhXOoSg16ng7+B54ivMyeuRel3i11S0lnhlNo5Mr3sJkKuGd ivL/y3wXW+bb3FZFdSSTWAE77qJpo1AqRjrk98BKNdo62G0pmW5Sobfh+ uMgMzmm+QnU398E6dmntuJ8wIWVWHs5RJQYOpmm1sNgx0rqapwRYH0J4X 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Av4EAGlJ20+rRDoI/2dsb2JhbABFtVOBB4IYAQEBAwESASc9AgULCw4DAwECL08IBgoJCRmHZAQMmW+gJ4s2hTFgA4hCjGKBEoRCiEOBZoJ/
X-IronPort-AV: E=Sophos;i="4.75,778,1330905600";  d="scan'208";a="46512235"
Received: from mtv-core-3.cisco.com ([171.68.58.8]) by mtv-iport-3.cisco.com with ESMTP; 15 Jun 2012 14:43:10 +0000
Received: from [192.168.4.100] (sjc-fluffy-8916.cisco.com [10.20.249.167]) by mtv-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id q5FEh9TH012629; Fri, 15 Jun 2012 14:43:09 GMT
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Cullen Jennings <fluffy@cisco.com>
In-Reply-To: <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>
Date: Fri, 15 Jun 2012 08:43:09 -0600
Cc: <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A6345D54-3006-418C-892F-450E56CF92BE@cisco.com>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
X-Mailer: Apple Mail (2.1084)
Received-SPF: none client-ip=173.36.130.14; envelope-from=fluffy@cisco.com; helo=mtv-iport-3.cisco.com
X-W3C-Hub-Spam-Status: No, score=-14.5
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, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5
X-W3C-Scan-Sig: lisa.w3.org 1SfXkP-00053k-V5 11414d1b59eb7cade9674f4cb2abdd3f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/A6345D54-3006-418C-892F-450E56CF92BE@cisco.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13822
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfXkg-00078I-5F@frink.w3.org>
Resent-Date: Fri, 15 Jun 2012 14:43:54 +0000

When trying to decide if a new error code is needed in a protocol, I =
often ask myself "what should the receiver of this new error code do =
differently when it gets the new error code". Could you say more about =
what is the semantic meaning of this error code to the client and how =
that client should behave when receiving it? I'm particularly interested =
in how that differs from existing error codes.=20

Thanks, Cullen



On Jun 11, 2012, at 7:36 PM, Tim Bray wrote:

> With apologies to MNot for ignoring his opinion (which I generally
> agree with) about not picking particular
> status values; but in this case I yielded to temptation.
>=20
> rfc2xml output at
> =
http://www.tbray.org/tmp/draft-tbray-http-legally-restricted-status.html
>=20
> -T
>=20
> ---------- Forwarded message ----------
> From:  <internet-drafts@ietf.org>
> Date: Mon, Jun 11, 2012 at 6:33 PM
> Subject: New Version Notification for
> draft-tbray-http-legally-restricted-status-00.txt
> To: tbray@textuality.com
>=20
> A new version of I-D, =
draft-tbray-http-legally-restricted-status-00.txt
> has been successfully submitted by Tim Bray and posted to the
> IETF repository.
>=20
> Filename:        draft-tbray-http-legally-restricted-status
> Revision:        00
> Title:           A New HTTP Status Code for Legally-restricted =
Resources
> Creation date:   2012-06-11
> WG ID:           Individual Submission
> Number of pages: 5
> URL:
> =
http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-st=
atus-00.txt
> Status:
> =
http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-status=

> Htmlized:        http://tools.ietf.org/html/submission.filename }}-00
>=20
>=20
> Abstract:
>   This document specifies an additional Hypertext Transfer Protocol
>   (HTTP) status code for use when resource access is denied for legal
>   reasons.
>=20
>=20
>=20
>=20
> The IETF Secretariat
>=20



From ietf-http-wg-request@listhub.w3.org  Fri Jun 15 07:50: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 26E6C21F8796 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 07:50: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a3INo0f01eJC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 07:50:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 860DC21F8597 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 15 Jun 2012 07:50:19 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfXqC-0001Up-Jb for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Jun 2012 14:49:36 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nicolas.mailhot@laposte.net>) id 1SfXq0-0001SS-Qu for ietf-http-wg@listhub.w3.org; Fri, 15 Jun 2012 14:49:24 +0000
Received: from smtpout5.laposte.net ([193.253.67.230] helo=smtpout.laposte.net) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <nicolas.mailhot@laposte.net>) id 1SfXpx-0002Am-Gt for ietf-http-wg@w3.org; Fri, 15 Jun 2012 14:49:22 +0000
Received: from arekh.dyndns.org ([88.174.226.208]) by mwinf8509-out with ME id Neop1j00K4WQcrc03eoqEP; Fri, 15 Jun 2012 16:48:55 +0200
Received: from localhost (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP id BAB215D8C; Fri, 15 Jun 2012 16:48:49 +0200 (CEST)
X-Virus-Scanned: amavisd-new at arekh.dyndns.org
Received: from arekh.dyndns.org ([127.0.0.1]) by localhost (arekh.okg [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QmkveTHiFWaC; Fri, 15 Jun 2012 16:48:46 +0200 (CEST)
Received: from arekh.dyndns.org (localhost.localdomain [127.0.0.1]) by arekh.dyndns.org (Postfix) with ESMTP; Fri, 15 Jun 2012 16:48:46 +0200 (CEST)
Received: from 192.196.142.27 (SquirrelMail authenticated user nim) by arekh.dyndns.org with HTTP; Fri, 15 Jun 2012 16:48:46 +0200
Message-ID: <da95945f5cdc0c1bd637568327af4aeb.squirrel@arekh.dyndns.org>
In-Reply-To: <4FDB427D.9000200@velocix.com>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <16032FAE-B34D-46A1-BA4A-BA2C4889B42E@mnot.net> <CAHBU6iu1nwC7kcURcwnPin0J1ZehuD-PL9LBD4sH5KhsDL4o1Q@mail.gmail.com> <4BA48B94-41AC-477E-ACF5-E7505753AA3C@gbiv.com> <20120613055124.GB20619@1wt.eu> <DBA99BE8-329E-40D8-AC3B-5912ED3E0358@mnot.net> <CAHBU6ivn+sA_mFTrOncxk8-LZzOWsuOcFUyivornfPD6D+2xfQ@mail.gmail.com> <20120613163330.GA25932@1wt.eu> <1bd1d279565c7f6f2ed63ecdc13cd41e@treenet.co.nz> <14BCCB69-E88D-4287-B1B6-41045460ED9A@mnot.net> <loom.20120614T104702-439@post.gmane.org> <21BA7F39-F9FF-45CF-AD3F-364D8E4CE73E@mnot.net> <de7b47c0761aea95987a3f66f9c549bd.squirrel@arekh.dyndns.org> <4FD9E0D8.1050704@gmx.de> <dfff87d58b3a994194a5fe84b1289f91.squirrel@arekh.dyndns.org> <3a6b62c2d1d6afdf475e4ef8e1b426f6.squirrel@arekh.dyndns.org> <4FDB427D.9000200@velocix.com>
Date: Fri, 15 Jun 2012 16:48:46 +0200
From: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>
To: "John Sullivan" <jsullivan@velocix.com>
Cc: "Nicolas Mailhot" <nicolas.mailhot@laposte.net>, ietf-http-wg@w3.org, "Julian Reschke" <julian.reschke@gmx.de>, "Mark Nottingham" <mnot@mnot.net>, tbray@textuality.com, w@1wt.eu
User-Agent: SquirrelMail/1.4.22-8.fc18
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Received-SPF: pass client-ip=193.253.67.230; envelope-from=nicolas.mailhot@laposte.net; helo=smtpout.laposte.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, FSL_RCVD_USER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SfXpx-0002Am-Gt 80007d9bf05b052a167f5ddce0e5b810
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for     draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/da95945f5cdc0c1bd637568327af4aeb.squirrel@arekh.dyndns.org>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13823
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfXqC-0001Up-Jb@frink.w3.org>
Resent-Date: Fri, 15 Jun 2012 14:49:36 +0000

Le Ven 15 juin 2012 16:11, John Sullivan a Ã©crit :
> but I don't see how except in vanishingly
> rare cases there could be fully automatic recovery, it's going to require
> some form of user action.

It doesn't have to be vanishingly rare.
It is vanishingly rare right now because part of the action loop is not
visible to the web client because it was pushed to page body instead of being
reflected in the http dialog

-- 
Nicolas Mailhot



From ietf-http-wg-request@listhub.w3.org  Fri Jun 15 07:51: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 7612621F86AD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 07:51:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.441
X-Spam-Level: 
X-Spam-Status: No, score=-10.441 tagged_above=-999 required=5 tests=[AWL=0.158, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FWjKOMRmm2PB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 07:51:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9E0F121F8597 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 15 Jun 2012 07:51:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfXs6-0001qH-RU for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Jun 2012 14:51:34 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jrn@jrn.me.uk>) id 1SfXru-0001nr-Pn for ietf-http-wg@listhub.w3.org; Fri, 15 Jun 2012 14:51:22 +0000
Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66] helo=homiemail-a4.g.dreamhost.com) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <jrn@jrn.me.uk>) id 1SfXrm-0002H5-Qb for ietf-http-wg@w3.org; Fri, 15 Jun 2012 14:51:20 +0000
Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id E654851C070 for <ietf-http-wg@w3.org>; Fri, 15 Jun 2012 07:50:53 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=jrn.me.uk; h=message-id:date:from :mime-version:to:subject:references:in-reply-to:content-type: content-transfer-encoding; q=dns; s=jrn.me.uk; b=MJUL2da+A5PkADg 7oPCoiLLHNfvbr/Lnrtd9BOLAWrhOmnkauIAg1T/VENisRx8+Miabw8gAVlaoQ0B k1IJZdHi29Fzl6ez5bzNzb8XQNweNxyQLxjZA0+q0CNf/RLrBt+2l2NBBUN/ji3S 9lXdeNnBakrxSUygncu9YVX0ZdEg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jrn.me.uk; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=jrn.me.uk; bh=o/WMbwv FbOZd93SOfHPi6gETiDY=; b=fSftRIgdCQ75vnu7W25giB45B7EZkO1Vec9Ecsu imyeUoi8hDsZ+vb7aZeR5CSYLbI/rh/GqTXGHo+0Q6lcIzs5M9G2kIVX3xSUW022 2ZAVTOKBeOopj1Bqabf08snzBXC4ha8Be1vrojZQBD2ZGbns19WHVw4KtsxKl1PQ upJc=
Received: from itsmac-jrn.st-andrews.ac.uk (itsmac-jrn.st-andrews.ac.uk [138.251.61.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jrn@jrn.me.uk) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id 94B4551C05F for <ietf-http-wg@w3.org>; Fri, 15 Jun 2012 07:50:53 -0700 (PDT)
Message-ID: <4FDB4BCB.9060807@jrn.me.uk>
Date: Fri, 15 Jun 2012 15:50:51 +0100
From: Ross Nicoll <jrn@jrn.me.uk>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
MIME-Version: 1.0
To: ietf-http-wg@w3.org
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <A6345D54-3006-418C-892F-450E56CF92BE@cisco.com>
In-Reply-To: <A6345D54-3006-418C-892F-450E56CF92BE@cisco.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: none client-ip=208.97.132.66; envelope-from=jrn@jrn.me.uk; helo=homiemail-a4.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
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_NONE=-0.0001
X-W3C-Scan-Sig: maggie.w3.org 1SfXrm-0002H5-Qb 9bac3bbfec3e918a553cb9eb7c631624
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/4FDB4BCB.9060807@jrn.me.uk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13824
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfXs6-0001qH-RU@frink.w3.org>
Resent-Date: Fri, 15 Jun 2012 14:51:34 +0000

I believe the intention is that the client knows where to attribute 
blame; a 403 from a site would mean that the site is rejecting the 
request (and therefore I should talk to the admins if I feel this is in 
error), a 451 (or otherwise) would indicate a third party is rejecting 
the request (and therefore I need to talk to that third party instead).

(I did actually originally argue 403 was sufficient, but feel a good 
case has been made for there needing to be an extra code)

Ross

On 15/06/2012 15:43, Cullen Jennings wrote:
> When trying to decide if a new error code is needed in a protocol, I often ask myself "what should the receiver of this new error code do differently when it gets the new error code". Could you say more about what is the semantic meaning of this error code to the client and how that client should behave when receiving it? I'm particularly interested in how that differs from existing error codes.
>
> Thanks, Cullen
>
>
>
> On Jun 11, 2012, at 7:36 PM, Tim Bray wrote:
>
>> With apologies to MNot for ignoring his opinion (which I generally
>> agree with) about not picking particular
>> status values; but in this case I yielded to temptation.
>>
>> rfc2xml output at
>> http://www.tbray.org/tmp/draft-tbray-http-legally-restricted-status.html
>>
>> -T
>>
>> ---------- Forwarded message ----------
>> From:<internet-drafts@ietf.org>
>> Date: Mon, Jun 11, 2012 at 6:33 PM
>> Subject: New Version Notification for
>> draft-tbray-http-legally-restricted-status-00.txt
>> To: tbray@textuality.com
>>
>> A new version of I-D, draft-tbray-http-legally-restricted-status-00.txt
>> has been successfully submitted by Tim Bray and posted to the
>> IETF repository.
>>
>> Filename:        draft-tbray-http-legally-restricted-status
>> Revision:        00
>> Title:           A New HTTP Status Code for Legally-restricted Resources
>> Creation date:   2012-06-11
>> WG ID:           Individual Submission
>> Number of pages: 5
>> URL:
>> http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-status-00.txt
>> Status:
>> http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-status
>> Htmlized:        http://tools.ietf.org/html/submission.filename }}-00
>>
>>
>> Abstract:
>>    This document specifies an additional Hypertext Transfer Protocol
>>    (HTTP) status code for use when resource access is denied for legal
>>    reasons.
>>
>>
>>
>>
>> The IETF Secretariat
>>
>



From ietf-http-wg-request@listhub.w3.org  Fri Jun 15 08:20: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 2906F21F882C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 08:20:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.537
X-Spam-Level: 
X-Spam-Status: No, score=-9.537 tagged_above=-999 required=5 tests=[AWL=0.439, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LRIVhIVP0Ajv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 15 Jun 2012 08:20:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EF26E21F8823 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 15 Jun 2012 08:20:18 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SfYJ5-0001N6-QG for ietf-http-wg-dist@listhub.w3.org; Fri, 15 Jun 2012 15:19:27 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <tbray@textuality.com>) id 1SfYIo-0001MD-L8 for ietf-http-wg@listhub.w3.org; Fri, 15 Jun 2012 15:19:10 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_MD5:16) (Exim 4.72) (envelope-from <tbray@textuality.com>) id 1SfYIl-0003iE-4y for ietf-http-wg@w3.org; Fri, 15 Jun 2012 15:19:08 +0000
Received: by yenq11 with SMTP id q11so2555500yen.2 for <ietf-http-wg@w3.org>; Fri, 15 Jun 2012 08:18:41 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type:x-gm-message-state; bh=T3SOQqNCDSUxD0FRkbPsfK+zizRzk9wTYIyzeAxfKDg=; b=TPlqAFURv/ufEj3f8yCh8ULf5kr7kV/XKKhBMBrRegdjmIwSfqaKaS0cyUNvR1PJrQ 7BbO05HYoHBrWJpFf898waMsGRZK24F5pRhIszBierdZRnibENR+S2OqdhewSt2h+ZZq Bc+ASJuytRzChWLtkRi7K89J4SqDjjiIBCgs9zjqvQmFreddmabiwjywjQzZR6MMzazx IStgKKfX+0UG7se3OlO8SiTjnBMK0UftfbXaW4NpnooqZivV3AWboeYeu9hxXnwlDP8K QdYLiSkZSjI7xtLnpUFf/FujSPpdIirDgwZLGceTPA3rBJXY0v3t4ZEnZdwcfphjjFC8 9JWA==
MIME-Version: 1.0
Received: by 10.60.21.36 with SMTP id s4mr6306371oee.61.1339773521110; Fri, 15 Jun 2012 08:18:41 -0700 (PDT)
Received: by 10.182.149.8 with HTTP; Fri, 15 Jun 2012 08:18:41 -0700 (PDT)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <A6345D54-3006-418C-892F-450E56CF92BE@cisco.com>
References: <20120612013301.7970.84065.idtracker@ietfa.amsl.com> <CAHBU6itGAyg68EQ6Y-qY4C1Ljn1kAagzQ3O9BzY8sYbqZdMg0g@mail.gmail.com> <A6345D54-3006-418C-892F-450E56CF92BE@cisco.com>
Date: Fri, 15 Jun 2012 08:18:41 -0700
Message-ID: <CAHBU6isE13sPSepHJPYNJzVqPoPdjD9ikShSv3Px1aU4YSAEqw@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Cullen Jennings <fluffy@cisco.com>
Cc: ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary=e89a8ff1c7cace27ec04c284541a
X-Gm-Message-State: ALoCoQk3fgp+mYKl6KMd3I4rcLD6oPCPvGkqn67epGu/XW9tVvILhlCei6BXmorCbHJ4muZEm0vF
Received-SPF: none client-ip=209.85.213.171; envelope-from=tbray@textuality.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: maggie.w3.org 1SfYIl-0003iE-4y aa2d88a99220fda4d578278d22119a49
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-tbray-http-legally-restricted-status-00.txt
Archived-At: <http://www.w3.org/mid/CAHBU6isE13sPSepHJPYNJzVqPoPdjD9ikShSv3Px1aU4YSAEqw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13825
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SfYJ5-0001N6-QG@frink.w3.org>
Resent-Date: Fri, 15 Jun 2012 15:19:27 +0000

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

I think the intent is increased transparency of operation, and the specific
action to achieve this would be for the user-agent to pass along to the
user at least the "Unavailable for Legal Reasons" message and also the
content of the response body, if provided.  Very similar to the way 404 is
handled now.

-T

On Fri, Jun 15, 2012 at 7:43 AM, Cullen Jennings <fluffy@cisco.com> wrote:

>
> When trying to decide if a new error code is needed in a protocol, I often
> ask myself "what should the receiver of this new error code do differently
> when it gets the new error code". Could you say more about what is the
> semantic meaning of this error code to the client and how that client
> should behave when receiving it? I'm particularly interested in how that
> differs from existing error codes.
>
> Thanks, Cullen
>
>
>
> On Jun 11, 2012, at 7:36 PM, Tim Bray wrote:
>
> > With apologies to MNot for ignoring his opinion (which I generally
> > agree with) about not picking particular
> > status values; but in this case I yielded to temptation.
> >
> > rfc2xml output at
> > http://www.tbray.org/tmp/draft-tbray-http-legally-restricted-status.html
> >
> > -T
> >
> > ---------- Forwarded message ----------
> > From:  <internet-drafts@ietf.org>
> > Date: Mon, Jun 11, 2012 at 6:33 PM
> > Subject: New Version Notification for
> > draft-tbray-http-legally-restricted-status-00.txt
> > To: tbray@textuality.com
> >
> > A new version of I-D, draft-tbray-http-legally-restricted-status-00.txt
> > has been successfully submitted by Tim Bray and posted to the
> > IETF repository.
> >
> > Filename:        draft-tbray-http-legally-restricted-status
> > Revision:        00
> > Title:           A New HTTP Status Code for Legally-restricted Resources
> > Creation date:   2012-06-11
> > WG ID:           Individual Submission
> > Number of pages: 5
> > URL:
> >
> http://www.ietf.org/internet-drafts/draft-tbray-http-legally-restricted-status-00.txt
> > Status:
> >
> http://datatracker.ietf.org/doc/draft-tbray-http-legally-restricted-status
> > Htmlized:        http://tools.ietf.org/html/submission.filename }}-00
> >
> >
> > Abstract:
> >   This document specifies an additional Hypertext Transfer Protocol
> >   (HTTP) status code for use when resource access is denied for legal
> >   reasons.
> >
> >
> >
> >
> > The IETF Secretariat
> >
>
>

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

I think the intent is increased transparency of operation, and the specific=
 action to achieve this would be for the user-agent to pass along to the us=
er at least the &quot;Unavailable for Legal Reasons&quot; message and also =
the content of the response body, if provided.=A0 Very similar to the way 4=
04 is handled now.<br>
<br>-T<br><br><div class=3D"gmail_quote">On Fri, Jun 15, 2012 at 7:43 AM, C=
ullen Jennings <span dir=3D"ltr">&lt;<a href=3D"mailto:fluffy@cisco.com" ta=
rget=3D"_blank">fluffy@cisco.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">
<br>
When trying to decide if a new error code is needed in a protocol, I often =
ask myself &quot;what should the receiver of this new error code do differe=
ntly when it gets the new error code&quot;. Could you say more about what i=
s the semantic meaning of this error code to the client and how that client=
 should behave when receiving it? I&#39;m particularly interested in how th=
at differs from existing error codes.<br>

<br>
Thanks, Cullen<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
<br>
On Jun 11, 2012, at 7:36 PM, Tim Bray wrote:<br>
<br>
&gt; With apologies to MNot for ignoring his opinion (which I generally<br>
&gt; agree with) about not picking particular<br>
&gt; status values; but in this case I yielded to temptation.<br>
&gt;<br>
&gt; rfc2xml output at<br>
&gt; <a href=3D"http://www.tbray.org/tmp/draft-tbray-http-legally-restricte=
d-status.html" target=3D"_blank">http://www.tbray.org/tmp/draft-tbray-http-=
legally-restricted-status.html</a><br>
&gt;<br>
&gt; -T<br>
&gt;<br>
&gt; ---------- Forwarded message ----------<br>
&gt; From: =A0&lt;<a href=3D"mailto:internet-drafts@ietf.org">internet-draf=
ts@ietf.org</a>&gt;<br>
&gt; Date: Mon, Jun 11, 2012 at 6:33 PM<br>
&gt; Subject: New Version Notification for<br>
&gt; draft-tbray-http-legally-restricted-status-00.txt<br>
&gt; To: <a href=3D"mailto:tbray@textuality.com">tbray@textuality.com</a><b=
r>
&gt;<br>
&gt; A new version of I-D, draft-tbray-http-legally-restricted-status-00.tx=
t<br>
&gt; has been successfully submitted by Tim Bray and posted to the<br>
&gt; IETF repository.<br>
&gt;<br>
&gt; Filename: =A0 =A0 =A0 =A0draft-tbray-http-legally-restricted-status<br=
>
&gt; Revision: =A0 =A0 =A0 =A000<br>
&gt; Title: =A0 =A0 =A0 =A0 =A0 A New HTTP Status Code for Legally-restrict=
ed Resources<br>
&gt; Creation date: =A0 2012-06-11<br>
&gt; WG ID: =A0 =A0 =A0 =A0 =A0 Individual Submission<br>
&gt; Number of pages: 5<br>
&gt; URL:<br>
&gt; <a href=3D"http://www.ietf.org/internet-drafts/draft-tbray-http-legall=
y-restricted-status-00.txt" target=3D"_blank">http://www.ietf.org/internet-=
drafts/draft-tbray-http-legally-restricted-status-00.txt</a><br>
&gt; Status:<br>
&gt; <a href=3D"http://datatracker.ietf.org/doc/draft-tbray-http-legally-re=
stricted-status" target=3D"_blank">http://datatracker.ietf.org/doc/draft-tb=
ray-http-legally-restricted-status</a><br>
&gt; Htmlized: =A0 =A0 =A0 =A0<a href=3D"http://tools.ietf.org/html/submiss=
ion.filename" target=3D"_blank">http://tools.ietf.org/html/submission.filen=
ame</a> }}-00<br>
&gt;<br>
&gt;<br>
&gt; Abstract:<br>
&gt; =A0 This document specifies an additional Hypertext Transfer Protocol<=
br>
&gt; =A0 (HTTP) status code for use when resource access is denied for lega=
l<br>
&gt; =A0 reasons.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The IETF Secretariat<br>
&gt;<br>
<br>
</div></div></blockquote></div><br>

--e89a8ff1c7cace27ec04c284541a--


From ietf-http-wg-request@listhub.w3.org  Sun Jun 17 09:23: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 4BBA221F85F8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 17 Jun 2012 09:23:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.436
X-Spam-Level: 
X-Spam-Status: No, score=-9.436 tagged_above=-999 required=5 tests=[AWL=1.163, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PHsrSkKCPK3u for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 17 Jun 2012 09:23:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A6D2321F8589 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 17 Jun 2012 09:23:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SgIE4-0002dT-Si for ietf-http-wg-dist@listhub.w3.org; Sun, 17 Jun 2012 16:21:20 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SgIDp-0002c8-Hq for ietf-http-wg@listhub.w3.org; Sun, 17 Jun 2012 16:21:05 +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 1SgIDn-0002XD-1j for ietf-http-wg@w3.org; Sun, 17 Jun 2012 16:21:03 +0000
Received: (qmail invoked by alias); 17 Jun 2012 16:20:36 -0000
Received: from p5DD96AC2.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.106.194] by mail.gmx.net (mp041) with SMTP; 17 Jun 2012 18:20:36 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19QhKEKw4xQCMOnAgizZHZUiOKgTB7LQ7KeXyD9So /8PpSDYgF3ucUC
Message-ID: <4FDE03CE.10002@gmx.de>
Date: Sun, 17 Jun 2012 18:20:30 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net>
In-Reply-To: <00434F14-061B-41A0-9C69-A0F30CE14845@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SgIDn-0002XD-1j fc993ae3bc5dc69db41dfecd90699cac
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FDE03CE.10002@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13826
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SgIE4-0002dT-Si@frink.w3.org>
Resent-Date: Sun, 17 Jun 2012 16:21:20 +0000

On 2012-06-15 01:40, Mark Nottingham wrote:
> ...
> I *think* the only point of disagreement here is whether this (i.e., how to parse "non-core" cc directives) is advisory ("ought to...") or a conformance requirement ("MUST...").
>
> I can't find anywhere else in our specs where we place conformance requirements on being able to parse multiple paths in the ABNF. Can you?
> ...

(I'm not totally sure what you mean by "multiple paths" here, but I'll 
assume we're still talking about the quoted-string/token choice).

I would argue it's implicit in how the ABNF defined.

When the ABNF indicates that an extension parameter or directive uses

   quoted-string / token

then, yes, this means recipients MUST support both.

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Sun Jun 17 19:45: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 F24A211E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 17 Jun 2012 19:45:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.584
X-Spam-Level: 
X-Spam-Status: No, score=-7.584 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, HTML_MESSAGE=0.001, J_CHICKENPOX_75=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6Ccf5MySlgDR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 17 Jun 2012 19:44:54 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 059D111E8080 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 17 Jun 2012 19:44:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SgRup-0000Bk-Af for ietf-http-wg-dist@listhub.w3.org; Mon, 18 Jun 2012 02:42:07 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <jsilvera@microsoft.com>) id 1SgRuW-0008Sc-Nr for ietf-http-wg@listhub.w3.org; Mon, 18 Jun 2012 02:41:48 +0000
Received: from ch1ehsobe004.messaging.microsoft.com ([216.32.181.184] helo=ch1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <jsilvera@microsoft.com>) id 1SgRuM-0001vp-NN for ietf-http-wg@w3.org; Mon, 18 Jun 2012 02:41:47 +0000
Received: from mail68-ch1-R.bigfish.com (10.43.68.227) by CH1EHSOBE009.bigfish.com (10.43.70.59) with Microsoft SMTP Server id 14.1.225.23; Mon, 18 Jun 2012 02:39:54 +0000
Received: from mail68-ch1 (localhost [127.0.0.1])	by mail68-ch1-R.bigfish.com (Postfix) with ESMTP id 7B5FBA01A3	for <ietf-http-wg@w3.org>; Mon, 18 Jun 2012 02:39:54 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC101.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -3
X-BigFish: VS-3(zzc85fh1458K1102Izz1202hz31iz8275bh8275dhz2fh2a8h683h839hd25hf0ah)
Received-SPF: pass (mail68-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=jsilvera@microsoft.com; helo=TK5EX14HUBC101.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.234.5;KIP:(null);UIP:(null);(null);H:SN2PRD0310HT004.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail68-ch1 (localhost.localdomain [127.0.0.1]) by mail68-ch1 (MessageSwitch) id 1339987192359208_17916; Mon, 18 Jun 2012 02:39:52 +0000 (UTC)
Received: from CH1EHSMHS002.bigfish.com (snatpool3.int.messaging.microsoft.com [10.43.68.229])	by mail68-ch1.bigfish.com (Postfix) with ESMTP id 4BC5F4C0206 for <ietf-http-wg@w3.org>; Mon, 18 Jun 2012 02:39:52 +0000 (UTC)
Received: from TK5EX14HUBC101.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS002.bigfish.com (10.43.70.2) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 18 Jun 2012 02:39:51 +0000
Received: from CH1EHSOBE002.bigfish.com (157.54.51.112) by mail.microsoft.com (157.54.7.153) with Microsoft SMTP Server (TLS) id 14.2.309.3; Mon, 18 Jun 2012 02:41:07 +0000
Received: from mail195-ch1-R.bigfish.com (10.43.68.228) by CH1EHSOBE002.bigfish.com (10.43.70.52) with Microsoft SMTP Server id 14.1.225.23; Mon, 18 Jun 2012 02:39:49 +0000
Received: from mail195-ch1 (localhost [127.0.0.1])	by mail195-ch1-R.bigfish.com (Postfix) with ESMTP id 55C8AC0145	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Mon, 18 Jun 2012 02:39:49 +0000 (UTC)
Received: from mail195-ch1 (localhost.localdomain [127.0.0.1]) by mail195-ch1 (MessageSwitch) id 1339987186632847_8918; Mon, 18 Jun 2012 02:39:46 +0000 (UTC)
Received: from CH1EHSMHS007.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.249])	by mail195-ch1.bigfish.com (Postfix) with ESMTP id 9833A3C004A	for <ietf-http-wg@w3.org>; Mon, 18 Jun 2012 02:39:46 +0000 (UTC)
Received: from SN2PRD0310HT004.namprd03.prod.outlook.com (157.56.234.5) by CH1EHSMHS007.bigfish.com (10.43.70.7) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 18 Jun 2012 02:39:46 +0000
Received: from SN2PRD0310MB360.namprd03.prod.outlook.com ([169.254.4.78]) by SN2PRD0310HT004.namprd03.prod.outlook.com ([10.255.112.39]) with mapi id 14.16.0152.000; Mon, 18 Jun 2012 02:41:02 +0000
From: Jonathan Silvera <jsilvera@microsoft.com>
To: "'ietf-http-wg@w3.org'" <ietf-http-wg@w3.org>
Thread-Topic: Multi-legged Authentication for HTTP Multiplexing
Thread-Index: Ac1M+4z1RoYxxBeYQNO78peY6kLBuw==
Date: Mon, 18 Jun 2012 02:41:02 +0000
Message-ID: <4A6008CA493DD743AF241A465C01F15F09457808@SN2PRD0310MB360.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [71.227.191.49]
Content-Type: multipart/alternative; boundary="_000_4A6008CA493DD743AF241A465C01F15F09457808SN2PRD0310MB360_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0310HT004.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC101.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC101.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.184; envelope-from=jsilvera@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SgRuM-0001vp-NN 146f108cbb52c73f52bc42da62e81cb8
X-Original-To: ietf-http-wg@w3.org
Subject: Multi-legged Authentication for HTTP Multiplexing
Archived-At: <http://www.w3.org/mid/4A6008CA493DD743AF241A465C01F15F09457808@SN2PRD0310MB360.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13827
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SgRup-0000Bk-Af@frink.w3.org>
Resent-Date: Mon, 18 Jun 2012 02:42:07 +0000

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

While there is a call for authentication schemes proposals, we have also be=
en thinking a lot about how to ensure HTTP 2.0 is compatible with currently=
 deployed authentication schemes, while addressing some of the issues curre=
ntly encountered when performing multi-legged authentication. The following=
 proposal captures our thoughts on an authentication mechanism that we beli=
eve achieves this goal. We would greatly appreciate it, if you could provid=
e us with some feedback.

Multi-legged Authentication for HTTP Multiplexing

1. Overview

     This document defines multi-legged authentication for HTTP multiplexin=
g.

     Without reliable support for Kerberos and other multi-legged auth sche=
mes, the
     reach of HTTP2.0 will be greatly diminished in corporations that rely =
on these
     authentication schemes to protect their intranet resources.

     HTTP 2.0 should be semantically compatible with HTTP 1.1, but it shoul=
d not have
     the same "stateless" requirement as HTTP 1.1, as many things other tha=
n
     multi-legged authentication, require server side state. In order to pr=
eserve this
     requirement, we propose that additional state needed for HTTP 2.0, be =
stored at
     the session layer. The HTTP 1.1 concept on "connection based authentic=
ation" can
     be implemented in HTTP 2.0 by moving the state from TCP connection lay=
er to
     the HTTP 2.0 session layer.

     The following table summarizes widely deployed authentication schemes,
     their authentication types and the authentication level they provide:

     Table 1:
     +-----------+------------------------+----------------------+
     | Scheme    | Type of Authentication | Authentication Level |
    +-----------+------------------------+----------------------+
     | Basic     |      Per Request       |       Request        |
     | Digest    |      Per Request       |       Request        |
     | NTLM      |      Multi-legged      |       Connection     |
     | Kerberos  |      Multi-legged      |Connection or Request |
     | Negotiate |      Multi-legged      |Connection or Request |
     +-----------+------------------------+----------------------+

     RFC 2616 defines HTTP as a stateless protocol and dictates that RFC
     compliant authentication schemes MUST be stateless. Multi-legged
     authentication support for multiplexing, requires state to associate s=
eparate
     request/response pairs that are part of the same multi-legged authenti=
cation
     process.

2. Multi-legged Authentication:

     As implied by its name, multi-legged authentication requires multiple =
roundtrips
     to establish an authenticated communication channel between client and=
 server. If
     the resource requested by a client requires authentication, the server=
 initiates
     the authentication process as follows:

     Figure 1 - Multi-legged authentication example:
       Client                                 Server
         |                                      |
        | -------- (0) HTTP GET Request ---->  |
         |                                      |
        | <------- (1) HTTP 401 -------------  |
         |                                      |
         | -------- (2) HTTP Get Request ---->  |
         |              w Auth header           |
         |                                      |
         | <------- (3) HTTP 401 -------------  |
        |                                      |
        | -------- (4) HTTP Get Request ---->  |
         |              w Auth header           |
         |                                      |
        | <------- (5) HTTP 200 OK-----------  |
         |                                      |
         |                                      |
         v                                      v

      0.  Server sends HTTP 401 response because the resource requested req=
uires
          authentication.
      1. Client re-issues the HTTP GET request for the resource, including =
authentication
         headers.
      2. Server responds with an HTTP 401 and authentication headers reques=
ting
         additional information.
      3. Client re-issues the HTTP GET Request for the resource, including =
authentication
         headers with the additional information required to complete authe=
ntication.
      4. If authentication succeeds, the server responds with an HTTP 200 O=
K message
         including the requested resource.

     Multi-legged authentication requires state to be communicated between =
multiple
     streams. Network flows 3 and 4 in Figure 1 , need to share state in or=
der for
     authentication to succeed.  Some multi-legged authentication schemes (=
i.e. Kerberos
     and Negotiate) can authenticate a connection or individual requests on=
ly, which
     has historically caused a lot if issues with multi-legged authenticati=
on in HTTP 1.1.

3. Multi-legged Authentication for HTTP multiplexing proposal:

   3.1 Multi-legged authentication between multiplexing clients and servers=
:

       Figure 2 below provides a detailed breakdown of proposed network flo=
ws to implement
       multi-legged authentication for HTTP multiplexing:

       Figure 2 - Proposed multi-legged authentication:

                                           Multiplexing
      Client                           HTTP Server
         |                                      |
        | --------   HTTP GET Request ------>  |
         |                                      |
        | <------- (0) HTTP 401 -------------  |
         |                                      |
         | -------- (1) HTTP Get Request ---->  |
         |              w Auth header           |[Auth-ID header
         |                                | generated (1.5)]
         | <------- (2) HTTP 401 -------------  |
         |              w Auth-ID header        |
         |                                      |
         | -------- (3) HTTP Get Request ---->  |[Peristed-auth header
         |              w Auth header and       | generated (3.5)]
         |              Auth-ID header          |
         |                                      |
         | <------- (4) HTTP 200 OK-----------  |
         |              w optional              |
         |              PersistedAuth header    |
        |                                      |
         |                                      |
         v                                      v


       0. Server sends HTTP 401 response because the resource requested req=
uires
          authentication.

       1. Client re-issues the HTTP GET request for the resource, including=
 authentication
          headers:

          Multi-legged authentication schemes could authenticate individual=
 requests or
          the HTTP 2.0 session. Clients SHOULD NOT authenticate individual =
streams belonging
          to an authenticated HTTP 2.0 session. The following describes cli=
ent behavior when
          attempting to authenticate streams, for which it does not know if=
 the negotiation
          will result in request based or HTTP 2.0 session based authentica=
tion:

          If an HTTP 2.0 session has a stream in process of authenticating =
using a multi-
          legged authentication scheme, the client SHOULD queue all subsequ=
ent requests
          (regardless of whether they require authentication) on the sessio=
n,until
          the multi-legged authentication completes.

          If a server receives multiple authenticated requests from the sam=
e client, it
          SHOULD NOT block responses. It is the client's responsibility to =
queue requests
          when a multi-legged stream authentication process has been initia=
ted in the
          session. If the client does not queue the requests, then it might
          unnecessarily authenticate streams in a session that has already =
been
          authenticated.

          If connection based multi-legged authentication succeeds on a pre=
viously
          authenticated session, the server SHOULD discard the previous aut=
hentication
          context and authenticate the session with the newly negotiated au=
thentication
          context.

       2. Server responds with an HTTP 401 and authentication headers reque=
sting
          additional information:

          A session's lifetime is not tied to the duration of a request/res=
ponse pair.
          If the authentication scheme used to validate the client's identi=
ty is a multi-
          legged scheme, servers will generate a new "Auth-ID" (1.5 in Figu=
re 2) header.
          The Auth-ID value is an opaque blob that SHOULD NOT be interprete=
d. It SHOULD
          be sent in its complete form to continue an authentication proces=
s. The server
          uses this to lookup the correct security context to process this =
authentication
          request.

          The HTTP 401 response from the server will contain the "Auth-ID" =
header to enable
          sharing of authentication context across streams, as required for=
 multi-legged
          authentication.

       3. Client re-issues the HTTP GET request for the resource, including=
 the required
          authentication headers and the "Auth-ID" header, to inform the se=
rver that the
          request is part of a previously initiated multi-legged authentica=
tion process.

       4. Authentication succeeds and the server returns the requested reso=
urce, along with
          level of multi-legged authentication scheme:

          Some multi-legged authentication schemes can result in per reques=
t or per
          connection (i.e. Kerberos or Negotiate) authentication. Servers w=
ill generate a
         Persistent-auth header (3.5 in Figure 2) to inform the client when=
 an
          authentication negotiation, resulted in an authenticated session.=
 When a
          session is authenticated, servers MUST generate a Persistent-auth=
 header and
          send it along with the HTTP 200 OK response. The client will use =
the presence (or
          absence) of the Persistent-auth header to determine what action t=
o take, with
          previously queued requests due to multi-legged authentication bei=
ng in progress:

            i. If the session was authenticated, as indicated by the presen=
ce of the
               Persistent-auth header, the client does not need to authenti=
cate new streams
               it will create to service the queued requests on the authent=
icated session.

               Clients should assume that successful authentication with sc=
hemes that only
               support connection based authentication (i.e. NTLM), will al=
ways result in an
                authenticated session, even if the Persisted-auth header is=
 not present.

            ii. If the sesseion was not authenticated, as indicated by the =
absence of the
                Persistent-auth header, the client should remember the nego=
tiated
                authentication scheme used for authentication.  The client =
SHOULD NOT block
                streams on the session when processing requests using the m=
ulti-legged
                authentication scheme that previously resulted in per reque=
st authentication.

          A server COULD generate and add Auth-ID header as soon as it know=
s that the
          requested authentication scheme is multi-legged. The client must =
add the
          Auth-ID header to all subsequent requests required to complete th=
e authentication
          process.

          A server COULD generate a Persistent-auth request as soon as it k=
nows that
          the requested authentication scheme will authenticate the session=
. The client
          CANNOT make any assumptions by the absence of the Persistent-auth=
 header, until the
          authentication process is complete and it receives the final serv=
er response
          containing the requested resource.

         3.1.1 Auth-ID header and security context lifetime

               Servers create and store security context information when t=
hey create the
               Auth-ID header. An Auth-ID header CANNOT be reused across se=
ssions.

               The Auth-ID mapping is destroyed when the authentication pro=
cess completes.
               Completion of the authentication process can be a successful=
 authentication
               or failure to authenticate. TBD: Should Auth-IDs be random n=
umbers? The
               security vs look-up perf implications should be weighed.

               Servers should limit the number of incomplete security conte=
xts per
               session, to protect against misbehaving clients that cause t=
he server to
               create multiple authentication contexts but never complete t=
he authentication
               process. Servers SHOULD define a maximum number of incomplet=
e security
               contexts and ignore SYN streams from misbehaving clients.

               Per session security contexts are transient and servers SHOU=
LD discard them
               when request processing completes. There SHOULD only be one =
complete security
               context open per session.

   3.2 Stateful authentication to proxies

       HTTP proxies must add a new Remote-http-version header to inform the=
 client of the
       HTTP version of the remote host. HTTP 2.0 clients can make authentic=
ation decisions
       based on the HTTP version of the target server. Proxy and gateway ap=
plications should
       take the consideration outlined by RFC 2616 when forwarding messages=
 between client
       and servers with different protocol version capabilities.

         3.2.1 HTTP 2.0 client authenticating to an HTTP 2.0 server via pro=
xy

             Authentication from an HTTP 2.0 (or greater) client to an HTTP=
 2.0 (or
               greater) server will work without additional changes, other =
than those
               described in the Multi-legged Authentication for HTTP multip=
lexing proposal
               section of this document. Proxies MUST bind the client-to-pr=
oxy and
               proxy-to-server connections.

         3.2.2 HTTP2.0 client connecting to an HTTP1.1 server via proxy

               HTTP 2.0 (or greater) clients that establish an authenticate=
d connection to an
               HTTP 1.1 server (via a proxy) SHOULD downgrade HTTP version =
to HTTP 1.1, to
               avoid serialization.

               HTTP 2.0 clients can multiplex streams within the authentica=
ted HTTP 2.0
               client-proxy session, but the proxy will serialize requests =
through the
               authenticated HTTP 1.1 proxy-server connection.

               HTTP 2.0 clients COULD decide to downgrade all requests requ=
iring
               authentication (via a proxy) to HTTP 1.1 servers or only dow=
ngrade
               authenticated sessions, as indicated by the presence of the =
Persisted-auth
               header.

         3.2.3 HTTP1.1 client connecting to an HTTP2.0 server via proxy

               No changes required to support this scenario as HTTP 1.1 cli=
ents will ignore
               HTTP 2.0 headers.

   3.3 Authentication and multi-host sessions
       The proposed authentication scheme will only work if there is a limi=
t of one unique
       host per HTTP 2.0 session.

4. Security considerations:

   Implementers should be aware of the security considerations defined by t=
he individual
   authentication schemes supported. The following are some general securit=
y considerations
   that are independent of the proposed authentication mechanism.

   The proposed authentication mechanism is only used to provide authentica=
tion of a user to
   a server.  It provides no facilities for protecting the HTTP headers or =
data including the
   Authorization and WWW-Authenticate headers that are used to implement th=
is mechanism.

   Alternate mechanisms such as TLS can be used to provide confidentiality.=
 Hashes of the TLS
   certificates can be used as channel bindings to secure the channel.  In =
this case clients
   would need to enforce that the channel binding information is valid.

   If an HTTP proxy is used between the client and server, it must take car=
e to not share
   authenticated connections between different authenticated clients to the=
 same server.  If
   this is not honored, then the server can easily lose track of security c=
ontext
   associations.

   A proxy that correctly honors client to server authentication integrity =
will supply the
   "Proxy-support:  Session-Based-Authentication" HTTP header to the client=
 in HTTP responses
   from the proxy.

5. Conventions used in this document:

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHO=
ULD", "SHOULD
   NOT", "RECOMMENDED", "MAY", and "OPTIONAL" are to   be interpreted as de=
scribed in
   [RFC 2119].

6. Acknowledgements

   Thanks to the following people for contributing to the review and creati=
on of this
   document:

     Matthew Cox, Ivan Pashov, Osama Mazahir, Gabriel Montenegro, Paul Leac=
h, Nathan Ide, Rob
     Trace and Jonathan Silvera.




--_000_4A6008CA493DD743AF241A465C01F15F09457808SN2PRD0310MB360_
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-micr=
osoft-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=3D"Generator" 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;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
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=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">While there is =
a call for authentication schemes proposals, we have also been thinking a l=
ot about how to ensure HTTP 2.0 is compatible with currently deployed authe=
ntication schemes, while addressing
 some of the issues currently encountered when performing multi-legged auth=
entication. The following proposal captures our thoughts on an authenticati=
on mechanism that we believe achieves this goal. We would greatly appreciat=
e it, if you could provide us with
 some feedback.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">Multi-legged Au=
thentication for HTTP Multiplexing<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">1. Overview<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;This document defines multi-legged authentication for HTTP m=
ultiplexing.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; Without reliable support for Kerberos and other multi-legged auth=
 schemes, the
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;reach of HTTP2.0 will be greatly diminished in corporations =
that rely on these
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;authentication schemes to protect their intranet resources.<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; HTTP 2.0 should be semantically compatible with HTTP 1.1, but it =
should not have<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; the same &#8220;stateless&#8221; requirement as HTTP 1.1, as many=
 things other than
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;multi-legged authentication, require server side state. In o=
rder to preserve this
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;requirement, we propose that additional state needed for HTT=
P 2.0, be stored at
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;the session layer. The HTTP 1.1 concept on &quot;connection =
based authentication&quot; can
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;be implemented in HTTP 2.0 by moving the state from TCP conn=
ection layer to
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;the HTTP 2.0 session layer.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; The following table summarizes widely deployed authentication sch=
emes,
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;their authentication types and the authentication level they=
 provide:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; Table 1: <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&#43;-----------&#43;------------------------&#43;----------=
------------&#43;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; | Scheme&nbsp;&nbsp;&nbsp; | Type of Authentication | Authenticat=
ion Level |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&#43;-----------&#43;------------------------&#43;----------------=
------&#43;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; | Basic&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P=
er Request&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; Request&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;| Digest&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P=
er Request&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp; Request&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;| NTLM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; Multi-legged&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; Connection&nbsp;&nbsp;&nbsp;&nbsp; |
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;| Kerberos&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Multi-legge=
d&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |Connection or Request |
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;| Negotiate |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Multi-legged&nbs=
p;&nbsp;&nbsp; &nbsp;&nbsp;|Connection or Request |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; &#43;-----------&#43;------------------------&#43;---------------=
-------&#43;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; RFC 2616 defines HTTP as a stateless protocol and dictates that R=
FC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;compliant authentication schemes MUST be stateless. Multi-le=
gged&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;authentication support for multiplexing, requires state to a=
ssociate separate
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;request/response pairs that are part of the same multi-legge=
d authentication
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;process. <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">2. Multi-legged=
 Authentication:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; As implied by its name, multi-legged authentication requires mult=
iple roundtrips<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; to establish an authenticated communication channel between clien=
t and server. If<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; the resource requested by a client requires authentication, the s=
erver initiates
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;the authentication process as follows:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; Figure 1 - Multi-legged authentication example:<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; Client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Serv=
er<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;| -------- (0) HTTP GET Request ----&gt;&nbsp; =
|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;| &lt;------- (1) HTTP 401 -------------&nbsp; =
|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | -------- (2) HTTP Get Request ----&gt;&=
nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;w Auth header&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;------- (3) HTTP 401 -------------&=
nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;| -------- (4) HTTP Get Request ----&gt;&nbsp; =
|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;w Auth header&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;| &lt;------- (5) HTTP 200 OK-----------&nbsp; =
|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; v<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 0.&nbsp; Server sends HTTP 401 response because the resourc=
e requested requires
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authentication.<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 1. Client re-issues the HTTP GET request for the resource, =
including authentication
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;headers.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 2. Server responds with an HTTP 401 and authentication head=
ers requesting<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; additional information.<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 3. Client re-issues the HTTP GET Request for the resource, =
including authentication
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;headers with the additional informat=
ion required to complete authentication.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; 4. If authentication succeeds, the server responds with an =
HTTP 200 OK message
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;including the requested resource.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;Multi-legged authentication requires state to be communicate=
d between multiple<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; streams. Network flows 3 and 4 in Figure 1 , need to share state =
in order for
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;authentication to succeed.&nbsp; Some multi-legged authentic=
ation schemes (i.e. Kerberos<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; and Negotiate) can authenticate a connection or individual reques=
ts only, which<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; has historically caused a lot if issues with multi-legged authent=
ication in HTTP 1.1.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">3. Multi-legged=
 Authentication for HTTP multiplexing proposal:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; 3.=
1 Multi-legged authentication between multiplexing clients and servers:<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; Figure 2 below provides a detailed breakdown of propo=
sed network flows to implement<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; multi-legged authentication for HTTP multiplexing:
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; Figure 2 - Proposed multi-legged authentication:<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; Multiplexing<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; Client&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; &nbsp;&nbsp; HTTP Server<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;| --------&nbsp;&nbsp; HTTP GET Request ------&=
gt;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;| &lt;------- (0) HTTP 401 -------------&nbsp; =
|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | -------- (1) HTTP Get Request ----&gt;&=
nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;w Auth header&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; |[Auth-ID header<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | genera=
ted (1.5)]<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;------- (2) HTTP 401 -------------&=
nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w Auth-ID header&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;| -------- (3) HTTP Get Request ----&gt;&nbsp;=
 |[Peristed-auth header<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;w Auth header and&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; | generated (3.5)]<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Auth-ID header&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;| &lt;------- (4) HTTP 200 OK-----------&nbsp;=
 |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; w optional&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PersistedAuth header&nbsp;&nbsp;&nbs=
p; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;|<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; v&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; v<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 0. Server sends HTTP 401 response because the resourc=
e requested requires
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authentication.<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 1. Client re-issues the HTTP GET request for the reso=
urce, including authentication<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; headers:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;Multi-legged authentication schemes coul=
d authenticate individual requests or<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;the HTTP 2.0 session. Clients SHOUL=
D NOT authenticate individual streams belonging<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;to an authenticated HTTP 2.0 sessio=
n. The following describes client behavior when<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;attempting to authenticate streams,=
 for which it does not know if the negotiation<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;will result in request based or HTT=
P 2.0 session based authentication:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;If an HTTP 2.0 session has a stream in p=
rocess of authenticating using a multi-<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;legged authentication scheme, the c=
lient SHOULD queue all subsequent requests<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;(regardless of whether they require auth=
entication) on the session,until<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;the multi-legged authentication complete=
s.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;If a server receives multiple authe=
nticated requests from the same client, it<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;SHOULD NOT block responses. It is the cl=
ient&#8217;s responsibility to queue requests
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;when a multi-legged stream authenti=
cation process has been initiated in the
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;session. If the client does not que=
ue the requests, then it might<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;unnecessarily authenticate streams in a =
session that has already been
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authenticated.<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;If connection based multi-legged au=
thentication succeeds on a previously
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;authenticated session, the server S=
HOULD discard the previous authentication<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;context and authenticate the sessio=
n with the newly negotiated authentication<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;context.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 2. Server responds with an HTTP 401 and authenticatio=
n headers requesting<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;additional information:<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A session&#8217;s lifetime is not t=
ied to the duration of a request/response pair.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; If the authentication scheme used to val=
idate the client&#8217;s identity is a multi-<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; legged scheme, servers will generate a n=
ew &#8220;Auth-ID&#8221; (1.5 in Figure 2) header.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;The Auth-ID value is an opaque blob=
 that SHOULD NOT be interpreted. It SHOULD<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; be sent in its complete form to con=
tinue an authentication process. The server
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;uses this to lookup the correct sec=
urity context to process this authentication
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;request.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The HTTP 401 response from the serv=
er will contain the &#8220;Auth-ID&#8221; header to enable
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;sharing of authentication context a=
cross streams, as required for multi-legged
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;authentication.<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 3. Client re-issues the HTTP GET request for the reso=
urce, including the required<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;authentication headers and the &#8220;Au=
th-ID&#8221; header, to inform the server that the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; request is part of a previously ini=
tiated multi-legged authentication process.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; 4. Authentication succeeds and the server returns the=
 requested resource, along with<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; level of multi-legged authenticatio=
n scheme:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Some multi-legged authentication sc=
hemes can result in per request or per<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;connection (i.e. Kerberos or Negotiate) =
authentication. Servers will generate a<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;Persistent-auth header (3.5 in Figure 2) =
to inform the client when an
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;authentication negotiation, resulte=
d in an authenticated session. When a
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;session is authenticated, servers M=
UST generate a Persistent-auth header and<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; send it along with the HTTP 200 OK =
response. The client will use the presence (or<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;absence) of the Persistent-auth header t=
o determine what action to take, with<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; previously queued requests due to m=
ulti-legged authentication being in progress:
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<o:p></o:p><=
/span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;i. If the session was a=
uthenticated, as indicated by the presence of the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;Persistent=
-auth header, the client does not need to authenticate new streams<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;it wi=
ll create to service the queued requests on the authenticated session.<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Clien=
ts should assume that successful authentication with schemes that only<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;support co=
nnection based authentication (i.e. NTLM), will always result in an
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp=
;authenticated session, even if the Persisted-auth header is not present.<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ii. If the sesseion was=
 not authenticated, as indicated by the absence of the<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Pers=
istent-auth header, the client should remember the negotiated<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;auth=
entication scheme used for authentication.&nbsp; The client SHOULD NOT bloc=
k<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; stre=
ams on the session when processing requests using the multi-legged<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; auth=
entication scheme that previously resulted in per request authentication.<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A server COULD generate and add Aut=
h-ID header as soon as it knows that the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;requested authentication scheme is multi=
-legged. The client must add the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;Auth-ID header to all subsequent request=
s required to complete the authentication<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; process.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A server COULD generate a Persisten=
t-auth request as soon as it knows that<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;the requested authentication scheme will=
 authenticate the session. The client<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CANNOT make any assumptions by the =
absence of the Persistent-auth header, until the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; authentication process is complete =
and it receives the final server response<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp; &nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;containing the requested resource.<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.1.1 Auth-ID header and security context=
 lifetime<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
Servers create and store security context information when they create the<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Auth-=
ID header. An Auth-ID header CANNOT be reused across sessions.<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The A=
uth-ID mapping is destroyed when the authentication process completes.<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Compl=
etion of the authentication process can be a successful authentication<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; or fa=
ilure to authenticate. TBD: Should Auth-IDs be random numbers? The<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secur=
ity vs look-up perf implications should be weighed.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Serve=
rs should limit the number of incomplete security contexts per<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;sessi=
on, to protect against misbehaving clients that cause the server to<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; creat=
e multiple authentication contexts but never complete the authentication<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; proce=
ss. Servers SHOULD define a maximum number of incomplete security<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp; &nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;conte=
xts and ignore SYN streams from misbehaving clients.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
Per session security contexts are transient and servers SHOULD discard them=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; when =
request processing completes. There SHOULD only be one complete security<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; conte=
xt open per session.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; 3.=
2 Stateful authentication to proxies<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; HTTP proxies must add a new Remote-http-version heade=
r to inform the client of the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; HTTP version of the remote host. HTTP 2.0 clients can=
 make authentication decisions<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; based on the HTTP version of the target server. Proxy=
 and gateway applications should<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; take the consideration outlined by RFC 2616 when forw=
arding messages between client<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; and servers with different protocol version capabilit=
ies.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.2.1 HTTP 2.0 client authenticating to a=
n HTTP 2.0 server via proxy<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Authentication from an=
 HTTP 2.0 (or greater) client to an HTTP 2.0 (or<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; great=
er) server will work without additional changes, other than those<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; descr=
ibed in the Multi-legged Authentication for HTTP multiplexing proposal<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secti=
on of this document. Proxies MUST bind the client-to-proxy and
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
proxy-to-server connections.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.2.2 HTTP2.0 client connecting to an HTT=
P1.1 server via proxy
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
HTTP 2.0 (or greater) clients that establish an authenticated connection to=
 an<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HTTP =
1.1 server (via a proxy) SHOULD downgrade HTTP version to HTTP 1.1, to<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; avoid=
 serialization.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HTTP =
2.0 clients can multiplex streams within the authenticated HTTP 2.0<o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; clien=
t-proxy session, but the proxy will serialize requests through the<o:p></o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; authe=
nticated HTTP 1.1 proxy-server connection.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HTTP =
2.0 clients COULD decide to downgrade all requests requiring<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; authe=
ntication (via a proxy) to HTTP 1.1 servers or only downgrade<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; authe=
nticated sessions, as indicated by the presence of the Persisted-auth<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; heade=
r.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3.2.3 HTTP1.1 client connecting to an HTT=
P2.0 server via proxy<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; No ch=
anges required to support this scenario as HTTP 1.1 clients will ignore<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HTTP =
2.0 headers.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; 3.=
3 Authentication and multi-host sessions<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; The proposed authentication scheme will only work if =
there is a limit of one unique<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; host per HTTP 2.0 session.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp; <o:p></o=
:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">4. Security con=
siderations:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; Im=
plementers should be aware of the security considerations defined by the in=
dividual<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; au=
thentication schemes supported. The following are some general security con=
siderations<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; th=
at are independent of the proposed authentication mechanism.<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; Th=
e proposed authentication mechanism is only used to provide authentication =
of a user to<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; a =
server.&nbsp; It provides no facilities for protecting the HTTP headers or =
data including the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; Au=
thorization and WWW-Authenticate headers that are used to implement this me=
chanism.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; Al=
ternate mechanisms such as TLS can be used to provide confidentiality. Hash=
es of the TLS<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; ce=
rtificates can be used as channel bindings to secure the channel.&nbsp; In =
this case clients<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; wo=
uld need to enforce that the channel binding information is valid.&nbsp;
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; If=
 an HTTP proxy is used between the client and server, it must take care to =
not share<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; au=
thenticated connections between different authenticated clients to the same=
 server.&nbsp; If<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; th=
is is not honored, then the server can easily lose track of security contex=
t<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; as=
sociations.&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;A proxy that correctly honors client to server authentication integrity =
will supply the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; &q=
uot;Proxy-support:&nbsp; Session-Based-Authentication&quot; HTTP header to =
the client in HTTP responses<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; fr=
om the proxy.&nbsp; <o:p>
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">5. Conventions =
used in this document:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; Th=
e key words &#8220;MUST&#8221;, &#8220;MUST NOT&#8221;, &#8220;REQUIRED&#82=
21;, &#8220;SHALL&#8221;, &#8220;SHALL NOT&#8221;, &#8220;SHOULD&#8221;, &#=
8220;SHOULD<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; NO=
T&quot;, &#8220;RECOMMENDED&#8221;, &#8220;MAY&#8221;, and &#8220;OPTIONAL&=
#8221; are to&nbsp;&nbsp; be interpreted as described in
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;[RFC 2119].<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">6. Acknowledgem=
ents<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; Th=
anks to the following people for contributing to the review and creation of=
 this<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp; do=
cument:&nbsp; <o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;Matthew Cox, Ivan Pashov, Osama Mazahir, Gabriel Montenegro,=
 Paul Leach, Nathan Ide, Rob<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas">&nbsp;&nbsp;&nb=
sp;&nbsp; Trace and Jonathan Silvera.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:Consolas"><o:p>&nbsp;</o:=
p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4A6008CA493DD743AF241A465C01F15F09457808SN2PRD0310MB360_--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 18 18:44: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 ADBE411E80BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Jun 2012 18:44:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.138
X-Spam-Level: 
X-Spam-Status: No, score=-10.138 tagged_above=-999 required=5 tests=[AWL=0.461, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RWobdlvYUyIs for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Jun 2012 18:44:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CEE9821F851A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 18 Jun 2012 18:44:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SgnT5-0006yV-5a for ietf-http-wg-dist@listhub.w3.org; Tue, 19 Jun 2012 01:42:55 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SgnSZ-0006uv-3b for ietf-http-wg@listhub.w3.org; Tue, 19 Jun 2012 01:42:23 +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 1SgnSW-0003tN-Ok for ietf-http-wg@w3.org; Tue, 19 Jun 2012 01:42:21 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D7E4A509EB; Mon, 18 Jun 2012 21:41:57 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FDE03CE.10002@gmx.de>
Date: Tue, 19 Jun 2012 11:41:54 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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 1SgnSW-0003tN-Ok c73baf2dbfc2c7ca4708355b3df0bc96
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13828
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SgnT5-0006yV-5a@frink.w3.org>
Resent-Date: Tue, 19 Jun 2012 01:42:55 +0000

On 18/06/2012, at 2:20 AM, Julian Reschke wrote:

> On 2012-06-15 01:40, Mark Nottingham wrote:
>> ...
>> I *think* the only point of disagreement here is whether this (i.e., =
how to parse "non-core" cc directives) is advisory ("ought to...") or a =
conformance requirement ("MUST...").
>>=20
>> I can't find anywhere else in our specs where we place conformance =
requirements on being able to parse multiple paths in the ABNF. Can you?
>> ...
>=20
> (I'm not totally sure what you mean by "multiple paths" here, but I'll =
assume we're still talking about the quoted-string/token choice).
>=20
> I would argue it's implicit in how the ABNF defined.
>=20
> When the ABNF indicates that an extension parameter or directive uses
>=20
>  quoted-string / token
>=20
> then, yes, this means recipients MUST support both.

Julian -

I'm not disputing that. What I've been trying to ask, in so many ways, =
is why THIS case differs from all of the other cases.=20

I.e., AFAICT, we rely on the ABNF in every similar case, without making =
an explicit requirement with RFC2119 language. Why is it necessary to =
have the ABNF *and* an explicit requirement here?



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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 18 19:09: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 60C0611E80D0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Jun 2012 19:09:04 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vSI40pmy5ksW for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Jun 2012 19:09:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3C33211E8097 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 18 Jun 2012 19:09:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sgnqq-00057V-J5 for ietf-http-wg-dist@listhub.w3.org; Tue, 19 Jun 2012 02:07:28 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <derhoermi@gmx.net>) id 1Sgnqf-00056c-1C for ietf-http-wg@listhub.w3.org; Tue, 19 Jun 2012 02:07:17 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1Sgnqb-0004uG-9A for ietf-http-wg@w3.org; Tue, 19 Jun 2012 02:07:15 +0000
Received: (qmail invoked by alias); 19 Jun 2012 02:06:45 -0000
Received: from dslb-094-222-147-091.pools.arcor-ip.net (EHLO HIVE) [94.222.147.91] by mail.gmx.net (mp039) with SMTP; 19 Jun 2012 04:06:45 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX186xrxS2Ik6xhbhLTn93rLqHEv6kHSnPaoUnKAsXj MkfYMEUrr7jRXd
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Mark Nottingham <mnot@mnot.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Tue, 19 Jun 2012 04:06:51 +0200
Message-ID: <lanvt7pfb9ob3fd5vrmeui2dgsnglfa49t@hive.bjoern.hoehrmann.de>
References: <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net>
In-Reply-To: <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=derhoermi@gmx.net; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sgnqb-0004uG-9A 5cebce674326a761bf3a733fcb514d3d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/lanvt7pfb9ob3fd5vrmeui2dgsnglfa49t@hive.bjoern.hoehrmann.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13829
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sgnqq-00057V-J5@frink.w3.org>
Resent-Date: Tue, 19 Jun 2012 02:07:28 +0000

* Mark Nottingham wrote:
>What I've been trying to ask, in so many ways, is why THIS case differs
>from all of the other cases. 

If you name a couple, I assume Julian will happily explain where the
difference is, if there is any; he in fact asked for evidence that the
drafts are currently inconsistent in this regard, as I understood it,
anyway. (I'd offer some if I understood your concern well enough...)
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


From ietf-http-wg-request@listhub.w3.org  Mon Jun 18 19:14: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 0729A11E8105 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Jun 2012 19:14:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.154
X-Spam-Level: 
X-Spam-Status: No, score=-10.154 tagged_above=-999 required=5 tests=[AWL=0.445, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rxlr9x3WRJp3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Jun 2012 19:13:59 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1612B11E8104 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 18 Jun 2012 19:13:59 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sgnwo-0005mC-6h for ietf-http-wg-dist@listhub.w3.org; Tue, 19 Jun 2012 02:13:38 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sgnwc-0005lI-UV for ietf-http-wg@listhub.w3.org; Tue, 19 Jun 2012 02:13:26 +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 1Sgnwa-0007lh-A9 for ietf-http-wg@w3.org; Tue, 19 Jun 2012 02:13:25 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 68E4B509EB; Mon, 18 Jun 2012 22:13:00 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <lanvt7pfb9ob3fd5vrmeui2dgsnglfa49t@hive.bjoern.hoehrmann.de>
Date: Tue, 19 Jun 2012 12:12:57 +1000
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <5CEB6240-B7AE-407A-91A1-EE6EACBF91D0@mnot.net>
References: <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <lanvt7pfb9ob3fd5vrmeui2dgsnglfa49t@hive.bjoern.hoehrmann.de>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1Sgnwa-0007lh-A9 2f9abf1e899d9220ef5d678bb7679d2a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/5CEB6240-B7AE-407A-91A1-EE6EACBF91D0@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13830
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sgnwo-0005mC-6h@frink.w3.org>
Resent-Date: Tue, 19 Jun 2012 02:13:38 +0000

On 19/06/2012, at 12:06 PM, Bjoern Hoehrmann wrote:

> * Mark Nottingham wrote:
>> What I've been trying to ask, in so many ways, is why THIS case =
differs
>> from all of the other cases.=20
>=20
> If you name a couple, I assume Julian will happily explain where the
> difference is, if there is any; he in fact asked for evidence that the
> drafts are currently inconsistent in this regard, as I understood it,
> anyway. (I'd offer some if I understood your concern well enough...)


I did, way back when...

On 14/06/2012, at 1:23 PM, Mark Nottingham wrote:
> I think it's going too far; in similar situations we haven't laid down =
such draconian rules.
>=20
> E.g., we don't place ANY conformance requirements on new headers; it's =
all advice: =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-se=
mantics.html#considerations.for.creating.header.fields>
>=20
> Likewise for auth schemes: =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p7-au=
th.html#considerations.for.new.authentication.schemes>
>=20
> We don't place any conformance requirements on media type parameters =
either: =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-se=
mantics.html#media.types>; we only note that they can be transmitted in =
either form. Why not use similar language here?



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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 18 20:47: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 2609811E80BB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Jun 2012 20:47:47 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RlwNVr-WjoO3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Jun 2012 20:47:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 729C211E8093 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 18 Jun 2012 20:47:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SgpNy-0002zu-4D for ietf-http-wg-dist@listhub.w3.org; Tue, 19 Jun 2012 03:45:46 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <derhoermi@gmx.net>) id 1SgpNe-0002dl-On for ietf-http-wg@listhub.w3.org; Tue, 19 Jun 2012 03:45:26 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1SgpNb-0001u3-My for ietf-http-wg@w3.org; Tue, 19 Jun 2012 03:45:24 +0000
Received: (qmail invoked by alias); 19 Jun 2012 03:44:56 -0000
Received: from dslb-094-222-147-091.pools.arcor-ip.net (EHLO HIVE) [94.222.147.91] by mail.gmx.net (mp033) with SMTP; 19 Jun 2012 05:44:56 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX1+o45s49wKok9YHxDUPU/OPGnbYGLvnaq2ATBYKMJ Tc2kaGUo4poh7y
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Mark Nottingham <mnot@mnot.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Date: Tue, 19 Jun 2012 05:45:02 +0200
Message-ID: <qhsvt7ln00geirjvf1vhqouev9sfcigb7o@hive.bjoern.hoehrmann.de>
References: <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <lanvt7pfb9ob3fd5vrmeui2dgsnglfa49t@hive.bjoern.hoehrmann.de> <5CEB6240-B7AE-407A-91A1-EE6EACBF91D0@mnot.net>
In-Reply-To: <5CEB6240-B7AE-407A-91A1-EE6EACBF91D0@mnot.net>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=derhoermi@gmx.net; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SgpNb-0001u3-My ea9b3480176318186fd198a978783d74
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/qhsvt7ln00geirjvf1vhqouev9sfcigb7o@hive.bjoern.hoehrmann.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13831
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SgpNy-0002zu-4D@frink.w3.org>
Resent-Date: Tue, 19 Jun 2012 03:45:46 +0000

* Mark Nottingham wrote:
>On 19/06/2012, at 12:06 PM, Bjoern Hoehrmann wrote:
>> * Mark Nottingham wrote:
>>> What I've been trying to ask, in so many ways, is why THIS case differs
>>> from all of the other cases. 
>> 
>> If you name a couple, I assume Julian will happily explain where the
>> difference is, if there is any; he in fact asked for evidence that the
>> drafts are currently inconsistent in this regard, as I understood it,
>> anyway. (I'd offer some if I understood your concern well enough...)
>
>I did, way back when...

Okay; Cache-Control is not different from media type parameters here,
but media type parameters already have similar language, "The quoted
and unquoted values are equivalent." Cache-Control could use the same
language if we did not mind that implementations that have trouble 
with `max-age="5"` would become (more clearly) non-conforming.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


From ietf-http-wg-request@listhub.w3.org  Mon Jun 18 23:14: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 2632811E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Jun 2012 23:14:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.363
X-Spam-Level: 
X-Spam-Status: No, score=-9.363 tagged_above=-999 required=5 tests=[AWL=1.236, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e3TAVK81q7Nx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 18 Jun 2012 23:14:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5F2CA11E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 18 Jun 2012 23:14:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sgrfo-00036d-BF for ietf-http-wg-dist@listhub.w3.org; Tue, 19 Jun 2012 06:12:20 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SgrfY-00035D-SD for ietf-http-wg@listhub.w3.org; Tue, 19 Jun 2012 06:12:04 +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 1SgrfW-0008AL-2B for ietf-http-wg@w3.org; Tue, 19 Jun 2012 06:12:03 +0000
Received: (qmail invoked by alias); 19 Jun 2012 06:11:34 -0000
Received: from p5DD95DFC.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.93.252] by mail.gmx.net (mp031) with SMTP; 19 Jun 2012 08:11:34 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/jvFwMbVfjdLDtNYJWK31/+x6toHTmoFX2p28u63 YooWBjPuSvdPZP
Message-ID: <4FE01814.1050807@gmx.de>
Date: Tue, 19 Jun 2012 08:11:32 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net>
In-Reply-To: <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SgrfW-0008AL-2B 2b3db537273d789ff5554505a533a886
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FE01814.1050807@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13832
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sgrfo-00036d-BF@frink.w3.org>
Resent-Date: Tue, 19 Jun 2012 06:12:20 +0000

On 2012-06-19 03:41, Mark Nottingham wrote:
>
> On 18/06/2012, at 2:20 AM, Julian Reschke wrote:
>
>> On 2012-06-15 01:40, Mark Nottingham wrote:
>>> ...
>>> I *think* the only point of disagreement here is whether this (i.e., how to parse "non-core" cc directives) is advisory ("ought to...") or a conformance requirement ("MUST...").
>>>
>>> I can't find anywhere else in our specs where we place conformance requirements on being able to parse multiple paths in the ABNF. Can you?
>>> ...
>>
>> (I'm not totally sure what you mean by "multiple paths" here, but I'll assume we're still talking about the quoted-string/token choice).
>>
>> I would argue it's implicit in how the ABNF defined.
>>
>> When the ABNF indicates that an extension parameter or directive uses
>>
>>   quoted-string / token
>>
>> then, yes, this means recipients MUST support both.
>
> Julian -
>
> I'm not disputing that. What I've been trying to ask, in so many ways, is why THIS case differs from all of the other cases.
>
> I.e., AFAICT, we rely on the ABNF in every similar case, without making an explicit requirement with RFC2119 language. Why is it necessary to have the ABNF *and* an explicit requirement here?

The difference is that Cache-Control *does* have special cases for 
historical reasons, whereas I think that is not the case for other headers.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jun 19 00:43: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 37AC021F86D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 00:43:28 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iR63j91QciWf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 00:43:27 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2A79821F86D5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 19 Jun 2012 00:43:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sgt47-0001ib-Ml for ietf-http-wg-dist@listhub.w3.org; Tue, 19 Jun 2012 07:41:31 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sgt3r-0001hg-L9 for ietf-http-wg@listhub.w3.org; Tue, 19 Jun 2012 07:41:15 +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 1Sgt3k-00010i-3r for ietf-http-wg@w3.org; Tue, 19 Jun 2012 07:41:13 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 1C6C450A5D; Tue, 19 Jun 2012 03:40:45 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE01814.1050807@gmx.de>
Date: Tue, 19 Jun 2012 17:40:42 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A55793B2-973E-47F7-BC49-9BF20CBA2CB8@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <4FE01814.1050807@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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 1Sgt3k-00010i-3r ae6e33fb7f8857ae2c45cbf0101d37aa
X-Original-To: ietf-http-wg@w3.org
Subject: #367: ABNF requirements for recipients [was: #307 untangle Cache-Control ABNF]
Archived-At: <http://www.w3.org/mid/A55793B2-973E-47F7-BC49-9BF20CBA2CB8@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13833
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sgt47-0001ib-Ml@frink.w3.org>
Resent-Date: Tue, 19 Jun 2012 07:41:31 +0000

I think the underlying issue here is that we don't explicitly require =
recipients to be able to parse ABNF-conformant messages, even though we =
require senders to generate them.

I've created <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/361> to =
track. One we figure that out, these details of #307 should become =
clear.

Cheers,


On 19/06/2012, at 4:11 PM, Julian Reschke wrote:

> On 2012-06-19 03:41, Mark Nottingham wrote:
>>=20
>> On 18/06/2012, at 2:20 AM, Julian Reschke wrote:
>>=20
>>> On 2012-06-15 01:40, Mark Nottingham wrote:
>>>> ...
>>>> I *think* the only point of disagreement here is whether this =
(i.e., how to parse "non-core" cc directives) is advisory ("ought =
to...") or a conformance requirement ("MUST...").
>>>>=20
>>>> I can't find anywhere else in our specs where we place conformance =
requirements on being able to parse multiple paths in the ABNF. Can you?
>>>> ...
>>>=20
>>> (I'm not totally sure what you mean by "multiple paths" here, but =
I'll assume we're still talking about the quoted-string/token choice).
>>>=20
>>> I would argue it's implicit in how the ABNF defined.
>>>=20
>>> When the ABNF indicates that an extension parameter or directive =
uses
>>>=20
>>>  quoted-string / token
>>>=20
>>> then, yes, this means recipients MUST support both.
>>=20
>> Julian -
>>=20
>> I'm not disputing that. What I've been trying to ask, in so many =
ways, is why THIS case differs from all of the other cases.
>>=20
>> I.e., AFAICT, we rely on the ABNF in every similar case, without =
making an explicit requirement with RFC2119 language. Why is it =
necessary to have the ABNF *and* an explicit requirement here?
>=20
> The difference is that Cache-Control *does* have special cases for =
historical reasons, whereas I think that is not the case for other =
headers.
>=20
> Best regards, Julian
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jun 19 00:58: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 4AF0021F86F3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 00:58:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.056
X-Spam-Level: 
X-Spam-Status: No, score=-9.056 tagged_above=-999 required=5 tests=[AWL=1.543, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8EgGvyEgsorp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 00:58:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8E88721F86E8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 19 Jun 2012 00:58:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SgtK6-0006kQ-Cj for ietf-http-wg-dist@listhub.w3.org; Tue, 19 Jun 2012 07:58:02 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SgtJu-0006hO-3e for ietf-http-wg@listhub.w3.org; Tue, 19 Jun 2012 07:57:50 +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 1SgtJo-0001eT-Hp for ietf-http-wg@w3.org; Tue, 19 Jun 2012 07:57:48 +0000
Received: (qmail invoked by alias); 19 Jun 2012 07:57:16 -0000
Received: from p5DD95DFC.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.93.252] by mail.gmx.net (mp019) with SMTP; 19 Jun 2012 09:57:16 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/Usw14a0PUn95DK5tp1hsQqa2WK2YGz9bo+6SdEv hWcbeB5inrHXDo
Message-ID: <4FE030D9.1010709@gmx.de>
Date: Tue, 19 Jun 2012 09:57:13 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <4FE01814.1050807@gmx.de> <A55793B2-973E-47F7-BC49-9BF20CBA2CB8@mnot.net>
In-Reply-To: <A55793B2-973E-47F7-BC49-9BF20CBA2CB8@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SgtJo-0001eT-Hp 02f01a585447177d44e806fdbc27c3b3
X-Original-To: ietf-http-wg@w3.org
Subject: #361: ABNF requirements for recipients [was: #307 untangle Cache-Control  ABNF]
Archived-At: <http://www.w3.org/mid/4FE030D9.1010709@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13834
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SgtK6-0006kQ-Cj@frink.w3.org>
Resent-Date: Tue, 19 Jun 2012 07:58:02 +0000

On 2012-06-19 09:40, Mark Nottingham wrote:
> I think the underlying issue here is that we don't explicitly require recipients to be able to parse ABNF-conformant messages, even though we require senders to generate them.
>
> I've created <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/361> to track. One we figure that out, these details of #307 should become clear.
> ...

Thanks for that.

I believe that's a case where we started with something consistent 
(2616), and added a normative requirement (for the sending side) to 
clarify things, just to make the other case (recipients) less clear.

We currently have in 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p1-messaging-19.html#rfc.section.2.5>:

"Senders MUST NOT generate protocol elements that do not match the 
grammar defined by the ABNF rules for those protocol elements.

Unless otherwise noted, recipients MAY attempt to recover a usable 
protocol element from an invalid construct. HTTP does not define 
specific error handling mechanisms except when they have a direct impact 
on security, since different applications of the protocol require 
different error handling strategies. For example, a Web browser might 
wish to transparently recover from a response where the Location header 
field doesn't parse according to the ABNF, whereas a systems control 
client might consider any form of error recovery to be dangerous."

So, for consistency, we should insert:

"Recipients MUST accept all protocol elements matching the ABNF rules 
defined for them."

Maybe we need "Unless otherwise noted" because of some special cases for 
"obs-*".

We should also make the placement of this section consistent; in the 
other sections we have the equivalent text in Section 1.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jun 19 01:20: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 7A8C821F86E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 01:20:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.184
X-Spam-Level: 
X-Spam-Status: No, score=-10.184 tagged_above=-999 required=5 tests=[AWL=0.415, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CnavyUkNOBUl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 01:20:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B269921F8634 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 19 Jun 2012 01:20:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sgted-0006wN-PP for ietf-http-wg-dist@listhub.w3.org; Tue, 19 Jun 2012 08:19:15 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SgtX2-0003HP-2V for ietf-http-wg@listhub.w3.org; Tue, 19 Jun 2012 08:11: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 <mnot@mnot.net>) id 1SgtWp-0003oj-0P for ietf-http-wg@w3.org; Tue, 19 Jun 2012 08:11:17 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9FCF8509B4; Tue, 19 Jun 2012 04:10:48 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE030D9.1010709@gmx.de>
Date: Tue, 19 Jun 2012 18:10:45 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <3263FF21-1039-4B8D-9F54-7DE725D7E22A@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <4FE01814.1050807@gmx.de> <A55793B2-973E-47F7-BC49-9BF20CBA2CB8@mnot.net> <4FE030D9.1010709@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1SgtWp-0003oj-0P 64829d2c87549b6b25b99f375bbe61fb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #361: ABNF requirements for recipients [was: #307 untangle Cache-Control ABNF]
Archived-At: <http://www.w3.org/mid/3263FF21-1039-4B8D-9F54-7DE725D7E22A@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13835
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sgted-0006wN-PP@frink.w3.org>
Resent-Date: Tue, 19 Jun 2012 08:19:15 +0000

On 19/06/2012, at 5:57 PM, Julian Reschke wrote:

> So, for consistency, we should insert:
>=20
> "Recipients MUST accept all protocol elements matching the ABNF rules =
defined for them."

"accept" is ambiguous here. "Be able to parse" is more specific, I =
think.

> Maybe we need "Unless otherwise noted" because of some special cases =
for "obs-*".

yes.



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





From ietf-http-wg-request@listhub.w3.org  Tue Jun 19 13:30: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 277D811E8106 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 13:30:59 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bAIpv5YWaAdP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 13:30:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C1F4011E80FA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 19 Jun 2012 13:30:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sh539-0003kG-J4 for ietf-http-wg-dist@listhub.w3.org; Tue, 19 Jun 2012 20:29:19 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <Rob.Trace@microsoft.com>) id 1Sh52s-0003iv-Pk for ietf-http-wg@listhub.w3.org; Tue, 19 Jun 2012 20:29:02 +0000
Received: from tx2ehsobe003.messaging.microsoft.com ([65.55.88.13] helo=tx2outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <Rob.Trace@microsoft.com>) id 1Sh52p-0003jD-6N for ietf-http-wg@w3.org; Tue, 19 Jun 2012 20:29:00 +0000
Received: from mail151-tx2-R.bigfish.com (10.9.14.247) by TX2EHSOBE002.bigfish.com (10.9.40.22) with Microsoft SMTP Server id 14.1.225.23; Tue, 19 Jun 2012 20:27:10 +0000
Received: from mail151-tx2 (localhost [127.0.0.1])	by mail151-tx2-R.bigfish.com (Postfix) with ESMTP id 53F3A40159	for <ietf-http-wg@w3.org>; Tue, 19 Jun 2012 20:27:10 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC102.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -21
X-BigFish: VS-21(zz936eIc85fhzz1202hzz1033IL8275bh8275dhz2fh2a8h668h839hd25hf0ah)
Received-SPF: pass (mail151-tx2: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Rob.Trace@microsoft.com; helo=TK5EX14MLTC102.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail151-tx2 (localhost.localdomain [127.0.0.1]) by mail151-tx2 (MessageSwitch) id 1340137628909323_21443; Tue, 19 Jun 2012 20:27:08 +0000 (UTC)
Received: from TX2EHSMHS015.bigfish.com (unknown [10.9.14.244])	by mail151-tx2.bigfish.com (Postfix) with ESMTP id D0B93320047	for <ietf-http-wg@w3.org>; Tue, 19 Jun 2012 20:27:08 +0000 (UTC)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (131.107.125.8) by TX2EHSMHS015.bigfish.com (10.9.99.115) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 19 Jun 2012 20:27:07 +0000
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14MLTC102.redmond.corp.microsoft.com (157.54.79.180) with Microsoft SMTP Server (TLS) id 14.2.298.5; Tue, 19 Jun 2012 20:28:23 +0000
Received: from TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com ([169.254.2.243]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi id 14.02.0309.003; Tue, 19 Jun 2012 13:28:22 -0700
From: Rob Trace <Rob.Trace@microsoft.com>
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: New Version Notification for draft-montenegro-httpbis-speed-mobility-02.txt
Thread-Index: Ac1OWelsK1iNo8y+RJGoPY5B6QCB0Q==
Date: Tue, 19 Jun 2012 20:28:22 +0000
Message-ID: <FF649A28BA27384396FD4F7BADF45DDF382957D8@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.30]
Content-Type: multipart/alternative; boundary="_000_FF649A28BA27384396FD4F7BADF45DDF382957D8TK5EX14MBXW602w_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=65.55.88.13; envelope-from=Rob.Trace@microsoft.com; helo=tx2outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Sh52p-0003jD-6N d98e8ccaf21cb3a5aa4cd34c12600a2b
X-Original-To: ietf-http-wg@w3.org
Subject: New Version Notification for  draft-montenegro-httpbis-speed-mobility-02.txt
Archived-At: <http://www.w3.org/mid/FF649A28BA27384396FD4F7BADF45DDF382957D8@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13836
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sh539-0003kG-J4@frink.w3.org>
Resent-Date: Tue, 19 Jun 2012 20:29:19 +0000

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

I should have sent this earlier...


A new version of I-D, draft-montenegro-httpbis-speed-mobility-02.txt

has been successfully submitted by Henrik Frystyk Nielsen and posted to the=
 IETF repository.



Filename:            draft-montenegro-httpbis-speed-mobility

Revision:              02

Title:                      HTTP Speed+Mobility

Creation date:   2012-06-15

WG ID:                  Individual Submission

Number of pages: 36

URL:             http://www.ietf.org/internet-drafts/draft-montenegro-httpb=
is-speed-mobility-02.txt

Status:          http://datatracker.ietf.org/doc/draft-montenegro-httpbis-s=
peed-mobility

Htmlized:        http://tools.ietf.org/html/draft-montenegro-httpbis-speed-=
mobility-02

Diff:            http://tools.ietf.org/rfcdiff?url2=3Ddraft-montenegro-http=
bis-speed-mobility-02



Abstract:

   This document describes "HTTP Speed+Mobility," a proposal for HTTP

   2.0 that emphasizes performance improvements and security while at

   the same time accounting for the important needs of mobile devices

   and applications.  The proposal starts from both the Google SPDY

   protocol and the work the IETF has done around WebSockets.  The

   proposal is not a final product but rather is intended to form a

   baseline for working group discussion.









The IETF Secretariat


--_000_FF649A28BA27384396FD4F7BADF45DDF382957D8TK5EX14MBXW602w_
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-micr=
osoft-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=3D"Generator" 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;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
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;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
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=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">I should have sent this earlier&#8230; <o:p></o:p></=
p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">A new version of I-D, draft-montenegro-httpbis-sp=
eed-mobility-02.txt<o:p></o:p></p>
<p class=3D"MsoPlainText">has been successfully submitted by Henrik Frystyk=
 Nielsen and posted to the IETF repository.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Filename:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; draft-montenegro-httpbis-speed-mobility<o:p></o:=
p></p>
<p class=3D"MsoPlainText">Revision:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 02<o:p></o:p></p>
<p class=3D"MsoPlainText">Title:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; HTTP Speed&#43;Mobility<o:p></o:p></p>
<p class=3D"MsoPlainText">Creation date:&nbsp;&nbsp; 2012-06-15<o:p></o:p><=
/p>
<p class=3D"MsoPlainText">WG ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Individual Subm=
ission<o:p></o:p></p>
<p class=3D"MsoPlainText">Number of pages: 36<o:p></o:p></p>
<p class=3D"MsoPlainText">URL:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"http://www.ietf.org/internet-drafts/=
draft-montenegro-httpbis-speed-mobility-02.txt">
http://www.ietf.org/internet-drafts/draft-montenegro-httpbis-speed-mobility=
-02.txt</a><o:p></o:p></p>
<p class=3D"MsoPlainText">Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; <a href=3D"http://datatracker.ietf.org/doc/draft-montenegro-ht=
tpbis-speed-mobility">
http://datatracker.ietf.org/doc/draft-montenegro-httpbis-speed-mobility</a>=
<o:p></o:p></p>
<p class=3D"MsoPlainText">Htmlized:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; <a href=3D"http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mob=
ility-02">
http://tools.ietf.org/html/draft-montenegro-httpbis-speed-mobility-02</a><o=
:p></o:p></p>
<p class=3D"MsoPlainText">Diff:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; <a href=3D"http://tools.ietf.org/rfcdiff?url2=3Ddraf=
t-montenegro-httpbis-speed-mobility-02">
http://tools.ietf.org/rfcdiff?url2=3Ddraft-montenegro-httpbis-speed-mobilit=
y-02</a><o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">Abstract:<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; This document describes &quot;HTTP S=
peed&#43;Mobility,&quot; a proposal for HTTP<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; 2.0 that emphasizes performance impr=
ovements and security while at<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; the same time accounting for the imp=
ortant needs of mobile devices<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; and applications.&nbsp; The proposal=
 starts from both the Google SPDY<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; protocol and the work the IETF has d=
one around WebSockets.&nbsp; The<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; proposal is not a final product but =
rather is intended to form a<o:p></o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp; baseline for working group discussio=
n.<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<o:p></o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoPlainText">The IETF Secretariat<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_FF649A28BA27384396FD4F7BADF45DDF382957D8TK5EX14MBXW602w_--


From ietf-http-wg-request@listhub.w3.org  Tue Jun 19 19:07: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 9A9CB21F8667 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 19:07:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.197
X-Spam-Level: 
X-Spam-Status: No, score=-10.197 tagged_above=-999 required=5 tests=[AWL=0.402, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id infOTXoIwSq5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 19:07:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7AAC921F8671 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 19 Jun 2012 19:07:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShAIr-000579-DF for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 02:05:53 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShAIM-00054e-0A for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 02:05:22 +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 1ShAII-0003eA-LO for ietf-http-wg@w3.org; Wed, 20 Jun 2012 02:05:20 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D11D3509B4; Tue, 19 Jun 2012 22:04:55 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Apple Message framework v1278)
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net>
Date: Wed, 20 Jun 2012 12:04:52 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net>
To: Alexey Melnikov <alexey.melnikov@isode.com>, HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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 1ShAII-0003eA-LO 312eac1052a15d0a132ffd59a7e227af
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13837
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShAIr-000579-DF@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 02:05:53 +0000

Looking at this, I think this language in the spec isn't very good for =
other reasons as well:

> If the origin server does not wish to accept the credentials sent with =
a request, it should return a 401 (Unauthorized) response. The =
responsemust include a WWW-Authenticate header field containing at least =
one (possibly new) challenge applicable to the requested resource.
>=20
> If a proxy does not accept the credentials sent with a request, it =
should return a 407 (Proxy Authentication Required) response. The =
responsemust include a Proxy-Authenticate header field containing a =
(possibly new) challenge applicable to the proxy for the requested =
resource.


Because "accept" can be read in so many ways. I think we can fix both =
problems with something like:

"""
Requests for protected resources that omit credentials, contain invalid =
credentials (e.g., a bad password), or partial credentials (e.g., when =
the scheme requires more than one round trip) SHOULD return a 401 =
(Unauthorized) response. Such responses MUST include a WWW-Authenticate =
header field containing at least one (possibly new) challenge applicable =
to the requested resource.

Likewise, requests that require authentication by proxies that omit =
credentials, or contain invalid or partial credentials SHOULD return a =
407 (Proxy Authentication Required) response. The response MUST include =
a Proxy-Authenticate header field containing a (possibly new) challenge =
applicable to the proxy.
"""

Thoughts?


On 15/06/2012, at 9:24 AM, Mark Nottingham wrote:
> On 15/06/2012, at 12:50 AM, Yutaka OIWA wrote:
>=20
>> Dear Mark,
>>=20
>> I'm not Alexey, but (one of) the person(s) proposing an HTTP =
authentication
>> not happen in just one exchange.
>>=20
>>>> If the origin server does not wish to accept the credentials
>>>> sent with a request, it SHOULD return a 401 (Unauthorized) =
response.
>>=20
>> My interpretation of this phrase is "if the origin server does not =
wish to
>> provide the requested resource with credentials sent within a =
request"
>> (slightly rephrased).
>> Under this interpretation, we can implement multi-exchange =
authentication
>> by using the 401 status code as follows:
>>=20
>> A non-authenticating request -> 401 Unauthorized (not acceptable)
>> -> ask user a secret
>> -> A request with 1st-credential -> 401 Unauthorized (not satisfied =
yet)
>> -> A request with 2nd-credential -> 200 Succeed (now satisfied =
enough)
>>=20
>> # Of course, it can be naturally extended for three or more =
exchanges.
>=20
> That was my reading too.
>=20
>> As far as I know, 401/407 are the best choice for this case.
>> I also think that there were already multi-exchange HTTP =
authentications
>> using 401 in this way.
>>=20
>> If one thinks the original sentence is bad for this,
>> his/her understanding of the above flow may be
>> "the server is accepting the 1st credential, and just requesting =
more", I guess.
>>=20
>> My proposal is either we can just leave the text as is, or rephrase =
it
>> like something above.
>=20
> "provide the requested resource" isn't correct from an HTTP =
standpoint, but I see where you're going.
>=20
> My (personal) inclination is to leave it as-is, but I'm not against =
rewording if that'll move us forward.
>=20
> Alexey?
>=20
>>=20
>> # Any rephrasing again with better English is welcome.
>>=20
>> 2012/6/8 Mark Nottingham <mnot@mnot.net>:
>>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/357>
>>>=20
>>> Alexey, could you say a little more here? The text as it reads =
doesn't require authentication to happen in one exchange; it only =
mandates the status codes and headers to use.
>>>=20
>>> Thanks,
>=20




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





From ietf-http-wg-request@listhub.w3.org  Tue Jun 19 20:11: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 58E5A21F8615 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 20:11:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.943
X-Spam-Level: 
X-Spam-Status: No, score=-8.943 tagged_above=-999 required=5 tests=[AWL=1.656, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WlIaKgW1eOXP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 20:11:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5F27921F8549 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 19 Jun 2012 20:11:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShBI1-0000Gm-Mg for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 03:09:05 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1ShBHi-0000FD-L4 for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 03:08:46 +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 1ShBHf-00061Z-Al for ietf-http-wg@w3.org; Wed, 20 Jun 2012 03:08:44 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 80153E6E8B; Wed, 20 Jun 2012 15:08:18 +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, 20 Jun 2012 15:08:18 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net>
Message-ID: <7d41141fac4d3dcccc4d87280cf32b7d@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=-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 1ShBHf-00061Z-Al 23e741d02fa8008fb6a61f4d1864e714
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13838
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShBI1-0000Gm-Mg@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 03:09:05 +0000

On 20.06.2012 14:04, Mark Nottingham wrote:
> Looking at this, I think this language in the spec isn't very good
> for other reasons as well:
>
>> If the origin server does not wish to accept the credentials sent 
>> with a request, it should return a 401 (Unauthorized) response. The 
>> responsemust include a WWW-Authenticate header field containing at 
>> least one (possibly new) challenge applicable to the requested 
>> resource.
>>
>> If a proxy does not accept the credentials sent with a request, it 
>> should return a 407 (Proxy Authentication Required) response. The 
>> responsemust include a Proxy-Authenticate header field containing a 
>> (possibly new) challenge applicable to the proxy for the requested 
>> resource.
>
>
> Because "accept" can be read in so many ways. I think we can fix both
> problems with something like:
>
> """
> Requests for protected resources that omit credentials, contain
> invalid credentials (e.g., a bad password), or partial credentials
> (e.g., when the scheme requires more than one round trip) SHOULD
> return a 401 (Unauthorized) response. Such responses MUST include a
> WWW-Authenticate header field containing at least one (possibly new)
> challenge applicable to the requested resource.
>
> Likewise, requests that require authentication by proxies that omit
> credentials, or contain invalid or partial credentials SHOULD return 
> a
> 407 (Proxy Authentication Required) response. The response MUST
> include a Proxy-Authenticate header field containing a (possibly new)
> challenge applicable to the proxy.
> """
>
> Thoughts?
>

second paragraph:  s/The response MUST/ Such responses MUST/ is a bit 
clearer that its the 407 which "MUST", not any other status which may 
happen.



There is also no mention in any of the auth draft about 403 responses 
being used to terminate authentication attempts or cycles regardless of 
credentials validity or presence.

Something informational in this section would be very useful to clarify 
that 403 is one of the authentication-related states, for use in halting 
loops or making N-tries limitations.


AYJ



From ietf-http-wg-request@listhub.w3.org  Tue Jun 19 21:15: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 3D68521F86FA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 21:15:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.21
X-Spam-Level: 
X-Spam-Status: No, score=-10.21 tagged_above=-999 required=5 tests=[AWL=0.389, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z4-V1namcPTK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 19 Jun 2012 21:15:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 13A7821F86F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 19 Jun 2012 21:15:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShCIC-0001Hk-KN for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 04:13:20 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShCGs-0001EQ-9x for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 04:11:58 +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 1ShCGp-000209-Ff for ietf-http-wg@w3.org; Wed, 20 Jun 2012 04:11:56 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 14A0350A6D; Wed, 20 Jun 2012 00:11:28 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz>
Date: Wed, 20 Jun 2012 14:11:25 +1000
Cc: <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1ShCGp-000209-Ff e3bb5472ed92b578a3211ab5b73f2e39
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13839
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShCIC-0001Hk-KN@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 04:13:20 +0000

On 20/06/2012, at 1:08 PM, Amos Jeffries wrote:

> On 20.06.2012 14:04, Mark Nottingham wrote:
>> Looking at this, I think this language in the spec isn't very good
>> for other reasons as well:
>>=20
>>> If the origin server does not wish to accept the credentials sent =
with a request, it should return a 401 (Unauthorized) response. The =
responsemust include a WWW-Authenticate header field containing at least =
one (possibly new) challenge applicable to the requested resource.
>>>=20
>>> If a proxy does not accept the credentials sent with a request, it =
should return a 407 (Proxy Authentication Required) response. The =
responsemust include a Proxy-Authenticate header field containing a =
(possibly new) challenge applicable to the proxy for the requested =
resource.
>>=20
>>=20
>> Because "accept" can be read in so many ways. I think we can fix both
>> problems with something like:
>>=20
>> """
>> Requests for protected resources that omit credentials, contain
>> invalid credentials (e.g., a bad password), or partial credentials
>> (e.g., when the scheme requires more than one round trip) SHOULD
>> return a 401 (Unauthorized) response. Such responses MUST include a
>> WWW-Authenticate header field containing at least one (possibly new)
>> challenge applicable to the requested resource.
>>=20
>> Likewise, requests that require authentication by proxies that omit
>> credentials, or contain invalid or partial credentials SHOULD return =
a
>> 407 (Proxy Authentication Required) response. The response MUST
>> include a Proxy-Authenticate header field containing a (possibly new)
>> challenge applicable to the proxy.
>> """
>>=20
>> Thoughts?
>>=20
>=20
> second paragraph:  s/The response MUST/ Such responses MUST/ is a bit =
clearer that its the 407 which "MUST", not any other status which may =
happen.

OK

> There is also no mention in any of the auth draft about 403 responses =
being used to terminate authentication attempts or cycles regardless of =
credentials validity or presence.
>=20
> Something informational in this section would be very useful to =
clarify that 403 is one of the authentication-related states, for use in =
halting loops or making N-tries limitations.

How about, after those two paragraphs:

"""
A server receiving credentials that are valid, but not adequate to gain =
access, ought to respond with the 403 (Forbidden) status code.
"""

?

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 01:22: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 B937121F85D9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 01:22:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.784
X-Spam-Level: 
X-Spam-Status: No, score=-7.784 tagged_above=-999 required=5 tests=[AWL=2.815, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qsRVxCxdU0BD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 01:22:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1C89021F85CD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 01:22:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShG7h-00016O-3L for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 08:18:45 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ShG5s-0000TE-4c for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 08:16:52 +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 1ShG5o-0002zE-TR for ietf-http-wg@w3.org; Wed, 20 Jun 2012 08:16:50 +0000
Received: (qmail invoked by alias); 20 Jun 2012 08:16:22 -0000
Received: from p54BB341D.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.52.29] by mail.gmx.net (mp036) with SMTP; 20 Jun 2012 10:16:22 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/7lvcZLaX7liUrJ11QDdWt0zvar9weB6Gf5Io5as oY703QFBPIaKTZ
Message-ID: <4FE186CF.6010009@gmx.de>
Date: Wed, 20 Jun 2012 10:16:15 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net>
In-Reply-To: <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@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=-1.9
X-W3C-Hub-Spam-Report: 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 1ShG5o-0002zE-TR f86f53d65e3e92a59980e4ba60984e20
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/4FE186CF.6010009@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13840
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShG7h-00016O-3L@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 08:18:45 +0000

On 2012-06-20 06:11, Mark Nottingham wrote:
>
> On 20/06/2012, at 1:08 PM, Amos Jeffries wrote:
>
>> On 20.06.2012 14:04, Mark Nottingham wrote:
>>> Looking at this, I think this language in the spec isn't very good
>>> for other reasons as well:
>>>
>>>> If the origin server does not wish to accept the credentials sent with a request, it should return a 401 (Unauthorized) response. The responsemust include a WWW-Authenticate header field containing at least one (possibly new) challenge applicable to the requested resource.
>>>>
>>>> If a proxy does not accept the credentials sent with a request, it should return a 407 (Proxy Authentication Required) response. The responsemust include a Proxy-Authenticate header field containing a (possibly new) challenge applicable to the proxy for the requested resource.
>>>
>>>
>>> Because "accept" can be read in so many ways. I think we can fix both
>>> problems with something like:
>>>
>>> """
>>> Requests for protected resources that omit credentials, contain
>>> invalid credentials (e.g., a bad password), or partial credentials
>>> (e.g., when the scheme requires more than one round trip) SHOULD
>>> return a 401 (Unauthorized) response. Such responses MUST include a
>>> WWW-Authenticate header field containing at least one (possibly new)
>>> challenge applicable to the requested resource.
>>>
>>> Likewise, requests that require authentication by proxies that omit
>>> credentials, or contain invalid or partial credentials SHOULD return a
>>> 407 (Proxy Authentication Required) response. The response MUST
>>> include a Proxy-Authenticate header field containing a (possibly new)
>>> challenge applicable to the proxy.
>>> """
>>>
>>> Thoughts?
>>>
>>
>> second paragraph:  s/The response MUST/ Such responses MUST/ is a bit clearer that its the 407 which "MUST", not any other status which may happen.
>
> OK
>
>> There is also no mention in any of the auth draft about 403 responses being used to terminate authentication attempts or cycles regardless of credentials validity or presence.
>>
>> Something informational in this section would be very useful to clarify that 403 is one of the authentication-related states, for use in halting loops or making N-tries limitations.
>
> How about, after those two paragraphs:
>
> """
> A server receiving credentials that are valid, but not adequate to gain access, ought to respond with the 403 (Forbidden) status code.
> """
>
> ?
> ...

Works for me; with that we have:

261,271c261,275
<  If the origin server does not wish to accept the credentials sent
<  with a request, it SHOULD return a 401 (Unauthorized) response.  The
<  response MUST include a WWW-Authenticate header field containing at
<  least one (possibly new) challenge applicable to the requested
<  resource.
<
<  If a proxy does not accept the credentials sent with a request, it
<  SHOULD return a 407 (Proxy Authentication Required) response.  The
<  response MUST include a Proxy-Authenticate header field containing a
<  (possibly new) challenge applicable to the proxy for the requested
<  resource.
---
 >  Requests for protected resources that omit credentials, contain
 >  invalid credentials (e.g., a bad password), or partial credentials
 >  (e.g., when the authentication scheme requires more than one round
 >  trip) SHOULD return a 401 (Unauthorized) response.  Such responses
 >  MUST include a WWW-Authenticate header field containing at least one
 >  (possibly new) challenge applicable to the requested resource.
 >
 >  Likewise, requests that require authentication by proxies that omit
 >  credentials, or contain invalid or partial credentials SHOULD return
 >  a 407 (Proxy Authentication Required) response.  Such responses MUST
 >  include a Proxy-Authenticate header field containing a (possibly new)
 >  challenge applicable to the proxy.
 >
 >  A server receiving credentials that are valid, but not adequate to
 >  gain access, ought to respond with the 403 (Forbidden) status code.

(<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/357/357.diff>)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 01:39: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 CD4B721F86F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 01:39:55 -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=0.800, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wDbgB1b9Hu-A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 01:39:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 961F321F86EA for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 01:39:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShGPp-0007Db-72 for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 08:37:29 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <y.oiwa@aist.go.jp>) id 1ShGPb-0006S8-WC for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 08:37:16 +0000
Received: from na3sys010aog106.obsmtp.com ([74.125.245.80]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1ShGPV-0003oX-Be for ietf-http-wg@w3.org; Wed, 20 Jun 2012 08:37:14 +0000
Received: from mail-yx0-f172.google.com ([209.85.213.172]) (using TLSv1) by na3sys010aob106.postini.com ([74.125.244.12]) with SMTP ID DSNKT+GLnlI2nq8y1Nu8zxG7OFDYyoafVkNC@postini.com; Wed, 20 Jun 2012 01:37:09 PDT
Received: by yenq13 with SMTP id q13so6842889yen.17 for <ietf-http-wg@w3.org>; Wed, 20 Jun 2012 01:36:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=IL0u+vVc5brXeBnY9nc97nkmWqcQ4nMlPMz4wZY9BLY=; b=gqsquW7UuJ7P1D5lGLhPeU9CkoQqFsR0VnoVFmV+QlOCpGRofTNiz4IsdUj4U6Qf95 ZZxaE30blZPnYFE2rQlRiwnknDjyyNaWxKBVRIwhlSqfXF26GSKU5Ci7H1Du2JGuDPRN Dbk6g9Daqj0R3ePyZxvGCP+82KVdrmRPLTTcM=
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:content-transfer-encoding:x-gm-message-state; bh=IL0u+vVc5brXeBnY9nc97nkmWqcQ4nMlPMz4wZY9BLY=; b=TpJ4ukD9nvWXi7rtYO3x09Mjggm65vXTvl2k673zV68aHLFXcA8CHIZQiNVEDzf9P0 BpSSWt+Bvlfgsj8s3IQxk/+U9MavzNCst5+V38zZRMNtVEMKJHZo4Q8rwS08dR7TODZ/ WA7tHGlQMDHS6+eQw60qR8jI/oSRMfLk4YnUKbsVkuYtmxU91H5FK2qCCbGo7iOhV/SR KmghKyRX2GXRgGsnrfIJCUBTV+f56DFipUkEg8T3b54DIs1OSCsbOlAV8dztNxTnGXL8 HptZ0eYRnnqiOygaL5VkFNBNSWGUu76gfANJmnbqOndfvzouxtlVA4B+skyA8+AIFxcH b/zQ==
Received: by 10.50.179.72 with SMTP id de8mr3757435igc.23.1340181406104; Wed, 20 Jun 2012 01:36:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Wed, 20 Jun 2012 01:36:25 -0700 (PDT)
In-Reply-To: <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Wed, 20 Jun 2012 17:36:25 +0900
Message-ID: <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQkqRT2Sq7Yry/ACuN0LQLkr1gWJWwNUBXhYj8iNi0j0UAvq3zrpmncvCf0wi2yLV04kK7+b
Received-SPF: pass client-ip=74.125.245.80; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog106.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1ShGPV-0003oX-Be ada845ddfbd983f7db75fa51bd8bc5da
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13841
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShGPp-0007Db-72@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 08:37:29 +0000

Dear Amos and Mark,

> A server receiving credentials that are valid, but not adequate to gain a=
ccess, ought to respond with the 403 (Forbidden) status code.

I have a different understanding on the use of 401/403 statuses.
At least on current implementations (e.g. Apache),
auth-succeed and authz-failed status will be represented by
401-status instead of 403.
403 status is used, for example, when the content is
not accessible by underlying filesystem permissions,
or by server configuration for denying directory listing.

I think this (use 401 instead of 403) should be kept for two reasons:

 * Without 401 status, client will not know that changing
    the user name and the password will solve the
    inaccessibility issue.
 * If we change 403 status' behavior, it conflicts with
   the current use of 403 status described above
   (e.g. denied directory listing within auth-protected realm).

# This is part of the reason that I recently (just in httpbis-00 revision)
added "authz-failed" reason code into our HTTP Mutual proposal,
which has OPTIONAL detailed description codes for authentication/
authorization failures.

2012/6/20 Mark Nottingham <mnot@mnot.net>:
>
> On 20/06/2012, at 1:08 PM, Amos Jeffries wrote:
>
>> On 20.06.2012 14:04, Mark Nottingham wrote:
>>> Looking at this, I think this language in the spec isn't very good
>>> for other reasons as well:
>>>
>>>> If the origin server does not wish to accept the credentials sent with=
 a request, it should return a 401 (Unauthorized) response. The responsemus=
t include a WWW-Authenticate header field containing at least one (possibly=
 new) challenge applicable to the requested resource.
>>>>
>>>> If a proxy does not accept the credentials sent with a request, it sho=
uld return a 407 (Proxy Authentication Required) response. The responsemust=
 include a Proxy-Authenticate header field containing a (possibly new) chal=
lenge applicable to the proxy for the requested resource.
>>>
>>>
>>> Because "accept" can be read in so many ways. I think we can fix both
>>> problems with something like:
>>>
>>> """
>>> Requests for protected resources that omit credentials, contain
>>> invalid credentials (e.g., a bad password), or partial credentials
>>> (e.g., when the scheme requires more than one round trip) SHOULD
>>> return a 401 (Unauthorized) response. Such responses MUST include a
>>> WWW-Authenticate header field containing at least one (possibly new)
>>> challenge applicable to the requested resource.
>>>
>>> Likewise, requests that require authentication by proxies that omit
>>> credentials, or contain invalid or partial credentials SHOULD return a
>>> 407 (Proxy Authentication Required) response. The response MUST
>>> include a Proxy-Authenticate header field containing a (possibly new)
>>> challenge applicable to the proxy.
>>> """
>>>
>>> Thoughts?
>>>
>>
>> second paragraph: =A0s/The response MUST/ Such responses MUST/ is a bit =
clearer that its the 407 which "MUST", not any other status which may happe=
n.
>
> OK
>
>> There is also no mention in any of the auth draft about 403 responses be=
ing used to terminate authentication attempts or cycles regardless of crede=
ntials validity or presence.
>>
>> Something informational in this section would be very useful to clarify =
that 403 is one of the authentication-related states, for use in halting lo=
ops or making N-tries limitations.
>
> How about, after those two paragraphs:
>
> """
> A server receiving credentials that are valid, but not adequate to gain a=
ccess, ought to respond with the 403 (Forbidden) status code.
> """
>
> ?
>
> --
> Mark Nottingham =A0 http://www.mnot.net/
>
>
>
>



--=20
Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliability =
Research Group
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Institu=
te for Secure Systems (RISEC)
=A0 =A0National Institute of Advanced Industrial Science and Technology (AI=
ST)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.go.=
jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 46=
B5]


From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 02:27: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 C33B721F86F7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 02:27:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.04
X-Spam-Level: 
X-Spam-Status: No, score=-8.04 tagged_above=-999 required=5 tests=[AWL=2.559, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iUK5YP3MWdRN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 02:27:18 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0BA8D21F86F5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 02:27:17 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShH9z-00013Y-VA for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 09:25:12 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ShH9l-0000uk-ME for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 09:24:57 +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 1ShH9e-0005RM-JZ for ietf-http-wg@w3.org; Wed, 20 Jun 2012 09:24:56 +0000
Received: (qmail invoked by alias); 20 Jun 2012 09:24:24 -0000
Received: from p54BB341D.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.52.29] by mail.gmx.net (mp002) with SMTP; 20 Jun 2012 11:24:24 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/mn+paR6PmawC8ohhL1iwQnp+kGWYEJbO/g8JuYY mffJQLnTwD4XeT
Message-ID: <4FE196BF.3020909@gmx.de>
Date: Wed, 20 Jun 2012 11:24:15 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Yutaka OIWA <y.oiwa@aist.go.jp>
CC: Mark Nottingham <mnot@mnot.net>, Amos Jeffries <squid3@treenet.co.nz>,  ietf-http-wg@w3.org
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com>
In-Reply-To: <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@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=-1.9
X-W3C-Hub-Spam-Report: 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 1ShH9e-0005RM-JZ 58a20e491c7977cebdc231615a5f9462
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/4FE196BF.3020909@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13842
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShH9z-00013Y-VA@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 09:25:11 +0000

On 2012-06-20 10:36, Yutaka OIWA wrote:
> Dear Amos and Mark,
>
>> A server receiving credentials that are valid, but not adequate to gain access, ought to respond with the 403 (Forbidden) status code.
>
> I have a different understanding on the use of 401/403 statuses.
> At least on current implementations (e.g. Apache),
> auth-succeed and authz-failed status will be represented by
> 401-status instead of 403.
> 403 status is used, for example, when the content is
> not accessible by underlying filesystem permissions,
> or by server configuration for denying directory listing.
>
> I think this (use 401 instead of 403) should be kept for two reasons:
>
>   * Without 401 status, client will not know that changing
>      the user name and the password will solve the
>      inaccessibility issue.

Sorry?

"The server understood the request, but refuses to authorize it. 
Providing different user authentication credentials might be successful, 
but any credentials that were provided in the request are insufficient. 
The request SHOULD NOT be repeated with the same credentials." - 
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-19.html#rfc.section.7.4.3>

 > ...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 03:10: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 E95C121F8700 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 03:10:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.31
X-Spam-Level: 
X-Spam-Status: No, score=-9.31 tagged_above=-999 required=5 tests=[AWL=0.667, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kRX7X1KEI5mx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 03:10:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8DB2221F8674 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 03:10:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShHqv-0002sN-CK for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 10:09:33 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <y.oiwa@aist.go.jp>) id 1ShHqg-0002oT-UA for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 10:09:18 +0000
Received: from na3sys010aog109.obsmtp.com ([74.125.245.86]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1ShHqZ-0006oY-Ft for ietf-http-wg@w3.org; Wed, 20 Jun 2012 10:09:17 +0000
Received: from mail-gh0-f173.google.com ([209.85.160.173]) (using TLSv1) by na3sys010aob109.postini.com ([74.125.244.12]) with SMTP ID DSNKT+GhMDZyHiI+W3ZBYAc9aefuwQ6QMKSw@postini.com; Wed, 20 Jun 2012 03:09:11 PDT
Received: by ghrr14 with SMTP id r14so5952563ghr.4 for <ietf-http-wg@w3.org>; Wed, 20 Jun 2012 03:08:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=UVEUvGQ2pVk2g295WxVxeuGgXL+u8qEVCtm49lQeZVU=; b=QsZUeG7uXCO2JsqUMw3nkRBXknoQUafjUWDI1/yCXkO6Anr9PDVAZRpdJCdf0Mdyc1 qxyoed82WEQt65ryh9tXCQYwvFhakW+2tiKMvnQF/W85kbgIwTs24xqGhOs7BsxjIq2L oHPzZhdiEIZYQEwhF/SxhRGiamAzOPOBAovRs=
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:content-transfer-encoding:x-gm-message-state; bh=UVEUvGQ2pVk2g295WxVxeuGgXL+u8qEVCtm49lQeZVU=; b=axzMjR1Q/+VDe7TKTkjK+yew7fk45H8wGSeux/19eqFr+AfOVlC/9cD6+n1Q/tOvwM /+SIrRJhbpWWHpMNwIKlbgbNIBnL3+dDpNsqjtcjSFl4X60ropaZZb2KehuWIgV8ty2i Nev2Zq2vpmLg/Pvdswx2yInbLHx0OA82fRc19lCsftbPp5LSjU7yRUx8KD8ACPEM55Xp 4TM0NiAW1FxEEguyn4/jMZA4yfQcb5zBh8AmM/oicTMn5qt7YqUCv8zIP6iz/cReKSdF AkxTpyzoOJysdfXkjH4iKvXtmntsrEhgSOFhB/bnNv27DodnZEtQevj93HdzGHmP29Me hd0Q==
Received: by 10.50.140.70 with SMTP id re6mr3970849igb.23.1340186927976; Wed, 20 Jun 2012 03:08:47 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Wed, 20 Jun 2012 03:08:26 -0700 (PDT)
In-Reply-To: <4FE196BF.3020909@gmx.de>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com> <4FE196BF.3020909@gmx.de>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Wed, 20 Jun 2012 19:08:26 +0900
Message-ID: <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQkq11vfNn90317CKgQpOK0ZY1WIxfSRU3HZSx1nvMzeQ5pJV3eFrrOmER+r63f0D2Ey7fCv
Received-SPF: pass client-ip=74.125.245.86; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog109.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1ShHqZ-0006oY-Ft 503d5d7e9c496861e47ae95b1a3e5285
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13843
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShHqv-0002sN-CK@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 10:09:33 +0000

Dear Julian,

2012/6/20 Julian Reschke <julian.reschke@gmx.de>:
>> I think this (use 401 instead of 403) should be kept for two reasons:
>>
>> =A0* Without 401 status, client will not know that changing
>> =A0 =A0 the user name and the password will solve the
>> =A0 =A0 inaccessibility issue.
>
>
> Sorry?
>
> "The server understood the request, but refuses to authorize it. Providin=
g
> different user authentication credentials might be successful, but any
> credentials that were provided in the request are insufficient. The reque=
st
> SHOULD NOT be repeated with the same credentials." -
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-19.html=
#rfc.section.7.4.3>

I see.  I noticed now that this was changed incompatibly from RFC 2616.
Thank you for telling me.

Now I have a concern with the text for 403 status for two reasons,
 * any recovery from failed authorization (with successful authentication)
   is completely out of the protocol's provision, and
 * the new definition is intentionally breaking existing server implementat=
ions.
But it these are under clear consensus and intention,
it's OK for me (but sure?).  Mark, can I ask how do you think?

# With the older semantics to use 401 for authz-failure,
# failed authorization was recoverable
# (although in somewhat uncomfortable way).

Accepting the above consequences, the Mark's text is making sense.
However, we will not able to define 403 to be "one of the
authentication-related states" as an original proposal, because
403 already has several other use cases which is directly conflicting.
# More specifically, clients could not assume that 403 has
# any meaning for authentication-related status.

Don't we need (do we have a clear way, or do we need to define how)
to distinguish failed authz from other generic access privilege failures?

# For example, is "403 response with WWW-Authenticate: header,
# as a response for request with Authorization: header"
# restrictive enough for defining such a status?

--=20
Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliability =
Research Group
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Institu=
te for Secure Systems (RISEC)
=A0 =A0National Institute of Advanced Industrial Science and Technology (AI=
ST)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.go.=
jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 46=
B5]


From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 03:26: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 38A2E21F8704 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 03:26:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.221
X-Spam-Level: 
X-Spam-Status: No, score=-10.221 tagged_above=-999 required=5 tests=[AWL=0.378, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SqxyEn5291R9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 03:26:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1431821F8705 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 03:26:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShI65-0006Qr-HN for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 10:25:13 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShI5s-0006PL-72 for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 10:25:00 +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 1ShI5o-0007IN-V3 for ietf-http-wg@w3.org; Wed, 20 Jun 2012 10:24:58 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id CA7B850A5D; Wed, 20 Jun 2012 06:24:33 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com>
Date: Wed, 20 Jun 2012 20:24:30 +1000
Cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <84CB9224-50A6-4BF5-8791-203375D787A2@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com> <4FE196BF.3020909@gmx.de> <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1ShI5o-0007IN-V3 4e0d9f7abc5dec411812935f5da8eed0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/84CB9224-50A6-4BF5-8791-203375D787A2@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13844
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShI65-0006Qr-HN@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 10:25:13 +0000

On 20/06/2012, at 8:08 PM, Yutaka OIWA wrote:

> Dear Julian,
>=20
> 2012/6/20 Julian Reschke <julian.reschke@gmx.de>:
>>> I think this (use 401 instead of 403) should be kept for two =
reasons:
>>>=20
>>>  * Without 401 status, client will not know that changing
>>>     the user name and the password will solve the
>>>     inaccessibility issue.
>>=20
>>=20
>> Sorry?
>>=20
>> "The server understood the request, but refuses to authorize it. =
Providing
>> different user authentication credentials might be successful, but =
any
>> credentials that were provided in the request are insufficient. The =
request
>> SHOULD NOT be repeated with the same credentials." -
>> =
<http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-19.html#=
rfc.section.7.4.3>
>=20
> I see.  I noticed now that this was changed incompatibly from RFC =
2616.
> Thank you for telling me.
>=20
> Now I have a concern with the text for 403 status for two reasons,
> * any recovery from failed authorization (with successful =
authentication)
>   is completely out of the protocol's provision, and

The client is still able to submit a new request with different =
credentials (or no credentials, if it needs a new challenge).

> * the new definition is intentionally breaking existing server =
implementations.
> But it these are under clear consensus and intention,

It doesn't make them non-conformant; they can still choose to use those =
status codes in the manner they are.

> it's OK for me (but sure?).  Mark, can I ask how do you think?

See:
  http://trac.tools.ietf.org/wg/httpbis/trac/ticket/294

Cheers,

>=20
> # With the older semantics to use 401 for authz-failure,
> # failed authorization was recoverable
> # (although in somewhat uncomfortable way).
>=20
> Accepting the above consequences, the Mark's text is making sense.
> However, we will not able to define 403 to be "one of the
> authentication-related states" as an original proposal, because
> 403 already has several other use cases which is directly conflicting.
> # More specifically, clients could not assume that 403 has
> # any meaning for authentication-related status.
>=20
> Don't we need (do we have a clear way, or do we need to define how)
> to distinguish failed authz from other generic access privilege =
failures?
>=20
> # For example, is "403 response with WWW-Authenticate: header,
> # as a response for request with Authorization: header"
> # restrictive enough for defining such a status?
>=20
> --=20
> Yutaka OIWA, Ph.D.              Leader, Software Reliability Research =
Group
>                              Research Institute for Secure Systems =
(RISEC)
>    National Institute of Advanced Industrial Science and Technology =
(AIST)
>                      Mail addresses: <y.oiwa@aist.go.jp>, =
<yutaka@oiwa.jp>
> OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D  3139 8677 9BD2 4405 =
46B5]

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 03:32: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 98D1421F8705 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 03:32:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.191
X-Spam-Level: 
X-Spam-Status: No, score=-9.191 tagged_above=-999 required=5 tests=[AWL=1.408, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MEtA7+NnOzv0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 03:32:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DAE0B21F863E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 03:32:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShIBR-0000Rr-0o for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 10:30:45 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ShIBF-0000QW-SD for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 10:30:33 +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 1ShIB6-0007Sb-3H for ietf-http-wg@w3.org; Wed, 20 Jun 2012 10:30:32 +0000
Received: (qmail invoked by alias); 20 Jun 2012 10:29:57 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp030) with SMTP; 20 Jun 2012 12:29:57 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+iFxsVCMyid7IIdmcI6JjS/evBX7Bz3zkPFJutgr zqS6hYANiUaqor
Message-ID: <4FE1A621.2050501@gmx.de>
Date: Wed, 20 Jun 2012 12:29:53 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Yutaka OIWA <y.oiwa@aist.go.jp>
CC: Mark Nottingham <mnot@mnot.net>, Amos Jeffries <squid3@treenet.co.nz>,  ietf-http-wg@w3.org
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com> <4FE196BF.3020909@gmx.de> <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com>
In-Reply-To: <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@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=-1.9
X-W3C-Hub-Spam-Report: 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 1ShIB6-0007Sb-3H 8fd43571cd63655d753b8f4dc9d61a56
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/4FE1A621.2050501@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13845
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShIBR-0000Rr-0o@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 10:30:45 +0000

On 2012-06-20 12:08, Yutaka OIWA wrote:
> Dear Julian,
>
> 2012/6/20 Julian Reschke <julian.reschke@gmx.de>:
>>> I think this (use 401 instead of 403) should be kept for two reasons:
>>>
>>>   * Without 401 status, client will not know that changing
>>>      the user name and the password will solve the
>>>      inaccessibility issue.
>>
>>
>> Sorry?
>>
>> "The server understood the request, but refuses to authorize it. Providing
>> different user authentication credentials might be successful, but any
>> credentials that were provided in the request are insufficient. The request
>> SHOULD NOT be repeated with the same credentials." -
>> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p2-semantics-19.html#rfc.section.7.4.3>
>
> I see.  I noticed now that this was changed incompatibly from RFC 2616.
> Thank you for telling me.

Context: <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/294>

> Now I have a concern with the text for 403 status for two reasons,
>   * any recovery from failed authorization (with successful authentication)
>     is completely out of the protocol's provision, and
>   * the new definition is intentionally breaking existing server implementations.

How so? Example?

> ...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 03:40: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 5746B21F8711 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 03:40:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.406
X-Spam-Level: 
X-Spam-Status: No, score=-9.406 tagged_above=-999 required=5 tests=[AWL=0.571, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8JIKfjelIFu2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 03:40:14 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6C2F421F8710 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 03:40:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShIJB-0001KO-NG for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 10:38:45 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <y.oiwa@aist.go.jp>) id 1ShIJ0-0001Il-2p for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 10:38:34 +0000
Received: from na3sys010aog102.obsmtp.com ([74.125.245.72]) by lisa.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1ShIIs-0000EL-Dr for ietf-http-wg@w3.org; Wed, 20 Jun 2012 10:38:32 +0000
Received: from mail-gh0-f176.google.com ([209.85.160.176]) (using TLSv1) by na3sys010aob102.postini.com ([74.125.244.12]) with SMTP ID DSNKT+GoDIUfXASSH+yKC2PcHzCvGLow/QAr@postini.com; Wed, 20 Jun 2012 03:38:26 PDT
Received: by ghbz10 with SMTP id z10so5791080ghb.7 for <ietf-http-wg@w3.org>; Wed, 20 Jun 2012 03:38:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=XidoaS/I5wQy9G2L7e1ilMJS5AoMC3ebqf9If/CHu4g=; b=PvY/2EsAhn3+v5MjqVwJUKvOU7eU6iPhKTICyzVVahBJIEI98BjAfQr5kCWvucg3b1 fcvy/3rz8moyxWEHDZ8phcbr0O3sNeYOZaB0tPuoOysko8FpOm98oDZq1x0Yb+LWbmNt YIAVJGS1t4H2GkKsBIH3XzhPd1kWiSfgS+OFI=
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:content-transfer-encoding:x-gm-message-state; bh=XidoaS/I5wQy9G2L7e1ilMJS5AoMC3ebqf9If/CHu4g=; b=N84L6Jh2EZewM/146CXWQ6MG01qIUQNuBCt21KMXog8MoDpz2SE0iZUvRpjx7VJQjP y6v4JWBQnXSZT75tyCFc8RrXd3hCjNBcLdcmZR66ZS/AX8p1WmP6huMyOdBIe/BS6xHP ZJ8MHt2n+7ozZGtw+vc0ebU5MUO8nCWo7igYS5sSSnqhp/N53J7YjRflQKTvKjmWctsr 1BGu5z9zRxr0nZxifHWqC2pxCvW/J7jwCidr2Q0dQYRlSlLXjpEuTMBH+EkGmPCgTGdb GR922mgK/GTXvVxfKPtnNJ0QlWeO2pm+50uOs4Ghw3nJVGSkT6r+H4QjnP3tDePbKYvt /pvA==
Received: by 10.50.202.102 with SMTP id kh6mr3975663igc.69.1340188683876; Wed, 20 Jun 2012 03:38:03 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Wed, 20 Jun 2012 03:37:43 -0700 (PDT)
In-Reply-To: <84CB9224-50A6-4BF5-8791-203375D787A2@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com> <4FE196BF.3020909@gmx.de> <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com> <84CB9224-50A6-4BF5-8791-203375D787A2@mnot.net>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Wed, 20 Jun 2012 19:37:43 +0900
Message-ID: <CAMeZVws4H_WxPqL9f4+s=BvGLTN4hF9X5TeBPp3sxH+Ga0mm4w@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQmIIPNpndjSlwD95AiSMNmn3IExuMTR040XaVowCVLt6nDfksrNLbsuUwS0f7SFmmxiK7SO
Received-SPF: pass client-ip=74.125.245.72; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog102.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1ShIIs-0000EL-Dr ae771f3dbe6c08898bb7d617b9f126df
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/CAMeZVws4H_WxPqL9f4+s=BvGLTN4hF9X5TeBPp3sxH+Ga0mm4w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13846
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShIJB-0001KO-NG@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 10:38:45 +0000

Thank you Mark,

2012/6/20 Mark Nottingham <mnot@mnot.net>:
>> Now I have a concern with the text for 403 status for two reasons,
>> * any recovery from failed authorization (with successful authentication=
)
>> =A0 is completely out of the protocol's provision, and
>
> The client is still able to submit a new request with different credentia=
ls (or no credentials, if it needs a new challenge).

My point was "the client will not have a way to know about
that possibility on the protocol level, as compared with 401-based solution=
".
I agree that if the client knows it in some way, they can do as you mention=
ed.

>> * the new definition is intentionally breaking existing server implement=
ations.
>> But it these are under clear consensus and intention,
>
> It doesn't make them non-conformant; they can still choose to use those s=
tatus codes in the manner they are.

The current implementations including Apache Basic/Digest auth
are not compatible with the proposed text

> A server receiving credentials that are valid, but not adequate to gain a=
ccess, ought to respond with the 403 (Forbidden) status code.

as they currently use 401 status for that meaning.
Although it is not "MUST" nor "SHOULD",
they are still somewhat "against" the new specifications.
If we say they are compliant,
is there any good way to describe both possibilities and
the preference for future implementations?

--=20
Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliability =
Research Group
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Institu=
te for Secure Systems (RISEC)
=A0 =A0National Institute of Advanced Industrial Science and Technology (AI=
ST)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.go.=
jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 46=
B5]


From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 03:50: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 7391521F861C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 03:50:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.477
X-Spam-Level: 
X-Spam-Status: No, score=-9.477 tagged_above=-999 required=5 tests=[AWL=0.500, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xyhmn1Od+flt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 03:50:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 890B521F872A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 03:50:26 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShITM-0003s3-7a for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 10:49:16 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <y.oiwa@aist.go.jp>) id 1ShIT9-0003r1-Ns for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 10:49:03 +0000
Received: from na3sys010aog103.obsmtp.com ([74.125.245.74]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1ShIT6-0008GL-LF for ietf-http-wg@w3.org; Wed, 20 Jun 2012 10:49:01 +0000
Received: from mail-gh0-f172.google.com ([209.85.160.172]) (using TLSv1) by na3sys010aob103.postini.com ([74.125.244.12]) with SMTP ID DSNKT+Gqh5TpHyNmz8+QXsyLQzXtNgoVq4vq@postini.com; Wed, 20 Jun 2012 03:49:00 PDT
Received: by ghbg16 with SMTP id g16so6774531ghb.17 for <ietf-http-wg@w3.org>; Wed, 20 Jun 2012 03:48:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=vhHKLMCJerEIhsZ1A+8PEG2HmLV9zaDiyeW28Xbhiv4=; b=D7C99vmifJrtkTleCf9w6UnBGkfQyl2wz77j9LQrcckrfrteGSVoB0RQhgGxPBIUM+ 3AJKY7xdXEit8aQ93CGAKeGLP0feYZ4gBasv6HJ+M9hIWzKjeGWeY3LEvNci4J9hXoxA cCliUiMZc8gPPSa5kAvD9Aap0iSWaUqNNWllA=
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:content-transfer-encoding:x-gm-message-state; bh=vhHKLMCJerEIhsZ1A+8PEG2HmLV9zaDiyeW28Xbhiv4=; b=Xe9oYGZfK7UymBxOcMsIS846Ic4Runnp8QLvmeob7JAkVAZA5TAgtfQ08zI8EeSIBL zaUjp/lpovXJgrsYvS/QiVEpxnYd3m4ja5CSEZuEPskwVXZVhbsCVqodEqdS1xHFpG8V tqfEwJ+13/t+9jrq+6vaADyQLVxTPeS47Pkf63T88DkdT5ObaFjV5VY72gcz6M0U5yYZ 7K1huSlGbBF/ZhFFxolyZr6RWlOHYLfINNuL2+OMCyR/5DqhRygYazOEbgh5IBb5IvWe aEDgIP5NZxewueV12BwCdi3YgCzCFioyrTpK0B6BXhkX+fkGoXqZRq5baiNzvZMLtqhp MiBA==
Received: by 10.50.161.198 with SMTP id xu6mr4001931igb.69.1340189318234; Wed, 20 Jun 2012 03:48:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Wed, 20 Jun 2012 03:48:18 -0700 (PDT)
In-Reply-To: <4FE1A621.2050501@gmx.de>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com> <4FE196BF.3020909@gmx.de> <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com> <4FE1A621.2050501@gmx.de>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Wed, 20 Jun 2012 19:48:18 +0900
Message-ID: <CAMeZVwszPzqHu29nt02FF7dbVVmQ21M2Zrwo46ZH=sL51sMACQ@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Mark Nottingham <mnot@mnot.net>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQkmSzPOI9vFmIpYsGw8KTO19SkuLVmnQewMMks7gLKimINYZPFZ2yZB27+ogvPizm9XztA6
Received-SPF: pass client-ip=74.125.245.74; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog103.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1ShIT6-0008GL-LF 1137f3cd5117e59d35cb43876236f8a1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/CAMeZVwszPzqHu29nt02FF7dbVVmQ21M2Zrwo46ZH=sL51sMACQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13847
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShITM-0003s3-7a@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 10:49:16 +0000

Thank you,

2012/6/20 Julian Reschke <julian.reschke@gmx.de>:
>> I see. =A0I noticed now that this was changed incompatibly from RFC 2616=
.
>> Thank you for telling me.

> Context: <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/294>

Thanks. I've been late for entering this discussion
as I did not noticed that the title was related to authentication issues.

# I still *personally* prefer the RFC 2616 design :-)

>> Now I have a concern with the text for 403 status for two reasons,
>> =A0* any recovery from failed authorization (with successful authenticat=
ion)
>> =A0 =A0is completely out of the protocol's provision, and
>> =A0* the new definition is intentionally breaking existing server
>> implementations.
>
>
> How so? Example?

The above URL have a link to the page saying IIS use 401 status
for that case, and so is Apache.
We may say the 403 text alone is not breaking existing implementations
(in the way that they say nothing about 401), but the amendment text
currently proposed is conflicting with existing implementations.

My current feeling after this thread of discussions is to honor both 401 an=
d 403
as desired responses with authz-failure, possibly with preference for 403 f=
or
future implementations (if we want).

# I would be updating my drafts if such preference is clearly defined.

--=20
Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliability =
Research Group
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Institu=
te for Secure Systems (RISEC)
=A0 =A0National Institute of Advanced Industrial Science and Technology (AI=
ST)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.go.=
jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 46=
B5]


From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 04:01: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 E4B4721F843A for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 04:01:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.233
X-Spam-Level: 
X-Spam-Status: No, score=-10.233 tagged_above=-999 required=5 tests=[AWL=0.366, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YIGHgDAq+j+c for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 04:01:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 057B021F874C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 04:01:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShIej-0007nF-0E for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 11:01:01 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShIeX-0007PM-1Z for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 11:00:49 +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 1ShIeL-0000BL-U5 for ietf-http-wg@w3.org; Wed, 20 Jun 2012 11:00:47 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id AAD4050A64; Wed, 20 Jun 2012 07:00:14 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAMeZVwszPzqHu29nt02FF7dbVVmQ21M2Zrwo46ZH=sL51sMACQ@mail.gmail.com>
Date: Wed, 20 Jun 2012 21:00:11 +1000
Cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <4654B441-2D30-4BC1-929D-734D504BFDA1@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com> <4FE196BF.3020909@gmx.de> <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com> <4FE1A621.2050501@gmx.de> <CAMeZVwszPzqHu29nt02FF7dbVVmQ21M2Zrwo46ZH=sL51sMACQ@mail.gmail.com>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1ShIeL-0000BL-U5 dcf119ee3652c82cbb68a0adeb5bb064
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/4654B441-2D30-4BC1-929D-734D504BFDA1@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13848
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShIej-0007nF-0E@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 11:01:01 +0000

On 20/06/2012, at 8:48 PM, Yutaka OIWA wrote:

> My current feeling after this thread of discussions is to honor both =
401 and 403
> as desired responses with authz-failure, possibly with preference for =
403 for
> future implementations (if we want).

That's effectively where we are; note that there aren't any RFC2119 =
conformance requirements placed around this.

Cheers,

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 04:33: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 BCA9F21F8700 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 04:33:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.533
X-Spam-Level: 
X-Spam-Status: No, score=-9.533 tagged_above=-999 required=5 tests=[AWL=0.444, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9eSkCsustbS9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 04:33:55 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D9D1921F86FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 04:33:54 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShJ8i-000820-PQ for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 11:32:00 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <y.oiwa@aist.go.jp>) id 1ShJ8V-000804-2Q for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 11:31:47 +0000
Received: from na3sys010aog113.obsmtp.com ([74.125.245.94]) by maggie.w3.org with smtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <y.oiwa@aist.go.jp>) id 1ShJ8S-0001FE-2n for ietf-http-wg@w3.org; Wed, 20 Jun 2012 11:31:45 +0000
Received: from mail-yw0-f51.google.com ([209.85.213.51]) (using TLSv1) by na3sys010aob113.postini.com ([74.125.244.12]) with SMTP ID DSNKT+G0irztx084nUmrt3A2Pa3w+Y7126xY@postini.com; Wed, 20 Jun 2012 04:31:44 PDT
Received: by yhnn12 with SMTP id n12so5009120yhn.10 for <ietf-http-wg@w3.org>; Wed, 20 Jun 2012 04:31:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aist.go.jp; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=oVwmMujLZO1WO3/LVBf4zB13Y6LffdQDS7Ug/fVdI4w=; b=aHh//bfkQm2/cRy2ruTbhShIieY1E8vfZ0m3WqF17jEt7IEAkMAE3Pu/knBSO86ylX x6yD6rS+Jkqigj1N9i2vq9d2o4o/qqLQ35ewfjKWLqdVkEQ4Eew4O8AMUXUJyIwfz2GZ v/mSylAyRpXvfPT81kOMrxo1Clb1Ete1ZyrLU=
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:content-transfer-encoding:x-gm-message-state; bh=oVwmMujLZO1WO3/LVBf4zB13Y6LffdQDS7Ug/fVdI4w=; b=faRdE8LXaPBNJsnborjCbjeSdZLuhKeaKUUnsVuSbl1qsRECdIkZORqsOnj7/+S2u8 PoiQPJ2sP2go9K71iP9YrNOwMrF6TAfTA3p0r9eJ9HJCZiKem2dhYdu+VUWgGnrAzm/O Uy2CfHcOcJPGQpZPzaNGjpZSwr0tNpV8p3/5wIsmLzg1XyvbC2MJhkZGG04UEd4OoEiq bcPCDgYioqD4otk3VPCuFVMW4Aci8gRNKl3KWHS7nOvoWzBmbozOJDt+Th+BorFsz/Zl gSMJ7G/N0cddZjE6mCR5d4bo4M7q8Kgb+OmoXlGHN9Gl1OWDLG+5H+oNw2R/MPUamOy2 +1iw==
Received: by 10.42.189.73 with SMTP id dd9mr10326873icb.49.1340191881357; Wed, 20 Jun 2012 04:31:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.140.2 with HTTP; Wed, 20 Jun 2012 04:31:01 -0700 (PDT)
In-Reply-To: <4654B441-2D30-4BC1-929D-734D504BFDA1@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com> <4FE196BF.3020909@gmx.de> <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com> <4FE1A621.2050501@gmx.de> <CAMeZVwszPzqHu29nt02FF7dbVVmQ21M2Zrwo46ZH=sL51sMACQ@mail.gmail.com> <4654B441-2D30-4BC1-929D-734D504BFDA1@mnot.net>
From: Yutaka OIWA <y.oiwa@aist.go.jp>
Date: Wed, 20 Jun 2012 20:31:01 +0900
Message-ID: <CAMeZVwvodaPXH1iyMstuhQP1zxtoHiXe+C2FU8Yzz=RetN9b3w@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Gm-Message-State: ALoCoQnMXfI+ZGg1E3Af2VKBqf9MHtUB1N1FmG2j0MABV+2E7Vr4278PXDsTvA3NUI6x8WncPyXP
Received-SPF: pass client-ip=74.125.245.94; envelope-from=y.oiwa@aist.go.jp; helo=na3sys010aog113.obsmtp.com
X-W3C-Hub-Spam-Status: No, score=-4.3
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_MED=-2.3, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1ShJ8S-0001FE-2n 32758bcc63b13473d93248dddd8ebaff
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/CAMeZVwvodaPXH1iyMstuhQP1zxtoHiXe+C2FU8Yzz=RetN9b3w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13849
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShJ8i-000820-PQ@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 11:32:00 +0000

Dear Mark,

2012/6/20 Mark Nottingham <mnot@mnot.net>:

> That's effectively where we are; note that there aren't any RFC2119 confo=
rmance requirements placed around this.

I prefer to be explicit that use of 403 is just a preference
and is not RFC2119 nor other "requirements".
"Ought-to" sounds to be louder than RECOMMENDED, as a natural language.
# correct me if I have an English problem.


P.S. ("Intended Status: Informational")

I'd like to append that, (although I prefer 401 approach as default,)
allowing 403 for authz-failure *is* a good thing for deployability.

HTTP Authentication and authorization are implemented in
various software layers, depending on each software's own design.
If both of them are implemented in the same software layer
(both within Web servers, or both within applications),
there are no problem.   However, if auth is in the Web server,
and if authz in the application logic, it is hard to send
a valid 401 response to the client when
the used authentication scheme is more complex than Basic.
Allowing 403 (or empty 401, alternatively) will solve this problem.

In reality, we have experienced implementation difficulty
exactly in this case for proposed Mutual authentication.
It is because Apache web server has separate sub-layers for
auth and authz, and the same problem arised.
Until version 2.2, Basic and Digest
were hard-coded for error handling in the authz layer.
In the current 2.4 series of Apache, it is fixed by adding
an additional API in the auth layer.


--=20
Yutaka OIWA, Ph.D. =A0 =A0 =A0 =A0 =A0 =A0 =A0Leader, Software Reliability =
Research Group
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Research Institu=
te for Secure Systems (RISEC)
=A0 =A0National Institute of Advanced Industrial Science and Technology (AI=
ST)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Mail addresses: <y.oiwa@aist.go.=
jp>, <yutaka@oiwa.jp>
OpenPGP: id[440546B5] fp[7C9F 723A 7559 3246 229D =A03139 8677 9BD2 4405 46=
B5]


From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 10:25: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 1A6A021F8700 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 10:25:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.926
X-Spam-Level: 
X-Spam-Status: No, score=-8.926 tagged_above=-999 required=5 tests=[AWL=1.673, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rV6i7NUzMGfv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 10:25:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2498E21F8704 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 10:25:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShOds-0005pI-Ow for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 17:24:32 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ShOda-0005jf-0F for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 17:24:14 +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 1ShOdX-0006mH-5x for ietf-http-wg@w3.org; Wed, 20 Jun 2012 17:24:12 +0000
Received: (qmail invoked by alias); 20 Jun 2012 17:23:41 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp016) with SMTP; 20 Jun 2012 19:23:41 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX181yGhtYHs1GOBHDYsrIOpn41ip0Uoxxeh/tUMPWh eD70/MJKMsx3AX
Message-ID: <4FE20715.4060407@gmx.de>
Date: Wed, 20 Jun 2012 19:23:33 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <4FE01814.1050807@gmx.de> <A55793B2-973E-47F7-BC49-9BF20CBA2CB8@mnot.net> <4FE030D9.1010709@gmx.de> <3263FF21-1039-4B8D-9F54-7DE725D7E22A@mnot.net>
In-Reply-To: <3263FF21-1039-4B8D-9F54-7DE725D7E22A@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=-1.9
X-W3C-Hub-Spam-Report: 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 1ShOdX-0006mH-5x 9aab4ff00fdb51bf5ecc27d49d53094c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #361: ABNF requirements for recipients [was: #307 untangle Cache-Control  ABNF]
Archived-At: <http://www.w3.org/mid/4FE20715.4060407@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13850
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShOds-0005pI-Ow@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 17:24:32 +0000

On 2012-06-19 10:10, Mark Nottingham wrote:
>
> On 19/06/2012, at 5:57 PM, Julian Reschke wrote:
>
>> So, for consistency, we should insert:
>>
>> "Recipients MUST accept all protocol elements matching the ABNF rules defined for them."
>
> "accept" is ambiguous here. "Be able to parse" is more specific, I think.
>
>> Maybe we need "Unless otherwise noted" because of some special cases for "obs-*".
>
> yes.

Proposed change:

339,347c339,349
<  Unless noted otherwise, Recipients MAY take steps to recover a usable
<  protocol element from an invalid construct.  However, HTTP does not
<  define specific error handling mechanisms, except in cases where it
<  has direct impact on security.  This is because different uses of the
<  protocol require different error handling strategies; for example, a
<  Web browser may wish to transparently recover from a response where
<  the Location header field doesn't parse according to the ABNF,
<  whereby in a systems control protocol using HTTP, this type of error
<  recovery could lead to dangerous consequences.
---
 >  Unless noted otherwise, Recipients MUST be able to parse all protocol
 >  elements matching the ABNF rules defined for them and MAY take steps
 >  to recover a usable protocol element from an invalid construct.
 >  However, HTTP does not define specific error handling mechanisms,
 >  except in cases where it has direct impact on security.  This is
 >  because different uses of the protocol require different error
 >  handling strategies; for example, a Web browser may wish to
 >  transparently recover from a response where the Location header field
 >  doesn't parse according to the ABNF, whereby in a systems control
 >  protocol using HTTP, this type of error recovery could lead to
 >  dangerous consequences.

(Change is just in the first sentence)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 11:03: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 99C4121F8724 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 11:03:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hJ-vO3hCpN6C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 11:03:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1373321F8742 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 11:03:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShPE5-0007Y7-Vh for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 18:01:58 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dwm@xpasc.com>) id 1ShPDp-0007X8-Im for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 18:01:41 +0000
Received: from c2w3p-2.abacamail.com ([209.133.53.32]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <dwm@xpasc.com>) id 1ShPDn-0008Ma-12 for ietf-http-wg@w3.org; Wed, 20 Jun 2012 18:01:39 +0000
Received: from xpasc.com (unknown [68.164.244.188]) by c2w3p-2.abacamail.com (Postfix) with ESMTP id D35323FBE7 for <ietf-http-wg@w3.org>; Wed, 20 Jun 2012 18:01:11 +0000 (UTC)
Received: from egate.xpasc.com (egate.xpasc.com [10.1.2.49]) by xpasc.com (8.13.8/8.13.8) with ESMTP id q5KI1BXU030092 for <ietf-http-wg@w3.org>; Wed, 20 Jun 2012 11:01:11 -0700
Date: Wed, 20 Jun 2012 11:01:11 -0700 (PDT)
From: David Morris <dwm@xpasc.com>
Reply-To: "'HTTP Working Group'" <ietf-http-wg@w3.org>
To: "'HTTP Working Group'" <ietf-http-wg@w3.org>
In-Reply-To: <4FE186CF.6010009@gmx.de>
Message-ID: <alpine.LRH.2.01.1206201059040.29960@egate.xpasc.com>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <4FE186CF.6010009@gmx.de>
User-Agent: Alpine 2.01 (LRH 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-AV-Type: clean
X-AV-Accuracy: exact
X-Milter-Version: master.24-gef8a08a
X-CLX-ID: a110AD3GD7Hu1vr-5K1101B
X-CLX-Spam: false
Received-SPF: pass client-ip=209.133.53.32; envelope-from=dwm@xpasc.com; helo=c2w3p-2.abacamail.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 1ShPDn-0008Ma-12 4e7ef78baccbb1275f6b19b03b1c0303
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/alpine.LRH.2.01.1206201059040.29960@egate.xpasc.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13851
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShPE5-0007Y7-Vh@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 18:01:57 +0000

On Wed, 20 Jun 2012, Julian Reschke wrote:

> On 2012-06-20 06:11, Mark Nottingham wrote:
> > 

> > How about, after those two paragraphs:
> > 
> > """
> > A server receiving credentials that are valid, but not adequate to gain
> > access, ought to respond with the 403 (Forbidden) status code.
> > """

Seems to me that 'ought to' should either be 'SHOULD' or 'MAY'?


From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 11:16: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 4701621F8631 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 11:16:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.993
X-Spam-Level: 
X-Spam-Status: No, score=-8.993 tagged_above=-999 required=5 tests=[AWL=1.606, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sz9PQhW0Jd+9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 11:16:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AAC5E21F8627 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 11:16:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShPRg-0002O1-LZ for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 18:16:00 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ShPRT-0002Ho-GN for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 18:15:47 +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 1ShPRQ-0000KU-HP for ietf-http-wg@w3.org; Wed, 20 Jun 2012 18:15:45 +0000
Received: (qmail invoked by alias); 20 Jun 2012 18:15:18 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp020) with SMTP; 20 Jun 2012 20:15:18 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19VQQ1uDWVViXyR7KKtMmGaDZgbZmqLiaY/x/+fhs xP4uuJycvxIn4u
Message-ID: <4FE2132F.5090507@gmx.de>
Date: Wed, 20 Jun 2012 20:15:11 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: 'HTTP Working Group' <ietf-http-wg@w3.org>
CC: David Morris <dwm@xpasc.com>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <4FE186CF.6010009@gmx.de> <alpine.LRH.2.01.1206201059040.29960@egate.xpasc.com>
In-Reply-To: <alpine.LRH.2.01.1206201059040.29960@egate.xpasc.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=-1.9
X-W3C-Hub-Spam-Report: 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 1ShPRQ-0000KU-HP afd67d8cdfe0c1194b90fb5bd786114a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/4FE2132F.5090507@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13852
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShPRg-0002O1-LZ@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 18:16:00 +0000

On 2012-06-20 20:01, David Morris wrote:
>
>
> On Wed, 20 Jun 2012, Julian Reschke wrote:
>
>> On 2012-06-20 06:11, Mark Nottingham wrote:
>>>
>
>>> How about, after those two paragraphs:
>>>
>>> """
>>> A server receiving credentials that are valid, but not adequate to gain
>>> access, ought to respond with the 403 (Forbidden) status code.
>>> """
>
> Seems to me that 'ought to' should either be 'SHOULD' or 'MAY'?

"MAY" isn't helping at all. "SHOULD" would make those who do not do this 
non-compliant. Do we want to do that? (note it would conflict with the 
"If the server does not wish to make this information available to the 
client, the status code 404 (Not Found) MAY be used instead." that we 
have in the definition of 403).

Best regards, Julian



From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 16:58: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 9AD2C11E808C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 16:58:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.243
X-Spam-Level: 
X-Spam-Status: No, score=-10.243 tagged_above=-999 required=5 tests=[AWL=0.356, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IO0vDJJCzTRt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 16:58:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id AECD111E80A5 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 16:58:47 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShUkz-0001v7-SR for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 23:56:17 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShUkj-0001tA-HY for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 23:56:01 +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 1ShUkg-0003Ur-Fe for ietf-http-wg@w3.org; Wed, 20 Jun 2012 23:55:59 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6686450A64; Wed, 20 Jun 2012 19:55:36 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE20715.4060407@gmx.de>
Date: Thu, 21 Jun 2012 09:55:24 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D62C6AA9-BAC4-4709-8D41-05657C543F94@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <4FE01814.1050807@gmx.de> <A55793B2-973E-47F7-BC49-9BF20CBA2CB8@mnot.net> <4FE030D9.1010709@gmx.de> <3263FF21-1039-4B8D-9F54-7DE725D7E22A@mnot.net> <4FE20715.4060407@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1ShUkg-0003Ur-Fe 8454dff3517e57d00f79737239aab220
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #361: ABNF requirements for recipients [was: #307 untangle Cache-Control  ABNF]
Archived-At: <http://www.w3.org/mid/D62C6AA9-BAC4-4709-8D41-05657C543F94@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13853
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShUkz-0001v7-SR@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 23:56:17 +0000

On 21/06/2012, at 3:23 AM, Julian Reschke wrote:

> On 2012-06-19 10:10, Mark Nottingham wrote:
>>=20
>> On 19/06/2012, at 5:57 PM, Julian Reschke wrote:
>>=20
>>> So, for consistency, we should insert:
>>>=20
>>> "Recipients MUST accept all protocol elements matching the ABNF =
rules defined for them."
>>=20
>> "accept" is ambiguous here. "Be able to parse" is more specific, I =
think.
>>=20
>>> Maybe we need "Unless otherwise noted" because of some special cases =
for "obs-*".
>>=20
>> yes.
>=20
> Proposed change:
>=20
> 339,347c339,349
> <  Unless noted otherwise, Recipients MAY take steps to recover a =
usable
> <  protocol element from an invalid construct.  However, HTTP does not
> <  define specific error handling mechanisms, except in cases where it
> <  has direct impact on security.  This is because different uses of =
the
> <  protocol require different error handling strategies; for example, =
a
> <  Web browser may wish to transparently recover from a response where
> <  the Location header field doesn't parse according to the ABNF,
> <  whereby in a systems control protocol using HTTP, this type of =
error
> <  recovery could lead to dangerous consequences.
> ---
> >  Unless noted otherwise, Recipients MUST be able to parse all =
protocol
> >  elements matching the ABNF rules defined for them and MAY take =
steps
> >  to recover a usable protocol element from an invalid construct.
> >  However, HTTP does not define specific error handling mechanisms,
> >  except in cases where it has direct impact on security.  This is
> >  because different uses of the protocol require different error
> >  handling strategies; for example, a Web browser may wish to
> >  transparently recover from a response where the Location header =
field
> >  doesn't parse according to the ABNF, whereby in a systems control
> >  protocol using HTTP, this type of error recovery could lead to
> >  dangerous consequences.
>=20
> (Change is just in the first sentence)


Looks good to me.

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 16:58: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 9F69211E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 16:58:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.253
X-Spam-Level: 
X-Spam-Status: No, score=-10.253 tagged_above=-999 required=5 tests=[AWL=0.346, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dgZXxCbjlnbp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 16:58:50 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 23EE711E808C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 16:58:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShUn3-0002Mw-Ma for ietf-http-wg-dist@listhub.w3.org; Wed, 20 Jun 2012 23:58:25 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShUms-0002M0-5j for ietf-http-wg@listhub.w3.org; Wed, 20 Jun 2012 23:58:14 +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 1ShUmp-0003Yu-Hv for ietf-http-wg@w3.org; Wed, 20 Jun 2012 23:58:12 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 6ADBC50A64; Wed, 20 Jun 2012 19:57:49 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAMeZVwvodaPXH1iyMstuhQP1zxtoHiXe+C2FU8Yzz=RetN9b3w@mail.gmail.com>
Date: Thu, 21 Jun 2012 09:57:37 +1000
Cc: Julian Reschke <julian.reschke@gmx.de>, Amos Jeffries <squid3@treenet.co.nz>, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <D5C84FCD-BE27-4D0F-9D39-8460DB93BD01@mnot.net>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com> <4FE196BF.3020909@gmx.de> <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com> <4FE1A621.2050501@gmx.de> <CAMeZVwszPzqHu29nt02FF7dbVVmQ21M2Zrwo46ZH=sL51sMACQ@mail.gmail.com> <4654B441-2D30-4BC1-929D-734D504BFDA1@mnot.net> <CAMeZVwvodaPXH1iyMstuhQP1zxtoHiXe+C2FU8Yzz=RetN9b3w@mail.gmail.com>
To: Yutaka OIWA <y.oiwa@aist.go.jp>
X-Mailer: Apple Mail (2.1278)
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: maggie.w3.org 1ShUmp-0003Yu-Hv 1004b2b56d179743c703cb3b134308af
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/D5C84FCD-BE27-4D0F-9D39-8460DB93BD01@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13854
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShUn3-0002Mw-Ma@frink.w3.org>
Resent-Date: Wed, 20 Jun 2012 23:58:25 +0000

On 20/06/2012, at 9:31 PM, Yutaka OIWA wrote:

> Dear Mark,
>=20
> 2012/6/20 Mark Nottingham <mnot@mnot.net>:
>=20
>> That's effectively where we are; note that there aren't any RFC2119 =
conformance requirements placed around this.
>=20
> I prefer to be explicit that use of 403 is just a preference
> and is not RFC2119 nor other "requirements".
> "Ought-to" sounds to be louder than RECOMMENDED, as a natural =
language.
> # correct me if I have an English problem.

We've consistently used "ought to" to give advice and encourage certain =
behaviours without making it a conformance requirement (thereby breaking =
existing implementations). The normative requirements are expressed (and =
always have been) in RFC2119 language.=20


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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 18:54: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 E0BD011E8086 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 18:54:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.262
X-Spam-Level: 
X-Spam-Status: No, score=-10.262 tagged_above=-999 required=5 tests=[AWL=0.337, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Hys75P7YLme for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 18:54:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BE06911E8079 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 18:54:27 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShWZS-0007Na-LK for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 01:52:30 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShWZD-0007MB-Qh for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 01:52:15 +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 1ShWZA-00052T-Ku for ietf-http-wg@w3.org; Thu, 21 Jun 2012 01:52:14 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.56.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id EE90850A6B for <ietf-http-wg@w3.org>; Wed, 20 Jun 2012 21:51:50 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Thu, 21 Jun 2012 11:51:37 +1000
Message-Id: <2B067105-3A7E-4586-86DA-A96FFA2A8F93@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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 1ShWZA-00052T-Ku f15e569d5bcaae309f36973dcad05f87
X-Original-To: ietf-http-wg@w3.org
Subject: Call for Expressions of Interest in Proposals for HTTP/2.0 and New HTTP Authentication Schemes
Archived-At: <http://www.w3.org/mid/2B067105-3A7E-4586-86DA-A96FFA2A8F93@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13855
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShWZS-0007Na-LK@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 01:52:30 +0000

In Paris, we set a deadline for proposals for further work around =
HTTP/2.0 at June 15.

The proposals we've received are listed here:
  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2Proposals
  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/HttpAuthProposals

Note that a few are not fully-formed proposals in their own right, and =
therefore they're not really appropriate to consider as starting points =
for further work, but instead as input documents that can inform further =
discussion once we choose a starting point.

My goal is to be able to request a re-charter -- provided we agree that =
this is necessary -- soon after the Vancouver meeting.

To help gather information about this, we're making a Call for =
Expressions of Interest in the various proposals from implementers and =
deployers of HTTP. Please have a look at

  http://trac.tools.ietf.org/wg/httpbis/trac/wiki/Http2CfI

send your own feedback, and circulate that link among the folks who you =
know work on or use HTTP.

Regards,

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 19:57: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 35BE321F8541 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 19:57:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.179
X-Spam-Level: 
X-Spam-Status: No, score=-9.179 tagged_above=-999 required=5 tests=[AWL=1.420, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aFiBgrQCDSO6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 19:57:02 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A8E3B21F8540 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 19:57:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShXYk-00089g-I5 for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 02:55:50 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1ShXYV-00088n-Kp for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 02:55:35 +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 1ShXYS-0000hD-H6 for ietf-http-wg@w3.org; Thu, 21 Jun 2012 02:55:33 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 0EF68E6F2D; Thu, 21 Jun 2012 14:55:07 +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: Thu, 21 Jun 2012 14:55:07 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <alpine.LRH.2.01.1206201059040.29960@egate.xpasc.com>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <4FE186CF.6010009@gmx.de> <alpine.LRH.2.01.1206201059040.29960@egate.xpasc.com>
Message-ID: <ab450ba771575d90df377dc2efd65f5e@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1ShXYS-0000hD-H6 1b8e005c81ad65bc6d590ca3f0fffd39
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/ab450ba771575d90df377dc2efd65f5e@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13856
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShXYk-00089g-I5@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 02:55:50 +0000

On 21.06.2012 06:01, David Morris wrote:
> On Wed, 20 Jun 2012, Julian Reschke wrote:
>
>> On 2012-06-20 06:11, Mark Nottingham wrote:
>> >
>
>> > How about, after those two paragraphs:
>> >
>> > """
>> > A server receiving credentials that are valid, but not adequate to 
>> gain
>> > access, ought to respond with the 403 (Forbidden) status code.
>> > """
>
> Seems to me that 'ought to' should either be 'SHOULD' or 'MAY'?


If it were, that would make the existing implementations 
non-conformant.


My intention with bringing this up at all was to make it clear there 
was an preferred alternative to infinite 401 loops, should the server 
need to use it.


401/407 being the try-again response, indicates new credentials are 
REQUIRED. It *remains* the preferred status when credentials are valid 
but different ones would gain access in a followup request.


403 being the preferred halt status for authn and authz indicating that 
repeating or retrying is not going to be useful.


We need to do this to prevent future auth schemes or implementations 
using 400 or 404 or such status. We have had several proposals just 
since I joined the list this year for creating a whole new status code 
duplicating 403 semantics because people did not understand that on 
first reading of the Drafts.

Simply put 403 says two things:
   1) I checked your credentials, they were fine but you are not allowed 
access here. Go away.
   2) You are not allowed access here. I didn't even bother to check 
your credentials, they won't help. Go away.

  case (1) is when for example Corporate users machine is trying to 
access CEOs private pages. authn passes, authz failed. Only the CEO 
machine allowed to access the CEOs content.

  case (2) is when for example External IP attacker is trying to access 
internal-only resources. IP or something non-authn is the primary authz 
check and 403 prevents credentials leakage to the attacker.


  Either way authz failed AND the server policy desires the user 'never' 
to re-try.

Important note: this above is an explicit server policy, not a protocol 
mandatory response.


AYJ



From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 20:23: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 C493711E8079 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 20:23:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.497
X-Spam-Level: 
X-Spam-Status: No, score=-10.497 tagged_above=-999 required=5 tests=[AWL=0.103, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id STe+QzUD5BJ9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 20:23:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D538411E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 20:23:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShXxf-0003q9-IQ for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 03:21:35 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShXxM-0003oI-Ee for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 03:21: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 1ShXxJ-00086K-EV for ietf-http-wg@w3.org; Thu, 21 Jun 2012 03:21:14 +0000
Received: from m0222vcatm.rackspace.corp (unknown [69.20.3.135]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id CC79B22E259 for <ietf-http-wg@w3.org>; Wed, 20 Jun 2012 23:20:51 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Thu, 21 Jun 2012 13:20:47 +1000
Message-Id: <721F6A59-7751-47C9-A522-7D7AECAAB893@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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.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 1ShXxJ-00086K-EV 3173004c6a72744632ad6f773565e81a
X-Original-To: ietf-http-wg@w3.org
Subject: #347: clarify that 201 can imply *multiple* resources were created
Archived-At: <http://www.w3.org/mid/721F6A59-7751-47C9-A522-7D7AECAAB893@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13857
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShXxf-0003q9-IQ@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 03:21:35 +0000

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/347>

Proposal is to replace =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-se=
mantics.html#status.201> with:

""
The request has been fulfilled and has resulted in one or more new =
resources being created.

Newly created resources are typically linked to from the response =
payload, with the most relevant URI also being carried in the Location =
header field. If the newly created resource's URI is the same as the =
Effective Request URI, this information can be omitted (e.g., in the =
case of a response to a PUT request).

The origin server must create the resource(s) before returning the 201 =
status code. If the action cannot be carried out immediately, the server =
should respond with 202 (Accepted) response instead.

A 201 response may contain an ETag response header field indicating the =
current value of the entity-tag for the representation of the resource =
identified by the Location header (see Section 2.3 of [Part4]).
"""

Comments?

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 20:39: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 6C1E321F858E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 20:39:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.522
X-Spam-Level: 
X-Spam-Status: No, score=-10.522 tagged_above=-999 required=5 tests=[AWL=0.077, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id clIzRWUKf1NE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 20:39:41 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8065E21F858D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 20:39:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShYEb-0006TN-F1 for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 03:39:05 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShYBX-0006Kv-VN for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 03:36:03 +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 1ShYBU-0001z0-V0 for ietf-http-wg@w3.org; Thu, 21 Jun 2012 03:35:54 +0000
Received: from m0222vcatm.rackspace.corp (unknown [69.20.3.135]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 9603D22E25C; Wed, 20 Jun 2012 23:35:29 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <b0946f881b8719b2274de137b1e49d79@treenet.co.nz>
Date: Thu, 21 Jun 2012 13:35:26 +1000
Cc: Julian Reschke <julian.reschke@gmx.de>, <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <21245210-A03A-4BC1-AC26-2C3123678339@mnot.net>
References: <09DF4B3A-CF9F-4C3A-BF00-CA53D8C6E9D2@mnot.net> <CC8C9073-ADCA-44DE-87CA-B108345C6603@mnot.net> <4FD1CC85.60704@gmx.de> <4E84872F-8FD0-4794-91D4-E58F858F5793@mnot.net> <4FD1D0AD.4080109@gmx.de> <EC5286A1-C4C3-4509-8C93-683899470E4A@mnot.net> <4FD5E04B.2000103@gmx.de> <4FD5ECD8.3000308@treenet.co.nz> <4FD5F08D.9040905@gmx.de> <b0946f881b8719b2274de137b1e49d79@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1ShYBU-0001z0-V0 53bf4e6ad3d720c499dcdea4537c2f71
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #353: Multiple Values in Cache-Control headers
Archived-At: <http://www.w3.org/mid/21245210-A03A-4BC1-AC26-2C3123678339@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13858
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShYEb-0006TN-F1@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 03:39:05 +0000

On 12/06/2012, at 10:19 AM, Amos Jeffries wrote:

> On 12.06.2012 01:20, Julian Reschke wrote:
>> On 2012-06-11 15:04, Amos Jeffries wrote:
>>> ...
>>> * flag parameters can't exactly contradict, so dropping/merging
>>> duplicates and treating as one flag would seem okay. (only-if-cached
>>> must-revalidate, proxy-ravalidate, no-cache, no-store, no-transform, =
etc)
>>=20
>> "public" vs "private"?
>=20
> Okay. Nasty case there.
> "public" is specifically linked to the auth systems though isn't it?
>=20
> Can we safely assume that "private" on auth responses is invalid and =
that "public" was intended to override it?
>=20
> on non-auth responses "public" would seem to be the redundant state, =
and "private" assumed to be the desired behaviour?

Why are we trying to design a general solution to this problem?

The current spec already deals with these cases; follow the rules in =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#response.cacheability> and =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#constructing.responses.from.caches> and the precedence should =
be clear.


>>> * time-delta parameters (max-age, s-maxage, etc) being conservative =
and
>>> dropping the larger or equal of the two seems the right handling.
>>=20
>> Yes, we could say that.

And indeed, there's already a proposal on the table here:

> Add a note to =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#calculating.freshness.lifetime>:
>=20
> """
> When there is more than one value present for a given directive (e.g., =
two Expires headers, multiple Cache-Control: max-age directives), it is =
considered invalid. Caches SHOULD consider responses that have invalid =
freshness information to be stale.
> """

The SHOULD and =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#intro.conformance.and.error.handling> give implementations =
enough flexibility to recover if they wish, but I personally don't think =
we want to specify a particular behaviour here, because we'll very =
likely make current implementations non-conforming. Happy to talk =
through this one, though.


>>> * list of tokens ... maybe combine? it is possible one proxy adds
>>> no-cache=3D"Foo" and another adds no-cache=3D"Bar" and they both hit =
some
>>> downstream cache which needs to handle both Foo and Bar properly.
>>>   Yes the right thing to do woudl have been no-cache=3D"Foo Bar". =
But
>>> what if that is not done?
>>=20
>> Right now we allow
>>=20
>>  no-cache=3D"Foo, Bar"
>>=20
>> Should
>>=20
>>  no-cache=3D"Foo", no-cache=3D"Bar"
>>=20
>> be equivalent? (That would be similar with the use of list syntax in
>> header fields)
>=20
> I think so, yes.


Given that this isn't widely used, I don't have a big problem with =
defining something here, but I do wonder if we're getting to diminishing =
returns.

Can someone please make a proposal?=20

Thanks,

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 20:51: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 C182711E8080 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 20:51:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.538
X-Spam-Level: 
X-Spam-Status: No, score=-10.538 tagged_above=-999 required=5 tests=[AWL=0.061, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id waIGzCvK-Dvh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 20:51:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 41B9F11E8079 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 20:51:02 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShYO8-0000DR-UX for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 03:48:56 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShYNS-0000Bj-Kt for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 03:48:14 +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 1ShYNQ-0002Ij-53 for ietf-http-wg@w3.org; Thu, 21 Jun 2012 03:48:13 +0000
Received: from m0222vcatm.rackspace.corp (unknown [69.20.3.135]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 7838022E256; Wed, 20 Jun 2012 23:47:49 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <6B348243-BC1C-48C0-822A-1649FDAF7091@mnot.net>
Date: Thu, 21 Jun 2012 13:47:46 +1000
Cc: Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F65ED7E8-7B71-4DFC-98BC-51FCC1B4936B@mnot.net>
References: <B5E63193-2450-41AD-A3AA-047755F2189D@niven-jenkins.co.uk> <6B348243-BC1C-48C0-822A-1649FDAF7091@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DECEASED_NO_ML=1.154, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1ShYNQ-0002Ij-53 d193c00cdf8a9d1764b45ba0f0e6161c
X-Original-To: ietf-http-wg@w3.org
Subject: WGLC #354 - ETags & conditional requests
Archived-At: <http://www.w3.org/mid/F65ED7E8-7B71-4DFC-98BC-51FCC1B4936B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13859
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShYO8-0000DR-UX@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 03:48:56 +0000

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/354>; related text is =
at =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-co=
nditional.html#header.if-match>

Usually, this isn't a problem, because If-Match is only used with =
methods that to be written through to the origin server. E.g., when you =
PUT or POST something.=20

However, we shouldn't count on that.

One way to address this would be to target the requirements at "origin =
server" rather than "server"; i.e. to say that we don't expect =
intermediaries to process If-Match.

Thoughts?


On 24/04/2012, at 3:47 AM, Ben Niven-Jenkins wrote:

> Hi,
>=20
> Apologies that this mail misses the WG LC deadline, in Velocix we're =
reviewing all the HTTPBIS documents but we're a little behind, hence the =
late comments, sorry. (we're still reviewing so might have more comments =
as we work through the documents)
>=20
> On page 14 of P4 it states:
>=20
>  If none of the entity-tags match, or if "*" is given and no current
>  representation exists, the server MUST NOT perform the requested
>  method.  Instead, the server MUST respond with the 412 (Precondition
>  Failed) status code.
>=20
> This appears to apply to intermediates, but If-Match has a problem
> here that If-Unmodified-Since does not. If a proxy has a cached
> entity which has a newer Last-Modified timestamp it *knows* that
> the conditional has failed and can generate the required
> 412 Precondition Failed response itself. Otherwise it can satisfy
> the request from cache. Or relay if there is no current cached
> version.
>=20
> But because multiple responses with different ETags may exist then a =
cache receiving If-Match with one etag, when it has a different etag =
cached, can not know for sure that the request etag does not exist. If =
it were to respond with a 412 status it would effectively be preventing =
the use of that conditional.
>=20
> It would appear that the only two options available to an intermediate =
are to satisfy the request in the case of a known match, and relay =
upstream in all other cases (which would be in conflict with the spec as =
quoted above).
>=20
> Thanks
> Ben
>=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 20 23:49: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 BA1B521F85C3 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 23:49:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.159
X-Spam-Level: 
X-Spam-Status: No, score=-9.159 tagged_above=-999 required=5 tests=[AWL=1.440, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aulwzWkAq5V4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 20 Jun 2012 23:49:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2181F21F8589 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 20 Jun 2012 23:49:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShbB6-0001XK-IK for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 06:47:40 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ShbAk-0001WP-Sa for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 06:47:18 +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 1ShbAe-0007Ur-Fy for ietf-http-wg@w3.org; Thu, 21 Jun 2012 06:47:17 +0000
Received: (qmail invoked by alias); 21 Jun 2012 06:46:46 -0000
Received: from p5DD94E5F.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.78.95] by mail.gmx.net (mp071) with SMTP; 21 Jun 2012 08:46:46 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/JLldZrWvJCnpqKqyjiIP4jRMKykzuQHZoV+7wEy XT+hpxH6c7mZjy
Message-ID: <4FE2C353.8030206@gmx.de>
Date: Thu, 21 Jun 2012 08:46:43 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <721F6A59-7751-47C9-A522-7D7AECAAB893@mnot.net>
In-Reply-To: <721F6A59-7751-47C9-A522-7D7AECAAB893@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1ShbAe-0007Ur-Fy 9ee7d4e7353b521ef554ebe5c4dcb6e2
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #347: clarify that 201 can imply *multiple* resources were created
Archived-At: <http://www.w3.org/mid/4FE2C353.8030206@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13860
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShbB6-0001XK-IK@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 06:47:40 +0000

On 2012-06-21 05:20, Mark Nottingham wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/347>
>
> Proposal is to replace <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#status.201> with:
>
> ""
> The request has been fulfilled and has resulted in one or more new resources being created.
>
> Newly created resources are typically linked to from the response payload, with the most relevant URI also being carried in the Location header field. If the newly created resource's URI is the same as the Effective Request URI, this information can be omitted (e.g., in the case of a response to a PUT request).
>
> The origin server must create the resource(s) before returning the 201 status code. If the action cannot be carried out immediately, the server should respond with 202 (Accepted) response instead.
>
> A 201 response may contain an ETag response header field indicating the current value of the entity-tag for the representation of the resource identified by the Location header (see Section 2.3 of [Part4]).
> """
>
> Comments?

Sounds good with s/mayshouldmust/MAYSHOULDMUST/ (I assume that was a 
copy/paste problem...)

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jun 21 01:21: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 9853A21F8607 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 01:21:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.249
X-Spam-Level: 
X-Spam-Status: No, score=-9.249 tagged_above=-999 required=5 tests=[AWL=1.350, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lqjD2m9FjsQx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 01:21:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C5F9E21F8604 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 01:21:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShccQ-0004Fo-Vs for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 08:19:59 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Shcc8-0004EP-E6 for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 08:19:40 +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 1Shcc5-0003BJ-HZ for ietf-http-wg@w3.org; Thu, 21 Jun 2012 08:19:38 +0000
Received: (qmail invoked by alias); 21 Jun 2012 08:19:10 -0000
Received: from p5DD94E5F.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.78.95] by mail.gmx.net (mp016) with SMTP; 21 Jun 2012 10:19:10 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/IrXxCdRvIrW8ERjqve5dSe8pxN4DJmKV/+H9xLX X3fSJgkELgq575
Message-ID: <4FE2D8EE.5040605@gmx.de>
Date: Thu, 21 Jun 2012 10:18:54 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Yutaka OIWA <y.oiwa@aist.go.jp>, Amos Jeffries <squid3@treenet.co.nz>,  ietf-http-wg@w3.org
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net> <7d41141fac4d3dcccc4d87280cf32b7d@treenet.co.nz> <B92964E0-68D3-437A-BC8C-C3AC6FC515E1@mnot.net> <CAMeZVwtfQuJ=wuf--hbv0G4n-jkpLF1-dLfLND0sPagqGRx=qA@mail.gmail.com> <4FE196BF.3020909@gmx.de> <CAMeZVwuc0D8JChqNu7ziWeQuniLCruQY13D5c0dsJ33wMQQ5Aw@mail.gmail.com> <4FE1A621.2050501@gmx.de> <CAMeZVwszPzqHu29nt02FF7dbVVmQ21M2Zrwo46ZH=sL51sMACQ@mail.gmail.com> <4654B441-2D30-4BC1-929D-734D504BFDA1@mnot.net> <CAMeZVwvodaPXH1iyMstuhQP1zxtoHiXe+C2FU8Yzz=RetN9b3w@mail.gmail.com> <D5C84FCD-BE27-4D0F-9D39-8460DB93BD01@mnot.net>
In-Reply-To: <D5C84FCD-BE27-4D0F-9D39-8460DB93BD01@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Shcc5-0003BJ-HZ 9dac83d70a81b0cf0d570229d2138b64
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/4FE2D8EE.5040605@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13861
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShccQ-0004Fo-Vs@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 08:19:58 +0000

On 2012-06-21 01:57, Mark Nottingham wrote:
>
> On 20/06/2012, at 9:31 PM, Yutaka OIWA wrote:
>
>> Dear Mark,
>>
>> 2012/6/20 Mark Nottingham <mnot@mnot.net>:
>>
>>> That's effectively where we are; note that there aren't any RFC2119 conformance requirements placed around this.
>>
>> I prefer to be explicit that use of 403 is just a preference
>> and is not RFC2119 nor other "requirements".
>> "Ought-to" sounds to be louder than RECOMMENDED, as a natural language.
>> # correct me if I have an English problem.
>
> We've consistently used "ought to" to give advice and encourage certain behaviours without making it a conformance requirement (thereby breaking existing implementations). The normative requirements are expressed (and always have been) in RFC2119 language.

Indeed.

Change applied with 
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1681>.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jun 21 01:41: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 4658421F854E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 01:41:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.328
X-Spam-Level: 
X-Spam-Status: No, score=-9.328 tagged_above=-999 required=5 tests=[AWL=1.271, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 90o7wDqIezOh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 01:41:10 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8150D21F854A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 01:41:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShcwI-0002Pz-Sh for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 08:40:30 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Shcvu-0002Oz-QC for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 08:40:06 +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 1Shcvo-00049h-4L for ietf-http-wg@w3.org; Thu, 21 Jun 2012 08:40:05 +0000
Received: (qmail invoked by alias); 21 Jun 2012 08:39:34 -0000
Received: from p5DD94E5F.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.78.95] by mail.gmx.net (mp032) with SMTP; 21 Jun 2012 10:39:34 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/2euIE3Vz2Bkc+Buwn++KK6xxPQv9YoRqsW+1Ov2 aYPI7Yii7XejAG
Message-ID: <4FE2DDBB.9060108@gmx.de>
Date: Thu, 21 Jun 2012 10:39:23 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <721F6A59-7751-47C9-A522-7D7AECAAB893@mnot.net> <4FE2C353.8030206@gmx.de>
In-Reply-To: <4FE2C353.8030206@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.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1Shcvo-00049h-4L bc86232bde0524ff8f63b27fac5fd13e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #347: clarify that 201 can imply *multiple* resources were created
Archived-At: <http://www.w3.org/mid/4FE2DDBB.9060108@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13862
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShcwI-0002Pz-Sh@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 08:40:30 +0000

On 2012-06-21 08:46, Julian Reschke wrote:
> On 2012-06-21 05:20, Mark Nottingham wrote:
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/347>
>>
>> Proposal is to replace
>> <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#status.201>
>> with:
>>
>> ""
>> The request has been fulfilled and has resulted in one or more new
>> resources being created.
>>
>> Newly created resources are typically linked to from the response
>> payload, with the most relevant URI also being carried in the Location
>> header field. If the newly created resource's URI is the same as the
>> Effective Request URI, this information can be omitted (e.g., in the
>> case of a response to a PUT request).
>>
>> The origin server must create the resource(s) before returning the 201
>> status code. If the action cannot be carried out immediately, the
>> server should respond with 202 (Accepted) response instead.
>>
>> A 201 response may contain an ETag response header field indicating
>> the current value of the entity-tag for the representation of the
>> resource identified by the Location header (see Section 2.3 of [Part4]).
>> """
>>
>> Comments?
>
> Sounds good with s/mayshouldmust/MAYSHOULDMUST/ (I assume that was a
> copy/paste problem...)
> ...

Full text:

4.4.2.  201 Created

    The request has been fulfilled and has resulted in one or more new
    resources being created.

    The newly created resources are typically linked to from the response
    payload, with the most relevant URI also being carried in the
    Location header field.  If the newly created resource's URI is the
    same as the Effective Request URI, this information can be omitted
    (e.g., in the case of a response to a PUT request).

    The origin server MUST create the resource(s) before returning the
    201 status code.  If the action cannot be carried out immediately,
    the server SHOULD respond with 202 (Accepted) response instead.

    A 201 response MAY contain an ETag response header field indicating
    the current value of the entity-tag for the representation of the
    resource identified by the Location header field or, in case the
    Location header field was omitted, by the Effective Request URI (see
    Section 2.3 of [Part4]).

(note that the last paragraph needed tuning so the PUT->201 special case 
is handled as well).

-> 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/347/347.diff>

Feedback appreciated, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jun 21 02:05: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 969FB21F8459 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 02:05:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.399
X-Spam-Level: 
X-Spam-Status: No, score=-9.399 tagged_above=-999 required=5 tests=[AWL=1.200, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r2FS9WE0UsRq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 02:05:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7FE0721F8450 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 02:05:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShdJV-0007Md-Cc for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 09:04:29 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ShdJI-0007Lk-TY for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 09:04:16 +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 1ShdJ9-0005jY-Aa for ietf-http-wg@w3.org; Thu, 21 Jun 2012 09:04:15 +0000
Received: (qmail invoked by alias); 21 Jun 2012 09:03:39 -0000
Received: from p5DD94E5F.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.78.95] by mail.gmx.net (mp029) with SMTP; 21 Jun 2012 11:03:39 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+wvHFKhoawTMBb00Z3aj68F3P2lmEDND9z/OfUry OWIq2yUZJA71nL
Message-ID: <4FE2E360.4020703@gmx.de>
Date: Thu, 21 Jun 2012 11:03:28 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <4FE01814.1050807@gmx.de> <A55793B2-973E-47F7-BC49-9BF20CBA2CB8@mnot.net> <4FE030D9.1010709@gmx.de> <3263FF21-1039-4B8D-9F54-7DE725D7E22A@mnot.net> <4FE20715.4060407@gmx.de> <D62C6AA9-BAC4-4709-8D41-05657C543F94@mn ot.net>
In-Reply-To: <D62C6AA9-BAC4-4709-8D41-05657C543F94@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1ShdJ9-0005jY-Aa 4f34aadf0f7686e642344ef613ced6ab
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #361: ABNF requirements for recipients [was: #307 untangle Cache-Control   ABNF]
Archived-At: <http://www.w3.org/mid/4FE2E360.4020703@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13863
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShdJV-0007Md-Cc@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 09:04:29 +0000

On 2012-06-21 01:55, Mark Nottingham wrote:
>
> On 21/06/2012, at 3:23 AM, Julian Reschke wrote:
>
>> On 2012-06-19 10:10, Mark Nottingham wrote:
>>>
>>> On 19/06/2012, at 5:57 PM, Julian Reschke wrote:
>>>
>>>> So, for consistency, we should insert:
>>>>
>>>> "Recipients MUST accept all protocol elements matching the ABNF rules defined for them."
>>>
>>> "accept" is ambiguous here. "Be able to parse" is more specific, I think.
>>>
>>>> Maybe we need "Unless otherwise noted" because of some special cases for "obs-*".
>>>
>>> yes.
>>
>> Proposed change:
>>
>> 339,347c339,349
>> <  Unless noted otherwise, Recipients MAY take steps to recover a usable
>> <  protocol element from an invalid construct.  However, HTTP does not
>> <  define specific error handling mechanisms, except in cases where it
>> <  has direct impact on security.  This is because different uses of the
>> <  protocol require different error handling strategies; for example, a
>> <  Web browser may wish to transparently recover from a response where
>> <  the Location header field doesn't parse according to the ABNF,
>> <  whereby in a systems control protocol using HTTP, this type of error
>> <  recovery could lead to dangerous consequences.
>> ---
>>>   Unless noted otherwise, Recipients MUST be able to parse all protocol
>>>   elements matching the ABNF rules defined for them and MAY take steps
>>>   to recover a usable protocol element from an invalid construct.
>>>   However, HTTP does not define specific error handling mechanisms,
>>>   except in cases where it has direct impact on security.  This is
>>>   because different uses of the protocol require different error
>>>   handling strategies; for example, a Web browser may wish to
>>>   transparently recover from a response where the Location header field
>>>   doesn't parse according to the ABNF, whereby in a systems control
>>>   protocol using HTTP, this type of error recovery could lead to
>>>   dangerous consequences.
>>
>> (Change is just in the first sentence)
>
>
> Looks good to me.

Applied with <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1682>.

(I have opened a separate ticket as a reminder to re-align P1 with the 
other parts).

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Thu Jun 21 05:41: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 BFAF021F855E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 05:41:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.271
X-Spam-Level: 
X-Spam-Status: No, score=-10.271 tagged_above=-999 required=5 tests=[AWL=0.328, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eEuesnblePtl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 05:41:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BA80921F8552 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 05:41:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Shgfa-0000XS-Pp for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 12:39:30 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShgfI-0000Va-ST for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 12:39:12 +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 1ShgfC-000657-Ua for ietf-http-wg@w3.org; Thu, 21 Jun 2012 12:39:11 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id C59F822E1F4; Thu, 21 Jun 2012 08:38:44 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE2DDBB.9060108@gmx.de>
Date: Thu, 21 Jun 2012 22:38:40 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <7F54923F-0408-4935-998C-46AA3ADE3BFA@mnot.net>
References: <721F6A59-7751-47C9-A522-7D7AECAAB893@mnot.net> <4FE2C353.8030206@gmx.de> <4FE2DDBB.9060108@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.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 1ShgfC-000657-Ua e592001b5557cc79002f70c80fb62338
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #347: clarify that 201 can imply *multiple* resources were created
Archived-At: <http://www.w3.org/mid/7F54923F-0408-4935-998C-46AA3ADE3BFA@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13864
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Shgfa-0000XS-Pp@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 12:39:30 +0000

Looks good to me.

On 21/06/2012, at 6:39 PM, Julian Reschke wrote:

> On 2012-06-21 08:46, Julian Reschke wrote:
>> On 2012-06-21 05:20, Mark Nottingham wrote:
>>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/347>
>>>=20
>>> Proposal is to replace
>>> =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-se=
mantics.html#status.201>
>>> with:
>>>=20
>>> ""
>>> The request has been fulfilled and has resulted in one or more new
>>> resources being created.
>>>=20
>>> Newly created resources are typically linked to from the response
>>> payload, with the most relevant URI also being carried in the =
Location
>>> header field. If the newly created resource's URI is the same as the
>>> Effective Request URI, this information can be omitted (e.g., in the
>>> case of a response to a PUT request).
>>>=20
>>> The origin server must create the resource(s) before returning the =
201
>>> status code. If the action cannot be carried out immediately, the
>>> server should respond with 202 (Accepted) response instead.
>>>=20
>>> A 201 response may contain an ETag response header field indicating
>>> the current value of the entity-tag for the representation of the
>>> resource identified by the Location header (see Section 2.3 of =
[Part4]).
>>> """
>>>=20
>>> Comments?
>>=20
>> Sounds good with s/mayshouldmust/MAYSHOULDMUST/ (I assume that was a
>> copy/paste problem...)
>> ...
>=20
> Full text:
>=20
> 4.4.2.  201 Created
>=20
>   The request has been fulfilled and has resulted in one or more new
>   resources being created.
>=20
>   The newly created resources are typically linked to from the =
response
>   payload, with the most relevant URI also being carried in the
>   Location header field.  If the newly created resource's URI is the
>   same as the Effective Request URI, this information can be omitted
>   (e.g., in the case of a response to a PUT request).
>=20
>   The origin server MUST create the resource(s) before returning the
>   201 status code.  If the action cannot be carried out immediately,
>   the server SHOULD respond with 202 (Accepted) response instead.
>=20
>   A 201 response MAY contain an ETag response header field indicating
>   the current value of the entity-tag for the representation of the
>   resource identified by the Location header field or, in case the
>   Location header field was omitted, by the Effective Request URI (see
>   Section 2.3 of [Part4]).
>=20
> (note that the last paragraph needed tuning so the PUT->201 special =
case is handled as well).
>=20
> -> =
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/347/347.diff=
>
>=20
> Feedback appreciated, Julian

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





From ietf-http-wg-request@listhub.w3.org  Thu Jun 21 05:55: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 6ADD121F8610 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 05:55:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.054
X-Spam-Level: 
X-Spam-Status: No, score=-9.054 tagged_above=-999 required=5 tests=[AWL=1.545, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iOGW2m5OYtIT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 05:55:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C761E21F85F1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 05:55:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShguH-0005WI-Og for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 12:54:41 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Shgu3-0005To-8B for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 12:54: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 1Shgtx-0006N4-Na for ietf-http-wg@w3.org; Thu, 21 Jun 2012 12:54:26 +0000
Received: (qmail invoked by alias); 21 Jun 2012 12:53:55 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp038) with SMTP; 21 Jun 2012 14:53:55 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+Qtg8w3s6Qzg/GnHdt/5LZwQcr7inu2Du3MT3tAp tYWBll542XtUvn
Message-ID: <4FE3195E.6010801@gmx.de>
Date: Thu, 21 Jun 2012 14:53:50 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <721F6A59-7751-47C9-A522-7D7AECAAB893@mnot.net> <4FE2C353.8030206@gmx.de> <4FE2DDBB.9060108@gmx.de> <7F54923F-0408-4935-998C-46AA3ADE3BFA@mnot.net>
In-Reply-To: <7F54923F-0408-4935-998C-46AA3ADE3BFA@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Shgtx-0006N4-Na e1dccb67ac039ac46afe3154f0b42a01
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #347: clarify that 201 can imply *multiple* resources were created
Archived-At: <http://www.w3.org/mid/4FE3195E.6010801@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13865
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShguH-0005WI-Og@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 12:54:41 +0000

On 2012-06-21 14:38, Mark Nottingham wrote:
> Looks good to me.
> ...

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1683>


From ietf-http-wg-request@listhub.w3.org  Thu Jun 21 08: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 8231121F8768 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 08:45: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BPp2zuC39Auh for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 08:45:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B105121F876C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 08:45:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShjYI-0000uP-4q for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 15:44:10 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <zhong.j.yu@gmail.com>) id 1ShjY2-0000tJ-4H for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 15:43:54 +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 1ShjXq-0006le-7U for ietf-http-wg@w3.org; Thu, 21 Jun 2012 15:43:52 +0000
Received: by vcbgb30 with SMTP id gb30so430678vcb.2 for <ietf-http-wg@w3.org>; Thu, 21 Jun 2012 08:43:16 -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=m1zus9zBIM8Kpzd5szsa0aBGNFT6C5zMx2PFCxIR/xU=; b=o2DbUfzLLYsqe9ZjgDQIGaXZ+bHE73jU8ILAavOP0sJ2SpYGpC4vYQAE/8Y8Bp/r6p 5M4aJSYndTbr0qv89DmW7fRWgsMmEkb03DcyCHT/ovhnGBoH0Zd/B1eu7n0/Y8new/xI E1CYrmjjASEWgiI7brn/80WvhM8NoFkv9BqDV5++MHjt7rBYeGZM+NvymcCBNdXdQTN4 t1Nm5LqEHu92gkzpZSk6PZC5c4+fOXa2dBqNAl+1T7D4v4gD3F/vjVfwbAdQ8Kh4mIxT 8WOZ4htUJ1ya3IlHuLbGfT+oRDIpt2W4wuJlYHYAyUY8ucDqaILXEy30Sz1OZdqz+kuq eefA==
MIME-Version: 1.0
Received: by 10.220.116.79 with SMTP id l15mr13821341vcq.69.1340293396387; Thu, 21 Jun 2012 08:43:16 -0700 (PDT)
Received: by 10.220.191.131 with HTTP; Thu, 21 Jun 2012 08:43:16 -0700 (PDT)
In-Reply-To: <F65ED7E8-7B71-4DFC-98BC-51FCC1B4936B@mnot.net>
References: <B5E63193-2450-41AD-A3AA-047755F2189D@niven-jenkins.co.uk> <6B348243-BC1C-48C0-822A-1649FDAF7091@mnot.net> <F65ED7E8-7B71-4DFC-98BC-51FCC1B4936B@mnot.net>
Date: Thu, 21 Jun 2012 10:43:16 -0500
Message-ID: <CACuKZqHdp2_sL=V9pg1cnTrYOwWjAzh4+d-wh+qpnFRzONyQ-g@mail.gmail.com>
From: Zhong Yu <zhong.j.yu@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
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=-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: lisa.w3.org 1ShjXq-0006le-7U 82986e5d1e3c2102122b4dd2260c91bb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #354 - ETags & conditional requests
Archived-At: <http://www.w3.org/mid/CACuKZqHdp2_sL=V9pg1cnTrYOwWjAzh4+d-wh+qpnFRzONyQ-g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13866
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShjYI-0000uP-4q@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 15:44:10 +0000

A valid use case for GET + If-Match may be a range request.

If the intermediary has a cached representation with matching tag,
which it has reason to believe would be the "selected representation"
from the original server, the intermediary may safely do the shortcut.
Otherwise the request has to be forwarded to the original server.

Zhong Yu

On Wed, Jun 20, 2012 at 10:47 PM, Mark Nottingham <mnot@mnot.net> wrote:
> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/354>; related text is =
at <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-=
conditional.html#header.if-match>
>
> Usually, this isn't a problem, because If-Match is only used with methods=
 that to be written through to the origin server. E.g., when you PUT or POS=
T something.
>
> However, we shouldn't count on that.
>
> One way to address this would be to target the requirements at "origin se=
rver" rather than "server"; i.e. to say that we don't expect intermediaries=
 to process If-Match.
>
> Thoughts?
>
>
> On 24/04/2012, at 3:47 AM, Ben Niven-Jenkins wrote:
>
>> Hi,
>>
>> Apologies that this mail misses the WG LC deadline, in Velocix we're rev=
iewing all the HTTPBIS documents but we're a little behind, hence the late =
comments, sorry. (we're still reviewing so might have more comments as we w=
ork through the documents)
>>
>> On page 14 of P4 it states:
>>
>> =A0If none of the entity-tags match, or if "*" is given and no current
>> =A0representation exists, the server MUST NOT perform the requested
>> =A0method. =A0Instead, the server MUST respond with the 412 (Preconditio=
n
>> =A0Failed) status code.
>>
>> This appears to apply to intermediates, but If-Match has a problem
>> here that If-Unmodified-Since does not. If a proxy has a cached
>> entity which has a newer Last-Modified timestamp it *knows* that
>> the conditional has failed and can generate the required
>> 412 Precondition Failed response itself. Otherwise it can satisfy
>> the request from cache. Or relay if there is no current cached
>> version.
>>
>> But because multiple responses with different ETags may exist then a cac=
he receiving If-Match with one etag, when it has a different etag cached, c=
an not know for sure that the request etag does not exist. If it were to re=
spond with a 412 status it would effectively be preventing the use of that =
conditional.
>>
>> It would appear that the only two options available to an intermediate a=
re to satisfy the request in the case of a known match, and relay upstream =
in all other cases (which would be in conflict with the spec as quoted abov=
e).
>>
>> Thanks
>> Ben
>>
>>
>
> --
> Mark Nottingham =A0 http://www.mnot.net/
>
>
>
>


From ietf-http-wg-request@listhub.w3.org  Thu Jun 21 08:52: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 3690D21F859E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 08:52:13 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oZeH14JiqHSn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 08:52:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 95E5121F85A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 08:52:10 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Shjfi-0003wC-C7 for ietf-http-wg-dist@listhub.w3.org; Thu, 21 Jun 2012 15:51:50 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <JSullivan@velocix.com>) id 1ShjfW-0003u5-Jf for ietf-http-wg@listhub.w3.org; Thu, 21 Jun 2012 15:51:38 +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 <JSullivan@velocix.com>) id 1ShjfP-00074c-At for ietf-http-wg@w3.org; Thu, 21 Jun 2012 15:51:36 +0000
Received: from orthrus.eng.velocix.com (172.18.32.42) by exccam.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Thu, 21 Jun 2012 16:51:03 +0100
Message-ID: <4FE342E7.8010700@velocix.com>
Date: Thu, 21 Jun 2012 16:51:03 +0100
From: John Sullivan <jsullivan@velocix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Zhong Yu <zhong.j.yu@gmail.com>
CC: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>, Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
References: <B5E63193-2450-41AD-A3AA-047755F2189D@niven-jenkins.co.uk>	<6B348243-BC1C-48C0-822A-1649FDAF7091@mnot.net>	<F65ED7E8-7B71-4DFC-98BC-51FCC1B4936B@mnot.net> <CACuKZqHdp2_sL=V9pg1cnTrYOwWjAzh4+d-wh+qpnFRzONyQ-g@mail.gmail.com>
In-Reply-To: <CACuKZqHdp2_sL=V9pg1cnTrYOwWjAzh4+d-wh+qpnFRzONyQ-g@mail.gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.18.32.42]
Received-SPF: none client-ip=81.134.152.10; envelope-from=JSullivan@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1ShjfP-00074c-At 9a631b077e9233fbfecc78dc77a38316
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #354 - ETags & conditional requests
Archived-At: <http://www.w3.org/mid/4FE342E7.8010700@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13867
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Shjfi-0003wC-C7@frink.w3.org>
Resent-Date: Thu, 21 Jun 2012 15:51:50 +0000

Zhong Yu wrote:
> A valid use case for GET + If-Match may be a range request.
> 
> If the intermediary has a cached representation with matching tag,
> which it has reason to believe would be the "selected representation"
> from the original server, the intermediary may safely do the shortcut.
> Otherwise the request has to be forwarded to the original server.

Yes. It was only the conditional failure case that I was worried
about, where the usefulness of this header is severely compromised
by an intermediate generating 412s.


> Zhong Yu
> 
> On Wed, Jun 20, 2012 at 10:47 PM, Mark Nottingham <mnot@mnot.net> wrote:
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/354>; related text is at <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-conditional.html#header.if-match>
>>
>> Usually, this isn't a problem, because If-Match is only used with methods that to be written through to the origin server. E.g., when you PUT or POST something.
>>
>> However, we shouldn't count on that.
>>
>> One way to address this would be to target the requirements at "origin server" rather than "server"; i.e. to say that we don't expect intermediaries to process If-Match.
>>
>> Thoughts?
>>
>>
>> On 24/04/2012, at 3:47 AM, Ben Niven-Jenkins wrote:
>>
>>> Hi,
>>>
>>> Apologies that this mail misses the WG LC deadline, in Velocix we're reviewing all the HTTPBIS documents but we're a little behind, hence the late comments, sorry. (we're still reviewing so might have more comments as we work through the documents)
>>>
>>> On page 14 of P4 it states:
>>>
>>>  If none of the entity-tags match, or if "*" is given and no current
>>>  representation exists, the server MUST NOT perform the requested
>>>  method.  Instead, the server MUST respond with the 412 (Precondition
>>>  Failed) status code.
>>>
>>> This appears to apply to intermediates, but If-Match has a problem
>>> here that If-Unmodified-Since does not. If a proxy has a cached
>>> entity which has a newer Last-Modified timestamp it *knows* that
>>> the conditional has failed and can generate the required
>>> 412 Precondition Failed response itself. Otherwise it can satisfy
>>> the request from cache. Or relay if there is no current cached
>>> version.
>>>
>>> But because multiple responses with different ETags may exist then a cache receiving If-Match with one etag, when it has a different etag cached, can not know for sure that the request etag does not exist. If it were to respond with a 412 status it would effectively be preventing the use of that conditional.
>>>
>>> It would appear that the only two options available to an intermediate are to satisfy the request in the case of a known match, and relay upstream in all other cases (which would be in conflict with the spec as quoted above).
>>>
>>> Thanks
>>> Ben
>>>
>>>
>>
>> --
>> Mark Nottingham   http://www.mnot.net/
>>
>>
>>
>>
> 
> 


John
-- 


From ietf-http-wg-request@listhub.w3.org  Thu Jun 21 17:37: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 6D19411E8072 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 17:37:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.28
X-Spam-Level: 
X-Spam-Status: No, score=-10.28 tagged_above=-999 required=5 tests=[AWL=0.319, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c9hBo6qR-3-1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 17:37:42 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5170D21F8548 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 17:37:41 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Shrr1-00059Z-Dm for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 00:36:03 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Shrqj-00058M-Cd for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 00:35:45 +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 1Shrqg-0004pm-G5 for ietf-http-wg@w3.org; Fri, 22 Jun 2012 00:35:43 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 362D922E259; Thu, 21 Jun 2012 20:35:19 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CACuKZqHdp2_sL=V9pg1cnTrYOwWjAzh4+d-wh+qpnFRzONyQ-g@mail.gmail.com>
Date: Fri, 22 Jun 2012 10:35:17 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4DEBDF43-17B3-4EA7-A014-46932F037CCA@mnot.net>
References: <B5E63193-2450-41AD-A3AA-047755F2189D@niven-jenkins.co.uk> <6B348243-BC1C-48C0-822A-1649FDAF7091@mnot.net> <F65ED7E8-7B71-4DFC-98BC-51FCC1B4936B@mnot.net> <CACuKZqHdp2_sL=V9pg1cnTrYOwWjAzh4+d-wh+qpnFRzONyQ-g@mail.gmail.com>
To: Zhong Yu <zhong.j.yu@gmail.com>
X-Mailer: Apple Mail (2.1278)
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.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 1Shrqg-0004pm-G5 f8c2bb6712ee75c3e4f20ff4e7265a7a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #354 - ETags & conditional requests
Archived-At: <http://www.w3.org/mid/4DEBDF43-17B3-4EA7-A014-46932F037CCA@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13868
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Shrr1-00059Z-Dm@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 00:36:03 +0000

Of course, thanks; I always forget about the Range cases.

How about:

"""
If any of the entity-tags listed in the If-Match field value match (as =
per Section 2.3.2) the entity-tag of the selected representation for the =
target resource, or if "*" is given and any current representation =
exists for the target resource, then the server may perform the request =
method as if the If-Match header field was not present.

Origin servers must not perform the requested method if none of the =
entity-tags match, or if "*" is given and no current representation =
exists; instead, they must respond with the 412 (Precondition Failed) =
status code.

Proxy servers using a cached response as the selected representation =
must not perform the requested method if none of the entity-tags match, =
or if "*" is given and no current representation exists; instead, they =
must forward the request towards the origin server.
"""





On 22/06/2012, at 1:43 AM, Zhong Yu wrote:

> A valid use case for GET + If-Match may be a range request.
>=20
> If the intermediary has a cached representation with matching tag,
> which it has reason to believe would be the "selected representation"
> from the original server, the intermediary may safely do the shortcut.
> Otherwise the request has to be forwarded to the original server.
>=20
> Zhong Yu
>=20
> On Wed, Jun 20, 2012 at 10:47 PM, Mark Nottingham <mnot@mnot.net> =
wrote:
>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/354>; related text =
is at =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-co=
nditional.html#header.if-match>
>>=20
>> Usually, this isn't a problem, because If-Match is only used with =
methods that to be written through to the origin server. E.g., when you =
PUT or POST something.
>>=20
>> However, we shouldn't count on that.
>>=20
>> One way to address this would be to target the requirements at =
"origin server" rather than "server"; i.e. to say that we don't expect =
intermediaries to process If-Match.
>>=20
>> Thoughts?
>>=20
>>=20
>> On 24/04/2012, at 3:47 AM, Ben Niven-Jenkins wrote:
>>=20
>>> Hi,
>>>=20
>>> Apologies that this mail misses the WG LC deadline, in Velocix we're =
reviewing all the HTTPBIS documents but we're a little behind, hence the =
late comments, sorry. (we're still reviewing so might have more comments =
as we work through the documents)
>>>=20
>>> On page 14 of P4 it states:
>>>=20
>>>  If none of the entity-tags match, or if "*" is given and no current
>>>  representation exists, the server MUST NOT perform the requested
>>>  method.  Instead, the server MUST respond with the 412 =
(Precondition
>>>  Failed) status code.
>>>=20
>>> This appears to apply to intermediates, but If-Match has a problem
>>> here that If-Unmodified-Since does not. If a proxy has a cached
>>> entity which has a newer Last-Modified timestamp it *knows* that
>>> the conditional has failed and can generate the required
>>> 412 Precondition Failed response itself. Otherwise it can satisfy
>>> the request from cache. Or relay if there is no current cached
>>> version.
>>>=20
>>> But because multiple responses with different ETags may exist then a =
cache receiving If-Match with one etag, when it has a different etag =
cached, can not know for sure that the request etag does not exist. If =
it were to respond with a 412 status it would effectively be preventing =
the use of that conditional.
>>>=20
>>> It would appear that the only two options available to an =
intermediate are to satisfy the request in the case of a known match, =
and relay upstream in all other cases (which would be in conflict with =
the spec as quoted above).
>>>=20
>>> Thanks
>>> Ben
>>>=20
>>>=20
>>=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  Thu Jun 21 18:46: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 08D2721F84B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 18:46:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.288
X-Spam-Level: 
X-Spam-Status: No, score=-10.288 tagged_above=-999 required=5 tests=[AWL=0.311, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DvXY3IVPt62d for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 18:46:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 377FE21F844E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 18:46:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Shsvx-0004fw-K9 for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 01:45:13 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Shsvm-00045Z-4S for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 01:45: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 1Shsvj-0007Vr-Cb for ietf-http-wg@w3.org; Fri, 22 Jun 2012 01:45:00 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 411E322E259 for <ietf-http-wg@w3.org>; Thu, 21 Jun 2012 21:44:19 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Fri, 22 Jun 2012 11:44:16 +1000
Message-Id: <7BA0010A-BF7F-4F19-A8BC-85E327F41146@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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.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 1Shsvj-0007Vr-Cb cfaa206ca95329740574713ef43838ff
X-Original-To: ietf-http-wg@w3.org
Subject: #271: SHOULD review in p7
Archived-At: <http://www.w3.org/mid/7BA0010A-BF7F-4F19-A8BC-85E327F41146@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13871
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Shsvx-0004fw-K9@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 01:45:13 +0000

As per <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/271>, I'm =
reviewing our use of SHOULD in the documents; here I also pick on a few =
MAYs. Where I find issues, I've flagged with EDITORIAL or DESIGN as =
seems appropriate (I won't open issues for the design ones until we =
discuss; the editorial ones are considered attached to #271).

2.1

"Requests for protected resources that omit credentials, contain invalid =
credentials (e.g., a bad password), or partial credentials (e.g., when =
the authentication scheme requires more than one round trip) SHOULD =
return a 401 (Unauthorized) response."

EDITORIAL - make the subject of the requirement more obvious, e.g., =
"Upon a request for a protected resource that omits credentials, =
contains invalid credentials (e.g., a bad password), or partial =
credentials (e.g., when the authentication scheme requires more than one =
round trip), an origin server SHOULD return a 401 (Unauthorized) =
response.

"Likewise, requests that require authentication by proxies that omit =
credentials, or contain invalid or partial credentials should return a =
407 (Proxy Authentication Required) response. "

EDITORIAL - same as above.

3.1

"If the 401 response contains the same challenge as the prior response, =
and the user agent has already attempted authentication at least once, =
then the user SHOULD be presented the representation that was given in =
the response, since that representation might include relevant =
diagnostic information."

OK

4.1

"If a request is authenticated and a realm specified, the same =
credentials SHOULD be valid for all other requests within this realm =
(assuming that the authentication scheme itself does not require =
otherwise, such as credentials that vary according to a challenge value =
or using synchronized clocks)."

Not entirely happy here (the subject of the requirement isn't clear), =
but don't have much to suggest.

4.2

"Unlike WWW-Authenticate, the Proxy-Authenticate header field applies =
only to the current connection and SHOULD NOT be passed on to downstream =
clients."

EDITORIAL - change to "...current connection, and intermediaries SHOULD =
NOT forward it to downstream clients."


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





From ietf-http-wg-request@listhub.w3.org  Thu Jun 21 18:46: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 243E621F844E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 18:46:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.295
X-Spam-Level: 
X-Spam-Status: No, score=-10.295 tagged_above=-999 required=5 tests=[AWL=0.304, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zZUkqDEPAejv for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 18:46:45 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8109421F8454 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 18:46:45 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Shsvo-00048Y-JR for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 01:45:04 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShsvR-0003zU-Sr for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 01:44:41 +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 1ShsvP-0007VK-6s for ietf-http-wg@w3.org; Fri, 22 Jun 2012 01:44:40 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 24BA722E1EB for <ietf-http-wg@w3.org>; Thu, 21 Jun 2012 21:44:17 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Fri, 22 Jun 2012 11:44:14 +1000
Message-Id: <4E6B4EF3-90C9-4AF1-A9CF-013EB81B5A3D@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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.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 1ShsvP-0007VK-6s 6e2f48f6d7d1bed38ea49fcb80070c51
X-Original-To: ietf-http-wg@w3.org
Subject: #271: SHOULD review in p5
Archived-At: <http://www.w3.org/mid/4E6B4EF3-90C9-4AF1-A9CF-013EB81B5A3D@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13870
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Shsvo-00048Y-JR@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 01:45:04 +0000

As per <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/271>, I'm =
reviewing our use of SHOULD in the documents. Where I find issues, I've =
flagged with EDITORIAL or DESIGN as seems appropriate (I won't open =
issues for the design ones until we discuss; the editorial ones are =
considered attached to #271).


2.

"If a range unit is not understood in a request, a server MUST ignore =
the whole Range header field (Section 5.4). If a range unit is not =
understood in a response, an intermediary SHOULD pass the response to =
the client; a client MUST fail."

OK.

3.1

"If a 206 is sent in response to a request with an If-Range header =
field, it SHOULD NOT include other representation header fields."

OK

3.2

"A server SHOULD return a response with this status code if a request =
included a Range header field (Section 5.4), and none of the =
ranges-specifier values in this field overlap the current extent of the =
selected resource, and the request did not include an If-Range header =
field (Section 5.3)."

OK

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

OK

4.1

"When a client asks for multiple ranges in one request, the server =
SHOULD return them in the order that they appeared in the request."

OK

5.2

"The header field SHOULD indicate the total length of the full =
representation, unless this length is unknown or difficult to =
determine."

OK

"In the case of a byte range request: A server sending a response with =
status code 416 (Requested range not satisfiable) SHOULD include a =
Content-Range field with a byte-range-resp-spec of "*"."

OK

"If the server ignores a byte-range-spec (for example if it is =
syntactically invalid, or if it may be seen as a denial-of-service =
attack), the server SHOULD treat the request as if the invalid Range =
header field did not exist."

EDITORIAL - "may" -> "might"

5.3

"The If-Range header field SHOULD only be sent by clients together with =
a Range header field."

OK

"If the validator given in the If-Range header field matches the current =
validator for the selected representation of the target resource, then =
the server SHOULD send the specified sub-range of the representation =
using a 206 (Partial Content) response. If the validator does not match, =
then the server SHOULD send the entire representation using a 200 (OK) =
response."

OK

5.4.1

"Otherwise, the byte-range-set is unsatisfiable. If the byte-range-set =
is unsatisfiable, the server SHOULD return a response with a 416 =
(Requested range not satisfiable) status code. Otherwise, the server =
SHOULD return a response with a 206 (Partial Content) status code =
containing the satisfiable ranges of the representation."

OK.

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





From ietf-http-wg-request@listhub.w3.org  Thu Jun 21 19:46: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 39E8711E80CD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 19:46:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.302
X-Spam-Level: 
X-Spam-Status: No, score=-10.302 tagged_above=-999 required=5 tests=[AWL=0.297, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XXGBcfUIuSCq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 21 Jun 2012 19:46:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F21C111E80C8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 21 Jun 2012 19:46:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Shsvf-00042u-SX for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 01:44:55 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1ShsvQ-0003yW-6P for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 01:44:40 +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 1ShsvN-0007VA-8H for ietf-http-wg@w3.org; Fri, 22 Jun 2012 01:44:38 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 60C6B22E1F4 for <ietf-http-wg@w3.org>; Thu, 21 Jun 2012 21:44:15 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Date: Fri, 22 Jun 2012 11:44:12 +1000
Message-Id: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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.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 1ShsvN-0007VA-8H 6b400e85e287811e149080b80e02e3d8
X-Original-To: ietf-http-wg@w3.org
Subject: #271: SHOULD review in p4
Archived-At: <http://www.w3.org/mid/D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13869
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Shsvf-00042u-SX@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 01:44:55 +0000

As per <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/271>, I'm =
reviewing our use of SHOULD in the documents; here I also pick on a few =
MAYs. Where I find issues, I've flagged with EDITORIAL or DESIGN as =
seems appropriate (I won't open issues for the design ones until we =
discuss; the editorial ones are considered attached to #271).

2.1

"However, if a resource has distinct representations that differ only in =
their metadata, such as might occur with content negotiation over media =
types that happen to share the same data format, then a server SHOULD =
incorporate additional information in the validator to distinguish those =
representations and avoid confusing cache behavior."

Seems OK, but not really testable.
EDITORIAL - change "a server" to "the origin server"

"A weak entity-tag SHOULD change whenever the origin server considers =
prior representations to be unacceptable as a substitute for the current =
representation. In other words, a weak entity-tag SHOULD change whenever =
the origin server wants caches to invalidate old responses."

First one is OK, but not testable.

EDITORIAL - change first one to "An origin server SHOULD change a weak =
entity-tag whenever it considers..."
EDITORIAL - the second one should probably change to an "ought to", =
otherwise we're repeating ourselves.

2.2.1

"Origin servers SHOULD send Last-Modified for any selected =
representation for which a last modification date can be reasonably and =
consistently determined, since its use in conditional requests and =
evaluating cache freshness ([Part6]) results in a substantial reduction =
of HTTP traffic on the Internet and can be a significant factor in =
improving service scalability and reliability."

As discussed, this is a social requirement, but justified.

"An origin server SHOULD obtain the Last-Modified value of the =
representation as close as possible to the time that it generates the =
Date field-value for its response. This allows a recipient to make an =
accurate assessment of the representation's modification time, =
especially if the representation changes near the time that the response =
is generated."

OK

2.3.1

"Origin servers SHOULD send ETag for any selected representation for =
which detection of changes can be reasonably and consistently =
determined, since the entity-tag's use in conditional requests and =
evaluating cache freshness ([Part6]) can result in a substantial =
reduction of HTTP network traffic and can be a significant factor in =
improving service scalability and reliability."

As discussed, this is a social requirement, so OK.

2.4

"""
HTTP/1.1 origin servers:

	=95 SHOULD send an entity-tag validator unless it is not =
feasible to generate one.
	=95 MAY send a weak entity-tag instead of a strong entity-tag, =
if performance considerations support the use of weak entity-tags, or if =
it is unfeasible to send a strong entity-tag.
	=95 SHOULD send a Last-Modified value if it is feasible to send =
one.
"""

Repeating requirements above, but a nice summary. OK.

"""
HTTP/1.1 clients:

	=95 MUST use that entity-tag in any cache-conditional request =
(using If-Match or If-None-Match) if an entity-tag has been provided by =
the origin server.
	=95 SHOULD use the Last-Modified value in non-subrange =
cache-conditional requests (using If-Modified-Since) if only a =
Last-Modified value has been provided by the origin server.
	=95 MAY use the Last-Modified value in subrange =
cache-conditional requests (using If-Unmodified-Since) if only a =
Last-Modified value has been provided by an HTTP/1.0 origin server. The =
user agent should provide a way to disable this, in case of difficulty.
	=95 SHOULD use both validators in cache-conditional requests if =
both an entity-tag and a Last-Modified value have been provided by the =
origin server. This allows both HTTP/1.0 and HTTP/1.1 caches to respond =
appropriately.
"""

OK

"HTTP/1.0 clients and caches might ignore entity-tags. Generally, =
last-modified values received or used by these systems will support =
transparent and efficient caching, and so HTTP/1.1 origin servers SHOULD =
provide Last-Modified values. In those rare cases where the use of a =
Last-Modified value as a validator by an HTTP/1.0 system could result in =
a serious problem, then HTTP/1.1 origin servers SHOULD NOT provide one."

EDITORIAL - change SHOULD to "still ought to". (we're repeating =
ourselves)
DESIGN - What are the "rare cases" being talked about here, and how are =
servers supposed to detect them?

3.1

"The "If-Match" header field MAY be used to make a request method =
conditional on the current existence or value of an entity-tag for one =
or more representations of the target resource."

EDITORIAL - change MAY to "can"

3.2

"The "If-None-Match" header field MAY be used to make a request method =
conditional on not matching any of the current entity-tag values for =
representations of the target resource."

EDITORIAL - change MAY to "can"

"If-None-Match MAY also be used with a value of "*" to prevent an unsafe =
request method (e.g., PUT) from inadvertently modifying an existing =
representation of the target resource when the client believes that the =
resource does not have a current representation."

EDITORIAL - change MAY to "can"

"Instead, if the request method was GET or HEAD, the server SHOULD =
respond with a 304 (Not Modified) status code, including the =
cache-related header fields (particularly ETag) of the selected =
representation that has a matching entity-tag."

OK

3.3

"The "If-Modified-Since" header field MAY be used to make a request =
method conditional by modification date: if the selected representation =
has not been modified since the time specified in this field, then do =
not perform the request method; instead, respond as detailed below."

EDITORIAL - change MAY to "can"

"If the selected representation has not been modified since a valid =
If-Modified-Since date, the server SHOULD return a 304 (Not Modified) =
response."

OK

3.4

"The "If-Unmodified-Since" header field MAY be used to make a request =
method conditional by modification date: if the selected representation =
has been modified since the time specified in this field, then the =
server must not perform the requested operation and must instead respond =
with the 412 (Precondition Failed) status code."

EDITORIAL - change MAY to "can"

"If the selected representation has not been modified since the time =
specified in this field, the server SHOULD perform the request method as =
if the If-Unmodified-Since header field were not present."

OK (but why not MUST here?)

"If the request normally (i.e., without the If-Unmodified-Since header =
field) would result in anything other than a 2xx or 412 status code, the =
If-Unmodified-Since header field SHOULD be ignored."

OK (but why not MUST here?)

EDITORIAL: "If the request.." -> "If a request..."
EDITORIAL: the language around ignoring headers / "were not present" =
here is needlessly divergent.

4.1

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

Good.

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 00:38: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 891AF21F85C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 00:38:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.253
X-Spam-Level: 
X-Spam-Status: No, score=-8.253 tagged_above=-999 required=5 tests=[AWL=2.346, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GEDKo-HLWNfV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 00:38:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C37EC21F85C6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 00:38:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ShyQa-0005eG-Ce for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 07:37:12 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1ShyQ6-0005cu-I8 for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 07:36:42 +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 1ShyQ3-0002j7-4L for ietf-http-wg@w3.org; Fri, 22 Jun 2012 07:36:41 +0000
Received: (qmail invoked by alias); 22 Jun 2012 07:36:12 -0000
Received: from p54BB3EEC.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.62.236] by mail.gmx.net (mp039) with SMTP; 22 Jun 2012 09:36:12 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/aG6FYO2Taf8uvMLaPcX2KvMx855jCbfGjjZ8biB GY5yVWjvEXzJmr
Message-ID: <4FE42066.3080305@gmx.de>
Date: Fri, 22 Jun 2012 09:36:06 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1ShyQ3-0002j7-4L 67acf5c5411cc07bca2389cad71c6725
X-Original-To: ietf-http-wg@w3.org
Subject: may/should
Archived-At: <http://www.w3.org/mid/4FE42066.3080305@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13872
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1ShyQa-0005eG-Ce@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 07:37:12 +0000

Hi,

Mark's recent mails about MAY/SHOULD/MUST reminded me to check for 
may/should/must as well; and there are quite a few places we 
should^h^h^h^h^h^hought to adjust.

For the trivial ones I applied 
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1685>; for the 
remaining instances we might need to UPPERCASE them.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 04: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 5DB8621F867E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 04:47: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9BsD+625iMF4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 04:47:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 298C521F8674 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 04:47:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Si2Jc-0008VI-9I for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 11:46:16 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <JSullivan@velocix.com>) id 1Si2JL-0008Kt-3A for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 11:45:59 +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 <JSullivan@velocix.com>) id 1Si2JH-0004FJ-1K for ietf-http-wg@w3.org; Fri, 22 Jun 2012 11:45:57 +0000
Received: from orthrus.eng.velocix.com (172.18.32.42) by exccam.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Fri, 22 Jun 2012 12:45:28 +0100
Message-ID: <4FE45AD8.3080801@velocix.com>
Date: Fri, 22 Jun 2012 12:45:28 +0100
From: John Sullivan <jsullivan@velocix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Zhong Yu <zhong.j.yu@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
References: <B5E63193-2450-41AD-A3AA-047755F2189D@niven-jenkins.co.uk> <6B348243-BC1C-48C0-822A-1649FDAF7091@mnot.net> <F65ED7E8-7B71-4DFC-98BC-51FCC1B4936B@mnot.net> <CACuKZqHdp2_sL=V9pg1cnTrYOwWjAzh4+d-wh+qpnFRzONyQ-g@mail.gmail.com> <4DEBDF43-17B3-4EA7-A014-46932F037CCA@mnot.net>
In-Reply-To: <4DEBDF43-17B3-4EA7-A014-46932F037CCA@mnot.net>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.18.32.42]
Received-SPF: none client-ip=81.134.152.10; envelope-from=JSullivan@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Si2JH-0004FJ-1K 74101f24d69701b87ca2bb0e0799343e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #354 - ETags & conditional requests
Archived-At: <http://www.w3.org/mid/4FE45AD8.3080801@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13873
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Si2Jc-0008VI-9I@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 11:46:16 +0000

Mark Nottingham wrote:
> Of course, thanks; I always forget about the Range cases.
> 
> How about:
> 
> """
> If any of the entity-tags listed in the If-Match field value match (as per Section 2.3.2) the entity-tag of the selected representation for the target resource, or if "*" is given and any current representation exists for the target resource, then the server may perform the request method as if the If-Match header field was not present.
> 
> Origin servers must not perform the requested method if none of the entity-tags match, or if "*" is given and no current representation exists; instead, they must respond with the 412 (Precondition Failed) status code.
> 
> Proxy servers using a cached response as the selected representation must not perform the requested method if none of the entity-tags match, or if "*" is given and no current representation exists; instead, they must forward the request towards the origin server.
> """

That sounds good to me - just a minor question about the wording:

    If any of the entity-tags listed in the If-Match field value match
    (as per Section 2.3.2) the entity-tag of the selected representation
    for the target resource

That makes it sound like, in cases where the server has multiple
representations available, it will first choose one, *then* compare
with If-Match. (So if several equivalent versions are available and
If-Match contains one ETag, and the server chooses the "wrong" one
in step 1, it will always fail to match in step 2.) I just wondered
whether the opposite way is specifically excluded: search the available
versions for one matching an ETag present in If-Match, which will always
succeed if a matching representation is present.


> On 22/06/2012, at 1:43 AM, Zhong Yu wrote:
> 
>> A valid use case for GET + If-Match may be a range request.
>> 
>> If the intermediary has a cached representation with matching tag,
>> which it has reason to believe would be the "selected representation"
>> from the original server, the intermediary may safely do the shortcut.
>> Otherwise the request has to be forwarded to the original server.
>> 
>> Zhong Yu
>> 
>> On Wed, Jun 20, 2012 at 10:47 PM, Mark Nottingham <mnot@mnot.net> wrote:
>>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/354>; related text is at <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-conditional.html#header.if-match>
>>> 
>>> Usually, this isn't a problem, because If-Match is only used with methods that to be written through to the origin server. E.g., when you PUT or POST something.
>>> 
>>> However, we shouldn't count on that.
>>> 
>>> One way to address this would be to target the requirements at "origin server" rather than "server"; i.e. to say that we don't expect intermediaries to process If-Match.
>>> 
>>> Thoughts?
>>> 
>>> 
>>> On 24/04/2012, at 3:47 AM, Ben Niven-Jenkins wrote:
>>> 
>>>> Hi,
>>>> 
>>>> Apologies that this mail misses the WG LC deadline, in Velocix we're reviewing all the HTTPBIS documents but we're a little behind, hence the late comments, sorry. (we're still reviewing so might have more comments as we work through the documents)
>>>> 
>>>> On page 14 of P4 it states:
>>>> 
>>>>  If none of the entity-tags match, or if "*" is given and no current
>>>>  representation exists, the server MUST NOT perform the requested
>>>>  method.  Instead, the server MUST respond with the 412 (Precondition
>>>>  Failed) status code.
>>>> 
>>>> This appears to apply to intermediates, but If-Match has a problem
>>>> here that If-Unmodified-Since does not. If a proxy has a cached
>>>> entity which has a newer Last-Modified timestamp it *knows* that
>>>> the conditional has failed and can generate the required
>>>> 412 Precondition Failed response itself. Otherwise it can satisfy
>>>> the request from cache. Or relay if there is no current cached
>>>> version.
>>>> 
>>>> But because multiple responses with different ETags may exist then a cache receiving If-Match with one etag, when it has a different etag cached, can not know for sure that the request etag does not exist. If it were to respond with a 412 status it would effectively be preventing the use of that conditional.
>>>> 
>>>> It would appear that the only two options available to an intermediate are to satisfy the request in the case of a known match, and relay upstream in all other cases (which would be in conflict with the spec as quoted above).
>>>> 
>>>> Thanks
>>>> Ben
>>>> 
>>>> 
>>> 
>>> --
>>> Mark Nottingham   http://www.mnot.net/
>>> 
>>> 
>>> 
>>> 
> 
> --
> Mark Nottingham   http://www.mnot.net/
> 
> 
> 
> 
> 


John
-- 


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 08:05: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 B2DDE21F86E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 08:05:23 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ChLMVDp9wXbP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 08:05:23 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id EF75121F86F7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 08:05:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Si5O2-0006Bi-7z for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 15:03:02 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1Si5Ni-0005y3-9E for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 15:02:42 +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 1Si5Na-0003Tj-HC for ietf-http-wg@w3.org; Fri, 22 Jun 2012 15:02:40 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id B65DB3B5A5; Fri, 22 Jun 2012 15:02:12 +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 q5MF2AKV005350; Fri, 22 Jun 2012 15:02:12 GMT (envelope-from phk@phk.freebsd.dk)
To: Rob Trace <Rob.Trace@microsoft.com>
cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 19 Jun 2012 20:28:22 GMT." <FF649A28BA27384396FD4F7BADF45DDF382957D8@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 22 Jun 2012 15:02:10 +0000
Message-ID: <5349.1340377330@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Si5Na-0003Tj-HC 6c9f1fcf85606f6e774dd2c6fc678e30
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-montenegro-httpbis-speed-mobility-02.txt
Archived-At: <http://www.w3.org/mid/5349.1340377330@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13874
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Si5O2-0006Bi-7z@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 15:03:02 +0000

In message <FF649A28BA27384396FD4F7BADF45DDF382957D8@TK5EX14MBXW602.wingroup.wi
ndeploy.ntdev.microsoft.com>, Rob Trace writes:

>A new version of I-D, draft-montenegro-httpbis-speed-mobility-02.txt

I have read this draft, and I do like the thinking, even if not all
the details.

With one small tweak, this prosal has the potential to solve what
I see as one of the really big high-performance issues: load-balancing
at Tbit/s rates.

The tweak I seek is:

	Once created, all requests on a given stream MUST have the
	same "Host:" header.

This does not prevent a client (or proxy) from using multiple streams
with same "Host:" header to get parallelism, but it means that
load-balancers in front of hosting farms only need to examine the
first request on any stream to find the "Host:" header, after that,
it can just shift the stream through.

Another way to think of this, is to make the stream-ID also
work as a hop-to-hop flow-label.

With that said...

A lot of the benefit thus gained will be eaten up because taking a
SPDY stream apart is a performance nightmare, particularly at Tbit/s
rates, but at least the load-balancers will only need to take the
first part of the SPDY streams apart.

I seem to recall Willy and Adrien working on using serialization/encoding
to save header transmission cost, instead of just blindly throwing
things at gzip.

Put something like that on top of Bobs draft instead of SPDY, and
Tbit/sec starts to look realistic.

Poul-Henning

PS: I was happy to see that Guy didn't find any significant improvement
from the gzip static dictionary, I thought I had done something wrong
when I got that result.

-- 
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 Jun 22 10:21: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 E659511E8087 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 10:21:37 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GM66s2ZIViDX for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 10:21:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B1C4B21F8747 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 10:21:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Si7WW-0004PU-UC for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 17:19:56 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1Si7WF-0004OC-Vr for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 17:19:40 +0000
Received: from db3ehsobe004.messaging.microsoft.com ([213.199.154.142] helo=db3outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1Si7WD-0008Ra-39 for ietf-http-wg@w3.org; Fri, 22 Jun 2012 17:19:38 +0000
Received: from mail113-db3-R.bigfish.com (10.3.81.251) by DB3EHSOBE001.bigfish.com (10.3.84.21) with Microsoft SMTP Server id 14.1.225.23; Fri, 22 Jun 2012 17:17:40 +0000
Received: from mail113-db3 (localhost [127.0.0.1])	by mail113-db3-R.bigfish.com (Postfix) with ESMTP id 3E6D71202BB	for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 17:17:40 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -1
X-BigFish: VS-1(zzc85fh4015Izz1202hzz8275bh8275dhz2fh2a8h683h839hd25hf0ah)
Received-SPF: pass (mail113-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.244.37;KIP:(null);UIP:(null);(null);H:CH1PRD0310HT005.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail113-db3 (localhost.localdomain [127.0.0.1]) by mail113-db3 (MessageSwitch) id 134038545888473_11907; Fri, 22 Jun 2012 17:17:38 +0000 (UTC)
Received: from DB3EHSMHS009.bigfish.com (unknown [10.3.81.240])	by mail113-db3.bigfish.com (Postfix) with ESMTP id 11A1540043	for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 17:17:38 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS009.bigfish.com (10.3.87.109) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 22 Jun 2012 17:17:37 +0000
Received: from db3outboundpool.messaging.microsoft.com (157.54.51.112) by mail.microsoft.com (157.54.79.174) with Microsoft SMTP Server (TLS) id 14.2.298.5; Fri, 22 Jun 2012 17:19:03 +0000
Received: from mail45-db3-R.bigfish.com (10.3.81.244) by DB3EHSOBE003.bigfish.com (10.3.84.23) with Microsoft SMTP Server id 14.1.225.23; Fri, 22 Jun 2012 17:17:30 +0000
Received: from mail45-db3 (localhost [127.0.0.1])	by mail45-db3-R.bigfish.com (Postfix) with ESMTP id 55FE04C060F	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Fri, 22 Jun 2012 17:17:30 +0000 (UTC)
Received: from mail45-db3 (localhost.localdomain [127.0.0.1]) by mail45-db3 (MessageSwitch) id 1340385448516051_21025; Fri, 22 Jun 2012 17:17:28 +0000 (UTC)
Received: from DB3EHSMHS018.bigfish.com (unknown [10.3.81.242])	by mail45-db3.bigfish.com (Postfix) with ESMTP id 7C7EB36004E	for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 17:17:28 +0000 (UTC)
Received: from CH1PRD0310HT005.namprd03.prod.outlook.com (157.56.244.37) by DB3EHSMHS018.bigfish.com (10.3.87.118) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 22 Jun 2012 17:17:28 +0000
Received: from CH1PRD0310MB392.namprd03.prod.outlook.com ([169.254.6.164]) by CH1PRD0310HT005.namprd03.prod.outlook.com ([10.255.137.40]) with mapi id 14.16.0152.000; Fri, 22 Jun 2012 17:18:53 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: Ac1Ql09kO/Rw+g27QoWX3dckc0auaw==
Date: Fri, 22 Jun 2012 17:18:52 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.154]
Content-Type: multipart/alternative; boundary="_000_3605BA99C081B54EA9B65B3E33316AF7346C8551CH1PRD0310MB392_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PRD0310HT005.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC103.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC103.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.142; envelope-from=henrikn@microsoft.com; helo=db3outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1Si7WD-0008Ra-39 d00bbdc6d5949d98092060b71632d9ee
X-Original-To: ietf-http-wg@w3.org
Subject: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13875
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Si7WW-0004PU-UC@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 17:19:56 +0000

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

We just published a blog [1] analyzing the performance implications of cont=
ent optimizations such as bundling and minification on the performance of w=
eb pages. The data shows that by applying bundling and minification along w=
ith compression and pipelining it is possible to get significant gains in t=
he time it takes to get the content necessary to render a page as well as t=
he overall time it takes to download the data.

Not only does optimizing the content save bytes but it also has savings in =
the number of requests and responses that need to be processed as well as f=
aster render times due to being able to retrieve the HTML, CSS, and JS up f=
ront. In the test evaluated, the speedup was from 638 ms (uncompressed, unb=
undled, unminified, and not pipelined) down to 146 ms for the equivalent co=
mpressed, bundled, minified, and pipelined content. However, by just lookin=
g at the data necessary to lay out the page (HTML, CSS, and JS but not imag=
es), the time went from 631 ms to 126 ms with the images being finalized wi=
thin the remaining timespan from 126 to 146 ms.

It is the hope that this data can contribute to providing a baseline for ev=
aluating HTTP/2.0 proposals compared to how an efficient HTTP/1.x implement=
ation can perform while leverage optimizations throughout the stack to prov=
ide better user experience.

Comments welcome!

Thanks,

Henrik

[1] http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implicat=
ions-of-bundling-and-minification-on-http.aspx


--_000_3605BA99C081B54EA9B65B3E33316AF7346C8551CH1PRD0310MB392_
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-micr=
osoft-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=3D"Generator" 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:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
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-size:10.0pt;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
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=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">We just published a blog [1] analyzing the performan=
ce implications of content optimizations such as bundling and minification =
on the performance of web pages. The data shows that by applying bundling a=
nd minification along with compression
 and pipelining it is possible to get significant gains in the time it take=
s to get the content necessary to render a page as well as the overall time=
 it takes to download the data.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Not only does optimizing the content save bytes but =
it also has savings in the number of requests and responses that need to be=
 processed as well as faster render times due to being able to retrieve the=
 HTML, CSS, and JS up front.
<span lang=3D"EN">In the test evaluated, the speedup was from 638 ms (uncom=
pressed, unbundled, unminified, and not pipelined) down to 146 ms for the e=
quivalent compressed, bundled, minified, and pipelined content. However, by=
 just looking at the data necessary
 to lay out the page (HTML, CSS, and JS but not images), the time went from=
 631 ms to 126 ms with the images being finalized within the remaining time=
span from 126 to 146 ms.</span><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">It is the hope that this data can contribute to prov=
iding a baseline for evaluating HTTP/2.0 proposals compared to how an effic=
ient HTTP/1.x implementation can perform while leverage optimizations throu=
ghout the stack to provide better
 user experience.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Comments welcome!<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Henrik<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">[1] <a href=3D"http://blogs.msdn.com/b/henrikn/archi=
ve/2012/06/17/performance-implications-of-bundling-and-minification-on-http=
.aspx">
http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications=
-of-bundling-and-minification-on-http.aspx</a><o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_3605BA99C081B54EA9B65B3E33316AF7346C8551CH1PRD0310MB392_--


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 11:32: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 1FFD621F84DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 11:32:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.176
X-Spam-Level: 
X-Spam-Status: No, score=-9.176 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, GB_ABOUTYOU=0.5, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ehlyRGnFOgPS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 11:32:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 24D5A21F84DE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 11:32:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Si8dM-0004rc-3h for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 18:31:04 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <willchan@google.com>) id 1Si8d2-0004VV-DS for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 18:30:44 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1Si8cz-0004EI-6o for ietf-http-wg@w3.org; Fri, 22 Jun 2012 18:30:43 +0000
Received: by yenq11 with SMTP id q11so1856949yen.2 for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 11:30: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 :x-system-of-record; bh=ovKCq6oGxMlwLJcBevfIAKNMgayKs6txeO9JxJBU49I=; b=a2SjlXwJp5xJ+OaR0ePm99j9/qRur4gaDJKPkDRjZqaxnV2KrTTn8ZBlGl3iAkXNJn vqe/XIoN/4+NUL2C0+rzbtRvDM0v/dGW6YU6FMUtUdyNVR+z/be2wD4plBOT5sRomjaB neFDiW0Vqr8tAi6VTzpXoXnGFpqBRsGownzNlBx23FDyrnj54DyvO1dfVSk2LKZjGJhe Prde7HAfi4SpW1CI/uDRR3HGeXWn+42IjvdVVlY5u6nISgl03gEujlKMRzrtnOPvMl8z WmW0XThvOd9KHvrsvgyOdT6iYR8yQjl3UjJi/BsNmO+ab0cXMXONmOt5jhVDqDRD1jSh EcxQ==
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=ovKCq6oGxMlwLJcBevfIAKNMgayKs6txeO9JxJBU49I=; b=l2cPDznmfSDmm2fLEeN/dSf5+bP0mvOp3xNHeQ0E8qHXgIIOzAO4PCdHZ/fEw5nrX+ iLzLHI1j5mvJS8o0cOZ6lopcf28EFuWtIsIs68kuxxyVI9VGbTsOB1AEgvhLBtgyWtOM uBImZOaoQvaWDYWkUgZSJEPEjc10Uz54++1//x5IYvRV5nRe/4y3dFiFWGGrSgXuhJ9p xDRA9G9auwA+HdCzMQUTajPgXhATbnIPheNhsNs7Vdqjb1Y21w58zCuxQ+gIsIJb/b+8 YxiIEueqn5JhzLQvDlVxHcqXAbZEXCBzrvWTF8elfDxZWPJdCKHGfiPyoHq2XuKUt70S u9AQ==
Received: by 10.50.42.165 with SMTP id p5mr2613149igl.68.1340389814985; Fri, 22 Jun 2012 11:30:14 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.42.165 with SMTP id p5mr2613139igl.68.1340389814855; Fri, 22 Jun 2012 11:30:14 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.231.24.198 with HTTP; Fri, 22 Jun 2012 11:30:14 -0700 (PDT)
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
Date: Fri, 22 Jun 2012 11:30:14 -0700
X-Google-Sender-Auth: zsQKHYCLe_wWpqeOCgfKPa7g-UI
Message-ID: <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Content-Type: multipart/alternative; boundary=14dae9340445c6693304c313d28d
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQmhPm5m+7ICul/wO1LLU6RKPo3AEKBejnJvzuZ1klFic/4qP+ojqMZXdS4/Sle0VlmyVG7NLou70bXAnE+iNZAIG7VJUO+UYVwgp8Oj2QFlSddVQ0FyzNVaL+f/EahxLmpncYu9W75d5QABpzwqZkLnfFKbkslDy/+9ZEGTOnvZo+NOU9QKmzAr3T0c4rHDPqb1vQt8
Received-SPF: pass client-ip=209.85.213.171; envelope-from=willchan@google.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Si8cz-0004EI-6o e6c9ec77b36101e8d1fed08337488181
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13876
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Si8dM-0004rc-3h@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 18:31:04 +0000

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

Thanks for posting data here! Very much appreciated. I'm curious if you
have any normative claims to make about how this should impact HTTP/2.0
proposals. I can see arguments for how some of these techniques rightly
belong in the application layer, whereas some are working around issues in
HTTP, and we may want to address in HTTP/2.0. Oh, and I'm also curious
about your thoughts with regard to pipelining, since you brought it up in
this post and have noted that it has practical deployment issues.

On Fri, Jun 22, 2012 at 10:18 AM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:

>  We just published a blog [1] analyzing the performance implications of
> content optimizations such as bundling and minification on the performance
> of web pages. The data shows that by applying bundling and minification
> along with compression and pipelining it is possible to get significant
> gains in the time it takes to get the content necessary to render a page as
> well as the overall time it takes to download the data.****
>
> ** **
>
> Not only does optimizing the content save bytes but it also has savings in
> the number of requests and responses that need to be processed as well as
> faster render times due to being able to retrieve the HTML, CSS, and JS up
> front. In the test evaluated, the speedup was from 638 ms (uncompressed,
> unbundled, unminified, and not pipelined) down to 146 ms for the equivalent
> compressed, bundled, minified, and pipelined content. However, by just
> looking at the data necessary to lay out the page (HTML, CSS, and JS but
> not images), the time went from 631 ms to 126 ms with the images being
> finalized within the remaining timespan from 126 to 146 ms.****
>
> ** **
>
> It is the hope that this data can contribute to providing a baseline for
> evaluating HTTP/2.0 proposals compared to how an efficient HTTP/1.x
> implementation can perform while leverage optimizations throughout the
> stack to provide better user experience.****
>
> ** **
>
> Comments welcome!****
>
> ** **
>
> Thanks,****
>
> ** **
>
> Henrik****
>
> ** **
>
> [1]
> http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications-of-bundling-and-minification-on-http.aspx
> ****
>
> ** **
>

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

<div style=3D"font-family: arial, helvetica, sans-serif"><font size=3D"2">T=
hanks for posting data here! Very much appreciated. I&#39;m curious if you =
have any normative claims to make about how this should impact HTTP/2.0 pro=
posals. I can see arguments for how some of these techniques rightly belong=
 in the application layer, whereas some are working around issues in HTTP, =
and we may want to address in HTTP/2.0. Oh, and I&#39;m also curious about =
your thoughts with regard to pipelining, since you brought it up in this po=
st and have noted that it has practical deployment issues.<div>
<div><div><br><div class=3D"gmail_quote">On Fri, Jun 22, 2012 at 10:18 AM, =
Henrik Frystyk Nielsen <span dir=3D"ltr">&lt;<a href=3D"mailto:henrikn@micr=
osoft.com" target=3D"_blank">henrikn@microsoft.com</a>&gt;</span> wrote:<br=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex">






<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal">We just published a blog [1] analyzing the performan=
ce implications of content optimizations such as bundling and minification =
on the performance of web pages. The data shows that by applying bundling a=
nd minification along with compression
 and pipelining it is possible to get significant gains in the time it take=
s to get the content necessary to render a page as well as the overall time=
 it takes to download the data.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Not only does optimizing the content save bytes but =
it also has savings in the number of requests and responses that need to be=
 processed as well as faster render times due to being able to retrieve the=
 HTML, CSS, and JS up front.
<span lang=3D"EN">In the test evaluated, the speedup was from 638 ms (uncom=
pressed, unbundled, unminified, and not pipelined) down to 146 ms for the e=
quivalent compressed, bundled, minified, and pipelined content. However, by=
 just looking at the data necessary
 to lay out the page (HTML, CSS, and JS but not images), the time went from=
 631 ms to 126 ms with the images being finalized within the remaining time=
span from 126 to 146 ms.</span><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">It is the hope that this data can contribute to prov=
iding a baseline for evaluating HTTP/2.0 proposals compared to how an effic=
ient HTTP/1.x implementation can perform while leverage optimizations throu=
ghout the stack to provide better
 user experience.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Comments welcome!<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Thanks,<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Henrik<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">[1] <a href=3D"http://blogs.msdn.com/b/henrikn/archi=
ve/2012/06/17/performance-implications-of-bundling-and-minification-on-http=
.aspx" target=3D"_blank">
http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications=
-of-bundling-and-minification-on-http.aspx</a><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
</div>

</blockquote></div><br></div></div></div></font></div>

--14dae9340445c6693304c313d28d--


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 12:07: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 90E1521F84DF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 12:07:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.756
X-Spam-Level: 
X-Spam-Status: No, score=-7.756 tagged_above=-999 required=5 tests=[AWL=-2.843, BAYES_00=-2.599, GB_ABOUTYOU=0.5, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, MIME_BASE64_TEXT=1.753, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XH5teoTy8M3y for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 12:07:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 98C1221F84CE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 12:06:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Si9BP-0003kb-Dg for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 19:06:15 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1Si9B7-0003iS-4K for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 19:05:57 +0000
Received: from ch1ehsobe004.messaging.microsoft.com ([216.32.181.184] helo=ch1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1Si9B3-00037f-KD for ietf-http-wg@w3.org; Fri, 22 Jun 2012 19:05:55 +0000
Received: from mail88-ch1-R.bigfish.com (10.43.68.241) by CH1EHSOBE012.bigfish.com (10.43.70.62) with Microsoft SMTP Server id 14.1.225.23; Fri, 22 Jun 2012 19:03:56 +0000
Received: from mail88-ch1 (localhost [127.0.0.1])	by mail88-ch1-R.bigfish.com (Postfix) with ESMTP id 6077648054A	for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 19:03:56 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC104.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -4
X-BigFish: VS-4(zz98dI9371Ic85bh148cI4015Izz1202hzz8275bh8275dhz2fh2a8h683h839hd25hf0ah)
Received-SPF: pass (mail88-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC104.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.244.37;KIP:(null);UIP:(null);(null);H:CH1PRD0310HT005.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail88-ch1 (localhost.localdomain [127.0.0.1]) by mail88-ch1 (MessageSwitch) id 1340391833885958_3428; Fri, 22 Jun 2012 19:03:53 +0000 (UTC)
Received: from CH1EHSMHS014.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.230])	by mail88-ch1.bigfish.com (Postfix) with ESMTP id D6B892E0046 for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 19:03:53 +0000 (UTC)
Received: from TK5EX14MLTC104.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS014.bigfish.com (10.43.70.14) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 22 Jun 2012 19:03:53 +0000
Received: from va3outboundpool.messaging.microsoft.com (157.54.51.80) by mail.microsoft.com (157.54.79.159) with Microsoft SMTP Server (TLS) id 14.2.298.5; Fri, 22 Jun 2012 19:05:23 +0000
Received: from mail82-va3-R.bigfish.com (10.7.14.248) by VA3EHSOBE009.bigfish.com (10.7.40.29) with Microsoft SMTP Server id 14.1.225.23; Fri, 22 Jun 2012 19:03:47 +0000
Received: from mail82-va3 (localhost [127.0.0.1])	by mail82-va3-R.bigfish.com (Postfix) with ESMTP id 1B3C6420460	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Fri, 22 Jun 2012 19:03:47 +0000 (UTC)
Received: from mail82-va3 (localhost.localdomain [127.0.0.1]) by mail82-va3 (MessageSwitch) id 1340391826159913_27458; Fri, 22 Jun 2012 19:03:46 +0000 (UTC)
Received: from VA3EHSMHS031.bigfish.com (unknown [10.7.14.254])	by mail82-va3.bigfish.com (Postfix) with ESMTP id 19DA34E004B;	Fri, 22 Jun 2012 19:03:46 +0000 (UTC)
Received: from CH1PRD0310HT005.namprd03.prod.outlook.com (157.56.244.37) by VA3EHSMHS031.bigfish.com (10.7.99.41) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 22 Jun 2012 19:03:45 +0000
Received: from CH1PRD0310MB392.namprd03.prod.outlook.com ([169.254.6.164]) by CH1PRD0310HT005.namprd03.prod.outlook.com ([10.255.137.40]) with mapi id 14.16.0152.000; Fri, 22 Jun 2012 19:05:06 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: =?gb2312?B?V2lsbGlhbSBDaGFuICizwtbHsv0p?= <willchan@chromium.org>
CC: HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: Ac1Ql09kO/Rw+g27QoWX3dckc0auawADcEUAAAAMGyA=
Date: Fri, 22 Jun 2012 19:05:06 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com>
In-Reply-To: <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.154]
Content-Type: multipart/alternative; boundary="_000_3605BA99C081B54EA9B65B3E33316AF7346C9CBDCH1PRD0310MB392_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PRD0310HT005.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%CHROMIUM.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC104.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC104.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.184; envelope-from=henrikn@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1Si9B3-00037f-KD f577c32177734a3401675caac26ecc9e
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on  HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13877
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Si9BP-0003kb-Dg@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 19:06:15 +0000

--_000_3605BA99C081B54EA9B65B3E33316AF7346C9CBDCH1PRD0310MB392_
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64

VGhlIG1haW4gcG9pbnQgaXMgdG8gZXN0YWJsaXNoIGEgYmFzZWxpbmUgZm9yIGhvdyB3ZWxsIGFu
IG9wdGltaXplZCBIVFRQLzEuMSBpbXBsZW1lbnRhdGlvbiB3aXRoIG9wdGltaXplZCBjb250ZW50
IGNhbiBwZXJmb3JtLiBHaXZlbiBzdWNoIGEgYmFzZWxpbmUgaXQgaXMgbXVjaCBlYXNpZXIgdG8g
Y29tcGFyZSBIVFRQLzIuMCBpZGVhcyBhbmQgZXZhbHVhdGUgdGhlIHBvc2l0aXZlcyBhbmQvb3Ig
bmVnYXRpdmVzIG9mIGFsdGVybmF0aXZlIHNvbHV0aW9ucy4gQXMgc3VjaCBJIGFtIG5vdCBtYWtp
bmcgYW55IG5vcm1hdGl2ZSBjbGFpbXMgcGVyIHNlIGJ1dCB0aGVyZSBpbmRlZWQgYXJlIHR3byBw
b2ludHMgdGhhdCBJIHRoaW5rIGFyZSBpbXBvcnRhbnQgdG8gb2JzZXJ2ZToNCg0KDQoxKSAgICAg
IEl0IHNlZW1zIHNhZmUgdG8gYXNzZXJ0IHRoYXQgd2hhdGV2ZXIgd2UgY29tZSB1cCB3aXRoIGlu
IEhUVFAvMi4wIHNob3VsZCBiZSBzaWduaWZpY2FudGx5IGZhc3RlciB0aGFuIHdoYXQgY2FuIGJl
IGFjaGlldmVkIHdpdGggYW4gb3B0aW1pemVkIEhUVFAvMS4xIGltcGxlbWVudGF0aW9uLiBJIGRv
bqGvdCB0aGluayBzcGVlZCBpcyB0aGUgb25seSByZWFzb24gZm9yIGNvbnNpZGVyaW5nIEhUVFAv
Mi4wIGJ1dCBpdCBpcyBhbiBpbXBvcnRhbnQgb25lIGFuZCBzbyB3ZSBoYXZlIHRvIGJlIGFibGUg
dG8gY29tcGFyZSBudW1iZXJzLg0KDQoNCg0KMikgICAgICBXaXRob3V0IHRha2luZyBhIGJyb2Fk
ZXIgdmlldyBvZiBwZXJmb3JtYW5jZSB0aGF0IGluY2x1ZGVzIHRoZSBjb250ZW50IGFzIGFuIGlu
dGVncmFsIHBhcnQgeW91IHNpbXBseSBjYW5ub3QgbWVhbmluZ2Z1bGx5IGV4cGVjdCB0byBnZXQg
YSBmYXN0IHN5c3RlbS4gSW4gb3RoZXIgd29yZHMsIHRoZXJlIGlzIG5vIHdheSB0aGF0IGFuIGFw
cGxpY2F0aW9uIHByb3RvY29sIGNhbiBjb21wZW5zYXRlIGZvciBiYWRseSBjb21wb3NlZCBjb250
ZW50LiBGb3IgZXhhbXBsZSwgaWYgeW91IHB1dCB5b3VyIGxpbmtzIHRvIENTUyBhbmQgSlMgZGVl
cCBkb3duIGluIHlvdXIgSFRNTCBvciByZWx5IG9uIDEwMCByZXF1ZXN0cyB0byBiZSBjb21wbGV0
ZSBpbiBvcmRlciB0byByZW5kZXIgYSBwYWdlIHRoZW4gbm8gYW1vdW50IG9mIHByb3RvY29sIG9w
dGltaXphdGlvbnMgY2FuIGVmZmVjdGl2ZWx5IGhlbHAgeW91LiBNZWNoYW5pc21zIHN1Y2ggYXMg
YnVuZGxpbmcsIG1pbmlmaWNhdGlvbiwgYW5kIGNvbXByZXNzaW9uIGNhbiBwbGF5IGEgc2lnbmlm
aWNhbnQgcm9sZSBoZXJlLg0KDQpBcyB0byBwaXBlbGluaW5nLCB0aGUgcmVhbGl0eSBpcyB0aGF0
IGJlaW5nIGFibGUgdG8gc2VuZCByZXF1ZXN0cyBhbmQgcmVzcG9uc2VzIHdpdGhvdXQgZGVsYXkg
aXMgYSBtdXN0IGluIGFueSBlbnZpcm9ubWVudCB3aXRoIG5vdGljZWFibGUgUlRUcy4gV2hldGhl
ciBpdCBoYXBwZW5zIHVzaW5nIEhUVFAvMS4xIHBpcGVsaW5pbmcgb3IgdmlhIHNvbWUgb3RoZXIg
bWVjaGFuaXNtIGNhbiBiZSBkaXNjdXNzZWQgYnV0IHRoZXJlIGlzIG5vIHdheSB0aGF0IHdlIGNh
biBnZXQgYmV0dGVyIHBlcmZvcm1hbmNlIHdpdGhvdXQgaXQuIEkgZG8gdW5kZXJzdGFuZCB0aGF0
IHRoZXJlIGFyZSBsaW1pdGF0aW9ucyBpbiBob3cgd2VsbCBpdCBpcyBkZXBsb3llZCBidXQgSSBh
bSBkdWJpb3VzIHRoYXQganVzdCBkZXBsb3lpbmcgc29tZXRoaW5nIGRpZmZlcmVudCBpbmhlcmVu
dGx5IHdpbGwgc29sdmUgdGhhdCB1bmxlc3Mgd2Uga25vdyB0aGUgcm9vdCBjYXVzZS4NCg0KVGhh
bmtzLA0KDQpIZW5yaWsNCg0KRnJvbTogd2lsbGNoYW5AZ29vZ2xlLmNvbSBbbWFpbHRvOndpbGxj
aGFuQGdvb2dsZS5jb21dIE9uIEJlaGFsZiBPZiBXaWxsaWFtIENoYW4gKD8/PykNClNlbnQ6IEZy
aWRheSwgSnVuZSAyMiwgMjAxMiAxMTozMCBBTQ0KVG86IEhlbnJpayBGcnlzdHlrIE5pZWxzZW4N
CkNjOiBIVFRQIFdvcmtpbmcgR3JvdXA7IEhvd2FyZCBEaWVya2luZw0KU3ViamVjdDogUmU6IFBl
cmZvcm1hbmNlIGltcGxpY2F0aW9ucyBvZiBCdW5kbGluZyBhbmQgTWluaWZpY2F0aW9uIG9uIEhU
VFAvMS4xDQoNClRoYW5rcyBmb3IgcG9zdGluZyBkYXRhIGhlcmUhIFZlcnkgbXVjaCBhcHByZWNp
YXRlZC4gSSdtIGN1cmlvdXMgaWYgeW91IGhhdmUgYW55IG5vcm1hdGl2ZSBjbGFpbXMgdG8gbWFr
ZSBhYm91dCBob3cgdGhpcyBzaG91bGQgaW1wYWN0IEhUVFAvMi4wIHByb3Bvc2Fscy4gSSBjYW4g
c2VlIGFyZ3VtZW50cyBmb3IgaG93IHNvbWUgb2YgdGhlc2UgdGVjaG5pcXVlcyByaWdodGx5IGJl
bG9uZyBpbiB0aGUgYXBwbGljYXRpb24gbGF5ZXIsIHdoZXJlYXMgc29tZSBhcmUgd29ya2luZyBh
cm91bmQgaXNzdWVzIGluIEhUVFAsIGFuZCB3ZSBtYXkgd2FudCB0byBhZGRyZXNzIGluIEhUVFAv
Mi4wLiBPaCwgYW5kIEknbSBhbHNvIGN1cmlvdXMgYWJvdXQgeW91ciB0aG91Z2h0cyB3aXRoIHJl
Z2FyZCB0byBwaXBlbGluaW5nLCBzaW5jZSB5b3UgYnJvdWdodCBpdCB1cCBpbiB0aGlzIHBvc3Qg
YW5kIGhhdmUgbm90ZWQgdGhhdCBpdCBoYXMgcHJhY3RpY2FsIGRlcGxveW1lbnQgaXNzdWVzLg0K
DQpPbiBGcmksIEp1biAyMiwgMjAxMiBhdCAxMDoxOCBBTSwgSGVucmlrIEZyeXN0eWsgTmllbHNl
biA8aGVucmlrbkBtaWNyb3NvZnQuY29tPG1haWx0bzpoZW5yaWtuQG1pY3Jvc29mdC5jb20+PiB3
cm90ZToNCldlIGp1c3QgcHVibGlzaGVkIGEgYmxvZyBbMV0gYW5hbHl6aW5nIHRoZSBwZXJmb3Jt
YW5jZSBpbXBsaWNhdGlvbnMgb2YgY29udGVudCBvcHRpbWl6YXRpb25zIHN1Y2ggYXMgYnVuZGxp
bmcgYW5kIG1pbmlmaWNhdGlvbiBvbiB0aGUgcGVyZm9ybWFuY2Ugb2Ygd2ViIHBhZ2VzLiBUaGUg
ZGF0YSBzaG93cyB0aGF0IGJ5IGFwcGx5aW5nIGJ1bmRsaW5nIGFuZCBtaW5pZmljYXRpb24gYWxv
bmcgd2l0aCBjb21wcmVzc2lvbiBhbmQgcGlwZWxpbmluZyBpdCBpcyBwb3NzaWJsZSB0byBnZXQg
c2lnbmlmaWNhbnQgZ2FpbnMgaW4gdGhlIHRpbWUgaXQgdGFrZXMgdG8gZ2V0IHRoZSBjb250ZW50
IG5lY2Vzc2FyeSB0byByZW5kZXIgYSBwYWdlIGFzIHdlbGwgYXMgdGhlIG92ZXJhbGwgdGltZSBp
dCB0YWtlcyB0byBkb3dubG9hZCB0aGUgZGF0YS4NCg0KTm90IG9ubHkgZG9lcyBvcHRpbWl6aW5n
IHRoZSBjb250ZW50IHNhdmUgYnl0ZXMgYnV0IGl0IGFsc28gaGFzIHNhdmluZ3MgaW4gdGhlIG51
bWJlciBvZiByZXF1ZXN0cyBhbmQgcmVzcG9uc2VzIHRoYXQgbmVlZCB0byBiZSBwcm9jZXNzZWQg
YXMgd2VsbCBhcyBmYXN0ZXIgcmVuZGVyIHRpbWVzIGR1ZSB0byBiZWluZyBhYmxlIHRvIHJldHJp
ZXZlIHRoZSBIVE1MLCBDU1MsIGFuZCBKUyB1cCBmcm9udC4gSW4gdGhlIHRlc3QgZXZhbHVhdGVk
LCB0aGUgc3BlZWR1cCB3YXMgZnJvbSA2MzggbXMgKHVuY29tcHJlc3NlZCwgdW5idW5kbGVkLCB1
bm1pbmlmaWVkLCBhbmQgbm90IHBpcGVsaW5lZCkgZG93biB0byAxNDYgbXMgZm9yIHRoZSBlcXVp
dmFsZW50IGNvbXByZXNzZWQsIGJ1bmRsZWQsIG1pbmlmaWVkLCBhbmQgcGlwZWxpbmVkIGNvbnRl
bnQuIEhvd2V2ZXIsIGJ5IGp1c3QgbG9va2luZyBhdCB0aGUgZGF0YSBuZWNlc3NhcnkgdG8gbGF5
IG91dCB0aGUgcGFnZSAoSFRNTCwgQ1NTLCBhbmQgSlMgYnV0IG5vdCBpbWFnZXMpLCB0aGUgdGlt
ZSB3ZW50IGZyb20gNjMxIG1zIHRvIDEyNiBtcyB3aXRoIHRoZSBpbWFnZXMgYmVpbmcgZmluYWxp
emVkIHdpdGhpbiB0aGUgcmVtYWluaW5nIHRpbWVzcGFuIGZyb20gMTI2IHRvIDE0NiBtcy4NCg0K
SXQgaXMgdGhlIGhvcGUgdGhhdCB0aGlzIGRhdGEgY2FuIGNvbnRyaWJ1dGUgdG8gcHJvdmlkaW5n
IGEgYmFzZWxpbmUgZm9yIGV2YWx1YXRpbmcgSFRUUC8yLjAgcHJvcG9zYWxzIGNvbXBhcmVkIHRv
IGhvdyBhbiBlZmZpY2llbnQgSFRUUC8xLnggaW1wbGVtZW50YXRpb24gY2FuIHBlcmZvcm0gd2hp
bGUgbGV2ZXJhZ2Ugb3B0aW1pemF0aW9ucyB0aHJvdWdob3V0IHRoZSBzdGFjayB0byBwcm92aWRl
IGJldHRlciB1c2VyIGV4cGVyaWVuY2UuDQoNCkNvbW1lbnRzIHdlbGNvbWUhDQoNClRoYW5rcywN
Cg0KSGVucmlrDQoNClsxXSBodHRwOi8vYmxvZ3MubXNkbi5jb20vYi9oZW5yaWtuL2FyY2hpdmUv
MjAxMi8wNi8xNy9wZXJmb3JtYW5jZS1pbXBsaWNhdGlvbnMtb2YtYnVuZGxpbmctYW5kLW1pbmlm
aWNhdGlvbi1vbi1odHRwLmFzcHgNCg0KDQo=

--_000_3605BA99C081B54EA9B65B3E33316AF7346C9CBDCH1PRD0310MB392_
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-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=3Dgb2312">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:SimSun;
	mso-fareast-language:ZH-CN;}
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;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:SimSun;
	mso-fareast-language:ZH-CN;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:5980549;
	mso-list-type:hybrid;
	mso-list-template-ids:-1948986340 67698705 67698713 67698715 67698703 6769=
8713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-text:"%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></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=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">The main point is to esta=
blish a baseline for how well an optimized HTTP/1.1 implementation with opt=
imized content can perform. Given such a baseline it is
 much easier to compare HTTP/2.0 ideas and evaluate the positives and/or ne=
gatives of alternative solutions. As such I am not making any normative cla=
ims per se but there indeed are two points that I think are important to ob=
serve:<o:p></o:p></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"><o:p>&nbsp;</o:p></span><=
/p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso-=
list:Ignore">1)<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">It seems safe to =
assert that whatever we come up with in HTTP/2.0 should be significantly fa=
ster than what can be achieved with an optimized HTTP/1.1
 implementation. I don=A1=AFt think speed is the only reason for considerin=
g HTTP/2.0 but it is an important one and so we have to be able to compare =
numbers.<o:p></o:p></span></p>
<p class=3D"MsoListParagraph"><span style=3D"font-size:11.0pt;font-family:&=
quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p><=
/span></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-size:11.0pt;font-family:&q=
uot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><span style=3D"mso-=
list:Ignore">2)<span style=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]><span style=3D"font-size:11.0pt;font-family:=
&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Without taking a =
broader view of performance that includes the content as an integral part y=
ou simply cannot meaningfully expect to get a fast system.
 In other words, there is no way that an application protocol can compensat=
e for badly composed content. For example, if you put your links to CSS and=
 JS deep down in your HTML or rely on 100 requests to be complete in order =
to render a page then no amount
 of protocol optimizations can effectively help you. Mechanisms such as bun=
dling, minification, and compression can play a significant role here.<o:p>=
</o:p></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"><o:p>&nbsp;</o:p></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">As to pipelining, the rea=
lity is that being able to send requests and responses without delay is a m=
ust in any environment with noticeable RTTs. Whether it
 happens using HTTP/1.1 pipelining or via some other mechanism can be discu=
ssed but there is no way that we can get better performance without it. I d=
o understand that there are limitations in how well it is deployed but I am=
 dubious that just deploying something
 different inherently will solve that unless we know the root cause. &nbsp;=
<o:p></o:p></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"><o:p>&nbsp;</o:p></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,<o:p></o:p></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"><o:p>&nbsp;</o:p></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">Henrik<o:p></o:p></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"><o:p>&nbsp;</o:p></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;"> willchan=
@google.com [mailto:willchan@google.com]
<b>On Behalf Of </b>William Chan (???)<br>
<b>Sent:</b> Friday, June 22, 2012 11:30 AM<br>
<b>To:</b> Henrik Frystyk Nielsen<br>
<b>Cc:</b> HTTP Working Group; Howard Dierking<br>
<b>Subject:</b> Re: Performance implications of Bundling and Minification o=
n HTTP/1.1<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">Thanks for posting data here! Very much a=
ppreciated. I'm curious if you have any normative claims to make about how =
this should impact HTTP/2.0 proposals. I can see arguments
 for how some of these techniques rightly belong in the application layer, =
whereas some are working around issues in HTTP, and we may want to address =
in HTTP/2.0. Oh, and I'm also curious about your thoughts with regard to pi=
pelining, since you brought it up
 in this post and have noted that it has practical deployment issues.<o:p><=
/o:p></span></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">On Fri, Jun 22, 2012 at 10:18 AM, Henrik =
Frystyk Nielsen &lt;<a href=3D"mailto:henrikn@microsoft.com" target=3D"_bla=
nk">henrikn@microsoft.com</a>&gt; wrote:<o:p></o:p></span></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">We just published a blog [1] analyzing the performance implication=
s of content optimizations such as bundling and minification on the perform=
ance of web pages. The data shows that
 by applying bundling and minification along with compression and pipelinin=
g it is possible to get significant gains in the time it takes to get the c=
ontent necessary to render a page as well as the overall time it takes to d=
ownload the data.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Not only does optimizing the content save bytes but it also has sa=
vings in the number of requests and responses that need to be processed as =
well as faster render times due to being
 able to retrieve the HTML, CSS, and JS up front. <span lang=3D"EN">In the =
test evaluated, the speedup was from 638 ms (uncompressed, unbundled, unmin=
ified, and not pipelined) down to 146 ms for the equivalent compressed, bun=
dled, minified, and pipelined content.
 However, by just looking at the data necessary to lay out the page (HTML, =
CSS, and JS but not images), the time went from 631 ms to 126 ms with the i=
mages being finalized within the remaining timespan from 126 to 146 ms.</sp=
an><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">It is the hope that this data can contribute to providing a baseli=
ne for evaluating HTTP/2.0 proposals compared to how an efficient HTTP/1.x =
implementation can perform while leverage
 optimizations throughout the stack to provide better user experience.<o:p>=
</o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Comments welcome!<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Henrik<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">[1]
<a href=3D"http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-i=
mplications-of-bundling-and-minification-on-http.aspx" target=3D"_blank">
http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications=
-of-bundling-and-minification-on-http.aspx</a><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;"><o:p>&nbsp;</o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_3605BA99C081B54EA9B65B3E33316AF7346C9CBDCH1PRD0310MB392_--


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 13:12: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 D924821F85D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 13:12:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.198
X-Spam-Level: 
X-Spam-Status: No, score=-10.198 tagged_above=-999 required=5 tests=[AWL=-0.100, BAYES_00=-2.599, GB_ABOUTYOU=0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Io7OaP2rdIkt for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 13:12:20 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2FB1B11E807F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 13:12:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiAAi-00019j-Cx for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 20:09:36 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1SiAAP-00018S-Ox for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 20:09:17 +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 <grmocg@gmail.com>) id 1SiAAJ-0004x7-ML for ietf-http-wg@w3.org; Fri, 22 Jun 2012 20:09:15 +0000
Received: by wibhr4 with SMTP id hr4so840580wib.8 for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 13:08: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:date:message-id:subject:from:to :cc:content-type; bh=rS4oiTsXGMuzrGVBg6N3fjuuSYagsp599oREmbsTEzE=; b=uWHgTVEoSxC+G+C+Y0k99vAEOd3BkVF51vfpSHi81a+RCB4Ar16IYbeG8N4XdLL/Am 7pyFUJOsy/TmYA3zCwZX6lReh6nPp0oVtb/8baFk8GCOcbYQ6YSU7gEyp8zAranh8YxU nljxYlt0C04KoGyV1pi1ojRnL1bg1NOMlVEqpKuWHoHD+EkVPuHdo+mHsPJ/21Re77hQ v8/U3zHmeHVjyPqULvwQSKhEHlmcwa8VH3T8u8DDwpHiLBqqpnOjFiKNmR+FF1waKUxd nrylJIufl/ArLUn1nBpBR9GJfuc6hmGR8cQTYnsN5NTrJPEw21VXsGB2bGS/sUYK+oPJ FXdQ==
MIME-Version: 1.0
Received: by 10.180.107.70 with SMTP id ha6mr7145058wib.10.1340395725349; Fri, 22 Jun 2012 13:08:45 -0700 (PDT)
Received: by 10.194.46.42 with HTTP; Fri, 22 Jun 2012 13:08:45 -0700 (PDT)
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com> <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com>
Date: Fri, 22 Jun 2012 13:08:45 -0700
Message-ID: <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>,  HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Content-Type: multipart/alternative; boundary=e89a8f234d091164c504c315335e
Received-SPF: pass client-ip=209.85.212.179; envelope-from=grmocg@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: maggie.w3.org 1SiAAJ-0004x7-ML 1c553c742c7390db2ad595107360aa6a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13878
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiAAi-00019j-Cx@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 20:09:36 +0000

--e89a8f234d091164c504c315335e
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Nice data!

On Fri, Jun 22, 2012 at 12:05 PM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:

>  The main point is to establish a baseline for how well an optimized
> HTTP/1.1 implementation with optimized content can perform. Given such a
> baseline it is much easier to compare HTTP/2.0 ideas and evaluate the
> positives and/or negatives of alternative solutions. As such I am not
> making any normative claims per se but there indeed are two points that I
> think are important to observe:****
>
> ** **
>
> **1)      **It seems safe to assert that whatever we come up with in
> HTTP/2.0 should be significantly faster than what can be achieved with an
> optimized HTTP/1.1 implementation. I don=92t think speed is the only reas=
on
> for considering HTTP/2.0 but it is an important one and so we have to be
> able to compare numbers.****
>
> **
>
I'd argue another point.
The amount of work necessary to optimize site performance for HTTP/1.1
today is large. The amount of knowledge necessary to do it properly is also
large.
This is not the way it should be!

The protocol should make it easier to do things right, and it should help
in the (extremely frequent and likely) case that the site designer gets it
wrong in little ways.



> **
>
> **2)      **Without taking a broader view of performance that includes
> the content as an integral part you simply cannot meaningfully expect to
> get a fast system. In other words, there is no way that an application
> protocol can compensate for badly composed content. For example, if you p=
ut
> your links to CSS and JS deep down in your HTML or rely on 100 requests t=
o
> be complete in order to render a page then no amount of protocol
> optimizations can effectively help you. Mechanisms such as bundling,
> minification, and compression can play a significant role here.
>
"...no amount of protocol optimizations can effectively help you."
Note that this isn't strictly true :)
Feeding back into the statement I made above, as an example: response
reordering/interleaving, etc. can go pretty far in mitigating the damage
done by suboptimal link ordering. It can't help in some pathological cases,
true, but I'd guess that most sites don't present the pathological worst
case...
A protocol which allows for bundling without requiring the site developer
to deal with it increases the chance that a site's latency approaches
closer to optimal.


> ****
>
> ** **
>
> As to pipelining, the reality is that being able to send requests and
> responses without delay is a must in any environment with noticeable RTTs=
.
> Whether it happens using HTTP/1.1 pipelining or via some other mechanism
> can be discussed but there is no way that we can get better performance
> without it. I do understand that there are limitations in how well it is
> deployed but I am dubious that just deploying something different
> inherently will solve that unless we know the root cause.
>

But don't we already understand the root cause? Isn't it intercepting
proxies?
Basically, that a number of proxies considered parts of the spec optional,
and took shortcuts, and are deployed in such a fashion as to intercept and
disrupt communications between parties that would otherwise be able to
communicate without problem?

Deploying over a channel that does not have these intercepting proxies
solves this problem. We know that we don't have this problem to any degree
that matters for SPDY, for instance.
Is it worth generating a separate table for doing the various optimizations
over HTTPS?
-=3DR



> ****
>
> ** **
>
> Thanks,****
>
> ** **
>
> Henrik****
>
> ** **
>
> *From:* willchan@google.com [mailto:willchan@google.com] *On Behalf Of *W=
illiam
> Chan (???)
> *Sent:* Friday, June 22, 2012 11:30 AM
> *To:* Henrik Frystyk Nielsen
> *Cc:* HTTP Working Group; Howard Dierking
> *Subject:* Re: Performance implications of Bundling and Minification on
> HTTP/1.1****
>
> ** **
>
> Thanks for posting data here! Very much appreciated. I'm curious if you
> have any normative claims to make about how this should impact HTTP/2.0
> proposals. I can see arguments for how some of these techniques rightly
> belong in the application layer, whereas some are working around issues i=
n
> HTTP, and we may want to address in HTTP/2.0. Oh, and I'm also curious
> about your thoughts with regard to pipelining, since you brought it up in
> this post and have noted that it has practical deployment issues.****
>
> ** **
>
> On Fri, Jun 22, 2012 at 10:18 AM, Henrik Frystyk Nielsen <
> henrikn@microsoft.com> wrote:****
>
> We just published a blog [1] analyzing the performance implications of
> content optimizations such as bundling and minification on the performanc=
e
> of web pages. The data shows that by applying bundling and minification
> along with compression and pipelining it is possible to get significant
> gains in the time it takes to get the content necessary to render a page =
as
> well as the overall time it takes to download the data.****
>
>  ****
>
> Not only does optimizing the content save bytes but it also has savings i=
n
> the number of requests and responses that need to be processed as well as
> faster render times due to being able to retrieve the HTML, CSS, and JS u=
p
> front. In the test evaluated, the speedup was from 638 ms (uncompressed,
> unbundled, unminified, and not pipelined) down to 146 ms for the equivale=
nt
> compressed, bundled, minified, and pipelined content. However, by just
> looking at the data necessary to lay out the page (HTML, CSS, and JS but
> not images), the time went from 631 ms to 126 ms with the images being
> finalized within the remaining timespan from 126 to 146 ms.****
>
>  ****
>
> It is the hope that this data can contribute to providing a baseline for
> evaluating HTTP/2.0 proposals compared to how an efficient HTTP/1.x
> implementation can perform while leverage optimizations throughout the
> stack to provide better user experience.****
>
>  ****
>
> Comments welcome!****
>
>  ****
>
> Thanks,****
>
>  ****
>
> Henrik****
>
>  ****
>
> [1]
> http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implicatio=
ns-of-bundling-and-minification-on-http.aspx
> ****
>
>  ****
>
> ** **
>

--e89a8f234d091164c504c315335e
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Nice data!<br><br><div class=3D"gmail_quote">On Fri, Jun 22, 2012 at 12:05 =
PM, Henrik Frystyk Nielsen <span dir=3D"ltr">&lt;<a href=3D"mailto:henrikn@=
microsoft.com" target=3D"_blank">henrikn@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">





<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">The main point is to esta=
blish a baseline for how well an optimized HTTP/1.1 implementation with opt=
imized content can perform. Given such a baseline it is
 much easier to compare HTTP/2.0 ideas and evaluate the positives and/or ne=
gatives of alternative solutions. As such I am not making any normative cla=
ims per se but there indeed are two points that I think are important to ob=
serve:<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><u></u><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&=
quot;sans-serif&quot;;color:#1f497d"><span>1)<span style=3D"font:7.0pt &quo=
t;Times New Roman&quot;">=A0=A0=A0=A0=A0
</span></span></span><u></u><span style=3D"font-size:11.0pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">It seems safe to ass=
ert that whatever we come up with in HTTP/2.0 should be significantly faste=
r than what can be achieved with an optimized HTTP/1.1
 implementation. I don=92t think speed is the only reason for considering H=
TTP/2.0 but it is an important one and so we have to be able to compare num=
bers.<u></u><u></u></span></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1f497d"><u></u>=A0</span></p></div></div></blockquote=
><div>I&#39;d argue another point.</div><div>The amount of work necessary t=
o optimize site performance for HTTP/1.1 today is large. The amount of know=
ledge necessary to do it properly is also large.</div>
<div>This is not the way it should be!</div><div><br></div><div>The protoco=
l should make it easier to do things right, and it should help in the (extr=
emely frequent and likely) case that the site designer gets it wrong in lit=
tle ways.</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 lang=3D"EN=
-US" link=3D"blue" vlink=3D"purple"><div><p><span style=3D"font-size:11.0pt=
;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u><=
/u></span></p>

<p><u></u><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&=
quot;sans-serif&quot;;color:#1f497d"><span>2)<span style=3D"font:7.0pt &quo=
t;Times New Roman&quot;">=A0=A0=A0=A0=A0
</span></span></span><u></u><span style=3D"font-size:11.0pt;font-family:&qu=
ot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Without taking a bro=
ader view of performance that includes the content as an integral part you =
simply cannot meaningfully expect to get a fast system.
 In other words, there is no way that an application protocol can compensat=
e for badly composed content. For example, if you put your links to CSS and=
 JS deep down in your HTML or rely on 100 requests to be complete in order =
to render a page then no amount
 of protocol optimizations can effectively help you. Mechanisms such as bun=
dling, minification, and compression can play a significant role here.</spa=
n></p></div></div></blockquote><div>&quot;...no amount of protocol optimiza=
tions can effectively help you.&quot;</div>
<div>Note that this isn&#39;t strictly true :)</div><div>Feeding back into =
the statement I made above, as an example: response reordering/interleaving=
, etc. can go pretty far in mitigating the damage done by suboptimal link o=
rdering. It can&#39;t help in some=A0pathological=A0cases, true, but I&#39;=
d guess that most sites don&#39;t present the pathological worst case...</d=
iv>
<div>A protocol which allows for bundling without requiring the site develo=
per to deal with it increases the chance that a site&#39;s latency approach=
es closer to optimal.</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 lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p><span style=3D"f=
ont-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;colo=
r:#1f497d"><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">As to pipelining, the rea=
lity is that being able to send requests and responses without delay is a m=
ust in any environment with noticeable RTTs. Whether it
 happens using HTTP/1.1 pipelining or via some other mechanism can be discu=
ssed but there is no way that we can get better performance without it. I d=
o understand that there are limitations in how well it is deployed but I am=
 dubious that just deploying something
 different inherently will solve that unless we know the root cause. =A0</s=
pan></p></div></div></blockquote><div><br></div><div>But don&#39;t we alrea=
dy understand the root cause? Isn&#39;t it intercepting proxies?</div><div>
Basically, that a number of proxies considered parts of the spec optional, =
and took shortcuts, and are deployed in such a fashion as to intercept and =
disrupt communications between parties that would otherwise be able to comm=
unicate without problem?</div>
<div><br></div><div>Deploying over a channel that does not have these inter=
cepting proxies solves this problem. We know that we don&#39;t have this pr=
oblem to any degree that matters for SPDY, for instance.</div><div>Is it wo=
rth generating a separate table for doing the various optimizations over HT=
TPS?</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 lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p class=3D"MsoNor=
mal"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;=
sans-serif&quot;;color:#1f497d"><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"><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">Henrik<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"><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;"> <a href=
=3D"mailto:willchan@google.com" target=3D"_blank">willchan@google.com</a> [=
mailto:<a href=3D"mailto:willchan@google.com" target=3D"_blank">willchan@go=
ogle.com</a>]
<b>On Behalf Of </b>William Chan (???)<br>
<b>Sent:</b> Friday, June 22, 2012 11:30 AM<br>
<b>To:</b> Henrik Frystyk Nielsen<br>
<b>Cc:</b> HTTP Working Group; Howard Dierking<br>
<b>Subject:</b> Re: Performance implications of Bundling and Minification o=
n HTTP/1.1<u></u><u></u></span></p><div><div class=3D"h5">
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">Thanks for posting data here! Very much a=
ppreciated. I&#39;m curious if you have any normative claims to make about =
how this should impact HTTP/2.0 proposals. I can see arguments
 for how some of these techniques rightly belong in the application layer, =
whereas some are working around issues in HTTP, and we may want to address =
in HTTP/2.0. Oh, and I&#39;m also curious about your thoughts with regard t=
o pipelining, since you brought it up
 in this post and have noted that it has practical deployment issues.<u></u=
><u></u></span></p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;"><u></u>=A0<u></u></span></p>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;">On Fri, Jun 22, 2012 at 10:18 AM, Henrik =
Frystyk Nielsen &lt;<a href=3D"mailto:henrikn@microsoft.com" target=3D"_bla=
nk">henrikn@microsoft.com</a>&gt; wrote:<u></u><u></u></span></p>

<div>
<div>
<p class=3D"MsoNormal">We just published a blog [1] analyzing the performan=
ce implications of content optimizations such as bundling and minification =
on the performance of web pages. The data shows that
 by applying bundling and minification along with compression and pipelinin=
g it is possible to get significant gains in the time it takes to get the c=
ontent necessary to render a page as well as the overall time it takes to d=
ownload the data.<u></u><u></u></p>

<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Not only does optimizing the content save bytes but =
it also has savings in the number of requests and responses that need to be=
 processed as well as faster render times due to being
 able to retrieve the HTML, CSS, and JS up front. <span lang=3D"EN">In the =
test evaluated, the speedup was from 638 ms (uncompressed, unbundled, unmin=
ified, and not pipelined) down to 146 ms for the equivalent compressed, bun=
dled, minified, and pipelined content.
 However, by just looking at the data necessary to lay out the page (HTML, =
CSS, and JS but not images), the time went from 631 ms to 126 ms with the i=
mages being finalized within the remaining timespan from 126 to 146 ms.</sp=
an><u></u><u></u></p>

<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">It is the hope that this data can contribute to prov=
iding a baseline for evaluating HTTP/2.0 proposals compared to how an effic=
ient HTTP/1.x implementation can perform while leverage
 optimizations throughout the stack to provide better user experience.<u></=
u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Comments welcome!<u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Thanks,<u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">Henrik<u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
<p class=3D"MsoNormal">[1]
<a href=3D"http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-i=
mplications-of-bundling-and-minification-on-http.aspx" target=3D"_blank">
http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications=
-of-bundling-and-minification-on-http.aspx</a><u></u><u></u></p>
<p class=3D"MsoNormal">=A0<u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Ar=
ial&quot;,&quot;sans-serif&quot;"><u></u>=A0<u></u></span></p>
</div>
</div>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br>

--e89a8f234d091164c504c315335e--


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 13:57: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 5759121F85A4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 13:57: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1w886MpcgOrw for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 13:57:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A575E21F85A1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 13:57:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiAtT-00055X-E6 for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 20:55:51 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <karld@opera.com>) id 1SiAt8-00053M-GD for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 20:55:30 +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 1SiAt4-0000W1-9G for ietf-http-wg@w3.org; Fri, 22 Jun 2012 20:55:28 +0000
Received: from [10.0.1.24] (p85-133.pixelweb.net [206.41.85.133] (may be forged)) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q5MKsqBf028698 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 22 Jun 2012 20:54:54 GMT
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
Message-Id: <A8330B1E-90A1-42F5-815D-82E20F776F84@opera.com>
Content-Transfer-Encoding: quoted-printable
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
From: Karl Dubost <karld@opera.com>
Date: Fri, 22 Jun 2012 16:54:50 -0400
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
X-Mailer: Apple Mail (2.1278)
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.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SiAt4-0000W1-9G 63cade586bb7bd3de40cefbc14ff35a7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/A8330B1E-90A1-42F5-815D-82E20F776F84@opera.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13879
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiAtT-00055X-E6@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 20:55:51 +0000

Henrik,

Le 22 juin 2012 =E0 13:18, Henrik Frystyk Nielsen a =E9crit :
> We just published a blog [1] analyzing the performance implications of =
content optimizations such as bundling and minification on the =
performance of web pages.

Very nice !

> leverage optimizations throughout the stack to provide better user =
experience.

All the tests and benchmarks we see (even if made on real Web sites) are =
what I call "cold start testing". Basically every is set to 0, we =
download everything and look at the protocol design impacts on =
performances.=20

But when we talk about better *user* experience, we might want to take =
into account the impact on performances when the user is doing multiple =
actions on the same set of resources. HTTP caching enters into play.

Is the performance gain that big? Are there things which can be done in =
the protocol to take into account longterm usage scenario?



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



From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 14: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 3CBB821F85EF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 14:06:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.611
X-Spam-Level: 
X-Spam-Status: No, score=-7.611 tagged_above=-999 required=5 tests=[AWL=-0.144, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T5o2Wn0prg0c for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 14:06:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1106821F8443 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 14:06:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiB38-0008AT-6s for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 21:05:50 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1SiB2u-00089c-T6 for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 21:05:36 +0000
Received: from ch1ehsobe003.messaging.microsoft.com ([216.32.181.183] helo=ch1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SiB2r-0006hJ-GO for ietf-http-wg@w3.org; Fri, 22 Jun 2012 21:05:35 +0000
Received: from mail94-ch1-R.bigfish.com (10.43.68.245) by CH1EHSOBE017.bigfish.com (10.43.70.67) with Microsoft SMTP Server id 14.1.225.23; Fri, 22 Jun 2012 21:03:37 +0000
Received: from mail94-ch1 (localhost [127.0.0.1])	by mail94-ch1-R.bigfish.com (Postfix) with ESMTP id BBE592E0543	for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 21:03:36 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC101.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -6
X-BigFish: VS-6(zz9371Ic89bh542Mzz1202hzz8275bhz2fh2a8h683h839hd25hf0ah)
Received-SPF: pass (mail94-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC101.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.234.5;KIP:(null);UIP:(null);(null);H:SN2PRD0310HT005.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail94-ch1 (localhost.localdomain [127.0.0.1]) by mail94-ch1 (MessageSwitch) id 1340399014569890_2097; Fri, 22 Jun 2012 21:03:34 +0000 (UTC)
Received: from CH1EHSMHS005.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.236])	by mail94-ch1.bigfish.com (Postfix) with ESMTP id 87C782C0042 for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 21:03:34 +0000 (UTC)
Received: from TK5EX14HUBC101.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS005.bigfish.com (10.43.70.5) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 22 Jun 2012 21:03:34 +0000
Received: from tx2outboundpool.messaging.microsoft.com (157.54.51.112) by mail.microsoft.com (157.54.7.153) with Microsoft SMTP Server (TLS) id 14.2.309.3; Fri, 22 Jun 2012 21:04:58 +0000
Received: from mail44-tx2-R.bigfish.com (10.9.14.245) by TX2EHSOBE007.bigfish.com (10.9.40.27) with Microsoft SMTP Server id 14.1.225.23; Fri, 22 Jun 2012 21:02:51 +0000
Received: from mail44-tx2 (localhost [127.0.0.1])	by mail44-tx2-R.bigfish.com (Postfix) with ESMTP id E9DE03E0386	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Fri, 22 Jun 2012 21:02:50 +0000 (UTC)
Received: from mail44-tx2 (localhost.localdomain [127.0.0.1]) by mail44-tx2 (MessageSwitch) id 1340398968312369_21761; Fri, 22 Jun 2012 21:02:48 +0000 (UTC)
Received: from TX2EHSMHS026.bigfish.com (unknown [10.9.14.247])	by mail44-tx2.bigfish.com (Postfix) with ESMTP id 3E6873800DC;	Fri, 22 Jun 2012 21:02:48 +0000 (UTC)
Received: from SN2PRD0310HT005.namprd03.prod.outlook.com (157.56.234.5) by TX2EHSMHS026.bigfish.com (10.9.99.126) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 22 Jun 2012 21:02:44 +0000
Received: from SN2PRD0310MB396.namprd03.prod.outlook.com ([169.254.1.77]) by SN2PRD0310HT005.namprd03.prod.outlook.com ([10.255.112.40]) with mapi id 14.16.0152.000; Fri, 22 Jun 2012 21:04:15 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Karl Dubost <karld@opera.com>
CC: HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: Ac1Ql09kO/Rw+g27QoWX3dckc0auawAIfRkAAAA2i4A=
Date: Fri, 22 Jun 2012 21:04:14 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346CE35D@SN2PRD0310MB396.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <A8330B1E-90A1-42F5-815D-82E20F776F84@opera.com>
In-Reply-To: <A8330B1E-90A1-42F5-815D-82E20F776F84@opera.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.154]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0310HT005.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%OPERA.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC101.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC101.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.183; envelope-from=henrikn@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1SiB2r-0006hJ-GO 9495aee8aed1cb9c481ddbdac138a202
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on  HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346CE35D@SN2PRD0310MB396.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13880
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiB38-0008AT-6s@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 21:05:50 +0000

Karl,

Indeed, the data here is from cold-start.

It would be nice to check various forms of caching as well but up front I w=
ould observe that bundling and minification again would likely help you as =
you only have to manage 2 cached resources and not N resources that may all=
 have to get validated individually. Bundled/Minified content are just bigg=
er documents.

Also, having the links way at the top of the HTML will also help as you wou=
ld get to the links faster and as a result be able to start validating them=
 with the cache faster.

Henrik

-----Original Message-----
From: Karl Dubost [mailto:karld@opera.com]=20
Sent: Friday, June 22, 2012 1:55 PM
To: Henrik Frystyk Nielsen
Cc: HTTP Working Group; Howard Dierking
Subject: Re: Performance implications of Bundling and Minification on HTTP/=
1.1

Henrik,

Le 22 juin 2012 =E0 13:18, Henrik Frystyk Nielsen a =E9crit :
> We just published a blog [1] analyzing the performance implications of co=
ntent optimizations such as bundling and minification on the performance of=
 web pages.

Very nice !

> leverage optimizations throughout the stack to provide better user experi=
ence.

All the tests and benchmarks we see (even if made on real Web sites) are wh=
at I call "cold start testing". Basically every is set to 0, we download ev=
erything and look at the protocol design impacts on performances.=20

But when we talk about better *user* experience, we might want to take into=
 account the impact on performances when the user is doing multiple actions=
 on the same set of resources. HTTP caching enters into play.

Is the performance gain that big? Are there things which can be done in the=
 protocol to take into account longterm usage scenario?



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








From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 14: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 7A28C21F860E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 14:47: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PmosQGf0iIoM for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 14:47:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7499A21F860D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 14:47:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiBg5-0007Ht-QJ for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 21:46:05 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1SiBfp-0007H0-2z for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 21:45:49 +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 1SiBfm-0002Q5-7r for ietf-http-wg@w3.org; Fri, 22 Jun 2012 21:45:47 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 6CBAD3B748; Fri, 22 Jun 2012 21:45:24 +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 q5MLjNGs002277; Fri, 22 Jun 2012 21:45:23 GMT (envelope-from phk@phk.freebsd.dk)
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
cc: =?gb2312?B?V2lsbGlhbSBDaGFuICizwtbHsv0p?= <willchan@chromium.org>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 22 Jun 2012 19:05:06 GMT." <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 22 Jun 2012 21:45:23 +0000
Message-ID: <2276.1340401523@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SiBfm-0002Q5-7r 89ae7b3d1b4037a7a1800ab8f1b76405
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/2276.1340401523@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13881
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiBg5-0007Ht-QJ@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 21:46:05 +0000

In message <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.p
rod.outlook.com>, Henrik Frystyk Nielsen writes:

Henrik, thanks for some very interesting data.

> 1)      It seems safe to assert that whatever we come up with in
> HTTP/2.0 should be significantly faster than what can be achieved
> with an optimized HTTP/1.1

I expect we can all agree on this, the fight will break out at 9pm,
when we try to define the meaning of "faster", "significantly" etc :-)

"faster" is not as unambiguous as most people think.

We have all seen the CNN exponential traffic plots from that day[1]
and if anything we must expect that such "event driven peaks" will
be even more summitous in the future.

In the generalized "#neilwebfail" scenario, "faster" for the
individual client means "when does something appear on my screen?"
whereas "faster" for the server means "how soon can I get something
to appear on many/most screens".

Addressing this in HTTP/2.0 with "Tough luck, buy more bandwidth &
servers", is not good enough.

Content-level design has a lot to do with this, as CNN showed with
their static HTML.

If I understand your data right, what you have done is server-neutral,
but HTTP/2.0 ideas like "default pipeline/parallism windows of 6"
will not be server neutral, and are almost guaranteed to make any
load problem at least six times worse for servers.

So, yes, I agree: HTTP/2.0 must be faster than HTTP1.1, but we need
to talk about "faster for who ?" and "faster how ?"

Poul-Henning

[1] Deliberate "avoid using T-word" obfuscation.

-- 
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 Jun 22 15:00: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 0B4DA21F85A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 15:00:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.441
X-Spam-Level: 
X-Spam-Status: No, score=-5.441 tagged_above=-999 required=5 tests=[AWL=-2.218, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, MIME_BASE64_TEXT=1.753, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Ms4IsTbRVQ8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 15:00:03 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1A1BB21F8550 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 15:00:03 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiBr2-0008Vq-Lm for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 21:57:24 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1SiBqn-0008Uu-UY for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 21:57:09 +0000
Received: from am1ehsobe006.messaging.microsoft.com ([213.199.154.209] helo=am1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SiBqk-0008GB-N8 for ietf-http-wg@w3.org; Fri, 22 Jun 2012 21:57:08 +0000
Received: from mail118-am1-R.bigfish.com (10.3.201.249) by AM1EHSOBE005.bigfish.com (10.3.204.25) with Microsoft SMTP Server id 14.1.225.23; Fri, 22 Jun 2012 21:55:09 +0000
Received: from mail118-am1 (localhost [127.0.0.1])	by mail118-am1-R.bigfish.com (Postfix) with ESMTP id 3D9D11A041F	for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 21:55:09 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC102.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -6
X-BigFish: VS-6(zz9371Ic89bh542Mzz1202hzz8275bh8275dhz2fh2a8h683h839h941hd25hf0ah)
Received-SPF: pass (mail118-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC102.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.244.37;KIP:(null);UIP:(null);(null);H:CH1PRD0310HT005.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail118-am1 (localhost.localdomain [127.0.0.1]) by mail118-am1 (MessageSwitch) id 1340402107965732_6524; Fri, 22 Jun 2012 21:55:07 +0000 (UTC)
Received: from AM1EHSMHS006.bigfish.com (unknown [10.3.201.238])	by mail118-am1.bigfish.com (Postfix) with ESMTP id E0AE1200048	for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 21:55:07 +0000 (UTC)
Received: from TK5EX14HUBC102.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS006.bigfish.com (10.3.207.106) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 22 Jun 2012 21:55:06 +0000
Received: from tx2outboundpool.messaging.microsoft.com (157.54.51.114) by mail.microsoft.com (157.54.7.154) with Microsoft SMTP Server (TLS) id 14.2.309.3; Fri, 22 Jun 2012 21:56:13 +0000
Received: from mail121-tx2-R.bigfish.com (10.9.14.254) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 14.1.225.23; Fri, 22 Jun 2012 21:54:00 +0000
Received: from mail121-tx2 (localhost [127.0.0.1])	by mail121-tx2-R.bigfish.com (Postfix) with ESMTP id 5E63FC0236	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Fri, 22 Jun 2012 21:54:00 +0000 (UTC)
Received: from mail121-tx2 (localhost.localdomain [127.0.0.1]) by mail121-tx2 (MessageSwitch) id 1340402038410680_23608; Fri, 22 Jun 2012 21:53:58 +0000 (UTC)
Received: from TX2EHSMHS018.bigfish.com (unknown [10.9.14.252])	by mail121-tx2.bigfish.com (Postfix) with ESMTP id 56E411E004F;	Fri, 22 Jun 2012 21:53:58 +0000 (UTC)
Received: from CH1PRD0310HT005.namprd03.prod.outlook.com (157.56.244.37) by TX2EHSMHS018.bigfish.com (10.9.99.118) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 22 Jun 2012 21:53:57 +0000
Received: from CH1PRD0310MB392.namprd03.prod.outlook.com ([169.254.6.164]) by CH1PRD0310HT005.namprd03.prod.outlook.com ([10.255.137.40]) with mapi id 14.16.0152.000; Fri, 22 Jun 2012 21:55:27 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: =?gb2312?B?V2lsbGlhbSBDaGFuICizwtbHsv0p?= <willchan@chromium.org>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: AQHNUMBTO/Rw+g27QoWX3dckc0aua5cG39Cw
Date: Fri, 22 Jun 2012 21:55:25 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346D2896@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: Your message of "Fri, 22 Jun 2012 19:05:06 GMT." <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com> <2276.1340401523@critter.freebsd.dk>
In-Reply-To: <2276.1340401523@critter.freebsd.dk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.154]
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PRD0310HT005.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%PHK.FREEBSD.DK$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%CHROMIUM.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC102.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC102.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.209; envelope-from=henrikn@microsoft.com; helo=am1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MIME_BASE64_BLANKS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1SiBqk-0008GB-N8 895dea78b116d10538cd438c5ef434e6
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on  HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346D2896@CH1PRD0310MB392.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13882
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiBr2-0008Vq-Lm@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 21:57:24 +0000

VGhlc2UgYXJlIGFsbCBncmVhdCBxdWVzdGlvbnMuIFRoaXMgaXMgZXhhY3RseSB3aHkgd2UgdHJp
ZWQgdG8gZ2V0IHNvbWUgbnVtYmVycyBzbyB0aGF0IHdlIGNhbiBhdCBsZWFzdCBoYXZlIHNvbWV0
aGluZyB0byBhZ3JlZS9kaXNhZ3JlZSBvdmVyIHNvIHRoYXQgd2UgY2FuIHN0YXJ0IHRvIGZvcm11
bGF0ZSBnb2FscyBmb3Igd2hhdCBmYXN0ZXIgbWVhbnMuIEl0IGlzIGFsc28gY2xlYXIgdGhhdCBw
ZXJmb3JtYW5jZSBnYWluIGZvciBvbmUgaW5kaXZpZHVhbCBjYW5ub3QgY29tZSBhdCB0aGUgZXhw
ZW5zZSBvZiBwZXJmb3JtYW5jZSBvZiBvdGhlciBpbmRpdmlkdWFscyAtLSB3ZSBhbGwgaGF2ZSB0
byBwbGF5IG5pY2Ugd2l0aCBhIHNoYXJlZCByZXNvdXJjZS4gT25lIG9mIHRoZSBwb2ludHMgd2Vy
ZSBpbmRlZWQgdGhhdCB5b3UgKmNhbiogZ2V0IGhpZ2hlciBwZXJmb3JtYW5jZSB3aXRoIEhUVFAv
MS4xIHdoaWxlIHVzaW5nIHNpZ25pZmljYW50bHkgbGVzcyByZXNvdXJjZXMgaW4gdGVybXMgb2Yg
Ynl0ZXMgYW5kIGNvbm5lY3Rpb25zIG5lZWRlZCB0byByZW5kZXIgYSBwYWdlLg0KDQpJIGFtIG5v
dCBzdXJlIHdoYXQgeW91IGFyZSByZWZlcnJpbmcgdG8gd2l0aCAiZGVmYXVsdCBwaXBlbGluZS9w
YXJhbGxpc20gd2luZG93cyBvZiA2IiAtLSBJIHVzZWQgdHdvIHBlcnNpc3RlbnQgVENQIGNvbm5l
Y3Rpb25zIHdoaWNoIEkgdGhpbmsgaXMgb24gdGhlIGxvdyBlbmQgb2Ygd2hhdCBtb3N0IGJyb3dz
ZXJzIGRvIHRvZGF5LiANCg0KSGVucmlrDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpG
cm9tOiBQb3VsLUhlbm5pbmcgS2FtcCBbbWFpbHRvOnBoa0BwaGsuZnJlZWJzZC5ka10gDQpTZW50
OiBGcmlkYXksIEp1bmUgMjIsIDIwMTIgMjo0NSBQTQ0KVG86IEhlbnJpayBGcnlzdHlrIE5pZWxz
ZW4NCkNjOiBXaWxsaWFtIENoYW4gKLPC1sey/Sk7IEhUVFAgV29ya2luZyBHcm91cDsgSG93YXJk
IERpZXJraW5nDQpTdWJqZWN0OiBSZTogUGVyZm9ybWFuY2UgaW1wbGljYXRpb25zIG9mIEJ1bmRs
aW5nIGFuZCBNaW5pZmljYXRpb24gb24gSFRUUC8xLjENCg0KSW4gbWVzc2FnZSA8MzYwNUJBOTlD
MDgxQjU0RUE5QjY1QjNFMzMzMTZBRjczNDZDOUNCREBDSDFQUkQwMzEwTUIzOTIubmFtcHJkMDMu
cA0Kcm9kLm91dGxvb2suY29tPiwgSGVucmlrIEZyeXN0eWsgTmllbHNlbiB3cml0ZXM6DQoNCkhl
bnJpaywgdGhhbmtzIGZvciBzb21lIHZlcnkgaW50ZXJlc3RpbmcgZGF0YS4NCg0KPiAxKSAgICAg
IEl0IHNlZW1zIHNhZmUgdG8gYXNzZXJ0IHRoYXQgd2hhdGV2ZXIgd2UgY29tZSB1cCB3aXRoIGlu
DQo+IEhUVFAvMi4wIHNob3VsZCBiZSBzaWduaWZpY2FudGx5IGZhc3RlciB0aGFuIHdoYXQgY2Fu
IGJlIGFjaGlldmVkIHdpdGggDQo+IGFuIG9wdGltaXplZCBIVFRQLzEuMQ0KDQpJIGV4cGVjdCB3
ZSBjYW4gYWxsIGFncmVlIG9uIHRoaXMsIHRoZSBmaWdodCB3aWxsIGJyZWFrIG91dCBhdCA5cG0s
IHdoZW4gd2UgdHJ5IHRvIGRlZmluZSB0aGUgbWVhbmluZyBvZiAiZmFzdGVyIiwgInNpZ25pZmlj
YW50bHkiIGV0YyA6LSkNCg0KImZhc3RlciIgaXMgbm90IGFzIHVuYW1iaWd1b3VzIGFzIG1vc3Qg
cGVvcGxlIHRoaW5rLg0KDQpXZSBoYXZlIGFsbCBzZWVuIHRoZSBDTk4gZXhwb25lbnRpYWwgdHJh
ZmZpYyBwbG90cyBmcm9tIHRoYXQgZGF5WzFdIGFuZCBpZiBhbnl0aGluZyB3ZSBtdXN0IGV4cGVj
dCB0aGF0IHN1Y2ggImV2ZW50IGRyaXZlbiBwZWFrcyIgd2lsbCBiZSBldmVuIG1vcmUgc3VtbWl0
b3VzIGluIHRoZSBmdXR1cmUuDQoNCkluIHRoZSBnZW5lcmFsaXplZCAiI25laWx3ZWJmYWlsIiBz
Y2VuYXJpbywgImZhc3RlciIgZm9yIHRoZSBpbmRpdmlkdWFsIGNsaWVudCBtZWFucyAid2hlbiBk
b2VzIHNvbWV0aGluZyBhcHBlYXIgb24gbXkgc2NyZWVuPyINCndoZXJlYXMgImZhc3RlciIgZm9y
IHRoZSBzZXJ2ZXIgbWVhbnMgImhvdyBzb29uIGNhbiBJIGdldCBzb21ldGhpbmcgdG8gYXBwZWFy
IG9uIG1hbnkvbW9zdCBzY3JlZW5zIi4NCg0KQWRkcmVzc2luZyB0aGlzIGluIEhUVFAvMi4wIHdp
dGggIlRvdWdoIGx1Y2ssIGJ1eSBtb3JlIGJhbmR3aWR0aCAmIHNlcnZlcnMiLCBpcyBub3QgZ29v
ZCBlbm91Z2guDQoNCkNvbnRlbnQtbGV2ZWwgZGVzaWduIGhhcyBhIGxvdCB0byBkbyB3aXRoIHRo
aXMsIGFzIENOTiBzaG93ZWQgd2l0aCB0aGVpciBzdGF0aWMgSFRNTC4NCg0KSWYgSSB1bmRlcnN0
YW5kIHlvdXIgZGF0YSByaWdodCwgd2hhdCB5b3UgaGF2ZSBkb25lIGlzIHNlcnZlci1uZXV0cmFs
LCBidXQgSFRUUC8yLjAgaWRlYXMgbGlrZSAiZGVmYXVsdCBwaXBlbGluZS9wYXJhbGxpc20gd2lu
ZG93cyBvZiA2Ig0Kd2lsbCBub3QgYmUgc2VydmVyIG5ldXRyYWwsIGFuZCBhcmUgYWxtb3N0IGd1
YXJhbnRlZWQgdG8gbWFrZSBhbnkgbG9hZCBwcm9ibGVtIGF0IGxlYXN0IHNpeCB0aW1lcyB3b3Jz
ZSBmb3Igc2VydmVycy4NCg0KU28sIHllcywgSSBhZ3JlZTogSFRUUC8yLjAgbXVzdCBiZSBmYXN0
ZXIgdGhhbiBIVFRQMS4xLCBidXQgd2UgbmVlZCB0byB0YWxrIGFib3V0ICJmYXN0ZXIgZm9yIHdo
byA/IiBhbmQgImZhc3RlciBob3cgPyINCg0KUG91bC1IZW5uaW5nDQoNClsxXSBEZWxpYmVyYXRl
ICJhdm9pZCB1c2luZyBULXdvcmQiIG9iZnVzY2F0aW9uLg0KDQotLSANClBvdWwtSGVubmluZyBL
YW1wICAgICAgIHwgVU5JWCBzaW5jZSBaaWxvZyBaZXVzIDMuMjANCnBoa0BGcmVlQlNELk9SRyAg
ICAgICAgIHwgVENQL0lQIHNpbmNlIFJGQyA5NTYNCkZyZWVCU0QgY29tbWl0dGVyICAgICAgIHwg
QlNEIHNpbmNlIDQuMy10YWhvZSAgICANCk5ldmVyIGF0dHJpYnV0ZSB0byBtYWxpY2Ugd2hhdCBj
YW4gYWRlcXVhdGVseSBiZSBleHBsYWluZWQgYnkgaW5jb21wZXRlbmNlLg0KDQoNCg0K




From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 15:02: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 6DCA311E80C5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 15:02:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.657
X-Spam-Level: 
X-Spam-Status: No, score=-4.657 tagged_above=-999 required=5 tests=[AWL=-1.894, BAYES_00=-2.599, GB_ABOUTYOU=0.5, HTML_MESSAGE=0.001, MIME_BASE64_TEXT=1.753, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vmBjue73KMxG for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 15:02:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 88D9711E809F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 15:02:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiBvz-0002UA-3V for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 22:02:31 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1SiBvl-0002TJ-23 for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 22:02:17 +0000
Received: from ch1ehsobe006.messaging.microsoft.com ([216.32.181.186] helo=ch1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SiBvh-0002xN-5W for ietf-http-wg@w3.org; Fri, 22 Jun 2012 22:02:15 +0000
Received: from mail230-ch1-R.bigfish.com (10.43.68.227) by CH1EHSOBE005.bigfish.com (10.43.70.55) with Microsoft SMTP Server id 14.1.225.23; Fri, 22 Jun 2012 22:00:17 +0000
Received: from mail230-ch1 (localhost [127.0.0.1])	by mail230-ch1-R.bigfish.com (Postfix) with ESMTP id A9831100025C	for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 22:00:16 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC101.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -7
X-BigFish: VS-7(zz98dI9371Ic89bh103dKc85bh148cI4015Izz1202hzz8275bh8275dhz2fh2a8h683h839hd25hf0ah)
Received-SPF: pass (mail230-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC101.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.244.37;KIP:(null);UIP:(null);(null);H:CH1PRD0310HT001.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail230-ch1 (localhost.localdomain [127.0.0.1]) by mail230-ch1 (MessageSwitch) id 1340402415154214_30954; Fri, 22 Jun 2012 22:00:15 +0000 (UTC)
Received: from CH1EHSMHS011.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.245])	by mail230-ch1.bigfish.com (Postfix) with ESMTP id 23743800049	for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 22:00:15 +0000 (UTC)
Received: from TK5EX14HUBC101.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS011.bigfish.com (10.43.70.11) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 22 Jun 2012 22:00:10 +0000
Received: from am1outboundpool.messaging.microsoft.com (157.54.51.81) by mail.microsoft.com (157.54.7.153) with Microsoft SMTP Server (TLS) id 14.2.309.3; Fri, 22 Jun 2012 22:01:38 +0000
Received: from mail93-am1-R.bigfish.com (10.3.201.227) by AM1EHSOBE002.bigfish.com (10.3.204.22) with Microsoft SMTP Server id 14.1.225.23; Fri, 22 Jun 2012 22:00:07 +0000
Received: from mail93-am1 (localhost [127.0.0.1])	by mail93-am1-R.bigfish.com (Postfix) with ESMTP id C28301C03E2	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Fri, 22 Jun 2012 22:00:06 +0000 (UTC)
Received: from mail93-am1 (localhost.localdomain [127.0.0.1]) by mail93-am1 (MessageSwitch) id 1340402405193412_28046; Fri, 22 Jun 2012 22:00:05 +0000 (UTC)
Received: from AM1EHSMHS005.bigfish.com (unknown [10.3.201.242])	by mail93-am1.bigfish.com (Postfix) with ESMTP id 2CDBF20047;	Fri, 22 Jun 2012 22:00:05 +0000 (UTC)
Received: from CH1PRD0310HT001.namprd03.prod.outlook.com (157.56.244.37) by AM1EHSMHS005.bigfish.com (10.3.207.105) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 22 Jun 2012 22:00:03 +0000
Received: from CH1PRD0310MB392.namprd03.prod.outlook.com ([169.254.6.164]) by CH1PRD0310HT001.namprd03.prod.outlook.com ([10.255.137.36]) with mapi id 14.16.0164.004; Fri, 22 Jun 2012 22:01:32 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Roberto Peon <grmocg@gmail.com>
CC: =?gb2312?B?V2lsbGlhbSBDaGFuICizwtbHsv0p?= <willchan@chromium.org>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: Ac1Ql09kO/Rw+g27QoWX3dckc0auawADcEUAAAAMGyAAA2S0gAABMKOw
Date: Fri, 22 Jun 2012 22:01:31 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346D48D7@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com> <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com>
In-Reply-To: <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.154]
Content-Type: multipart/alternative; boundary="_000_3605BA99C081B54EA9B65B3E33316AF7346D48D7CH1PRD0310MB392_"
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PRD0310HT001.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMAIL.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%CHROMIUM.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC101.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC101.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.186; envelope-from=henrikn@microsoft.com; helo=ch1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1SiBvh-0002xN-5W 2e4e9d5832f7ba4cbd8974dbc7cb4a0f
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on  HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346D48D7@CH1PRD0310MB392.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13883
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiBvz-0002UA-3V@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 22:02:31 +0000

--_000_3605BA99C081B54EA9B65B3E33316AF7346D48D7CH1PRD0310MB392_
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64

VGhhbmtzISBBY3R1YWxseSwgYnVuZGxpbmcsIG1pbmlmaWNhdGlvbiAoYW5kIG1vdmluZyB0aG9z
ZSBsaW5rcyB0byB0aGUgdG9wIG9mIHRoZSBIVE1MKSB0b2dldGhlciB3aXRoIGNvbXByZXNzaW9u
IGFyZSBmYWlybHkgc3RyYWlnaHQgZm9yd2FyZCBtZWNoYW5pc21zIHdpdGggcmVsYXRpdmVseSBi
aWcgYmFuZyBmb3IgdGhlIGJ1Y2suIEkgZG9uoa90IGNsYWltIHRoYXQgdGhleSBzb2x2ZSBhbGwg
cHJvYmxlbXMgqEMgdGhleSBjbGVhcmx5IGRvbqGvdCCoQyBidXQgZm9yIHRoZSBzaW1wbGUgY2Fz
ZSBvZiBkb3dubG9hZGluZyBjb250ZW50IHRvIHJlbmRlciBhIHdlYiBwYWdlIHRoZXkgY2FuIGhh
dmUgYSBiaWcgaW1wYWN0Lg0KDQpTYXlpbmcgdGhhdCB5b3UgY2FuIG1hZ2ljYWxseSBmaXggcGVy
Zm9ybWFuY2UgaW4gdGhlIHVuZGVybHlpbmcgcHJvdG9jb2wgd2l0aG91dCB0YWtpbmcgaW50byBh
Y2NvdW50IHRoZSBjb250ZW50IEkgdGhpbmsgaXMgYSBoYXJkIGFyZ3VtZW50IHRvIG1ha2UuIEZv
ciBleGFtcGxlLCBpZiB0aGUgbGlua3MgdG8gQ1NTIG9yIEpTIGlzIHNldmVyYWwga0J5dGVzIGRv
d24gaW4gdGhlIEhUTUwgYW5kIGlzIHJlcXVpcmVkIHRvIHJlbmRlciB0aGUgcGFnZSB0aGVuIGl0
IHNpbXBseSB0YWtlcyB0aW1lIHRvIGdldCB0byB0aGF0IGRhdGEuIEl0IHdvdWxkIGJlIGludGVy
ZXN0aW5nIHRvIHNlZSBleGFjdGx5IHRoYXQgdGhlIGltcGFjdCB3b3VsZCBiZSB1c2luZyBpbnRl
cmxlYXZpbmcgb3IgbXVsdGlwbGV4aW5nIHNvIHRoYXQgd2UgY2FuIGNvbXBhcmUgZGF0YS4NCg0K
U1BEWaGvcyB0cmljayB0byBnZXQgYXJvdW5kIGludGVyY2VwdGluZyBwcm94aWVzIGlzIHRvIHVz
ZSBTU0wgYnV0IHRoYXQgY2FuIGJlIGRvbmUgd2l0aCBIVFRQIGp1c3QgYXMgd2VsbC4gVGhlIHJl
YWwgcXVlc3Rpb24gdG8gYXNrIGlzIHdoeSB0aGVzZSBpbnRlcmNlcHRpbmcgcHJveGllcyBhcmUg
dGhlcmUgaW4gdGhlIGZpcnN0IHBsYWNlLiBNeSBzZW5zZSAoYWx0aG91Z2ggSSBkb26hr3QgY2xh
aW0gdG8ga25vdyBhbGwgdGhlIG51YW5jZXMpIGlzIHRoYXQgd2hlbiB5b3UgYXJlIGRlcGxveWlu
ZyBpbiBhIHB1YmxpYyBzaXRlIHlvdSBzaW1wbHkgY2Fuoa90IGdldCBzZXQgdXAgdW5sZXNzIHlv
dSB1c2UgSFRUUCBhbmQgaXQgY2Fuoa90IGJlIFNTTC4gUHVibGljIGludGVybmV0IHByb3ZpZGVy
cyByZWFsbHkgd2FudCB5b3UgdG8gc2lnbiB1cCBhbmQgY2xpY2sgc29tZSBidXR0b25zIGFuZCB0
aGUgb25seSB3YXkgdG8gZG8gdGhhdCB0b2RheSBpcyB0byBzbmlmZiB0aGUgdHJhZmZpYy4gVGhh
dCBpcyBhIHJlYWwgcHJvYmxlbSB0aGF0IEkgdGhpbmsgbmVlZHMgc29sdmluZyBidXQgaXQgaGFz
IGxpdHRsZSB0byBkbyB3aXRoIHRoZSBhcHBsaWNhdGlvbiBwcm90b2NvbC4NCg0KSSBkb26hr3Qg
aGF2ZSBkYXRhIGZvciBTU0wgYnV0IHRoYXQgaXMgc29tZXRoaW5nIHdlIGNvdWxkIGRvLg0KDQpI
ZW5yaWsNCg0KRnJvbTogUm9iZXJ0byBQZW9uIFttYWlsdG86Z3Jtb2NnQGdtYWlsLmNvbV0NClNl
bnQ6IEZyaWRheSwgSnVuZSAyMiwgMjAxMiAxOjA5IFBNDQpUbzogSGVucmlrIEZyeXN0eWsgTmll
bHNlbg0KQ2M6IFdpbGxpYW0gQ2hhbiAos8LWx7L9KTsgSFRUUCBXb3JraW5nIEdyb3VwOyBIb3dh
cmQgRGllcmtpbmcNClN1YmplY3Q6IFJlOiBQZXJmb3JtYW5jZSBpbXBsaWNhdGlvbnMgb2YgQnVu
ZGxpbmcgYW5kIE1pbmlmaWNhdGlvbiBvbiBIVFRQLzEuMQ0KDQpOaWNlIGRhdGEhDQpPbiBGcmks
IEp1biAyMiwgMjAxMiBhdCAxMjowNSBQTSwgSGVucmlrIEZyeXN0eWsgTmllbHNlbiA8aGVucmlr
bkBtaWNyb3NvZnQuY29tPG1haWx0bzpoZW5yaWtuQG1pY3Jvc29mdC5jb20+PiB3cm90ZToNClRo
ZSBtYWluIHBvaW50IGlzIHRvIGVzdGFibGlzaCBhIGJhc2VsaW5lIGZvciBob3cgd2VsbCBhbiBv
cHRpbWl6ZWQgSFRUUC8xLjEgaW1wbGVtZW50YXRpb24gd2l0aCBvcHRpbWl6ZWQgY29udGVudCBj
YW4gcGVyZm9ybS4gR2l2ZW4gc3VjaCBhIGJhc2VsaW5lIGl0IGlzIG11Y2ggZWFzaWVyIHRvIGNv
bXBhcmUgSFRUUC8yLjAgaWRlYXMgYW5kIGV2YWx1YXRlIHRoZSBwb3NpdGl2ZXMgYW5kL29yIG5l
Z2F0aXZlcyBvZiBhbHRlcm5hdGl2ZSBzb2x1dGlvbnMuIEFzIHN1Y2ggSSBhbSBub3QgbWFraW5n
IGFueSBub3JtYXRpdmUgY2xhaW1zIHBlciBzZSBidXQgdGhlcmUgaW5kZWVkIGFyZSB0d28gcG9p
bnRzIHRoYXQgSSB0aGluayBhcmUgaW1wb3J0YW50IHRvIG9ic2VydmU6DQoNCg0KMSkgICAgICBJ
dCBzZWVtcyBzYWZlIHRvIGFzc2VydCB0aGF0IHdoYXRldmVyIHdlIGNvbWUgdXAgd2l0aCBpbiBI
VFRQLzIuMCBzaG91bGQgYmUgc2lnbmlmaWNhbnRseSBmYXN0ZXIgdGhhbiB3aGF0IGNhbiBiZSBh
Y2hpZXZlZCB3aXRoIGFuIG9wdGltaXplZCBIVFRQLzEuMSBpbXBsZW1lbnRhdGlvbi4gSSBkb26h
r3QgdGhpbmsgc3BlZWQgaXMgdGhlIG9ubHkgcmVhc29uIGZvciBjb25zaWRlcmluZyBIVFRQLzIu
MCBidXQgaXQgaXMgYW4gaW1wb3J0YW50IG9uZSBhbmQgc28gd2UgaGF2ZSB0byBiZSBhYmxlIHRv
IGNvbXBhcmUgbnVtYmVycy4NCg0KDQpJJ2QgYXJndWUgYW5vdGhlciBwb2ludC4NClRoZSBhbW91
bnQgb2Ygd29yayBuZWNlc3NhcnkgdG8gb3B0aW1pemUgc2l0ZSBwZXJmb3JtYW5jZSBmb3IgSFRU
UC8xLjEgdG9kYXkgaXMgbGFyZ2UuIFRoZSBhbW91bnQgb2Yga25vd2xlZGdlIG5lY2Vzc2FyeSB0
byBkbyBpdCBwcm9wZXJseSBpcyBhbHNvIGxhcmdlLg0KVGhpcyBpcyBub3QgdGhlIHdheSBpdCBz
aG91bGQgYmUhDQoNClRoZSBwcm90b2NvbCBzaG91bGQgbWFrZSBpdCBlYXNpZXIgdG8gZG8gdGhp
bmdzIHJpZ2h0LCBhbmQgaXQgc2hvdWxkIGhlbHAgaW4gdGhlIChleHRyZW1lbHkgZnJlcXVlbnQg
YW5kIGxpa2VseSkgY2FzZSB0aGF0IHRoZSBzaXRlIGRlc2lnbmVyIGdldHMgaXQgd3JvbmcgaW4g
bGl0dGxlIHdheXMuDQoNCg0KDQoyKSAgICAgIFdpdGhvdXQgdGFraW5nIGEgYnJvYWRlciB2aWV3
IG9mIHBlcmZvcm1hbmNlIHRoYXQgaW5jbHVkZXMgdGhlIGNvbnRlbnQgYXMgYW4gaW50ZWdyYWwg
cGFydCB5b3Ugc2ltcGx5IGNhbm5vdCBtZWFuaW5nZnVsbHkgZXhwZWN0IHRvIGdldCBhIGZhc3Qg
c3lzdGVtLiBJbiBvdGhlciB3b3JkcywgdGhlcmUgaXMgbm8gd2F5IHRoYXQgYW4gYXBwbGljYXRp
b24gcHJvdG9jb2wgY2FuIGNvbXBlbnNhdGUgZm9yIGJhZGx5IGNvbXBvc2VkIGNvbnRlbnQuIEZv
ciBleGFtcGxlLCBpZiB5b3UgcHV0IHlvdXIgbGlua3MgdG8gQ1NTIGFuZCBKUyBkZWVwIGRvd24g
aW4geW91ciBIVE1MIG9yIHJlbHkgb24gMTAwIHJlcXVlc3RzIHRvIGJlIGNvbXBsZXRlIGluIG9y
ZGVyIHRvIHJlbmRlciBhIHBhZ2UgdGhlbiBubyBhbW91bnQgb2YgcHJvdG9jb2wgb3B0aW1pemF0
aW9ucyBjYW4gZWZmZWN0aXZlbHkgaGVscCB5b3UuIE1lY2hhbmlzbXMgc3VjaCBhcyBidW5kbGlu
ZywgbWluaWZpY2F0aW9uLCBhbmQgY29tcHJlc3Npb24gY2FuIHBsYXkgYSBzaWduaWZpY2FudCBy
b2xlIGhlcmUuDQoiLi4ubm8gYW1vdW50IG9mIHByb3RvY29sIG9wdGltaXphdGlvbnMgY2FuIGVm
ZmVjdGl2ZWx5IGhlbHAgeW91LiINCk5vdGUgdGhhdCB0aGlzIGlzbid0IHN0cmljdGx5IHRydWUg
OikNCkZlZWRpbmcgYmFjayBpbnRvIHRoZSBzdGF0ZW1lbnQgSSBtYWRlIGFib3ZlLCBhcyBhbiBl
eGFtcGxlOiByZXNwb25zZSByZW9yZGVyaW5nL2ludGVybGVhdmluZywgZXRjLiBjYW4gZ28gcHJl
dHR5IGZhciBpbiBtaXRpZ2F0aW5nIHRoZSBkYW1hZ2UgZG9uZSBieSBzdWJvcHRpbWFsIGxpbmsg
b3JkZXJpbmcuIEl0IGNhbid0IGhlbHAgaW4gc29tZSBwYXRob2xvZ2ljYWwgY2FzZXMsIHRydWUs
IGJ1dCBJJ2QgZ3Vlc3MgdGhhdCBtb3N0IHNpdGVzIGRvbid0IHByZXNlbnQgdGhlIHBhdGhvbG9n
aWNhbCB3b3JzdCBjYXNlLi4uDQpBIHByb3RvY29sIHdoaWNoIGFsbG93cyBmb3IgYnVuZGxpbmcg
d2l0aG91dCByZXF1aXJpbmcgdGhlIHNpdGUgZGV2ZWxvcGVyIHRvIGRlYWwgd2l0aCBpdCBpbmNy
ZWFzZXMgdGhlIGNoYW5jZSB0aGF0IGEgc2l0ZSdzIGxhdGVuY3kgYXBwcm9hY2hlcyBjbG9zZXIg
dG8gb3B0aW1hbC4NCg0KDQpBcyB0byBwaXBlbGluaW5nLCB0aGUgcmVhbGl0eSBpcyB0aGF0IGJl
aW5nIGFibGUgdG8gc2VuZCByZXF1ZXN0cyBhbmQgcmVzcG9uc2VzIHdpdGhvdXQgZGVsYXkgaXMg
YSBtdXN0IGluIGFueSBlbnZpcm9ubWVudCB3aXRoIG5vdGljZWFibGUgUlRUcy4gV2hldGhlciBp
dCBoYXBwZW5zIHVzaW5nIEhUVFAvMS4xIHBpcGVsaW5pbmcgb3IgdmlhIHNvbWUgb3RoZXIgbWVj
aGFuaXNtIGNhbiBiZSBkaXNjdXNzZWQgYnV0IHRoZXJlIGlzIG5vIHdheSB0aGF0IHdlIGNhbiBn
ZXQgYmV0dGVyIHBlcmZvcm1hbmNlIHdpdGhvdXQgaXQuIEkgZG8gdW5kZXJzdGFuZCB0aGF0IHRo
ZXJlIGFyZSBsaW1pdGF0aW9ucyBpbiBob3cgd2VsbCBpdCBpcyBkZXBsb3llZCBidXQgSSBhbSBk
dWJpb3VzIHRoYXQganVzdCBkZXBsb3lpbmcgc29tZXRoaW5nIGRpZmZlcmVudCBpbmhlcmVudGx5
IHdpbGwgc29sdmUgdGhhdCB1bmxlc3Mgd2Uga25vdyB0aGUgcm9vdCBjYXVzZS4NCg0KQnV0IGRv
bid0IHdlIGFscmVhZHkgdW5kZXJzdGFuZCB0aGUgcm9vdCBjYXVzZT8gSXNuJ3QgaXQgaW50ZXJj
ZXB0aW5nIHByb3hpZXM/DQpCYXNpY2FsbHksIHRoYXQgYSBudW1iZXIgb2YgcHJveGllcyBjb25z
aWRlcmVkIHBhcnRzIG9mIHRoZSBzcGVjIG9wdGlvbmFsLCBhbmQgdG9vayBzaG9ydGN1dHMsIGFu
ZCBhcmUgZGVwbG95ZWQgaW4gc3VjaCBhIGZhc2hpb24gYXMgdG8gaW50ZXJjZXB0IGFuZCBkaXNy
dXB0IGNvbW11bmljYXRpb25zIGJldHdlZW4gcGFydGllcyB0aGF0IHdvdWxkIG90aGVyd2lzZSBi
ZSBhYmxlIHRvIGNvbW11bmljYXRlIHdpdGhvdXQgcHJvYmxlbT8NCg0KRGVwbG95aW5nIG92ZXIg
YSBjaGFubmVsIHRoYXQgZG9lcyBub3QgaGF2ZSB0aGVzZSBpbnRlcmNlcHRpbmcgcHJveGllcyBz
b2x2ZXMgdGhpcyBwcm9ibGVtLiBXZSBrbm93IHRoYXQgd2UgZG9uJ3QgaGF2ZSB0aGlzIHByb2Js
ZW0gdG8gYW55IGRlZ3JlZSB0aGF0IG1hdHRlcnMgZm9yIFNQRFksIGZvciBpbnN0YW5jZS4NCklz
IGl0IHdvcnRoIGdlbmVyYXRpbmcgYSBzZXBhcmF0ZSB0YWJsZSBmb3IgZG9pbmcgdGhlIHZhcmlv
dXMgb3B0aW1pemF0aW9ucyBvdmVyIEhUVFBTPw0KLT1SDQoNCg0KDQpUaGFua3MsDQoNCkhlbnJp
aw0KDQpGcm9tOiB3aWxsY2hhbkBnb29nbGUuY29tPG1haWx0bzp3aWxsY2hhbkBnb29nbGUuY29t
PiBbbWFpbHRvOndpbGxjaGFuQGdvb2dsZS5jb208bWFpbHRvOndpbGxjaGFuQGdvb2dsZS5jb20+
XSBPbiBCZWhhbGYgT2YgV2lsbGlhbSBDaGFuICg/Pz8pDQpTZW50OiBGcmlkYXksIEp1bmUgMjIs
IDIwMTIgMTE6MzAgQU0NClRvOiBIZW5yaWsgRnJ5c3R5ayBOaWVsc2VuDQpDYzogSFRUUCBXb3Jr
aW5nIEdyb3VwOyBIb3dhcmQgRGllcmtpbmcNClN1YmplY3Q6IFJlOiBQZXJmb3JtYW5jZSBpbXBs
aWNhdGlvbnMgb2YgQnVuZGxpbmcgYW5kIE1pbmlmaWNhdGlvbiBvbiBIVFRQLzEuMQ0KDQpUaGFu
a3MgZm9yIHBvc3RpbmcgZGF0YSBoZXJlISBWZXJ5IG11Y2ggYXBwcmVjaWF0ZWQuIEknbSBjdXJp
b3VzIGlmIHlvdSBoYXZlIGFueSBub3JtYXRpdmUgY2xhaW1zIHRvIG1ha2UgYWJvdXQgaG93IHRo
aXMgc2hvdWxkIGltcGFjdCBIVFRQLzIuMCBwcm9wb3NhbHMuIEkgY2FuIHNlZSBhcmd1bWVudHMg
Zm9yIGhvdyBzb21lIG9mIHRoZXNlIHRlY2huaXF1ZXMgcmlnaHRseSBiZWxvbmcgaW4gdGhlIGFw
cGxpY2F0aW9uIGxheWVyLCB3aGVyZWFzIHNvbWUgYXJlIHdvcmtpbmcgYXJvdW5kIGlzc3VlcyBp
biBIVFRQLCBhbmQgd2UgbWF5IHdhbnQgdG8gYWRkcmVzcyBpbiBIVFRQLzIuMC4gT2gsIGFuZCBJ
J20gYWxzbyBjdXJpb3VzIGFib3V0IHlvdXIgdGhvdWdodHMgd2l0aCByZWdhcmQgdG8gcGlwZWxp
bmluZywgc2luY2UgeW91IGJyb3VnaHQgaXQgdXAgaW4gdGhpcyBwb3N0IGFuZCBoYXZlIG5vdGVk
IHRoYXQgaXQgaGFzIHByYWN0aWNhbCBkZXBsb3ltZW50IGlzc3Vlcy4NCg0KT24gRnJpLCBKdW4g
MjIsIDIwMTIgYXQgMTA6MTggQU0sIEhlbnJpayBGcnlzdHlrIE5pZWxzZW4gPGhlbnJpa25AbWlj
cm9zb2Z0LmNvbTxtYWlsdG86aGVucmlrbkBtaWNyb3NvZnQuY29tPj4gd3JvdGU6DQpXZSBqdXN0
IHB1Ymxpc2hlZCBhIGJsb2cgWzFdIGFuYWx5emluZyB0aGUgcGVyZm9ybWFuY2UgaW1wbGljYXRp
b25zIG9mIGNvbnRlbnQgb3B0aW1pemF0aW9ucyBzdWNoIGFzIGJ1bmRsaW5nIGFuZCBtaW5pZmlj
YXRpb24gb24gdGhlIHBlcmZvcm1hbmNlIG9mIHdlYiBwYWdlcy4gVGhlIGRhdGEgc2hvd3MgdGhh
dCBieSBhcHBseWluZyBidW5kbGluZyBhbmQgbWluaWZpY2F0aW9uIGFsb25nIHdpdGggY29tcHJl
c3Npb24gYW5kIHBpcGVsaW5pbmcgaXQgaXMgcG9zc2libGUgdG8gZ2V0IHNpZ25pZmljYW50IGdh
aW5zIGluIHRoZSB0aW1lIGl0IHRha2VzIHRvIGdldCB0aGUgY29udGVudCBuZWNlc3NhcnkgdG8g
cmVuZGVyIGEgcGFnZSBhcyB3ZWxsIGFzIHRoZSBvdmVyYWxsIHRpbWUgaXQgdGFrZXMgdG8gZG93
bmxvYWQgdGhlIGRhdGEuDQoNCk5vdCBvbmx5IGRvZXMgb3B0aW1pemluZyB0aGUgY29udGVudCBz
YXZlIGJ5dGVzIGJ1dCBpdCBhbHNvIGhhcyBzYXZpbmdzIGluIHRoZSBudW1iZXIgb2YgcmVxdWVz
dHMgYW5kIHJlc3BvbnNlcyB0aGF0IG5lZWQgdG8gYmUgcHJvY2Vzc2VkIGFzIHdlbGwgYXMgZmFz
dGVyIHJlbmRlciB0aW1lcyBkdWUgdG8gYmVpbmcgYWJsZSB0byByZXRyaWV2ZSB0aGUgSFRNTCwg
Q1NTLCBhbmQgSlMgdXAgZnJvbnQuIEluIHRoZSB0ZXN0IGV2YWx1YXRlZCwgdGhlIHNwZWVkdXAg
d2FzIGZyb20gNjM4IG1zICh1bmNvbXByZXNzZWQsIHVuYnVuZGxlZCwgdW5taW5pZmllZCwgYW5k
IG5vdCBwaXBlbGluZWQpIGRvd24gdG8gMTQ2IG1zIGZvciB0aGUgZXF1aXZhbGVudCBjb21wcmVz
c2VkLCBidW5kbGVkLCBtaW5pZmllZCwgYW5kIHBpcGVsaW5lZCBjb250ZW50LiBIb3dldmVyLCBi
eSBqdXN0IGxvb2tpbmcgYXQgdGhlIGRhdGEgbmVjZXNzYXJ5IHRvIGxheSBvdXQgdGhlIHBhZ2Ug
KEhUTUwsIENTUywgYW5kIEpTIGJ1dCBub3QgaW1hZ2VzKSwgdGhlIHRpbWUgd2VudCBmcm9tIDYz
MSBtcyB0byAxMjYgbXMgd2l0aCB0aGUgaW1hZ2VzIGJlaW5nIGZpbmFsaXplZCB3aXRoaW4gdGhl
IHJlbWFpbmluZyB0aW1lc3BhbiBmcm9tIDEyNiB0byAxNDYgbXMuDQoNCkl0IGlzIHRoZSBob3Bl
IHRoYXQgdGhpcyBkYXRhIGNhbiBjb250cmlidXRlIHRvIHByb3ZpZGluZyBhIGJhc2VsaW5lIGZv
ciBldmFsdWF0aW5nIEhUVFAvMi4wIHByb3Bvc2FscyBjb21wYXJlZCB0byBob3cgYW4gZWZmaWNp
ZW50IEhUVFAvMS54IGltcGxlbWVudGF0aW9uIGNhbiBwZXJmb3JtIHdoaWxlIGxldmVyYWdlIG9w
dGltaXphdGlvbnMgdGhyb3VnaG91dCB0aGUgc3RhY2sgdG8gcHJvdmlkZSBiZXR0ZXIgdXNlciBl
eHBlcmllbmNlLg0KDQpDb21tZW50cyB3ZWxjb21lIQ0KDQpUaGFua3MsDQoNCkhlbnJpaw0KDQpb
MV0gaHR0cDovL2Jsb2dzLm1zZG4uY29tL2IvaGVucmlrbi9hcmNoaXZlLzIwMTIvMDYvMTcvcGVy
Zm9ybWFuY2UtaW1wbGljYXRpb25zLW9mLWJ1bmRsaW5nLWFuZC1taW5pZmljYXRpb24tb24taHR0
cC5hc3B4DQoNCg0KDQo=

--_000_3605BA99C081B54EA9B65B3E33316AF7346D48D7CH1PRD0310MB392_
Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-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=3Dgb2312">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:SimSun;
	mso-fareast-language:ZH-CN;}
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;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:SimSun;
	mso-fareast-language:ZH-CN;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";
	mso-fareast-language:ZH-CN;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";
	mso-fareast-language:ZH-CN;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
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=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks! Actually, bundlin=
g, minification (and moving those links to the top of the HTML) together wi=
th compression are fairly straight forward mechanisms with
 relatively big bang for the buck. I don=A1=AFt claim that they solve all p=
roblems =A8C they clearly don=A1=AFt =A8C but for the simple case of downlo=
ading content to render a web page they can have a big impact.<o:p></o:p></=
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"><o:p>&nbsp;</o:p></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">Saying that you can magic=
ally fix performance in the underlying protocol without taking into account=
 the content I think is a hard argument to make. For example,
 if the links to CSS or JS is several kBytes down in the HTML and is requir=
ed to render the page then it simply takes time to get to that data. It wou=
ld be interesting to see exactly that the impact would be using interleavin=
g or multiplexing so that we can
 compare data.<o:p></o:p></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"><o:p>&nbsp;</o:p></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">SPDY=A1=AFs trick to get =
around intercepting proxies is to use SSL but that can be done with HTTP ju=
st as well. The real question to ask is why these intercepting
 proxies are there in the first place. My sense (although I don=A1=AFt clai=
m to know all the nuances) is that when you are deploying in a public site =
you simply can=A1=AFt get set up unless you use HTTP and it can=A1=AFt be S=
SL. Public internet providers really want you to
 sign up and click some buttons and the only way to do that today is to sni=
ff the traffic. That is a real problem that I think needs solving but it ha=
s little to do with the application protocol.<o:p></o:p></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"><o:p>&nbsp;</o:p></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">I don=A1=AFt have data fo=
r SSL but that is something we could do.<o:p></o:p></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"><o:p>&nbsp;</o:p></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">Henrik<o:p></o:p></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"><o:p>&nbsp;</o:p></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;"> Roberto =
Peon [mailto:grmocg@gmail.com]
<br>
<b>Sent:</b> Friday, June 22, 2012 1:09 PM<br>
<b>To:</b> Henrik Frystyk Nielsen<br>
<b>Cc:</b> William Chan (</span><span lang=3D"ZH-CN" style=3D"font-size:10.=
0pt">=B3=C2=D6=C7=B2=FD</span><span style=3D"font-size:10.0pt;font-family:&=
quot;Tahoma&quot;,&quot;sans-serif&quot;">); HTTP Working Group; Howard Die=
rking<br>
<b>Subject:</b> Re: Performance implications of Bundling and Minification o=
n HTTP/1.1<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Nice data!<o:p></o:p>=
</p>
<div>
<p class=3D"MsoNormal">On Fri, Jun 22, 2012 at 12:05 PM, Henrik Frystyk Nie=
lsen &lt;<a href=3D"mailto:henrikn@microsoft.com" target=3D"_blank">henrikn=
@microsoft.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">The main point is to establish a baseli=
ne for how well an optimized HTTP/1.1 implementation with
 optimized content can perform. Given such a baseline it is much easier to =
compare HTTP/2.0 ideas and evaluate the positives and/or negatives of alter=
native solutions. As such I am not making any normative claims per se but t=
here indeed are two points that
 I think are important to observe:</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">1)</span><span style=3D"font-size:7.0pt;font-=
family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">It seems safe to assert that whatever we =
come up with in HTTP/2.0 should be significantly faster than what can be ac=
hieved with an optimized HTTP/1.1 implementation. I don=A1=AFt
 think speed is the only reason for considering HTTP/2.0 but it is an impor=
tant one and so we have to be able to compare numbers.</span><o:p></o:p></p=
>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal">I'd argue another point.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The amount of work necessary to optimize site perfor=
mance for HTTP/1.1 today is large. The amount of knowledge necessary to do =
it properly is also large.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">This is not the way it should be!<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">The protocol should make it easier to do things righ=
t, and it should help in the (extremely frequent and likely) case that the =
site designer gets it wrong in little ways.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sa=
ns-serif&quot;;color:#1F497D">2)</span><span style=3D"font-size:7.0pt;font-=
family:&quot;Times New Roman&quot;,&quot;serif&quot;;color:#1F497D">&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&quo=
t;sans-serif&quot;;color:#1F497D">Without taking a broader view of performa=
nce that includes the content as an integral part you simply cannot meaning=
fully expect to get a fast system. In other words, there
 is no way that an application protocol can compensate for badly composed c=
ontent. For example, if you put your links to CSS and JS deep down in your =
HTML or rely on 100 requests to be complete in order to render a page then =
no amount of protocol optimizations
 can effectively help you. Mechanisms such as bundling, minification, and c=
ompression can play a significant role here.</span><o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal">&quot;...no amount of protocol optimizations can eff=
ectively help you.&quot;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Note that this isn't strictly true :)<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Feeding back into the statement I made above, as an =
example: response reordering/interleaving, etc. can go pretty far in mitiga=
ting the damage done by suboptimal link ordering. It can't help in some&nbs=
p;pathological&nbsp;cases, true, but I'd guess
 that most sites don't present the pathological worst case...<o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal">A protocol which allows for bundling without requiri=
ng the site developer to deal with it increases the chance that a site's la=
tency approaches closer to optimal.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">As to pipelining, the reality is that b=
eing able to send requests and responses without delay is
 a must in any environment with noticeable RTTs. Whether it happens using H=
TTP/1.1 pipelining or via some other mechanism can be discussed but there i=
s no way that we can get better performance without it. I do understand tha=
t there are limitations in how well
 it is deployed but I am dubious that just deploying something different in=
herently will solve that unless we know the root cause. &nbsp;</span><o:p><=
/o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">But don't we already understand the root cause? Isn'=
t it intercepting proxies?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Basically, that a number of proxies considered parts=
 of the spec optional, and took shortcuts, and are deployed in such a fashi=
on as to intercept and disrupt communications between parties that would ot=
herwise be able to communicate without
 problem?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Deploying over a channel that does not have these in=
tercepting proxies solves this problem. We know that we don't have this pro=
blem to any degree that matters for SPDY, for instance.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">Is it worth generating a separate table for doing th=
e various optimizations over HTTPS?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal">-=3DR<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class=3D"MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<blockquote style=3D"border:none;border-left:solid #CCCCCC 1.0pt;padding:0i=
n 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Thanks,</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Henrik</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">From:</span></b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
<a href=3D"mailto:willchan@google.com" target=3D"_blank">willchan@google.co=
m</a> [mailto:<a href=3D"mailto:willchan@google.com" target=3D"_blank">will=
chan@google.com</a>]
<b>On Behalf Of </b>William Chan (???)<br>
<b>Sent:</b> Friday, June 22, 2012 11:30 AM<br>
<b>To:</b> Henrik Frystyk Nielsen<br>
<b>Cc:</b> HTTP Working Group; Howard Dierking<br>
<b>Subject:</b> Re: Performance implications of Bundling and Minification o=
n HTTP/1.1</span><o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,&quo=
t;sans-serif&quot;">Thanks for posting data here! Very much appreciated. I'=
m curious if you have any normative claims to make about how
 this should impact HTTP/2.0 proposals. I can see arguments for how some of=
 these techniques rightly belong in the application layer, whereas some are=
 working around issues in HTTP, and we may want to address in HTTP/2.0. Oh,=
 and I'm also curious about your
 thoughts with regard to pipelining, since you brought it up in this post a=
nd have noted that it has practical deployment issues.</span><o:p></o:p></p=
>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,&quo=
t;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,&quo=
t;sans-serif&quot;">On Fri, Jun 22, 2012 at 10:18 AM, Henrik Frystyk Nielse=
n &lt;<a href=3D"mailto:henrikn@microsoft.com" target=3D"_blank">henrikn@mi=
crosoft.com</a>&gt;
 wrote:</span><o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">We just published a blog [1] analyzing the performance implication=
s of content optimizations such as bundling and minification on the perform=
ance of web pages. The data shows that
 by applying bundling and minification along with compression and pipelinin=
g it is possible to get significant gains in the time it takes to get the c=
ontent necessary to render a page as well as the overall time it takes to d=
ownload the data.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Not only does optimizing the content save bytes but it also has sa=
vings in the number of requests and responses that need to be processed as =
well as faster render times due to being
 able to retrieve the HTML, CSS, and JS up front. <span lang=3D"EN">In the =
test evaluated, the speedup was from 638 ms (uncompressed, unbundled, unmin=
ified, and not pipelined) down to 146 ms for the equivalent compressed, bun=
dled, minified, and pipelined content.
 However, by just looking at the data necessary to lay out the page (HTML, =
CSS, and JS but not images), the time went from 631 ms to 126 ms with the i=
mages being finalized within the remaining timespan from 126 to 146 ms.</sp=
an><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">It is the hope that this data can contribute to providing a baseli=
ne for evaluating HTTP/2.0 proposals compared to how an efficient HTTP/1.x =
implementation can perform while leverage
 optimizations throughout the stack to provide better user experience.<o:p>=
</o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Comments welcome!<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Henrik<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">[1]
<a href=3D"http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-i=
mplications-of-bundling-and-minification-on-http.aspx" target=3D"_blank">
http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications=
-of-bundling-and-minification-on-http.aspx</a><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:10.0pt;font-family:&quot;Arial&quot;,&quo=
t;sans-serif&quot;">&nbsp;</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_3605BA99C081B54EA9B65B3E33316AF7346D48D7CH1PRD0310MB392_--


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 15:06: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 82C2221F8593 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 15:06:52 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 76bh1rkXEXti for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 15:06:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F204921F8592 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 15:06:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiBzm-0002sV-R2 for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 22:06:26 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1SiBzb-0002rZ-IW for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 22:06:15 +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 1SiBzZ-000065-4N for ietf-http-wg@w3.org; Fri, 22 Jun 2012 22:06:14 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id C7B243B74F; Fri, 22 Jun 2012 22:05: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 q5MM5ps4002424; Fri, 22 Jun 2012 22:05:51 GMT (envelope-from phk@phk.freebsd.dk)
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
cc: =?gb2312?B?V2lsbGlhbSBDaGFuICizwtbHsv0p?= <willchan@chromium.org>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Fri, 22 Jun 2012 21:55:25 GMT." <3605BA99C081B54EA9B65B3E33316AF7346D2896@CH1PRD0310MB392.namprd03.prod.outlook.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Fri, 22 Jun 2012 22:05:51 +0000
Message-ID: <2423.1340402751@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SiBzZ-000065-4N a7042358b60ce04cb3cbc2dc9084a685
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/2423.1340402751@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13884
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiBzm-0002sV-R2@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 22:06:26 +0000

I was referring to earlier discussions where an initial window of
six requests per TCP connection was proposed, based on the current
browsers "6 TCP connections" default param.

It is much easier and painless for a server to ignore SYN packets
than to tell every client "Yeah, I know the RFC says you can send
me 6 requests in parallel but..." for every SYN accepted.

-- 
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 Jun 22 15:57: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 F04BD21F85E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 15:57:13 -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.300, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AtpVqQp+1oLg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 15:57:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CC8CD21F85E3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 15:57:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiClr-00052Z-Vj for ietf-http-wg-dist@listhub.w3.org; Fri, 22 Jun 2012 22:56:08 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1SiClR-00051e-4U for ietf-http-wg@listhub.w3.org; Fri, 22 Jun 2012 22:55:41 +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 <mike@belshe.com>) id 1SiClO-0004dX-9L for ietf-http-wg@w3.org; Fri, 22 Jun 2012 22:55:39 +0000
Received: by lbom4 with SMTP id m4so2612019lbo.2 for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 15:55:11 -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 :cc:content-type:x-gm-message-state; bh=ru/2v4EUm8JBxnwid8rEP/GTV7sUxDHKYJdaj4KIJLo=; b=Rj8KmvQ8A8ZaoVVxpWEyIScqDL1xd12v8kZQECOLoccjIsZbzgycjokgy1DrYeVKDT RySN0gohMXJvOS2IOpmDNB1gR6SM7AAZgegRxYMXGr9oSaAcsTpAjky35y9s2KgCWlZE GMxhLU0PME9ZAurudSBxtiMx3D2yso7k5asatqa3joaE+daACOSCK/3Qg6+Mz2c0lqTh a6afCi03+hRntiTFqmYT01ody2V3DTE0CLjr8KHgHzycpwS0MXWXTpk3h/p/BvHuMle0 lj3m7gcQC1Fu7H2j6EtwWrWesU6IrA3HhibdA+ifTZ8lx01fth39K5cwuKV7R47yP6Uv rwXw==
MIME-Version: 1.0
Received: by 10.112.46.9 with SMTP id r9mr2124270lbm.81.1340405711238; Fri, 22 Jun 2012 15:55:11 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Fri, 22 Jun 2012 15:55:11 -0700 (PDT)
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
Date: Fri, 22 Jun 2012 15:55:11 -0700
Message-ID: <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d0401236f45f75c04c3178689
X-Gm-Message-State: ALoCoQm9WMzj5TgY5fJGsFT4j4h/11AZwjXC3XVh92y3ImRLCCqYnrC42KZ5KsU1fOL5P1qSNNz8
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SiClO-0004dX-9L 46234264c5d7a7c919d9da24f25ee861
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13885
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiClr-00052Z-Vj@frink.w3.org>
Resent-Date: Fri, 22 Jun 2012 22:56:07 +0000

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

On Fri, Jun 22, 2012 at 10:18 AM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:

>  We just published a blog [1] analyzing the performance implications of
> content optimizations such as bundling and minification on the performance
> of web pages. The data shows that by applying bundling and minification
> along with compression and pipelining it is possible to get significant
> gains in the time it takes to get the content necessary to render a page as
> well as the overall time it takes to download the data.****
>
> ** **
>
> Not only does optimizing the content save bytes but it also has savings in
> the number of requests and responses that need to be processed as well as
> faster render times due to being able to retrieve the HTML, CSS, and JS up
> front. In the test evaluated, the speedup was from 638 ms (uncompressed,
> unbundled, unminified, and not pipelined) down to 146 ms for the equivalent
> compressed, bundled, minified, and pipelined content. However, by just
> looking at the data necessary to lay out the page (HTML, CSS, and JS but
> not images), the time went from 631 ms to 126 ms with the images being
> finalized within the remaining timespan from 126 to 146 ms.****
>
> ** **
>
> It is the hope that this data can contribute to providing a baseline for
> evaluating HTTP/2.0 proposals compared to how an efficient HTTP/1.x
> implementation can perform while leverage optimizations throughout the
> stack to provide better user experience.
>

Thanks, Henrik.

One point this article proves to me is just why protocol features must be
mandatory.  I hope HTTP/2.0 learns from this data.

To illustrate - look at how important gzip was in the performance measured
here.  If we consider the maximum benefit in all of these test cases
(reduced PLT from 638 to 146ms) - 93% of that benefit is accomplished with
gzip alone (no pipelines, no bundles, no minification, no spdy, nothing!).

This is why so many protocol writers are adamantly against optional
features.   If gzip were mandatory in HTTP/1.1, 93% of the benefit of this
test would be achieved for everyone today.  Instead, enabled by optional
compression, we know from other research** that ~1/3 of all compressable
resources lack compression, and over SSL about half of compressable
resources lack compression.  We'd be able to stop testing the uncompressed
case for sure!

An interesting test would be to measure if pipelining, bundling, and
minification without gzip can outperform gzip alone.  (spoiler alert -
nope! :-)

Mike

** https://developers.google.com/speed/articles/web-metrics




> ****
>
> ** **
>
> Comments welcome!****
>
> ** **
>
> Thanks,****
>
> ** **
>
> Henrik****
>
> ** **
>
> [1]
> http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications-of-bundling-and-minification-on-http.aspx
> ****
>
> ** **
>

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

<br><br><div class=3D"gmail_quote">On Fri, Jun 22, 2012 at 10:18 AM, Henrik=
 Frystyk Nielsen <span dir=3D"ltr">&lt;<a href=3D"mailto:henrikn@microsoft.=
com" target=3D"_blank">henrikn@microsoft.com</a>&gt;</span> wrote:<br><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">






<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal">We just published a blog [1] analyzing the performan=
ce implications of content optimizations such as bundling and minification =
on the performance of web pages. The data shows that by applying bundling a=
nd minification along with compression
 and pipelining it is possible to get significant gains in the time it take=
s to get the content necessary to render a page as well as the overall time=
 it takes to download the data.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Not only does optimizing the content save bytes but =
it also has savings in the number of requests and responses that need to be=
 processed as well as faster render times due to being able to retrieve the=
 HTML, CSS, and JS up front.
<span lang=3D"EN">In the test evaluated, the speedup was from 638 ms (uncom=
pressed, unbundled, unminified, and not pipelined) down to 146 ms for the e=
quivalent compressed, bundled, minified, and pipelined content. However, by=
 just looking at the data necessary
 to lay out the page (HTML, CSS, and JS but not images), the time went from=
 631 ms to 126 ms with the images being finalized within the remaining time=
span from 126 to 146 ms.</span><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">It is the hope that this data can contribute to prov=
iding a baseline for evaluating HTTP/2.0 proposals compared to how an effic=
ient HTTP/1.x implementation can perform while leverage optimizations throu=
ghout the stack to provide better
 user experience.</p></div></div></blockquote><div><br></div><div>Thanks, H=
enrik.</div><div><br></div><div>One point this article proves to me is just=
 why protocol features must be mandatory. =A0I hope HTTP/2.0 learns from th=
is data.</div>
<div><br></div><div>To illustrate - look at how important gzip was in the p=
erformance measured here. =A0If we consider the maximum benefit in all of t=
hese test cases (reduced PLT from 638 to 146ms) - 93% of that benefit is ac=
complished with gzip alone (no pipelines, no bundles, no minification, no s=
pdy, nothing!).</div>
<div><br></div><div>This is why so many protocol writers are adamantly agai=
nst optional features. =A0 If gzip were mandatory in HTTP/1.1, 93% of the b=
enefit of this test would be achieved for everyone today. =A0Instead, enabl=
ed by optional compression, we know from other research** that ~1/3 of all =
compressable resources lack compression, and over SSL about half of compres=
sable resources lack compression. =A0We&#39;d be able to stop testing the u=
ncompressed case for sure!</div>
<div><br></div><div>An interesting test would be to measure if pipelining, =
bundling, and minification without gzip can outperform gzip alone. =A0(spoi=
ler alert - nope! :-)</div><div><br></div><div>Mike</div><div><br></div><di=
v>
**=A0<a href=3D"https://developers.google.com/speed/articles/web-metrics">h=
ttps://developers.google.com/speed/articles/web-metrics</a></div><div><br><=
/div><div><br></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 lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p class=3D"MsoNorm=
al"><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Comments welcome!<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Thanks,<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Henrik<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">[1] <a href=3D"http://blogs.msdn.com/b/henrikn/archi=
ve/2012/06/17/performance-implications-of-bundling-and-minification-on-http=
.aspx" target=3D"_blank">
http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications=
-of-bundling-and-minification-on-http.aspx</a><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
</div>

</blockquote></div><br>

--f46d0401236f45f75c04c3178689--


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 17:13: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 246B811E8096 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 17:13:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.799
X-Spam-Level: 
X-Spam-Status: No, score=-6.799 tagged_above=-999 required=5 tests=[AWL=3.201, BAYES_00=-2.599, J_CHICKENPOX_72=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id byEYvv0VGXqS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 17:13:36 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3A3E121F859A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 17:13:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiDwz-0000k9-KL for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 00:11:41 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1SiDwP-0000iN-4s for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 00:11:05 +0000
Received: from ch1ehsobe006.messaging.microsoft.com ([216.32.181.186] helo=ch1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1SiDwI-00076V-AM for ietf-http-wg@w3.org; Sat, 23 Jun 2012 00:11:03 +0000
Received: from mail54-ch1-R.bigfish.com (10.43.68.253) by CH1EHSOBE013.bigfish.com (10.43.70.63) with Microsoft SMTP Server id 14.1.225.23; Sat, 23 Jun 2012 00:09:00 +0000
Received: from mail54-ch1 (localhost [127.0.0.1])	by mail54-ch1-R.bigfish.com (Postfix) with ESMTP id 7F17B340335;	Sat, 23 Jun 2012 00:09:00 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC107.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -12
X-BigFish: VS-12(zz542M1432I4015Izz1202hzz8275bh8275dh186Mz2fh2a8h668h839h944hd25hf0ah)
Received-SPF: pass (mail54-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Gabriel.Montenegro@microsoft.com; helo=TK5EX14HUBC107.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail54-ch1 (localhost.localdomain [127.0.0.1]) by mail54-ch1 (MessageSwitch) id 1340410138931010_24867; Sat, 23 Jun 2012 00:08:58 +0000 (UTC)
Received: from CH1EHSMHS010.bigfish.com (snatpool3.int.messaging.microsoft.com [10.43.68.225])	by mail54-ch1.bigfish.com (Postfix) with ESMTP id E16BF300044;	Sat, 23 Jun 2012 00:08:58 +0000 (UTC)
Received: from TK5EX14HUBC107.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS010.bigfish.com (10.43.70.10) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sat, 23 Jun 2012 00:08:59 +0000
Received: from TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com (157.54.24.14) by TK5EX14HUBC107.redmond.corp.microsoft.com (157.54.80.67) with Microsoft SMTP Server (TLS) id 14.2.309.3; Sat, 23 Jun 2012 00:10:28 +0000
Received: from TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com ([169.254.2.243]) by TK5EX14MLTW653.wingroup.windeploy.ntdev.microsoft.com ([157.54.24.14]) with mapi id 14.02.0309.003; Fri, 22 Jun 2012 17:10:27 -0700
From: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>, Rob Trace <Rob.Trace@microsoft.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: New Version Notification for draft-montenegro-httpbis-speed-mobility-02.txt
Thread-Index: AQHNUIh5C/LpC+c4SESqtQX3kbJZ9ZcG+dRw
Date: Sat, 23 Jun 2012 00:10:27 +0000
Message-ID: <CA566BAEAD6B3F4E8B5C5C4F61710C1148057DA6@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
References: Your message of "Tue, 19 Jun 2012 20:28:22 GMT." <FF649A28BA27384396FD4F7BADF45DDF382957D8@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <5349.1340377330@critter.freebsd.dk>
In-Reply-To: <5349.1340377330@critter.freebsd.dk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.186; envelope-from=Gabriel.Montenegro@microsoft.com; helo=ch1outboundpool.messaging.microsoft.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, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SiDwI-00076V-AM 766d0a63d970e6aefaf2f5634add5baf
X-Original-To: ietf-http-wg@w3.org
Subject: RE: New Version Notification for  draft-montenegro-httpbis-speed-mobility-02.txt
Archived-At: <http://www.w3.org/mid/CA566BAEAD6B3F4E8B5C5C4F61710C1148057DA6@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13886
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiDwz-0000k9-KL@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 00:11:41 +0000

Thanks, Poul-Henning.

I'm a bit confused by your proposed tweak:

> 	Once created, all requests on a given stream MUST have the
> 	same "Host:" header.

Currently, we don't reuse streams, so the assumption is that a request crea=
tes one and a reply tears it down. Something good about that is that the li=
fecycle of a stream is well defined and the intermediaries or servers don't=
 have to deal with  a constantly growing collection of stream ids (and asso=
ciated data) with all the complexities of figuring out when to reclaim thos=
e resources.=20

But for now, a new request/response uses a new stream ID, so your reuse of =
the stream is as a flow identifier would not be supported. It would be inte=
resting to think about possibilities here. For example, one could make the =
lifecycle very clear so that reuse of stream IDs would be doable. Your draf=
t with Willy on network friendly HTTP 2.0 also has some ideas that could be=
 useful here.


> -----Original Message-----
> From: Poul-Henning Kamp [mailto:phk@phk.freebsd.dk]
> Sent: Friday, June 22, 2012 08:02
> To: Rob Trace
> Cc: ietf-http-wg@w3.org
> Subject: Re: New Version Notification for draft-montenegro-httpbis-speed-
> mobility-02.txt
>=20
> In message
> <FF649A28BA27384396FD4F7BADF45DDF382957D8@TK5EX14MBXW602.w
> ingroup.wi
> ndeploy.ntdev.microsoft.com>, Rob Trace writes:
>=20
> >A new version of I-D, draft-montenegro-httpbis-speed-mobility-02.txt
>=20
> I have read this draft, and I do like the thinking, even if not all the d=
etails.
>=20
> With one small tweak, this prosal has the potential to solve what I see a=
s one
> of the really big high-performance issues: load-balancing at Tbit/s rates=
.
>=20
> The tweak I seek is:
>=20
> 	Once created, all requests on a given stream MUST have the
> 	same "Host:" header.
>=20
> This does not prevent a client (or proxy) from using multiple streams wit=
h
> same "Host:" header to get parallelism, but it means that load-balancers =
in
> front of hosting farms only need to examine the first request on any stre=
am
> to find the "Host:" header, after that, it can just shift the stream thro=
ugh.
>=20
> Another way to think of this, is to make the stream-ID also work as a hop=
-to-
> hop flow-label.
>=20
> With that said...
>=20
> A lot of the benefit thus gained will be eaten up because taking a SPDY
> stream apart is a performance nightmare, particularly at Tbit/s rates, bu=
t at
> least the load-balancers will only need to take the first part of the SPD=
Y
> streams apart.
>=20
> I seem to recall Willy and Adrien working on using serialization/encoding=
 to
> save header transmission cost, instead of just blindly throwing things at=
 gzip.
>=20
> Put something like that on top of Bobs draft instead of SPDY, and Tbit/se=
c
> starts to look realistic.
>=20
> Poul-Henning
>=20
> PS: I was happy to see that Guy didn't find any significant improvement f=
rom
> the gzip static dictionary, I thought I had done something wrong when I g=
ot
> that result.
>=20
> --
> 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.
>=20




From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 17: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 CDD1011E8096 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 17:14:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.202
X-Spam-Level: 
X-Spam-Status: No, score=-9.202 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6m0guc8a4+6B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 17:14:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9F65321F859A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 17:14:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiDz2-00016P-Bl for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 00:13:48 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <fielding@gbiv.com>) id 1SiDym-00012f-Ov for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 00:13:32 +0000
Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81] helo=homiemail-a26.g.dreamhost.com) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <fielding@gbiv.com>) id 1SiDyj-0007Az-C7 for ietf-http-wg@w3.org; Sat, 23 Jun 2012 00:13:30 +0000
Received: from homiemail-a26.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTP id 58F27B8058; Fri, 22 Jun 2012 17:13:08 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gbiv.com; h=references :in-reply-to:mime-version:content-transfer-encoding:content-type :message-id:cc:from:subject:date:to; q=dns; s=gbiv.com; b=OUInxP N0hb7lfe9AliaU+coWvAMHFpyjWEJ8l/0AQZlyfdq8U5eqdxzDL4WSApK95u53BP QQaKGLDzBpTmvjrOhm7B4/xOA2AkOoPO1awnxLEJthUaex0DIguSVfjCxfJOCuqX v/fgF//f6p52bYTSR2O68BEHWv7rblOGtPrmU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gbiv.com; h=references :in-reply-to:mime-version:content-transfer-encoding:content-type :message-id:cc:from:subject:date:to; s=gbiv.com; bh=iW+AHKnkFXUQ 895LehWStRvUa/I=; b=sXVxXC+ytX8L2ZncEMK+TUw/ewSqxNJ1IVukn5GLu+/o lqnWV1N8bNLOqPjksIvNvBQFsPeUirWdhw0uVNicOU42Ih5NPF7Oe34etYuSA18v mP2UQNG4Fp2gL3DNPFZ/NDZPZSHovjH4AuOU131iwj6kw9aH3N3KutJvMNsWWaA=
Received: from [198.134.89.87] (unknown [198.134.89.87]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: fielding@gbiv.com) by homiemail-a26.g.dreamhost.com (Postfix) with ESMTPSA id 36022B8056; Fri, 22 Jun 2012 17:13:08 -0700 (PDT)
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com>
In-Reply-To: <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com>
Mime-Version: 1.0 (1.0)
Content-Transfer-Encoding: 7bit
Content-Type: multipart/alternative; boundary=Apple-Mail-30D9295A-4CF3-4FEB-BD08-3BFAF47FDC36
Message-Id: <0E6EADDD-374D-4F1E-B608-E64D9B3929B1@gbiv.com>
Cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
X-Mailer: iPhone Mail (9B206)
From: "Roy T. Fielding" <fielding@gbiv.com>
Date: Fri, 22 Jun 2012 17:10:43 -0700
To: Mike Belshe <mike@belshe.com>
Received-SPF: none client-ip=208.97.132.81; envelope-from=fielding@gbiv.com; helo=homiemail-a26.g.dreamhost.com
X-W3C-Hub-Spam-Status: No, score=-2.0
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, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1SiDyj-0007Az-C7 684068dad0cc5092c73e07bf5acf2d32
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/0E6EADDD-374D-4F1E-B608-E64D9B3929B1@gbiv.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13887
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiDz2-00016P-Bl@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 00:13:48 +0000

--Apple-Mail-30D9295A-4CF3-4FEB-BD08-3BFAF47FDC36
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

HTTP predates gzip and cookies. The notion that such a choice had anything t=
o do with optional features is just silly. It is optional because it barely e=
ven worked in practice until 1999 and certainly wasn't feasible as a default=
 until a few years after that as CPU capability increased.

....Roy


On Jun 22, 2012, at 3:55 PM, Mike Belshe <mike@belshe.com> wrote:

>=20
>=20
> On Fri, Jun 22, 2012 at 10:18 AM, Henrik Frystyk Nielsen <henrikn@microsof=
t.com> wrote:
> We just published a blog [1] analyzing the performance implications of con=
tent optimizations such as bundling and minification on the performance of w=
eb pages. The data shows that by applying bundling and minification along wi=
th compression and pipelining it is possible to get significant gains in the=
 time it takes to get the content necessary to render a page as well as the o=
verall time it takes to download the data.
>=20
> =20
>=20
> Not only does optimizing the content save bytes but it also has savings in=
 the number of requests and responses that need to be processed as well as f=
aster render times due to being able to retrieve the HTML, CSS, and JS up fr=
ont. In the test evaluated, the speedup was from 638 ms (uncompressed, unbun=
dled, unminified, and not pipelined) down to 146 ms for the equivalent compr=
essed, bundled, minified, and pipelined content. However, by just looking at=
 the data necessary to lay out the page (HTML, CSS, and JS but not images), t=
he time went from 631 ms to 126 ms with the images being finalized within th=
e remaining timespan from 126 to 146 ms.
>=20
> =20
>=20
> It is the hope that this data can contribute to providing a baseline for e=
valuating HTTP/2.0 proposals compared to how an efficient HTTP/1.x implement=
ation can perform while leverage optimizations throughout the stack to provi=
de better user experience.
>=20
>=20
> Thanks, Henrik.
>=20
> One point this article proves to me is just why protocol features must be m=
andatory.  I hope HTTP/2.0 learns from this data.
>=20
> To illustrate - look at how important gzip was in the performance measured=
 here.  If we consider the maximum benefit in all of these test cases (reduc=
ed PLT from 638 to 146ms) - 93% of that benefit is accomplished with gzip al=
one (no pipelines, no bundles, no minification, no spdy, nothing!).
>=20
> This is why so many protocol writers are adamantly against optional featur=
es.   If gzip were mandatory in HTTP/1.1, 93% of the benefit of this test wo=
uld be achieved for everyone today.  Instead, enabled by optional compressio=
n, we know from other research** that ~1/3 of all compressable resources lac=
k compression, and over SSL about half of compressable resources lack compre=
ssion.  We'd be able to stop testing the uncompressed case for sure!
>=20
> An interesting test would be to measure if pipelining, bundling, and minif=
ication without gzip can outperform gzip alone.  (spoiler alert - nope! :-)
>=20
> Mike
>=20
> ** https://developers.google.com/speed/articles/web-metrics
>=20
>=20
> =20
>=20
> =20
>=20
> Comments welcome!
>=20
> =20
>=20
> Thanks,
>=20
> =20
>=20
> Henrik
>=20
> =20
>=20
> [1] http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implica=
tions-of-bundling-and-minification-on-http.aspx
>=20
> =20
>=20
>=20

--Apple-Mail-30D9295A-4CF3-4FEB-BD08-3BFAF47FDC36
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=utf-8

<html><head></head><body bgcolor="#FFFFFF"><div>HTTP predates gzip and cookies. The notion that such a choice had anything to do with optional features is just silly. It is optional because it barely even worked in practice until 1999 and certainly wasn't feasible as a default until a few years after that as CPU capability increased.<br><br>....Roy<div><br></div></div><div><br>On Jun 22, 2012, at 3:55 PM, Mike Belshe &lt;<a href="mailto:mike@belshe.com">mike@belshe.com</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div><br><br><div class="gmail_quote">On Fri, Jun 22, 2012 at 10:18 AM, Henrik Frystyk Nielsen <span dir="ltr">&lt;<a href="mailto:henrikn@microsoft.com" target="_blank">henrikn@microsoft.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">We just published a blog [1] analyzing the performance implications of content optimizations such as bundling and minification on the performance of web pages. The data shows that by applying bundling and minification along with compression
 and pipelining it is possible to get significant gains in the time it takes to get the content necessary to render a page as well as the overall time it takes to download the data.<u></u><u></u></p>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<p class="MsoNormal">Not only does optimizing the content save bytes but it also has savings in the number of requests and responses that need to be processed as well as faster render times due to being able to retrieve the HTML, CSS, and JS up front.
<span lang="EN">In the test evaluated, the speedup was from 638 ms (uncompressed, unbundled, unminified, and not pipelined) down to 146 ms for the equivalent compressed, bundled, minified, and pipelined content. However, by just looking at the data necessary
 to lay out the page (HTML, CSS, and JS but not images), the time went from 631 ms to 126 ms with the images being finalized within the remaining timespan from 126 to 146 ms.</span><u></u><u></u></p>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<p class="MsoNormal">It is the hope that this data can contribute to providing a baseline for evaluating HTTP/2.0 proposals compared to how an efficient HTTP/1.x implementation can perform while leverage optimizations throughout the stack to provide better
 user experience.</p></div></div></blockquote><div><br></div><div>Thanks, Henrik.</div><div><br></div><div>One point this article proves to me is just why protocol features must be mandatory. &nbsp;I hope HTTP/2.0 learns from this data.</div>
<div><br></div><div>To illustrate - look at how important gzip was in the performance measured here. &nbsp;If we consider the maximum benefit in all of these test cases (reduced PLT from 638 to 146ms) - 93% of that benefit is accomplished with gzip alone (no pipelines, no bundles, no minification, no spdy, nothing!).</div>
<div><br></div><div>This is why so many protocol writers are adamantly against optional features. &nbsp; If gzip were mandatory in HTTP/1.1, 93% of the benefit of this test would be achieved for everyone today. &nbsp;Instead, enabled by optional compression, we know from other research** that ~1/3 of all compressable resources lack compression, and over SSL about half of compressable resources lack compression. &nbsp;We'd be able to stop testing the uncompressed case for sure!</div>
<div><br></div><div>An interesting test would be to measure if pipelining, bundling, and minification without gzip can outperform gzip alone. &nbsp;(spoiler alert - nope! :-)</div><div><br></div><div>Mike</div><div><br></div><div>
**&nbsp;<a href="https://developers.google.com/speed/articles/web-metrics">https://developers.google.com/speed/articles/web-metrics</a></div><div><br></div><div><br></div><div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><u></u><u></u></p>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<p class="MsoNormal">Comments welcome!<u></u><u></u></p>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<p class="MsoNormal">Henrik<u></u><u></u></p>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
<p class="MsoNormal">[1] <a href="http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications-of-bundling-and-minification-on-http.aspx" target="_blank">
http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications-of-bundling-and-minification-on-http.aspx</a><u></u><u></u></p>
<p class="MsoNormal"><u></u>&nbsp;<u></u></p>
</div>
</div>

</blockquote></div><br>
</div></blockquote></body></html>
--Apple-Mail-30D9295A-4CF3-4FEB-BD08-3BFAF47FDC36--


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 17:14: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 E521E21F85A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 17:14: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6KEJfD0hK0oV for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 17:14:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 22FDE21F859A for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 17:14:40 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiDzg-0001D0-RS for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 00:14:28 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1SiDzS-0001Aw-65 for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 00:14: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 <nilsson@opera.com>) id 1SiDzP-00032y-6X for ietf-http-wg@w3.org; Sat, 23 Jun 2012 00:14:12 +0000
Received: from manganese.bredbandsbolaget.se (c-961de353.03-25-6c6b7010.cust.bredbandsbolaget.se [83.227.29.150]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q5N0Dg0e026588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <ietf-http-wg@w3.org>; Sat, 23 Jun 2012 00:13:43 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: "HTTP Working Group" <ietf-http-wg@w3.org>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com>
Date: Sat, 23 Jun 2012 02:13:51 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wgbxldx3iw9drz@manganese.bredbandsbolaget.se>
In-Reply-To: <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com>
User-Agent: Opera Mail/11.64 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SiDzP-00032y-6X 7bde5d517fd096bb444e6d5984d3403f
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/op.wgbxldx3iw9drz@manganese.bredbandsbolaget.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13888
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiDzg-0001D0-RS@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 00:14:28 +0000

On Sat, 23 Jun 2012 00:55:11 +0200, Mike Belshe <mike@belshe.com> wrote:

>
> This is why so many protocol writers are adamantly against optional
> features.   If gzip were mandatory in HTTP/1.1, 93% of the benefit of  
> this
> test would be achieved for everyone today.  Instead, enabled by optional
> compression, we know from other research** that ~1/3 of all compressable
> resources lack compression, and over SSL about half of compressable
> resources lack compression.  We'd be able to stop testing the  
> uncompressed
> case for sure!
>

Also, some HTTP requests are rewritten by proxies and anti-virus  
applications to disable compression, so compression will be used even less.

> An interesting test would be to measure if pipelining, bundling, and
> minification without gzip can outperform gzip alone.  (spoiler alert -
> nope! :-)
>

A set of tests with different permutations of these techniques would  
indeed be interesting to see.

Minification is something that can only be done by the content provider,  
in the general case, as it requires knowledge about future use of a  
resource. For that reason I don't think you can use minification when  
creating a HTTP/1.1 baseline to compare HTTP/2.0 against.

Bundling is problematic in two ways. If you dynamically bundle the  
resources needed, you will end up with non-reusable resources, which works  
great in cold testing as Karl points out, but not over a longer session.  
If you statically bundle the resources, you benefit in a longer session,  
but cold testing is going to perform worse than without bundling. A push  
mechanism would solve this in the protocol layer, but has its own set of  
issues to solve.

Reference reordering is, like minification, destructive to the content and  
can not be done safely in the protocol layer. Both push and hinting solves  
this (again, with its issues to solve).

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 17:45: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 1AE9621F8528 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 17:45:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.826
X-Spam-Level: 
X-Spam-Status: No, score=-9.826 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5zNm62jEA-Sc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 17:45:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CDEE221F8522 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 17:45:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiERm-00008K-S8 for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 00:43:30 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mike@belshe.com>) id 1SiERN-00007R-Hu for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 00:43:05 +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 <mike@belshe.com>) id 1SiERK-00082B-LB for ietf-http-wg@w3.org; Sat, 23 Jun 2012 00:43:04 +0000
Received: by lbom4 with SMTP id m4so2690559lbo.2 for <ietf-http-wg@w3.org>; Fri, 22 Jun 2012 17:42:35 -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 :cc:content-type:x-gm-message-state; bh=6cXGuf6tGunyFl4xCZwhYt9m6CwVAi0Yi0pqpHamyns=; b=X12mohGobfmZDErr5WiV79c07frSZgS5YnY3Uy7m0UQ3bTayNfOmMBU6bVSn+yf+yd gLqR3RQpCttNjE/9DOxI9aBFpLkh3kPlns0efVDv/5LIB0SvP4bVFvwjJ50ejZFxvPYp 7rK+Nkfn1v9Oqn5GGVjZAvnuX1PEs0zPx3oK9zDG2oKxU36ut/OXSFGOvyL2dLfywEod vHUhtWJrwH1EqlLKHAObiuxtX+wg1skXnii6s45d6brO42PPNnqUnXbZ8Up2l4/cjubQ V6pA70rUFGObm7R0nemc7L/zMrxf6jCBNzAnchjhslSK4OGYqJkf7UmuAxyTJO2X6F2e UxRw==
MIME-Version: 1.0
Received: by 10.152.46.6 with SMTP id r6mr4003469lam.7.1340412155631; Fri, 22 Jun 2012 17:42:35 -0700 (PDT)
Received: by 10.112.99.1 with HTTP; Fri, 22 Jun 2012 17:42:35 -0700 (PDT)
In-Reply-To: <0E6EADDD-374D-4F1E-B608-E64D9B3929B1@gbiv.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com> <0E6EADDD-374D-4F1E-B608-E64D9B3929B1@gbiv.com>
Date: Fri, 22 Jun 2012 17:42:35 -0700
Message-ID: <CABaLYCutsk=3-AOjo=hatZYBET1=geoP7DQn6bKQTdWQRhP=wQ@mail.gmail.com>
From: Mike Belshe <mike@belshe.com>
To: "Roy T. Fielding" <fielding@gbiv.com>
Cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>,  Howard Dierking <howard@microsoft.com>
Content-Type: multipart/alternative; boundary=bcaec550ace663986304c3190651
X-Gm-Message-State: ALoCoQkBOig2W5L17ZNVlP9R+8VzyU7bz+k+QWiMs/5bneqjzw9fj5pfoSfkZZNX3X+2EicCpykg
Received-SPF: none client-ip=209.85.217.171; envelope-from=mike@belshe.com; helo=mail-lb0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7
X-W3C-Scan-Sig: lisa.w3.org 1SiERK-00082B-LB 634f21e5d17fe4b6e2925457c30029cd
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/CABaLYCutsk=3-AOjo=hatZYBET1=geoP7DQn6bKQTdWQRhP=wQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13889
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiERm-00008K-S8@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 00:43:30 +0000

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

On Fri, Jun 22, 2012 at 5:10 PM, Roy T. Fielding <fielding@gbiv.com> wrote:

> HTTP predates gzip and cookies. The notion that such a choice had anything
> to do with optional features is just silly. It is optional because it
> barely even worked in practice until 1999 and certainly wasn't feasible as
> a default until a few years after that as CPU capability increased.
>

I'm sorry if this offends - it wasn't intended as a dig against HTTP.

The point is that the #1 performance impact in this test was compression,
which optional in HTTP, and that optional features are not used as widely
as they could be.

Mike




>
>
> ....Roy
>
>
> On Jun 22, 2012, at 3:55 PM, Mike Belshe <mike@belshe.com> wrote:
>
>
>
> On Fri, Jun 22, 2012 at 10:18 AM, Henrik Frystyk Nielsen <
> henrikn@microsoft.com> wrote:
>
>>  We just published a blog [1] analyzing the performance implications of
>> content optimizations such as bundling and minification on the performance
>> of web pages. The data shows that by applying bundling and minification
>> along with compression and pipelining it is possible to get significant
>> gains in the time it takes to get the content necessary to render a page as
>> well as the overall time it takes to download the data.****
>>
>> ** **
>>
>> Not only does optimizing the content save bytes but it also has savings
>> in the number of requests and responses that need to be processed as well
>> as faster render times due to being able to retrieve the HTML, CSS, and JS
>> up front. In the test evaluated, the speedup was from 638 ms
>> (uncompressed, unbundled, unminified, and not pipelined) down to 146 ms for
>> the equivalent compressed, bundled, minified, and pipelined content.
>> However, by just looking at the data necessary to lay out the page (HTML,
>> CSS, and JS but not images), the time went from 631 ms to 126 ms with the
>> images being finalized within the remaining timespan from 126 to 146 ms.*
>> ***
>>
>> ** **
>>
>> It is the hope that this data can contribute to providing a baseline for
>> evaluating HTTP/2.0 proposals compared to how an efficient HTTP/1.x
>> implementation can perform while leverage optimizations throughout the
>> stack to provide better user experience.
>>
>
> Thanks, Henrik.
>
> One point this article proves to me is just why protocol features must be
> mandatory.  I hope HTTP/2.0 learns from this data.
>
> To illustrate - look at how important gzip was in the performance measured
> here.  If we consider the maximum benefit in all of these test cases
> (reduced PLT from 638 to 146ms) - 93% of that benefit is accomplished with
> gzip alone (no pipelines, no bundles, no minification, no spdy, nothing!).
>
> This is why so many protocol writers are adamantly against optional
> features.   If gzip were mandatory in HTTP/1.1, 93% of the benefit of this
> test would be achieved for everyone today.  Instead, enabled by optional
> compression, we know from other research** that ~1/3 of all compressable
> resources lack compression, and over SSL about half of compressable
> resources lack compression.  We'd be able to stop testing the uncompressed
> case for sure!
>
> An interesting test would be to measure if pipelining, bundling, and
> minification without gzip can outperform gzip alone.  (spoiler alert -
> nope! :-)
>
> Mike
>
> ** https://developers.google.com/speed/articles/web-metrics
>
>
>
>
>> ****
>>
>> ** **
>>
>> Comments welcome!****
>>
>> ** **
>>
>> Thanks,****
>>
>> ** **
>>
>> Henrik****
>>
>> ** **
>>
>> [1]
>> http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications-of-bundling-and-minification-on-http.aspx
>> ****
>>
>> ** **
>>
>
>

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

<br><br><div class=3D"gmail_quote">On Fri, Jun 22, 2012 at 5:10 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:1px #ccc solid;padding=
-left:1ex">
<div bgcolor=3D"#FFFFFF"><div>HTTP predates gzip and cookies. The notion th=
at such a choice had anything to do with optional features is just silly. I=
t is optional because it barely even worked in practice until 1999 and cert=
ainly wasn&#39;t feasible as a default until a few years after that as CPU =
capability increased.</div>
</div></blockquote><div><br></div><div>I&#39;m sorry if this offends - it w=
asn&#39;t intended as a dig against HTTP.=A0</div><div><br></div><div>The p=
oint is that the #1 performance impact in this test was compression, which =
optional in HTTP, and that optional features are not used as widely as they=
 could be.</div>
<div><br></div><div>Mike</div><div><br></div><div><br></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 bgcolor=3D"#FFFFFF"><div><span class=3D"=
HOEnZb"><font color=3D"#888888"><br>
<br>....Roy<div><br></div></font></span></div><div><div class=3D"h5"><div><=
br>On Jun 22, 2012, at 3:55 PM, Mike Belshe &lt;<a href=3D"mailto:mike@bels=
he.com" target=3D"_blank">mike@belshe.com</a>&gt; wrote:<br><br></div><div>=
</div>
<blockquote type=3D"cite"><div><br><br><div class=3D"gmail_quote">On Fri, J=
un 22, 2012 at 10:18 AM, Henrik Frystyk Nielsen <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:henrikn@microsoft.com" target=3D"_blank">henrikn@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">






<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal">We just published a blog [1] analyzing the performan=
ce implications of content optimizations such as bundling and minification =
on the performance of web pages. The data shows that by applying bundling a=
nd minification along with compression
 and pipelining it is possible to get significant gains in the time it take=
s to get the content necessary to render a page as well as the overall time=
 it takes to download the data.<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Not only does optimizing the content save bytes but =
it also has savings in the number of requests and responses that need to be=
 processed as well as faster render times due to being able to retrieve the=
 HTML, CSS, and JS up front.
<span lang=3D"EN">In the test evaluated, the speedup was from 638 ms (uncom=
pressed, unbundled, unminified, and not pipelined) down to 146 ms for the e=
quivalent compressed, bundled, minified, and pipelined content. However, by=
 just looking at the data necessary
 to lay out the page (HTML, CSS, and JS but not images), the time went from=
 631 ms to 126 ms with the images being finalized within the remaining time=
span from 126 to 146 ms.</span><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">It is the hope that this data can contribute to prov=
iding a baseline for evaluating HTTP/2.0 proposals compared to how an effic=
ient HTTP/1.x implementation can perform while leverage optimizations throu=
ghout the stack to provide better
 user experience.</p></div></div></blockquote><div><br></div><div>Thanks, H=
enrik.</div><div><br></div><div>One point this article proves to me is just=
 why protocol features must be mandatory. =A0I hope HTTP/2.0 learns from th=
is data.</div>

<div><br></div><div>To illustrate - look at how important gzip was in the p=
erformance measured here. =A0If we consider the maximum benefit in all of t=
hese test cases (reduced PLT from 638 to 146ms) - 93% of that benefit is ac=
complished with gzip alone (no pipelines, no bundles, no minification, no s=
pdy, nothing!).</div>

<div><br></div><div>This is why so many protocol writers are adamantly agai=
nst optional features. =A0 If gzip were mandatory in HTTP/1.1, 93% of the b=
enefit of this test would be achieved for everyone today. =A0Instead, enabl=
ed by optional compression, we know from other research** that ~1/3 of all =
compressable resources lack compression, and over SSL about half of compres=
sable resources lack compression. =A0We&#39;d be able to stop testing the u=
ncompressed case for sure!</div>

<div><br></div><div>An interesting test would be to measure if pipelining, =
bundling, and minification without gzip can outperform gzip alone. =A0(spoi=
ler alert - nope! :-)</div><div><br></div><div>Mike</div><div><br></div>
<div>
**=A0<a href=3D"https://developers.google.com/speed/articles/web-metrics" t=
arget=3D"_blank">https://developers.google.com/speed/articles/web-metrics</=
a></div><div><br></div><div><br></div><div>=A0</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">

<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple"><div><p class=3D"MsoNorm=
al"><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Comments welcome!<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Thanks,<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">Henrik<u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
<p class=3D"MsoNormal">[1] <a href=3D"http://blogs.msdn.com/b/henrikn/archi=
ve/2012/06/17/performance-implications-of-bundling-and-minification-on-http=
.aspx" target=3D"_blank">
http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications=
-of-bundling-and-minification-on-http.aspx</a><u></u><u></u></p>
<p class=3D"MsoNormal"><u></u>=A0<u></u></p>
</div>
</div>

</blockquote></div><br>
</div></blockquote></div></div></div></blockquote></div><br>

--bcaec550ace663986304c3190651--


From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 18:24: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 2CFDF11E809B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 18:24:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.309
X-Spam-Level: 
X-Spam-Status: No, score=-10.309 tagged_above=-999 required=5 tests=[AWL=0.290, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hvSI2DujoeqO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 18:24:39 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2AA2411E808E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 18:24:39 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiF2z-00086d-B4 for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 01:21:57 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SiF2a-00080v-1K for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 01:21:32 +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 1SiF2X-00051Y-Hn for ietf-http-wg@w3.org; Sat, 23 Jun 2012 01:21:30 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 018A622E1EB; Fri, 22 Jun 2012 21:21:06 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
Date: Sat, 23 Jun 2012 11:21:03 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <AB11A170-5260-4042-9058-045C9B961CA4@mnot.net>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SiF2X-00051Y-Hn 85222b0e4760fc73ced2bf20261ed1d5
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/AB11A170-5260-4042-9058-045C9B961CA4@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13890
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiF2z-00086d-B4@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 01:21:57 +0000

Hi Henrik,

Thanks very much for doing this.=20

I'd like to see much more data like this; without it, it's too easy to =
make decisions based upon popularity and momentum rather than reasoned =
goals, especially when engineers clamour for Shiny New Things. Mike and =
the Google guys have done some fantastic work in this area, but we need =
multiple sources and repeatable tests.

It'd be nice to see this in a more permanent form; e.g., as an I-D, or =
copied to the WG wiki. Blog entries have a habit of disappearing. (Mike =
et al, if you'd like to copy your data over as well, please get in =
touch; we could start a bit of a repository there).

Also, I'd *really* like to see more data about higher-latency =
connections. Personally, the majority of Web sites I use on a daily =
basis have a ping time in excess of 200ms, and that's going to be the =
experience of many across the globe (not just those in .au and .nz).

Cheers,



On 23/06/2012, at 3:18 AM, Henrik Frystyk Nielsen wrote:

> We just published a blog [1] analyzing the performance implications of =
content optimizations such as bundling and minification on the =
performance of web pages. The data shows that by applying bundling and =
minification along with compression and pipelining it is possible to get =
significant gains in the time it takes to get the content necessary to =
render a page as well as the overall time it takes to download the data.
> =20
> Not only does optimizing the content save bytes but it also has =
savings in the number of requests and responses that need to be =
processed as well as faster render times due to being able to retrieve =
the HTML, CSS, and JS up front. In the test evaluated, the speedup was =
from 638 ms (uncompressed, unbundled, unminified, and not pipelined) =
down to 146 ms for the equivalent compressed, bundled, minified, and =
pipelined content. However, by just looking at the data necessary to lay =
out the page (HTML, CSS, and JS but not images), the time went from 631 =
ms to 126 ms with the images being finalized within the remaining =
timespan from 126 to 146 ms.
> =20
> It is the hope that this data can contribute to providing a baseline =
for evaluating HTTP/2.0 proposals compared to how an efficient HTTP/1.x =
implementation can perform while leverage optimizations throughout the =
stack to provide better user experience.
> =20
> Comments welcome!
> =20
> Thanks,
> =20
> Henrik
> =20
> [1] =
http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implication=
s-of-bundling-and-minification-on-http.aspx

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 18:31: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 8C73811E809B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 18:31:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.467
X-Spam-Level: 
X-Spam-Status: No, score=-7.467 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GHoXmHYA5EDg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 18:31:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 92F4511E808E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 18:31:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiFBS-0000oh-BH for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 01:30:42 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1SiFAr-00008d-W3 for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 01:30:06 +0000
Received: from va3ehsobe004.messaging.microsoft.com ([216.32.180.14] helo=va3outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SiFAo-0001Ep-8V for ietf-http-wg@w3.org; Sat, 23 Jun 2012 01:30:04 +0000
Received: from mail86-va3-R.bigfish.com (10.7.14.251) by VA3EHSOBE009.bigfish.com (10.7.40.29) with Microsoft SMTP Server id 14.1.225.23; Sat, 23 Jun 2012 01:28:05 +0000
Received: from mail86-va3 (localhost [127.0.0.1])	by mail86-va3-R.bigfish.com (Postfix) with ESMTP id 35B221A01FA	for <ietf-http-wg@w3.org>; Sat, 23 Jun 2012 01:28:05 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC107.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -10
X-BigFish: VS-10(zzbb2dI98dI9371I542M1432I4015Izz1202hzz8275ch8275bhz2fh2a8h683h839h944hd25hf0ah)
Received-SPF: pass (mail86-va3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC107.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.244.37;KIP:(null);UIP:(null);(null);H:CH1PRD0310HT005.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail86-va3 (localhost.localdomain [127.0.0.1]) by mail86-va3 (MessageSwitch) id 1340414883237511_3621; Sat, 23 Jun 2012 01:28:03 +0000 (UTC)
Received: from VA3EHSMHS023.bigfish.com (unknown [10.7.14.244])	by mail86-va3.bigfish.com (Postfix) with ESMTP id 2CD582A005A	for <ietf-http-wg@w3.org>; Sat, 23 Jun 2012 01:28:03 +0000 (UTC)
Received: from TK5EX14HUBC107.redmond.corp.microsoft.com (131.107.125.8) by VA3EHSMHS023.bigfish.com (10.7.99.33) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sat, 23 Jun 2012 01:28:03 +0000
Received: from CH1EHSOBE007.bigfish.com (157.54.51.112) by mail.microsoft.com (157.54.80.67) with Microsoft SMTP Server (TLS) id 14.2.309.3; Sat, 23 Jun 2012 01:29:32 +0000
Received: from mail143-ch1-R.bigfish.com (10.43.68.239) by CH1EHSOBE007.bigfish.com (10.43.70.57) with Microsoft SMTP Server id 14.1.225.23; Sat, 23 Jun 2012 01:28:00 +0000
Received: from mail143-ch1 (localhost [127.0.0.1])	by mail143-ch1-R.bigfish.com (Postfix) with ESMTP id 9AEF82000F9	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Sat, 23 Jun 2012 01:28:00 +0000 (UTC)
Received: from mail143-ch1 (localhost.localdomain [127.0.0.1]) by mail143-ch1 (MessageSwitch) id 1340414878799982_17037; Sat, 23 Jun 2012 01:27:58 +0000 (UTC)
Received: from CH1EHSMHS030.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.244])	by mail143-ch1.bigfish.com (Postfix) with ESMTP id C16D5340046;	Sat, 23 Jun 2012 01:27:58 +0000 (UTC)
Received: from CH1PRD0310HT005.namprd03.prod.outlook.com (157.56.244.37) by CH1EHSMHS030.bigfish.com (10.43.70.30) with Microsoft SMTP Server (TLS) id 14.1.225.23; Sat, 23 Jun 2012 01:27:58 +0000
Received: from CH1PRD0310MB392.namprd03.prod.outlook.com ([169.254.6.164]) by CH1PRD0310HT005.namprd03.prod.outlook.com ([10.255.137.40]) with mapi id 14.16.0152.000; Sat, 23 Jun 2012 01:29:28 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: Ac1Ql09kO/Rw+g27QoWX3dckc0auawARyUKAAAALR7A=
Date: Sat, 23 Jun 2012 01:29:27 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346D7640@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <AB11A170-5260-4042-9058-045C9B961CA4@mnot.net>
In-Reply-To: <AB11A170-5260-4042-9058-045C9B961CA4@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [24.16.154.150]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PRD0310HT005.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MNOT.NET$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC107.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC107.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.180.14; envelope-from=henrikn@microsoft.com; helo=va3outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1SiFAo-0001Ep-8V 37369a2771718991b39176baba8dec9c
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on  HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346D7640@CH1PRD0310MB392.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13891
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiFBS-0000oh-BH@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 01:30:42 +0000

That sounds fantastic!  I'd be happy to put it into ID form or the blog  --=
 might have to redo the graphics ;)

As for more data in high-latency environments -- I completely agree -- it's=
 on the list and I hope to provide some data next week. I would also like t=
o see data through proxies.

Btw, I hope to make the data/source available soon so that people can try i=
t out as well.

Henrik

-----Original Message-----
From: Mark Nottingham [mailto:mnot@mnot.net]=20
Sent: Friday, June 22, 2012 18:21
To: Henrik Frystyk Nielsen
Cc: HTTP Working Group; Howard Dierking
Subject: Re: Performance implications of Bundling and Minification on HTTP/=
1.1

Hi Henrik,

Thanks very much for doing this.=20

I'd like to see much more data like this; without it, it's too easy to make=
 decisions based upon popularity and momentum rather than reasoned goals, e=
specially when engineers clamour for Shiny New Things. Mike and the Google =
guys have done some fantastic work in this area, but we need multiple sourc=
es and repeatable tests.

It'd be nice to see this in a more permanent form; e.g., as an I-D, or copi=
ed to the WG wiki. Blog entries have a habit of disappearing. (Mike et al, =
if you'd like to copy your data over as well, please get in touch; we could=
 start a bit of a repository there).

Also, I'd *really* like to see more data about higher-latency connections. =
Personally, the majority of Web sites I use on a daily basis have a ping ti=
me in excess of 200ms, and that's going to be the experience of many across=
 the globe (not just those in .au and .nz).

Cheers,



On 23/06/2012, at 3:18 AM, Henrik Frystyk Nielsen wrote:

> We just published a blog [1] analyzing the performance implications of co=
ntent optimizations such as bundling and minification on the performance of=
 web pages. The data shows that by applying bundling and minification along=
 with compression and pipelining it is possible to get significant gains in=
 the time it takes to get the content necessary to render a page as well as=
 the overall time it takes to download the data.
> =20
> Not only does optimizing the content save bytes but it also has savings i=
n the number of requests and responses that need to be processed as well as=
 faster render times due to being able to retrieve the HTML, CSS, and JS up=
 front. In the test evaluated, the speedup was from 638 ms (uncompressed, u=
nbundled, unminified, and not pipelined) down to 146 ms for the equivalent =
compressed, bundled, minified, and pipelined content. However, by just look=
ing at the data necessary to lay out the page (HTML, CSS, and JS but not im=
ages), the time went from 631 ms to 126 ms with the images being finalized =
within the remaining timespan from 126 to 146 ms.
> =20
> It is the hope that this data can contribute to providing a baseline for =
evaluating HTTP/2.0 proposals compared to how an efficient HTTP/1.x impleme=
ntation can perform while leverage optimizations throughout the stack to pr=
ovide better user experience.
> =20
> Comments welcome!
> =20
> Thanks,
> =20
> Henrik
> =20
> [1] http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implic=
ations-of-bundling-and-minification-on-http.aspx

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










From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 18: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 BAD2911E808E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 18:37:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.316
X-Spam-Level: 
X-Spam-Status: No, score=-10.316 tagged_above=-999 required=5 tests=[AWL=0.283, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nebKq+Gbm7wq for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 18:37:40 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5D2B211E808C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 18:37:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiFGb-0001l4-GJ for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 01:36:01 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SiFGF-0001jS-97 for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 01:35:40 +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 1SiFGC-0001PF-5l for ietf-http-wg@w3.org; Sat, 23 Jun 2012 01:35:37 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 0CF5E22E257; Fri, 22 Jun 2012 21:35:12 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CABaLYCutsk=3-AOjo=hatZYBET1=geoP7DQn6bKQTdWQRhP=wQ@mail.gmail.com>
Date: Sat, 23 Jun 2012 11:35:09 +1000
Cc: "Roy T. Fielding" <fielding@gbiv.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <01E92E8E-CB1F-47BD-B7AC-280DD332B02D@mnot.net>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com> <0E6EADDD-374D-4F1E-B608-E64D9B3929B1@gbiv.com> <CABaLYCutsk=3-AOjo=hatZYBET1=geoP7DQn6bKQTdWQRhP=wQ@mail.gmail.com>
To: Mike Belshe <mike@belshe.com>
X-Mailer: Apple Mail (2.1278)
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.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 1SiFGC-0001PF-5l eae8ea4439cc882feca1e40121b353ea
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/01E92E8E-CB1F-47BD-B7AC-280DD332B02D@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13892
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiFGb-0001l4-GJ@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 01:36:01 +0000

On 23/06/2012, at 10:42 AM, Mike Belshe wrote:

>=20
>=20
> On Fri, Jun 22, 2012 at 5:10 PM, Roy T. Fielding <fielding@gbiv.com> =
wrote:
> HTTP predates gzip and cookies. The notion that such a choice had =
anything to do with optional features is just silly. It is optional =
because it barely even worked in practice until 1999 and certainly =
wasn't feasible as a default until a few years after that as CPU =
capability increased.
>=20
> I'm sorry if this offends - it wasn't intended as a dig against HTTP.=20=

>=20
> The point is that the #1 performance impact in this test was =
compression, which optional in HTTP, and that optional features are not =
used as widely as they could be.

It's actually very widely deployed among browsers.

The issue isn't that it's optional, the issue is that because it's =
negotiated, some intermediaries disable the negotiation to make =
application of policy easier.=20

We can have a discussion about whether or not we want to prioritise =
performance over these use cases, but let's not kid ourselves that it's =
as simple as "optional =3D bad." Sometimes there are good reasons to =
make something optional.

Cheers,

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun 22 19:11: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 E009811E808C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 19:11:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.322
X-Spam-Level: 
X-Spam-Status: No, score=-10.322 tagged_above=-999 required=5 tests=[AWL=0.277, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PYz3lLRrqrc1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 22 Jun 2012 19:11:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B530B11E8088 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 22 Jun 2012 19:11:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiFnr-00060V-VR for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 02:10:24 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SiFnS-0005yd-NT for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 02:09:58 +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 1SiFnP-0002Vv-J0 for ietf-http-wg@w3.org; Sat, 23 Jun 2012 02:09:57 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4B0B522E1F4; Fri, 22 Jun 2012 22:09:31 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE45AD8.3080801@velocix.com>
Date: Sat, 23 Jun 2012 12:09:28 +1000
Cc: Zhong Yu <zhong.j.yu@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Ben Niven-Jenkins <ben@niven-jenkins.co.uk>
Content-Transfer-Encoding: quoted-printable
Message-Id: <654C70AE-6881-44EE-9D99-80D98CBA1555@mnot.net>
References: <B5E63193-2450-41AD-A3AA-047755F2189D@niven-jenkins.co.uk> <6B348243-BC1C-48C0-822A-1649FDAF7091@mnot.net> <F65ED7E8-7B71-4DFC-98BC-51FCC1B4936B@mnot.net> <CACuKZqHdp2_sL=V9pg1cnTrYOwWjAzh4+d-wh+qpnFRzONyQ-g@mail.gmail.com> <4DEBDF43-17B3-4EA7-A014-46932F037CCA@mnot.net> <4FE45AD8.3080801@velocix.com>
To: John Sullivan <jsullivan@velocix.com>
X-Mailer: Apple Mail (2.1278)
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.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 1SiFnP-0002Vv-J0 5990b7cb188fdcff64f9593a31bc7ceb
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #354 - ETags & conditional requests
Archived-At: <http://www.w3.org/mid/654C70AE-6881-44EE-9D99-80D98CBA1555@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13893
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiFnr-00060V-VR@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 02:10:23 +0000

On 22/06/2012, at 9:45 PM, John Sullivan wrote:

> Mark Nottingham wrote:
>> Of course, thanks; I always forget about the Range cases.
>>=20
>> How about:
>>=20
>> """
>> If any of the entity-tags listed in the If-Match field value match =
(as per Section 2.3.2) the entity-tag of the selected representation for =
the target resource, or if "*" is given and any current representation =
exists for the target resource, then the server may perform the request =
method as if the If-Match header field was not present.
>>=20
>> Origin servers must not perform the requested method if none of the =
entity-tags match, or if "*" is given and no current representation =
exists; instead, they must respond with the 412 (Precondition Failed) =
status code.
>>=20
>> Proxy servers using a cached response as the selected representation =
must not perform the requested method if none of the entity-tags match, =
or if "*" is given and no current representation exists; instead, they =
must forward the request towards the origin server.
>> """
>=20
> That sounds good to me - just a minor question about the wording:
>=20
>    If any of the entity-tags listed in the If-Match field value match
>    (as per Section 2.3.2) the entity-tag of the selected =
representation
>    for the target resource
>=20
> That makes it sound like, in cases where the server has multiple
> representations available, it will first choose one, *then* compare
> with If-Match. (So if several equivalent versions are available and
> If-Match contains one ETag, and the server chooses the "wrong" one
> in step 1, it will always fail to match in step 2.) I just wondered
> whether the opposite way is specifically excluded: search the =
available
> versions for one matching an ETag present in If-Match, which will =
always
> succeed if a matching representation is present.

Yes. Note that "selected representation" is defined earlier:

> We use the term "selected representation" to refer to the current =
representation of the target resource that would have been selected in a =
successful response if the same request had used the method GET and had =
excluded all of the conditional request header fields. The conditional =
request preconditions are evaluated by comparing the values provided in =
the request header fields to the current metadata for the selected =
representation.

Now, a cache could have multiple representations of a resource stored, =
but again the selection algorithm again only has one output; see =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p6-ca=
che.html#caching.negotiated.responses>.

Cheers,


>=20
>=20
>> On 22/06/2012, at 1:43 AM, Zhong Yu wrote:
>>=20
>>> A valid use case for GET + If-Match may be a range request.
>>>=20
>>> If the intermediary has a cached representation with matching tag,
>>> which it has reason to believe would be the "selected =
representation"
>>> from the original server, the intermediary may safely do the =
shortcut.
>>> Otherwise the request has to be forwarded to the original server.
>>>=20
>>> Zhong Yu
>>>=20
>>> On Wed, Jun 20, 2012 at 10:47 PM, Mark Nottingham <mnot@mnot.net> =
wrote:
>>>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/354>; related =
text is at =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-co=
nditional.html#header.if-match>
>>>>=20
>>>> Usually, this isn't a problem, because If-Match is only used with =
methods that to be written through to the origin server. E.g., when you =
PUT or POST something.
>>>>=20
>>>> However, we shouldn't count on that.
>>>>=20
>>>> One way to address this would be to target the requirements at =
"origin server" rather than "server"; i.e. to say that we don't expect =
intermediaries to process If-Match.
>>>>=20
>>>> Thoughts?
>>>>=20
>>>>=20
>>>> On 24/04/2012, at 3:47 AM, Ben Niven-Jenkins wrote:
>>>>=20
>>>>> Hi,
>>>>>=20
>>>>> Apologies that this mail misses the WG LC deadline, in Velocix =
we're reviewing all the HTTPBIS documents but we're a little behind, =
hence the late comments, sorry. (we're still reviewing so might have =
more comments as we work through the documents)
>>>>>=20
>>>>> On page 14 of P4 it states:
>>>>>=20
>>>>> If none of the entity-tags match, or if "*" is given and no =
current
>>>>> representation exists, the server MUST NOT perform the requested
>>>>> method.  Instead, the server MUST respond with the 412 =
(Precondition
>>>>> Failed) status code.
>>>>>=20
>>>>> This appears to apply to intermediates, but If-Match has a problem
>>>>> here that If-Unmodified-Since does not. If a proxy has a cached
>>>>> entity which has a newer Last-Modified timestamp it *knows* that
>>>>> the conditional has failed and can generate the required
>>>>> 412 Precondition Failed response itself. Otherwise it can satisfy
>>>>> the request from cache. Or relay if there is no current cached
>>>>> version.
>>>>>=20
>>>>> But because multiple responses with different ETags may exist then =
a cache receiving If-Match with one etag, when it has a different etag =
cached, can not know for sure that the request etag does not exist. If =
it were to respond with a 412 status it would effectively be preventing =
the use of that conditional.
>>>>>=20
>>>>> It would appear that the only two options available to an =
intermediate are to satisfy the request in the case of a known match, =
and relay upstream in all other cases (which would be in conflict with =
the spec as quoted above).
>>>>>=20
>>>>> Thanks
>>>>> Ben
>>>>>=20
>>>>>=20
>>>>=20
>>>> --
>>>> Mark Nottingham   http://www.mnot.net/
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>=20
>> --
>> Mark Nottingham   http://www.mnot.net/
>>=20
>>=20
>>=20
>>=20
>>=20
>=20
>=20
> John
> --=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Sat Jun 23 01:05: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 F03DB21F854D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 01:05:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.042
X-Spam-Level: 
X-Spam-Status: No, score=-10.042 tagged_above=-999 required=5 tests=[AWL=-0.043, BAYES_00=-2.599, J_CHICKENPOX_32=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Nu4e+M2vb25f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 01:05:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6BFBB21F854B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 01:05:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiLIp-0008By-Jp for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 08:02:43 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <w@1wt.eu>) id 1SiLIU-0007vU-2o for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 08:02:22 +0000
Received: from 1wt.eu ([62.212.114.60]) by lisa.w3.org with esmtp (Exim 4.72) (envelope-from <w@1wt.eu>) id 1SiLIR-0004rD-6E for ietf-http-wg@w3.org; Sat, 23 Jun 2012 08:02:20 +0000
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id q5N81lmB021705; Sat, 23 Jun 2012 10:01:47 +0200
Date: Sat, 23 Jun 2012 10:01:47 +0200
From: Willy Tarreau <w@1wt.eu>
To: Mark Nottingham <mnot@mnot.net>
Cc: Mike Belshe <mike@belshe.com>, "Roy T. Fielding" <fielding@gbiv.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Message-ID: <20120623080147.GC18996@1wt.eu>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com> <0E6EADDD-374D-4F1E-B608-E64D9B3929B1@gbiv.com> <CABaLYCutsk=3-AOjo=hatZYBET1=geoP7DQn6bKQTdWQRhP=wQ@mail.gmail.com> <01E92E8E-CB1F-47BD-B7AC-280DD332B02D@mnot.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <01E92E8E-CB1F-47BD-B7AC-280DD332B02D@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SiLIR-0004rD-6E 5a5e664e6b4a52bd6bea1708beb9e2c7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/20120623080147.GC18996@1wt.eu>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13894
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiLIp-0008By-Jp@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 08:02:43 +0000

On Sat, Jun 23, 2012 at 11:35:09AM +1000, Mark Nottingham wrote:
> > The point is that the #1 performance impact in this test was compression, which optional in HTTP, and that optional features are not used as widely as they could be.
> 
> It's actually very widely deployed among browsers.
> 
> The issue isn't that it's optional, the issue is that because it's negotiated, some intermediaries disable the negotiation to make application of policy easier. 
> 
> We can have a discussion about whether or not we want to prioritise performance over these use cases, but let's not kid ourselves that it's as simple as "optional = bad." Sometimes there are good reasons to make something optional.

Indeed! I'd prefer having my traffic pass through a non-compressing proxy
than through a proxy which has trouble compressing chunked-encoded data.
And I'm still regularly observing some of them lying around from time to
time. It's not just a matter of applying a policy easier, it's also a
matter of getting the code do the right thing and reliably.

The most features we'll make mandatory, the less reliable components we'll
get.

Also, while I'm not fundamentally against having servers compress data by
default, I'm against having them do it *systematically* and against using
gzip *only*. Gzip is now old and new algos are much more powerful at the
expense of CPU power on the compressing size. But caching compressed
objects sometimes allows a server to prepare contents that are delivered
much faster to capable consumers. That's why large files are commonly
delivered in tar.xz archives nowadays instead of tar.gz.

I think that the main reason for servers not always compressing contents
right now is that the underlying HTTP/1 protocol doesn't make this easy.
In my opinion, we should design HTTP/2 so that it doesn't get tricky
anymore to send compressed contents, and that way we'll encourage servers
to deliver compressed contents (whether they do it on the fly or select a
pre-compressed alternate file).

Regards,
Willy



From ietf-http-wg-request@listhub.w3.org  Sat Jun 23 01:10: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 65A5221F8579 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 01:10: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id REMvLQggXB4J for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 01:10:33 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D2C6221F8577 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 01:10:33 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiLOc-0008WS-7r for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 08:08:42 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1SiLOP-0008VZ-P7 for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 08:08:29 +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 1SiLOL-00084b-V2 for ietf-http-wg@w3.org; Sat, 23 Jun 2012 08:08:27 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 626073B751; Sat, 23 Jun 2012 08:08:04 +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 q5N882nD004320; Sat, 23 Jun 2012 08:08:03 GMT (envelope-from phk@phk.freebsd.dk)
To: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
cc: Rob Trace <Rob.Trace@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sat, 23 Jun 2012 00:10:27 GMT." <CA566BAEAD6B3F4E8B5C5C4F61710C1148057DA6@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sat, 23 Jun 2012 08:08:01 +0000
Message-ID: <4319.1340438881@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SiLOL-00084b-V2 03e04ffce3fa6351674add58264d32ff
X-Original-To: ietf-http-wg@w3.org
Subject: Re: New Version Notification for draft-montenegro-httpbis-speed-mobility-02.txt
Archived-At: <http://www.w3.org/mid/4319.1340438881@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13895
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiLOc-0008WS-7r@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 08:08:42 +0000

In message <CA566BAEAD6B3F4E8B5C5C4F61710C1148057DA6@TK5EX14MBXW602.wingroup.wi
ndeploy.ntdev.microsoft.com>, Gabriel Montenegro writes:

>I'm a bit confused by your proposed tweak:
>
>> 	Once created, all requests on a given stream MUST have the
>> 	same "Host:" header.
>
>Currently, we don't reuse streams, so the assumption is that a request creates
>one and a reply tears it down.

OK, I don't know how I could have missed that bit.

I think that is a bad idea, it adds a lot of overhead-processing that
can be trivially be avoided by reusing the stream in the restricted way
I propose.

-- 
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  Sat Jun 23 01:31: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 3811321F8471 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 01:31: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tDTFqQfVHZuK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 01:31:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4E39621F8470 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 01:31:52 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiLk0-0005JV-0O for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 08:30:48 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1SiLjQ-0005GD-UL for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 08:30:12 +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 1SiLjM-00007u-VK for ietf-http-wg@w3.org; Sat, 23 Jun 2012 08:30:10 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id 1262E3B75C; Sat, 23 Jun 2012 08:29:48 +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 q5N8Tlkq004490; Sat, 23 Jun 2012 08:29:47 GMT (envelope-from phk@phk.freebsd.dk)
To: "Martin Nilsson" <nilsson@opera.com>
cc: "HTTP Working Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sat, 23 Jun 2012 02:13:51 +0200." <op.wgbxldx3iw9drz@manganese.bredbandsbolaget.se>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sat, 23 Jun 2012 08:29:47 +0000
Message-ID: <4489.1340440187@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SiLjM-00007u-VK 0091e3bb8235945fb970762f63d67869
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/4489.1340440187@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13896
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiLk0-0005JV-0O@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 08:30:48 +0000

In message <op.wgbxldx3iw9drz@manganese.bredbandsbolaget.se>, "Martin Nilsson" 
writes:

>Also, some HTTP requests are rewritten by proxies and anti-virus  
>applications to disable compression, so compression will be used even less.

... and they have a good reason to disable gzip:  These devices sit at the
"choke-points" in the network and see very high if not the highest
HTTP-traffic densities of any devices in the HTTP domain.

There are two subcases, and they are quite different:

"Incoming"
----------

Typically a load-balancer which needs only to inspect the "Host:"
header and/or the URI in the request and the status code of the
reponse.

These are the devices I call "HTTP routers", and they are where
all the traffic bottlenecks when the entire world tries to find
out what happened in Dallas.

HTTP/2.0 should serialize (at least) these crucial fields without
gzip and preferably in a way that makes it very easy and cheap to
find them.


"Outgoing"
----------

Almost always content-scanning, and since there are legitimate
use cases (Prison inmates for instance) we have to accept this
role as legitimate[1].

A legitimate argument exists, that censors should pay the cost
of censorship.  If we accept that, these boxes should not be
able to force clients/servers to forego compression.


-- 
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  Sat Jun 23 03:47: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 874A421F8539 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 03:47:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.462
X-Spam-Level: 
X-Spam-Status: No, score=-9.462 tagged_above=-999 required=5 tests=[AWL=1.137, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jrJVCzRxJQ8F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 03:47:44 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E7A3521F8530 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 03:47:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiNqF-0004Tc-SM for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 10:45:23 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SiNpw-00049Y-7n for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 10:45:04 +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 1SiNpt-00023w-2C for ietf-http-wg@w3.org; Sat, 23 Jun 2012 10:45:02 +0000
Received: (qmail invoked by alias); 23 Jun 2012 10:44:32 -0000
Received: from p5DD94B79.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.75.121] by mail.gmx.net (mp032) with SMTP; 23 Jun 2012 12:44:32 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19A/tA0L6lA8gRFOp0UpzNUlGZoOYCjOB6xU9oKB3 KkBPrdovEbFV+x
Message-ID: <4FE59E09.5050702@gmx.de>
Date: Sat, 23 Jun 2012 12:44:25 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <7BA0010A-BF7F-4F19-A8BC-85E327F41146@mnot.net>
In-Reply-To: <7BA0010A-BF7F-4F19-A8BC-85E327F41146@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=-1.9
X-W3C-Hub-Spam-Report: 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 1SiNpt-00023w-2C fdc78645957b0c873d32cc7c446de119
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: SHOULD review in p7
Archived-At: <http://www.w3.org/mid/4FE59E09.5050702@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13897
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiNqF-0004Tc-SM@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 10:45:23 +0000

On 2012-06-22 03:44, Mark Nottingham wrote:
> As per <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/271>, I'm reviewing our use of SHOULD in the documents; here I also pick on a few MAYs. Where I find issues, I've flagged with EDITORIAL or DESIGN as seems appropriate (I won't open issues for the design ones until we discuss; the editorial ones are considered attached to #271).
>
> 2.1
>
> "Requests for protected resources that omit credentials, contain invalid credentials (e.g., a bad password), or partial credentials (e.g., when the authentication scheme requires more than one round trip) SHOULD return a 401 (Unauthorized) response."
>
> EDITORIAL - make the subject of the requirement more obvious, e.g., "Upon a request for a protected resource that omits credentials, contains invalid credentials (e.g., a bad password), or partial credentials (e.g., when the authentication scheme requires more than one round trip), an origin server SHOULD return a 401 (Unauthorized) response.

OK.

> "Likewise, requests that require authentication by proxies that omit credentials, or contain invalid or partial credentials should return a 407 (Proxy Authentication Required) response."
>
> EDITORIAL - same as above.

Please confirm:

    Likewise, upon a request that requires authentication by proxies that
    omit credentials, or contain invalid or partial credentials, a proxy
    SHOULD return a 407 (Proxy Authentication Required) response.  Such
    responses MUST include a Proxy-Authenticate header field containing a
    (possibly new) challenge applicable to the proxy.

> 3.1
>
> "If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the representation that was given in the response, since that representation might include relevant diagnostic information."
>
> OK
>
> 4.1
>
> "If a request is authenticated and a realm specified, the same credentials SHOULD be valid for all other requests within this realm (assuming that the authentication scheme itself does not require otherwise, such as credentials that vary according to a challenge value or using synchronized clocks)."
>
> Not entirely happy here (the subject of the requirement isn't clear), but don't have much to suggest.
>
> 4.2
>
> "Unlike WWW-Authenticate, the Proxy-Authenticate header field applies only to the current connection and SHOULD NOT be passed on to downstream clients."
>
> EDITORIAL - change to "...current connection, and intermediaries SHOULD NOT forward it to downstream clients."

OK.

Proposed patch: 
<http://trac.tools.ietf.org/wg/httpbis/trac/attachment/ticket/271/271-p7.diff>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sat Jun 23 03:49: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 587AA21F8530 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 03:49:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.519
X-Spam-Level: 
X-Spam-Status: No, score=-9.519 tagged_above=-999 required=5 tests=[AWL=1.080, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XiXwsaAqKo72 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 03:49:05 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id CE65321F852E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 03:49:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiNsZ-0004iy-0U for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 10:47:47 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SiNsM-0004fW-Gl for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 10:47:34 +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 1SiNsJ-0004Rg-Dh for ietf-http-wg@w3.org; Sat, 23 Jun 2012 10:47:32 +0000
Received: (qmail invoked by alias); 23 Jun 2012 10:47:04 -0000
Received: from p5DD94B79.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.75.121] by mail.gmx.net (mp069) with SMTP; 23 Jun 2012 12:47:04 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/oLLMQp7ToPJ2fsYLMb+zI8CL2NMQgUXQaIM6Dq1 MzNzhLB1kuaZ3p
Message-ID: <4FE59EA1.6080405@gmx.de>
Date: Sat, 23 Jun 2012 12:46:57 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4E6B4EF3-90C9-4AF1-A9CF-013EB81B5A3D@mnot.net>
In-Reply-To: <4E6B4EF3-90C9-4AF1-A9CF-013EB81B5A3D@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SiNsJ-0004Rg-Dh caa3e19231fa50d5cb5f4ee4c55c2c62
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: SHOULD review in p5
Archived-At: <http://www.w3.org/mid/4FE59EA1.6080405@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13898
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiNsZ-0004iy-0U@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 10:47:47 +0000

On 2012-06-22 03:44, Mark Nottingham wrote:
> ...
> "If the server ignores a byte-range-spec (for example if it is syntactically invalid, or if it may be seen as a denial-of-service attack), the server SHOULD treat the request as if the invalid Range header field did not exist."
>
> EDITORIAL - "may" -> "might"
> ...

Already fixed in 
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1685#file7>.

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sat Jun 23 04:31: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 79DFA21F84D5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 04:31:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.57
X-Spam-Level: 
X-Spam-Status: No, score=-9.57 tagged_above=-999 required=5 tests=[AWL=1.029, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PgSHwISywJOT for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 04:31:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8D57921F84B3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 04:31:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiOWp-0001TB-FG for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 11:29:23 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SiOWd-0001SK-4Z for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 11:29:11 +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 1SiOWa-0003OO-Fp for ietf-http-wg@w3.org; Sat, 23 Jun 2012 11:29:09 +0000
Received: (qmail invoked by alias); 23 Jun 2012 11:28:42 -0000
Received: from p5DD94B79.dip.t-dialin.net (EHLO [192.168.178.36]) [93.217.75.121] by mail.gmx.net (mp002) with SMTP; 23 Jun 2012 13:28:42 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/Ux10h0RLUB5QjDTtXKV6mwGt8MAqbw6FzlaX3xG mL1EisxbrflOGl
Message-ID: <4FE5A863.8070903@gmx.de>
Date: Sat, 23 Jun 2012 13:28:35 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net>
In-Reply-To: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net>
Content-Type: text/plain; charset=windows-1252; 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=-1.9
X-W3C-Hub-Spam-Report: 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 1SiOWa-0003OO-Fp 3c6966c3b3345f93925614ed879fe0de
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: SHOULD review in p4
Archived-At: <http://www.w3.org/mid/4FE5A863.8070903@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13899
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiOWp-0001TB-FG@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 11:29:23 +0000

On 2012-06-22 03:44, Mark Nottingham wrote:
>
> As per <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/271>, I'm reviewing our use of SHOULD in the documents; here I also pick on a few MAYs. Where I find issues, I've flagged with EDITORIAL or DESIGN as seems appropriate (I won't open issues for the design ones until we discuss; the editorial ones are considered attached to #271).
>
> 2.1
>
> "However, if a resource has distinct representations that differ only in their metadata, such as might occur with content negotiation over media types that happen to share the same data format, then a server SHOULD incorporate additional information in the validator to distinguish those representations and avoid confusing cache behavior."
>
> Seems OK, but not really testable.
> EDITORIAL - change "a server" to "the origin server"

OK.

> "A weak entity-tag SHOULD change whenever the origin server considers prior representations to be unacceptable as a substitute for the current representation. In other words, a weak entity-tag SHOULD change whenever the origin server wants caches to invalidate old responses."
>
> First one is OK, but not testable.
>
> EDITORIAL - change first one to "An origin server SHOULD change a weak entity-tag whenever it considers..."
> EDITORIAL - the second one should probably change to an "ought to", otherwise we're repeating ourselves.

OK.

> ...
> "HTTP/1.0 clients and caches might ignore entity-tags. Generally, last-modified values received or used by these systems will support transparent and efficient caching, and so HTTP/1.1 origin servers SHOULD provide Last-Modified values. In those rare cases where the use of a Last-Modified value as a validator by an HTTP/1.0 system could result in a serious problem, then HTTP/1.1 origin servers SHOULD NOT provide one."
>
> EDITORIAL - change SHOULD to "still ought to". (we're repeating ourselves)

Ack (note this was a lowercase should).

> DESIGN - What are the "rare cases" being talked about here, and how are servers supposed to detect them?

Good question. We may want to drop this.

> 3.1
>
> "The "If-Match" header field MAY be used to make a request method conditional on the current existence or value of an entity-tag for one or more representations of the target resource."
>
> EDITORIAL - change MAY to "can"

Absolutely.

> 3.2
>
> "The "If-None-Match" header field MAY be used to make a request method conditional on not matching any of the current entity-tag values for representations of the target resource."
>
> EDITORIAL - change MAY to "can"

Absolutely.

> "If-None-Match MAY also be used with a value of "*" to prevent an unsafe request method (e.g., PUT) from inadvertently modifying an existing representation of the target resource when the client believes that the resource does not have a current representation."
>
> EDITORIAL - change MAY to "can"

Absolutely.

> ...
> 3.3
>
> "The "If-Modified-Since" header field MAY be used to make a request method conditional by modification date: if the selected representation has not been modified since the time specified in this field, then do not perform the request method; instead, respond as detailed below."
>
> EDITORIAL - change MAY to "can"

Absolutely.

> ...
> 3.4
>
> "The "If-Unmodified-Since" header field MAY be used to make a request method conditional by modification date: if the selected representation has been modified since the time specified in this field, then the server must not perform the requested operation and must instead respond with the 412 (Precondition Failed) status code."
>
> EDITORIAL - change MAY to "can"

Absolutely.

> "If the selected representation has not been modified since the time specified in this field, the server SHOULD perform the request method as if the If-Unmodified-Since header field were not present."
>
> OK (but why not MUST here?)

Dunno, it's a lowercase "should" in RFC 2068. 
(<http://tools.ietf.org/html/rfc2068#section-14.28>)

> "If the request normally (i.e., without the If-Unmodified-Since header field) would result in anything other than a 2xx or 412 status code, the If-Unmodified-Since header field SHOULD be ignored."
>
> OK (but why not MUST here?)

Good question.

> EDITORIAL: "If the request.." -> "If a request..."
> EDITORIAL: the language around ignoring headers / "were not present" here is needlessly divergent.

I changed the second instance to:

    If a request normally (i.e., in absence of the If-Unmodified-Since
    header field) would result in anything other than a 2xx or 412 status
    code, the If-Unmodified-Since header field SHOULD be ignored.

> ...

Applied with <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1691> 
(except for the open issues).

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sat Jun 23 15: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 6637421F8642 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 15:12:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.415
X-Spam-Level: 
X-Spam-Status: No, score=-10.415 tagged_above=-999 required=5 tests=[AWL=0.183, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YcYVcPNAmFK4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 15:12:17 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3BCFE21F863E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 15:12:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiYWK-0005hg-Hy for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 22:09:32 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1SiYW3-0005gn-7G for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 22:09:15 +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 <grmocg@gmail.com>) id 1SiYW0-0002Xw-Ag for ietf-http-wg@w3.org; Sat, 23 Jun 2012 22:09:13 +0000
Received: by wibhq4 with SMTP id hq4so395573wib.8 for <ietf-http-wg@w3.org>; Sat, 23 Jun 2012 15:08: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=BuGPxLxgbKgS1GqnJE+fHQRKgswfmSYCfOJ5fYbV1nM=; b=ghulXXqsqHfAwus2CcIb3m9cYSFEHIfR+pZst90divx9nJxPT3+HS4muCQegjiudCy So5imlu68nhbB/t64FchwY95b5v8DCgH51v47AUrGwWpFxijAO350nz28rHAZVBG9ph9 zfguzhij9fFKuf/p1HSfzz61p1pH0eSrMiPGKKzutwbQDk0hRDDcFuvZcDWRlD+Mmab0 cYk6fOZL/05zATZdopfuPYpzmt5jiQVhvVj9bGYCoRk34D7mxD2j5U5hauLdZuq/D+Lb FsXhlvsFPjGu0mevnI59OLe8F9y4NKFFHqQECuupR+JkUYD0gyPwK4znl2yx4AiZPgm4 365Q==
MIME-Version: 1.0
Received: by 10.216.218.200 with SMTP id k50mr3702759wep.212.1340489325958; Sat, 23 Jun 2012 15:08:45 -0700 (PDT)
Received: by 10.194.46.42 with HTTP; Sat, 23 Jun 2012 15:08:45 -0700 (PDT)
Received: by 10.194.46.42 with HTTP; Sat, 23 Jun 2012 15:08:45 -0700 (PDT)
In-Reply-To: <01E92E8E-CB1F-47BD-B7AC-280DD332B02D@mnot.net>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com> <0E6EADDD-374D-4F1E-B608-E64D9B3929B1@gbiv.com> <CABaLYCutsk=3-AOjo=hatZYBET1=geoP7DQn6bKQTdWQRhP=wQ@mail.gmail.com> <01E92E8E-CB1F-47BD-B7AC-280DD332B02D@mnot.net>
Date: Sat, 23 Jun 2012 15:08:45 -0700
Message-ID: <CAP+FsNcpSp5j8=E992=2P3cUfF=_uR6SqSgRxVwjfMHA4te=jQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Howard Dierking <howard@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>,  Henrik Frystyk Nielsen <henrikn@microsoft.com>, "Roy T. Fielding" <fielding@gbiv.com>, Mike Belshe <mike@belshe.com>
Content-Type: multipart/alternative; boundary=0016e6db2c7a19589004c32afe91
Received-SPF: pass client-ip=209.85.212.179; envelope-from=grmocg@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: maggie.w3.org 1SiYW0-0002Xw-Ag 4ce25f4bbec98f8d903dd072501be3b4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/CAP+FsNcpSp5j8=E992=2P3cUfF=_uR6SqSgRxVwjfMHA4te=jQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13900
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiYWK-0005hg-Hy@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 22:09:32 +0000

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

Negotiated options can work IFF the options are always available and work
reliably.

Proxies as have been deployed for http have made many things that otherwise
should theoretically work not reliably work. An example is gzip
compression. Another example was the amazing amount of problems when
attempting to use a different compression algorithm (even when both client
and server spoke it).

Proxy writers can (and often do) have different motivations from the client
and content-provider.
When this happens, optional features/negotiated features are harmful to the
clients and content providers since clients and content-providers are
effectively held hostage by the proxy provider who has all the power.

I am unabashedly against hostage taking. :)
-=R
On Jun 22, 2012 6:37 PM, "Mark Nottingham" <mnot@mnot.net> wrote:

>
> On 23/06/2012, at 10:42 AM, Mike Belshe wrote:
>
> >
> >
> > On Fri, Jun 22, 2012 at 5:10 PM, Roy T. Fielding <fielding@gbiv.com>
> wrote:
> > HTTP predates gzip and cookies. The notion that such a choice had
> anything to do with optional features is just silly. It is optional because
> it barely even worked in practice until 1999 and certainly wasn't feasible
> as a default until a few years after that as CPU capability increased.
> >
> > I'm sorry if this offends - it wasn't intended as a dig against HTTP.
> >
> > The point is that the #1 performance impact in this test was
> compression, which optional in HTTP, and that optional features are not
> used as widely as they could be.
>
> It's actually very widely deployed among browsers.
>
> The issue isn't that it's optional, the issue is that because it's
> negotiated, some intermediaries disable the negotiation to make application
> of policy easier.
>
> We can have a discussion about whether or not we want to prioritise
> performance over these use cases, but let's not kid ourselves that it's as
> simple as "optional = bad." Sometimes there are good reasons to make
> something optional.
>
> Cheers,
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>

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

<p>Negotiated options can work IFF the options are always available and wor=
k reliably.</p>
<p>Proxies as have been deployed for http have made many things that otherw=
ise should theoretically work not reliably work. An example is gzip compres=
sion. Another example was the amazing amount of problems when attempting to=
 use a different compression algorithm (even when both client and server sp=
oke it).</p>

<p>Proxy writers can (and often do) have different motivations from the cli=
ent and content-provider.<br>
When this happens, optional features/negotiated features are harmful to the=
 clients and content providers since clients and content-providers are effe=
ctively held hostage by the proxy provider who has all the power.<br></p>

<p>I am unabashedly against hostage taking. :)<br>
-=3DR</p>
<div class=3D"gmail_quote">On Jun 22, 2012 6:37 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">
<br>
On 23/06/2012, at 10:42 AM, Mike Belshe wrote:<br>
<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Jun 22, 2012 at 5:10 PM, Roy T. Fielding &lt;<a href=3D"mailto=
:fielding@gbiv.com">fielding@gbiv.com</a>&gt; wrote:<br>
&gt; HTTP predates gzip and cookies. The notion that such a choice had anyt=
hing to do with optional features is just silly. It is optional because it =
barely even worked in practice until 1999 and certainly wasn&#39;t feasible=
 as a default until a few years after that as CPU capability increased.<br>

&gt;<br>
&gt; I&#39;m sorry if this offends - it wasn&#39;t intended as a dig agains=
t HTTP.<br>
&gt;<br>
&gt; The point is that the #1 performance impact in this test was compressi=
on, which optional in HTTP, and that optional features are not used as wide=
ly as they could be.<br>
<br>
It&#39;s actually very widely deployed among browsers.<br>
<br>
The issue isn&#39;t that it&#39;s optional, the issue is that because it&#3=
9;s negotiated, some intermediaries disable the negotiation to make applica=
tion of policy easier.<br>
<br>
We can have a discussion about whether or not we want to prioritise perform=
ance over these use cases, but let&#39;s not kid ourselves that it&#39;s as=
 simple as &quot;optional =3D bad.&quot; Sometimes there are good reasons t=
o make something optional.<br>

<br>
Cheers,<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>

--0016e6db2c7a19589004c32afe91--


From ietf-http-wg-request@listhub.w3.org  Sat Jun 23 15:17: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 E11C221F85E0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 15:17:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.46
X-Spam-Level: 
X-Spam-Status: No, score=-10.46 tagged_above=-999 required=5 tests=[AWL=0.138, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id T4Pk8NAwFbVZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 15:17:28 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0D7DE21F85D7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 15:17:28 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiYch-0007Mf-9n for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 22:16:07 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1SiYcV-0007Lo-MI for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 22:15:55 +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 <grmocg@gmail.com>) id 1SiYcS-0002fu-1U for ietf-http-wg@w3.org; Sat, 23 Jun 2012 22:15:54 +0000
Received: by wibhm6 with SMTP id hm6so884214wib.8 for <ietf-http-wg@w3.org>; Sat, 23 Jun 2012 15:15: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=ONIgocNjclKs3pnimDWdds1iHSc9iEScIBghHh+y+xs=; b=EKOf6/UPaLYi1kcqD9/iZdSDJMJm8XWhJUN1S0wb0IEvIDxIYBuLg/GsfPNkgESq4/ /65sJF5Ich4QmvQlRteO68aS9zxvY3g3KaSuBzj8MRF7t2hDJY0xj94BVtYowXBxBR2s K7io1fpUkZD3scpy0E6v5cgtV+6Ogf1hletaA/HOw5sr6PDyHj4c92/7U1gG5Zkz9izz I+l9VVewzrGC6rSePwgpllKY+VVh3ZW9jSNHf0J0Zu+dNX12MqUEAylkeYwwlzx0MFI1 ezo/mzp8Hm2TKxknkah+cHoJfbdZQ9M61tECe563KolztYG1noTHT5HoUsuxtn8fJr45 SRow==
MIME-Version: 1.0
Received: by 10.216.218.200 with SMTP id k50mr3709411wep.212.1340489725415; Sat, 23 Jun 2012 15:15:25 -0700 (PDT)
Received: by 10.194.46.42 with HTTP; Sat, 23 Jun 2012 15:15:25 -0700 (PDT)
Received: by 10.194.46.42 with HTTP; Sat, 23 Jun 2012 15:15:25 -0700 (PDT)
In-Reply-To: <4489.1340440187@critter.freebsd.dk>
References: <op.wgbxldx3iw9drz@manganese.bredbandsbolaget.se> <4489.1340440187@critter.freebsd.dk>
Date: Sat, 23 Jun 2012 15:15:25 -0700
Message-ID: <CAP+FsNe2m=WEH5=tw6zJ=f80Uutg=0NMguHEw3jXMc25vGizOQ@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Martin Nilsson <nilsson@opera.com>
Content-Type: multipart/alternative; boundary=0016e6db2c7ae8927404c32b15b7
Received-SPF: pass client-ip=209.85.212.173; envelope-from=grmocg@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: maggie.w3.org 1SiYcS-0002fu-1U 0cac017f5478fb5f5f72809f7fa053ff
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/CAP+FsNe2m=WEH5=tw6zJ=f80Uutg=0NMguHEw3jXMc25vGizOQ@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13901
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiYch-0007Mf-9n@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 22:16:07 +0000

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

There are certainly valid reasons to interpose mitm. I've submitted an I-D
for explicit proxies. I'd be happy if we had this conversation in that
context.

Here, however we are talking about what exists today. I'm perfectly happy
to require the prisions to do zip and so marginally increase their costs if
it would increase the likelihood that many more users are ensured they can
benefit from it.

The sum total benefit is hopefully clearly higher when 1% of a population
does not affect the remaining 99%'s ability to use a feature.

-=R
On Jun 23, 2012 1:32 AM, "Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> In message <op.wgbxldx3iw9drz@manganese.bredbandsbolaget.se>, "Martin
> Nilsson"
> writes:
>
> >Also, some HTTP requests are rewritten by proxies and anti-virus
> >applications to disable compression, so compression will be used even
> less.
>
> ... and they have a good reason to disable gzip:  These devices sit at the
> "choke-points" in the network and see very high if not the highest
> HTTP-traffic densities of any devices in the HTTP domain.
>
> There are two subcases, and they are quite different:
>
> "Incoming"
> ----------
>
> Typically a load-balancer which needs only to inspect the "Host:"
> header and/or the URI in the request and the status code of the
> reponse.
>
> These are the devices I call "HTTP routers", and they are where
> all the traffic bottlenecks when the entire world tries to find
> out what happened in Dallas.
>
> HTTP/2.0 should serialize (at least) these crucial fields without
> gzip and preferably in a way that makes it very easy and cheap to
> find them.
>
>
> "Outgoing"
> ----------
>
> Almost always content-scanning, and since there are legitimate
> use cases (Prison inmates for instance) we have to accept this
> role as legitimate[1].
>
> A legitimate argument exists, that censors should pay the cost
> of censorship.  If we accept that, these boxes should not be
> able to force clients/servers to forego compression.
>
>
> --
> 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.
>
>

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

<p>There are certainly valid reasons to interpose mitm. I&#39;ve submitted =
an I-D for explicit proxies. I&#39;d be happy if we had this conversation i=
n that context.</p>
<p>Here, however we are talking about what exists today. I&#39;m perfectly =
happy to require the prisions to do zip and so marginally increase their co=
sts if it would increase the likelihood that many more users are ensured th=
ey can benefit from it.</p>

<p>The sum total benefit is hopefully clearly higher when 1% of a populatio=
n does not affect the remaining 99%&#39;s ability to use a feature. </p>
<p>-=3DR</p>
<div class=3D"gmail_quote">On Jun 23, 2012 1:32 AM, &quot;Poul-Henning Kamp=
&quot; &lt;<a href=3D"mailto:phk@phk.freebsd.dk">phk@phk.freebsd.dk</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">
In message &lt;<a href=3D"mailto:op.wgbxldx3iw9drz@manganese.bredbandsbolag=
et.se">op.wgbxldx3iw9drz@manganese.bredbandsbolaget.se</a>&gt;, &quot;Marti=
n Nilsson&quot;<br>
writes:<br>
<br>
&gt;Also, some HTTP requests are rewritten by proxies and anti-virus<br>
&gt;applications to disable compression, so compression will be used even l=
ess.<br>
<br>
... and they have a good reason to disable gzip: =A0These devices sit at th=
e<br>
&quot;choke-points&quot; in the network and see very high if not the highes=
t<br>
HTTP-traffic densities of any devices in the HTTP domain.<br>
<br>
There are two subcases, and they are quite different:<br>
<br>
&quot;Incoming&quot;<br>
----------<br>
<br>
Typically a load-balancer which needs only to inspect the &quot;Host:&quot;=
<br>
header and/or the URI in the request and the status code of the<br>
reponse.<br>
<br>
These are the devices I call &quot;HTTP routers&quot;, and they are where<b=
r>
all the traffic bottlenecks when the entire world tries to find<br>
out what happened in Dallas.<br>
<br>
HTTP/2.0 should serialize (at least) these crucial fields without<br>
gzip and preferably in a way that makes it very easy and cheap to<br>
find them.<br>
<br>
<br>
&quot;Outgoing&quot;<br>
----------<br>
<br>
Almost always content-scanning, and since there are legitimate<br>
use cases (Prison inmates for instance) we have to accept this<br>
role as legitimate[1].<br>
<br>
A legitimate argument exists, that censors should pay the cost<br>
of censorship. =A0If we accept that, these boxes should not be<br>
able to force clients/servers to forego compression.<br>
<br>
<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>
<br>
</blockquote></div>

--0016e6db2c7ae8927404c32b15b7--


From ietf-http-wg-request@listhub.w3.org  Sat Jun 23 15:30: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 BDC9221F8644 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 15:30:07 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lBhUM3Yic-pO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 15:30:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F393C21F862F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 15:30:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiYoW-00080u-FL for ietf-http-wg-dist@listhub.w3.org; Sat, 23 Jun 2012 22:28:20 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <nilsson@opera.com>) id 1SiYoJ-0007zy-Gk for ietf-http-wg@listhub.w3.org; Sat, 23 Jun 2012 22:28:07 +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 1SiYoG-0002vl-Dg for ietf-http-wg@w3.org; Sat, 23 Jun 2012 22:28:06 +0000
Received: from manganese.bredbandsbolaget.se (c-961de353.03-25-6c6b7010.cust.bredbandsbolaget.se [83.227.29.150]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q5NMRZ0t029601 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 23 Jun 2012 22:27:36 GMT
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc: "HTTP Working Group" <ietf-http-wg@w3.org>
References: <4489.1340440187@critter.freebsd.dk>
Date: Sun, 24 Jun 2012 00:27:47 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Martin Nilsson" <nilsson@opera.com>
Organization: Opera Software
Message-ID: <op.wgdnclbjiw9drz@manganese.bredbandsbolaget.se>
In-Reply-To: <4489.1340440187@critter.freebsd.dk>
User-Agent: Opera Mail/12.00 (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=-4.2
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SiYoG-0002vl-Dg d662fe5f559f6fb4fa8487e9c34fdef7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/op.wgdnclbjiw9drz@manganese.bredbandsbolaget.se>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13902
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiYoW-00080u-FL@frink.w3.org>
Resent-Date: Sat, 23 Jun 2012 22:28:20 +0000

On Sat, 23 Jun 2012 10:29:47 +0200, Poul-Henning Kamp <phk@phk.freebsd.dk>  
wrote:

>
> There are two subcases, and they are quite different:
>
> "Incoming"
> ----------
>
> Typically a load-balancer which needs only to inspect the "Host:"
> header and/or the URI in the request and the status code of the
> reponse.
>
> These are the devices I call "HTTP routers", and they are where
> all the traffic bottlenecks when the entire world tries to find
> out what happened in Dallas.
>
> HTTP/2.0 should serialize (at least) these crucial fields without
> gzip and preferably in a way that makes it very easy and cheap to
> find them.
>
>
> "Outgoing"
> ----------
>
> Almost always content-scanning, and since there are legitimate
> use cases (Prison inmates for instance) we have to accept this
> role as legitimate[1].
>
> A legitimate argument exists, that censors should pay the cost
> of censorship.  If we accept that, these boxes should not be
> able to force clients/servers to forego compression.
>

This very quickly moves into the area of policy and not technology, but  
those decisions must be made as well. These are the real world cases I can  
think of right now

- Reading request headers (loadbalancers, logging, url filtering)
- Reading the request payload (legal intercept)
- Modifying request headers (header enrichment)
- Replacing the request (access point sign up, interstitial)
- Reading the response (content based filtering, legal intercept)
- Modifying the response (injected content)
- Replacing the response (block page)

Many of them could perhaps better be solved in a different place than HTTP  
(like access point sign up through DHCP negotiated URL, MSISDN header  
enrichment through IP options etc). For the remaining ones, is the answer  
that they are supported by HTTP/2.0, or is "use HTTP/1.1 instead" an  
acceptable fallback?

/Martin Nilsson

-- 
Using Opera's revolutionary email client: http://www.opera.com/mail/


From ietf-http-wg-request@listhub.w3.org  Sat Jun 23 17:23: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 B4DB821F867F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 17:23:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.328
X-Spam-Level: 
X-Spam-Status: No, score=-10.328 tagged_above=-999 required=5 tests=[AWL=0.271, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LixxO0ZnQUrY for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 17:23:04 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A55FA21F861B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 17:23:04 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiaY5-0007Cs-IW for ietf-http-wg-dist@listhub.w3.org; Sun, 24 Jun 2012 00:19:29 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SiaXm-0007By-Kn for ietf-http-wg@listhub.w3.org; Sun, 24 Jun 2012 00:19:10 +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 1SiaXh-0005P0-6C for ietf-http-wg@w3.org; Sun, 24 Jun 2012 00:19:09 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id AFF9622E253; Sat, 23 Jun 2012 20:18:42 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE59E09.5050702@gmx.de>
Date: Sun, 24 Jun 2012 10:18:39 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8C409585-D560-41A7-BC36-CDC99544ECCD@mnot.net>
References: <7BA0010A-BF7F-4F19-A8BC-85E327F41146@mnot.net> <4FE59E09.5050702@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SiaXh-0005P0-6C 71ea39f495743b2ffb5e95ebada4fcef
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: SHOULD review in p7
Archived-At: <http://www.w3.org/mid/8C409585-D560-41A7-BC36-CDC99544ECCD@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13903
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiaY5-0007Cs-IW@frink.w3.org>
Resent-Date: Sun, 24 Jun 2012 00:19:29 +0000

On 23/06/2012, at 8:44 PM, Julian Reschke wrote:

>> 2.1
>>=20
>> "Requests for protected resources that omit credentials, contain =
invalid credentials (e.g., a bad password), or partial credentials =
(e.g., when the authentication scheme requires more than one round trip) =
SHOULD return a 401 (Unauthorized) response."
>>=20
>> EDITORIAL - make the subject of the requirement more obvious, e.g., =
"Upon a request for a protected resource that omits credentials, =
contains invalid credentials (e.g., a bad password), or partial =
credentials (e.g., when the authentication scheme requires more than one =
round trip), an origin server SHOULD return a 401 (Unauthorized) =
response.
>=20
> OK.
>=20
>> "Likewise, requests that require authentication by proxies that omit =
credentials, or contain invalid or partial credentials should return a =
407 (Proxy Authentication Required) response."
>>=20
>> EDITORIAL - same as above.
>=20
> Please confirm:
>=20
>   Likewise, upon a request that requires authentication by proxies =
that
>   omit credentials, or contain invalid or partial credentials, a proxy
>   SHOULD return a 407 (Proxy Authentication Required) response.  Such
>   responses MUST include a Proxy-Authenticate header field containing =
a
>   (possibly new) challenge applicable to the proxy.

OK.

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





From ietf-http-wg-request@listhub.w3.org  Sat Jun 23 17:26: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 633EA21F867F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 17:26:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.334
X-Spam-Level: 
X-Spam-Status: No, score=-10.334 tagged_above=-999 required=5 tests=[AWL=0.265, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zobPEQHq0Sn6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 17:26:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 92E6521F867B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 17:26:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiacH-0007MJ-Ak for ietf-http-wg-dist@listhub.w3.org; Sun, 24 Jun 2012 00:23:49 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Siabt-0007LJ-IN for ietf-http-wg@listhub.w3.org; Sun, 24 Jun 2012 00:23: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 1Siabn-0005US-M8 for ietf-http-wg@w3.org; Sun, 24 Jun 2012 00:23:23 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 43CB122E1EB; Sat, 23 Jun 2012 20:22:57 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE5A863.8070903@gmx.de>
Date: Sun, 24 Jun 2012 10:22:55 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net>
References: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net> <4FE5A863.8070903@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Siabn-0005US-M8 e4378f31713431e4931a5bbcdabadf38
X-Original-To: ietf-http-wg@w3.org
Subject: WGLC #363: rare cases
Archived-At: <http://www.w3.org/mid/8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13904
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiacH-0007MJ-Ak@frink.w3.org>
Resent-Date: Sun, 24 Jun 2012 00:23:49 +0000

Now <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/363>.


On 23/06/2012, at 9:28 PM, Julian Reschke wrote:

>> "HTTP/1.0 clients and caches might ignore entity-tags. Generally, =
last-modified values received or used by these systems will support =
transparent and efficient caching, and so HTTP/1.1 origin servers SHOULD =
provide Last-Modified values. In those rare cases where the use of a =
Last-Modified value as a validator by an HTTP/1.0 system could result in =
a serious problem, then HTTP/1.1 origin servers SHOULD NOT provide one."
>>=20
>> DESIGN - What are the "rare cases" being talked about here, and how =
are servers supposed to detect them?
>=20
> Good question. We may want to drop this.

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





From ietf-http-wg-request@listhub.w3.org  Sat Jun 23 23:48: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 1ACBD21F8666 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 23:48:13 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LfOpQfPxHMDO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 23 Jun 2012 23:48:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ED37C21F865C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 23 Jun 2012 23:48:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Siga1-0007t7-Hu for ietf-http-wg-dist@listhub.w3.org; Sun, 24 Jun 2012 06:45:53 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1SigZY-0006yQ-Ps for ietf-http-wg@listhub.w3.org; Sun, 24 Jun 2012 06:45:24 +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 1SigZW-0004le-Nq for ietf-http-wg@w3.org; Sun, 24 Jun 2012 06:45:23 +0000
Received: from critter.freebsd.dk (unknown [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id A6B903B748; Sun, 24 Jun 2012 06:45:00 +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 q5O6ix7o008565; Sun, 24 Jun 2012 06:44:59 GMT (envelope-from phk@phk.freebsd.dk)
To: "Martin Nilsson" <nilsson@opera.com>
cc: "HTTP Working Group" <ietf-http-wg@w3.org>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Sun, 24 Jun 2012 00:27:47 +0200." <op.wgdnclbjiw9drz@manganese.bredbandsbolaget.se>
Content-Type: text/plain; charset=ISO-8859-1
Date: Sun, 24 Jun 2012 06:44:59 +0000
Message-ID: <8564.1340520299@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SigZW-0004le-Nq decde1175336bfa9ca3c5879ebf12ecc
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/8564.1340520299@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13905
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Siga1-0007t7-Hu@frink.w3.org>
Resent-Date: Sun, 24 Jun 2012 06:45:53 +0000

In message <op.wgdnclbjiw9drz@manganese.bredbandsbolaget.se>, "Martin Nilsson" 
writes:

> or is "use HTTP/1.1 instead" an  acceptable fallback?

I think it would be an acceptable fallback, but I don't think it
would be a wise fallback.

First of all, it's not like we can prevent people from doing those
actions on HTTP/2.0 anyway, so whatever our feelings might be, people
will do what they have/want to do anyway.

Second, it would prevent us from ever getting rid of HTTP/1.x

-- 
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 Jun 24 02:54: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 DD7A121F85AE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 02:54:07 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3BWU+HvA4i8r for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 02:54:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5749621F84CD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 24 Jun 2012 02:54:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SijUR-0001df-QP for ietf-http-wg-dist@listhub.w3.org; Sun, 24 Jun 2012 09:52:19 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SijUA-0001co-Fw for ietf-http-wg@listhub.w3.org; Sun, 24 Jun 2012 09:52:02 +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 1SijU7-0001IB-Eg for ietf-http-wg@w3.org; Sun, 24 Jun 2012 09:52:00 +0000
Received: (qmail invoked by alias); 24 Jun 2012 09:51:31 -0000
Received: from p54BB3BA3.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.59.163] by mail.gmx.net (mp038) with SMTP; 24 Jun 2012 11:51:31 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18nYFFpnnMnHPcqomt89m5DHcdXWp5MAdjxvWKJt5 Cs6tvidresUI2q
Message-ID: <4FE6E31F.905@gmx.de>
Date: Sun, 24 Jun 2012 11:51:27 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <7BA0010A-BF7F-4F19-A8BC-85E327F41146@mnot.net> <4FE59E09.5050702@gmx.de> <8C409585-D560-41A7-BC36-CDC99544ECCD@mnot.net>
In-Reply-To: <8C409585-D560-41A7-BC36-CDC99544ECCD@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=-1.9
X-W3C-Hub-Spam-Report: 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 1SijU7-0001IB-Eg bfcb49a5c7e962707954f33d388eb8b4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: SHOULD review in p7
Archived-At: <http://www.w3.org/mid/4FE6E31F.905@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13906
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SijUR-0001df-QP@frink.w3.org>
Resent-Date: Sun, 24 Jun 2012 09:52:19 +0000

On 2012-06-24 02:18, Mark Nottingham wrote:
 > ...

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1694>


From ietf-http-wg-request@listhub.w3.org  Sun Jun 24 03:19: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 0269A21F8566 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 03:19:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.588
X-Spam-Level: 
X-Spam-Status: No, score=-8.588 tagged_above=-999 required=5 tests=[AWL=2.011, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VMTxxJpTIN5a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 03:19:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0E2D521F8564 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 24 Jun 2012 03:19:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SijuV-0006J0-IH for ietf-http-wg-dist@listhub.w3.org; Sun, 24 Jun 2012 10:19:15 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SijuI-0006I7-Pk for ietf-http-wg@listhub.w3.org; Sun, 24 Jun 2012 10:19:02 +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 1SijuF-0001tX-Gl for ietf-http-wg@w3.org; Sun, 24 Jun 2012 10:19:00 +0000
Received: (qmail invoked by alias); 24 Jun 2012 10:18:33 -0000
Received: from p54BB3BA3.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.59.163] by mail.gmx.net (mp041) with SMTP; 24 Jun 2012 12:18:33 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/RWKpQbBbROCTz6qu+e65agethQKuL0FMyKU3W6Y 26AwcKg/XUDfub
Message-ID: <4FE6E978.4010509@gmx.de>
Date: Sun, 24 Jun 2012 12:18:32 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SijuF-0001tX-Gl 64eb6e793a006b64e5cbb3b818f10463
X-Original-To: ietf-http-wg@w3.org
Subject: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/4FE6E978.4010509@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13907
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SijuV-0006J0-IH@frink.w3.org>
Resent-Date: Sun, 24 Jun 2012 10:19:15 +0000

P1, 2.1:

       Note: The term 'user agent' covers both those situations where
       there is a user (human) interacting with the software agent (and
       for which user interface or interactive suggestions might be made,
       e.g., warning the user or given the user an option in the case of
       security or privacy options) and also those where the software
       agent may act autonomously.

"may" -> "can"


P1, 8.2:

    HTTP log information is confidential in nature; its handling is often
    constrained by laws and regulations.  Log information needs to be
    securely stored and appropriate guidelines followed for its analysis.
    Anonymization of personal information within individual entries
    helps, but is generally not sufficient to prevent real log traces
    from being re-identified based on correlation with other access
    characteristics.  As such, access traces that are keyed to a specific
    client should not be published even if the key is pseudonymous.

"should not" -> "SHOULD NOT"

    To minimize the risk of theft or accidental publication, log
    information should be purged of personally identifiable information,
    including user identifiers, IP addresses, and user-provided query
    parameters, as soon as that information is no longer necessary to
    support operational needs for security, auditing, or fraud control.

"should" -> "SHOULD


P2, 2.2.1:

    New method definitions need to indicate whether they are safe
    (Section 2.1.1), what semantics (if any) the request body has, and
    whether they are idempotent (Section 2.1.2).  They also need to state
    whether they can be cached ([Part6]); in particular what conditions a

missing "under"?

    cache may store the response, and under what conditions such a stored
    response may be used to satisfy a subsequent request.

"may" -> "MAY"


P2, 2.3.8:

    Similar to a pipelined HTTP/1.1 request, data to be tunneled from
    client to server MAY be sent immediately after the request (before a
    response is received).  The usual caveats also apply: data may be
    discarded if the eventual response is negative, and the connection
    may be reset with no response if more than one TCP segment is
    outstanding.

"may" -> "might" (twice)


P2, 3.1:

    o  Whether the header field should be preserved across redirects.

"should" -> "ought to"


P2, 4.5.4:

    The 303 status code indicates that the server is redirecting the user
    agent to a different resource, as indicated by a URI in the Location
    header field, that is intended to provide an indirect response to the
    original request.  In order to satisfy the original request, a user
    agent SHOULD perform a retrieval request using the Location URI (a
    GET or HEAD request if using HTTP), which may itself be redirected
    further, and present the eventual result as an answer to the original
    request.  Note that the new URI in the Location header field is not
    considered equivalent to the effective request URI.

"may" -> "can"


P4, 2.4:

       HTTP/1.0 clients and caches might ignore entity-tags.  Generally,
       last-modified values received or used by these systems will
       support transparent and efficient caching, and so HTTP/1.1 origin
       servers still ought to provide Last-Modified values.  In those
       rare cases where the use of a Last-Modified value as a validator
       by an HTTP/1.0 system could result in a serious problem, then
       HTTP/1.1 origin servers should not provide one.

(see http://trac.tools.ietf.org/wg/httpbis/trac/ticket/363)


P6, 2.3.3:

    If a cache receives a first-hand response (either an entire response,
    or a 304 (Not Modified) response) that it would normally forward to
    the requesting client, and the received response is no longer fresh,
    the cache can forward it to the requesting client without adding a
    new Warning (but without removing any existing Warning header
    fields).  A cache shouldn't attempt to validate a response simply
    because that response became stale in transit.

"shouldn't" -> "SHOULD NOT"


P6, 2.4:

    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.  However, if any of the stored
    responses contains only partial content, the cache shouldn't include
    its entity-tag in the If-None-Match header field unless the request
    is for a range that would be fully satisfied by that stored response.

"shouldn't" -> "SHOULD NOT"


P6, 3.2.3:

    For example, consider a hypothetical new response directive called
    "community" that acts as a modifier to the private directive.  We
    define this new directive to mean that, in addition to any private
    cache, any cache that is shared only by members of the community
    named within its value may cache the response.  An origin server
    wishing to allow the UCI community to use an otherwise private
    response in their shared cache(s) could do so by including

"may" -> "can"



Feedback appreciated, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Jun 24 11:33: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 68E3421F85D4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 11:33:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.59
X-Spam-Level: 
X-Spam-Status: No, score=-8.59 tagged_above=-999 required=5 tests=[AWL=2.009, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M8m0-dNS+RWZ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 11:33:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id F206221F8582 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 24 Jun 2012 11:33:50 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SirbM-0005b4-Kq for ietf-http-wg-dist@listhub.w3.org; Sun, 24 Jun 2012 18:32:00 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sirb4-0005a4-Di for ietf-http-wg@listhub.w3.org; Sun, 24 Jun 2012 18: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 1Sirb1-0001ma-7x for ietf-http-wg@w3.org; Sun, 24 Jun 2012 18:31:41 +0000
Received: (qmail invoked by alias); 24 Jun 2012 18:31:12 -0000
Received: from p54BB31EF.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.49.239] by mail.gmx.net (mp028) with SMTP; 24 Jun 2012 20:31:12 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX18JJz5Xjx0Jb9QXk4+hGtzhP+H22B1rq+Lr8xtdUD GJa9GV1IuX1Ait
Message-ID: <4FE75CE3.5060908@gmx.de>
Date: Sun, 24 Jun 2012 20:30:59 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <4FE01814.1050807@gmx.de>
In-Reply-To: <4FE01814.1050807@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.22; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1Sirb1-0001ma-7x 7bc45f8726ea22a93fb695826a9f75fa
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FE75CE3.5060908@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13908
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SirbM-0005b4-Kq@frink.w3.org>
Resent-Date: Sun, 24 Jun 2012 18:32:00 +0000

On 2012-06-19 08:11, Julian Reschke wrote:
> ...

In the meantime, we have opened and resolved issue #361, by adding text 
that requires recipients to process all syntax variations allowed by the 
ABNF (see <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1682>).

With that, I'd like to go back to this issue; here's the text I proposed 
before we discussed #361, with a few inline comments prefixed "JR:".

3.2.  Cache-Control

    The "Cache-Control" header field is used to specify directives for
    caches along the request/response chain.  Such cache directives are
    unidirectional in that the presence of a directive in a request does
    not imply that the same directive is to be given in the response.

    A cache MUST obey the requirements of the Cache-Control directives
    defined in this section.  See Section 3.2.3 for information about how
    Cache-Control directives defined elsewhere are handled.

       Note: HTTP/1.0 caches might not implement Cache-Control and might
       only implement Pragma: no-cache (see Section 3.4).

    A proxy, whether or not it implements a cache, MUST pass cache
    directives through in forwarded messages, regardless of their
    significance to that application, since the directives might be
    applicable to all recipients along the request/response chain.  It is
    not possible to target a directive to a specific cache.

JR: text below is new:

    Cache directives are identified by a token, to be compared case-
    insensitively, and have an optional argument, that can use both token
    and quoted-string syntax.  For the directives defined below that
    define arguments, recipients ought to accept both forms, even if one
    is documented to be preferred.  For any directive not defined by this
    specification, recipients MUST accept both forms.

      Cache-Control   = 1#cache-directive

      cache-directive = token [ "=" ( token / quoted-string ) ]

    For the cache directives defined below, no argument is defined (nor
    allowed) otherwise stated otherwise.

JR: I believe Mark wasn't happy with: "For any directive not defined by 
this specification, recipients MUST accept both forms."

Given what we did for issue #361, this would now repeat what we said 
about recipient requirements based on the ABNF. I still think it's good 
to state, because previously the ABNF was ambigouos; for instance,

   max-age=5

would have two ABNF paths match (as both "max-age" and 
"cache-extension"), while

   max-age="5"

would match just "cache-extension", and the spec didn't really say what 
that means.

We need to address this problem for the existing directives, and SHOULD 
avoid it for new directives; this proposal is my attempt to do so).

JR: remaining text is almost the same; except for the introduction of 
subsections, ABNF for parameter values, and notes about the "preferred" 
notation.


3.2.1.  Request Cache-Control Directives

3.2.1.1.  no-cache

    The no-cache request directive indicates that a cache MUST NOT use a
    stored response to satisfy the request without successful validation
    on the origin server.

3.2.1.2.  no-store

    The no-store request directive indicates that a cache MUST NOT store
    any part of either this request or any response to it.  This
    directive applies to both private and shared caches.  "MUST NOT
    store" in this context means that the cache MUST NOT intentionally
    store the information in non-volatile storage, and MUST make a best-
    effort attempt to remove the information from volatile storage as
    promptly as possible after forwarding it.

    This directive is NOT a reliable or sufficient mechanism for ensuring
    privacy.  In particular, malicious or compromised caches might not
    recognize or obey this directive, and communications networks might
    be vulnerable to eavesdropping.

    Note that if a request containing this directive is satisfied from a
    cache, the no-store request directive does not apply to the already
    stored response.

3.2.1.3.  max-age

    Argument syntax:

       delta-seconds (see Section 1.5)

    The max-age request directive indicates that the client is unwilling
    to accept a response whose age is greater than the specified number
    of seconds.  Unless the max-stale request directive is also present,
    the client is not willing to accept a stale response.

    Note: This directive uses the token form of the argument syntax;
    e.g., 'max-age=5', not 'max-age="5"'.  Senders SHOULD NOT use the
    quoted-string form.

3.2.1.4.  max-stale

    Argument syntax:

       delta-seconds (see Section 1.5)

    The max-stale request directive indicates that the client is willing
    to accept a response that has exceeded its expiration time.  If max-
    stale is assigned a value, then the client is willing to accept a
    response that has exceeded its expiration time by no more than the
    specified number of seconds.  If no value is assigned to max-stale,
    then the client is willing to accept a stale response of any age.

    Note: This directive uses the token form of the argument syntax;
    e.g., 'max-stale=10', not 'max-stale="10"'.  Senders SHOULD NOT use
    the quoted-string form.

3.2.1.5.  min-fresh

    Argument syntax:

       delta-seconds (see Section 1.5)

    The min-fresh request directive indicates that the client is willing
    to accept a response whose freshness lifetime is no less than its
    current age plus the specified time in seconds.  That is, the client
    wants a response that will still be fresh for at least the specified
    number of seconds.

    Note: This directive uses the token form of the argument syntax;
    e.g., 'min-fresh=20', not 'min-fresh="20"'.  Senders SHOULD NOT use
    the quoted-string form.

3.2.1.6.  no-transform

    The no-transform request directive indicates that an intermediary
    (whether or not it implements a cache) MUST NOT change the Content-
    Encoding, Content-Range or Content-Type request header fields, nor
    the request representation.

3.2.1.7.  only-if-cached

    The only-if-cached request directive indicates that the client only
    wishes to obtain a stored response.  If it receives 3ive, a cache
    SHOULD either respond using a stored response that is consistent with
    the other constraints of the request, or respond with a 504 (Gateway
    Timeout) status code.  If a group of caches is being operated as a
    unified system with good internal connectivity, a member cache MAY
    forward such a request within that group of caches.

3.2.2.  Response Cache-Control Directives

3.2.2.1.  public

    The public response directive indicates that a response whose
    associated request contains an 'Authentication' header MAY be stored
    (see Section 2.7).

3.2.2.2.  private

    Argument syntax:

       #field-name

    The private response directive indicates that the response message is
    intended for a single user and MUST NOT be stored by a shared cache.
    A private cache MAY store the response.

    If the private response directive specifies one or more field-names,
    this requirement is limited to the field-values associated with the
    listed response header fields.  That is, a shared cache MUST NOT
    store the specified field-names(s), whereas it MAY store the
    remainder of the response message.

    The field-names given are not limited to the set of standard header
    fields defined by this specification.  Field names are case-
    insensitive.

    Note: This usage of the word "private" only controls where the
    response can be stored; it cannot ensure the privacy of the message
    content.  Also, private response directives with field-names are
    often handled by implementations as if an unqualified private
    directive was received; i.e., the special handling for the qualified
    form is not widely implemented.

    Note: This directive uses the quoted-string form of the argument
    syntax.  Senders SHOULD NOT use the token form (even if quoting
    appears not to be needed for single-entry lists).

3.2.2.3.  no-cache

    Argument syntax:

       #field-name

    The no-cache response directive indicates that the response MUST NOT
    be used to satisfy a subsequent request without successful validation
    on the origin server.  This allows an origin server to prevent a
    cache from using it to satisfy a request without contacting it, even
    by caches that have been configured to return stale responses.

    If the no-cache response directive specifies one or more field-names,
    then a cache MAY use the response to satisfy a subsequent request,
    subject to any other restrictions on caching.  However, any header
    fields in the response that have the field-name(s) listed MUST NOT be
    sent in the response to a subsequent request without successful
    revalidation with the origin server.  This allows an origin server to
    prevent the re-use of certain header fields in a response, while
    still allowing caching of the rest of the response.

    The field-names given are not limited to the set of standard header
    fields defined by this specification.  Field names are case-
    insensitive.

    Note: Most HTTP/1.0 caches will not recognize or obey this directive.
    Also, no-cache response directives with field-names are often handled
    by implementations as if an unqualified no-cache directive was
    received; i.e., the special handling for the qualified form is not
    widely implemented.

    Note: This directive uses the quoted-string form of the argument
    syntax.  Senders SHOULD NOT use the token form (even if quoting
    appears not to be needed for single-entry lists).

3.2.2.4.  no-store

    The no-store response directive indicates that a cache MUST NOT store
    any part of either the immediate request or response.  This directive
    applies to both private and shared caches.  "MUST NOT store" in this
    context means that the cache MUST NOT intentionally store the
    information in non-volatile storage, and MUST make a best-effort
    attempt to remove the information from volatile storage as promptly
    as possible after forwarding it.

    This directive is NOT a reliable or sufficient mechanism for ensuring
    privacy.  In particular, malicious or compromised caches might not
    recognize or obey this directive, and communications networks might
    be vulnerable to eavesdropping.

3.2.2.5.  must-revalidate

    The must-revalidate response directive indicates that once it has
    become stale, a cache MUST NOT use the response to satisfy subsequent
    requests without successful validation on the origin server.

    The must-revalidate directive is necessary to support reliable
    operation for certain protocol features.  In all circumstances a
    cache MUST obey the must-revalidate directive; in particular, if a
    cache cannot reach the origin server for any reason, it MUST generate
    a 504 (Gateway Timeout) response.

    The must-revalidate directive ought to be used by servers if and only
    if failure to validate a request on the representation could result
    in incorrect operation, such as a silently unexecuted financial
    transaction.

3.2.2.6.  proxy-revalidate

    The proxy-revalidate response directive has the same meaning as the
    must-revalidate response directive, except that it does not apply to
    private caches.

3.2.2.7.  max-age

    Argument syntax:

       delta-seconds (see Section 1.5)

    The max-age response directive indicates that the response is to be
    considered stale after its age is greater than the specified number
    of seconds.

    Note: This directive uses the token form of the argument syntax;
    e.g., 'max-age=5', not 'max-age="5"'.  Senders SHOULD NOT use the
    quoted-string form.

3.2.2.8.  s-maxage

    Argument syntax:

       delta-seconds (see Section 1.5)

    The s-maxage response directive indicates that, in shared caches, the
    maximum age specified by this directive overrides the maximum age
    specified by either the max-age directive or the Expires header
    field.  The s-maxage directive also implies the semantics of the
    proxy-revalidate response directive.

    Note: This directive uses the token form of the argument syntax;
    e.g., 's-maxage=10', not 's-maxage="10"'.  Senders SHOULD NOT use the
    quoted-string form.

3.2.2.9.  no-transform

    The no-transform response directive indicates that an intermediary
    (regardless of whether it implements a cache) MUST NOT change the
    Content-Encoding, Content-Range or Content-Type response header
    fields, nor the response representation.


Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Sun Jun 24 15:30: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 4502921F8602 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 15:30:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.599
X-Spam-Level: 
X-Spam-Status: No, score=-7.599 tagged_above=-999 required=5 tests=[AWL=3.000, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cBh70-C1DCfp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 15:30:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 51B1E21F85FB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 24 Jun 2012 15:30:38 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SivHp-0001Q2-8b for ietf-http-wg-dist@listhub.w3.org; Sun, 24 Jun 2012 22:28:05 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <derhoermi@gmx.net>) id 1SivGi-0001NH-Ap for ietf-http-wg@listhub.w3.org; Sun, 24 Jun 2012 22:27:05 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1SivGf-0000eR-64 for ietf-http-wg@w3.org; Sun, 24 Jun 2012 22:26:54 +0000
Received: (qmail invoked by alias); 24 Jun 2012 22:26:26 -0000
Received: from dslb-094-223-203-200.pools.arcor-ip.net (EHLO HIVE) [94.223.203.200] by mail.gmx.net (mp037) with SMTP; 25 Jun 2012 00:26:26 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX19HOzFKmRBHg1lWZ6PVD/cTuAW1pVDAHs2vkMucnm tN8bexKg8ZDsAr
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Date: Mon, 25 Jun 2012 00:26:31 +0200
Message-ID: <rj3fu71sndtgk9jtcp8093a81dqegp542q@hive.bjoern.hoehrmann.de>
References: <4FE6E978.4010509@gmx.de>
In-Reply-To: <4FE6E978.4010509@gmx.de>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=derhoermi@gmx.net; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SivGf-0000eR-64 9752ccc45a6aa2ed70c625621fa9df8c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/rj3fu71sndtgk9jtcp8093a81dqegp542q@hive.bjoern.hoehrmann.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13909
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SivHp-0001Q2-8b@frink.w3.org>
Resent-Date: Sun, 24 Jun 2012 22:28:05 +0000

* Julian Reschke wrote:
>P1, 8.2:
>
>    HTTP log information is confidential in nature; its handling is often
>    constrained by laws and regulations.  Log information needs to be
>    securely stored and appropriate guidelines followed for its analysis.
>    Anonymization of personal information within individual entries
>    helps, but is generally not sufficient to prevent real log traces
>    from being re-identified based on correlation with other access
>    characteristics.  As such, access traces that are keyed to a specific
>    client should not be published even if the key is pseudonymous.
>
>"should not" -> "SHOULD NOT"

It seems inconsistent to me make that a SHOULD NOT while keeping the
"needs to be".

>    To minimize the risk of theft or accidental publication, log
>    information should be purged of personally identifiable information,
>    including user identifiers, IP addresses, and user-provided query
>    parameters, as soon as that information is no longer necessary to
>    support operational needs for security, auditing, or fraud control.
>
>"should" -> "SHOULD

I think this would have to require minimizing this risk first, other-
wise there is no requirement if you decide against minimizing it.

>P2, 2.2.1:
>
>    New method definitions need to indicate whether they are safe
>    (Section 2.1.1), what semantics (if any) the request body has, and
>    whether they are idempotent (Section 2.1.2).  They also need to state
>    whether they can be cached ([Part6]); in particular what conditions a
>
>missing "under"?
>
>    cache may store the response, and under what conditions such a stored
>    response may be used to satisfy a subsequent request.
>
>"may" -> "MAY"

As far as I can tell, this is reflecting on options offered elsewhere,
it does not provide such options itself, so it's a "can", not a "MAY".

>P2, 2.3.8:
>
>    Similar to a pipelined HTTP/1.1 request, data to be tunneled from
>    client to server MAY be sent immediately after the request (before a
>    response is received).  The usual caveats also apply: data may be
>    discarded if the eventual response is negative, and the connection
>    may be reset with no response if more than one TCP segment is
>    outstanding.
>
>"may" -> "might" (twice)

(This is saying more "these are valid options" than "it is possible for
that to happen", so more "can" than "might", as far as I am concerned.)

>P6, 3.2.3:
>
>    For example, consider a hypothetical new response directive called
>    "community" that acts as a modifier to the private directive.  We
>    define this new directive to mean that, in addition to any private
>    cache, any cache that is shared only by members of the community
>    named within its value may cache the response.  An origin server
>    wishing to allow the UCI community to use an otherwise private
>    response in their shared cache(s) could do so by including
>
>"may" -> "can"

This is more an "is allowed to".
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


From ietf-http-wg-request@listhub.w3.org  Sun Jun 24 15:39: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 CBE4221F862B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 15:39:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.199
X-Spam-Level: 
X-Spam-Status: No, score=-8.199 tagged_above=-999 required=5 tests=[AWL=2.400, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u0WgjK-+ZRvc for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 15:39:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2774221F84FD for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 24 Jun 2012 15:39:06 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SivRW-0003Ll-VI for ietf-http-wg-dist@listhub.w3.org; Sun, 24 Jun 2012 22:38:07 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <derhoermi@gmx.net>) id 1SivRI-0003JA-74 for ietf-http-wg@listhub.w3.org; Sun, 24 Jun 2012 22:37:52 +0000
Received: from mailout-de.gmx.net ([213.165.64.23]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1SivRF-00074m-6O for ietf-http-wg@w3.org; Sun, 24 Jun 2012 22:37:50 +0000
Received: (qmail invoked by alias); 24 Jun 2012 22:37:22 -0000
Received: from dslb-094-223-203-200.pools.arcor-ip.net (EHLO HIVE) [94.223.203.200] by mail.gmx.net (mp033) with SMTP; 25 Jun 2012 00:37:22 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX1966cMMaaB6xRR17z1NSgDGCFeWdIzKy8ZHxBQjBC QQ9YOk9ca4lbMF
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Karl Dubost <karld@opera.com>
Cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Date: Mon, 25 Jun 2012 00:37:27 +0200
Message-ID: <k75fu7pevq5lbf8chgbk4lbjgd5doiu4e8@hive.bjoern.hoehrmann.de>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <A8330B1E-90A1-42F5-815D-82E20F776F84@opera.com>
In-Reply-To: <A8330B1E-90A1-42F5-815D-82E20F776F84@opera.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.23; envelope-from=derhoermi@gmx.net; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SivRF-00074m-6O 1ef202bf778082d14c006ea8df7845af
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/k75fu7pevq5lbf8chgbk4lbjgd5doiu4e8@hive.bjoern.hoehrmann.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13910
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SivRW-0003Ll-VI@frink.w3.org>
Resent-Date: Sun, 24 Jun 2012 22:38:06 +0000

* Karl Dubost wrote:
>All the tests and benchmarks we see (even if made on real Web sites) are
>what I call "cold start testing". Basically every is set to 0, we
>download everything and look at the protocol design impacts on
>performances. 
>
>But when we talk about better *user* experience, we might want to take
>into account the impact on performances when the user is doing multiple
>actions on the same set of resources. HTTP caching enters into play.

Well, if the site does not load quickly on first visit, you might not
develop a user base that cares, while, when you are an established ser-
vice, users notice delays less due to familiarity, so these are really
two aspects of user experience, and one would look at the "cold start"
independently of the experience for staying visitors if new users are
a concern.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


From ietf-http-wg-request@listhub.w3.org  Sun Jun 24 16:32: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 B00B221F86D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 16:32:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.339
X-Spam-Level: 
X-Spam-Status: No, score=-10.339 tagged_above=-999 required=5 tests=[AWL=0.260, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PYkA7IgLE09f for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 16:32:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 36CDA21F86D0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 24 Jun 2012 16:32:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SiwGO-0003aU-HU for ietf-http-wg-dist@listhub.w3.org; Sun, 24 Jun 2012 23:30:40 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SiwG6-0003Tq-EF for ietf-http-wg@listhub.w3.org; Sun, 24 Jun 2012 23:30: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 1SiwG3-0002fQ-2i for ietf-http-wg@w3.org; Sun, 24 Jun 2012 23:30:21 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id CEEAF22E253; Sun, 24 Jun 2012 19:29:55 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE75CE3.5060908@gmx.de>
Date: Mon, 25 Jun 2012 09:29:47 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0EB7C8B4-5805-4469-AD6D-FA6654220061@mnot.net>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <4FE01814.1050807@gmx.de> <4FE75CE3.5060908@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.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 1SiwG3-0002fQ-2i 66ff83dcb9b490808991593bec130fb4
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/0EB7C8B4-5805-4469-AD6D-FA6654220061@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13911
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SiwGO-0003aU-HU@frink.w3.org>
Resent-Date: Sun, 24 Jun 2012 23:30:40 +0000

Works for me.

On 25/06/2012, at 4:30 AM, Julian Reschke wrote:

> On 2012-06-19 08:11, Julian Reschke wrote:
>> ...
>=20
> In the meantime, we have opened and resolved issue #361, by adding =
text that requires recipients to process all syntax variations allowed =
by the ABNF (see =
<http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1682>).
>=20
> With that, I'd like to go back to this issue; here's the text I =
proposed before we discussed #361, with a few inline comments prefixed =
"JR:".
>=20
> 3.2.  Cache-Control
>=20
>   The "Cache-Control" header field is used to specify directives for
>   caches along the request/response chain.  Such cache directives are
>   unidirectional in that the presence of a directive in a request does
>   not imply that the same directive is to be given in the response.
>=20
>   A cache MUST obey the requirements of the Cache-Control directives
>   defined in this section.  See Section 3.2.3 for information about =
how
>   Cache-Control directives defined elsewhere are handled.
>=20
>      Note: HTTP/1.0 caches might not implement Cache-Control and might
>      only implement Pragma: no-cache (see Section 3.4).
>=20
>   A proxy, whether or not it implements a cache, MUST pass cache
>   directives through in forwarded messages, regardless of their
>   significance to that application, since the directives might be
>   applicable to all recipients along the request/response chain.  It =
is
>   not possible to target a directive to a specific cache.
>=20
> JR: text below is new:
>=20
>   Cache directives are identified by a token, to be compared case-
>   insensitively, and have an optional argument, that can use both =
token
>   and quoted-string syntax.  For the directives defined below that
>   define arguments, recipients ought to accept both forms, even if one
>   is documented to be preferred.  For any directive not defined by =
this
>   specification, recipients MUST accept both forms.
>=20
>     Cache-Control   =3D 1#cache-directive
>=20
>     cache-directive =3D token [ "=3D" ( token / quoted-string ) ]
>=20
>   For the cache directives defined below, no argument is defined (nor
>   allowed) otherwise stated otherwise.
>=20
> JR: I believe Mark wasn't happy with: "For any directive not defined =
by this specification, recipients MUST accept both forms."
>=20
> Given what we did for issue #361, this would now repeat what we said =
about recipient requirements based on the ABNF. I still think it's good =
to state, because previously the ABNF was ambigouos; for instance,
>=20
>  max-age=3D5
>=20
> would have two ABNF paths match (as both "max-age" and =
"cache-extension"), while
>=20
>  max-age=3D"5"
>=20
> would match just "cache-extension", and the spec didn't really say =
what that means.
>=20
> We need to address this problem for the existing directives, and =
SHOULD avoid it for new directives; this proposal is my attempt to do =
so).
>=20
> JR: remaining text is almost the same; except for the introduction of =
subsections, ABNF for parameter values, and notes about the "preferred" =
notation.
>=20
>=20
> 3.2.1.  Request Cache-Control Directives
>=20
> 3.2.1.1.  no-cache
>=20
>   The no-cache request directive indicates that a cache MUST NOT use a
>   stored response to satisfy the request without successful validation
>   on the origin server.
>=20
> 3.2.1.2.  no-store
>=20
>   The no-store request directive indicates that a cache MUST NOT store
>   any part of either this request or any response to it.  This
>   directive applies to both private and shared caches.  "MUST NOT
>   store" in this context means that the cache MUST NOT intentionally
>   store the information in non-volatile storage, and MUST make a best-
>   effort attempt to remove the information from volatile storage as
>   promptly as possible after forwarding it.
>=20
>   This directive is NOT a reliable or sufficient mechanism for =
ensuring
>   privacy.  In particular, malicious or compromised caches might not
>   recognize or obey this directive, and communications networks might
>   be vulnerable to eavesdropping.
>=20
>   Note that if a request containing this directive is satisfied from a
>   cache, the no-store request directive does not apply to the already
>   stored response.
>=20
> 3.2.1.3.  max-age
>=20
>   Argument syntax:
>=20
>      delta-seconds (see Section 1.5)
>=20
>   The max-age request directive indicates that the client is unwilling
>   to accept a response whose age is greater than the specified number
>   of seconds.  Unless the max-stale request directive is also present,
>   the client is not willing to accept a stale response.
>=20
>   Note: This directive uses the token form of the argument syntax;
>   e.g., 'max-age=3D5', not 'max-age=3D"5"'.  Senders SHOULD NOT use =
the
>   quoted-string form.
>=20
> 3.2.1.4.  max-stale
>=20
>   Argument syntax:
>=20
>      delta-seconds (see Section 1.5)
>=20
>   The max-stale request directive indicates that the client is willing
>   to accept a response that has exceeded its expiration time.  If max-
>   stale is assigned a value, then the client is willing to accept a
>   response that has exceeded its expiration time by no more than the
>   specified number of seconds.  If no value is assigned to max-stale,
>   then the client is willing to accept a stale response of any age.
>=20
>   Note: This directive uses the token form of the argument syntax;
>   e.g., 'max-stale=3D10', not 'max-stale=3D"10"'.  Senders SHOULD NOT =
use
>   the quoted-string form.
>=20
> 3.2.1.5.  min-fresh
>=20
>   Argument syntax:
>=20
>      delta-seconds (see Section 1.5)
>=20
>   The min-fresh request directive indicates that the client is willing
>   to accept a response whose freshness lifetime is no less than its
>   current age plus the specified time in seconds.  That is, the client
>   wants a response that will still be fresh for at least the specified
>   number of seconds.
>=20
>   Note: This directive uses the token form of the argument syntax;
>   e.g., 'min-fresh=3D20', not 'min-fresh=3D"20"'.  Senders SHOULD NOT =
use
>   the quoted-string form.
>=20
> 3.2.1.6.  no-transform
>=20
>   The no-transform request directive indicates that an intermediary
>   (whether or not it implements a cache) MUST NOT change the Content-
>   Encoding, Content-Range or Content-Type request header fields, nor
>   the request representation.
>=20
> 3.2.1.7.  only-if-cached
>=20
>   The only-if-cached request directive indicates that the client only
>   wishes to obtain a stored response.  If it receives 3ive, a cache
>   SHOULD either respond using a stored response that is consistent =
with
>   the other constraints of the request, or respond with a 504 (Gateway
>   Timeout) status code.  If a group of caches is being operated as a
>   unified system with good internal connectivity, a member cache MAY
>   forward such a request within that group of caches.
>=20
> 3.2.2.  Response Cache-Control Directives
>=20
> 3.2.2.1.  public
>=20
>   The public response directive indicates that a response whose
>   associated request contains an 'Authentication' header MAY be stored
>   (see Section 2.7).
>=20
> 3.2.2.2.  private
>=20
>   Argument syntax:
>=20
>      #field-name
>=20
>   The private response directive indicates that the response message =
is
>   intended for a single user and MUST NOT be stored by a shared cache.
>   A private cache MAY store the response.
>=20
>   If the private response directive specifies one or more field-names,
>   this requirement is limited to the field-values associated with the
>   listed response header fields.  That is, a shared cache MUST NOT
>   store the specified field-names(s), whereas it MAY store the
>   remainder of the response message.
>=20
>   The field-names given are not limited to the set of standard header
>   fields defined by this specification.  Field names are case-
>   insensitive.
>=20
>   Note: This usage of the word "private" only controls where the
>   response can be stored; it cannot ensure the privacy of the message
>   content.  Also, private response directives with field-names are
>   often handled by implementations as if an unqualified private
>   directive was received; i.e., the special handling for the qualified
>   form is not widely implemented.
>=20
>   Note: This directive uses the quoted-string form of the argument
>   syntax.  Senders SHOULD NOT use the token form (even if quoting
>   appears not to be needed for single-entry lists).
>=20
> 3.2.2.3.  no-cache
>=20
>   Argument syntax:
>=20
>      #field-name
>=20
>   The no-cache response directive indicates that the response MUST NOT
>   be used to satisfy a subsequent request without successful =
validation
>   on the origin server.  This allows an origin server to prevent a
>   cache from using it to satisfy a request without contacting it, even
>   by caches that have been configured to return stale responses.
>=20
>   If the no-cache response directive specifies one or more =
field-names,
>   then a cache MAY use the response to satisfy a subsequent request,
>   subject to any other restrictions on caching.  However, any header
>   fields in the response that have the field-name(s) listed MUST NOT =
be
>   sent in the response to a subsequent request without successful
>   revalidation with the origin server.  This allows an origin server =
to
>   prevent the re-use of certain header fields in a response, while
>   still allowing caching of the rest of the response.
>=20
>   The field-names given are not limited to the set of standard header
>   fields defined by this specification.  Field names are case-
>   insensitive.
>=20
>   Note: Most HTTP/1.0 caches will not recognize or obey this =
directive.
>   Also, no-cache response directives with field-names are often =
handled
>   by implementations as if an unqualified no-cache directive was
>   received; i.e., the special handling for the qualified form is not
>   widely implemented.
>=20
>   Note: This directive uses the quoted-string form of the argument
>   syntax.  Senders SHOULD NOT use the token form (even if quoting
>   appears not to be needed for single-entry lists).
>=20
> 3.2.2.4.  no-store
>=20
>   The no-store response directive indicates that a cache MUST NOT =
store
>   any part of either the immediate request or response.  This =
directive
>   applies to both private and shared caches.  "MUST NOT store" in this
>   context means that the cache MUST NOT intentionally store the
>   information in non-volatile storage, and MUST make a best-effort
>   attempt to remove the information from volatile storage as promptly
>   as possible after forwarding it.
>=20
>   This directive is NOT a reliable or sufficient mechanism for =
ensuring
>   privacy.  In particular, malicious or compromised caches might not
>   recognize or obey this directive, and communications networks might
>   be vulnerable to eavesdropping.
>=20
> 3.2.2.5.  must-revalidate
>=20
>   The must-revalidate response directive indicates that once it has
>   become stale, a cache MUST NOT use the response to satisfy =
subsequent
>   requests without successful validation on the origin server.
>=20
>   The must-revalidate directive is necessary to support reliable
>   operation for certain protocol features.  In all circumstances a
>   cache MUST obey the must-revalidate directive; in particular, if a
>   cache cannot reach the origin server for any reason, it MUST =
generate
>   a 504 (Gateway Timeout) response.
>=20
>   The must-revalidate directive ought to be used by servers if and =
only
>   if failure to validate a request on the representation could result
>   in incorrect operation, such as a silently unexecuted financial
>   transaction.
>=20
> 3.2.2.6.  proxy-revalidate
>=20
>   The proxy-revalidate response directive has the same meaning as the
>   must-revalidate response directive, except that it does not apply to
>   private caches.
>=20
> 3.2.2.7.  max-age
>=20
>   Argument syntax:
>=20
>      delta-seconds (see Section 1.5)
>=20
>   The max-age response directive indicates that the response is to be
>   considered stale after its age is greater than the specified number
>   of seconds.
>=20
>   Note: This directive uses the token form of the argument syntax;
>   e.g., 'max-age=3D5', not 'max-age=3D"5"'.  Senders SHOULD NOT use =
the
>   quoted-string form.
>=20
> 3.2.2.8.  s-maxage
>=20
>   Argument syntax:
>=20
>      delta-seconds (see Section 1.5)
>=20
>   The s-maxage response directive indicates that, in shared caches, =
the
>   maximum age specified by this directive overrides the maximum age
>   specified by either the max-age directive or the Expires header
>   field.  The s-maxage directive also implies the semantics of the
>   proxy-revalidate response directive.
>=20
>   Note: This directive uses the token form of the argument syntax;
>   e.g., 's-maxage=3D10', not 's-maxage=3D"10"'.  Senders SHOULD NOT =
use the
>   quoted-string form.
>=20
> 3.2.2.9.  no-transform
>=20
>   The no-transform response directive indicates that an intermediary
>   (regardless of whether it implements a cache) MUST NOT change the
>   Content-Encoding, Content-Range or Content-Type response header
>   fields, nor the response representation.
>=20
>=20
> Best regards, Julian
>=20

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





From ietf-http-wg-request@listhub.w3.org  Sun Jun 24 20:46: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 AFE2221F8503 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 20:46:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.345
X-Spam-Level: 
X-Spam-Status: No, score=-10.345 tagged_above=-999 required=5 tests=[AWL=0.254, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AJS6bn9bgRnz for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 20:46:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 770B621F84FE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 24 Jun 2012 20:46:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sj0EQ-0007tV-Ex for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 03:44:54 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sj0E5-0007qh-IO for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 03:44: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 1Sj0Dz-0002QQ-MY for ietf-http-wg@w3.org; Mon, 25 Jun 2012 03:44:31 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id E147A22DD6D for <ietf-http-wg@w3.org>; Sun, 24 Jun 2012 23:44:05 -0400 (EDT)
From: Mark Nottingham <mnot@mnot.net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Date: Mon, 25 Jun 2012 13:44:02 +1000
Message-Id: <FC7937E2-B3C2-43A1-B5FF-322FB0CD10E7@mnot.net>
To: HTTP Working Group <ietf-http-wg@w3.org>
Mime-Version: 1.0 (Apple Message framework v1278)
X-Mailer: Apple Mail (2.1278)
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.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 1Sj0Dz-0002QQ-MY b49d3d2cd35e191c2287ff25e13e29e5
X-Original-To: ietf-http-wg@w3.org
Subject: Advice to define where new status codes can be generated
Archived-At: <http://www.w3.org/mid/FC7937E2-B3C2-43A1-B5FF-322FB0CD10E7@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13912
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sj0EQ-0007tV-Ex@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 03:44:54 +0000

Just a quick thought: in =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-se=
mantics.html#considerations.for.new.status.codes>, we talk about =
guidelines for new status codes. It might be worth advising people to =
explicitly say whether intermediaries can generate the status code, in =
addition to (or instead of) the origin.

Make sense?

Cheers,

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





From ietf-http-wg-request@listhub.w3.org  Sun Jun 24 20:49: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 B4A6A11E8085 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 20:49:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.35
X-Spam-Level: 
X-Spam-Status: No, score=-10.35 tagged_above=-999 required=5 tests=[AWL=0.249, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fk0YaGRC7q6C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 24 Jun 2012 20:49:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7A6ED21F859F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 24 Jun 2012 20:49:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sj0IO-0001WW-JF for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 03:49:00 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sj0I5-0001Td-WC for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 03:48:42 +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 1Sj0I0-0002Vp-5x for ietf-http-wg@w3.org; Mon, 25 Jun 2012 03:48:40 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 01E0122E1EB; Sun, 24 Jun 2012 23:48:13 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4F7F485F.4020106@oracle.com>
Date: Mon, 25 Jun 2012 13:48:11 +1000
Cc: zhong.j.yu@gmail.com, fielding@gbiv.com, ietf-http-wg@w3.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <3A818D3D-704E-44F6-B1BC-E1EA412835EE@mnot.net>
References: <4F7F485F.4020106@oracle.com>
To: Ray Polk <ray.polk@oracle.com>
X-Mailer: Apple Mail (2.1278)
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.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 1Sj0I0-0002Vp-5x 2464d110545aa8b937f8b53d5218f98c
X-Original-To: ietf-http-wg@w3.org
Subject: #350: WGLC Issue for p4: Optionality of Conditional Request Support
Archived-At: <http://www.w3.org/mid/3A818D3D-704E-44F6-B1BC-E1EA412835EE@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13913
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sj0IO-0001WW-JF@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 03:49:00 +0000

<http://trac.tools.ietf.org/wg/httpbis/trac/ticket/350>

Hi Ray,

On 07/04/2012, at 5:47 AM, Ray Polk wrote:

> Have you had the chance to propose some prose for this ticket?  If =
not, was this approximately what you were thinking?

I've been thinking about it more recently (sorry for the long delay).

> 3.  Precondition Header Fields
>=20
> This section defines the syntax and semantics of HTTP/1.1 header
> fields for applying preconditions on requests.  <new>If an origin =
server
> supplies a Validator for a resources, the origin server MUST support =
the
> corresponding conditionals.</new>

That looks reasonable, but I think it'd be clearer if this were stated =
in the sections that define the validators. E.g., in =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-co=
nditional.html#entity.tag.generation>, add:

"""
Origin servers that generate ETags for a resource MUST support the =
If-Match precondition [ref] on all subsequent unsafe requests to that =
resource, and SHOULD support it for subsequent safe requests.
"""

... and likewise for Last-Modified / If-Unmodified-Since. Thoughts?


> I also had further concerns in this area.  I think the Conditional =
decision tree looks sort of like this:
>=20
> Origin Server SHOULD generate Validators
> --> UA MAY use Conditionals corresponding to the Validators
> --> Origin Server MUST respect Conditionals
>=20
> Since the UA only MAY use the conditionals, what should the Origin =
Server do if the UA doesn't supply a conditional?  For safe methods, =
it's no big deal.  However, for PUT & DELETE, I can see a case for UA =
MUST use the conditional.  So does this make sense?

We can't retroactively require it, but we did recently define something =
that allows the origin to express this: =
<http://tools.ietf.org/html/rfc6585#section-3>


> 3.1.  If-Match
>=20
> The "If-Match" header field MAY be used to make a <new>safe</new>
> request method conditional <new>and MUST be used to make an unsafe
> request method conditional</new> on the current existence or value
> of an entity-tag for one or more representations of the target =
resource.

Pending discussion above, yes.


> Continuing the theme of Conditionals and method properties -- In last =
week's F2F discussion, there was some further discussion on the topic of =
conditional requests and PATCH.  Is the following assertion true?
>=20
> Some Non-idempotent methods (e.g. PATCH) may be considered idempotent =
when the appropriate Conditional is applied (e.g. If-Match).

Hmm. Certainly, some non-idempotent methods are sometimes actually =
idempotent; consider some uses of POST, for example. However, from a =
visibility standpoint, it's all in the method.


> Finally, how do Validators & Conditionals interact with POST?

Just as any other method would; i.e., if the resource has a =
representation (obtained by GET), the validators obtained therein can be =
used to make POST requests pre-conditional.

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 00:00: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 19D1921F8585 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 00:00:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.708
X-Spam-Level: 
X-Spam-Status: No, score=-8.708 tagged_above=-999 required=5 tests=[AWL=1.891, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id foyBo2h-ASPl for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 00:00:16 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3CF8E21F855E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 00:00:16 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sj3FG-0001VW-Np for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 06:57:58 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sj3Eq-0001Tv-I7 for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 06:57:32 +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 1Sj3Eh-0004jt-NX for ietf-http-wg@w3.org; Mon, 25 Jun 2012 06:57:30 +0000
Received: (qmail invoked by alias); 25 Jun 2012 06:56:56 -0000
Received: from p54BB31EF.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.49.239] by mail.gmx.net (mp069) with SMTP; 25 Jun 2012 08:56:56 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+HF/4a95CHR5ad7U85bt0EMGBU/j2cwIO26buBWw a140j0cVTvy2MF
Message-ID: <4FE80BB7.1040605@gmx.de>
Date: Mon, 25 Jun 2012 08:56:55 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <FC7937E2-B3C2-43A1-B5FF-322FB0CD10E7@mnot.net>
In-Reply-To: <FC7937E2-B3C2-43A1-B5FF-322FB0CD10E7@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1Sj3Eh-0004jt-NX 33dd71f8903ec186ddd193b599401979
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Advice to define where new status codes can be generated
Archived-At: <http://www.w3.org/mid/4FE80BB7.1040605@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13914
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sj3FG-0001VW-Np@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 06:57:58 +0000

On 2012-06-25 05:44, Mark Nottingham wrote:
> Just a quick thought: in <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#considerations.for.new.status.codes>, we talk about guidelines for new status codes. It might be worth advising people to explicitly say whether intermediaries can generate the status code, in addition to (or instead of) the origin.
>
> Make sense?

Probably yes. Is there a default though?





From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 00:21: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 99F3421F8483 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 00:21:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.813
X-Spam-Level: 
X-Spam-Status: No, score=-8.813 tagged_above=-999 required=5 tests=[AWL=1.786, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PbjL6arwmu1C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 00:21:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9361221F8480 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 00:21:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sj3bb-0007Jt-Ub for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 07:21:03 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1Sj3b8-0007Ht-N9 for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 07:20:34 +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 1Sj3b1-0005XL-E2 for ietf-http-wg@w3.org; Mon, 25 Jun 2012 07:20:32 +0000
Received: (qmail invoked by alias); 25 Jun 2012 07:20:00 -0000
Received: from p54BB31EF.dip.t-dialin.net (EHLO [192.168.178.36]) [84.187.49.239] by mail.gmx.net (mp002) with SMTP; 25 Jun 2012 09:20:00 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX19LY3ocf8NL71Fwmv0Y/w6H5Sw21tOwVCn0udmL6P /xyvymUKrFOX0D
Message-ID: <4FE8111F.2040402@gmx.de>
Date: Mon, 25 Jun 2012 09:19:59 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FD4FAF0.8060104@gmx.de> <7D8A6620-3B59-4CC5-9091-6537A6D0BB69@mnot.net> <4FD5E7A0.6050008@gmx.de> <48F4AEE2-53E4-4270-844F-59D5CE58B035@mnot.net> <4FD5E9DA.9070200@gmx.de> <3874B271-8E63-4523-BC15-0C98281E8BD0@mnot.net> <4FD5EFA8.4030007@gmx.de> <F8A86631-B78D-44CA-A439-B465973C1B7F@mnot.net> <4FD6640B.7060106@gmx.de> <4FD7AD34.6020804@gmx.de> <63446E9E-36B8-40FB-9B47-DB9CB973476C@mnot.net> <4FD83EAD.4040200@gmx.de> <6CC601A0-821E-4E09-803C-F0DCF85AA5F0@mnot.net> <4FD871AA.6010309@gmx.de> <FC6F9416-70E4-433A-ACFB-3642508A6101@mnot.net> <4FD992EB.1040107@gmx.de> <2BD1DFA7-EA11-4328-997B-F171CF788660@mnot.net> <4FD9D133.3000804@gmx.de> <00434F14-061B-41A0-9C69-A0F30CE14845@mnot.net> <4FDE03CE.10002@gmx.de> <86A2AE19-CA9A-43C6-AC11-89AC5F96D999@mnot.net> <4FE01814.1050807@gmx.de> <4FE75CE3.5060908@gmx.de> <0EB7C8B4-5805-4469-AD6D-FA6654220061@mnot.net>
In-Reply-To: <0EB7C8B4-5805-4469-AD6D-FA6654220061@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=-1.9
X-W3C-Hub-Spam-Report: 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 1Sj3b1-0005XL-E2 e82f443e9556e929b7513d50d0d73b60
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #307 (untangle Cache-Control ABNF)
Archived-At: <http://www.w3.org/mid/4FE8111F.2040402@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13915
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sj3bb-0007Jt-Ub@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 07:21:03 +0000

On 2012-06-25 01:29, Mark Nottingham wrote:
> Works for me.
> ...

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1695>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 01:50: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 0F92821F84D6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 01:50:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.184
X-Spam-Level: 
X-Spam-Status: No, score=-8.184 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kp1EeGAGdJl4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 01:50:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0188E21F8499 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 01:50:08 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sj4yR-0005bK-Jy for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 08:48:43 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <dereq@japan.com>) id 1Sj4yB-0005a3-Oe for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 08:48:27 +0000
Received: from mailout-us.gmx.com ([74.208.5.67]) by lisa.w3.org with smtp (Exim 4.72) (envelope-from <dereq@japan.com>) id 1Sj4y4-0006Eu-Ib for ietf-http-wg@w3.org; Mon, 25 Jun 2012 08:48:26 +0000
Received: (qmail 9071 invoked by uid 0); 25 Jun 2012 08:43:51 -0000
Received: from 121.210.178.174 by rms-us018 with HTTP
Cc: "Tor assistants list" <tor-assistants@torproject.org>,ietf-http-wg@w3.org
Content-Type: multipart/alternative; boundary="========GMXBoundary303411340613831687451"
Date: Mon, 25 Jun 2012 04:43:51 -0400
From: "Dereq Dereq" <dereq@japan.com>
Message-ID: <20120625084351.303410@gmx.com>
MIME-Version: 1.0
To: "Jacob Appelbaum" <jacob@appelbaum.net>,tbray@textuality.com
X-Authenticated: #74088690
X-Flags: 0001
X-Mailer: GMX.com Web Mailer
x-registered: 0
X-GMX-UID: kEGab+EX3zOlNZPjAXAhNId+IGRvbwAz
Received-SPF: none client-ip=74.208.5.67; envelope-from=dereq@japan.com; helo=mailout-us.gmx.com
X-W3C-Hub-Spam-Status: No, score=0.0
X-W3C-Hub-Spam-Report: BAYES_40=-0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001
X-W3C-Scan-Sig: lisa.w3.org 1Sj4y4-0006Eu-Ib 27a7595e717248a0aaf4bdb3acfefd53
X-Original-To: ietf-http-wg@w3.org
Subject: Re: 451 Unavailable For Legal Reasons
Archived-At: <http://www.w3.org/mid/20120625084351.303410@gmx.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13916
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sj4yR-0005bK-Jy@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 08:48:43 +0000

--========GMXBoundary303411340613831687451
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

>While the reason may be optional, I firmly believe that the status code itself must be present

 I agree with Jacob.

 Perhaps

 The 451 status code is optional; clients cannot rely upon its use. It is imaginable that certain legal authorities may wish to avoid transparency, and not only forbid access to certain resources, but also disclosure that the restriction exists. should be changed to The 451 status code is mandatory in a compliant implementation. However clients cannot rely upon its use. It is imaginable that certain authorities may wish to avoid transparency, and not only forbid access to certain resources, but also disclosure that the restriction exists. 

 >- o Description: Unavailable for Legal Reasons >+ o Description: Resource Unavailable, Censored and Redacted Another way of looking at this is ... the current 403 Forbidden status should be clarified as only being used in the scenario that the content owner on the origin server freely chooses not to permit access and 451 should be used in all scenarios when the content owner on the origin server would permit access but for external constraints. Hence something along the lines of o Description: Forbidden due to external constraints This would cover a range of scenarios including legal injunction against the content owner, pressure on the content owner that does not have formal legal standing, interference by intermediate devices, ...

--========GMXBoundary303411340613831687451
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<span style=3D'font-family:Verdana'><span style=3D'font-size:12px'>&gt;Whil=
e the reason may be optional, I firmly believe that the status code itself =
must be present<br />=20
<br />=20
I agree with Jacob.<br />=20
<br />=20
Perhaps<br />=20
<br />=20
<pre style=3D"white-space: pre-wrap; word-wrap: break-word; font-size:11;pr=
e">=20
   The 451 status code is optional; clients cannot rely upon its use.=20
   It is imaginable that certain legal authorities may wish to avoid=20
   transparency, and not only forbid access to certain resources, but=20
   also disclosure that the restriction exists.=20

should be changed to=20

   The 451 status code is mandatory in a compliant implementation. However=
=20
   clients cannot rely upon its use. It is imaginable that certain authorit=
ies=20
   may wish to avoid transparency, and not only forbid access to certain re=
sources,=20
   but also disclosure that the restriction exists.=20
</pre>=20
<div>=20
	<div>=20
		<pre style=3D"white-space: pre-wrap; word-wrap: break-word; font-size:11;=
pre">=20

&gt;-   o  Description: Unavailable for Legal Reasons=20
&gt;+   o  Description: Resource Unavailable, Censored and Redacted=20

Another way of looking at this is ... the current 403 Forbidden status shou=
ld be clarified as only being used in the scenario that the content owner o=
n the origin server freely chooses not to permit access and 451 should be u=
sed in all scenarios when the content owner on the origin server would perm=
it access but for external constraints.=20

<span style=3D"font-family: Verdana;">Hence something along the lines of=20

o  Description: Forbidden <span style=3D"font-family: monospace;">due to ex=
ternal constraints</span></span>=20
</pre>=20
	</div>=20
</div>=20
This would cover a range of scenarios including legal injunction against th=
e content owner, pressure on the content owner that does not have formal le=
gal standing, interference by intermediate devices, ...<br />=20
</span></span>

--========GMXBoundary303411340613831687451--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 08:55: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 B6D4411E807F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 08:55:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.457
X-Spam-Level: 
X-Spam-Status: No, score=-7.457 tagged_above=-999 required=5 tests=[AWL=0.010, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i5eDaSU-gVcg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 08:55:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id D5E9B11E8073 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 08:55:31 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjBav-0002Bq-TS for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 15:52:53 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <prvs=516343ab6=Martin.Musatov@bestbuy.com>) id 1SjBac-0002Ax-DK for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 15:52:34 +0000
Received: from dsp2xmail.bestbuy.com ([198.22.123.158]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <prvs=516343ab6=Martin.Musatov@bestbuy.com>) id 1SjBaR-0006G6-UI for ietf-http-wg@w3.org; Mon, 25 Jun 2012 15:52:31 +0000
Received: from unknown (HELO DSP50MAIL.na.bestbuy.com) ([168.94.110.140]) by dsp2xmail.bestbuy.com with ESMTP/TLS/AES128-SHA; 25 Jun 2012 10:44:12 -0500
Received: from tx2outboundpool.messaging.microsoft.com (65.55.88.11) by mail10.bestbuy.com (168.94.110.140) with Microsoft SMTP Server (TLS) id 14.1.339.1; Mon, 25 Jun 2012 10:51:51 -0500
Received: from mail144-tx2-R.bigfish.com (10.9.14.240) by TX2EHSOBE012.bigfish.com (10.9.40.32) with Microsoft SMTP Server id 14.1.225.23; Mon, 25 Jun 2012 15:50:13 +0000
Received: from mail144-tx2 (localhost [127.0.0.1])	by mail144-tx2-R.bigfish.com (Postfix) with ESMTP id 1943FE03B5	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Mon, 25 Jun 2012 15:50:13 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:157.56.234.133;KIP:(null);UIP:(null);(null);H:SN2PRD0610HT002.namprd06.prod.outlook.com;R:internal;EFV:INT
X-SpamScore: -26
X-BigFish: PS-26(zz9371I542Mzz1202hzz1033IL8275dhz31h2a8h668h839h944hd25hf0ah)
Received-SPF: softfail (mail144-tx2: transitioning domain of bestbuy.com does not designate 157.56.234.133 as permitted sender) client-ip=157.56.234.133; envelope-from=Martin.Musatov@bestbuy.com; helo=SN2PRD0610HT002.namprd06.prod.outlook.com ;.outlook.com ;
Received: from mail144-tx2 (localhost.localdomain [127.0.0.1]) by mail144-tx2 (MessageSwitch) id 1340639411334621_24792; Mon, 25 Jun 2012 15:50:11 +0000 (UTC)
Received: from TX2EHSMHS041.bigfish.com (unknown [10.9.14.252])	by mail144-tx2.bigfish.com (Postfix) with ESMTP id 4E1FD24004D;	Mon, 25 Jun 2012 15:50:11 +0000 (UTC)
Received: from SN2PRD0610HT002.namprd06.prod.outlook.com (157.56.234.133) by TX2EHSMHS041.bigfish.com (10.9.99.141) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 25 Jun 2012 15:50:10 +0000
Received: from SN2PRD0610MB371.namprd06.prod.outlook.com ([169.254.3.123]) by SN2PRD0610HT002.namprd06.prod.outlook.com ([10.255.117.37]) with mapi id 14.16.0164.004; Mon, 25 Jun 2012 15:51:48 +0000
From: "Musatov, Martin - CW" <Martin.Musatov@bestbuy.com>
To: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Thread-Topic: #271: use of "may" and "should"
Thread-Index: AQHNUfL7PhJlHNy4TUKVb6BCl2j7vpcLL/WQ
Date: Mon, 25 Jun 2012 15:51:44 +0000
Message-ID: <1A861E6970A91447BBC0BD2021F75320029E3ECC@SN2PRD0610MB371.namprd06.prod.outlook.com>
References: <4FE6E978.4010509@gmx.de>
In-Reply-To: <4FE6E978.4010509@gmx.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [168.94.245.1]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0610HT002.namprd06.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%8463$Dn%GMX.DE$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-FOPE-CONNECTOR: Id%8463$Dn%W3.ORG$RO%2$TLS%5$FQDN%mail10.bestbuy.com$TlsDn%mail10.bestbuy.com
X-OriginatorOrg: BestBuy.com
X-CrossPremisesHeadersPromoted: DSP50MAIL.na.bestbuy.com
X-CrossPremisesHeadersFiltered: DSP50MAIL.na.bestbuy.com
Received-SPF: pass client-ip=198.22.123.158; envelope-from=prvs=516343ab6=Martin.Musatov@bestbuy.com; helo=dsp2xmail.bestbuy.com
X-W3C-Hub-Spam-Status: No, score=-5.7
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1SjBaR-0006G6-UI 96abfd89219dd28f6a58c91783129ca3
X-Original-To: ietf-http-wg@w3.org
Subject: RE: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/1A861E6970A91447BBC0BD2021F75320029E3ECC@SN2PRD0610MB371.namprd06.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13917
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjBav-0002Bq-TS@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 15:52:53 +0000

"Can" is the most common for asking for, giving or refusing permission:
"May" formal way to ask for or give permission:
"Should" is clearly not neutral and implies "proper"

-----Original Message-----
From: Julian Reschke [mailto:julian.reschke@gmx.de]=20
Sent: Sunday, June 24, 2012 5:19 AM
To: HTTP Working Group
Subject: #271: use of "may" and "should"

P1, 2.1:

       Note: The term 'user agent' covers both those situations where
       there is a user (human) interacting with the software agent (and
       for which user interface or interactive suggestions might be made,
       e.g., warning the user or given the user an option in the case of
       security or privacy options) and also those where the software
       agent may act autonomously.

"may" -> "can"


P1, 8.2:

    HTTP log information is confidential in nature; its handling is often
    constrained by laws and regulations.  Log information needs to be
    securely stored and appropriate guidelines followed for its analysis.
    Anonymization of personal information within individual entries
    helps, but is generally not sufficient to prevent real log traces
    from being re-identified based on correlation with other access
    characteristics.  As such, access traces that are keyed to a specific
    client should not be published even if the key is pseudonymous.

"should not" -> "SHOULD NOT"

    To minimize the risk of theft or accidental publication, log
    information should be purged of personally identifiable information,
    including user identifiers, IP addresses, and user-provided query
    parameters, as soon as that information is no longer necessary to
    support operational needs for security, auditing, or fraud control.

"should" -> "SHOULD


P2, 2.2.1:

    New method definitions need to indicate whether they are safe
    (Section 2.1.1), what semantics (if any) the request body has, and
    whether they are idempotent (Section 2.1.2).  They also need to state
    whether they can be cached ([Part6]); in particular what conditions a

missing "under"?

    cache may store the response, and under what conditions such a stored
    response may be used to satisfy a subsequent request.

"may" -> "MAY"


P2, 2.3.8:

    Similar to a pipelined HTTP/1.1 request, data to be tunneled from
    client to server MAY be sent immediately after the request (before a
    response is received).  The usual caveats also apply: data may be
    discarded if the eventual response is negative, and the connection
    may be reset with no response if more than one TCP segment is
    outstanding.

"may" -> "might" (twice)


P2, 3.1:

    o  Whether the header field should be preserved across redirects.

"should" -> "ought to"


P2, 4.5.4:

    The 303 status code indicates that the server is redirecting the user
    agent to a different resource, as indicated by a URI in the Location
    header field, that is intended to provide an indirect response to the
    original request.  In order to satisfy the original request, a user
    agent SHOULD perform a retrieval request using the Location URI (a
    GET or HEAD request if using HTTP), which may itself be redirected
    further, and present the eventual result as an answer to the original
    request.  Note that the new URI in the Location header field is not
    considered equivalent to the effective request URI.

"may" -> "can"


P4, 2.4:

       HTTP/1.0 clients and caches might ignore entity-tags.  Generally,
       last-modified values received or used by these systems will
       support transparent and efficient caching, and so HTTP/1.1 origin
       servers still ought to provide Last-Modified values.  In those
       rare cases where the use of a Last-Modified value as a validator
       by an HTTP/1.0 system could result in a serious problem, then
       HTTP/1.1 origin servers should not provide one.

(see http://trac.tools.ietf.org/wg/httpbis/trac/ticket/363)


P6, 2.3.3:

    If a cache receives a first-hand response (either an entire response,
    or a 304 (Not Modified) response) that it would normally forward to
    the requesting client, and the received response is no longer fresh,
    the cache can forward it to the requesting client without adding a
    new Warning (but without removing any existing Warning header
    fields).  A cache shouldn't attempt to validate a response simply
    because that response became stale in transit.

"shouldn't" -> "SHOULD NOT"


P6, 2.4:

    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.  However, if any of the stored
    responses contains only partial content, the cache shouldn't include
    its entity-tag in the If-None-Match header field unless the request
    is for a range that would be fully satisfied by that stored response.

"shouldn't" -> "SHOULD NOT"


P6, 3.2.3:

    For example, consider a hypothetical new response directive called
    "community" that acts as a modifier to the private directive.  We
    define this new directive to mean that, in addition to any private
    cache, any cache that is shared only by members of the community
    named within its value may cache the response.  An origin server
    wishing to allow the UCI community to use an otherwise private
    response in their shared cache(s) could do so by including

"may" -> "can"



Feedback appreciated, Julian





From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 10:51: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 6C55321F84FE for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 10:51:07 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4CcteVMwkxMO for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 10:51:06 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 05BC621F84F0 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 10:51:05 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjDPK-0001MN-EJ for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 17:49:02 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <pmcmanus@mozilla.com>) id 1SjDP9-0001Jt-5t for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 17:48:51 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by maggie.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SjDP6-00035E-IV for ietf-http-wg@w3.org; Mon, 25 Jun 2012 17:48:49 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id B44B01062C; Mon, 25 Jun 2012 13:48:49 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id BF3291062A for <ietf-http-wg@w3.org>; Mon, 25 Jun 2012 13:48:45 -0400 (EDT)
Message-ID: <1340646496.10152.113.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: ietf-http-wg@w3.org
Date: Mon, 25 Jun 2012 13:48:16 -0400
In-Reply-To: <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com>
References:  <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1SjDP6-00035E-IV b48b967a06c69cee77f3499db1d300f6
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on  HTTP/1.1
Archived-At: <http://www.w3.org/mid/1340646496.10152.113.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13918
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjDPK-0001MN-EJ@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 17:49:02 +0000

Henirk, 

Thanks for the blog post! I've got a couple questions that came to
mind.. I'll just put the gzip one in this post.

" our data shows that compression works better on a bundled document due
to the larger size and hence the opportunity for better compression
ratio. 

Compressing 7 JS individually 161178 bytes
Compressing the minified JS bundle 137817 bytes

[.. redacted more or less the same for css ..]
"

what about compressing the concat'd 7 js files and therefore extending
the compression context across resource boundaries? Also, what was
window size?

SPDY actually dropped a data-compression option in the transport
(instead it uses resource level compression and makes support of that
mandatory), but if there is reason to suggest significantly better rates
doing it that way rather than per-resource then that's probably an
interesting property to move along as we discuss http/2 (independent of
whether it is implicit in a bundle or layered on as part of the
transport). You could even imagine a small array of content-specific
contexts (one for headers, one for js, one for html, whatever)..






From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 13:05: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 587C821F856F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 13:05:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.399
X-Spam-Level: 
X-Spam-Status: No, score=-8.399 tagged_above=-999 required=5 tests=[AWL=1.600, BAYES_00=-2.599, J_CHICKENPOX_72=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id O2z9rh4lgRu4 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 13:05:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 450A021F8452 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 13:05:23 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjFVK-0001LF-Nu for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 20:03:22 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <Gabriel.Montenegro@microsoft.com>) id 1SjFUq-0001Hq-MB for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 20:02:52 +0000
Received: from ch1ehsobe004.messaging.microsoft.com ([216.32.181.184] helo=ch1outboundpool.messaging.microsoft.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 1SjFUn-0007ri-Vq for ietf-http-wg@w3.org; Mon, 25 Jun 2012 20:02:51 +0000
Received: from mail188-ch1-R.bigfish.com (10.43.68.244) by CH1EHSOBE001.bigfish.com (10.43.70.51) with Microsoft SMTP Server id 14.1.225.23; Mon, 25 Jun 2012 20:00:44 +0000
Received: from mail188-ch1 (localhost [127.0.0.1])	by mail188-ch1-R.bigfish.com (Postfix) with ESMTP id 1353938019A;	Mon, 25 Jun 2012 20:00:44 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC101.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -12
X-BigFish: VS-12(zz542M1432I1418Izz1202hzz8275bh8275dh186Mz2fh2a8h668h839h944hd25hf0ah)
Received-SPF: pass (mail188-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=Gabriel.Montenegro@microsoft.com; helo=TK5EX14MLTC101.redmond.corp.microsoft.com ;icrosoft.com ;
Received: from mail188-ch1 (localhost.localdomain [127.0.0.1]) by mail188-ch1 (MessageSwitch) id 1340654442419454_24801; Mon, 25 Jun 2012 20:00:42 +0000 (UTC)
Received: from CH1EHSMHS020.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.238])	by mail188-ch1.bigfish.com (Postfix) with ESMTP id 624C414004E;	Mon, 25 Jun 2012 20:00:42 +0000 (UTC)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS020.bigfish.com (10.43.70.20) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 25 Jun 2012 20:00:40 +0000
Received: from TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com (157.54.71.68) by TK5EX14MLTC101.redmond.corp.microsoft.com (157.54.79.178) with Microsoft SMTP Server (TLS) id 14.2.298.5; Mon, 25 Jun 2012 20:02:14 +0000
Received: from TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com ([169.254.2.243]) by TK5EX14MLTW652.wingroup.windeploy.ntdev.microsoft.com ([157.54.71.68]) with mapi id 14.02.0309.003; Mon, 25 Jun 2012 13:02:14 -0700
From: Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
CC: Rob Trace <Rob.Trace@microsoft.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: New Version Notification for draft-montenegro-httpbis-speed-mobility-02.txt
Thread-Index: AQHNURdOC/LpC+c4SESqtQX3kbJZ9ZcLc7FQ
Date: Mon, 25 Jun 2012 20:02:13 +0000
Message-ID: <CA566BAEAD6B3F4E8B5C5C4F61710C11480598C1@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
References: Your message of "Sat, 23 Jun 2012 00:10:27 GMT." <CA566BAEAD6B3F4E8B5C5C4F61710C1148057DA6@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com> <4319.1340438881@critter.freebsd.dk>
In-Reply-To: <4319.1340438881@critter.freebsd.dk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [157.54.51.90]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=216.32.181.184; envelope-from=Gabriel.Montenegro@microsoft.com; helo=ch1outboundpool.messaging.microsoft.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, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SjFUn-0007ri-Vq 0d39008fdf6c1b927ee46ec566ad645d
X-Original-To: ietf-http-wg@w3.org
Subject: RE: New Version Notification for  draft-montenegro-httpbis-speed-mobility-02.txt
Archived-At: <http://www.w3.org/mid/CA566BAEAD6B3F4E8B5C5C4F61710C11480598C1@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13919
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjFVK-0001LF-Nu@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 20:03:22 +0000

I can see why you'd want this field in the clear. But perhaps you expressed=
 the real goal better in the minification thread:

"HTTP/2.0 should serialize (at least) these crucial fields without
gzip and preferably in a way that makes it very easy and cheap to
find them."

One way is to make the crucial fields for routing the request available in =
the clear. Header compression could be defined to allow leaving such fields=
 in the clear. We'd lose the benefit of compression, though. One could repl=
ace with some hash or handle, but then we are facing the question of lifecy=
cle for those handles as well.

Another way is what you suggest here, to reuse the stream ID and use that a=
s a handle with the constraint you suggest. The stream lifecycle would have=
 to be spec-ed carefully as otherwise opening up Stream IDs without clear i=
ndication as to when to reclaim them and delete the resources could be used=
 as a DoS. HTTP's request/response pattern is an easy way to solve this. Bu=
t in websockets multiplexing there is no such pattern, so perhaps we need t=
o solve this anyways (I think ideally we should have a common or at least a=
n aligned solution between HTTP 2.0 mux and websockets mux). There's always=
 explicit stream (or "channel", in websockets mux) teardown. Beyond that, I=
 guess any system can impose any limits it wants on numbers of outstanding =
streams open.

So yes, there are several ways to make requests easily routable in HTTP 2.0=
, not sure which is the best.

Gabriel

> -----Original Message-----
> From: Poul-Henning Kamp [mailto:phk@phk.freebsd.dk]
> Sent: Saturday, June 23, 2012 01:08
> To: Gabriel Montenegro
> Cc: Rob Trace; ietf-http-wg@w3.org
> Subject: Re: New Version Notification for draft-montenegro-httpbis-speed-
> mobility-02.txt
>=20
> In message
> <CA566BAEAD6B3F4E8B5C5C4F61710C1148057DA6@TK5EX14MBXW602.w
> ingroup.wi
> ndeploy.ntdev.microsoft.com>, Gabriel Montenegro writes:
>=20
> >I'm a bit confused by your proposed tweak:
> >
> >> 	Once created, all requests on a given stream MUST have the
> >> 	same "Host:" header.
> >
> >Currently, we don't reuse streams, so the assumption is that a request
> creates
> >one and a reply tears it down.
>=20
> OK, I don't know how I could have missed that bit.
>=20
> I think that is a bad idea, it adds a lot of overhead-processing that
> can be trivially be avoided by reusing the stream in the restricted way
> I propose.
>=20
> --
> 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  Mon Jun 25 13:14: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 20F2711E80A0 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 13:14:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.609
X-Spam-Level: 
X-Spam-Status: No, score=-6.609 tagged_above=-999 required=5 tests=[AWL=0.817, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0TROaBqmE-cg for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 13:14:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4150A11E8093 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 13:14:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjFfa-0003MS-6r for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 20:13:58 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1SjFfM-0003LP-RO for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 20:13:44 +0000
Received: from tx2ehsobe002.messaging.microsoft.com ([65.55.88.12] helo=tx2outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SjFfK-0008KA-3A for ietf-http-wg@w3.org; Mon, 25 Jun 2012 20:13:43 +0000
Received: from mail51-tx2-R.bigfish.com (10.9.14.254) by TX2EHSOBE005.bigfish.com (10.9.40.25) with Microsoft SMTP Server id 14.1.225.23; Mon, 25 Jun 2012 20:11:37 +0000
Received: from mail51-tx2 (localhost [127.0.0.1])	by mail51-tx2-R.bigfish.com (Postfix) with ESMTP id 728AD802C6	for <ietf-http-wg@w3.org>; Mon, 25 Jun 2012 20:11:37 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC101.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -8
X-BigFish: VS-8(zz9371I542M4015I1447Izz1202hzz8275ch8275dhz2fh2a8h683h839h93fhd25hf0ah)
Received-SPF: pass (mail51-tx2: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC101.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.244.37;KIP:(null);UIP:(null);(null);H:CH1PRD0310HT002.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail51-tx2 (localhost.localdomain [127.0.0.1]) by mail51-tx2 (MessageSwitch) id 134065509623810_16636; Mon, 25 Jun 2012 20:11:36 +0000 (UTC)
Received: from TX2EHSMHS019.bigfish.com (unknown [10.9.14.246])	by mail51-tx2.bigfish.com (Postfix) with ESMTP id EB8ED16004A	for <ietf-http-wg@w3.org>; Mon, 25 Jun 2012 20:11:35 +0000 (UTC)
Received: from TK5EX14HUBC101.redmond.corp.microsoft.com (131.107.125.8) by TX2EHSMHS019.bigfish.com (10.9.99.119) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 25 Jun 2012 20:11:34 +0000
Received: from CH1EHSOBE013.bigfish.com (157.54.51.81) by mail.microsoft.com (157.54.7.153) with Microsoft SMTP Server (TLS) id 14.2.309.3; Mon, 25 Jun 2012 20:13:04 +0000
Received: from mail8-ch1-R.bigfish.com (10.43.68.244) by CH1EHSOBE013.bigfish.com (10.43.70.63) with Microsoft SMTP Server id 14.1.225.23; Mon, 25 Jun 2012 20:10:47 +0000
Received: from mail8-ch1 (localhost [127.0.0.1])	by mail8-ch1-R.bigfish.com (Postfix) with ESMTP id AA0E44000E7	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Mon, 25 Jun 2012 20:10:47 +0000 (UTC)
Received: from mail8-ch1 (localhost.localdomain [127.0.0.1]) by mail8-ch1 (MessageSwitch) id 1340655045107022_16997; Mon, 25 Jun 2012 20:10:45 +0000 (UTC)
Received: from CH1EHSMHS022.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.245])	by mail8-ch1.bigfish.com (Postfix) with ESMTP id 181C6360046; Mon, 25 Jun 2012 20:10:45 +0000 (UTC)
Received: from CH1PRD0310HT002.namprd03.prod.outlook.com (157.56.244.37) by CH1EHSMHS022.bigfish.com (10.43.70.22) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 25 Jun 2012 20:10:44 +0000
Received: from CH1PRD0310MB392.namprd03.prod.outlook.com ([169.254.6.164]) by CH1PRD0310HT002.namprd03.prod.outlook.com ([10.255.137.37]) with mapi id 14.16.0164.004; Mon, 25 Jun 2012 20:12:22 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Patrick McManus <pmcmanus@mozilla.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: AQHNUvs5Vfq5BdMAF0a7zhNSlDLAZZcLYrsQ
Date: Mon, 25 Jun 2012 20:12:22 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346EA78A@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com> <1340646496.10152.113.camel@ds9>
In-Reply-To: <1340646496.10152.113.camel@ds9>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.154]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PRD0310HT002.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MOZILLA.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC101.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC101.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=65.55.88.12; envelope-from=henrikn@microsoft.com; helo=tx2outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MIME_BASE64_BLANKS=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1SjFfK-0008KA-3A 0d365a32842bfb2a96560eaf3b651809
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on   HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346EA78A@CH1PRD0310MB392.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13920
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjFfa-0003MS-6r@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 20:13:58 +0000

UGF0cmljaywNCg0KV2UgdXNlZCB0aGUgZGVmYXVsdCBzdGF0aWMgZmlsZSBjb21wcmVzc2lvbiBp
biBJSVMgLS0gSSBkb24ndCBrbm93IG9mZiB0aGUgdG9wIG9mIG15IGhlYWQgd2hhdCB0aGUgcGFy
YW1ldGVyIHNldHRpbmdzIGFyZSBidXQgSSBjYW4gZmluZCBvdXQuIEFyZSB5b3UgdGhpbmtpbmcg
b2YgZXh0ZXJuYWxpemluZyB0aGUgY29tcHJlc3Npb24gZGljdGlvbmFyeSBhbmQgcmV1c2UgaXQg
YWNyb3NzIHJlc291cmNlcz8gV2hlbiBJIGxvb2tlZCBhdCBjb21wcmVzc2lvbiBtYW55IHllYXJz
IGFnbyB3ZSBkaWQgbG9vayBhdCBleHRlcm5hbCBkaWN0aW9uYXJpZXMgYnV0IGlmIEkgcmVtZW1i
ZXIgY29ycmVjdGx5IGl0IGlzIG9ubHkgaWRlbnRpZmllZCBieSBhIDMyIGJpdCBDUkMgc28gaXQg
aXMgbm90IHZlcnkgdW5pcXVlLiBUaGUgY2hhbGxlbmdlIGhlcmUgaXMgdGhhdCB0aGlzIGVmZmVj
dGl2ZWx5IG1ha2VzIGNvbXByZXNzaW9uIGEgaG9wLWJ5LWhvcCBtZWNoYW5pc20gd2hpY2ggY2Fu
IGhhdmUgYSBtdWNoIGhpZ2hlciBjb3N0IGlmIHlvdSBoYXZlIGludGVybWVkaWFyaWVzIGluIHRo
ZSBjaGFpbi4NCg0KVGhhbmtzLA0KDQpIZW5yaWsNCg0KWzFdIGh0dHA6Ly93d3cuaWlzLm5ldC9D
b25maWdSZWZlcmVuY2Uvc3lzdGVtLndlYlNlcnZlci9odHRwQ29tcHJlc3Npb24NCg0KLS0tLS1P
cmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IFBhdHJpY2sgTWNNYW51cyBbbWFpbHRvOnBtY21h
bnVzQG1vemlsbGEuY29tXSANClNlbnQ6IE1vbmRheSwgSnVuZSAyNSwgMjAxMiAxMDo0OCBBTQ0K
VG86IGlldGYtaHR0cC13Z0B3My5vcmcNClN1YmplY3Q6IFJlOiBQZXJmb3JtYW5jZSBpbXBsaWNh
dGlvbnMgb2YgQnVuZGxpbmcgYW5kIE1pbmlmaWNhdGlvbiBvbiBIVFRQLzEuMQ0KDQpIZW5pcmss
IA0KDQpUaGFua3MgZm9yIHRoZSBibG9nIHBvc3QhIEkndmUgZ290IGEgY291cGxlIHF1ZXN0aW9u
cyB0aGF0IGNhbWUgdG8gbWluZC4uIEknbGwganVzdCBwdXQgdGhlIGd6aXAgb25lIGluIHRoaXMg
cG9zdC4NCg0KIiBvdXIgZGF0YSBzaG93cyB0aGF0IGNvbXByZXNzaW9uIHdvcmtzIGJldHRlciBv
biBhIGJ1bmRsZWQgZG9jdW1lbnQgZHVlIHRvIHRoZSBsYXJnZXIgc2l6ZSBhbmQgaGVuY2UgdGhl
IG9wcG9ydHVuaXR5IGZvciBiZXR0ZXIgY29tcHJlc3Npb24gcmF0aW8uIA0KDQpDb21wcmVzc2lu
ZyA3IEpTIGluZGl2aWR1YWxseSAxNjExNzggYnl0ZXMgQ29tcHJlc3NpbmcgdGhlIG1pbmlmaWVk
IEpTIGJ1bmRsZSAxMzc4MTcgYnl0ZXMNCg0KWy4uIHJlZGFjdGVkIG1vcmUgb3IgbGVzcyB0aGUg
c2FtZSBmb3IgY3NzIC4uXSAiDQoNCndoYXQgYWJvdXQgY29tcHJlc3NpbmcgdGhlIGNvbmNhdCdk
IDcganMgZmlsZXMgYW5kIHRoZXJlZm9yZSBleHRlbmRpbmcgdGhlIGNvbXByZXNzaW9uIGNvbnRl
eHQgYWNyb3NzIHJlc291cmNlIGJvdW5kYXJpZXM/IEFsc28sIHdoYXQgd2FzIHdpbmRvdyBzaXpl
Pw0KDQpTUERZIGFjdHVhbGx5IGRyb3BwZWQgYSBkYXRhLWNvbXByZXNzaW9uIG9wdGlvbiBpbiB0
aGUgdHJhbnNwb3J0IChpbnN0ZWFkIGl0IHVzZXMgcmVzb3VyY2UgbGV2ZWwgY29tcHJlc3Npb24g
YW5kIG1ha2VzIHN1cHBvcnQgb2YgdGhhdCBtYW5kYXRvcnkpLCBidXQgaWYgdGhlcmUgaXMgcmVh
c29uIHRvIHN1Z2dlc3Qgc2lnbmlmaWNhbnRseSBiZXR0ZXIgcmF0ZXMgZG9pbmcgaXQgdGhhdCB3
YXkgcmF0aGVyIHRoYW4gcGVyLXJlc291cmNlIHRoZW4gdGhhdCdzIHByb2JhYmx5IGFuIGludGVy
ZXN0aW5nIHByb3BlcnR5IHRvIG1vdmUgYWxvbmcgYXMgd2UgZGlzY3VzcyBodHRwLzIgKGluZGVw
ZW5kZW50IG9mIHdoZXRoZXIgaXQgaXMgaW1wbGljaXQgaW4gYSBidW5kbGUgb3IgbGF5ZXJlZCBv
biBhcyBwYXJ0IG9mIHRoZSB0cmFuc3BvcnQpLiBZb3UgY291bGQgZXZlbiBpbWFnaW5lIGEgc21h
bGwgYXJyYXkgb2YgY29udGVudC1zcGVjaWZpYyBjb250ZXh0cyAob25lIGZvciBoZWFkZXJzLCBv
bmUgZm9yIGpzLCBvbmUgZm9yIGh0bWwsIHdoYXRldmVyKS4uDQoNCg0KDQoNCg0KDQoNCg0K




From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 15:02: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 52BFC11E808E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 15:02:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.099
X-Spam-Level: 
X-Spam-Status: No, score=-6.099 tagged_above=-999 required=5 tests=[AWL=-0.500, BAYES_00=-2.599, GB_SUMOF=5, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QKD-jVn6IBig for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 15:02:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 989FC11E808C for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 15:02:51 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjHLH-0001EV-0b for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 22:01:07 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <derhoermi@gmx.net>) id 1SjHKv-0000Jz-Om for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 22:00:46 +0000
Received: from mailout-de.gmx.net ([213.165.64.22]) by maggie.w3.org with smtp (Exim 4.72) (envelope-from <derhoermi@gmx.net>) id 1SjHKs-0003Lh-Aq for ietf-http-wg@w3.org; Mon, 25 Jun 2012 22:00:44 +0000
Received: (qmail invoked by alias); 25 Jun 2012 22:00:12 -0000
Received: from dslb-094-223-203-200.pools.arcor-ip.net (EHLO HIVE) [94.223.203.200] by mail.gmx.net (mp016) with SMTP; 26 Jun 2012 00:00:12 +0200
X-Authenticated: #723575
X-Provags-ID: V01U2FsdGVkX195eiw8O295QqJpr065ccORoGphX7cFle1Mkf1Scc 3IiFR2wEUQbpzg
From: Bjoern Hoehrmann <derhoermi@gmx.net>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Date: Tue, 26 Jun 2012 00:00:18 +0200
Message-ID: <4dihu7hp68rq3rh1v9jkflbj3ed47fce8b@hive.bjoern.hoehrmann.de>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com>
X-Mailer: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Y-GMX-Trusted: 0
Received-SPF: pass client-ip=213.165.64.22; envelope-from=derhoermi@gmx.net; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SjHKs-0003Lh-Aq 7e4e4a3bd75fbe1d13c86d29af899a20
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/4dihu7hp68rq3rh1v9jkflbj3ed47fce8b@hive.bjoern.hoehrmann.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13921
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjHLH-0001EV-0b@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 22:01:07 +0000

* Henrik Frystyk Nielsen wrote:
>[1] http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implications-of-bundling-and-minification-on-http.aspx

"We only looked at CSS and JS coming from the same DNS domain (i.e. for
digg.com we looked at anything under *.digg.com." As far as I can tell,
http://digg.com/ does not load any scripts from digg.com, most digg-
specific scripts seem to come from *.diggstatic.com instead. The same
goes for many of the other examples, http://www.bbc.co.uk/ loads from
*.bbcimg.co.uk and *.static.bbci.co.uk, http://www.huffingtonpost.com/
loads from *.huffpost.com (and a single one from *.huffingtonpost.com),
and so on. At least for the BBC I am quite sure this has not changed in
recent weeks, so it seems a different measure was used than the above.

I am not sure why the bundles are several kilobytes bigger than the sum
of the individual sizes, it would seem to take about one byte to conca-
tenate them (e.g., bloomberg.com has "js size (kb)" 408 and "js bundle
size (kb)" 410, which would make for a kilobyte of difference even if
there are rounding problems). If headers were counted, the size should
go down, as the bundle comes with less header overhead.

"In addition to removing white space, minification typically shortens
variable names and other identifiers and removes pieces that are not
used." I do not think changing variable names is "typical" for minifi-
cation. I am not sure what to look at due to the first issue above, but
the minification savings seem unreasonable; as far as comment removal
and white space normalization goes, the sites seem to mostly use mini-
fied scripts already, but they might not try to shorten variable names,
though the referenced blog posting explaining minification also doesn't
really mention that as an optimization. For CSS the results are closer,
but for, say, http://www.bbc.co.uk/ I get more like 13% minification
savings than 26% as in the blog posting (results vary with browsers and
other things, there are, for instance, "conditional comments" that hide
some references to external content from some browsers).

So overall the trend seems right, but this isn't very reproducible. It's
also somewhat disappointing to see that, for instance, digg.com loads an
old version of jQuery, and various jQuery extensions, "jScrollPane",
"AJAX Upload", "In-Field Label", and so on with full comments and unmi-
nified when loading the front page. Last year I wrote a tool that strips
several kilobytes http://bjoern.hoehrmann.de/pngwolf/ off google.com but
I guess collectively we are not quite there where we'd care about that.

(My general impression is that these kinds of optimizations are underde-
veloped because they are quite hard to automate, with HTTP compression
early on there had been many bugs in browsers and intermediaries and
caches in both, there were concerns about drive space costs and CPU con-
sumption, nowadays, to pick the example of PNG optimization, there is a
lack of "cooperation", tools that outperform my `pngwolf` tend to be
scripts that use multiple optimization tools, `pngwolf` selects the best
scanline filters, kzip/pngout has the best Deflate implementation as far
as size is concerned, various tools compete in the area of selecting be-
tween palette images and RGB/A images for losless recompression, there
are tools to optimize Huffman tables that work very good but happen to
be unfree and closed source so I can't link them into `pngwolf` and so
on. And, more importantly, the tools go largely unused. Google's mod_-
pagespeed for instance includes OptiPNG, but runs it at settings that
favour compression throughput over compression ratio, mainly, I suspect,
because amortizing the cost in form of some cache is hard to implement,
with proper cache invalidation and whatever else might be needed. In my
case of `pngwolf`, I was surprised even how trivial it was to come up
with a scanline filter selection that outperforms the only known one,
the one offered in the specification, and how even expensive commercial
tools fail to use even trivial heuristics. Overall, there is a lack of
tools to tell when your site is much slower/bigger/... than necessary,
a problem that starts with HTML and CSS being hard to parse properly.)
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 16:08: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 7C38B11E80C1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 16:08:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.266
X-Spam-Level: 
X-Spam-Status: No, score=-4.266 tagged_above=-999 required=5 tests=[AWL=-1.799, BAYES_00=-2.599, GB_SUMOF=5, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BJKrHJB2naHA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 16:08:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1184A11E808F for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 16:08:09 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjILo-0007Fi-S4 for ietf-http-wg-dist@listhub.w3.org; Mon, 25 Jun 2012 23:05:44 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1SjILE-00079m-UU for ietf-http-wg@listhub.w3.org; Mon, 25 Jun 2012 23:05:08 +0000
Received: from db3ehsobe005.messaging.microsoft.com ([213.199.154.143] helo=db3outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SjIKv-0006CP-Nc for ietf-http-wg@w3.org; Mon, 25 Jun 2012 23:04:53 +0000
Received: from mail59-db3-R.bigfish.com (10.3.81.228) by DB3EHSOBE005.bigfish.com (10.3.84.25) with Microsoft SMTP Server id 14.1.225.23; Mon, 25 Jun 2012 23:02:44 +0000
Received: from mail59-db3 (localhost [127.0.0.1])	by mail59-db3-R.bigfish.com (Postfix) with ESMTP id F06A41C0182	for <ietf-http-wg@w3.org>; Mon, 25 Jun 2012 23:02:43 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC101.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -12
X-BigFish: VS-12(zz98dI9371Ic89bh542Mc1dMzz1202hzz8275bhz2fh2a8h683h839hd25hf0ah)
Received-SPF: pass (mail59-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC101.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.234.5;KIP:(null);UIP:(null);(null);H:SN2PRD0310HT003.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail59-db3 (localhost.localdomain [127.0.0.1]) by mail59-db3 (MessageSwitch) id 1340665361479357_10381; Mon, 25 Jun 2012 23:02:41 +0000 (UTC)
Received: from DB3EHSMHS001.bigfish.com (unknown [10.3.81.227])	by mail59-db3.bigfish.com (Postfix) with ESMTP id 6963B300092	for <ietf-http-wg@w3.org>; Mon, 25 Jun 2012 23:02:41 +0000 (UTC)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS001.bigfish.com (10.3.87.101) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 25 Jun 2012 23:02:39 +0000
Received: from tx2outboundpool.messaging.microsoft.com (157.54.51.112) by mail.microsoft.com (157.54.79.178) with Microsoft SMTP Server (TLS) id 14.2.298.5; Mon, 25 Jun 2012 23:04:07 +0000
Received: from mail120-tx2-R.bigfish.com (10.9.14.240) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 14.1.225.23; Mon, 25 Jun 2012 23:02:27 +0000
Received: from mail120-tx2 (localhost [127.0.0.1])	by mail120-tx2-R.bigfish.com (Postfix) with ESMTP id 157D42E0341	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Mon, 25 Jun 2012 23:02:27 +0000 (UTC)
Received: from mail120-tx2 (localhost.localdomain [127.0.0.1]) by mail120-tx2 (MessageSwitch) id 1340665344407910_11025; Mon, 25 Jun 2012 23:02:24 +0000 (UTC)
Received: from TX2EHSMHS005.bigfish.com (unknown [10.9.14.239])	by mail120-tx2.bigfish.com (Postfix) with ESMTP id 4DDA6120047;	Mon, 25 Jun 2012 23:02:24 +0000 (UTC)
Received: from SN2PRD0310HT003.namprd03.prod.outlook.com (157.56.234.5) by TX2EHSMHS005.bigfish.com (10.9.99.105) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 25 Jun 2012 23:02:19 +0000
Received: from SN2PRD0310MB396.namprd03.prod.outlook.com ([169.254.1.77]) by SN2PRD0310HT003.namprd03.prod.outlook.com ([10.255.112.38]) with mapi id 14.16.0152.000; Mon, 25 Jun 2012 23:03:58 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Bjoern Hoehrmann <derhoermi@gmx.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: Ac1Ql09kO/Rw+g27QoWX3dckc0auawChpjkAAACTD0A=
Date: Mon, 25 Jun 2012 23:03:57 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346F2282@SN2PRD0310MB396.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <4dihu7hp68rq3rh1v9jkflbj3ed47fce8b@hive.bjoern.hoehrmann.de>
In-Reply-To: <4dihu7hp68rq3rh1v9jkflbj3ed47fce8b@hive.bjoern.hoehrmann.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [131.107.192.154]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0310HT003.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMX.NET$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC101.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC101.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.143; envelope-from=henrikn@microsoft.com; helo=db3outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1SjIKv-0006CP-Nc 6019635d41667274480380d87eb26d9f
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on  HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346F2282@SN2PRD0310MB396.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13922
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjILo-0007Fi-S4@frink.w3.org>
Resent-Date: Mon, 25 Jun 2012 23:05:44 +0000

Bjoern,

You are correct regarding the wording of where the scripts were from. What =
I should have said is that we looked at content that was from the same "sit=
e". This was to clarify that we were not trying to bundle scripts from many=
 different sites as this likely would not be practical. The goal was to use=
 a version of bundling and minification that could be applied immediately.

The compressed size only includes the content size, not any HTTP overhead. =
The way we got the data was serving the files through IIS with Fiddler as t=
he client sending two requests: one without accept-encoding and one with ac=
cept-encoding. We then got the size as the content-lengths of the responses=
. That way, we were guaranteed to use the same compression algorithm in all=
 cases.

As for comparing the minification vs. just bundling (concatenation), here i=
s the data if we just concatenate the CSS content from huffingtonpost.com a=
nd then compressed them as one document. The size difference is still notic=
eable (75230 - 69803 =3D 5427 bytes):

Compressing 6 CSS individually:               77495 bytes
Compressing the minified CSS bundle:    69803 bytes
Compression the 6 concatenated files:  75230 bytes

We'll be giving out the raw data in a day or two so that you can have a loo=
k for yourself.

As to your general point, these are relatively high-traffic public sites th=
at clearly have gone through some level of optimization yet still leaves a =
lot of room open for more to be done. While I do agree that tooling support=
 is evolving I don't think it takes away from the larger point that we have=
 to take both protocol and content into consideration when considering perf=
ormance and that there are obvious things that can help a great deal simply=
 using existing infrastructure.

Henrik

-----Original Message-----
From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net]=20
Sent: Monday, June 25, 2012 3:00 PM
To: Henrik Frystyk Nielsen
Cc: HTTP Working Group; Howard Dierking
Subject: Re: Performance implications of Bundling and Minification on HTTP/=
1.1

* Henrik Frystyk Nielsen wrote:
>[1]=20
>http://blogs.msdn.com/b/henrikn/archive/2012/06/17/performance-implicat
>ions-of-bundling-and-minification-on-http.aspx

"We only looked at CSS and JS coming from the same DNS domain (i.e. for dig=
g.com we looked at anything under *.digg.com." As far as I can tell, http:/=
/digg.com/ does not load any scripts from digg.com, most digg- specific scr=
ipts seem to come from *.diggstatic.com instead. The same goes for many of =
the other examples, http://www.bbc.co.uk/ loads from *.bbcimg.co.uk and *.s=
tatic.bbci.co.uk, http://www.huffingtonpost.com/ loads from *.huffpost.com =
(and a single one from *.huffingtonpost.com), and so on. At least for the B=
BC I am quite sure this has not changed in recent weeks, so it seems a diff=
erent measure was used than the above.

I am not sure why the bundles are several kilobytes bigger than the sum of =
the individual sizes, it would seem to take about one byte to conca- tenate=
 them (e.g., bloomberg.com has "js size (kb)" 408 and "js bundle size (kb)"=
 410, which would make for a kilobyte of difference even if there are round=
ing problems). If headers were counted, the size should go down, as the bun=
dle comes with less header overhead.

"In addition to removing white space, minification typically shortens varia=
ble names and other identifiers and removes pieces that are not used." I do=
 not think changing variable names is "typical" for minifi- cation. I am no=
t sure what to look at due to the first issue above, but the minification s=
avings seem unreasonable; as far as comment removal and white space normali=
zation goes, the sites seem to mostly use mini- fied scripts already, but t=
hey might not try to shorten variable names, though the referenced blog pos=
ting explaining minification also doesn't really mention that as an optimiz=
ation. For CSS the results are closer, but for, say, http://www.bbc.co.uk/ =
I get more like 13% minification savings than 26% as in the blog posting (r=
esults vary with browsers and other things, there are, for instance, "condi=
tional comments" that hide some references to external content from some br=
owsers).

So overall the trend seems right, but this isn't very reproducible. It's al=
so somewhat disappointing to see that, for instance, digg.com loads an old =
version of jQuery, and various jQuery extensions, "jScrollPane", "AJAX Uplo=
ad", "In-Field Label", and so on with full comments and unmi- nified when l=
oading the front page. Last year I wrote a tool that strips several kilobyt=
es http://bjoern.hoehrmann.de/pngwolf/ off google.com but I guess collectiv=
ely we are not quite there where we'd care about that.

(My general impression is that these kinds of optimizations are underde- ve=
loped because they are quite hard to automate, with HTTP compression early =
on there had been many bugs in browsers and intermediaries and caches in bo=
th, there were concerns about drive space costs and CPU con- sumption, nowa=
days, to pick the example of PNG optimization, there is a lack of "cooperat=
ion", tools that outperform my `pngwolf` tend to be scripts that use multip=
le optimization tools, `pngwolf` selects the best scanline filters, kzip/pn=
gout has the best Deflate implementation as far as size is concerned, vario=
us tools compete in the area of selecting be- tween palette images and RGB/=
A images for losless recompression, there are tools to optimize Huffman tab=
les that work very good but happen to be unfree and closed source so I can'=
t link them into `pngwolf` and so on. And, more importantly, the tools go l=
argely unused. Google's mod_- pagespeed for instance includes OptiPNG, but =
runs it at settings that favour compression throughput over compression rat=
io, mainly, I suspect, because amortizing the cost in form of some cache is=
 hard to implement, with proper cache invalidation and whatever else might =
be needed. In my case of `pngwolf`, I was surprised even how trivial it was=
 to come up with a scanline filter selection that outperforms the only know=
n one, the one offered in the specification, and how even expensive commerc=
ial tools fail to use even trivial heuristics. Overall, there is a lack of =
tools to tell when your site is much slower/bigger/... than necessary, a pr=
oblem that starts with HTML and CSS being hard to parse properly.)
--
Bj=F6rn H=F6hrmann =B7 mailto:bjoern@hoehrmann.de =B7 http://bjoern.hoehrma=
nn.de Am Badedeich 7 =B7 Telefon: +49(0)160/4415681 =B7 http://www.bjoernsw=
orld.de
25899 Dageb=FCll =B7 PGP Pub. KeyID: 0xA4357E78 =B7 http://www.websitedev.d=
e/=20







From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 17:41: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 767C121F8453 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 17:41:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.283
X-Spam-Level: 
X-Spam-Status: No, score=-10.283 tagged_above=-999 required=5 tests=[AWL=0.316, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W4Ogs0IN4oD8 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 17:41:49 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9070D21F8452 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 17:41:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjJp3-0002ap-U2 for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 00:40:01 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SjJol-0002Yq-FY for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 00:39:43 +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 1SjJoi-0000kH-Nz for ietf-http-wg@w3.org; Tue, 26 Jun 2012 00:39:42 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id B3BA222E25B; Mon, 25 Jun 2012 20:39:17 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE80BB7.1040605@gmx.de>
Date: Tue, 26 Jun 2012 10:39:14 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <629F79DC-E28B-491E-8D33-C229A9A68FFA@mnot.net>
References: <FC7937E2-B3C2-43A1-B5FF-322FB0CD10E7@mnot.net> <4FE80BB7.1040605@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SjJoi-0000kH-Nz 83af76328aa006b7b128178eadf5ce25
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Advice to define where new status codes can be generated
Archived-At: <http://www.w3.org/mid/629F79DC-E28B-491E-8D33-C229A9A68FFA@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13923
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjJp3-0002ap-U2@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 00:40:01 +0000

On 25/06/2012, at 4:56 PM, Julian Reschke wrote:

> On 2012-06-25 05:44, Mark Nottingham wrote:
>> Just a quick thought: in =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-se=
mantics.html#considerations.for.new.status.codes>, we talk about =
guidelines for new status codes. It might be worth advising people to =
explicitly say whether intermediaries can generate the status code, in =
addition to (or instead of) the origin.
>>=20
>> Make sense?
>=20
> Probably yes. Is there a default though?


Probably "unspecified." Which implies "both."

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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 20:36: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 4A7C421F847E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 20:36:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.288
X-Spam-Level: 
X-Spam-Status: No, score=-10.288 tagged_above=-999 required=5 tests=[AWL=0.311, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VPpk1f0Xt7aC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 20:36:57 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 5C85521F8452 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 20:36:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjMXv-00016m-Bh for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 03:34:31 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SjMXZ-000137-Tb for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 03:34:09 +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 1SjMXU-0006Dv-1u for ietf-http-wg@w3.org; Tue, 26 Jun 2012 03:34:05 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 81F1722E1EB; Mon, 25 Jun 2012 23:33:40 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com>
Date: Tue, 26 Jun 2012 13:33:37 +1000
Cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, =?utf-8?Q?William_Chan_=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com> <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com>
To: Roberto Peon <grmocg@gmail.com>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SjMXU-0006Dv-1u 3454267c03d4bef1d57fc161a27ba8e7
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13924
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjMXv-00016m-Bh@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 03:34:31 +0000

On 23/06/2012, at 6:08 AM, Roberto Peon wrote:

> I'd argue another point.
> The amount of work necessary to optimize site performance for HTTP/1.1 =
today is large. The amount of knowledge necessary to do it properly is =
also large.
> This is not the way it should be!
>=20
> The protocol should make it easier to do things right, and it should =
help in the (extremely frequent and likely) case that the site designer =
gets it wrong in little ways.

This is definitely an area that should be discussed. I've heard a few =
people express skepticism about multiplexing overall, because it =
requires the server to prioritise what's in the pipe, which in turn =
requires greater knowledge (and probably a bucketload of heuristics).

Right now those heuristics are applied to how browsers make requests, =
but at least the data is applied in the same place it's most usefully =
sourced, and of course there are fewer browser implementations than =
there are server deployments (which is potentially the level that this =
kind of tuning would need to take place for multiplexing).

Discuss :)

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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 21:25: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 6773B21F8518 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 21:25:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.426
X-Spam-Level: 
X-Spam-Status: No, score=-9.426 tagged_above=-999 required=5 tests=[AWL=0.250, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pMWAIOcKc4D1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 21:25:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 4003A21F8448 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 21:25:57 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjNKd-0008BM-UB for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 04:24:52 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <willchan@google.com>) id 1SjNGY-000844-CP for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 04:20:38 +0000
Received: from mail-gh0-f171.google.com ([209.85.160.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1SjNGT-0000qL-3u for ietf-http-wg@w3.org; Tue, 26 Jun 2012 04:20:35 +0000
Received: by ghy10 with SMTP id 10so3619292ghy.2 for <ietf-http-wg@w3.org>; Mon, 25 Jun 2012 21:20:07 -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=OppEUOcd8yuGcz2jndhpxAQfZZxeVhd4gpm6o+TQBIg=; b=VJ0qi6yz+5527O00hke+UIyxUavuh2NIpB/IgcORJDD3xyHGtRfwYXB730emzwL8M3 +89V6XQttUCWESiX76M3gcr+HXgw5UpiVBmBrQkJ2C2HLdHOHX5uUt6cR9Kml96jevq/ Pnzwi9KZagONtbUL2Ew0WJt6zwgbR/VgGKoTm5i6e2z/HOLfnHHi2NPmrDX+HFqubUZC /kn4VeBZ2NgGxjEsiG4GURDMRe3N3yX9NBQL5+4RtNyM4NoqOKLYXerKtY6VKA28Uog2 o75lj2xsza6U4ZpQbl3nQyJClvCqi/w+ph/lasPSgvAGxI2ugbK3BgCKwE2g9bv54zj8 rBmA==
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=OppEUOcd8yuGcz2jndhpxAQfZZxeVhd4gpm6o+TQBIg=; b=V6I67PSGjWklKqqkeBJF6ciPiKG8lZH/hEldVGNdJAstlaufrckmDYF2JUJ1qg6ZJk mQHGTRt3Ph6HRrr05re7IM/efjbYIFCPMlpD3xnyg2uE/Sbatu5eqe4qzJhDoLx5GjJA XXXYYBooq0NNylxaTj4MVQASLlNWgPEenuT5uiRtOxbGodb49y+K2S9prU5KLxvbqUbg wmz4hDX8CUABOoIoTKsRZjZVig7AI5oXJ9Z5HCK+9aJGUBaqU5GUqy3LtGSTMiByZolK hT8D+kT1O6SiYq+EDsBZYxGyJQs4xntq4eGpexKUQXNfH8mlZIZEI4cd5/vr3lH5jgFx RO+g==
Received: by 10.50.153.161 with SMTP id vh1mr503564igb.3.1340684407293; Mon, 25 Jun 2012 21:20:07 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.50.153.161 with SMTP id vh1mr503557igb.3.1340684407170; Mon, 25 Jun 2012 21:20:07 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.231.24.198 with HTTP; Mon, 25 Jun 2012 21:20:06 -0700 (PDT)
In-Reply-To: <4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com> <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com> <4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net>
Date: Mon, 25 Jun 2012 21:20:06 -0700
X-Google-Sender-Auth: 3npJe99IuF9cKtCZ-nwj6JyRtcU
Message-ID: <CAA4WUYjeTot5AQy7d6puEGG3tQG9rqHODM7qBmYWwu2X3RUGEA@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Mark Nottingham <mnot@mnot.net>
Cc: Roberto Peon <grmocg@gmail.com>, Henrik Frystyk Nielsen <henrikn@microsoft.com>,  HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Content-Type: multipart/alternative; boundary=e89a8f3ba69dd8681204c358690d
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQkrfWFaYk3efVPKvQZ4fckICEzi8448S3YibBAe9ZSMp8aVoo8r3O78If5IRas8S6m0u9pgjXgRl1RCJLsw73s9Xf4Eu50NOF/iclEEXmy/nJWtEAEhtp63HeRGr4yKQeQ8Wuu4uDPFl6IPdbN/JOZOKzpqlrDRITJ029PvzV81cUVMVdYMQY+beq+aAaxy758yxAv0
Received-SPF: pass client-ip=209.85.160.171; envelope-from=willchan@google.com; helo=mail-gh0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SjNGT-0000qL-3u bfa347f716b7df538b27065df6af88f1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/CAA4WUYjeTot5AQy7d6puEGG3tQG9rqHODM7qBmYWwu2X3RUGEA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13925
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjNKd-0008BM-UB@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 04:24:51 +0000

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

On Mon, Jun 25, 2012 at 8:33 PM, Mark Nottingham <mnot@mnot.net> wrote:

>
> On 23/06/2012, at 6:08 AM, Roberto Peon wrote:
>
> > I'd argue another point.
> > The amount of work necessary to optimize site performance for HTTP/1.1
> today is large. The amount of knowledge necessary to do it properly is also
> large.
> > This is not the way it should be!
>

+1


> >
> > The protocol should make it easier to do things right, and it should
> help in the (extremely frequent and likely) case that the site designer
> gets it wrong in little ways.
>
> This is definitely an area that should be discussed. I've heard a few
> people express skepticism about multiplexing overall, because it requires
> the server to prioritise what's in the pipe, which in turn requires greater
> knowledge (and probably a bucketload of heuristics).


> Right now those heuristics are applied to how browsers make requests, but
> at least the data is applied in the same place it's most usefully sourced,
> and of course there are fewer browser implementations than there are server
> deployments (which is potentially the level that this kind of tuning would
> need to take place for multiplexing).
>
> Discuss :)
>

I'm a bit surprised people express much skepticism. Basic heuristics can
get you a long way. For example, simply prioritizing html/js/css over other
resources like images does a lot. Remember that the majority of
implementations, including Chromium's and Google's, are still in the early
stages of optimization.


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

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

<div style=3D"font-family: arial, helvetica, sans-serif"><font size=3D"2">O=
n Mon, Jun 25, 2012 at 8:33 PM, Mark Nottingham <span dir=3D"ltr">&lt;<a hr=
ef=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" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"im"=
><br>
On 23/06/2012, at 6:08 AM, Roberto Peon wrote:<br>
<br>
&gt; I&#39;d argue another point.<br>
&gt; The amount of work necessary to optimize site performance for HTTP/1.1=
 today is large. The amount of knowledge necessary to do it properly is als=
o large.<br>
&gt; This is not the way it should be!<br></div></blockquote><div><br></div=
><div>+1</div><div>=A0</div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=3D"im=
">
&gt;<br>
&gt; The protocol should make it easier to do things right, and it should h=
elp in the (extremely frequent and likely) case that the site designer gets=
 it wrong in little ways.<br>
<br>
</div>This is definitely an area that should be discussed. I&#39;ve heard a=
 few people express skepticism about multiplexing overall, because it requi=
res the server to prioritise what&#39;s in the pipe, which in turn requires=
 greater knowledge (and probably a bucketload of heuristics).</blockquote>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<br>
Right now those heuristics are applied to how browsers make requests, but a=
t least the data is applied in the same place it&#39;s most usefully source=
d, and of course there are fewer browser implementations than there are ser=
ver deployments (which is potentially the level that this kind of tuning wo=
uld need to take place for multiplexing).<br>

<br>
Discuss :)<br></blockquote><div><br></div><div><div>I&#39;m a bit surprised=
 people express much skepticism. Basic heuristics can get you a long way. F=
or example, simply prioritizing html/js/css over other resources like image=
s does a lot. Remember that the majority of implementations, including Chro=
mium&#39;s and Google&#39;s, are still in the early stages of optimization.=
</div>
</div><div><br></div><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"><br>
--<br>
Mark Nottingham =A0 <a href=3D"http://www.mnot.net/" target=3D"_blank">http=
://www.mnot.net/</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></font></div>

--e89a8f3ba69dd8681204c358690d--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 22:04: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 C3DDD21F8557 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 22:04:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.345
X-Spam-Level: 
X-Spam-Status: No, score=-5.345 tagged_above=-999 required=5 tests=[AWL=-2.122, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, MIME_BASE64_TEXT=1.753, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HKE1LCbtsdO6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 22:04:37 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8738921F8530 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 22:04:36 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjNvx-0001JE-Ck for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 05:03:25 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1SjNvX-0001FI-Jx for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 05:02:59 +0000
Received: from am1ehsobe002.messaging.microsoft.com ([213.199.154.205] helo=am1outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SjNvV-0000PE-1A for ietf-http-wg@w3.org; Tue, 26 Jun 2012 05:02:58 +0000
Received: from mail109-am1-R.bigfish.com (10.3.201.237) by AM1EHSOBE002.bigfish.com (10.3.204.22) with Microsoft SMTP Server id 14.1.225.23; Tue, 26 Jun 2012 05:00:49 +0000
Received: from mail109-am1 (localhost [127.0.0.1])	by mail109-am1-R.bigfish.com (Postfix) with ESMTP id 2DE673A032B	for <ietf-http-wg@w3.org>; Tue, 26 Jun 2012 05:00:49 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC101.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -9
X-BigFish: VS-9(zzbb2dI98dI9371Ic89bh542M1432Izz1202hzz8275chz2fh2a8h683h839h941hd25hf0ah)
Received-SPF: pass (mail109-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC101.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.234.5;KIP:(null);UIP:(null);(null);H:SN2PRD0310HT003.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail109-am1 (localhost.localdomain [127.0.0.1]) by mail109-am1 (MessageSwitch) id 1340686847125330_29484; Tue, 26 Jun 2012 05:00:47 +0000 (UTC)
Received: from AM1EHSMHS001.bigfish.com (unknown [10.3.201.240])	by mail109-am1.bigfish.com (Postfix) with ESMTP id 1328E40004A	for <ietf-http-wg@w3.org>; Tue, 26 Jun 2012 05:00:47 +0000 (UTC)
Received: from TK5EX14HUBC101.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS001.bigfish.com (10.3.207.101) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 26 Jun 2012 05:00:45 +0000
Received: from va3outboundpool.messaging.microsoft.com (157.54.51.81) by mail.microsoft.com (157.54.7.153) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 26 Jun 2012 05:02:22 +0000
Received: from mail151-va3-R.bigfish.com (10.7.14.240) by VA3EHSOBE007.bigfish.com (10.7.40.11) with Microsoft SMTP Server id 14.1.225.23; Tue, 26 Jun 2012 05:00:41 +0000
Received: from mail151-va3 (localhost [127.0.0.1])	by mail151-va3-R.bigfish.com (Postfix) with ESMTP id 545AD3A0251	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Tue, 26 Jun 2012 05:00:41 +0000 (UTC)
Received: from mail151-va3 (localhost.localdomain [127.0.0.1]) by mail151-va3 (MessageSwitch) id 1340686839165661_9076; Tue, 26 Jun 2012 05:00:39 +0000 (UTC)
Received: from VA3EHSMHS009.bigfish.com (unknown [10.7.14.239])	by mail151-va3.bigfish.com (Postfix) with ESMTP id 2315C200C4;	Tue, 26 Jun 2012 05:00:39 +0000 (UTC)
Received: from SN2PRD0310HT003.namprd03.prod.outlook.com (157.56.234.5) by VA3EHSMHS009.bigfish.com (10.7.99.19) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 26 Jun 2012 05:00:39 +0000
Received: from SN2PRD0310MB396.namprd03.prod.outlook.com ([169.254.1.77]) by SN2PRD0310HT003.namprd03.prod.outlook.com ([10.255.112.38]) with mapi id 14.16.0152.000; Tue, 26 Jun 2012 05:02:17 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Mark Nottingham <mnot@mnot.net>, Roberto Peon <grmocg@gmail.com>
CC: =?gb2312?B?V2lsbGlhbSBDaGFuICizwtbHsv0p?= <willchan@chromium.org>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: Ac1Ql09kO/Rw+g27QoWX3dckc0auawADcEUAAAAMGyAAA2S0gACmaTuAAAFel2A=
Date: Tue, 26 Jun 2012 05:02:17 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346F740B@SN2PRD0310MB396.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com> <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com> <4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net>
In-Reply-To: <4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [24.16.154.150]
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0310HT003.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MNOT.NET$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%GMAIL.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%CHROMIUM.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC101.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC101.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.205; envelope-from=henrikn@microsoft.com; helo=am1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MIME_BASE64_BLANKS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1SjNvV-0000PE-1A 4ba00ea7012b8b95ca9a1f89c70edf44
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on  HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346F740B@SN2PRD0310MB396.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13926
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjNvx-0001JE-Ck@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 05:03:25 +0000

SSBkbyBhZ3JlZSB0aGF0IHRoZXJlIGFyZSBzZXJpb3VzIHF1ZXN0aW9ucyBhcyB0byB3aGF0IGV4
YWN0bHkgbXVsdGlwbGV4aW5nIGNhbiBhbmQgY2Fubm90IHNvbHZlLiBUaGUgcHVycG9zZSBvZiBt
dWx0aXBsZXhpbmcgbXVsdGlwbGUgc3ViLXN0cmVhbXMgb3ZlciBhIHNpbmdsZSByZWxpYWJsZSBz
dHJlYW0gaXMgdG8gZ2V0IGEgaGlnaGVyIGRlZ3JlZSBvZiByZXNwb25zaXZlbmVzcyBvZiBlYWNo
IG9mIHRoZSBpbmRpdmlkdWFsIHN1Yi1zdHJlYW1zLiBUaGF0IGlzLCB0aGUgcHJlbWlzZSBpcyB0
aGF0IGJ5IGludGVybGVhdmluZyB0aGUgc3ViLXN0cmVhbXMsIGl0IGlzIHBvc3NpYmxlIHRvIG1h
a2UgcHJvZ3Jlc3Mgb24gZWFjaCBvZiB0aGUgc3RyZWFtcyBpbmRpdmlkdWFsbHkuIEhvd2V2ZXIs
IHRoaXMgbmVjZXNzYXJpbHkgcmVxdWlyZXMgdGhhdCBlYWNoIHN1Yi1zdHJlYW0gZ2V0cyBhIHJl
bGF0aXZlbHkgc21hbGwgd2luZG93IGluIHdoaWNoIHRvIHRyYW5zbWl0IGRhdGEuIElmIHRoaXMg
d2luZG93IGdldHMgdG9vIGxhcmdlIHRoZW4gb25seSB0aGUgYWN0aXZlIHN1Yi1zdHJlYW0gd2ls
bCBtYWtlIHByb2dyZXNzIGFuZCB0aGUgb3RoZXIgc3ViLXN0cmVhbXMgd2lsbCBnZXQgYmxvY2tl
ZC4gR2V0dGluZyB0aGUgd2luZG93IHNpemUgYW5kIGhlbmNlIHRoZSBkZWdyZWUgb2YgcmVzcG9u
c2l2ZW5lc3MgcmlnaHQgd2l0aG91dCBwZW5hbGl6aW5nIHRocm91Z2hwdXQgc2xvd2luZyBkb3du
IGFsbCB0aGUgc3ViLXN0cmVhbXMgcmVxdWlyZXMgYSBmYWlyIGFtb3VudCBvZiBpbmZvcm1hdGlv
biBhYm91dCBuZXR3b3JrIGNvbmRpdGlvbnMsIHRoZSByZWxhdGl2ZSBpbXBvcnRhbmNlIG9mIHRo
ZSBzdWItc3RyZWFtcywgYW5kIHdoYXQgZ2l2ZXMgdGhlIHVzZXIgdGhlIGJlc3QgZXhwZXJpZW5j
ZSBmb3IgdGhlIGdpdmVuIGRhdGEuIE5vdCB0byBtZW50aW9uIHRoYXQgdGhpcyBoYXMgdG8gaGFw
cGVuIGJldHdlZW4gdHdvIGFyYml0cmFyeSBpbXBsZW1lbnRhdGlvbnMuDQoNClRoZSBhcmd1bWVu
dCB0aGF0IHRoZSBwcm90b2NvbCBtYWdpY2FsbHkgY2FuIHNvbHZlIHRoaXMgcHJvYmxlbSBmb3Ig
YW55IGNvbnRlbnQgSSBzaW1wbHkgZG9uJ3QgdGhpbmsgaG9sZHMgdHJ1ZSBzbyB0aGUgcXVlc3Rp
b24gdGhlbiBiZWNvbWVzIHdoZXRoZXIgYSBtb3JlIGNvbXBsZXggcHJvdG9jb2wgaW5oZXJlbnRs
eSB3aWxsIG1ha2UgaXQgZWFzaWVyIHRvIGdldCB0aGUgYmVoYXZpb3IgcmlnaHQgZm9yIGFueSBw
YXJ0aWN1bGFyIGNvbnRlbnQuIEkgYW0gbm90IHNheWluZyB0aGF0IHRoaXMgaXMgYW4gaW1wb3Nz
aWJsZSB0YXNrIGJ1dCBJIHRoaW5rIGl0IGlzIGZhaXIgdG8gc2F5IHRoYXQgdGhpcyByZW1haW5z
IHRvIGJlIHNlZW47IGFuZCBhbHNvIHdoZXRoZXIgaXQgaXMgdG8gYSBkZWdyZWUgdGhhdCB0cnVs
eSBtYWtlcyBpdCB3b3J0aHdoaWxlLg0KDQpBdCB0aGUgc2FtZSB0aW1lIEkgdGhpbmsgaXQgaXMg
cmVhc29uYWJsZSB0byBwb2ludCBvdXQgdGhhdCB0aGUgdXNlIG9mIG9wdGltaXphdGlvbnMgc3Vj
aCBhcyBidW5kbGluZywgbWluaWZpY2F0aW9uLCBhbmQgY29tcHJlc3Npb24gYXJlIGV2b2x2aW5n
IGFuZCB0aGV5IGNhbiBoYXZlIGFzIGJpZyBpZiBub3QgYmlnZ2VyIGltcGFjdCBvbiB0aGUgdXNl
ciBleHBlcmllbmNlIHRoYW4gYW55dGhpbmcgd2UgY2FuIGRvIGF0IHRoZSBwcm90b2NvbCBsZXZl
bC4gSWYgdGhlcmUgYXJlIHRoaW5ncyB3ZSBjYW4gZG8gdG8gaGVscCB0aGVzZSBvcHRpbWl6YXRp
b25zIHdvcmsgYmV0dGVyIGluIHByYWN0aWNlIHRoZW4gdGhhdCB3b3VsZCBiZSBncmVhdC4NCg0K
Um9iZXJ0byBtZW50aW9ucyB0aGF0IHRoZXJlIGFyZSBsb3RzIG9mIGNoYWxsZW5nZXMgZG9pbmcg
dGhpcyB0b2RheSAtLSBjb3VsZCB3ZSBnZXQgdGhlc2Ugb24gdGhlIHRhYmxlIGFuZCBxdWFudGlm
eSB0aGVtPw0KDQpIZW5yaWsNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IE1h
cmsgTm90dGluZ2hhbSBbbWFpbHRvOm1ub3RAbW5vdC5uZXRdIA0KU2VudDogTW9uZGF5LCBKdW5l
IDI1LCAyMDEyIDIwOjM0DQpUbzogUm9iZXJ0byBQZW9uDQpDYzogSGVucmlrIEZyeXN0eWsgTmll
bHNlbjsgV2lsbGlhbSBDaGFuICizwtbHsv0pOyBIVFRQIFdvcmtpbmcgR3JvdXA7IEhvd2FyZCBE
aWVya2luZw0KU3ViamVjdDogUmU6IFBlcmZvcm1hbmNlIGltcGxpY2F0aW9ucyBvZiBCdW5kbGlu
ZyBhbmQgTWluaWZpY2F0aW9uIG9uIEhUVFAvMS4xDQoNCg0KT24gMjMvMDYvMjAxMiwgYXQgNjow
OCBBTSwgUm9iZXJ0byBQZW9uIHdyb3RlOg0KDQo+IEknZCBhcmd1ZSBhbm90aGVyIHBvaW50Lg0K
PiBUaGUgYW1vdW50IG9mIHdvcmsgbmVjZXNzYXJ5IHRvIG9wdGltaXplIHNpdGUgcGVyZm9ybWFu
Y2UgZm9yIEhUVFAvMS4xIHRvZGF5IGlzIGxhcmdlLiBUaGUgYW1vdW50IG9mIGtub3dsZWRnZSBu
ZWNlc3NhcnkgdG8gZG8gaXQgcHJvcGVybHkgaXMgYWxzbyBsYXJnZS4NCj4gVGhpcyBpcyBub3Qg
dGhlIHdheSBpdCBzaG91bGQgYmUhDQo+IA0KPiBUaGUgcHJvdG9jb2wgc2hvdWxkIG1ha2UgaXQg
ZWFzaWVyIHRvIGRvIHRoaW5ncyByaWdodCwgYW5kIGl0IHNob3VsZCBoZWxwIGluIHRoZSAoZXh0
cmVtZWx5IGZyZXF1ZW50IGFuZCBsaWtlbHkpIGNhc2UgdGhhdCB0aGUgc2l0ZSBkZXNpZ25lciBn
ZXRzIGl0IHdyb25nIGluIGxpdHRsZSB3YXlzLg0KDQpUaGlzIGlzIGRlZmluaXRlbHkgYW4gYXJl
YSB0aGF0IHNob3VsZCBiZSBkaXNjdXNzZWQuIEkndmUgaGVhcmQgYSBmZXcgcGVvcGxlIGV4cHJl
c3Mgc2tlcHRpY2lzbSBhYm91dCBtdWx0aXBsZXhpbmcgb3ZlcmFsbCwgYmVjYXVzZSBpdCByZXF1
aXJlcyB0aGUgc2VydmVyIHRvIHByaW9yaXRpc2Ugd2hhdCdzIGluIHRoZSBwaXBlLCB3aGljaCBp
biB0dXJuIHJlcXVpcmVzIGdyZWF0ZXIga25vd2xlZGdlIChhbmQgcHJvYmFibHkgYSBidWNrZXRs
b2FkIG9mIGhldXJpc3RpY3MpLg0KDQpSaWdodCBub3cgdGhvc2UgaGV1cmlzdGljcyBhcmUgYXBw
bGllZCB0byBob3cgYnJvd3NlcnMgbWFrZSByZXF1ZXN0cywgYnV0IGF0IGxlYXN0IHRoZSBkYXRh
IGlzIGFwcGxpZWQgaW4gdGhlIHNhbWUgcGxhY2UgaXQncyBtb3N0IHVzZWZ1bGx5IHNvdXJjZWQs
IGFuZCBvZiBjb3Vyc2UgdGhlcmUgYXJlIGZld2VyIGJyb3dzZXIgaW1wbGVtZW50YXRpb25zIHRo
YW4gdGhlcmUgYXJlIHNlcnZlciBkZXBsb3ltZW50cyAod2hpY2ggaXMgcG90ZW50aWFsbHkgdGhl
IGxldmVsIHRoYXQgdGhpcyBraW5kIG9mIHR1bmluZyB3b3VsZCBuZWVkIHRvIHRha2UgcGxhY2Ug
Zm9yIG11bHRpcGxleGluZykuDQoNCkRpc2N1c3MgOikNCg0KLS0NCk1hcmsgTm90dGluZ2hhbSAg
IGh0dHA6Ly93d3cubW5vdC5uZXQvDQoNCg0KDQoNCg0KDQo=




From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 22:31: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 CADF821F8501 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 22:31: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FdZmyreIO3Lf for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 22:31:30 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id B710521F84FF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 22:31:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjOMY-0006nx-CB for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 05:30:54 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <robert@mattson.com.au>) id 1SjOM6-0006kH-S1 for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 05:30:26 +0000
Received: from ppp154-145.static.internode.on.net ([150.101.154.145] helo=www.connectedis.com.au) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <robert@mattson.com.au>) id 1SjOM3-0001Fk-Gn for ietf-http-wg@w3.org; Tue, 26 Jun 2012 05:30:25 +0000
Received: by www.connectedis.com.au (Postfix, from userid 1000) id 8153B10458E; Tue, 26 Jun 2012 15:29:57 +1000 (EST)
Received: from localhost (localhost [127.0.0.1]) by www.connectedis.com.au (Postfix) with ESMTP id 734CD10458D; Tue, 26 Jun 2012 15:29:57 +1000 (EST)
Date: Tue, 26 Jun 2012 15:29:57 +1000 (EST)
From: Robert Mattson <robert@mattson.com.au>
X-X-Sender: robert@www.connectedis.com.au
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
cc: Mark Nottingham <mnot@mnot.net>,  =?GB2312?Q?William_Chan_=28=B3=C2=D6=C7=B2=FD=29?= <willchan@chromium.org>,  ietf-http-wg@w3.org
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF7346F740B@SN2PRD0310MB396.namprd03.prod.outlook.com>
Message-ID: <alpine.LNX.2.00.1206261511470.12373@www.connectedis.com.au>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com> <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com> <4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net> <3605BA99C081B54EA9B65B3E33316AF7346F740B@SN2PRD0310MB396.namprd03.prod.outlook.com>
User-Agent: Alpine 2.00 (LNX 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-458612970-1340688597=:12373"
Received-SPF: none client-ip=150.101.154.145; envelope-from=robert@mattson.com.au; helo=www.connectedis.com.au
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: maggie.w3.org 1SjOM3-0001Fk-Gn 1f1a619f99bba19c91187eb281232721
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on   HTTP/1.1
Archived-At: <http://www.w3.org/mid/alpine.LNX.2.00.1206261511470.12373@www.connectedis.com.au>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13927
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjOMY-0006nx-CB@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 05:30:54 +0000

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-458612970-1340688597=:12373
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 8BIT

Hi Henrik,

I wanted to mention that I've done some simulation with approximately 200
web pages over symmetric and asymmetric networks using response
multiplexing with server side and client side order prioritisation.

This work may be relevant in the deliberations mentioned below.

The experiments and results are available in my academic thesis and begin
on page 168 of
http://www.mattson.com.au/robert/fulltext/MattsonPhdThesis.pdf

or

http://www.mattson.com.au/robert/fulltext/MattsonPhdThesis/

Sincerely,
Rob Mattson, MACS (CT), MIEEE


On Tue, 26 Jun 2012, Henrik Frystyk Nielsen wrote:

> I do agree that there are serious questions as to what exactly multiplexing can and cannot solve. The purpose of multiplexing multiple sub-streams over a single reliable stream is to get a higher degree of responsiveness of each of the individual sub-streams. That is, the premise is that by interleaving the sub-streams, it is possible to make progress on each of the streams individually. However, this necessarily requires that each sub-stream gets a relatively small window in which to transmit data. If this window gets too large then only the active sub-stream will make progress and the other sub-streams will get blocked. Getting the window size and hence the degree of responsiveness right without penalizing throughput slowing down all the sub-streams requires a fair amount of information about network conditions, the relative importance of the sub-streams, and what gives the user the best experience for the given data. Not to mention that this has to happen between two arb
 itrary implementations.
>
> The argument that the protocol magically can solve this problem for any content I simply don't think holds true so the question then becomes whether a more complex protocol inherently will make it easier to get the behavior right for any particular content. I am not saying that this is an impossible task but I think it is fair to say that this remains to be seen; and also whether it is to a degree that truly makes it worthwhile.
>
> At the same time I think it is reasonable to point out that the use of optimizations such as bundling, minification, and compression are evolving and they can have as big if not bigger impact on the user experience than anything we can do at the protocol level. If there are things we can do to help these optimizations work better in practice then that would be great.
>
> Roberto mentions that there are lots of challenges doing this today -- could we get these on the table and quantify them?
>
> Henrik
>
> -----Original Message-----
> From: Mark Nottingham [mailto:mnot@mnot.net]
> Sent: Monday, June 25, 2012 20:34
> To: Roberto Peon
> Cc: Henrik Frystyk Nielsen; William Chan (???); HTTP Working Group; Howard Dierking
> Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
>
>
> On 23/06/2012, at 6:08 AM, Roberto Peon wrote:
>
>> I'd argue another point.
>> The amount of work necessary to optimize site performance for HTTP/1.1 today is large. The amount of knowledge necessary to do it properly is also large.
>> This is not the way it should be!
>>
>> The protocol should make it easier to do things right, and it should help in the (extremely frequent and likely) case that the site designer gets it wrong in little ways.
>
> This is definitely an area that should be discussed. I've heard a few people express skepticism about multiplexing overall, because it requires the server to prioritise what's in the pipe, which in turn requires greater knowledge (and probably a bucketload of heuristics).
>
> Right now those heuristics are applied to how browsers make requests, but at least the data is applied in the same place it's most usefully sourced, and of course there are fewer browser implementations than there are server deployments (which is potentially the level that this kind of tuning would need to take place for multiplexing).
>
> Discuss :)
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>
>
>
--8323328-458612970-1340688597=:12373--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 22:39: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 2992321F852C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 22:39:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.284
X-Spam-Level: 
X-Spam-Status: No, score=-4.284 tagged_above=-999 required=5 tests=[AWL=-1.061, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, MIME_BASE64_TEXT=1.753, MIME_CHARSET_FARAWAY=2.45, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uCoVMfRllQ00 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 22:39:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DA90921F8442 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 22:39:20 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjOSr-00070r-8W for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 05:37:25 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1SjOSd-0006zq-Kh for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 05:37:11 +0000
Received: from tx2ehsobe004.messaging.microsoft.com ([65.55.88.14] helo=tx2outboundpool.messaging.microsoft.com) by maggie.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SjOSa-0001UQ-Gz for ietf-http-wg@w3.org; Tue, 26 Jun 2012 05:37:10 +0000
Received: from mail70-tx2-R.bigfish.com (10.9.14.244) by TX2EHSOBE001.bigfish.com (10.9.40.21) with Microsoft SMTP Server id 14.1.225.23; Tue, 26 Jun 2012 05:35:01 +0000
Received: from mail70-tx2 (localhost [127.0.0.1])	by mail70-tx2-R.bigfish.com (Postfix) with ESMTP id 6CAD14001C1	for <ietf-http-wg@w3.org>; Tue, 26 Jun 2012 05:35:01 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14HUBC105.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -12
X-BigFish: VS-12(zzbb2dI98dI9371Ic89bh542M1432Izz1202hzz8275ch8275dh5eeeKz2fh2a8h683h839h941hd25hf0ah)
Received-SPF: pass (mail70-tx2: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14HUBC105.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.234.5;KIP:(null);UIP:(null);(null);H:SN2PRD0310HT003.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail70-tx2 (localhost.localdomain [127.0.0.1]) by mail70-tx2 (MessageSwitch) id 1340688900111023_14207; Tue, 26 Jun 2012 05:35:00 +0000 (UTC)
Received: from TX2EHSMHS042.bigfish.com (unknown [10.9.14.243])	by mail70-tx2.bigfish.com (Postfix) with ESMTP id 0B869260052	for <ietf-http-wg@w3.org>; Tue, 26 Jun 2012 05:35:00 +0000 (UTC)
Received: from TK5EX14HUBC105.redmond.corp.microsoft.com (131.107.125.8) by TX2EHSMHS042.bigfish.com (10.9.99.142) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 26 Jun 2012 05:34:59 +0000
Received: from va3outboundpool.messaging.microsoft.com (157.54.51.112) by mail.microsoft.com (157.54.80.48) with Microsoft SMTP Server (TLS) id 14.2.309.3; Tue, 26 Jun 2012 05:36:38 +0000
Received: from mail67-va3-R.bigfish.com (10.7.14.247) by VA3EHSOBE008.bigfish.com (10.7.40.28) with Microsoft SMTP Server id 14.1.225.23; Tue, 26 Jun 2012 05:34:57 +0000
Received: from mail67-va3 (localhost [127.0.0.1])	by mail67-va3-R.bigfish.com (Postfix) with ESMTP id 1A8952A01F1	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Tue, 26 Jun 2012 05:34:57 +0000 (UTC)
Received: from mail67-va3 (localhost.localdomain [127.0.0.1]) by mail67-va3 (MessageSwitch) id 1340688894680180_15610; Tue, 26 Jun 2012 05:34:54 +0000 (UTC)
Received: from VA3EHSMHS012.bigfish.com (unknown [10.7.14.240])	by mail67-va3.bigfish.com (Postfix) with ESMTP id A276AC006E;	Tue, 26 Jun 2012 05:34:54 +0000 (UTC)
Received: from SN2PRD0310HT003.namprd03.prod.outlook.com (157.56.234.5) by VA3EHSMHS012.bigfish.com (10.7.99.22) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 26 Jun 2012 05:34:54 +0000
Received: from SN2PRD0310MB396.namprd03.prod.outlook.com ([169.254.1.77]) by SN2PRD0310HT003.namprd03.prod.outlook.com ([10.255.112.38]) with mapi id 14.16.0152.000; Tue, 26 Jun 2012 05:36:32 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Robert Mattson <robert@mattson.com.au>
CC: Mark Nottingham <mnot@mnot.net>, =?gb2312?B?V2lsbGlhbSBDaGFuICizwtbHsv0p?= <willchan@chromium.org>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: AQHNU1zOD6o4zQGW/UK9DVcyfeqlg5cMFEjw
Date: Tue, 26 Jun 2012 05:36:31 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346F75F1@SN2PRD0310MB396.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com> <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com> <4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net> <3605BA99C081B54EA9B65B3E33316AF7346F740B@SN2PRD0310MB396.namprd03.prod.outlook.com> <alpine.LNX.2.00.1206261511470.12373@www.connectedis.com.au>
In-Reply-To: <alpine.LNX.2.00.1206261511470.12373@www.connectedis.com.au>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [24.16.154.150]
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: SN2PRD0310HT003.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MATTSON.COM.AU$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MNOT.NET$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%CHROMIUM.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14HUBC105.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14HUBC105.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=65.55.88.14; envelope-from=henrikn@microsoft.com; helo=tx2outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-3.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MIME_BASE64_BLANKS=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: maggie.w3.org 1SjOSa-0001UQ-Gz fdfd8ce14b064bfa306e28cc905c587d
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on   HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346F75F1@SN2PRD0310MB396.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13928
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjOSr-00070r-8W@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 05:37:25 +0000

Um9iLA0KDQpUaGlzIGxvb2tzIGxpa2UgZ3JlYXQgc3R1ZmYgLS0gbG9va2luZyBmb3J3YXJkIHRv
IHN0dWR5IGl0IGNsb3Nlci4NCg0KSGVucmlrDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0t
DQpGcm9tOiBSb2JlcnQgTWF0dHNvbiBbbWFpbHRvOnJvYmVydEBtYXR0c29uLmNvbS5hdV0gDQpT
ZW50OiBNb25kYXksIEp1bmUgMjUsIDIwMTIgMjI6MzANClRvOiBIZW5yaWsgRnJ5c3R5ayBOaWVs
c2VuDQpDYzogTWFyayBOb3R0aW5naGFtOyBXaWxsaWFtIENoYW4gKLPC1sey/Sk7IGlldGYtaHR0
cC13Z0B3My5vcmcNClN1YmplY3Q6IFJFOiBQZXJmb3JtYW5jZSBpbXBsaWNhdGlvbnMgb2YgQnVu
ZGxpbmcgYW5kIE1pbmlmaWNhdGlvbiBvbiBIVFRQLzEuMQ0KDQpIaSBIZW5yaWssDQoNCkkgd2Fu
dGVkIHRvIG1lbnRpb24gdGhhdCBJJ3ZlIGRvbmUgc29tZSBzaW11bGF0aW9uIHdpdGggYXBwcm94
aW1hdGVseSAyMDAgd2ViIHBhZ2VzIG92ZXIgc3ltbWV0cmljIGFuZCBhc3ltbWV0cmljIG5ldHdv
cmtzIHVzaW5nIHJlc3BvbnNlIG11bHRpcGxleGluZyB3aXRoIHNlcnZlciBzaWRlIGFuZCBjbGll
bnQgc2lkZSBvcmRlciBwcmlvcml0aXNhdGlvbi4NCg0KVGhpcyB3b3JrIG1heSBiZSByZWxldmFu
dCBpbiB0aGUgZGVsaWJlcmF0aW9ucyBtZW50aW9uZWQgYmVsb3cuDQoNClRoZSBleHBlcmltZW50
cyBhbmQgcmVzdWx0cyBhcmUgYXZhaWxhYmxlIGluIG15IGFjYWRlbWljIHRoZXNpcyBhbmQgYmVn
aW4gb24gcGFnZSAxNjggb2YgaHR0cDovL3d3dy5tYXR0c29uLmNvbS5hdS9yb2JlcnQvZnVsbHRl
eHQvTWF0dHNvblBoZFRoZXNpcy5wZGYNCg0Kb3INCg0KaHR0cDovL3d3dy5tYXR0c29uLmNvbS5h
dS9yb2JlcnQvZnVsbHRleHQvTWF0dHNvblBoZFRoZXNpcy8NCg0KU2luY2VyZWx5LA0KUm9iIE1h
dHRzb24sIE1BQ1MgKENUKSwgTUlFRUUNCg0KDQpPbiBUdWUsIDI2IEp1biAyMDEyLCBIZW5yaWsg
RnJ5c3R5ayBOaWVsc2VuIHdyb3RlOg0KDQo+IEkgZG8gYWdyZWUgdGhhdCB0aGVyZSBhcmUgc2Vy
aW91cyBxdWVzdGlvbnMgYXMgdG8gd2hhdCBleGFjdGx5IA0KPiBtdWx0aXBsZXhpbmcgY2FuIGFu
ZCBjYW5ub3Qgc29sdmUuIFRoZSBwdXJwb3NlIG9mIG11bHRpcGxleGluZyANCj4gbXVsdGlwbGUg
c3ViLXN0cmVhbXMgb3ZlciBhIHNpbmdsZSByZWxpYWJsZSBzdHJlYW0gaXMgdG8gZ2V0IGEgaGln
aGVyIA0KPiBkZWdyZWUgb2YgcmVzcG9uc2l2ZW5lc3Mgb2YgZWFjaCBvZiB0aGUgaW5kaXZpZHVh
bCBzdWItc3RyZWFtcy4gVGhhdCANCj4gaXMsIHRoZSBwcmVtaXNlIGlzIHRoYXQgYnkgaW50ZXJs
ZWF2aW5nIHRoZSBzdWItc3RyZWFtcywgaXQgaXMgDQo+IHBvc3NpYmxlIHRvIG1ha2UgcHJvZ3Jl
c3Mgb24gZWFjaCBvZiB0aGUgc3RyZWFtcyBpbmRpdmlkdWFsbHkuIA0KPiBIb3dldmVyLCB0aGlz
IG5lY2Vzc2FyaWx5IHJlcXVpcmVzIHRoYXQgZWFjaCBzdWItc3RyZWFtIGdldHMgYSANCj4gcmVs
YXRpdmVseSBzbWFsbCB3aW5kb3cgaW4gd2hpY2ggdG8gdHJhbnNtaXQgZGF0YS4gSWYgdGhpcyB3
aW5kb3cgZ2V0cyANCj4gdG9vIGxhcmdlIHRoZW4gb25seSB0aGUgYWN0aXZlIHN1Yi1zdHJlYW0g
d2lsbCBtYWtlIHByb2dyZXNzIGFuZCB0aGUgDQo+IG90aGVyIHN1Yi1zdHJlYW1zIHdpbGwgZ2V0
IGJsb2NrZWQuIEdldHRpbmcgdGhlIHdpbmRvdyBzaXplIGFuZCBoZW5jZSANCj4gdGhlIGRlZ3Jl
ZSBvZiByZXNwb25zaXZlbmVzcyByaWdodCB3aXRob3V0IHBlbmFsaXppbmcgdGhyb3VnaHB1dCAN
Cj4gc2xvd2luZyBkb3duIGFsbCB0aGUgc3ViLXN0cmVhbXMgcmVxdWlyZXMgYSBmYWlyIGFtb3Vu
dCBvZiBpbmZvcm1hdGlvbiANCj4gYWJvdXQgbmV0d29yayBjb25kaXRpb25zLCB0aGUgcmVsYXRp
dmUgaW1wb3J0YW5jZSBvZiB0aGUgc3ViLXN0cmVhbXMsIA0KPiBhbmQgd2hhdCBnaXZlcyB0aGUg
dXNlciB0aGUgYmVzdCBleHBlcmllbmNlIGZvciB0aGUgZ2l2ZW4gZGF0YS4gTm90IHRvIA0KPiBt
ZW50aW9uIHRoYXQgdGhpcyBoYXMgdG8gaGFwcGVuIGJldHdlZW4gdHdvIGFyYg0KIGl0cmFyeSBp
bXBsZW1lbnRhdGlvbnMuDQo+DQo+IFRoZSBhcmd1bWVudCB0aGF0IHRoZSBwcm90b2NvbCBtYWdp
Y2FsbHkgY2FuIHNvbHZlIHRoaXMgcHJvYmxlbSBmb3IgYW55IGNvbnRlbnQgSSBzaW1wbHkgZG9u
J3QgdGhpbmsgaG9sZHMgdHJ1ZSBzbyB0aGUgcXVlc3Rpb24gdGhlbiBiZWNvbWVzIHdoZXRoZXIg
YSBtb3JlIGNvbXBsZXggcHJvdG9jb2wgaW5oZXJlbnRseSB3aWxsIG1ha2UgaXQgZWFzaWVyIHRv
IGdldCB0aGUgYmVoYXZpb3IgcmlnaHQgZm9yIGFueSBwYXJ0aWN1bGFyIGNvbnRlbnQuIEkgYW0g
bm90IHNheWluZyB0aGF0IHRoaXMgaXMgYW4gaW1wb3NzaWJsZSB0YXNrIGJ1dCBJIHRoaW5rIGl0
IGlzIGZhaXIgdG8gc2F5IHRoYXQgdGhpcyByZW1haW5zIHRvIGJlIHNlZW47IGFuZCBhbHNvIHdo
ZXRoZXIgaXQgaXMgdG8gYSBkZWdyZWUgdGhhdCB0cnVseSBtYWtlcyBpdCB3b3J0aHdoaWxlLg0K
Pg0KPiBBdCB0aGUgc2FtZSB0aW1lIEkgdGhpbmsgaXQgaXMgcmVhc29uYWJsZSB0byBwb2ludCBv
dXQgdGhhdCB0aGUgdXNlIG9mIG9wdGltaXphdGlvbnMgc3VjaCBhcyBidW5kbGluZywgbWluaWZp
Y2F0aW9uLCBhbmQgY29tcHJlc3Npb24gYXJlIGV2b2x2aW5nIGFuZCB0aGV5IGNhbiBoYXZlIGFz
IGJpZyBpZiBub3QgYmlnZ2VyIGltcGFjdCBvbiB0aGUgdXNlciBleHBlcmllbmNlIHRoYW4gYW55
dGhpbmcgd2UgY2FuIGRvIGF0IHRoZSBwcm90b2NvbCBsZXZlbC4gSWYgdGhlcmUgYXJlIHRoaW5n
cyB3ZSBjYW4gZG8gdG8gaGVscCB0aGVzZSBvcHRpbWl6YXRpb25zIHdvcmsgYmV0dGVyIGluIHBy
YWN0aWNlIHRoZW4gdGhhdCB3b3VsZCBiZSBncmVhdC4NCj4NCj4gUm9iZXJ0byBtZW50aW9ucyB0
aGF0IHRoZXJlIGFyZSBsb3RzIG9mIGNoYWxsZW5nZXMgZG9pbmcgdGhpcyB0b2RheSAtLSBjb3Vs
ZCB3ZSBnZXQgdGhlc2Ugb24gdGhlIHRhYmxlIGFuZCBxdWFudGlmeSB0aGVtPw0KPg0KPiBIZW5y
aWsNCj4NCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWFyayBOb3R0aW5n
aGFtIFttYWlsdG86bW5vdEBtbm90Lm5ldF0NCj4gU2VudDogTW9uZGF5LCBKdW5lIDI1LCAyMDEy
IDIwOjM0DQo+IFRvOiBSb2JlcnRvIFBlb24NCj4gQ2M6IEhlbnJpayBGcnlzdHlrIE5pZWxzZW47
IFdpbGxpYW0gQ2hhbiAoPz8/KTsgSFRUUCBXb3JraW5nIEdyb3VwOyANCj4gSG93YXJkIERpZXJr
aW5nDQo+IFN1YmplY3Q6IFJlOiBQZXJmb3JtYW5jZSBpbXBsaWNhdGlvbnMgb2YgQnVuZGxpbmcg
YW5kIE1pbmlmaWNhdGlvbiBvbiANCj4gSFRUUC8xLjENCj4NCj4NCj4gT24gMjMvMDYvMjAxMiwg
YXQgNjowOCBBTSwgUm9iZXJ0byBQZW9uIHdyb3RlOg0KPg0KPj4gSSdkIGFyZ3VlIGFub3RoZXIg
cG9pbnQuDQo+PiBUaGUgYW1vdW50IG9mIHdvcmsgbmVjZXNzYXJ5IHRvIG9wdGltaXplIHNpdGUg
cGVyZm9ybWFuY2UgZm9yIEhUVFAvMS4xIHRvZGF5IGlzIGxhcmdlLiBUaGUgYW1vdW50IG9mIGtu
b3dsZWRnZSBuZWNlc3NhcnkgdG8gZG8gaXQgcHJvcGVybHkgaXMgYWxzbyBsYXJnZS4NCj4+IFRo
aXMgaXMgbm90IHRoZSB3YXkgaXQgc2hvdWxkIGJlIQ0KPj4NCj4+IFRoZSBwcm90b2NvbCBzaG91
bGQgbWFrZSBpdCBlYXNpZXIgdG8gZG8gdGhpbmdzIHJpZ2h0LCBhbmQgaXQgc2hvdWxkIGhlbHAg
aW4gdGhlIChleHRyZW1lbHkgZnJlcXVlbnQgYW5kIGxpa2VseSkgY2FzZSB0aGF0IHRoZSBzaXRl
IGRlc2lnbmVyIGdldHMgaXQgd3JvbmcgaW4gbGl0dGxlIHdheXMuDQo+DQo+IFRoaXMgaXMgZGVm
aW5pdGVseSBhbiBhcmVhIHRoYXQgc2hvdWxkIGJlIGRpc2N1c3NlZC4gSSd2ZSBoZWFyZCBhIGZl
dyBwZW9wbGUgZXhwcmVzcyBza2VwdGljaXNtIGFib3V0IG11bHRpcGxleGluZyBvdmVyYWxsLCBi
ZWNhdXNlIGl0IHJlcXVpcmVzIHRoZSBzZXJ2ZXIgdG8gcHJpb3JpdGlzZSB3aGF0J3MgaW4gdGhl
IHBpcGUsIHdoaWNoIGluIHR1cm4gcmVxdWlyZXMgZ3JlYXRlciBrbm93bGVkZ2UgKGFuZCBwcm9i
YWJseSBhIGJ1Y2tldGxvYWQgb2YgaGV1cmlzdGljcykuDQo+DQo+IFJpZ2h0IG5vdyB0aG9zZSBo
ZXVyaXN0aWNzIGFyZSBhcHBsaWVkIHRvIGhvdyBicm93c2VycyBtYWtlIHJlcXVlc3RzLCBidXQg
YXQgbGVhc3QgdGhlIGRhdGEgaXMgYXBwbGllZCBpbiB0aGUgc2FtZSBwbGFjZSBpdCdzIG1vc3Qg
dXNlZnVsbHkgc291cmNlZCwgYW5kIG9mIGNvdXJzZSB0aGVyZSBhcmUgZmV3ZXIgYnJvd3NlciBp
bXBsZW1lbnRhdGlvbnMgdGhhbiB0aGVyZSBhcmUgc2VydmVyIGRlcGxveW1lbnRzICh3aGljaCBp
cyBwb3RlbnRpYWxseSB0aGUgbGV2ZWwgdGhhdCB0aGlzIGtpbmQgb2YgdHVuaW5nIHdvdWxkIG5l
ZWQgdG8gdGFrZSBwbGFjZSBmb3IgbXVsdGlwbGV4aW5nKS4NCj4NCj4gRGlzY3VzcyA6KQ0KPg0K
PiAtLQ0KPiBNYXJrIE5vdHRpbmdoYW0gICBodHRwOi8vd3d3Lm1ub3QubmV0Lw0KPg0KPg0KPg0K
Pg0KPg0KPg0KPg0K




From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 22:50: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 9757821F8534 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 22:50:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.551
X-Spam-Level: 
X-Spam-Status: No, score=-9.551 tagged_above=-999 required=5 tests=[AWL=0.125, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yh2oKXLd5aex for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 22:50:47 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 2D7C121F8532 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 22:50:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjOf6-0002GA-2M for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 05:50:04 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <willchan@google.com>) id 1SjOet-0002EN-8r for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 05:49:51 +0000
Received: from mail-yx0-f171.google.com ([209.85.213.171]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <willchan@google.com>) id 1SjOep-00049g-Bx for ietf-http-wg@w3.org; Tue, 26 Jun 2012 05:49:49 +0000
Received: by yenq11 with SMTP id q11so3638914yen.2 for <ietf-http-wg@w3.org>; Mon, 25 Jun 2012 22:49:21 -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=UVTVwVnxxuSAIXC8nxj9AAYbO6RpEG1Iz7yDJFjMH7g=; b=V1g8KgbZ9SWmTUzoLufhCpRezqjIycYWNpHjFhrzmtb3GC/TXQbWpJs67UQfctXQxV KvbyrKeqIETHeKUznBTb9kPU4BzaOJF3fbNUn43qHeEbZRccMkLApvg6tsw0zh+jxKAn Q5DJvw9d2/VKJ5V6Ge3ao24FVNrPTeh2n9kdrvK7+ACDP3KOCPK3sqFwyCc5IT90X831 IIdX3AypS2ohZBsNvM968QDj7+QsFcj8JUNWIXZ24wzl2FxQXeI7veK9MzNXRiSxYx8A 8XbMDfvvuqKJG84x4vLZmERO8ugqDn5Uv4ZyQm+OA+Aca0xjYimRhw7jZEKu2SH0DcOB DakQ==
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=UVTVwVnxxuSAIXC8nxj9AAYbO6RpEG1Iz7yDJFjMH7g=; b=coCVeHErCBuw2wyQkD2i9h+lGEyQTgwK6bTI/og/xB8WWH59g2kxwTnCpEAKQVS88N mb7w/Jl++2LGwYJuiPxP46frxReek/1iSbtesZLKmUxVrEmHAW5Maia+8QJJ73yh4lCX p/a5fy2er6oT4nCQQ1De3V9FLUM7zbFutJlCewlYyUNt7p2GAHele+cDJTFbRFRJc0gh OymjikIHw6c2qZ3zS11HlXreRKe34Pj8kep/J8xurdmxK4HZnkQx2T+yEkp+9vBectgn 003JiGnK95vT6s/VOjtpOHc38Bj1p3sfys+Z2NIruEagtKKC2wJ7rr0QPPfJOcgCjvCh 6Hqg==
Received: by 10.42.210.193 with SMTP id gl1mr7176329icb.57.1340689760459; Mon, 25 Jun 2012 22:49:20 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.42.210.193 with SMTP id gl1mr7176310icb.57.1340689760130; Mon, 25 Jun 2012 22:49:20 -0700 (PDT)
Sender: willchan@google.com
Received: by 10.231.24.198 with HTTP; Mon, 25 Jun 2012 22:49:19 -0700 (PDT)
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF7346F740B@SN2PRD0310MB396.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com> <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com> <4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net> <3605BA99C081B54EA9B65B3E33316AF7346F740B@SN2PRD0310MB396.namprd03.prod.outlook.com>
Date: Mon, 25 Jun 2012 22:49:19 -0700
X-Google-Sender-Auth: _bHZuXFO5_3bSmSo8JJYXczda-c
Message-ID: <CAA4WUYgfLaAcRrxr0O7Vy_NMQeugMty8pwMK1aThav0hSMpbJA@mail.gmail.com>
From: =?UTF-8?B?V2lsbGlhbSBDaGFuICjpmYjmmbrmmIwp?= <willchan@chromium.org>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: Mark Nottingham <mnot@mnot.net>, Roberto Peon <grmocg@gmail.com>,  HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Content-Type: multipart/alternative; boundary=20cf301cc4eee816e504c359a8ec
X-System-Of-Record: true
X-Gm-Message-State: ALoCoQn6AELbd1cd48ntYSosu8s7FEVDDWUS8B+i7iseldmwRelewR+z5kudGWWL4t8K+C7kyVdCI9frXCITMX97tUyAOshgqL+pK3sQHVe5lYwUPYNEk4nGa8y3Vz2+u4WWl72YGFgRrQiqBXU/yJ+oblNZJkTsMMVxSGgpUsfFTBRPDMiUul94hGm2SflgDUNaOs/m+gHC
Received-SPF: pass client-ip=209.85.213.171; envelope-from=willchan@google.com; helo=mail-yx0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-2.6
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SjOep-00049g-Bx 6413d0fc55dd64ed4317de021c66a90c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/CAA4WUYgfLaAcRrxr0O7Vy_NMQeugMty8pwMK1aThav0hSMpbJA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13929
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjOf6-0002GA-2M@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 05:50:04 +0000

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

On Mon, Jun 25, 2012 at 10:02 PM, Henrik Frystyk Nielsen <
henrikn@microsoft.com> wrote:

> I do agree that there are serious questions as to what exactly
> multiplexing can and cannot solve. The purpose of multiplexing multiple
> sub-streams over a single reliable stream is to get a higher degree of
> responsiveness of each of the individual sub-streams. That is, the premis=
e
> is that by interleaving the sub-streams, it is possible to make progress =
on
> each of the streams individually. However, this necessarily requires that
> each sub-stream gets a relatively small window in which to transmit data.
> If this window gets too large then only the active sub-stream will make
> progress and the other sub-streams will get blocked. Getting the window
> size and hence the degree of responsiveness right without penalizing
> throughput slowing down all the sub-streams requires a fair amount of
> information about network conditions, the relative importance of the
> sub-streams, and what gives the user the best experience for the given
> data. Not to mention that this has to happen between two arbitrary
> implementations.
>

Just to doublecheck, are you asserting that you need a complicated frame
sizing implementation in order to get good performance out of multiplexing?
In Chromium, we don't do much complicated for SPDY frame sizes. We clamp to
2*MSS. Please refer to:
http://code.google.com/searchframe#OAMlx_jo-ck/src/net/spdy/spdy_session.h&=
l=3D41
http://code.google.com/searchframe#OAMlx_jo-ck/src/net/spdy/spdy_session.cc=
&exact_package=3Dchromium&l=3D634

I am assuming when you say window you mean frame, and you're not actually
trying to use flow control windows to achieve responsiveness. Pardon me if
I am misinterpreting your terminology. If you actually are talking about
flow control windows, then we ought to have a separate discussion thread,
as that's a whole other can of worms you're opening up :)


> The argument that the protocol magically can solve this problem for any
> content I simply don't think holds true so the question then becomes
> whether a more complex protocol inherently will make it easier to get the
> behavior right for any particular content. I am not saying that this is a=
n
> impossible task but I think it is fair to say that this remains to be see=
n;
> and also whether it is to a degree that truly makes it worthwhile.
>

Can you clarify which problem you're referring to? Do you mean frame
sizing? If so, I think I've shown the simplicity of Chromium's SPDY
algorithm above. If you meant prioritization of substreams, here's our
algorithm:
http://code.google.com/searchframe#OAMlx_jo-ck/src/content/browser/renderer=
_host/resource_dispatcher_host_impl.cc&exact_package=3Dchromium&type=3Dcs&l=
=3D206.
As you can see, it's a simple switch statement. Can we do better? Very
possibly!


>
> At the same time I think it is reasonable to point out that the use of
> optimizations such as bundling, minification, and compression are evolvin=
g
> and they can have as big if not bigger impact on the user experience than
> anything we can do at the protocol level. If there are things we can do t=
o
> help these optimizations work better in practice then that would be great=
.
>

I agree that application level improvements have a bigger impact than
protocol level improvements. But I think that it'd be great for the
protocol to eliminate deficiencies for which application developers have to
work around (e.g. domain sharding). There are so many web performance
guidelines that developers need to keep in mind...the less that they have
to do to work around protocol deficiencies, the better.


> Roberto mentions that there are lots of challenges doing this today --
> could we get these on the table and quantify them?
>
> Henrik
>
> -----Original Message-----
> From: Mark Nottingham [mailto:mnot@mnot.net]
> Sent: Monday, June 25, 2012 20:34
> To: Roberto Peon
> Cc: Henrik Frystyk Nielsen; William Chan (=E9=99=88=E6=99=BA=E6=98=8C); H=
TTP Working Group; Howard
> Dierking
> Subject: Re: Performance implications of Bundling and Minification on
> HTTP/1.1
>
>
> On 23/06/2012, at 6:08 AM, Roberto Peon wrote:
>
> > I'd argue another point.
> > The amount of work necessary to optimize site performance for HTTP/1.1
> today is large. The amount of knowledge necessary to do it properly is al=
so
> large.
> > This is not the way it should be!
> >
> > The protocol should make it easier to do things right, and it should
> help in the (extremely frequent and likely) case that the site designer
> gets it wrong in little ways.
>
> This is definitely an area that should be discussed. I've heard a few
> people express skepticism about multiplexing overall, because it requires
> the server to prioritise what's in the pipe, which in turn requires great=
er
> knowledge (and probably a bucketload of heuristics).
>
> Right now those heuristics are applied to how browsers make requests, but
> at least the data is applied in the same place it's most usefully sourced=
,
> and of course there are fewer browser implementations than there are serv=
er
> deployments (which is potentially the level that this kind of tuning woul=
d
> need to take place for multiplexing).
>
> Discuss :)
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>
>
>
>

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

<div style=3D"font-family: arial, helvetica, sans-serif"><font size=3D"2">O=
n Mon, Jun 25, 2012 at 10:02 PM, Henrik Frystyk Nielsen <span dir=3D"ltr">&=
lt;<a href=3D"mailto:henrikn@microsoft.com" target=3D"_blank">henrikn@micro=
soft.com</a>&gt;</span> wrote:<br>
<div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"margi=
n:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I do agree that t=
here are serious questions as to what exactly multiplexing can and cannot s=
olve. The purpose of multiplexing multiple sub-streams over a single reliab=
le stream is to get a higher degree of responsiveness of each of the indivi=
dual sub-streams. That is, the premise is that by interleaving the sub-stre=
ams, it is possible to make progress on each of the streams individually. H=
owever, this necessarily requires that each sub-stream gets a relatively sm=
all window in which to transmit data. If this window gets too large then on=
ly the active sub-stream will make progress and the other sub-streams will =
get blocked. Getting the window size and hence the degree of responsiveness=
 right without penalizing throughput slowing down all the sub-streams requi=
res a fair amount of information about network conditions, the relative imp=
ortance of the sub-streams, and what gives the user the best experience for=
 the given data. Not to mention that this has to happen between two arbitra=
ry implementations.<br>
</blockquote><div><br></div><div>Just to doublecheck, are you asserting tha=
t you need a complicated frame sizing implementation in order to get good p=
erformance out of multiplexing? In Chromium, we don&#39;t do much complicat=
ed for SPDY frame sizes. We clamp to 2*MSS. Please refer to:</div>
<div><a href=3D"http://code.google.com/searchframe#OAMlx_jo-ck/src/net/spdy=
/spdy_session.h&amp;l=3D41">http://code.google.com/searchframe#OAMlx_jo-ck/=
src/net/spdy/spdy_session.h&amp;l=3D41</a></div><div><a href=3D"http://code=
.google.com/searchframe#OAMlx_jo-ck/src/net/spdy/spdy_session.cc&amp;exact_=
package=3Dchromium&amp;l=3D634">http://code.google.com/searchframe#OAMlx_jo=
-ck/src/net/spdy/spdy_session.cc&amp;exact_package=3Dchromium&amp;l=3D634</=
a></div>
<div><br></div><div>I am assuming when you say window you mean frame, and y=
ou&#39;re not actually trying to use flow control windows to achieve respon=
siveness. Pardon me if I am misinterpreting your terminology. If you actual=
ly are talking about flow control windows, then we ought to have a separate=
 discussion thread, as that&#39;s a whole other can of worms you&#39;re ope=
ning up :)</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>
The argument that the protocol magically can solve this problem for any con=
tent I simply don&#39;t think holds true so the question then becomes wheth=
er a more complex protocol inherently will make it easier to get the behavi=
or right for any particular content. I am not saying that this is an imposs=
ible task but I think it is fair to say that this remains to be seen; and a=
lso whether it is to a degree that truly makes it worthwhile.<br>
</blockquote><div><br></div><div>Can you clarify which problem you&#39;re r=
eferring to? Do you mean frame sizing? If so, I think I&#39;ve shown the si=
mplicity of Chromium&#39;s SPDY algorithm above. If you meant prioritizatio=
n of substreams, here&#39;s our algorithm:=C2=A0<a href=3D"http://code.goog=
le.com/searchframe#OAMlx_jo-ck/src/content/browser/renderer_host/resource_d=
ispatcher_host_impl.cc&amp;exact_package=3Dchromium&amp;type=3Dcs&amp;l=3D2=
06">http://code.google.com/searchframe#OAMlx_jo-ck/src/content/browser/rend=
erer_host/resource_dispatcher_host_impl.cc&amp;exact_package=3Dchromium&amp=
;type=3Dcs&amp;l=3D206</a>. As you can see, it&#39;s a simple switch statem=
ent. Can we do better? Very possibly!</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>
At the same time I think it is reasonable to point out that the use of opti=
mizations such as bundling, minification, and compression are evolving and =
they can have as big if not bigger impact on the user experience than anyth=
ing we can do at the protocol level. If there are things we can do to help =
these optimizations work better in practice then that would be great.<br>
</blockquote><div><br></div><div>I agree that application level improvement=
s have a bigger impact than protocol level improvements. But I think that i=
t&#39;d be great for the protocol to eliminate deficiencies for which appli=
cation developers have to work around (e.g. domain sharding). There are so =
many web performance guidelines that developers need to keep in mind...the =
less that they have to do to work around protocol deficiencies, the better.=
</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>
Roberto mentions that there are lots of challenges doing this today -- coul=
d we get these on the table and quantify them?<br>
<div class=3D"im HOEnZb"><br>
Henrik<br>
<br>
-----Original Message-----<br>
From: Mark Nottingham [mailto:<a href=3D"mailto:mnot@mnot.net">mnot@mnot.ne=
t</a>]<br>
</div><div class=3D"im HOEnZb">Sent: Monday, June 25, 2012 20:34<br>
To: Roberto Peon<br>
Cc: Henrik Frystyk Nielsen; William Chan (=E9=99=88=E6=99=BA=E6=98=8C); HTT=
P Working Group; Howard Dierking<br>
Subject: Re: Performance implications of Bundling and Minification on HTTP/=
1.1<br>
<br>
<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">On 23/06/2012, at 6:08 AM, Ro=
berto Peon wrote:<br>
<br>
&gt; I&#39;d argue another point.<br>
&gt; The amount of work necessary to optimize site performance for HTTP/1.1=
 today is large. The amount of knowledge necessary to do it properly is als=
o large.<br>
&gt; This is not the way it should be!<br>
&gt;<br>
&gt; The protocol should make it easier to do things right, and it should h=
elp in the (extremely frequent and likely) case that the site designer gets=
 it wrong in little ways.<br>
<br>
This is definitely an area that should be discussed. I&#39;ve heard a few p=
eople express skepticism about multiplexing overall, because it requires th=
e server to prioritise what&#39;s in the pipe, which in turn requires great=
er knowledge (and probably a bucketload of heuristics).<br>

<br>
Right now those heuristics are applied to how browsers make requests, but a=
t least the data is applied in the same place it&#39;s most usefully source=
d, and of course there are fewer browser implementations than there are ser=
ver deployments (which is potentially the level that this kind of tuning wo=
uld need to take place for multiplexing).<br>

<br>
Discuss :)<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>
<br>
<br>
</div></div></blockquote></div><br></font></div>

--20cf301cc4eee816e504c359a8ec--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 23:15: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 B584D21F854E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 23:15:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.144
X-Spam-Level: 
X-Spam-Status: No, score=-10.144 tagged_above=-999 required=5 tests=[AWL=0.155, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tezESVAZm1FF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 23:15:22 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A023921F8446 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 23:15:22 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjP2c-0005Co-Ow for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 06:14:22 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SjP2Q-0005AV-GK for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 06:14:10 +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 1SjP2N-0005CM-3Q for ietf-http-wg@w3.org; Tue, 26 Jun 2012 06:14:08 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 22DAF22E1F4; Tue, 26 Jun 2012 02:13:42 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=utf-8
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <CAA4WUYgfLaAcRrxr0O7Vy_NMQeugMty8pwMK1aThav0hSMpbJA@mail.gmail.com>
Date: Tue, 26 Jun 2012 16:13:39 +1000
Cc: Henrik Frystyk Nielsen <henrikn@microsoft.com>, Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <0FB054DA-C596-4C5B-A008-13141034A5FA@mnot.net>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com> <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com> <4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net> <3605BA99C081B54EA9B65B3E33316AF7346F740B@SN2PRD0310MB396.namprd03.prod.outlook.com> <CAA4WUYgfLaAcRrxr0O7Vy_NMQeugMty8pwMK1aThav0hSMpbJA@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.1278)
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.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 1SjP2N-0005CM-3Q 0473f73317b82de4170b347bcac0f0af
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/0FB054DA-C596-4C5B-A008-13141034A5FA@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13930
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjP2c-0005Co-Ow@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 06:14:22 +0000

On 26/06/2012, at 3:49 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) =
wrote:

> I agree that application level improvements have a bigger impact than =
protocol level improvements. But I think that it'd be great for the =
protocol to eliminate deficiencies for which application developers have =
to work around (e.g. domain sharding). There are so many web performance =
guidelines that developers need to keep in mind...the less that they =
have to do to work around protocol deficiencies, the better.

Agreed on all points. The situation that we should avoid, I think, are =
protocol-level gains that *require* lots of tweaking / expertise on the =
server side. It's fine to accommodate them, of course, as long as they =
don't hurt the common case.

Regards,

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





From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 23:37: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 694F821F855E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 23:37:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.488
X-Spam-Level: 
X-Spam-Status: No, score=-10.488 tagged_above=-999 required=5 tests=[AWL=0.110, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KbIB-VR67cJa for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 23:37:43 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 6207A21F855D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 23:37:43 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjPNw-0003Ck-Du for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 06:36:24 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <grmocg@gmail.com>) id 1SjPNb-00035Q-NY for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 06:36:03 +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 <grmocg@gmail.com>) id 1SjPNW-0006EH-0z for ietf-http-wg@w3.org; Tue, 26 Jun 2012 06:36:01 +0000
Received: by wibhm6 with SMTP id hm6so2591015wib.8 for <ietf-http-wg@w3.org>; Mon, 25 Jun 2012 23:35: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=zWVhejU7ZCrm5d8TbRzaL8ruqe31ZaRFO/fJPtOJ2U0=; b=Zxv/zC05CvUBsQv7a4NqadGtX/LW6B5wWJU8LEdlzbJ1/ELywoZE53wTku+5r+q9F6 EdvvhjdBbwlfkJTWG7274/6OrZLR/85dKAZtlE9NQJ/SsPvx9/HPIaDTnpZtBz2QPU+9 d9U5Ft+A4DA1o/R/Yp+hzabrW3qoIEr8vB5dZqrt9Kz87pXe27+u99zMkZAP41X31QJc 6V23kQAg8uGe+kIGL6/rZ4c8ixfCcKkiihR3w6Q0Ruif6xoEkN9MxWtCw7zvz6k6DOvo NctueflminByen91+RKMZT0sReR0tETOGDcW9pJrsgZDxarnxZuElEUvoma3mqFar3ow QdXA==
MIME-Version: 1.0
Received: by 10.180.98.231 with SMTP id el7mr29855724wib.21.1340692137316; Mon, 25 Jun 2012 23:28:57 -0700 (PDT)
Received: by 10.194.46.42 with HTTP; Mon, 25 Jun 2012 23:28:57 -0700 (PDT)
Received: by 10.194.46.42 with HTTP; Mon, 25 Jun 2012 23:28:57 -0700 (PDT)
In-Reply-To: <0FB054DA-C596-4C5B-A008-13141034A5FA@mnot.net>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAA4WUYj+SgWE01Tx_1P6NVbDv56x6udssafPq=vK8-PQHCy-6g@mail.gmail.com> <3605BA99C081B54EA9B65B3E33316AF7346C9CBD@CH1PRD0310MB392.namprd03.prod.outlook.com> <CAP+FsNfghvr8MVSw4MTo10gHhvV5ZiTwvnCCzPrCzX_g4Zkwng@mail.gmail.com> <4FDEEBD1-18C6-40D9-9D3D-81E9D4B74F64@mnot.net> <3605BA99C081B54EA9B65B3E33316AF7346F740B@SN2PRD0310MB396.namprd03.prod.outlook.com> <CAA4WUYgfLaAcRrxr0O7Vy_NMQeugMty8pwMK1aThav0hSMpbJA@mail.gmail.com> <0FB054DA-C596-4C5B-A008-13141034A5FA@mnot.net>
Date: Mon, 25 Jun 2012 23:28:57 -0700
Message-ID: <CAP+FsNfZobJF7h8Tsg+kETJ89D3MRbuCX7F=rciCWzE8WCDL+w@mail.gmail.com>
From: Roberto Peon <grmocg@gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: Howard Dierking <howard@microsoft.com>, William Chan <willchan@chromium.org>,  HTTP Working Group <ietf-http-wg@w3.org>, Henrik Frystyk Nielsen <henrikn@microsoft.com>
Content-Type: multipart/alternative; boundary=f46d04428d2a9912dc04c35a36b0
Received-SPF: pass client-ip=209.85.212.173; envelope-from=grmocg@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 1SjPNW-0006EH-0z 9ac951d0e1d0f5be87206de0a70a3dae
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/CAP+FsNfZobJF7h8Tsg+kETJ89D3MRbuCX7F=rciCWzE8WCDL+w@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13931
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjPNw-0003Ck-Du@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 06:36:24 +0000

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

I hope we're all in agreement on that :)

-=3DR
On Jun 25, 2012 11:13 PM, "Mark Nottingham" <mnot@mnot.net> wrote:

>
> On 26/06/2012, at 3:49 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) wro=
te:
>
> > I agree that application level improvements have a bigger impact than
> protocol level improvements. But I think that it'd be great for the
> protocol to eliminate deficiencies for which application developers have =
to
> work around (e.g. domain sharding). There are so many web performance
> guidelines that developers need to keep in mind...the less that they have
> to do to work around protocol deficiencies, the better.
>
> Agreed on all points. The situation that we should avoid, I think, are
> protocol-level gains that *require* lots of tweaking / expertise on the
> server side. It's fine to accommodate them, of course, as long as they
> don't hurt the common case.
>
> Regards,
>
> --
> Mark Nottingham   http://www.mnot.net/
>
>
>
>

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

<p>I hope we&#39;re all in agreement on that :)</p>
<p>-=3DR</p>
<div class=3D"gmail_quote">On Jun 25, 2012 11:13 PM, &quot;Mark Nottingham&=
quot; &lt;<a href=3D"mailto:mnot@mnot.net">mnot@mnot.net</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">
<br>
On 26/06/2012, at 3:49 PM, William Chan (=E9=99=88=E6=99=BA=E6=98=8C) wrote=
:<br>
<br>
&gt; I agree that application level improvements have a bigger impact than =
protocol level improvements. But I think that it&#39;d be great for the pro=
tocol to eliminate deficiencies for which application developers have to wo=
rk around (e.g. domain sharding). There are so many web performance guideli=
nes that developers need to keep in mind...the less that they have to do to=
 work around protocol deficiencies, the better.<br>

<br>
Agreed on all points. The situation that we should avoid, I think, are prot=
ocol-level gains that *require* lots of tweaking / expertise on the server =
side. It&#39;s fine to accommodate them, of course, as long as they don&#39=
;t hurt the common case.<br>

<br>
Regards,<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>

--f46d04428d2a9912dc04c35a36b0--


From ietf-http-wg-request@listhub.w3.org  Mon Jun 25 23:43: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 98D9B11E8079 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 23:43: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ImdyfpDKTzFH for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Mon, 25 Jun 2012 23:43:58 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 0D4E521F856D for <httpbisa-archive-bis2Juki@lists.ietf.org>; Mon, 25 Jun 2012 23:43:58 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjPTK-0003VE-LR for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 06:41:58 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1SjPT6-0003UG-Tn for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 06:41:44 +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 1SjPT0-0006U8-HM for ietf-http-wg@w3.org; Tue, 26 Jun 2012 06:41:42 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 846943B080; Tue, 26 Jun 2012 06:41:16 +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 q5Q6fE7l067997; Tue, 26 Jun 2012 06:41:15 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: =?utf-8?Q?William_Chan_=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>, Henrik Frystyk Nielsen <henrikn@microsoft.com>, Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 26 Jun 2012 16:13:39 +1000." <0FB054DA-C596-4C5B-A008-13141034A5FA@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 26 Jun 2012 06:41:14 +0000
Message-ID: <67996.1340692874@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1SjPT0-0006U8-HM 67d712462d4ea85003a68d5e388c043c
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/67996.1340692874@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13932
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjPTK-0003VE-LR@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 06:41:58 +0000

In message <0FB054DA-C596-4C5B-A008-13141034A5FA@mnot.net>, Mark Nottingham wri
tes:

>> I agree that application level improvements have a bigger impact than 
>protocol level improvements. But I think that it'd be great for the 
>protocol to eliminate deficiencies for which application developers have 
>to work around (e.g. domain sharding). 

One of the biggest deficiencies in HTTP/1.x is the lack of a "session"
concept, which lead to the Cookie-Hack with all its pessimizing and
privacy-violating issues.

Even if used right (one cryptosigned session-identifier, all actual
data stored serverside) it has the sideeffect of blanket disabling
caching.

HTTP/2.0 should do better.

-- 
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  Tue Jun 26 00:15: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 D3C4421F858F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 00:15: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tLkjfncLnrms for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 00:15:26 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 56A1B21F858E for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 00:15:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjPyU-0002yx-D3 for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 07:14:10 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SjPy6-0002xC-II for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 07:13:46 +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 1SjPxx-0007oS-Vl for ietf-http-wg@w3.org; Tue, 26 Jun 2012 07:13:42 +0000
Received: (qmail invoked by alias); 26 Jun 2012 07:13:11 -0000
Received: from unknown (EHLO [42.1.1.153]) [192.147.117.12] by mail.gmx.net (mp031) with SMTP; 26 Jun 2012 09:13:11 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+xho1F0uWxatzChEh90tV/SmoUdruxHa76KilKEb JGiDi0Mgmf5pzf
Message-ID: <4FE96101.8040902@gmx.de>
Date: Tue, 26 Jun 2012 09:13:05 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <FC7937E2-B3C2-43A1-B5FF-322FB0CD10E7@mnot.net> <4FE80BB7.1040605@gmx.de> <629F79DC-E28B-491E-8D33-C229A9A68FFA@mnot.net>
In-Reply-To: <629F79DC-E28B-491E-8D33-C229A9A68FFA@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.23; envelope-from=julian.reschke@gmx.de; helo=mailout-de.gmx.net
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: 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 1SjPxx-0007oS-Vl b9d1e6fd4a47ca705016dd62fff21c06
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Advice to define where new status codes can be generated
Archived-At: <http://www.w3.org/mid/4FE96101.8040902@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13933
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjPyU-0002yx-D3@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 07:14:10 +0000

On 2012-06-26 02:39, Mark Nottingham wrote:
>
> On 25/06/2012, at 4:56 PM, Julian Reschke wrote:
>
>> On 2012-06-25 05:44, Mark Nottingham wrote:
>>> Just a quick thought: in <https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p2-semantics.html#considerations.for.new.status.codes>, we talk about guidelines for new status codes. It might be worth advising people to explicitly say whether intermediaries can generate the status code, in addition to (or instead of) the origin.
>>>
>>> Make sense?
>>
>> Probably yes. Is there a default though?
>
>
> Probably "unspecified." Which implies "both."

I believe in dog food. So if we ask for this for the codes, we should 
state it for existing ones as well. In which case having a default would 
reduce verbosity...

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jun 26 00:16: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 75EAE11E80A5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 00:16:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.599
X-Spam-Level: 
X-Spam-Status: No, score=-9.599 tagged_above=-999 required=5 tests=[AWL=-0.396, BAYES_00=-2.599, MIME_QP_LONG_LINE=1.396, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U9AIPRB8eikQ for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 00:16:25 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 878AE11E80A3 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 00:16:25 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjPzM-000351-UB for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 07:15:04 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SjPzA-00033S-7m for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 07:14:52 +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 1SjPz3-0007qk-Ba for ietf-http-wg@w3.org; Tue, 26 Jun 2012 07:14:49 +0000
Received: from [192.168.1.74] (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id F00D222DD6D; Tue, 26 Jun 2012 03:14:22 -0400 (EDT)
References: <FC7937E2-B3C2-43A1-B5FF-322FB0CD10E7@mnot.net> <4FE80BB7.1040605@gmx.de> <629F79DC-E28B-491E-8D33-C229A9A68FFA@mnot.net> <4FE96101.8040902@gmx.de>
In-Reply-To: <4FE96101.8040902@gmx.de>
Mime-Version: 1.0 (1.0)
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=us-ascii
Message-Id: <34DCB4AC-F268-4B0B-82A1-DF82127424F5@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: iPhone Mail (9B206)
From: Mark Nottingham <mnot@mnot.net>
Date: Tue, 26 Jun 2012 17:14:19 +1000
To: Julian Reschke <julian.reschke@gmx.de>
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MIME_QP_LONG_LINE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: lisa.w3.org 1SjPz3-0007qk-Ba bcbf7aa163fd7c8d268cfeb367517c12
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Advice to define where new status codes can be generated
Archived-At: <http://www.w3.org/mid/34DCB4AC-F268-4B0B-82A1-DF82127424F5@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13934
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjPzM-000351-UB@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 07:15:04 +0000

That's what I was thinking. Will start a proposal.=20

Sent from my iPhone

On 26/06/2012, at 5:13 PM, Julian Reschke <julian.reschke@gmx.de> wrote:

> On 2012-06-26 02:39, Mark Nottingham wrote:
>>=20
>> On 25/06/2012, at 4:56 PM, Julian Reschke wrote:
>>=20
>>> On 2012-06-25 05:44, Mark Nottingham wrote:
>>>> Just a quick thought: in <https://svn.tools.ietf.org/svn/wg/httpbis/dra=
ft-ietf-httpbis/latest/p2-semantics.html#considerations.for.new.status.codes=
>, we talk about guidelines for new status codes. It might be worth advising=
 people to explicitly say whether intermediaries can generate the status cod=
e, in addition to (or instead of) the origin.
>>>>=20
>>>> Make sense?
>>>=20
>>> Probably yes. Is there a default though?
>>=20
>>=20
>> Probably "unspecified." Which implies "both."
>=20
> I believe in dog food. So if we ask for this for the codes, we should stat=
e it for existing ones as well. In which case having a default would reduce v=
erbosity...
>=20
> Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Tue Jun 26 00:32: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 BFA1721F8557 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 00:32:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.29
X-Spam-Level: 
X-Spam-Status: No, score=-10.29 tagged_above=-999 required=5 tests=[AWL=0.309, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KDf9634HzIYi for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 00:32:07 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 3DE3421F8568 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 00:32:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjQEn-00017Q-77 for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 07:31:01 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SjQEI-00009I-Am for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 07:30: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 1SjQE9-0008TP-SY for ietf-http-wg@w3.org; Tue, 26 Jun 2012 07:30:27 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D39BD22E253; Tue, 26 Jun 2012 03:29:58 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <67996.1340692874@critter.freebsd.dk>
Date: Tue, 26 Jun 2012 17:29:55 +1000
Cc: =?utf-8?Q?William_Chan_=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>, Henrik Frystyk Nielsen <henrikn@microsoft.com>, Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
Content-Transfer-Encoding: quoted-printable
Message-Id: <9A91F932-2F1C-4931-AD0E-8A2A4CE0A2A4@mnot.net>
References: <67996.1340692874@critter.freebsd.dk>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
X-Mailer: Apple Mail (2.1278)
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.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 1SjQE9-0008TP-SY 8e917e0c9c3c6062b67d4d69f5e39f46
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/9A91F932-2F1C-4931-AD0E-8A2A4CE0A2A4@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13935
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjQEn-00017Q-77@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 07:31:01 +0000

On 26/06/2012, at 4:41 PM, Poul-Henning Kamp wrote:

> One of the biggest deficiencies in HTTP/1.x is the lack of a "session"
> concept, which lead to the Cookie-Hack with all its pessimizing and
> privacy-violating issues.
>=20
> Even if used right (one cryptosigned session-identifier, all actual
> data stored serverside) it has the sideeffect of blanket disabling
> caching.
>=20
> HTTP/2.0 should do better.

I have a hard time seeing how that's in the current scope of discussion.

Part of the reason that this sort of thing is out of scope is that it's =
a big rat hole, and the more we take on redesigning, the less likely =
we'll be able to ship something and have it deployed.

New features can and should be layered onto HTTP independently of the =
version identifier, which is for identifying the wire protocol, not =
fine-grained feature negotiation.=20

See <http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.1>:=20

> The protocol versioning policy is intended to allow the sender to =
indicate the format of a message and its capacity for understanding =
further HTTP communication, rather than the features obtained via that =
communication. No change is made to the version number for the addition =
of message components which do not affect communication behavior or =
which only add to extensible field values. The <minor> number is =
incremented when the changes made to the protocol add features which do =
not change the general message parsing algorithm, but which may add to =
the message semantics and imply additional capabilities of the sender.

... and RFC2145.

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Tue Jun 26 00:38: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 084AF21F8595 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 00:38:30 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FAf+akUg1R-v for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 00:38:29 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 71C7121F8551 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 00:38:29 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjQLK-0002By-QT for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 07:37:46 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <phk@phk.freebsd.dk>) id 1SjQKv-00029m-Kd for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 07:37:21 +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 1SjQKs-0005up-Ug for ietf-http-wg@w3.org; Tue, 26 Jun 2012 07:37:20 +0000
Received: from critter.freebsd.dk (unknown [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id DBE963B5A5; Tue, 26 Jun 2012 07:36:57 +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 q5Q7auRf068246; Tue, 26 Jun 2012 07:36:56 GMT (envelope-from phk@phk.freebsd.dk)
To: Mark Nottingham <mnot@mnot.net>
cc: =?utf-8?Q?William_Chan_=28=E9=99=88=E6=99=BA=E6=98=8C=29?= <willchan@chromium.org>, Henrik Frystyk Nielsen <henrikn@microsoft.com>, Roberto Peon <grmocg@gmail.com>, HTTP Working Group <ietf-http-wg@w3.org>, Howard Dierking <howard@microsoft.com>
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
In-Reply-To: Your message of "Tue, 26 Jun 2012 17:29:55 +1000." <9A91F932-2F1C-4931-AD0E-8A2A4CE0A2A4@mnot.net>
Content-Type: text/plain; charset=ISO-8859-1
Date: Tue, 26 Jun 2012 07:36:56 +0000
Message-ID: <68245.1340696216@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=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SjQKs-0005up-Ug 4277df23a0084e74face2f5c5b736d56
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Performance implications of Bundling and Minification on HTTP/1.1
Archived-At: <http://www.w3.org/mid/68245.1340696216@critter.freebsd.dk>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13936
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjQLK-0002By-QT@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 07:37:46 +0000

In message <9A91F932-2F1C-4931-AD0E-8A2A4CE0A2A4@mnot.net>, Mark Nottingham wri
tes:

>> Even if used right (one cryptosigned session-identifier, all actual
>> data stored serverside) it has the sideeffect of blanket disabling
>> caching.
>>
>> HTTP/2.0 should do better.
>
>I have a hard time seeing how that's in the current scope of discussion.
>
>Part of the reason that this sort of thing is out of scope is that it's
>a big rat hole, and the more we take on redesigning, the less likely
>we'll be able to ship something and have it deployed.

Rule #1 in design: Always make it easier for people to do the right thing.

HTTP/2.0 should provide a session-concept which makes it easier to
do the right thing.

If we do that right, cookies will die in their own time.

-- 
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  Tue Jun 26 05:32: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 3C80221F8568 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 05:32: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jUSate5sAeok for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 05:32:46 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A647921F85D1 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 05:32:46 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjUu3-0005li-GZ for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 12:29:55 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <pmcmanus@mozilla.com>) id 1SjUtr-0005jz-KY for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 12:29:43 +0000
Received: from linode.ducksong.com ([64.22.125.164]) by lisa.w3.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from <pmcmanus@mozilla.com>) id 1SjUtm-0005de-J3 for ietf-http-wg@w3.org; Tue, 26 Jun 2012 12:29:42 +0000
Received: by linode.ducksong.com (Postfix, from userid 1000) id D6B331062C; Tue, 26 Jun 2012 08:29:39 -0400 (EDT)
Received: from [192.168.16.226] (cpe-74-78-161-41.twcny.res.rr.com [74.78.161.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id A56E910627; Tue, 26 Jun 2012 08:29:35 -0400 (EDT)
Message-ID: <1340713746.10152.121.camel@ds9>
From: Patrick McManus <pmcmanus@mozilla.com>
To: Henrik Frystyk Nielsen <henrikn@microsoft.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Date: Tue, 26 Jun 2012 08:29:06 -0400
In-Reply-To: <3605BA99C081B54EA9B65B3E33316AF7346EA78A@CH1PRD0310MB392.namprd03.prod.outlook.com>
References:  <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com> <1340646496.10152.113.camel@ds9> <3605BA99C081B54EA9B65B3E33316AF7346EA78A@CH1PRD0310MB392.namprd03.prod.outlook.com>
Organization: 
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.2.3-0ubuntu6 
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Received-SPF: none client-ip=64.22.125.164; envelope-from=pmcmanus@mozilla.com; helo=linode.ducksong.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9
X-W3C-Scan-Sig: lisa.w3.org 1SjUtm-0005de-J3 894982db899cdf75be505a74df471644
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on    HTTP/1.1
Archived-At: <http://www.w3.org/mid/1340713746.10152.121.camel@ds9>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13937
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjUu3-0005li-GZ@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 12:29:55 +0000

On Mon, 2012-06-25 at 20:12 +0000, Henrik Frystyk Nielsen wrote:
> Patrick,

Thanks Henrik,

I was just trying to tease out the byte savings of minification, vs
bundling, vs compression in all of their combinations which the blog
post didn't get into.. 


> Are you thinking of externalizing the compression dictionary and reuse it across resources? 

It's a possibility to consider - that's all. SPDY already does it with
headers. I could imagine having a small set of dictionaries for
different classes of content (headers, markup, etc..).. I'm not
advocating that here, just trying to scrounge info from your data
points :)





From ietf-http-wg-request@listhub.w3.org  Tue Jun 26 07:52: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 8516A21F8568 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 07:52:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.032
X-Spam-Level: 
X-Spam-Status: No, score=-6.032 tagged_above=-999 required=5 tests=[AWL=1.394, BAYES_00=-2.599, MIME_BASE64_BLANKS=0.041, RCVD_IN_DNSWL_HI=-8, UNRESOLVED_TEMPLATE=3.132]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nX37ugMnVe+C for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 07:52:24 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 7D1CD21F8567 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 07:52:24 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjX6l-0002NC-3N for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 14:51:11 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <henrikn@microsoft.com>) id 1SjX6T-0002KE-93 for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 14:50:53 +0000
Received: from am1ehsobe006.messaging.microsoft.com ([213.199.154.209] helo=am1outboundpool.messaging.microsoft.com) by lisa.w3.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from <henrikn@microsoft.com>) id 1SjX6N-0003mg-82 for ietf-http-wg@w3.org; Tue, 26 Jun 2012 14:50:51 +0000
Received: from mail121-am1-R.bigfish.com (10.3.201.233) by AM1EHSOBE008.bigfish.com (10.3.204.28) with Microsoft SMTP Server id 14.1.225.23; Tue, 26 Jun 2012 14:48:40 +0000
Received: from mail121-am1 (localhost [127.0.0.1])	by mail121-am1-R.bigfish.com (Postfix) with ESMTP id EE7021E0450	for <ietf-http-wg@w3.org>; Tue, 26 Jun 2012 14:48:39 +0000 (UTC)
X-Forefront-Antispam-Report: CIP:131.107.125.8;KIP:(null);UIP:(null);IPV:NLI;H:TK5EX14MLTC103.redmond.corp.microsoft.com;RD:none;EFVD:NLI
X-SpamScore: -7
X-BigFish: VS-7(zz98dI936eI542Mzz1202hzz8275dhz2fh2a8h683h839h93fhd25hf0ah)
Received-SPF: pass (mail121-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=henrikn@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ;icrosoft.com ;
X-Forefront-Antispam-Report-Untrusted: CIP:157.56.244.37;KIP:(null);UIP:(null);(null);H:CH1PRD0310HT005.namprd03.prod.outlook.com;R:internal;EFV:INT
Received: from mail121-am1 (localhost.localdomain [127.0.0.1]) by mail121-am1 (MessageSwitch) id 134072211876732_15987; Tue, 26 Jun 2012 14:48:38 +0000 (UTC)
Received: from AM1EHSMHS010.bigfish.com (unknown [10.3.201.245])	by mail121-am1.bigfish.com (Postfix) with ESMTP id 0EF1840050	for <ietf-http-wg@w3.org>; Tue, 26 Jun 2012 14:48:38 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS010.bigfish.com (10.3.207.110) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 26 Jun 2012 14:48:37 +0000
Received: from va3outboundpool.messaging.microsoft.com (157.54.51.112) by mail.microsoft.com (157.54.79.174) with Microsoft SMTP Server (TLS) id 14.2.298.5; Tue, 26 Jun 2012 14:49:50 +0000
Received: from mail164-va3-R.bigfish.com (10.7.14.248) by VA3EHSOBE007.bigfish.com (10.7.40.11) with Microsoft SMTP Server id 14.1.225.23; Tue, 26 Jun 2012 14:48:01 +0000
Received: from mail164-va3 (localhost [127.0.0.1])	by mail164-va3-R.bigfish.com (Postfix) with ESMTP id EBB6C340143	for <ietf-http-wg@w3.org.FOPE.CONNECTOR.OVERRIDE>; Tue, 26 Jun 2012 14:48:00 +0000 (UTC)
Received: from mail164-va3 (localhost.localdomain [127.0.0.1]) by mail164-va3 (MessageSwitch) id 1340722079431397_13932; Tue, 26 Jun 2012 14:47:59 +0000 (UTC)
Received: from VA3EHSMHS031.bigfish.com (unknown [10.7.14.238])	by mail164-va3.bigfish.com (Postfix) with ESMTP id 62CC73C0048;	Tue, 26 Jun 2012 14:47:59 +0000 (UTC)
Received: from CH1PRD0310HT005.namprd03.prod.outlook.com (157.56.244.37) by VA3EHSMHS031.bigfish.com (10.7.99.41) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 26 Jun 2012 14:47:56 +0000
Received: from CH1PRD0310MB392.namprd03.prod.outlook.com ([169.254.6.244]) by CH1PRD0310HT005.namprd03.prod.outlook.com ([10.255.137.40]) with mapi id 14.16.0152.000; Tue, 26 Jun 2012 14:49:36 +0000
From: Henrik Frystyk Nielsen <henrikn@microsoft.com>
To: Patrick McManus <pmcmanus@mozilla.com>
CC: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Thread-Topic: Performance implications of Bundling and Minification on HTTP/1.1
Thread-Index: AQHNU5eDSgUIgXyucEmFzgeAqGWP3JcMrTMA
Date: Tue, 26 Jun 2012 14:49:35 +0000
Message-ID: <3605BA99C081B54EA9B65B3E33316AF7346FFBD5@CH1PRD0310MB392.namprd03.prod.outlook.com>
References: <3605BA99C081B54EA9B65B3E33316AF7346C8551@CH1PRD0310MB392.namprd03.prod.outlook.com> <CABaLYCtfaDfXoahnvOW18-5NtW4cq08sgKvAsBSA5wiircTP3g@mail.gmail.com> <1340646496.10152.113.camel@ds9> <3605BA99C081B54EA9B65B3E33316AF7346EA78A@CH1PRD0310MB392.namprd03.prod.outlook.com> <1340713746.10152.121.camel@ds9>
In-Reply-To: <1340713746.10152.121.camel@ds9>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [24.16.154.150]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OrganizationHeadersPreserved: CH1PRD0310HT005.namprd03.prod.outlook.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%MOZILLA.COM$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-FOPE-CONNECTOR: Id%59$Dn%W3.ORG$RO%2$TLS%6$FQDN%131.107.125.5$TlsDn%
X-CrossPremisesHeadersPromoted: TK5EX14MLTC103.redmond.corp.microsoft.com
X-CrossPremisesHeadersFiltered: TK5EX14MLTC103.redmond.corp.microsoft.com
X-OriginatorOrg: microsoft.com
Received-SPF: pass client-ip=213.199.154.209; envelope-from=henrikn@microsoft.com; helo=am1outboundpool.messaging.microsoft.com
X-W3C-Hub-Spam-Status: No, score=-1.4
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, MIME_BASE64_BLANKS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, UNRESOLVED_TEMPLATE=1.252
X-W3C-Scan-Sig: lisa.w3.org 1SjX6N-0003mg-82 27d2a0b329951e2fa7160206c543ad3a
X-Original-To: ietf-http-wg@w3.org
Subject: RE: Performance implications of Bundling and Minification on    HTTP/1.1
Archived-At: <http://www.w3.org/mid/3605BA99C081B54EA9B65B3E33316AF7346FFBD5@CH1PRD0310MB392.namprd03.prod.outlook.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13938
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjX6l-0002NC-3N@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 14:51:11 +0000

UGF0cmljaywNCg0KQmpvZXJuIGFza2VkIGEgc2ltaWxhciBxdWVzdGlvbiBhbmQgc28gSSBjb21w
dXRlZCB0aGUgImp1c3QgY29uY2F0ZW5hdGlvbiBwbHVzIGNvbXByZXNzaW9uIiBudW1iZXJzIGxp
c3RlZCBpbiBbMV0gYnV0IGluY2x1ZGVkIGhlcmUgZm9yIGNvbnZlbmllbmNlOg0KDQpDb21wcmVz
c2luZyA2IENTUyBpbmRpdmlkdWFsbHk6ICAgICAgICAgICAgICAgNzc0OTUgYnl0ZXMNCkNvbXBy
ZXNzaW5nIHRoZSBtaW5pZmllZCBDU1MgYnVuZGxlOiAgICA2OTgwMyBieXRlcw0KQ29tcHJlc3Np
b24gdGhlIDYgY29uY2F0ZW5hdGVkIGZpbGVzOiAgNzUyMzAgYnl0ZXMNCg0KVGhlIHNpemUgZGlm
ZmVyZW5jZSBpcyBzdGlsbCBub3RpY2VhYmxlICg3NTIzMCAtIDY5ODAzID0gNTQyNyBieXRlcyk6
DQoNCkhlbnJpaw0KDQpbMV0gaHR0cDovL2xpc3RzLnczLm9yZy9BcmNoaXZlcy9QdWJsaWMvaWV0
Zi1odHRwLXdnLzIwMTJBcHJKdW4vMDc4NS5odG1sDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0t
LS0tDQpGcm9tOiBQYXRyaWNrIE1jTWFudXMgW21haWx0bzpwbWNtYW51c0Btb3ppbGxhLmNvbV0g
DQpTZW50OiBUdWVzZGF5LCBKdW5lIDI2LCAyMDEyIDA1OjI5DQpUbzogSGVucmlrIEZyeXN0eWsg
TmllbHNlbg0KQ2M6IGlldGYtaHR0cC13Z0B3My5vcmcNClN1YmplY3Q6IFJFOiBQZXJmb3JtYW5j
ZSBpbXBsaWNhdGlvbnMgb2YgQnVuZGxpbmcgYW5kIE1pbmlmaWNhdGlvbiBvbiBIVFRQLzEuMQ0K
DQpPbiBNb24sIDIwMTItMDYtMjUgYXQgMjA6MTIgKzAwMDAsIEhlbnJpayBGcnlzdHlrIE5pZWxz
ZW4gd3JvdGU6DQo+IFBhdHJpY2ssDQoNClRoYW5rcyBIZW5yaWssDQoNCkkgd2FzIGp1c3QgdHJ5
aW5nIHRvIHRlYXNlIG91dCB0aGUgYnl0ZSBzYXZpbmdzIG9mIG1pbmlmaWNhdGlvbiwgdnMgYnVu
ZGxpbmcsIHZzIGNvbXByZXNzaW9uIGluIGFsbCBvZiB0aGVpciBjb21iaW5hdGlvbnMgd2hpY2gg
dGhlIGJsb2cgcG9zdCBkaWRuJ3QgZ2V0IGludG8uLiANCg0KDQo+IEFyZSB5b3UgdGhpbmtpbmcg
b2YgZXh0ZXJuYWxpemluZyB0aGUgY29tcHJlc3Npb24gZGljdGlvbmFyeSBhbmQgcmV1c2UgaXQg
YWNyb3NzIHJlc291cmNlcz8gDQoNCkl0J3MgYSBwb3NzaWJpbGl0eSB0byBjb25zaWRlciAtIHRo
YXQncyBhbGwuIFNQRFkgYWxyZWFkeSBkb2VzIGl0IHdpdGggaGVhZGVycy4gSSBjb3VsZCBpbWFn
aW5lIGhhdmluZyBhIHNtYWxsIHNldCBvZiBkaWN0aW9uYXJpZXMgZm9yIGRpZmZlcmVudCBjbGFz
c2VzIG9mIGNvbnRlbnQgKGhlYWRlcnMsIG1hcmt1cCwgZXRjLi4pLi4gSSdtIG5vdCBhZHZvY2F0
aW5nIHRoYXQgaGVyZSwganVzdCB0cnlpbmcgdG8gc2Nyb3VuZ2UgaW5mbyBmcm9tIHlvdXIgZGF0
YSBwb2ludHMgOikNCg0KDQoNCg0KDQoNCg==




From ietf-http-wg-request@listhub.w3.org  Tue Jun 26 08:26: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 2A18A21F85FF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 08:26: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tOJLjFzz6sAr for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 08:26:32 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 8591E21F85AE for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 08:26:32 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjXcS-00014D-Fm for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 15:23:56 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <JSullivan@velocix.com>) id 1SjXc7-0000ze-UF for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 15:23:35 +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 <JSullivan@velocix.com>) id 1SjXby-0007xt-LW for ietf-http-wg@w3.org; Tue, 26 Jun 2012 15:23:34 +0000
Received: from orthrus.eng.velocix.com (172.18.32.42) by exccam.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Tue, 26 Jun 2012 16:22:59 +0100
Message-ID: <4FE9D3D3.60108@velocix.com>
Date: Tue, 26 Jun 2012 16:22:59 +0100
From: John Sullivan <jsullivan@velocix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
References: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net> <4FE5A863.8070903@gmx.de> <8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net>
In-Reply-To: <8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.18.32.42]
Received-SPF: none client-ip=81.134.152.10; envelope-from=JSullivan@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SjXby-0007xt-LW 7374256a84f12fbf3a5067b23339853d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #363: rare cases
Archived-At: <http://www.w3.org/mid/4FE9D3D3.60108@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13939
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjXcS-00014D-Fm@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 15:23:56 +0000

Mark Nottingham wrote:
> Now <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/363>.
> 
> 
> On 23/06/2012, at 9:28 PM, Julian Reschke wrote:
> 
>>> "HTTP/1.0 clients and caches might ignore entity-tags. Generally, last-modified values received or used by these systems will support transparent and efficient caching, and so HTTP/1.1 origin servers SHOULD provide Last-Modified values. In those rare cases where the use of a Last-Modified value as a validator by an HTTP/1.0 system could result in a serious problem, then HTTP/1.1 origin servers SHOULD NOT provide one."
>>> 
>>> DESIGN - What are the "rare cases" being talked about here, and how are servers supposed to detect them?
>> 
>> Good question. We may want to drop this.

1) Algorithmically generated output where ETag can represent the
current control or seed values directly, but generating Last-Modified
would require extra persistent storage.

1b) Resources gatewayed from systems that have no concept of
last-modification time, but ETag along with the URL can again
represent parameters that are guaranteed to retrieve the same
entity or detect a change/error.

2) Rapidly changing, but cacheable, resources, where the origin knows
that Last-Modified could never become strong by S13.3.3. Normally
harmless but pointless. If it suspects that a downstream would
wrongly use the weak Last-Modified where it shouldn't, then it might
want to avoid that dangerous possibility altogether.

John
-- 


From ietf-http-wg-request@listhub.w3.org  Tue Jun 26 16:24: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 24F0111E80D7 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 16:24:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.295
X-Spam-Level: 
X-Spam-Status: No, score=-10.295 tagged_above=-999 required=5 tests=[AWL=0.304, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v+91VEtipZtD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 16:24:38 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id A58B111E80A6 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 16:24:37 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sjf62-0001DJ-P4 for ietf-http-wg-dist@listhub.w3.org; Tue, 26 Jun 2012 23:22:58 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1Sjf5Z-0001C2-J6 for ietf-http-wg@listhub.w3.org; Tue, 26 Jun 2012 23:22: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 1Sjf5W-0001PE-Bv for ietf-http-wg@w3.org; Tue, 26 Jun 2012 23:22:27 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id CCD2222E1F4; Tue, 26 Jun 2012 19:22:03 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=windows-1252
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE9D3D3.60108@velocix.com>
Date: Wed, 27 Jun 2012 09:22:00 +1000
Cc: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <2B59E8BE-F3C9-4931-BE3F-D3E763A12832@mnot.net>
References: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net> <4FE5A863.8070903@gmx.de> <8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net> <4FE9D3D3.60108@velocix.com>
To: John Sullivan <jsullivan@velocix.com>
X-Mailer: Apple Mail (2.1278)
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.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 1Sjf5W-0001PE-Bv 0f58dc539233bb77a1e70d996c29eced
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #363: rare cases
Archived-At: <http://www.w3.org/mid/2B59E8BE-F3C9-4931-BE3F-D3E763A12832@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13940
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sjf62-0001DJ-P4@frink.w3.org>
Resent-Date: Tue, 26 Jun 2012 23:22:58 +0000

On 27/06/2012, at 1:22 AM, John Sullivan wrote:

> Mark Nottingham wrote:
>> Now <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/363>.
>>=20
>>=20
>> On 23/06/2012, at 9:28 PM, Julian Reschke wrote:
>>=20
>>>> "HTTP/1.0 clients and caches might ignore entity-tags. Generally, =
last-modified values received or used by these systems will support =
transparent and efficient caching, and so HTTP/1.1 origin servers SHOULD =
provide Last-Modified values. In those rare cases where the use of a =
Last-Modified value as a validator by an HTTP/1.0 system could result in =
a serious problem, then HTTP/1.1 origin servers SHOULD NOT provide one."
>>>>=20
>>>> DESIGN - What are the "rare cases" being talked about here, and how =
are servers supposed to detect them?
>>>=20
>>> Good question. We may want to drop this.
>=20
> 1) Algorithmically generated output where ETag can represent the
> current control or seed values directly, but generating Last-Modified
> would require extra persistent storage.
>=20
> 1b) Resources gatewayed from systems that have no concept of
> last-modification time, but ETag along with the URL can again
> represent parameters that are guaranteed to retrieve the same
> entity or detect a change/error.
>=20
> 2) Rapidly changing, but cacheable, resources, where the origin knows
> that Last-Modified could never become strong by S13.3.3. Normally
> harmless but pointless. If it suspects that a downstream would
> wrongly use the weak Last-Modified where it shouldn't, then it might
> want to avoid that dangerous possibility altogether.


Those are reasons not to generate a LM, but they aren't specific to =
HTTP/1.0 -- agreed?

I can see dropping the last sentence and qualifying the remaining SHOULD =
with these sorts of reasons, but not retaining it.

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Tue Jun 26 19:07: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 B2C2811E80FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 19:07:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.159
X-Spam-Level: 
X-Spam-Status: No, score=-10.159 tagged_above=-999 required=5 tests=[AWL=0.440, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0QZJpMLJbI3a for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 19:07:21 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id ADA2611E80EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 19:07:21 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjhcV-0000Us-6s for ietf-http-wg-dist@listhub.w3.org; Wed, 27 Jun 2012 02:04:39 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SjhcC-0000Ty-K1 for ietf-http-wg@listhub.w3.org; Wed, 27 Jun 2012 02:04:20 +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 1Sjhc9-0004aT-AM for ietf-http-wg@w3.org; Wed, 27 Jun 2012 02:04:18 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 24FEA22DD6D for <ietf-http-wg@w3.org>; Tue, 26 Jun 2012 22:03:54 -0400 (EDT)
Content-Type: text/plain; charset=iso-8859-1
Mime-Version: 1.0 (Apple Message framework v1278)
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE45AD8.3080801@velocix.com>
Date: Wed, 27 Jun 2012 12:03:51 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <F2B07AA1-9D24-4BF8-BDC0-50A16942322B@mnot.net>
References: <B5E63193-2450-41AD-A3AA-047755F2189D@niven-jenkins.co.uk> <6B348243-BC1C-48C0-822A-1649FDAF7091@mnot.net> <F65ED7E8-7B71-4DFC-98BC-51FCC1B4936B@mnot.net> <CACuKZqHdp2_sL=V9pg1cnTrYOwWjAzh4+d-wh+qpnFRzONyQ-g@mail.gmail.com> <4DEBDF43-17B3-4EA7-A014-46932F037CCA@mnot.net> <4FE45AD8.3080801@velocix.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1Sjhc9-0004aT-AM 0c89ae5a1b6d3d7ddd2ba8b74c76e33a
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #354 - ETags & conditional requests
Archived-At: <http://www.w3.org/mid/F2B07AA1-9D24-4BF8-BDC0-50A16942322B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13941
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjhcV-0000Us-6s@frink.w3.org>
Resent-Date: Wed, 27 Jun 2012 02:04:39 +0000

Haven't heard any objection, so I've assigned for incorporation in -20.


On 22/06/2012, at 9:45 PM, John Sullivan wrote:

> Mark Nottingham wrote:
>> Of course, thanks; I always forget about the Range cases.
>>=20
>> How about:
>>=20
>> """
>> If any of the entity-tags listed in the If-Match field value match =
(as per Section 2.3.2) the entity-tag of the selected representation for =
the target resource, or if "*" is given and any current representation =
exists for the target resource, then the server may perform the request =
method as if the If-Match header field was not present.
>>=20
>> Origin servers must not perform the requested method if none of the =
entity-tags match, or if "*" is given and no current representation =
exists; instead, they must respond with the 412 (Precondition Failed) =
status code.
>>=20
>> Proxy servers using a cached response as the selected representation =
must not perform the requested method if none of the entity-tags match, =
or if "*" is given and no current representation exists; instead, they =
must forward the request towards the origin server.
>> """
>=20
> That sounds good to me - just a minor question about the wording:
>=20
>    If any of the entity-tags listed in the If-Match field value match
>    (as per Section 2.3.2) the entity-tag of the selected =
representation
>    for the target resource
>=20
> That makes it sound like, in cases where the server has multiple
> representations available, it will first choose one, *then* compare
> with If-Match. (So if several equivalent versions are available and
> If-Match contains one ETag, and the server chooses the "wrong" one
> in step 1, it will always fail to match in step 2.) I just wondered
> whether the opposite way is specifically excluded: search the =
available
> versions for one matching an ETag present in If-Match, which will =
always
> succeed if a matching representation is present.
>=20
>=20
>> On 22/06/2012, at 1:43 AM, Zhong Yu wrote:
>>=20
>>> A valid use case for GET + If-Match may be a range request.
>>>=20
>>> If the intermediary has a cached representation with matching tag,
>>> which it has reason to believe would be the "selected =
representation"
>>> from the original server, the intermediary may safely do the =
shortcut.
>>> Otherwise the request has to be forwarded to the original server.
>>>=20
>>> Zhong Yu
>>>=20
>>> On Wed, Jun 20, 2012 at 10:47 PM, Mark Nottingham <mnot@mnot.net> =
wrote:
>>>> <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/354>; related =
text is at =
<https://svn.tools.ietf.org/svn/wg/httpbis/draft-ietf-httpbis/latest/p4-co=
nditional.html#header.if-match>
>>>>=20
>>>> Usually, this isn't a problem, because If-Match is only used with =
methods that to be written through to the origin server. E.g., when you =
PUT or POST something.
>>>>=20
>>>> However, we shouldn't count on that.
>>>>=20
>>>> One way to address this would be to target the requirements at =
"origin server" rather than "server"; i.e. to say that we don't expect =
intermediaries to process If-Match.
>>>>=20
>>>> Thoughts?
>>>>=20
>>>>=20
>>>> On 24/04/2012, at 3:47 AM, Ben Niven-Jenkins wrote:
>>>>=20
>>>>> Hi,
>>>>>=20
>>>>> Apologies that this mail misses the WG LC deadline, in Velocix =
we're reviewing all the HTTPBIS documents but we're a little behind, =
hence the late comments, sorry. (we're still reviewing so might have =
more comments as we work through the documents)
>>>>>=20
>>>>> On page 14 of P4 it states:
>>>>>=20
>>>>> If none of the entity-tags match, or if "*" is given and no =
current
>>>>> representation exists, the server MUST NOT perform the requested
>>>>> method.  Instead, the server MUST respond with the 412 =
(Precondition
>>>>> Failed) status code.
>>>>>=20
>>>>> This appears to apply to intermediates, but If-Match has a problem
>>>>> here that If-Unmodified-Since does not. If a proxy has a cached
>>>>> entity which has a newer Last-Modified timestamp it *knows* that
>>>>> the conditional has failed and can generate the required
>>>>> 412 Precondition Failed response itself. Otherwise it can satisfy
>>>>> the request from cache. Or relay if there is no current cached
>>>>> version.
>>>>>=20
>>>>> But because multiple responses with different ETags may exist then =
a cache receiving If-Match with one etag, when it has a different etag =
cached, can not know for sure that the request etag does not exist. If =
it were to respond with a 412 status it would effectively be preventing =
the use of that conditional.
>>>>>=20
>>>>> It would appear that the only two options available to an =
intermediate are to satisfy the request in the case of a known match, =
and relay upstream in all other cases (which would be in conflict with =
the spec as quoted above).
>>>>>=20
>>>>> Thanks
>>>>> Ben
>>>>>=20
>>>>>=20
>>>>=20
>>>> --
>>>> Mark Nottingham   http://www.mnot.net/
>>>>=20
>>>>=20
>>>>=20
>>>>=20
>>=20
>> --
>> Mark Nottingham   http://www.mnot.net/
>>=20
>>=20
>>=20
>>=20
>>=20
>=20
>=20
> John
> --=20
>=20

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





From ietf-http-wg-request@listhub.w3.org  Tue Jun 26 19:34: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 431F611E80FD for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 19:34:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.357
X-Spam-Level: 
X-Spam-Status: No, score=-9.357 tagged_above=-999 required=5 tests=[AWL=1.242, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6RKftHmHHtHp for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 19:34:00 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 9E85911E80EF for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 19:34:00 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sji3i-0005ac-Cj for ietf-http-wg-dist@listhub.w3.org; Wed, 27 Jun 2012 02:32:46 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <squid3@treenet.co.nz>) id 1Sji3T-0005Zg-TY for ietf-http-wg@listhub.w3.org; Wed, 27 Jun 2012 02:32:31 +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 1Sji3Q-0007nf-OP for ietf-http-wg@w3.org; Wed, 27 Jun 2012 02:32:30 +0000
Received: by treenet.co.nz (Postfix, from userid 33) id 0E81EE6EE7; Wed, 27 Jun 2012 14:32:03 +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, 27 Jun 2012 14:32:03 +1200
From: Amos Jeffries <squid3@treenet.co.nz>
In-Reply-To: <2B59E8BE-F3C9-4931-BE3F-D3E763A12832@mnot.net>
References: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net> <4FE5A863.8070903@gmx.de> <8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net> <4FE9D3D3.60108@velocix.com> <2B59E8BE-F3C9-4931-BE3F-D3E763A12832@mnot.net>
Message-ID: <59e19a50180cec1e99e43011b674697a@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=-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 1Sji3Q-0007nf-OP bcd700a79fc7062565f4c850bafe9da9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #363: rare cases
Archived-At: <http://www.w3.org/mid/59e19a50180cec1e99e43011b674697a@treenet.co.nz>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13942
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sji3i-0005ac-Cj@frink.w3.org>
Resent-Date: Wed, 27 Jun 2012 02:32:46 +0000

On 27.06.2012 11:22, Mark Nottingham wrote:
> On 27/06/2012, at 1:22 AM, John Sullivan wrote:
>
>> Mark Nottingham wrote:
>>> Now <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/363>.
>>>
>>>
>>> On 23/06/2012, at 9:28 PM, Julian Reschke wrote:
>>>
>>>>> "HTTP/1.0 clients and caches might ignore entity-tags. Generally, 
>>>>> last-modified values received or used by these systems will support 
>>>>> transparent and efficient caching, and so HTTP/1.1 origin servers 
>>>>> SHOULD provide Last-Modified values. In those rare cases where the 
>>>>> use of a Last-Modified value as a validator by an HTTP/1.0 system 
>>>>> could result in a serious problem, then HTTP/1.1 origin servers 
>>>>> SHOULD NOT provide one."
>>>>>
>>>>> DESIGN - What are the "rare cases" being talked about here, and 
>>>>> how are servers supposed to detect them?
>>>>
>>>> Good question. We may want to drop this.
>>
>> 1) Algorithmically generated output where ETag can represent the
>> current control or seed values directly, but generating 
>> Last-Modified
>> would require extra persistent storage.
>>
>> 1b) Resources gatewayed from systems that have no concept of
>> last-modification time, but ETag along with the URL can again
>> represent parameters that are guaranteed to retrieve the same
>> entity or detect a change/error.
>>
>> 2) Rapidly changing, but cacheable, resources, where the origin 
>> knows
>> that Last-Modified could never become strong by S13.3.3. Normally
>> harmless but pointless.

This bit ...

>> If it suspects that a downstream would
>> wrongly use the weak Last-Modified where it shouldn't, then it might
>> want to avoid that dangerous possibility altogether.

... seems to be repeating the "rare cases" clause. Again with no 
supporting evidence for its existence, or identifiable way the origin 
might know about *future* downstream caching decisions.


To me the clause looks like dependence on the "evil bit" or equivalent 
being sent.


Although if the request was sent with a Date: which was noticeably out 
of sync with the servers own clock or some IMS timestamp in the future. 
Those could be a sign that the downstream is not able to depend on 
timestamps like LM properly. But I wouldn't bet on that either with the 
clockless algorithms.


Drawing at straws here it may be referring to the (hopefully rare) case 
of a server being required to add a Date: to a response with 
Last-Modified already in place? (ie CGI script created hedes being 
processed by an origin).
  In that case would it be better to add the Date and drop the 
Last-Modified? or simply not add the Date? (violating part 2 section 
10.2)

AYJ



From ietf-http-wg-request@listhub.w3.org  Tue Jun 26 21:04: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 3068111E808F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 21:04:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.847
X-Spam-Level: 
X-Spam-Status: No, score=-9.847 tagged_above=-999 required=5 tests=[AWL=0.752, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dipOeiJNwI+G for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Tue, 26 Jun 2012 21:04:53 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 382EA11E80A4 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Tue, 26 Jun 2012 21:04:53 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjjSo-0001EJ-1e for ietf-http-wg-dist@listhub.w3.org; Wed, 27 Jun 2012 04:02:46 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SjjST-0001DQ-Bw for ietf-http-wg@listhub.w3.org; Wed, 27 Jun 2012 04:02: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 1SjjSQ-0008Pi-MH for ietf-http-wg@w3.org; Wed, 27 Jun 2012 04:02:24 +0000
Received: from mnot-mini.mnot.net (unknown [118.209.196.77]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id D522422E1F4; Wed, 27 Jun 2012 00:01:59 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=us-ascii
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <59e19a50180cec1e99e43011b674697a@treenet.co.nz>
Date: Wed, 27 Jun 2012 14:01:56 +1000
Cc: <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <21E89BD2-7C7E-45E4-9537-34ED6956D55B@mnot.net>
References: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net> <4FE5A863.8070903@gmx.de> <8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net> <4FE9D3D3.60108@velocix.com> <2B59E8BE-F3C9-4931-BE3F-D3E763A12832@mnot.net> <59e19a50180cec1e99e43011b674697a@treenet.co.nz>
To: Amos Jeffries <squid3@treenet.co.nz>
X-Mailer: Apple Mail (2.1278)
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.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001
X-W3C-Scan-Sig: maggie.w3.org 1SjjSQ-0008Pi-MH 7c2f7f6cb0f701814bd96373f1b2a96e
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #363: rare cases
Archived-At: <http://www.w3.org/mid/21E89BD2-7C7E-45E4-9537-34ED6956D55B@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13943
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjjSo-0001EJ-1e@frink.w3.org>
Resent-Date: Wed, 27 Jun 2012 04:02:46 +0000

On 27/06/2012, at 12:32 PM, Amos Jeffries wrote:

> On 27.06.2012 11:22, Mark Nottingham wrote:
>> On 27/06/2012, at 1:22 AM, John Sullivan wrote:
>>=20
>>> Mark Nottingham wrote:
>>>> Now <http://trac.tools.ietf.org/wg/httpbis/trac/ticket/363>.
>>>>=20
>>>>=20
>>>> On 23/06/2012, at 9:28 PM, Julian Reschke wrote:
>>>>=20
>>>>>> "HTTP/1.0 clients and caches might ignore entity-tags. Generally, =
last-modified values received or used by these systems will support =
transparent and efficient caching, and so HTTP/1.1 origin servers SHOULD =
provide Last-Modified values. In those rare cases where the use of a =
Last-Modified value as a validator by an HTTP/1.0 system could result in =
a serious problem, then HTTP/1.1 origin servers SHOULD NOT provide one."
>>>>>>=20
>>>>>> DESIGN - What are the "rare cases" being talked about here, and =
how are servers supposed to detect them?
>>>>>=20
>>>>> Good question. We may want to drop this.
>>>=20
>>> 1) Algorithmically generated output where ETag can represent the
>>> current control or seed values directly, but generating =
Last-Modified
>>> would require extra persistent storage.
>>>=20
>>> 1b) Resources gatewayed from systems that have no concept of
>>> last-modification time, but ETag along with the URL can again
>>> represent parameters that are guaranteed to retrieve the same
>>> entity or detect a change/error.
>>>=20
>>> 2) Rapidly changing, but cacheable, resources, where the origin =
knows
>>> that Last-Modified could never become strong by S13.3.3. Normally
>>> harmless but pointless.
>=20
> This bit ...
>=20
>>> If it suspects that a downstream would
>>> wrongly use the weak Last-Modified where it shouldn't, then it might
>>> want to avoid that dangerous possibility altogether.
>=20
> ... seems to be repeating the "rare cases" clause. Again with no =
supporting evidence for its existence, or identifiable way the origin =
might know about *future* downstream caching decisions.
>=20
>=20
> To me the clause looks like dependence on the "evil bit" or equivalent =
being sent.
>=20
>=20
> Although if the request was sent with a Date: which was noticeably out =
of sync with the servers own clock or some IMS timestamp in the future. =
Those could be a sign that the downstream is not able to depend on =
timestamps like LM properly. But I wouldn't bet on that either with the =
clockless algorithms.
>=20
>=20
> Drawing at straws here it may be referring to the (hopefully rare) =
case of a server being required to add a Date: to a response with =
Last-Modified already in place? (ie CGI script created hedes being =
processed by an origin).
> In that case would it be better to add the Date and drop the =
Last-Modified? or simply not add the Date? (violating part 2 section =
10.2)


I think this is getting into error-handling territory (inside the same =
implementation!).

I think we should just remove the last sentence. We already =
contextualise it:

"""
Origin servers SHOULD send Last-Modified for any selected representation =
for which a last modification date can be reasonably and consistently =
determined...
"""

Cheers,


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





From ietf-http-wg-request@listhub.w3.org  Wed Jun 27 04:44: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 67CFD21F86B2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 04:44:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.834
X-Spam-Level: 
X-Spam-Status: No, score=-6.834 tagged_above=-999 required=5 tests=[BAYES_50=0.001, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8, SARE_OBFU_SPLIT_HR2=0.183, SARE_SUB_ENC_UTF8x4=0.681]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kN8b-NhO15eK for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 04:44:51 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 1716421F86A8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 27 Jun 2012 04:44:35 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjqdA-0007VU-Ux for ietf-http-wg-dist@listhub.w3.org; Wed, 27 Jun 2012 11:41:57 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <chudoantien@gmail.com>) id 1Sjqcs-0007Rl-8f for ietf-http-wg@listhub.w3.org; Wed, 27 Jun 2012 11:41:38 +0000
Received: from badger1301.apple.com ([17.254.6.174]) by lisa.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <chudoantien@gmail.com>) id 1Sjqcj-0007zp-7M for ietf-http-wg@w3.org; Wed, 27 Jun 2012 11:41:36 +0000
Date: Wed, 27 Jun 2012 11:41:03 +0000 (GMT)
From: Dang Van <chudoantien@gmail.com>
To: ietf-http-wg@w3.org
Message-ID: <1516797860.64331340797263304.JavaMail.roverp@nwk-roverp-lap11.corp.apple.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;  boundary="----=_Part_6432_485151765.1340797263303"
X-EmailType-Id: 732450
X-Sent-To: ietf-http-wg@w3.org,2,k%2BmjWPCFEH1m5ry2zndhAs1%2FTkIv1fK%2BaIu7SVy37RFzK4KlSi4QyUzHsgmO2Gh%2BoPLX4iAluylwE8fvd0Ac8dvWjixSrvzkEUNstGRBDKusXqLo2UMfbwp2ESmi6VHYJidvH3GZ9WyvzPZN%2Fse%2FISC0cq0gv3yJ2CHspqzt78nZEKZxUkTD6L5v%2FLUInPZ7NTo5SQ5VBjkXNXHGSjbInfY0RDZYX%2FzFZj23XDOuBagHWUvVl02L0qDHwezbZVydfLC9xTtROMLefd5QmVm7k5LeUm%2B75ZV4hpbmV2JqtzUWJ25z%2FPEykZDZ2%2BtavN7Ws0PjLf%2BEc5V91Bo2mm4ARd89XVZ4WpOEAiNVqMJP%2BxAvrB%2FKYTd09yRHwFA5N%2BNK7BmjiFGEvZVsD5sEbegZdQ%3D%3D
X-DKIM_SIGN_REQUIRED: YES
Received-SPF: neutral client-ip=17.254.6.174; envelope-from=chudoantien@gmail.com; helo=badger1301.apple.com
X-W3C-Hub-Spam-Status: No, score=-1.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_IADB_LISTED=-0.001, RCVD_IN_IADB_OPTIN_GT50=-0.007, RCVD_IN_IADB_RDNS=-0.235, RCVD_IN_IADB_SPF=-0.059, RCVD_IN_IADB_UT_CPR_MAT=-0.001, SPF_NEUTRAL=0.779, T_REMOTE_IMAGE=0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sjqcj-0007zp-7M 86661858bfe7de4dc0e31866db80623d
X-Original-To: ietf-http-wg@w3.org
Subject: =?UTF-8?Q?Vous_=C3=AAtes_invit=C3=A9_=C3=A0_l=E2=80=99=C3=A9v=C3=A9nemen?=  =?UTF-8?Q?t_=C2=AB=C2=A0Webinar:_Agile:_Kanban_or_?=  =?UTF-8?Q?Scrum=3F_When_to_Use_Which_and_?=  =?UTF-8?Q?How_to_Get_the_Best_of_Both=C2=A0=C2=BB.?=
Archived-At: <http://www.w3.org/mid/1516797860.64331340797263304.JavaMail.roverp@nwk-roverp-lap11.corp.apple.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13944
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjqdA-0007VU-Ux@frink.w3.org>
Resent-Date: Wed, 27 Jun 2012 11:41:56 +0000

------=_Part_6432_485151765.1340797263303
Content-Type: multipart/alternative; 
	boundary="----=_Part_6433_2097790343.1340797263303"

------=_Part_6433_2097790343.1340797263303
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

1. Click this link to join the Webinar:

   https://www3.gotomeeting.com/join/200509118/106488732


2. Choose one of the following audio options:

   TO USE YOUR COMPUTER'S AUDIO:
   When the Webinar begins, you will be connected to audio using your compu=
ter's microphone and speakers (VoIP). A headset is recommended.


   TO USE YOUR TELEPHONE:
   If you prefer to use your phone, you must select "Use Telephone" after j=
oining the Webinar and call in using the numbers below.


   United States
   Toll-free: 1 877 568 4108
   Access Code: 189-862-040
   Audio PIN: Shown after joining the meeting


   Calling from another country? View additional phone numbers here:
   https://www3.gotomeeting.com/phone/webinar/200509118/106488732.


GoToWebinar=C2=AE
Webinars Made Easy=E2=84=A2


lieu=09=09=09=09  Webinar - See conference call information below

date et heure=09  mercredi 27 juin 2012, 15:00 - 16:00

de=09=09=09=09  Dang Van

r=C3=A9pondre=09=09  Accepter =E2=80=93 https://www.icloud.com/calendar/eve=
ntreply/fr-fr/?t=3DUKOh-6WWuFmgFvS3KAvKgsSHdoymm7OyBQEqKFSc4c5ULCtcH1pG9_ZP=
J7DybOeA&p=3Dp03#reply=3Daccept
=09=09=09=09  Refuser =E2=80=93 https://www.icloud.com/calendar/eventreply/=
fr-fr/?t=3DUKOh-6WWuFmgFvS3KAvKgsSHdoymm7OyBQEqKFSc4c5ULCtcH1pG9_ZPJ7DybOeA=
&p=3Dp03#reply=3Ddecline
=09=09=09=09  Peut-=C3=AAtre =E2=80=93 https://www.icloud.com/calendar/even=
treply/fr-fr/?t=3DUKOh-6WWuFmgFvS3KAvKgsSHdoymm7OyBQEqKFSc4c5ULCtcH1pG9_ZPJ=
7DybOeA&p=3Dp03#reply=3Dtentative

lien=09=09=09=09  http://https://www3.gotomeeting.com/phone/webinar/2005091=
18/106488732

invit=C3=A9s=09=09=09  azn_asss@hotmail.com et vous.
=09=09=09=09  Voir les r=C3=A9ponses=E2=80=A6  =E2=80=93 https://www.icloud=
.com/calendar/eventreply/fr-fr/?t=3DUKOh-6WWuFmgFvS3KAvKgsSHdoymm7OyBQEqKFS=
c4c5ULCtcH1pG9_ZPJ7DybOeA&p=3Dp03

--
=09=09
iCloud est un service fourni par Apple.
Conditions g=C3=A9n=C3=A9rales http://www.apple.com/legal/icloud/ww/
Engagement de confidentialit=C3=A9 http://www.apple.com/fr/privacy/
Copyright 2012 Apple Inc. 1 Infinite Loop, Cupertino CA 95014. Tous droits =
r=C3=A9serv=C3=A9s.

------=_Part_6433_2097790343.1340797263303
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

<html>
=09=09=09<head>
=09  =09=09<meta name=3D"viewport" content=3D"width=3Ddevice-width">
=09=09=09<base target=3D"CalendarInvite"/>
=09=09  =09<style type=3D"text/css">
=09=09=09  a {
=09=09          text-decoration: none;
=09=09      }

=09=09      a:link {
=09=09          color: #0a8de9;
=09=09          text-decoration: none;
=09=09      }

=09=09      a:visited {
=09=09          color: #0a8de9;
=09=09          text-decoration: none;
=09=09      }

=09=09      a:active {
=09=09          color: #0a8de9;
=09=09          text-decoration: underline;
=09=09      }

=09=09      a:hover {
=09=09            color: #0a8de9;
=09=09      =09text-decoration: underline;
=09=09      }
=09=09=09=09.main {
=09=09=09=09=09min-width: 560px;
=09=09=09=09}
=09=09=09=09.buttonSpacing{
=09=09=09=09  display: block !important;
=09=09=09=09}
=09=09=09=09@media only screen and (max-device-width: 640px) {
=09=09=09=09=09.main {
=09=09=09=09=09=09min-height:420px;
=09=09=09=09 =09}
=09=09=09=09 =09.buttonSpacing{
  =09=09=09=09  display: block !important;
  =09=09=09=09}
  =09=09=09=09.envelopeimg {
                  padding-left: 0px !important;
                }
=09=09=09=09}
=09=09=09=09@media only screen and (max-device-width: 480px) {
=09=09=09=09=09body[yahoo] .main {
=09=09=09=09=09=09min-height:500px !important;
=09=09=09=09=09=09width: 460px !important;
=09=09=09=09 =09}
=09=09=09=09=09body[yahoo] .labelfont{
=09=09=09=09=09=09font-size: 19px !important;
=09=09=09=09=09=09width: 90px !important;
=09=09=09=09=09}
=09=09=09=09=09body[yahoo] .textfont{
=09=09=09=09=09=09width: 370px !important;
=09=09=09=09=09=09font-size: 19px !important;
=09=09=09=09=09=09font-weight: normal !important;
=09=09=09=09=09=09line-height: 20px !important;
=09=09=09=09=09}
=09=09=09=09=09body[yahoo] .hrwidth{
=09=09=09=09=09=09width: 460px !important;
=09=09=09=09=09}
=09=09=09=09=09body[yahoo] .tablewidth{
=09=09=09=09=09  margin-top: 0px !important;
=09=09=09=09=09=09width: 460px !important;
=09=09=09=09=09}
=09=09=09=09=09body[yahoo] .notewidth{
=09=09=09=09=09=09width: 460px !important;
=09=09=09=09=09=09font-size: 19px !important;
=09=09=09=09=09=09line-height: 20px !important;
=09=09=09=09=09}
=09=09=09=09=09body[yahoo] .envelopeimg{
=09=09=09=09=09=09display: none !important;
=09=09=09=09=09=09padding-left: 0px !important;
=09=09=09=09=09}
=09=09=09=09=09body[yahoo] .emailTitle{
=09=09=09=09=09=09display: none !important;
=09=09=09=09=09}
=09=09=09=09 =09body[yahoo] .replyiphone {
=09=09=09=09 =09  width: 237px !important;
=09=09=09=09 =09  display: block !important;
=09=09=09=09 =09}
=09=09=09=09 =09body[yahoo] .button {
=09=09=09=09 =09  float: none !important;
            display: block !important;
            padding-left: 6px !important;
            padding-top: 6px; !important;
=09=09=09=09 =09}
=09=09=09=09=09body[yahoo] .buttonSpacing{
=09=09=09=09=09  display: none !important;
=09=09=09=09=09}
=09=09=09=09}

        @media only screen and (-webkit-min-device-pixel-ratio: 2) {
       =20
=09=09=09  body[yahoo] .button {
          width:119px;
          height: 32px;
    =09 =09}
          body[yahoo] .accept-img img {
            visibility: hidden !important;
          }

          body[yahoo] .accept-img {
            background-image: url(https://statici.icloud.com/emailimages/ca=
lweb/fr-fr/buttons/accept@2x.png);
            background-size: 114px 26px;
          }

          body[yahoo] .decline-img img {
            visibility: hidden !important;
          }

          body[yahoo] .decline-img {
            background-image: url(https://statici.icloud.com/emailimages/ca=
lweb/fr-fr/buttons/decline@2x.png);
            background-size: 114px 26px;
           =20
          }

          body[yahoo] .maybe-img img {
            visibility: hidden !important;
          }

          body[yahoo] .maybe-img {
            background-image: url(https://statici.icloud.com/emailimages/ca=
lweb/fr-fr/buttons/maybe@2x.png);
            background-size: 114px 26px;
           =20
          }

          body[yahoo] .eventInvite-img img {
            visibility: hidden !important;
          }

          body[yahoo] .eventInvite-img {
            background-image: url(https://statici.icloud.com/emailimages/ca=
lweb/shared/eventInvite@2x.png);
            background-size: 136px 136px;
          }

          body[yahoo] .footerLogo-img img {
            visibility: hidden !important;
          }

          body[yahoo] .footerLogo-img {
            background-image: url(https://statici.icloud.com/emailimages/ca=
lweb/shared/footerLogo@2x.png);
            background-size: 92px 18px;
          }
        }
=09=09    =09</style>=09
=09=09=09</head>
=09=09=09<body yahoo=3D"fix" style=3D"background-image: url('https://static=
i.icloud.com/emailimages/calweb/shared/bg.png') ; background-repeat:repeat-=
x;">
=09=09=09=09<div width=3D"560" class=3D"tablewidth" style=3D"background-ima=
ge: url('https://statici.icloud.com/emailimages/calweb/shared/bg.png') ; ba=
ckground-repeat:repeat-x;">
=09=09=09=09=09<table width=3D"100%" class=3D"tablewidth" cellpadding=3D"0"=
 cellspacing=3D"0" border=3D"0">
=09  =09=09=09=09=09<tr>
=09  =09=09=09=09=09=09<td width:"560" class=3D"tablewidth" background=3D"h=
ttps://statici.icloud.com/emailimages/calweb/shared/bg.png" style=3D"backgr=
ound-repeat:repeat-x;">
=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09
     =09=09=09=09=09=09=09<table width=3D"560" class=3D "tablewidth" border=
=3D"0" cellpadding=3D"0" cellspacing=3D"0" style=3D"margin-left:11px; margi=
n-top:13px">
      =09=09=09=09=09=09=09=09<tr>
=09    =09  =09=09=09=09=09=09=09<td class=3D"emailTitle" style=3D"display:=
 block; font-family: Helvetica, Arial, Sans-Serif; font-size: 21px; font-we=
ight: bold; color: #000000; text-shadow: 0px 1px #FFFFFF;">
=09=09=09      =09=09=09=09=09=09
=09             =09=09=09=09=09=09Vous =C3=AAtes invit=C3=A9 =C3=A0 l=E2=80=
=99=C3=A9v=C3=A9nement =C2=AB=C2=A0Webinar: Agile: Kanban or Scrum? When to=
 Use Which and How to Get the Best of Both=C2=A0=C2=BB.
=09         =09=09=09=09=09=09=09</td>
=09      =09=09=09=09=09=09=09</tr>
=09=09=09=09=09=09=09</table>
=09=09=09=09=09=09=09
=09=09=09=09=09=09=09
=09=09=09=09=09=09=09
=09=09=09=09=09=09=09

=09=09=09=09=09=09=09<table class=3D "tablewidth" border=3D"0" cellpadding=
=3D"0" cellspacing=3D"0" width=3D"640" style=3D"margin-left:9px; margin-top=
: 17px
=09        =09=09=09=09=09=09;">
    =09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09=09<td width=3D"480" style=3D"font-family: Helvetic=
a, Arial, Sans-Serif; font-size: 13px; color: #000000; text-shadow: 0px 1px=
 #FFFFFF;">
=09=09=09=09=09=09=09=09=09=09<table>=20
=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09=09=09=09=09=09<td colspan=3D"2" class=3D"notewidth=
" style=3D"font-family: Helvetica, Arial, Sans-Serif;font-size: 13px; color=
: #000000; text-shadow: 0px 1px #FFFFFF;">
=09=09=09=09=09=09=09=09=09=09=09=09=09=091. Click this link to join the We=
binar:

   https://www3.gotomeeting.com/join/200509118/106488732


2. Choose one of the following audio options:

   TO USE YOUR COMPUTER'S AUDIO:
   When the Webinar begins, you will be connected to audio using your compu=
ter's microphone and speakers (VoIP). A headset is recommended.


   TO USE YOUR TELEPHONE:
   If you prefer to use your phone, you must select 'Use Telephone' after j=
oining the Webinar and call in using the numbers below.


   United States
   Toll-free: 1 877 568 4108
   Access Code: 189-862-040
   Audio PIN: Shown after joining the meeting


   Calling from another country? View additional phone numbers here:
   https://www3.gotomeeting.com/phone/webinar/200509118/106488732.


GoToWebinar=C2=AE
Webinars Made Easy=E2=84=A2

    =09=09=09=09=09=09=09=09=09=09=09=09 </td>
=09=09=09=09=09=09=09=09=09=09=09=09</tr>
=09=09=09=09=09=09=09=09=09=09=09
=09=09      =09=09=09=09=09=09=09=09=09<tr>
=09=09      =09=09=09=09=09=09=09=09=09=09<td class=3D"labelfont" style=3D"=
font-family: Helvetica, Arial, Sans-Serif; font-size: 13px;font-weight: bol=
d;color: #a9b9c9; text-shadow: 0px 1px #FFFFFF; padding-top:18px
=09=09=09=09=09=09=09  =09=09;" align=3D"right" width=3D"90" valign=3D"top"=
>
=09=09  =09=09      =09=09=09=09=09=09=09=09
=09=09              =09=09=09=09=09=09=09=09=09lieu
=09=09=09=09=09=09=09=09=09=09=09=09=09</td>
=09=09      =09=09=09=09=09=09=09=09=09=09<td width=3D"322" class=3D"textfo=
nt" align=3D"left" style=3D"font-family: Helvetica, Arial, Sans-Serif; font=
-size: 13px; =09color: #000000; text-shadow: 0px 1px #FFFFFF; line-height:1=
6px; padding-left:11px; padding-top:18px
=09=09=09=09=09=09=09  =09=09;">
=09=09      =09=09  =09=09=09=09=09=09=09=09=09Webinar - See conference cal=
l information below
=09=09      =09=09=09=09=09=09=09=09=09=09</td>=09
=09=09      =09=09=09=09=09=09=09=09=09</tr>
=09=09    =09=09=09=09=09=09=09=09
=09=09
=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09=09=09=09=09<td class=3D"labelfont" style=3D"font-f=
amily: Helvetica, Arial, Sans-Serif; font-size: 13px;font-weight: bold;colo=
r: #a9b9c9; text-shadow: 0px 1px #FFFFFF; padding-top:
=09=09=09=09=09=09=09=09=09=093px
=09=09=09=09=09=09=09=09=09;" align=3D"right" width=3D"94" valign=3D"top">
=09=09=09=09       =09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09=09=09date et heure
=09=09=09=09=09=09=09=09=09=09=09=09</td>
=09=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09=09<td width=3D"322" class=3D"textfont" al=
ign=3D"left" style=3D"font-family: Helvetica, Arial, Sans-Serif; font-weigh=
t: bold; font-size: 13px; color: #000000;text-shadow: 0px 1px #FFFFFF; padd=
ing-left:11px; padding-top:
=09=09=09=09=09=09=09=09=09=093px
=09=09=09=09=09=09=09=09=09;line-height:16px;" valign=3D"top">
=09=09=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09=09=09mercredi 27 juin 2012, 15:00 - 16:00
=09=09=09=09=09=09=09=09=09=09=09=09</td>
=09=09=09=09=09=09=09=09=09=09=09</tr>
=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09 =09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09
=09=09=09    =09=09=09=09=09=09<tr>
=09=09=09    =09=09=09=09=09=09=09<td class=3D"labelfont" style=3D"font-fam=
ily: Helvetica, Arial, Sans-Serif; font-size: 13px;font-weight: bold;color:=
 #a9b9c9; text-shadow: 0px 1px #FFFFFF; padding-top:4px;" align=3D"right" w=
idth=3D"63">
=09=09=09=09=09       =09=09=09=09=09=09
=09=09=09=09=09     =09=09=09=09=09=09de
=09=09=09    =09=09=09=09=09=09=09</td>
=09=09=09    =09=09=09=09=09=09=09<td width=3D"322" class=3D"textfont" alig=
n=3D"left"  style=3D"font-family: Helvetica, Arial, Sans-Serif; font-size: =
13px; color: #000000; text-shadow: 0px 1px #FFFFFF; padding-top:4px; paddin=
g-left:11px;">
=09=09=09=09=09=09=09=09=09=09=09=09Dang Van
=09=09=09    =09=09=09=09=09=09=09</td>
=09=09=09    =09=09=09=09=09=09</tr>
=09=09=09
=09=09=09=09=09=09=09=09=09=20
=09=09=09=09=09=09=09=09=09=09
=09=09=09    =09=09=09=09=09=09<tr>
=09=09=09    =09=09=09=09=09=09=09<td class=3D"labelfont" style=3D"font-siz=
e: 13px;font-weight: bold;color: #a9b9c9; padding-top:20px; font-family: He=
lvetica, Arial, Sans-Serif;" valign=3D"top" align=3D"right" width=3D"63" he=
ight=3D"26">
=09=09=09=09=09       =09=09=09=09=09=09
=09=09=09=09=09         =09=09=09=09=09r=C3=A9pondre
=09=09=09    =09=09=09=09=09=09=09</td>
=09=09=09=09=09=09=09=09=09=09=09=09<td class=3D "replyiphone" width=3D"400=
" style=3D"padding-top: 12px; display: block; ">
=09=09=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09=09=09
                              <a class=3D"buttonSpacing" style=3D"float: le=
ft;">=C2=A0=C2=A0</a>
                                <a class=3D"button" href=3D"https://www.icl=
oud.com/calendar/eventreply/fr-fr/?t=3DUKOh-6WWuFmgFvS3KAvKgsSHdoymm7OyBQEq=
KFSc4c5ULCtcH1pG9_ZPJ7DybOeA&p=3Dp03&#35;reply=3Daccept" style=3D"float:lef=
t; color: #000000; outline: none; display: inline-block;">
                                <span class=3D"accept-img" style=3D"display=
: inline-block;">
                                  <img src=3D"https://statici.icloud.com/em=
ailimages/calweb/fr-fr/buttons/accept.png"border=3D"0" width=3D"114" height=
=3D"26" alt=3D"Accepter"/>
                                </span>
=09=09=09=09=09=09=09=09=09=09=09=09=09=09=09</a>
=09=09=09=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09=09=09
                            <a class=3D"buttonSpacing" style=3D"float: left=
;">=C2=A0=C2=A0</a>
                            <a class=3D"button" href=3D"https://www.icloud.=
com/calendar/eventreply/fr-fr/?t=3DUKOh-6WWuFmgFvS3KAvKgsSHdoymm7OyBQEqKFSc=
4c5ULCtcH1pG9_ZPJ7DybOeA&p=3Dp03&#35;reply=3Ddecline"style=3D"float: left; =
color: #000000; outline: none;">
                            <span class=3D"decline-img" style=3D"display: i=
nline-block;">
                              <img src=3D"https://statici.icloud.com/emaili=
mages/calweb/fr-fr/buttons/decline.png" border=3D"0" width=3D"114" height=
=3D"26" alt=3D"Refuser"/>
                            </span>
=09=09=09=09=09=09=09=09=09=09=09=09=09</a>
=09=09=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09=09=09
                              <a class=3D"buttonSpacing" style=3D"float: le=
ft;">=C2=A0=C2=A0</a>
                              <a class=3D"button" href=3D"https://www.iclou=
d.com/calendar/eventreply/fr-fr/?t=3DUKOh-6WWuFmgFvS3KAvKgsSHdoymm7OyBQEqKF=
Sc4c5ULCtcH1pG9_ZPJ7DybOeA&p=3Dp03&#35;reply=3Dtentative" style=3D"float: l=
eft; color: #000000; outline: none;">
                                <span class=3D"maybe-img" style=3D"display:=
 inline-block;">
                                  <img src=3D"https://statici.icloud.com/em=
ailimages/calweb/fr-fr/buttons/maybe.png" border=3D"0" width=3D"114" height=
=3D"26" alt=3D"Peut-=C3=AAtre"/>
                                </span>
=09=09=09=09=09=09=09=09=09=09=09=09=09=09=09</a>
=09=09=09=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09=09</td>
=09=09=09    =09=09=09=09=09=09</tr>
=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09
=09=09    =09=09=09=09=09=09=09
=09=09    =09=09=09=09=09=09=09=09<tr>
=09=09    =09=09=09=09=09=09=09=09=09<td class=3D"labelfont" style=3D"font-=
family: Helvetica, Arial, Sans-Serif; font-size: 13px;font-weight: bold;col=
or: #a9b9c9; padding-bottom:19px; text-shadow: 0px 1px #FFFFFF; padding-top=
:3px;" align=3D"right" width=3D"63">
=09=09=09=09       =09=09=09=09=09=09=09=09
=09=09=09=09      =09=09=09=09=09=09=09=09lien
=09=09    =09=09=09=09=09=09=09=09=09</td>
=09=09    =09=09=09=09=09=09=09=09=09<td width=3D"322" class=3D"textfont" a=
lign=3D"left" style=3D"font-family: Helvetica, Arial, Sans-Serif; font-size=
: 13px; color: #000000; padding-top:3px; padding-bottom:19px; padding-left:=
11px; text-shadow: 0px 1px #FFFFFF;">
=09=09    =09=09  =09=09=09=09=09=09=09=09<a  style=3D"font-family: Helveti=
ca, Arial, Sans-Serif; font-size: 13px;color: #0a8de9; text-shadow: 0px 1px=
 #FFFFFF;" href=3D"http://https://www3.gotomeeting.com/phone/webinar/200509=
118/106488732">
=09=09=09=09=09=09    =09=09=09=09=09=09=09https://www3.gotomeeting.com/pho=
ne/webinar/200509118/106488732
=09=09    =09=09  =09=09=09=09=09=09=09=09</a>
=09=09    =09=09=09=09=09=09=09=09=09</td>
=09=09    =09=09=09=09=09=09=09=09</tr>
=09=09    =09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09
=09=09=09    =09=09=09=09=09=09<tr>
=09=09=09    =09=09=09=09=09=09=09<td class=3D"labelfont" style=3D"font-fam=
ily: Helvetica, Arial, Sans-Serif; font-size: 13px;font-weight: bold;color:=
 #a9b9c9; text-shadow: 0px 1px #FFFFFF; padding-top:
=09=09=09=09=09=09=09=09=09=090px
=09=09=09=09=09=09=09=09=09;" valign=3D"top" align=3D"right" width=3D"63">
=09=09=09       =09=09  =09=09=09=09=09
=09=09=09              =09=09=09=09=09invit=C3=A9s
=09=09=09    =09=09=09=09=09=09</td>
=09=09=09    =09=09=09=09=09=09<td width=3D"322" class=3D"textfont" valign=
=3D"top" align=3D"left" style=3D"font-family: Helvetica, Arial, Sans-Serif;=
 font-size: 13px; color: #000000; padding-left:11px; text-shadow: 0px 1px #=
FFFFFF;line-height:16px; padding-top:
=09=09=09=09=09=09=09=09=09=090px
=09=09=09=09=09=09=09=09=09;">
=09=09=09  =09=09=09  =09=09=09=09=09
=09=09=09                    =09=09=09=09=09=09=09=09<a style=3D"color:#0a8=
de9;" href=3D"mailto:azn_asss@hotmail.com">Van Dang</a>
=09=09=09=09=09=09=09=09=09=09=09=09=09=09=09=09=09=09=09=09=09&#32;et vous=
.
=09=09=09    =09=09=09=09=09=09</td>
=09=09=09    =09=09=09=09=09</tr>
=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09=09    <td></td>
=09=09=09    =09=09=09=09=09=09<td align=3D"left" style=3D"padding-top:3px;=
 padding-left:11px;">
=09=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09=09=09=09<a href=3D"https://www.icloud.com/ca=
lendar/eventreply/fr-fr/?t=3DUKOh-6WWuFmgFvS3KAvKgsSHdoymm7OyBQEqKFSc4c5ULC=
tcH1pG9_ZPJ7DybOeA&p=3Dp03"style=3D"font-family: Helvetica, Arial, Sans-Ser=
if; font-size: 11px;color: #0a8de9; text-shadow: 0px 1px #FFFFFF;">
=09=09=09=09=09=09=09=09=09=09=09=09Voir les r=C3=A9ponses=E2=80=A6=20
=09=09=09        =09=09=09=09=09=09</a>
=09=09    =09=09=09=09=09=09=09</td>=09
=09=09    =09=09=09=09=09=09</tr>
                   =20
                   =20
=09=09=09=09=09=09=09=09</table>
=09=09=09=09=09=09=09</td>
=09=09=09=09=09=09=09
=09=09=09=09=09=09=09
=09=09=09=09=09=09=09<td class=3D"envelopeimg" width=3D"136" style=3D"paddi=
ng-left: 20px; display:block;" valign=3D"top" padding-top:7px;">
                <span class=3D"eventInvite-img" style=3D"display: inline-bl=
ock;">
                  <img src=3D"https://statici.icloud.com/emailimages/calweb=
/shared/eventInvite.png" width=3D"136" height=3D"136"  border=3D"0" alt=3D"=
"/>
                </span>
              </td>
=09=09=09=09=09=09</tr>
=09=09=09=09=09</table>

=09=09=09=09=09
=09=09=09=09=09
=09    =09=09=09<table  width=3D"560" class=3D "tablewidth" cellpadding=3D"=
0" cellspacing=3D"0" style=3D"margin-left:12px; margin-bottom:15px">
=09=09=09=09=09=09
=09      =09=09=09=09=09<tr><td height=3D"16"></td></tr>
=09=09=09=09=09=09
=09    =09=09=09=09<tr><td><hr width=3D"558" class=3D"hrwidth" size=3D"1" c=
olor=3D"#e9f3fd" style=3D"color:#e9f3fd;"> </hr></td></tr>
=09    =09=09=09=09<tr><td height=3D"9"></td></tr>
              <tr><td><span class=3D"footerLogo-img" style=3D"display: inli=
ne-block;">
                <img src=3D"https://statici.icloud.com/emailimages/calweb/s=
hared/footerLogo.png" border=3D"0" width=3D"92" height=3D"18" alt=3D""/>
              </span></td></tr>
              <tr><td height=3D"12"></td></tr>
=09  =09=09=09=09=09
=09  =09  =09=09=09=09<tr>
=09=09=09  =09=09=09=09<td style=3D" font-family: Helvetica, Arial, Sans-Se=
rif; font-size: 11px;font-weight: normal;color: #999999;">
=09=09=09=09=09=09=09=09iCloud est un service fourni par Apple =E2=80=A2
=09             =09=09=09=09
=09  =09=09=09=09=09=09=09<a style=3D"font-size: 11px;font-weight: normal;c=
olor: #999999;" href=3D"http://www.apple.com/legal/icloud/ww/">
=09         =09=09=09=09=09=09
=09         =09=09=09=09=09=09Conditions g=C3=A9n=C3=A9rales de service
=09  =09=09=09=09=09=09=09</a>
=09  =09=09=09=09=09=09=09<a style=3D"font-size: 11px;font-weight: normal;c=
olor: #999999;" href=3D"
=09=09=09=09=09=09=09=09=09http://www.apple.com/fr/privacy/">
=09         =09=09=09=09=09=09
=09          =09=09=09=09=09=09Engagement de confidentialit=C3=A9
=09  =09=09=09=09=09=09=09</a>
=09  =09=09=09=09=09=09</td>
=09  =09=09=09=09=09</tr>
=09  =09=09=09=09=09<tr>
=09  =09=09=09=09=09=09<td style=3D"font-family: Helvetica, Arial, Sans-Ser=
if; font-size: 11px;font-weight: normal;color: #999999;">
=09         =09=09=09=09=09
=09            =09=09=09=09Copyright =C2=A9 2012 Apple Inc. &#8226; 1 Infin=
ite Loop, Cupertino, CA 95014 &#8226; Tous droits r=C3=A9serv=C3=A9s.
=09=09=09=09=09=09=09</td>
=09  =09=09=09=09=09</tr>
=09    =09=09=09</table>
=09=09=09=09</td>
=09=09=09</tr>
=09=09</table>
=09</div>
</body>
=09<img src=3D'http://insideapple.apple.com/img/APPLE_EMAIL_LINK/spacer4.gi=
f?v=3D2&a=3Dk%2BmjWPCFEH1m5ry2zndhAs1%2FTkIv1fK%2BaIu7SVy37RFzK4KlSi4QyUzHs=
gmO2Gh%2BoPLX4iAluylwE8fvd0Ac8dvWjixSrvzkEUNstGRBDKusXqLo2UMfbwp2ESmi6VHYJi=
dvH3GZ9WyvzPZN%2Fse%2FISC0cq0gv3yJ2CHspqzt78nZEKZxUkTD6L5v%2FLUInPZ7NTo5SQ5=
VBjkXNXHGSjbInfY0RDZYX%2FzFZj23XDOuBagHWUvVl02L0qDHwezbZVydfLC9xTtROMLefd5Q=
mVm7k5LeUm%2B75ZV4hpbmV2JqtzUWJ25z%2FPEykZDZ2%2BtavN7Ws0PjLf%2BEc5V91Bo2mm4=
ARd89XVZ4WpOEAiNVqMJP%2BxAvrB%2FKYTd09yRHwFA5N%2BNK7BmjiFGEvZVsD5sEbegZdQ%3=
D%3D'/>
</html>
------=_Part_6433_2097790343.1340797263303--

------=_Part_6432_485151765.1340797263303
Content-Type: text/calendar; method=REQUEST
Content-Transfer-Encoding: Base64
Content-Disposition: attachment; filename=iCal-20120627-044103.ics

QkVHSU46VkNBTEVOREFSDQpDQUxTQ0FMRTpHUkVHT1JJQU4NClZFUlNJT046Mi4wDQpQUk9ESUQ6
LS8vQ0FMRU5EQVJTRVJWRVIuT1JHLy9OT05TR01MIFZlcnNpb24gMS8vRU4NCk1FVEhPRDpSRVFV
RVNUDQpCRUdJTjpWRVZFTlQNCkFUVEVOREVFO0NOPUhUVFAgV29ya2luZyBHcm91cDtDVVRZUEU9
SU5ESVZJRFVBTDtQQVJUU1RBVD1ORUVEUy1BQ1RJT047DQogUlNWUD1UUlVFOm1haWx0bzppZXRm
LWh0dHAtd2dAdzMub3JnDQpBVFRFTkRFRTtDTj1WYW4gRGFuZztDVVRZUEU9SU5ESVZJRFVBTDtF
TUFJTD1jaHVkb2FudGllbkBnbWFpbC5jb207DQogUEFSVFNUQVQ9QUNDRVBURUQ6bWFpbHRvOmNo
dWRvYW50aWVuQGdtYWlsLmNvbQ0KQVRURU5ERUU7Q049VmFuIERhbmc7Q1VUWVBFPUlORElWSURV
QUw7UEFSVFNUQVQ9TkVFRFMtQUNUSU9OO1JTVlA9VFJVRToNCiBtYWlsdG86YXpuX2Fzc3NAaG90
bWFpbC5jb20NCkNSRUFURUQ6MjAxMjA2MjdUMTE0MDQzWg0KREVTQ1JJUFRJT046MS4gQ2xpY2sg
dGhpcyBsaW5rIHRvIGpvaW4gdGhlIFdlYmluYXI6XG5cbiAgIGh0dHBzOg0KIC8vd3d3My5nb3Rv
bWVldGluZy5jb20vam9pbi8yMDA1MDkxMTgvMTA2NDg4NzMyXG5cblxuMi4gQ2hvb3NlIG9uZSBv
ZiB0aGUgDQogZm9sbG93aW5nIGF1ZGlvIG9wdGlvbnM6XG5cbiAgIFRPIFVTRSBZT1VSIENPTVBV
VEVSJ1MgQVVESU86XG4gICBXaGVuIHRoZSANCiBXZWJpbmFyIGJlZ2luc1wsIHlvdSB3aWxsIGJl
IGNvbm5lY3RlZCB0byBhdWRpbyB1c2luZyB5b3VyIGNvbXB1dGVyJ3MgDQogbWljcm9waG9uZSBh
bmQgc3BlYWtlcnMgKFZvSVApLiBBIGhlYWRzZXQgaXMgcmVjb21tZW5kZWQuXG5cblxuICAgVE8g
VVNFIA0KIFlPVVIgVEVMRVBIT05FOlxuICAgSWYgeW91IHByZWZlciB0byB1c2UgeW91ciBwaG9u
ZVwsIHlvdSBtdXN0IHNlbGVjdCANCiBcIlVzZSBUZWxlcGhvbmVcIiBhZnRlciBqb2luaW5nIHRo
ZSBXZWJpbmFyIGFuZCBjYWxsIGluIHVzaW5nIHRoZSBudW1iZXJzIA0KIGJlbG93LlxuXG5cbiAg
IFVuaXRlZCBTdGF0ZXNcbiAgIFRvbGwtZnJlZTogMSA4NzcgNTY4IDQxMDhcbiAgIEFjY2VzcyAN
CiBDb2RlOiAxODktODYyLTA0MFxuICAgQXVkaW8gUElOOiBTaG93biBhZnRlciBqb2luaW5nIHRo
ZSBtZWV0aW5nXG5cblxuICAgDQogQ2FsbGluZyBmcm9tIGFub3RoZXIgY291bnRyeT8gVmlldyBh
ZGRpdGlvbmFsIHBob25lIG51bWJlcnMgaGVyZTpcbiAgIA0KIGh0dHBzOg0KIC8vd3d3My5nb3Rv
bWVldGluZy5jb20vcGhvbmUvd2ViaW5hci8yMDA1MDkxMTgvMTA2NDg4NzMyLlxuXG5cbkdvVG9X
ZWJpbmFyDQogwq5cbldlYmluYXJzIE1hZGUgRWFzeeKEolxuDQpEVEVORDoyMDEyMDYyN1QxNjAw
MDBaDQpEVFNUQVJUOjIwMTIwNjI3VDE1MDAwMFoNCkxBU1QtTU9ESUZJRUQ6MjAxMjA2MjdUMTE0
MDQzWg0KTE9DQVRJT046V2ViaW5hciAtIFNlZSBjb25mZXJlbmNlIGNhbGwgaW5mb3JtYXRpb24g
YmVsb3cNClNFUVVFTkNFOjINClNUQVRVUzpDT05GSVJNRUQNClNVTU1BUlk6V2ViaW5hcjogQWdp
bGU6IEthbmJhbiBvciBTY3J1bT8gV2hlbiB0byBVc2UgV2hpY2ggYW5kIEhvdyB0byBHZXQgDQog
dGhlIEJlc3Qgb2YgQm90aA0KVFJBTlNQOlRSQU5TUEFSRU5UDQpVSUQ6ODczNkRBRUYtNzZGQy00
RjBGLTkzM0EtNDkzQTg5QkU1NTEzDQpVUkw7VkFMVUU9VVJJOmh0dHBzOg0KIC8vd3d3My5nb3Rv
bWVldGluZy5jb20vcGhvbmUvd2ViaW5hci8yMDA1MDkxMTgvMTA2NDg4NzMyDQpEVFNUQU1QOjIw
MTIwNjI3VDExNDEwM1oNCk9SR0FOSVpFUjtDTj1WYW4gRGFuZztFTUFJTD1jaHVkb2FudGllbkBn
bWFpbC5jb206bWFpbHRvOg0KIFVLT2gtNldXdUZtZ0Z2UzNLQXZLZ3NTSGRveW1tN095QlFFcUtG
U2M0YzVVTEN0Y0gxcEc5X1pQSjdEeWJPZUFAaW1pcC5tZS5jDQogb20NCkVORDpWRVZFTlQNCkVO
RDpWQ0FMRU5EQVINCg==
------=_Part_6432_485151765.1340797263303--



From ietf-http-wg-request@listhub.w3.org  Wed Jun 27 05: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 5F82121F863E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 05:02:12 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r3ciLe5Z8xPN for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 05:02:11 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id 817C821F8625 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 27 Jun 2012 05:02:11 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjqvP-0004W1-Jz for ietf-http-wg-dist@listhub.w3.org; Wed, 27 Jun 2012 12:00:47 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <JSullivan@velocix.com>) id 1SjqvC-0003sa-Ga for ietf-http-wg@listhub.w3.org; Wed, 27 Jun 2012 12:00:34 +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 <JSullivan@velocix.com>) id 1Sjqv6-0000fa-33 for ietf-http-wg@w3.org; Wed, 27 Jun 2012 12:00:33 +0000
Received: from orthrus.eng.velocix.com (172.18.32.42) by exccam.corp.velocix.com (172.18.4.40) with Microsoft SMTP Server (TLS) id 14.2.247.3; Wed, 27 Jun 2012 13:00:00 +0100
Message-ID: <4FEAF5C0.6070208@velocix.com>
Date: Wed, 27 Jun 2012 13:00:00 +0100
From: John Sullivan <jsullivan@velocix.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.21) Gecko/20090320 Fedora/2.0.0.21-1.fc10 Thunderbird/2.0.0.21 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: Julian Reschke <julian.reschke@gmx.de>, HTTP Working Group <ietf-http-wg@w3.org>
References: <D1DACF74-AE6D-4172-81CD-0F878DA37B90@mnot.net> <4FE5A863.8070903@gmx.de> <8A3FC639-E807-4E0D-8BC9-E08B69ED0174@mnot.net> <4FE9D3D3.60108@velocix.com> <2B59E8BE-F3C9-4931-BE3F-D3E763A12832@mnot.net>
In-Reply-To: <2B59E8BE-F3C9-4931-BE3F-D3E763A12832@mnot.net>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.18.32.42]
Received-SPF: none client-ip=81.134.152.10; envelope-from=JSullivan@velocix.com; helo=owa.velocix.com
X-W3C-Hub-Spam-Status: No, score=-1.9
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: lisa.w3.org 1Sjqv6-0000fa-33 0e671c3b75ac91e4a310d4c95d8a4ab9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #363: rare cases
Archived-At: <http://www.w3.org/mid/4FEAF5C0.6070208@velocix.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13945
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjqvP-0004W1-Jz@frink.w3.org>
Resent-Date: Wed, 27 Jun 2012 12:00:47 +0000

Mark Nottingham wrote:
> Those are reasons not to generate a LM, but they aren't specific to HTTP/1.0 -- agreed?

Sure.

> I can see dropping the last sentence and qualifying the remaining SHOULD with these sorts of reasons, but not retaining it.

Absolutely - explain, not ignore or gloss over.

There's actually another bit which does much the same thing  that
I've got on my list of quibbles:

RFC 2616 S13.10

   In order to prevent denial of service attacks, an invalidation based
   on the URI in a Location or Content-Location header MUST only be
   performed if the host part is the same as in the Request-URI.

httpbis-p6-cache S2.6

   However, a cache MUST NOT invalidate a URI from a Location or
   Content-Location response header field if the host part of that URI
   differs from the host part in the effective request URI (Section 5.5
   of [Part1]).  This helps prevent denial of service attacks.

It's never fully explained how such a denial of service attack would
manifest, nor how serious it could be. The immediate possibility is
being able to effectively clear a cache causing more load on the
origin that usual, or more transit from the cache than usual, but I
have difficulty seeing how that is a serious concern:

This basically requires a malicious origin to work. If the cache is
inside the control of the origin, then presumably the origin isn't
malicious.

If the cache is outside the control of the origin, then if the target
is a different origin it presumably has to be able to deal with
a reasonable level of uncached requests hitting it anyway. If the
target is the cache itself then (without the vhost check) we can
clear at most 2 unrelated URLs per incoming client request. But a
client could clear those URLs anyway by sending max-age=0 and dropping
the connection after the first body byte. This will cause many
implementations to drop the previously cached response and cease
storing the new one too.

So I don't see how malicious use of Location/Content-Location is
much worse than other techniques, and it's arguably harder to pull
off than a purely client driven attack.

I'm not suggesting dropping the vhost check here, it seems like a
reasonable idea, but the justification seems overblown.

John
-- 


From ietf-http-wg-request@listhub.w3.org  Wed Jun 27 08:31: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 73DD621F87CA for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 08:31:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.767
X-Spam-Level: 
X-Spam-Status: No, score=-6.767 tagged_above=-999 required=5 tests=[AWL=3.831, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qyxkoiUhJAZu for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 08:31:12 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BFA7021F87C8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 27 Jun 2012 08:31:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjuAm-0008Ir-07 for ietf-http-wg-dist@listhub.w3.org; Wed, 27 Jun 2012 15:28:52 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <alexey.melnikov@isode.com>) id 1SjuAU-0008I0-EB for ietf-http-wg@listhub.w3.org; Wed, 27 Jun 2012 15:28:34 +0000
Received: from waldorf.isode.com ([62.3.217.251]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SjuAR-0000Ix-7f for ietf-http-wg@w3.org; Wed, 27 Jun 2012 15:28:32 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1340810870; d=isode.com; s=selector; i=@isode.com; bh=mS2QXJaUzpMmab3Y/Z7hu6riawHg5Sp8mhALCIfub58=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=P3dI7r7jAxlH/DI5XojijfpRNEPs1alKnrBYGf/Hdxv+kWf5zH8oZsI2BCcdAdj6Ljluq1 YFqg70vyaGgg9NqSHfzY1tZuCJd5zvwkVEBArU2llT+DngX0947UU0gK7okrVtnhIl4QLN 55fhmKMOPH725XfmwUHtcVPkzbDn0j0=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250])  by waldorf.isode.com (submission channel) via TCP with ESMTPSA  id <T-smdQAkRIYo@waldorf.isode.com>; Wed, 27 Jun 2012 16:27:49 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <4FEB2687.7000807@isode.com>
Date: Wed, 27 Jun 2012 16:28:07 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <4FEB2003.9000508@isode.com>
In-Reply-To: <4FEB2003.9000508@isode.com>
X-Forwarded-Message-Id: <4FEB2003.9000508@isode.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="------------010209040909020308050701"
Received-SPF: pass client-ip=62.3.217.251; envelope-from=alexey.melnikov@isode.com; helo=waldorf.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
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, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SjuAR-0000Ix-7f 0192281480a53e2f90b7697f2a1ebc15
X-Original-To: ietf-http-wg@w3.org
Subject: Fwd: Status of draft-ietf-appsawg-http-forwarded-04.txt
Archived-At: <http://www.w3.org/mid/4FEB2687.7000807@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13946
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjuAm-0008Ir-07@frink.w3.org>
Resent-Date: Wed, 27 Jun 2012 15:28:52 +0000

This is a multi-part message in MIME format.
--------------010209040909020308050701
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

As this document was also discussed in HTTPBIS...

-------- Original Message --------
Subject: 	Status of draft-ietf-appsawg-http-forwarded-04.txt
Date: 	Wed, 27 Jun 2012 16:00:19 +0100
From: 	Alexey Melnikov <alexey.melnikov@isode.com>
To: 	apps-discuss@ietf.org <apps-discuss@ietf.org>



Dear WG participants,

The Working Group Last Call for this document has ended and there were a
couple of updates to it to address issues (-03 and -04). I believe all
issues were addressed, but it would be good for the WG to check the
latest version and confirm that. If one of your issues is not addressed
(and especially if it wasn't replied to), please let me know.

In the meantime, I've started working on the shepherding write-up before
asking our AD Barry to review and initiate IETF Last Call for the document.

Thank you,
Alexey, as an APPSAWG co-chair.



--------------010209040909020308050701
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    As this document was also discussed in HTTPBIS...<br>
    <br>
    -------- Original Message --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Subject: </th>
          <td>Status of draft-ietf-appsawg-http-forwarded-04.txt</td>
        </tr>
        <tr>
          <th align="RIGHT" valign="BASELINE" nowrap="nowrap">Date: </th>
          <td>Wed, 27 Jun 2012 16:00:19 +0100</td>
        </tr>
        <tr>
          <th align="RIGHT" valign="BASELINE" nowrap="nowrap">From: </th>
          <td>Alexey Melnikov <a class="moz-txt-link-rfc2396E" href="mailto:alexey.melnikov@isode.com">&lt;alexey.melnikov@isode.com&gt;</a></td>
        </tr>
        <tr>
          <th align="RIGHT" valign="BASELINE" nowrap="nowrap">To: </th>
          <td><a class="moz-txt-link-abbreviated" href="mailto:apps-discuss@ietf.org">apps-discuss@ietf.org</a> <a class="moz-txt-link-rfc2396E" href="mailto:apps-discuss@ietf.org">&lt;apps-discuss@ietf.org&gt;</a></td>
        </tr>
      </tbody>
    </table>
    <br>
    <br>
    <pre>Dear WG participants,

The Working Group Last Call for this document has ended and there were a 
couple of updates to it to address issues (-03 and -04). I believe all 
issues were addressed, but it would be good for the WG to check the 
latest version and confirm that. If one of your issues is not addressed 
(and especially if it wasn't replied to), please let me know.

In the meantime, I've started working on the shepherding write-up before 
asking our AD Barry to review and initiate IETF Last Call for the document.

Thank you,
Alexey, as an APPSAWG co-chair.

</pre>
  </body>
</html>

--------------010209040909020308050701--


From ietf-http-wg-request@listhub.w3.org  Wed Jun 27 08:31: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 584F421F87C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 08:31:14 -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=1.392, BAYES_00=-2.599, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-8, SARE_SUB_ENC_UTF8x4=0.681]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ig2eAY3bqsfn for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 08:31:13 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BFA4221F87C7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 27 Jun 2012 08:31:12 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjuBI-0008M0-GX for ietf-http-wg-dist@listhub.w3.org; Wed, 27 Jun 2012 15:29:24 +0000
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <chudoantien@gmail.com>) id 1SjuB3-0008J0-N5 for ietf-http-wg@listhub.w3.org; Wed, 27 Jun 2012 15:29:09 +0000
Received: from badger1802.apple.com ([17.254.6.247]) by maggie.w3.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from <chudoantien@gmail.com>) id 1SjuAv-0000Jk-SF for ietf-http-wg@w3.org; Wed, 27 Jun 2012 15:29:08 +0000
Date: Wed, 27 Jun 2012 15:28:35 +0000 (GMT)
From: Dang Van <chudoantien@gmail.com>
To: ietf-http-wg@w3.org
Message-ID: <1809367309.79331340810915936.JavaMail.roverp@nwk-roverp-lap17.corp.apple.com>
MIME-Version: 1.0
Content-Type: multipart/mixed;  boundary="----=_Part_7932_1766670273.1340810915936"
X-EmailType-Id: 732450
X-Sent-To: ietf-http-wg@w3.org,2,k%2BmjWPCFEH1m5ry2zndhAs1%2FTkIv1fK%2BaIu7SVy37RFYpWuKdSkr5%2FuRRiiS7Mwf75%2BgXt%2FmZaWvXaQnHp9%2FhHwm74UZeQEb%2BEilFyUBBjdcnI2JVjfLPZ3YSV8xi5YrdgBHmwg%2Ffd7myL1j65XUXUqTWzmCp7Q3HU%2BivwCUrE8dYEWp%2FcgeU6xvvuUselHlCiZEP91x2bIxox%2BtcYpJ9jpI9BWphGpyA3f%2FYmT6MHYvq1AfoXCb9DbkOEulEKYDZ6Y32yWndbCU3eWgQhWMDL2WZ%2FigVxgOVckHI2y6uvX7%2FHagdVlOOsTK20fkOluWpbjxxJ9lYVWOYRZZvC0ExkTLIJX9lUs4g2si4m8qhd6kf0KMK6xKaOONwOuG4L8Egwxd%2BC3Xl4TdIHn0ad2GEw%3D%3D
X-DKIM_SIGN_REQUIRED: YES
Received-SPF: neutral client-ip=17.254.6.247; envelope-from=chudoantien@gmail.com; helo=badger1802.apple.com
X-W3C-Hub-Spam-Status: No, score=-2.8
X-W3C-Hub-Spam-Report: BAYES_50=0.8, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_IADB_LISTED=-0.001, RCVD_IN_IADB_OPTIN_GT50=-0.007, RCVD_IN_IADB_RDNS=-0.235, RCVD_IN_IADB_SPF=-0.059, RCVD_IN_IADB_UT_CPR_MAT=-0.001, SPF_NEUTRAL=0.779
X-W3C-Scan-Sig: maggie.w3.org 1SjuAv-0000Jk-SF c73803577a08d89fc5a35990ce8b6e87
X-Original-To: ietf-http-wg@w3.org
Subject: =?UTF-8?Q?Dang_Van_a_annul=C3=A9_l'=C3=A9v=C3=A9nement?=  =?UTF-8?Q?_=C2=AB=C2=A0Webinar:_Agile:_Kanban_or_?=  =?UTF-8?Q?Scrum=3F_When_to_Use_Which_and_?=  =?UTF-8?Q?How_to_Get_the_Best_of_Both=C2=A0=C2=BB.?=
Archived-At: <http://www.w3.org/mid/1809367309.79331340810915936.JavaMail.roverp@nwk-roverp-lap17.corp.apple.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13947
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjuBI-0008M0-GX@frink.w3.org>
Resent-Date: Wed, 27 Jun 2012 15:29:24 +0000

------=_Part_7932_1766670273.1340810915936
Content-Type: multipart/alternative; 
	boundary="----=_Part_7933_1318374889.1340810915936"

------=_Part_7933_1318374889.1340810915936
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

date et heure=09  mercredi 27 juin 2012, 15:00 - 16:00

de=09=09=09=09  Dang Van

invit=C3=A9s  =09=09=09  Vous.

--

iCloud est un service fourni par Apple.
Conditions g=C3=A9n=C3=A9rales http://www.apple.com/legal/icloud/ww/
Engagement de confidentialit=C3=A9 http://www.apple.com/fr/privacy/
Copyright 2012 Apple Inc. 1 Infinite Loop, Cupertino CA 95014. Tous droits =
r=C3=A9serv=C3=A9s.

------=_Part_7933_1318374889.1340810915936
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: QUOTED-PRINTABLE
Content-Disposition: inline

<html>
=09<head>
=09  <meta name=3D"viewport" content=3D"width=3Ddevice-width">
=09  <style type=3D"text/css">
 =09      a {
            text-decoration: none;
        }

        a:link {
            color: #94a7bb;
            text-decoration: none;
        }

        a:visited {
            color: #94a7bb;
            text-decoration: none;
        }

        a:active {
            color: #94a7bb;
            text-decoration: underline;
        }

        a:hover {
            color: #94a7bb;
        =09text-decoration: underline;
        }

        a.footer-legal {
        =09font-size: 11px;
        =09font-weight: normal;
        =09color: #999999;
        }

        a.footer-legal:link {
            color: #999999;
            text-decoration: none;
        }

        a.footer-legal:visited {
            color: #999999;
            text-decoration: none;
        }

        a.footer-legal:active {
            color: #999999;
            text-decoration: underline;
        }

        a.footer-legal:hover {
            color: #999999;
        =09text-decoration: underline;
        }
=09=09.main {
=09=09=09min-width: 560px;
=09=09}
=09=09@media only screen and (max-device-width: 640px) {
=09=09=09.main {
=09=09=09=09min-height:420px;
=09=09 =09}
=09=09}
=09=09@media only screen and (max-device-width: 480px) {
=09=09=09body[yahoo] .main {
=09=09=09=09min-height:500px !important;
=09=09=09=09width: 460px !important;
=09=09 =09}
=09=09=09body[yahoo] .labelfont{
=09=09=09=09font-size: 19px !important;
=09=09=09=09width: 90px !important;
=09=09=09}
=09=09=09body[yahoo] .textfont{
=09=09=09=09width: 370px !important;
=09=09=09=09font-size: 19px !important;
=09=09=09=09font-weight: normal !important;
=09=09=09=09line-height: 20px !important;
=09=09=09}
=09=09=09body[yahoo] .hrwidth{
=09=09=09=09width: 460px !important;
=09=09=09}
=09=09=09body[yahoo] .tablewidth{
=09=09=09  margin-top: 0px !important;
=09=09=09=09width: 460px !important;
=09=09=09}
=09=09=09body[yahoo] .notewidth{
=09=09=09=09width: 460px !important;
=09=09=09=09font-size: 19px !important;
=09=09=09=09line-height: 20px !important;
=09=09=09}
=09=09=09body[yahoo] .envelopeimg{
=09=09=09=09display: none !important;
=09=09=09=09padding-left: 0px !important;
=09=09=09}
=09=09=09body[yahoo] .emailTitle{
=09=09=09=09display: none !important;
=09=09=09}
=09=09}

    @media only screen and (-webkit-min-device-pixel-ratio: 2) {
      body[yahoo] .eventInviteCancel-img img {
        visibility: hidden !important;
      }
     =20
      body[yahoo] .eventInviteCancel-img {
        background-image: url(https://statici.icloud.com/emailimages/calweb=
/shared/eventInviteCancel@2x.png);
        background-size: 126px 88px;
      }
     =20
      body[yahoo] .footerLogo-img img {
        visibility: hidden !important;
      }
     =20
      body[yahoo] .footerLogo-img {
        background-image: url(https://statici.icloud.com/emailimages/calweb=
/shared/footerLogo@2x.png);
        background-size: 92px 18px;
      }
    }
   =20
      </style>
=09</head>
=09<body yahoo=3D"fix" style=3D"background-image: url('https://statici.iclo=
ud.com/emailimages/calweb/shared/bg.png') ; background-repeat:repeat-x;">
=09  <div width=3D"560" class=3D"tablewidth" style=3D"background-image: url=
('https://statici.icloud.com/emailimages/calweb/shared/bg.png') ; backgroun=
d-repeat:repeat-x;">
=09  <table width=3D"100%" class=3D"tablewidth" cellpadding=3D"0" cellspaci=
ng=3D"0">
=09=09<tr>
=09=09<td width:"560" class=3D"tablewidth" background=3D"https://statici.ic=
loud.com/emailimages/calweb/shared/bg.png" style=3D"background-repeat:repea=
t-x;">
=09=09
=09=09=09
=09=09=09
=09=09     <table width=3D"560" class=3D"tablewidth" cellpadding=3D"0" cell=
spacing=3D"0"
=09=09      style=3D"margin-left:10px; margin-top:13px">
=09=09      <tr>
=09=09    =09  <td class=3D"emailTitle" style=3D"font-family: Helvetica, Ar=
ial, Sans-Serif; font-size: 21px;=20
=09=09=09=09      font-weight: bold; color: #000000;=20
=09=09=09=09      text-shadow: 0px 1px #FFFFFF;">
=09=09=09=09     =20
=09=09          =09Dang Van a annul=C3=A9 l'=C3=A9v=C3=A9nement =C2=AB=C2=
=A0Webinar: Agile: Kanban or Scrum? When to Use Which and How to Get the Be=
st of Both=C2=A0=C2=BB.
=09=09       =20
=09=09    =09  </td>
=09=09      </tr>
=09=09=09</table>
=09=09=09
=09=09=09=09
=09=09=09

=09=09=09
=09=09=09    <table width=3D"640" class=3D"tablewidth" cellpadding=3D"0" ce=
llspacing=3D"0" style=3D"margin-left:9px; margin-top: 15px
=09=09=09        ;">
=09=09=09    =09<tr>
=09=09=09=09=09=09<td width=3D"480" style=3D"=09font-family: Helvetica, Ari=
al, Sans-Serif;
=09=09=09=09=09      =09=09=09font-size: 13px; color: #000000;
=09=09=09=09=09      =09=09=09text-shadow: 0px 1px #FFFFFF;">
=09=09=09=09=09=09=09<table>=20
=09=09=09=09=09=09=09
=09=09=09=09=09=09=09

=09=09=09=09=09=09=09
=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09=09<td class=3D"labelfont" style=3D"font-family: He=
lvetica, Arial, Sans-Serif;font-size: 13px;
=09=09=09=09=09=09=09=09=09=09font-weight: bold;color: #d4dce4;=20
=09=09=09=09=09=09=09=09=09=09text-shadow: 0px 1px #FFFFFF;
=09=09=09=09=09=09=09=09=09=09padding-top:
=09=09=09=09=09=093px
=09=09=09=09=09;"=20
=09=09=09=09=09=09=09=09=09=09align=3D"right" width=3D"94" valign=3D"top">
=09=09=09=09=09=09=09=09date et heure
=09=09=09=09=09=09    =09=09</td>
=09=09=09=09=09=09=09=09=09<td width=3D"322" class=3D"textfont" align=3D"le=
ft"=20
=09=09=09=09=09  =09=09=09=09=09style=3D"font-family: Helvetica, Arial, San=
s-Serif;
=09=09=09=09=09        =09=09 =09font-size: 13px; color: #94a7bb;=20
=09=09=09=09=09        =09=09 =09padding-left:14px; line-height:16px;
=09=09=09=09=09  =09=09=09=09=09padding-top:
=09=09=09=09=09=093px
=09=09=09=09=09;" valign=3D"top">
=09=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09=09mercredi 27 juin 2012, 15:00 - 16:00
=09=09=09=09=09=09=09=09=09</td>
=09=09=09=09=09=09=09=09</tr>
=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09
=09=09=09=09=09=09=09=09=09
=09=09    =09=09=09=09=09=09<tr>
=09=09    =09=09=09=09=09=09=09<td class=3D"labelfont" style=3D"font-family=
: Helvetica, Arial, Sans-Serif; font-size: 13px;font-weight: bold;color: #d=
4dce4;  text-shadow: 0px 1px #FFFFFF; padding-top:3px;" align=3D"right" wid=
th=3D"90">
=09=09=09=09       =09=09=09=09=09=09
=09=09=09=09     =09=09=09=09=09=09de
=09=09    =09=09=09=09=09=09=09</td>
=09=09    =09=09=09=09=09=09=09<td width=3D"322" class=3D"textfont" align=
=3D"left"  style=3D"font-family: Helvetica, Arial, Sans-Serif; font-size: 1=
3px; color: #94a7bb;  padding-top:3px; padding-left:11px;">
=09=09=09=09=09=09=09=09=09=09=09Dang Van
=09=09    =09=09=09=09=09=09=09</td>
=09=09    =09=09=09=09=09=09</tr>


=09=09=09=09=09=09=09
=09=09=09=09=09=09=09
=09=09=09=09=09    =09<tr>
=09=09=09=09=09    =09=09<td class=3D"labelfont" style=3D"font-family: Helv=
etica, Arial, Sans-Serif;
=09=09=09=09=09=09      =09=09font-size: 13px;font-weight: bold;color: #d4d=
ce4;
=09=09=09=09=09=09=09    =09 text-shadow: 0px 1px #FFFFFF;
=09=09=09=09=09=09=09=09=09padding-top:20px;" valign=3D"top" align=3D"right=
" width=3D"90">
=09=09=09=09=09       =09=09  =09
=09=09=09=09=09              invit=C3=A9s =20
=09=09=09=09=09       =20
=09=09=09=09=09    =09=09</td>
=09=09=09=09=09    =09=09<td width=3D"322" class=3D"textfont" valign=3D"top=
" align=3D"left"=20
=09=09=09=09=09=09=09=09=09style=3D"font-family: Helvetica, Arial, Sans-Ser=
if;
=09=09=09=09=09=09=09=09 =09font-size: 13px; color: #94a7bb;
=09=09=09=09=09=09=09=09 =09padding-left:14px; line-height:16px; padding-to=
p:20px;">
=09=09=09=09=09  =09=09=09  =09Vous.
=09=09=09=09=09    =09=09</td>
=09=09=09=09=09    =09</tr> =20
                 =20
                 =20
              </table>
=09=09=09=09=09</td>
=09=09=09=09
=09=09=09=09
=09=09=09=09
=09=09=09=09=09<td class=3D"envelopeimg" width=3D"136" height=3D"136" valig=
n=3D"top" style=3D"display:block; padding-left:20px; padding-top:32px;">
            <span class=3D"eventInviteCancel-img" style=3D"display: inline-=
block;">
              <img src=3D"https://statici.icloud.com/emailimages/calweb/sha=
red/eventInviteCancel.png" width=3D"126" height=3D"88"  border=3D"0" alt=3D=
""/>
            </span>
=09=09=09    </td>
=09=09=09=09</tr>
=09=09=09</table>
=09=09=09

=09=09
=09=09
  =09<table width=3D"560" class=3D"tablewidth" cellpadding=3D"0" cellspacin=
g=3D"0" style=3D"margin-left:12px;
  =09  margin-bottom:15px">
  =09  <tr><td height=3D"10"></td></tr>
  =09=09<tr><td><hr  width=3D"558" class=3D"hrwidth" size=3D"1" color=3D"#e=
9f3fd" style=3D"color:#e9f3fd;"> </hr></td></tr>
  =09=09<tr><td height=3D"9"></td></tr>
      <tr><td><span class=3D"footerLogo-img" style=3D"display: inline-block=
;">
            <img src=3D"https://statici.icloud.com/emailimages/calweb/share=
d/footerLogo.png" border=3D"0" height=3D"18" width=3D"92" alt=3D""/>
      </span></td></tr>
  =09=09<tr><td height=3D"13"></td></tr>
  =09=09<tr>
  =09=09  <td style=3D" font-family: Helvetica, Arial, Sans-Serif;
      =09=09font-size: 11px;font-weight: normal;color: #999999;">
     =09
           iCloud est un service fourni par Apple =E2=80=A2
            =20
  =09=09=09=09<a style=3D"font-size: 11px;font-weight: normal;color: #99999=
9;" href=3D"http://www.apple.com/legal/icloud/ww/">
         =09
         Conditions g=C3=A9n=C3=A9rales de service
=09=09=09
  =09=09=09=09</a>
  =09=09=09=09<a style=3D"font-size: 11px;font-weight: normal;color: #99999=
9;" href=3D"http://www.apple.com/fr/privacy/">
         =09
          Engagement de confidentialit=C3=A9
           =20
  =09=09=09=09</a>
  =09=09=09</td>
  =09=09</tr>
  =09=09<tr>
  =09=09=09<td style=3D"font-family: Helvetica, Arial, Sans-Serif;
=09=09=09      =09font-size: 11px;font-weight: normal;color: #999999;">
         =09
            Copyright =C2=A9 2012 Apple Inc. &#8226; 1 Infinite Loop, Cuper=
tino, CA 95014 &#8226; Tous droits r=C3=A9serv=C3=A9s.
=09=09</td>
  =09=09</tr>=09
  =09</table>
=09</td>
=09</tr>
=09</table>
=09</div>
=09</body>
 <img src=3D'http://insideapple.apple.com/img/APPLE_EMAIL_LINK/spacer4.gif?=
v=3D2&a=3Dk%2BmjWPCFEH1m5ry2zndhAs1%2FTkIv1fK%2BaIu7SVy37RFYpWuKdSkr5%2FuRR=
iiS7Mwf75%2BgXt%2FmZaWvXaQnHp9%2FhHwm74UZeQEb%2BEilFyUBBjdcnI2JVjfLPZ3YSV8x=
i5YrdgBHmwg%2Ffd7myL1j65XUXUqTWzmCp7Q3HU%2BivwCUrE8dYEWp%2FcgeU6xvvuUselHlC=
iZEP91x2bIxox%2BtcYpJ9jpI9BWphGpyA3f%2FYmT6MHYvq1AfoXCb9DbkOEulEKYDZ6Y32yWn=
dbCU3eWgQhWMDL2WZ%2FigVxgOVckHI2y6uvX7%2FHagdVlOOsTK20fkOluWpbjxxJ9lYVWOYRZ=
ZvC0ExkTLIJX9lUs4g2si4m8qhd6kf0KMK6xKaOONwOuG4L8Egwxd%2BC3Xl4TdIHn0ad2GEw%3=
D%3D'/>
</html>
------=_Part_7933_1318374889.1340810915936--

------=_Part_7932_1766670273.1340810915936
Content-Type: text/calendar; method=CANCEL
Content-Transfer-Encoding: Base64
Content-Disposition: attachment; filename=iCal-20120627-082835.ics

QkVHSU46VkNBTEVOREFSDQpWRVJTSU9OOjIuMA0KUFJPRElEOi0vL0NBTEVOREFSU0VSVkVSLk9S
Ry8vTk9OU0dNTCBWZXJzaW9uIDEvL0VODQpNRVRIT0Q6Q0FOQ0VMDQpCRUdJTjpWRVZFTlQNCkRU
U1RBTVA6MjAxMjA2MjdUMTUyODM1Wg0KVUlEOjg3MzZEQUVGLTc2RkMtNEYwRi05MzNBLTQ5M0E4
OUJFNTUxMw0KU0VRVUVOQ0U6Mw0KU1VNTUFSWTpXZWJpbmFyOiBBZ2lsZTogS2FuYmFuIG9yIFNj
cnVtPyBXaGVuIHRvIFVzZSBXaGljaCBhbmQgSG93IHRvIEdldCANCiB0aGUgQmVzdCBvZiBCb3Ro
DQpEVFNUQVJUOjIwMTIwNjI3VDE1MDAwMFoNCkRURU5EOjIwMTIwNjI3VDE2MDAwMFoNCkFUVEVO
REVFO0NOPUhUVFAgV29ya2luZyBHcm91cDtDVVRZUEU9SU5ESVZJRFVBTDtQQVJUU1RBVD1BQ0NF
UFRFRDptYWlsdG86DQogaWV0Zi1odHRwLXdnQHczLm9yZw0KT1JHQU5JWkVSO0NOPVZhbiBEYW5n
O0VNQUlMPWNodWRvYW50aWVuQGdtYWlsLmNvbTptYWlsdG86DQogTm9uZUBpbWlwLm1lLmNvbQ0K
RU5EOlZFVkVOVA0KRU5EOlZDQUxFTkRBUg0K
------=_Part_7932_1766670273.1340810915936--



From ietf-http-wg-request@listhub.w3.org  Wed Jun 27 09:01: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 73F7F21F87A9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 09:01:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.266
X-Spam-Level: 
X-Spam-Status: No, score=-7.266 tagged_above=-999 required=5 tests=[AWL=3.333, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MyZeKacVStzI for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 09:01:31 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id E944621F8610 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 27 Jun 2012 09:01:30 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SjueR-00005T-68 for ietf-http-wg-dist@listhub.w3.org; Wed, 27 Jun 2012 15:59:31 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <julian.reschke@gmx.de>) id 1SjueE-0008WD-Es for ietf-http-wg@listhub.w3.org; Wed, 27 Jun 2012 15:59:18 +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 1SjueB-0006PP-CJ for ietf-http-wg@w3.org; Wed, 27 Jun 2012 15:59:16 +0000
Received: (qmail invoked by alias); 27 Jun 2012 15:58:48 -0000
Received: from unknown (EHLO [42.1.1.153]) [192.147.117.12] by mail.gmx.net (mp016) with SMTP; 27 Jun 2012 17:58:48 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1+2CA0295q2MBm/JnuFF6VZBMfNxteNJgmzGzFFNR 0ovC8DNesJOZEW
Message-ID: <4FEB2DB0.2040702@gmx.de>
Date: Wed, 27 Jun 2012 17:58:40 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <B5E63193-2450-41AD-A3AA-047755F2189D@niven-jenkins.co.uk> <6B348243-BC1C-48C0-822A-1649FDAF7091@mnot.net> <F65ED7E8-7B71-4DFC-98BC-51FCC1B4936B@mnot.net> <CACuKZqHdp2_sL=V9pg1cnTrYOwWjAzh4+d-wh+qpnFRzONyQ-g@mail.gmail.com> <4DEBDF43-17B3-4EA7-A014-46932F037CCA@mnot.net> <4FE45AD8.3080801@velocix.com> <F2B07AA1-9D24-4BF8-BDC0-50A16942322B@mnot.net>
In-Reply-To: <F2B07AA1-9D24-4BF8-BDC0-50A16942322B@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=-1.9
X-W3C-Hub-Spam-Report: 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 1SjueB-0006PP-CJ 0a2145ca034a83a14040bd853425d811
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #354 - ETags & conditional requests
Archived-At: <http://www.w3.org/mid/4FEB2DB0.2040702@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13948
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SjueR-00005T-68@frink.w3.org>
Resent-Date: Wed, 27 Jun 2012 15:59:31 +0000

On 2012-06-27 04:03, Mark Nottingham wrote:
> Haven't heard any objection, so I've assigned for incorporation in -20.
> ...

-> <http://trac.tools.ietf.org/wg/httpbis/trac/changeset/1696>

Best regards, Julian


From ietf-http-wg-request@listhub.w3.org  Wed Jun 27 21:34: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 5493021F85E5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 21:34: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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EpNJ-+k1aXZB for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 27 Jun 2012 21:34:19 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DB75821F862B for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 27 Jun 2012 17:39:48 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1Sk2jM-00034U-2x for ietf-http-wg-dist@listhub.w3.org; Thu, 28 Jun 2012 00:37:08 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <chudoantien@gmail.com>) id 1Sk2j4-0002gk-7x for ietf-http-wg@listhub.w3.org; Thu, 28 Jun 2012 00:36:50 +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 <chudoantien@gmail.com>) id 1Sk2j1-00047v-VH for ietf-http-wg@w3.org; Thu, 28 Jun 2012 00:36:48 +0000
Received: by qcsp15 with SMTP id p15so1109051qcs.30 for <ietf-http-wg@w3.org>; Wed, 27 Jun 2012 17:36:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:content-type:message-id:date:to :content-transfer-encoding:mime-version:x-mailer; bh=gClo6vlDdYQ1sN0E2KGu+GSZmBYGO44MwDTsjWG+eoQ=; b=awCJCljsNM5OyB9ZD7gBEKeRQZYHYeOmP1J3TAsEEyuHYHPTEvyk6ba0TUK4Hw1kDr EcLcbBpKQJWq/Hk+sQ1q8kY9YoTFKf47thfPB/nTTOrKmRFTltLv3P9oaali3Y4XZo9/ iqOv+s1x4cAlE+lO6Xe8HVJ6T1vEjiBWrHdr5u0HymDWdL95WCu9VckzPrAS4aNbXJmK C0OCCDh27ZPNYwdROGmTRP2WsolOb9oqiPjR+CIX4Zhz8dNqqvHdynf3X6AqwHkSPnRK lZaJb3ovCBNmsnIKxeugRebAwP5oSpvEZMmgbd9eI7zKyfDFBXzvU52qeNAnAVCdKP+M RP6w==
Received: by 10.224.105.203 with SMTP id u11mr391232qao.41.1340843782289; Wed, 27 Jun 2012 17:36:22 -0700 (PDT)
Received: from [192.168.1.103] (modemcable088.4-203-24.mc.videotron.ca. [24.203.4.88]) by mx.google.com with ESMTPS id dz4sm505774qab.4.2012.06.27.17.36.20 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Jun 2012 17:36:21 -0700 (PDT)
From: Dang Van <chudoantien@gmail.com>
Content-Type: text/plain; charset=utf-8
Message-Id: <D18AD699-8807-494B-91B2-1E2A0D6AF47D@gmail.com>
Date: Wed, 27 Jun 2012 20:32:46 -0400
To: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (1.0)
X-Mailer: iPhone Mail (9B206)
Received-SPF: pass client-ip=209.85.216.171; envelope-from=chudoantien@gmail.com; helo=mail-qc0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-1.3
X-W3C-Hub-Spam-Report: BAYES_05=-0.5, 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 1Sk2j1-00047v-VH b5c1175ef297720edb0371fabac2bd9b
X-Original-To: ietf-http-wg@w3.org
Subject: ietf-http-wg@w3.org
Archived-At: <http://www.w3.org/mid/D18AD699-8807-494B-91B2-1E2A0D6AF47D@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13949
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1Sk2jM-00034U-2x@frink.w3.org>
Resent-Date: Thu, 28 Jun 2012 00:37:08 +0000

Envoy=C3=A9 de mon iPhone=


From ietf-http-wg-request@listhub.w3.org  Thu Jun 28 18:37: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 F17D221F860B for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 28 Jun 2012 18:37:53 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id esolAsg4AXUS for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 28 Jun 2012 18:37:52 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id DDEE121F8606 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 28 Jun 2012 18:37:49 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.69) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1SkQ7r-0007eU-Ha for ietf-http-wg-dist@listhub.w3.org; Fri, 29 Jun 2012 01:35:59 +0000
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtp (Exim 4.69) (envelope-from <mnot@mnot.net>) id 1SkQ6p-0007cZ-24 for ietf-http-wg@listhub.w3.org; Fri, 29 Jun 2012 01:34:57 +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 1SkQ6m-0001hI-8s for ietf-http-wg@w3.org; Fri, 29 Jun 2012 01:34:53 +0000
Received: from [10.5.66.24] (unknown [72.32.115.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 86F2A22E1EB; Thu, 28 Jun 2012 21:34:29 -0400 (EDT)
Mime-Version: 1.0 (Apple Message framework v1278)
Content-Type: text/plain; charset=iso-8859-1
From: Mark Nottingham <mnot@mnot.net>
In-Reply-To: <4FE6E978.4010509@gmx.de>
Date: Fri, 29 Jun 2012 11:34:25 +1000
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <CADEC08E-FF65-4BE8-8503-8D6F2AAE8076@mnot.net>
References: <4FE6E978.4010509@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1278)
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.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 1SkQ6m-0001hI-8s 244deeb304c9a0b2f56dad33ca2886a9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: #271: use of "may" and "should"
Archived-At: <http://www.w3.org/mid/CADEC08E-FF65-4BE8-8503-8D6F2AAE8076@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13950
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>
Resent-Message-Id: <E1SkQ7r-0007eU-Ha@frink.w3.org>
Resent-Date: Fri, 29 Jun 2012 01:35:59 +0000

On 24/06/2012, at 8:18 PM, Julian Reschke wrote:

> P6, 2.3.3:
>=20
>   If a cache receives a first-hand response (either an entire =
response,
>   or a 304 (Not Modified) response) that it would normally forward to
>   the requesting client, and the received response is no longer fresh,
>   the cache can forward it to the requesting client without adding a
>   new Warning (but without removing any existing Warning header
>   fields).  A cache shouldn't attempt to validate a response simply
>   because that response became stale in transit.
>=20
> "shouldn't" -> "SHOULD NOT"

I think I prefer the "shouldn't" here; it's not a conformance =
requirement, but instead simply trying to explain how things work. I.e., =
this doesn't affect interop.


> P6, 2.4:
>=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.  However, if any of the stored
>   responses contains only partial content, the cache shouldn't include
>   its entity-tag in the If-None-Match header field unless the request
>   is for a range that would be fully satisfied by that stored =
response.
>=20
> "shouldn't" -> "SHOULD NOT"

Again, this isn't really interop, it's just trying to explain how it =
works.=20


> P6, 3.2.3:
>=20
>   For example, consider a hypothetical new response directive called
>   "community" that acts as a modifier to the private directive.  We
>   define this new directive to mean that, in addition to any private
>   cache, any cache that is shared only by members of the community
>   named within its value may cache the response.  An origin server
>   wishing to allow the UCI community to use an otherwise private
>   response in their shared cache(s) could do so by including
>=20
> "may" -> "can"

OK.

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





From ietf-http-wg-request@listhub.w3.org  Fri Jun 29 08:55: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 D774D21F87C9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 29 Jun 2012 08:55:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.876
X-Spam-Level: 
X-Spam-Status: No, score=-6.876 tagged_above=-999 required=5 tests=[AWL=3.723, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z5ZlSzdQXunC for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Fri, 29 Jun 2012 08:55:48 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id BC64C21F8743 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Fri, 29 Jun 2012 08:55: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 1SkdVv-0008Lr-4V for ietf-http-wg-dist@listhub.w3.org; Fri, 29 Jun 2012 15:53:43 +0000
Resent-Date: Fri, 29 Jun 2012 15:53:43 +0000
Resent-Message-Id: <E1SkdVv-0008Lr-4V@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SkdVj-0008K5-0M for ietf-http-wg@listhub.w3.org; Fri, 29 Jun 2012 15:53:31 +0000
Received: from statler.isode.com ([62.3.217.254]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <alexey.melnikov@isode.com>) id 1SkdVe-0000bP-2O for ietf-http-wg@w3.org; Fri, 29 Jun 2012 15:53:30 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1340985182; d=isode.com; s=selector; i=@isode.com; bh=F+7zJYpPZLXMMdWa0Bv31g7UH1kCFuGGNRgvbiFdt7g=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=gTe+TtA8eqAeFpejgggy4u5JZs4y+37+4Llaq3j4y56TRnpz3WQ3b00mM9qhJG5V5Zm1Ys kQ3Vdi1mUiWx0bHHQivoqk3WEUtIcPM4FX9BVa0WOkFWCap8kPzyyQoLqPMbEL2CmEHXpd yQ89HTrFOSYbetCGJptMVO0ADCWk6kw=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250])  by statler.isode.com (submission channel) via TCP with ESMTPSA  id <T-3PWwBPiK9W@statler.isode.com>; Fri, 29 Jun 2012 16:53:01 +0100
X-SMTP-Protocol-Errors: PIPELINING
Message-ID: <4FEDCF5A.80605@isode.com>
Date: Fri, 29 Jun 2012 16:52:58 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
To: Mark Nottingham <mnot@mnot.net>
CC: HTTP Working Group <ietf-http-wg@w3.org>
References: <39AE3350-3156-4E7C-BF77-9BDCB2C749D2@mnot.net> <CAMeZVwvQsVMeR18sZWyx-cPCs8zsDE0Vuw9_yZVT02vZD-TQWw@mail.gmail.com> <5B64102F-8E33-4FFC-BF31-742D394957A5@mnot.net> <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net>
In-Reply-To: <E6BAC4E4-EFC4-456B-955E-A7C4073D9660@mnot.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Received-SPF: pass client-ip=62.3.217.254; envelope-from=alexey.melnikov@isode.com; helo=statler.isode.com
X-W3C-Hub-Spam-Status: No, score=-2.0
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01
X-W3C-Scan-Sig: maggie.w3.org 1SkdVe-0000bP-2O 219b570b27cd05004c23f06846b30e1b
X-Original-To: ietf-http-wg@w3.org
Subject: Re: WGLC #357: Authentication Exchanges
Archived-At: <http://www.w3.org/mid/4FEDCF5A.80605@isode.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/13951
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 20/06/2012 03:04, Mark Nottingham wrote:
> Looking at this, I think this language in the spec isn't very good for other reasons as well:
>
>> If the origin server does not wish to accept the credentials sent with a request, it should return a 401 (Unauthorized) response. The responsemust include a WWW-Authenticate header field containing at least one (possibly new) challenge applicable to the requested resource.
>>
>> If a proxy does not accept the credentials sent with a request, it should return a 407 (Proxy Authentication Required) response. The responsemust include a Proxy-Authenticate header field containing a (possibly new) challenge applicable to the proxy for the requested resource.
> Because "accept" can be read in so many ways. I think we can fix both problems with something like:
>
> """
> Requests for protected resources that omit credentials, contain invalid credentials (e.g., a bad password), or partial credentials (e.g., when the scheme requires more than one round trip) SHOULD return a 401 (Unauthorized) response. Such responses MUST include a WWW-Authenticate header field containing at least one (possibly new) challenge applicable to the requested resource.
>
> Likewise, requests that require authentication by proxies that omit credentials, or contain invalid or partial credentials SHOULD return a 407 (Proxy Authentication Required) response. The response MUST include a Proxy-Authenticate header field containing a (possibly new) challenge applicable to the proxy.
> """
>
> Thoughts?

This reads better, yes.


