Re: Alt-svc and CORS

Martin Thomson <martin.thomson@gmail.com> Wed, 07 October 2015 08:38 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 (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E67C51B2BEF for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 7 Oct 2015 01:38:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.012
X-Spam-Level:
X-Spam-Status: No, score=-7.012 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 a56zoaWzUx2D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 7 Oct 2015 01:38:34 -0700 (PDT)
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 658EF1B2BEC for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 7 Oct 2015 01:38:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZjkDA-0005u3-OL for ietf-http-wg-dist@listhub.w3.org; Wed, 07 Oct 2015 08:36:32 +0000
Resent-Date: Wed, 07 Oct 2015 08:36:32 +0000
Resent-Message-Id: <E1ZjkDA-0005u3-OL@frink.w3.org>
Received: from lisa.w3.org ([128.30.52.41]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1ZjkD8-0005sn-FM for ietf-http-wg@listhub.w3.org; Wed, 07 Oct 2015 08:36:30 +0000
Received: from mail-yk0-f173.google.com ([209.85.160.173]) by lisa.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1ZjkCz-0004op-Fg for ietf-http-wg@w3.org; Wed, 07 Oct 2015 08:36:25 +0000
Received: by ykft14 with SMTP id t14so10016350ykf.0 for <ietf-http-wg@w3.org>; Wed, 07 Oct 2015 01:35: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=TMxmLw3i3UDDoizqhelKc2ZQFA3+hhlQZlXsGR9Qq1A=; b=pjn5DVE1A6tbPOC4FoDpZvPlVYwQWaSUGp5X0rznvc+c5QRjhtNN/2+NNPJF7snYUy Vvo+UgYOOfPyNxRCmnaaTzcRJ+ZufAQKSDa/Sl2RlcZUE/GBOngdXg4cl79g1iSN33WR ZObjb/vIlt2syW5MDLGw5p3cMbqcm8qeHoJqbBpm3142m1pkwxksWIWJ4JJGFDW5b/t9 LqpNBAxN8FQc3vpwJMu50X/+kbL2i0ZgdwWO0FVimt/NSEGwgkTbCDW6/ga5Yo8o5aKL agtPbCoVk4PwpQRsx8QEBP9Yn0WWGLva84tovGBUQ3Z1EFMNPCRQEEU01N449+g5RjCx /eIw==
MIME-Version: 1.0
X-Received: by 10.129.55.142 with SMTP id e136mr31446277ywa.120.1444206955489; Wed, 07 Oct 2015 01:35:55 -0700 (PDT)
Received: by 10.13.230.78 with HTTP; Wed, 7 Oct 2015 01:35:55 -0700 (PDT)
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B37B27C46@ESESSMB209.ericsson.se>
References: <7594FB04B1934943A5C02806D1A2204B37B27C46@ESESSMB209.ericsson.se>
Date: Wed, 07 Oct 2015 10:35:55 +0200
Message-ID: <CABkgnnWvp9p9KDG54p9k_fUUgS2RcG2QVOEpbnoJbxn4m7Wiiw@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Christer Holmberg <christer.holmberg@ericsson.com>
Cc: HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=209.85.160.173; envelope-from=martin.thomson@gmail.com; helo=mail-yk0-f173.google.com
X-W3C-Hub-Spam-Status: No, score=-7.9
X-W3C-Hub-Spam-Report: AWL=1.842, 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, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: lisa.w3.org 1ZjkCz-0004op-Fg e013ae18d8d3a632d6cafaa09a42bd59
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Alt-svc and CORS
Archived-At: <http://www.w3.org/mid/CABkgnnWvp9p9KDG54p9k_fUUgS2RcG2QVOEpbnoJbxn4m7Wiiw@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30345
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <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 7 October 2015 at 09:40, Christer Holmberg
<christer.holmberg@ericsson.com> wrote:
> 1.       The browser requests index.html from origin duexample.com (based on
> whatever logic)

Here's your problem.  The browser makes the request to the origin
example.com.  The fact that a server at duxample.com is serving this
request is irrelevant in this context.