Артём Гильмудинов
08/14/2020, 8:55 AMspand
08/14/2020, 8:56 AMEric Grimsborn
08/14/2020, 9:03 AMBy default, Ktor HTTP client does follow redirections; this feature allows to followLike Johannes said it probably handled in the ktor code instead of having to configure every engine to follow redirects in different ways. This means behaviour can be more consistent across engines and makes configuration easier.redirects in a way that works with any HTTP engine.Location
Артём Гильмудинов
08/14/2020, 9:44 AMАртём Гильмудинов
08/14/2020, 9:47 AMEric Grimsborn
08/14/2020, 9:47 AMktor
or OkHttp
if you chose one configure that one. Using ktor with OkHttp means you are using OkHttp as the engine only. Any features you want you should use the ktor ones. If ktor is missing features you want you can either build them yourself, see if someone else has built them or use a client that has those features (e.g. OkHttp) instead of ktor.Артём Гильмудинов
08/14/2020, 10:13 AM