Hello, does follow redirects feature work in CIO H...
# ktor
g
Hello, does follow redirects feature work in CIO HttpClient? My HttpResponse returns 303 "See Other" with a Location header. If I try to read the text of the response it throws an
io.ktor.client.features.RedirectResponseException: Unhandled redirect
b
It looks like only Apache supports redirects: https://ktor.io/clients/http-client/engines.html#apache
It is the only one that supports following redirects
g
If that's the case, the Redirect docs should be updated, since they claim that
by default, Ktor HTTP client does follow redirections; this feature allows to follow Location redirects in a way that *works with any HTTP engine*
👍 1