IPWorks Cloud 2020 Kotlin Edition

Questions / Feedback?

FollowRedirects Property

Determines what happens when the server issues a redirect.

Syntax

public var followRedirects: LinodeFollowRedirects

public enum class LinodeFollowRedirects(val value: Int) {
frNever(0),
frAlways(1),
frSameScheme(2);
}

Default Value

0

Remarks

This property specifies how the component should behave when the server returns a redirect response (e.g. "Object Moved"). Valid values are:

frNever (0) (default) Redirects are never followed; the component throws an exception instead.
frAlways (1) Redirects are always followed.
frSameScheme (2) Redirects are followed if the new URL has the same scheme as the originally requested URL; otherwise, the component throws an exception.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Kotlin Edition - Version 20.0 [Build 7941]