Re: Redirection to Other IP Addresses

Julian Reschke <julian.reschke@gmx.de> Sun, 28 July 2019 07:17 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 DDE001200F9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Jul 2019 00:17:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.652
X-Spam-Level:
X-Spam-Status: No, score=-2.652 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=gmx.net
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 DzOzAwxsUhOR for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Jul 2019 00:17:34 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [IPv6:2603:400a:ffff:804:801e:34:0:38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 937261200F8 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Jul 2019 00:17:34 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hrdOQ-0004K4-B0 for ietf-http-wg-dist@listhub.w3.org; Sun, 28 Jul 2019 07:14:54 +0000
Resent-Date: Sun, 28 Jul 2019 07:14:54 +0000
Resent-Message-Id: <E1hrdOQ-0004K4-B0@frink.w3.org>
Received: from mimas.w3.org ([2603:400a:ffff:804:801e:34:0:4f]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <julian.reschke@gmx.de>) id 1hrdON-0004JD-6U for ietf-http-wg@listhub.w3.org; Sun, 28 Jul 2019 07:14:51 +0000
Received: from mout.gmx.net ([212.227.15.15]) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <julian.reschke@gmx.de>) id 1hrdOL-0004sO-SU for ietf-http-wg@w3.org; Sun, 28 Jul 2019 07:14:51 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1564298064; bh=kZwR1ltXVr7iQqqdu86BzwHtr+8UJBXgHcmEexe3Mp0=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=M9Wel4e4V4hRZKvYvqva0Uk68muTHxzFhkm7ZRYrav9jy1WC7+K0OTN0L1JFbd6YZ golL3SYmP8vn6NTvsPxwR6BV5L47BGM27yACuwnl00oUS3rk3dxzBYnD3g0GLoGvS/ 90nzZTHYogBPsROppb06KciQyOYBHFgPwZK8eDFY=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.178.124] ([84.171.149.116]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Ml6qM-1iEtvY0eOy-00lQwu; Sun, 28 Jul 2019 09:14:24 +0200
To: Bin Ni <nibin@quantil.com>, Ryan Hamilton <rch@google.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
References: <CAFifEMLOHp5=OqUXZbg_WKNQmNsTW3Bg5P4btJdX06CF=Wi2AA@mail.gmail.com> <d9b03ef6-9c8c-1eb2-7f74-014f9703475d@gmx.de> <CAJ_4DfQifbJJ7owfrgUUOqXimL-KQkb4-1f_Qp6+CMjhYC1bbg@mail.gmail.com> <CAFifEMJPZd9CGghi_MJ1Hrcq7TJNnkV6yH-EKtrrfaQmStS4Ug@mail.gmail.com>
From: Julian Reschke <julian.reschke@gmx.de>
Message-ID: <b09ab672-f512-52bc-6c28-7df55919a846@gmx.de>
Date: Sun, 28 Jul 2019 09:14:22 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <CAFifEMJPZd9CGghi_MJ1Hrcq7TJNnkV6yH-EKtrrfaQmStS4Ug@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:P2GPl1wu3gB8N2Guw7yMJE/RgemJ7N1m2Z02ajLICCFJBpYo4+B vmux3fy9EML2K8IWjA0Ik+2ISXPNsyMBGHehPmVmnKZ8TypbcxaOdJRHZ2oo3yCX1WDkT5n 5TH8BJRIOqAL2/ddmz1GrA8JlAFlTK0QW1wA/oF67Uy+zDJ9gOmjMQ1muF0ERleP+PeBzSQ /slrlOez+NzTYe21z5ExA==
X-UI-Out-Filterresults: notjunk:1;V03:K0:lE3fJVsbPgs=:bd8xTzQcgGck6LXyiOfDQn w42Z7uD11ugqcKeRdodR0YQ5hRV5S6C0wlWMKxicXXJXps4pScWwjA+qdN4ET6+g3Aj6l8Vm/ jdkW+WZzEjux17M7OADaT5nYHrtpuKnXX/TETRGZySMT5PXkx4szsddGFFTOiLSkz4h0JeXcT KVb1A6/WSnVnxOJ/onD8OandqdaHGZ22P1SAC89YuumcLGjxK0+3JstrlYJdZGAnnKrK+l1X3 c7f1Tq/8YLaxGXISe9cbHoNQZomC0ryzCLGLdP21mXA8LZLp8Gf5Sn8EljDUTV4n0JOpAp2hI LgGa+yP2tMrKqynd9Ow/Q1I3lV+9NsoJaEz6ICP+l0w8Way/61qBNzWsNGM08ezL6JBw0RHBT djzg0GS2FOFOvjoSDVUQaa/fKcxgMotfQYySZYArkkO3ZJepPgFxspg5z2zXi18lHQQzhr/SX NzVNy6g74tLiRWBrG1ckPYD30VraRwYWs6yqKVxLmNqeoADKJp7wSMGkgNV5iqN1UvEbH0oTh jh74d/uXfxHYGYTtMdVbbbdxjnBUrDkAkhwPnGPNQsFsP51nUzBtGqszptJvVSUjeJ2B60NSX GvG5/uJcZcsXxN146ljt+LNJxyB2rRQ0QPbJwNFV/Ad8eKsaa/A8RLkZmvYNK5k5n/52iwJwB mJRD5WFhM2dvTWERcy00svqfTaLNzR+AOevScqtt6KkGqJ98Ps2oa0UHIW7hwy88v4HJ7DBnr mIHUX6zoDpHKvkc9AuUj4PMUQTJoRoMGUkf7HCcoz7SMdiUEm1Z7cbAWI78e9Q6BudmTJa2Ng DJBYMd/knSvLUIPafwiTvnDXy5Dnv8F0dWzPg6sG3lWRtOYk11lVxtjA5RFqo6sqHFsxifXZM syBZLyOoikRbafHByNvCLeqHNALeYSdD1Bt5lGl5eOwn6ZLwU4riYUdcR/bkgLxL8nLKHjGSj z+KcgpT02kzjUtzwBt3aE2wRpUxc9n/yg2V5uKz6ZqXV5BPLcq8E7Wm7fAfublhWoZbzlDv9N 23Nyq6yLWGXQ/q8UwwXN4Ujzfop7+Sb/ieloi3dcLAdHY5lWvh2/jPKDEcY8uIUQmn44ZSFsh RLi3paUsgl5j+2hw8J7JS2UfgWuvgZyBpAl
Received-SPF: pass client-ip=212.227.15.15; envelope-from=julian.reschke@gmx.de; helo=mout.gmx.net
X-W3C-Hub-Spam-Status: No, score=-3.9
X-W3C-Hub-Spam-Report: AWL=2.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1hrdOL-0004sO-SU 0b58efa867b1d9b9b682fbaa1fbb69de
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Redirection to Other IP Addresses
Archived-At: <https://www.w3.org/mid/b09ab672-f512-52bc-6c28-7df55919a846@gmx.de>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36852
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 28.07.2019 01:33, Bin Ni wrote:
> Thanks Julian and Ryan for bringing alt-svc to my attention.
> It seems to be too complicated for my purpose but might work.

Complex for the client or for the server?

> One question I have is: what should be the server's behavior if it wants
> to force the client to use the alternative service immediately?

Alt-Svc is always advisory only.

> For example, from the request URI the server knows that the client is
> requesting a huge file or video.
> It does not want serve it at all and want the client to issue the same
> request again to another server.
> Which status code should the server return? 300?

301 or 308, I'd say.

Best regards, Julian