redirectFor

open override fun redirectFor(responseUrl: String, body: String): String?

Returns the first non-null redirect URL in chain order. Multiple providers requesting redirects at the same time would be a configuration error — the spec is "one redirect per response," and chained Cesium-Ion-plus-Custom-Headers cases want Ion's redirect.