Re: ORIGIN - suggested changes

Mark Nottingham <mnot@mnot.net> Fri, 03 February 2017 00:47 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E3EE8129795 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 2 Feb 2017 16:47:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.108
X-Spam-Level:
X-Spam-Status: No, score=-10.108 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-3.199, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_HTML_ATTACH=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wqGKXrLKWM2s for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 2 Feb 2017 16:47:26 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F9351295EB for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 2 Feb 2017 16:47:26 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cZRz6-0003Yk-Oy for ietf-http-wg-dist@listhub.w3.org; Fri, 03 Feb 2017 00:44:16 +0000
Resent-Date: Fri, 03 Feb 2017 00:44:16 +0000
Resent-Message-Id: <E1cZRz6-0003Yk-Oy@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <mnot@mnot.net>) id 1cZRyz-0003Xi-4f for ietf-http-wg@listhub.w3.org; Fri, 03 Feb 2017 00:44:09 +0000
Received: from mxout-07.mxes.net ([216.86.168.182]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <mnot@mnot.net>) id 1cZRyO-0001EF-FO for ietf-http-wg@w3.org; Fri, 03 Feb 2017 00:44:03 +0000
Received: from [192.168.3.104] (unknown [124.189.98.244]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4DC2722E257; Thu, 2 Feb 2017 19:43:06 -0500 (EST)
From: Mark Nottingham <mnot@mnot.net>
Message-Id: <2DAB7A8F-2614-4448-8DA9-6967E6E3BD06@mnot.net>
Content-Type: multipart/mixed; boundary="Apple-Mail=_51793F6D-5828-4E15-A42C-B685F5254064"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Date: Fri, 03 Feb 2017 11:43:03 +1100
In-Reply-To: <373E9285-B023-4D42-A749-368649E34252@mnot.net>
Cc: Martin Thomson <martin.thomson@gmail.com>, "Nygren, Erik" <nygren@akamai.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <C3CCA267-F5B5-4827-AC27-9853BDADACDE@mnot.net> <CABkgnnWaN6Kaq28=a+At_YQcZmG_o0-VRMAWBABzdLz-RBxxPA@mail.gmail.com> <5D2EB826-204B-44FC-AB42-B0BBECF9AE62@mnot.net> <CABkgnnX26M2P1Kp-PxPDzREZGp0nGfuJubgTqrs9Hr7n8ttqdA@mail.gmail.com> <373E9285-B023-4D42-A749-368649E34252@mnot.net>
X-Mailer: Apple Mail (2.3259)
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: RCVD_IN_DNSWL_LOW=-0.7, TIME_LIMIT_EXCEEDED=0, URIBL_BLOCKED=0.001
X-W3C-Scan-Sig: titan.w3.org 1cZRyO-0001EF-FO adfbde7cc16342c17ade7a3caee57fee
X-Original-To: ietf-http-wg@w3.org
Subject: Re: ORIGIN - suggested changes
Archived-At: <http://www.w3.org/mid/2DAB7A8F-2614-4448-8DA9-6967E6E3BD06@mnot.net>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33430
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

I've done some more updating:
  https://github.com/httpwg/http-extensions/pull/285

At this point, the diff isn't too helpful, so see attached.

Changes include:

1. Removing set manipulation flags
2. Reserving some flags for future backwards-incompatible extensions (which makes me feel a bit better about #1)
3. Note impact upon Server Push
4. Added IANA Considerations and Operational Considerations
5. Lots of clarifications

Feedback welcome, as always.




> On 2 Feb 2017, at 12:30 pm, Mark Nottingham <mnot@mnot.net> wrote:
> 
> 
>> On 2 Feb 2017, at 12:23 pm, Martin Thomson <martin.thomson@gmail.com> wrote:
>> 
>> On 2 February 2017 at 10:12, Mark Nottingham <mnot@mnot.net> wrote:
>>> I don't buy the argument that removal itself adds complexity. Implementations already need to remember what origins they received a 421 for, so they already have the concept of origin set removal.
>> 
>> Well, you just established why it might be unnecessary.  The gain here
>> is in the client not sending a request to the wrong place.  But if
>> this is rare enough, then that cost is probably bearable.
> 
> Right, but the whole point of ORIGIN is to avoid those situations. 
> 
> 
>> The "everything except those" case doesn't concern me that much.
>> Iknow it's relatively common, but it is fairly rare that the set of
>> origins that are used is not easily enumerable, or incrementally
>> discoverable.
> 
> Spoken like a true browser vendor :) 
> 
> It'd be good to get a bit more data here from server-side folks. Anyone share this concern? I note that Nick seems to be OK with it.
> 
> Cheers,
> 
> --
> Mark Nottingham   https://www.mnot.net/
> 
> 

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