Re: Redirection to Other IP Addresses

Bin Ni <nibin@quantil.com> Sun, 28 July 2019 07:40 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 0E9DD1200E6 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Jul 2019 00:40:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.65
X-Spam-Level:
X-Spam-Status: No, score=-0.65 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, GB_VISITOURSITE=2, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=quantil-com.20150623.gappssmtp.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 BsgXnuAzNSci for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 28 Jul 2019 00:40:43 -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 2CCFA1200E7 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 28 Jul 2019 00:40:42 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.89) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1hrdlP-0003fJ-Rp for ietf-http-wg-dist@listhub.w3.org; Sun, 28 Jul 2019 07:38:39 +0000
Resent-Date: Sun, 28 Jul 2019 07:38:39 +0000
Resent-Message-Id: <E1hrdlP-0003fJ-Rp@frink.w3.org>
Received: from titan.w3.org ([2603:400a:ffff:804:801e:34:0:4c]) by frink.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <nibin@quantil.com>) id 1hrdlN-0003eT-LV for ietf-http-wg@listhub.w3.org; Sun, 28 Jul 2019 07:38:37 +0000
Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <nibin@quantil.com>) id 1hrdlL-00011e-Lb for ietf-http-wg@w3.org; Sun, 28 Jul 2019 07:38:37 +0000
Received: by mail-vs1-xe2c.google.com with SMTP id r3so38763702vsr.13 for <ietf-http-wg@w3.org>; Sun, 28 Jul 2019 00:38:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quantil-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5yWtECKvkGvVuDOHriRnW17XrE40u1GVx6OU/Y21gc0=; b=W6NSOwfSqTdqJM1yHGnTbx+jyjPVhGJ5OpBWjum6PysmnjIekxNOxVwVcF0XAb0v2Z 2zmkWFv+TcPpufE5tREUDYaYuAXPrME/Cb3mgZNxNjnUMPDJ6omZWJ3yaO5ACoI0ww2E yIBrG8RT7N1Hb99v6B4PzTPhxaNS2HFqRHhbMi65vSU7hNOASsg5XInNN/9OFGT6bjgl /mprOJJSgQnMjJ/t/1gdrBNosTSBQDylhhAgBmYC09R44OdLD0jEebP8lrWgD2NDRqOn MqyBeF4G1iUUTgbJc0G7DOCs1Dtw2UNGagKjJs8pPe+zwfYE0hgm2Z7lQgQbL1UjEHm6 DoyA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5yWtECKvkGvVuDOHriRnW17XrE40u1GVx6OU/Y21gc0=; b=XXE2uLXJYS8+nEvqZoz5i3cAoPSUCaqw8XrbUFhqwC86gHyxSvxlZiQQtE4OyMvF27 ZZAStSIfNpv8lBymld2nwtMWEDpHkQwo8I2DmjKhEDHY+FxrlT2pksd6uo1UxrzNCai3 vsstHsomdy4FekwbmSBxsebk4gR131AX3mKzT7ixCCYRYw2wDjUmqHZy4PMjOZeN2pEC 2GWg4545NSp3Puqlup+mS4WZMsg918X+fvaspR3NoX+3DSzSUV874RwkwL30vjUF6uaH YKY0uhF+VMbblnzBxD2GmYNCaGrYmElBNc6YspSqpxCHhjIYrKWsKPY8tTyjB+SfjzSS VDUA==
X-Gm-Message-State: APjAAAXxBiTUOGR6h8ilqEfiux1XOcWJJBiq9PxE0kukLnfpPSUy4pmV tmqQJT1AqbCSxDO9G3s53Fm1md/7QM1x1rw5s+xnxw==
X-Google-Smtp-Source: APXvYqyOtFJR6MSd3S6QpfW9//m8EBchkhwK3EK9tE9MphYZ4imGzDAtepBCXJT4dmnxc9LCb2eHWkdEQ1E+oVrVDs0=
X-Received: by 2002:a67:68d4:: with SMTP id d203mr68859835vsc.28.1564299493933; Sun, 28 Jul 2019 00:38:13 -0700 (PDT)
MIME-Version: 1.0
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> <b09ab672-f512-52bc-6c28-7df55919a846@gmx.de>
In-Reply-To: <b09ab672-f512-52bc-6c28-7df55919a846@gmx.de>
From: Bin Ni <nibin@quantil.com>
Date: Sun, 28 Jul 2019 00:38:03 -0700
Message-ID: <CAFifEM+TXtsxTt-NcH+hQomEAYZmMTW_kPxXvQB69eM4KgGf7g@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: Ryan Hamilton <rch@google.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="000000000000a89a97058eb8db17"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e2c; envelope-from=nibin@quantil.com; helo=mail-vs1-xe2c.google.com
X-W3C-Hub-Spam-Status: No, score=-4.0
X-W3C-Hub-Spam-Report: AWL=-0.150, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1hrdlL-00011e-Lb 7b8977a65f954110c11179ce2e012848
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Redirection to Other IP Addresses
Archived-At: <https://www.w3.org/mid/CAFifEM+TXtsxTt-NcH+hQomEAYZmMTW_kPxXvQB69eM4KgGf7g@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/36853
X-Loop: 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>

Hi Julian,

So maybe the server can returns a 301 with no "location" header but a
"alt-svc" header to
force the client to go to that alternative service?
How are today's browsers implemented to handle this?
Is there any recommended implementation in any standard?
Or it is completely up to the client?

Thanks!

Bin

On Sun, Jul 28, 2019 at 12:14 AM Julian Reschke <julian.reschke@gmx.de>;
wrote:

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


-- 

Bin Ni
VP of Engineering
[image: Quantil]

Connecting users with content...it's that simple.

Office: +1-888-847-9851 <(888)%20847-9851>

[image: Tweeter] <https://twitter.com/Team_Quantil>  [image: Google Plus]
<https://plus.google.com/+Quantil_team/>  [image: Linked In]
<https://www.linkedin.com/company/quantil>

The information contained in this email may be confidential and/or legally
privileged. It has been sent for the sole use of the intended recipient(s).
If the reader of this message is not an intended recipient, you are hereby
notified that any unauthorized review, use, disclosure, dissemination,
distribution, or copying of this communication, or any of its contents, is
strictly prohibited. If you have received this communication in error,
please reply to the sender and destroy all copies of the message. To
contact us directly, send to QUANTIL, INC. at 1919 S Bascom Ave #600,
Campbell, CA 95008
<https://maps.google.com/?q=1919+S+Bascom+Ave+%23600,+Campbell,+CA+95008&entry=gmail&source=g>;,
or visit our website at www.quantil.com. <https://www.quantil.com/>