- From: Bin Ni <nibin@quantil.com>
- Date: Sun, 28 Jul 2019 00:38:03 -0700
- To: Julian Reschke <julian.reschke@gmx.de>
- Cc: Ryan Hamilton <rch@google.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
- Message-ID: <CAFifEM+TXtsxTt-NcH+hQomEAYZmMTW_kPxXvQB69eM4KgGf7g@mail.gmail.com>
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/>
Received on Sunday, 28 July 2019 07:38:37 UTC