followSslRedirects

fun followSslRedirects(followProtocolRedirects: Boolean): OkHttpClient.Builder

Configure this client to allow protocol redirects from HTTPS to HTTP and from HTTP to HTTPS. Redirects are still first restricted by followRedirects. Defaults to true.

Parameters

followProtocolRedirects

whether to follow redirects between HTTPS and HTTP.