Re: Redirection to Other IP Addresses

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

Received on Sunday, 28 July 2019 07:14:51 UTC