Re: Redirection to Other IP Addresses

Bin Ni <> Sun, 28 July 2019 07:40 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 0E9DD1200E6 for <>; Sun, 28 Jul 2019 00:40:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -0.65
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: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id BsgXnuAzNSci for <>; Sun, 28 Jul 2019 00:40:43 -0700 (PDT)
Received: from ( [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 (Postfix) with ESMTPS id 2CCFA1200E7 for <>; Sun, 28 Jul 2019 00:40:42 -0700 (PDT)
Received: from lists by with local (Exim 4.89) (envelope-from <>) id 1hrdlP-0003fJ-Rp for; Sun, 28 Jul 2019 07:38:39 +0000
Resent-Date: Sun, 28 Jul 2019 07:38:39 +0000
Resent-Message-Id: <>
Received: from ([2603:400a:ffff:804:801e:34:0:4c]) by with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from <>) id 1hrdlN-0003eT-LV for; Sun, 28 Jul 2019 07:38:37 +0000
Received: from ([2607:f8b0:4864:20::e2c]) by with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from <>) id 1hrdlL-00011e-Lb for; Sun, 28 Jul 2019 07:38:37 +0000
Received: by with SMTP id r3so38763702vsr.13 for <>; Sun, 28 Jul 2019 00:38:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; 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;; 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: <> <> <> <> <>
In-Reply-To: <>
From: Bin Ni <>
Date: Sun, 28 Jul 2019 00:38:03 -0700
Message-ID: <>
To: Julian Reschke <>
Cc: Ryan Hamilton <>, "" <>
Content-Type: multipart/alternative; boundary="000000000000a89a97058eb8db17"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e2c;;
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: 1hrdlL-00011e-Lb 7b8977a65f954110c11179ce2e012848
Subject: Re: Redirection to Other IP Addresses
Archived-At: <>
X-Mailing-List: <> archive/latest/36853
Precedence: list
List-Id: <>
List-Help: <>
List-Post: <>
List-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?



On Sun, Jul 28, 2019 at 12:14 AM Julian Reschke <>

> 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's that simple.

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

[image: Tweeter] <>  [image: Google Plus]
<>  [image: Linked In]

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
or visit our website at <>