ribesg
01/10/2024, 9:39 AMio.ktor.client.plugins.RedirectResponseException: Unhandled redirect
.
So which is supposed to be right? What am I supposed to do if followRedirects
is already true?e5l
01/10/2024, 9:41 AMe5l
01/10/2024, 9:43 AMHttpRedirect
plugin setting allowHttpsDowngrade
flag: https://api.ktor.io/ktor-client/ktor-client-core/io.ktor.client.plugins/-http-redi[…]https-downgrade.html?query=var%20allowHttpsDowngrade:%20Booleanribesg
01/10/2024, 9:46 AMcheckHttpMethod = false
. Both of these configuration values should be part of the documentation thoughribesg
01/10/2024, 9:57 AMcheckHttpMethod
that the response could have been altered to redirect to a different URL? Maybe a way to allow redirects for "dangerous" methods only if the host matches would be nice.
Unless there is a security concern even when redirecting to the same host that I'm not aware of