Re: ORIGIN - suggested changes

Martin Thomson <martin.thomson@gmail.com> Thu, 02 February 2017 01:25 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 0AFD912948F for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 1 Feb 2017 17:25:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.72
X-Spam-Level:
X-Spam-Status: No, score=-9.72 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-3.199, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 BHJHfWnZaSme for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 1 Feb 2017 17:25:55 -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 EEFDB129466 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 1 Feb 2017 17:25:54 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1cZ67u-0007UO-8X for ietf-http-wg-dist@listhub.w3.org; Thu, 02 Feb 2017 01:23:54 +0000
Resent-Date: Thu, 02 Feb 2017 01:23:54 +0000
Resent-Message-Id: <E1cZ67u-0007UO-8X@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 <martin.thomson@gmail.com>) id 1cZ67r-0007Rb-4c for ietf-http-wg@listhub.w3.org; Thu, 02 Feb 2017 01:23:51 +0000
Received: from mail-qt0-f181.google.com ([209.85.216.181]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <martin.thomson@gmail.com>) id 1cZ67l-0003ME-6y for ietf-http-wg@w3.org; Thu, 02 Feb 2017 01:23:45 +0000
Received: by mail-qt0-f181.google.com with SMTP id x49so3273141qtc.2 for <ietf-http-wg@w3.org>; Wed, 01 Feb 2017 17:23:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0bmPtRQ2BLhiWcuPhrFEJdiHg5j3XnIejiHnRWxwy0A=; b=OaG3PdQdAwt+52pt7xJspZ1qrkbAWojP0ZsrvO1bkPvfOgaQgVINSeS8J5mTJbv5IH xt+HVYgxZZwGynB+/ds0PjegvLcfsewWx5UlYUuYPjnMS1bhnoVWPnVcYvARVOeKIMOI 9aZ7BESzStdfPKI0hqPcz6hgbBh0JSbiLn4XCrwfif+5Aj0xCK6MgGYpd2GxW8OYuc7W 0roItUG6wFsPv7PNLb3IXcrsNU8hQRos549ct7ScxSl85VFWNf34fb0duKnyuwWFDWqW 8jQBThJZC5Zwhyq3MOnT5GI5tnEGRkGUsUBhHxEGTqUffJiIiKZXLP1qilwACehDVEng g+ig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=0bmPtRQ2BLhiWcuPhrFEJdiHg5j3XnIejiHnRWxwy0A=; b=oWH8OrVF3I5Zo00y70iWMIxKbiMBNZFUC7Vu7nbRVXNp6htriGrVuzCwc7gwGudsil HaU77dCofHM6yjkFEFb8NBXz9NSP29J9Ts0n/65KDOes8uR0nNeQF3ZupWi7XFUjrIav gDJ8SywjxYDAxZ9W5UDlZ5L8UkNgJDTPRs4fgDXLm8lCB09MGdoJv7UGfHSQp3FfPeM5 HdcDdO3nq+Y323lVu7H0wsIm4qb0W408LzqLIcQlwXEEtpUAxB5KT1erhbj87iV1aKyC 8r1pipUMWq4Ose5lb4vhhx8N4lb9N2UhrMWXqsehir2Zk42qwgq+7txN+JPClAhFGnbY Vi0w==
X-Gm-Message-State: AIkVDXKj2fahT/K3woQRrm1cyNgAU8F1x2j+EgvMT7XgjZdksMIzRMOl6kQkE3n6ZzlyT8feGpwnatbYEjjUdQ==
X-Received: by 10.200.55.112 with SMTP id p45mr6028771qtb.278.1485998599274; Wed, 01 Feb 2017 17:23:19 -0800 (PST)
MIME-Version: 1.0
Received: by 10.140.19.112 with HTTP; Wed, 1 Feb 2017 17:23:18 -0800 (PST)
In-Reply-To: <5D2EB826-204B-44FC-AB42-B0BBECF9AE62@mnot.net>
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>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 02 Feb 2017 10:23:18 +0900
Message-ID: <CABkgnnX26M2P1Kp-PxPDzREZGp0nGfuJubgTqrs9Hr7n8ttqdA@mail.gmail.com>
To: Mark Nottingham <mnot@mnot.net>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.216.181; envelope-from=martin.thomson@gmail.com; helo=mail-qt0-f181.google.com
X-W3C-Hub-Spam-Status: No, score=-6.1
X-W3C-Hub-Spam-Report: AWL=0.127, 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1cZ67l-0003ME-6y 45298e1472bb6f99aed979fdee82b190
X-Original-To: ietf-http-wg@w3.org
Subject: Re: ORIGIN - suggested changes
Archived-At: <http://www.w3.org/mid/CABkgnnX26M2P1Kp-PxPDzREZGp0nGfuJubgTqrs9Hr7n8ttqdA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33420
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 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.

The "everything except those" case doesn't concern me that much.  I
know it's relatively common, but it is fairly rare that the set of
origins that are used is not easily enumerable, or incrementally
discoverable.