gregorbg
04/01/2019, 1:15 PMBasicAuth
in the io.ktor:ktor-client-auth
plugin, the exception that gets thrown is a SendCountExceedException
because the engine just tries sending again and again until the treshold is reached/surpassed. How can I change this behaviour so that upon encountering a 401
response code a more "proper" error (along the lines of "AuthenticationFailedException") is thrown?e5l
04/01/2019, 1:32 PMgregorbg
04/01/2019, 1:41 PM