Pallaw Pathak
11/30/2023, 8:22 AM2.0.0-beta-1
version of Ktor in my KMP project. In this version ktor was throwing an exception whenever server returns 400
. But in latest version of ktor I am not able to get any exception thrown from ktor.
Can anyone please help me with this issue?
CC @Suresh Maidaragip-schneider
11/30/2023, 8:23 AM3.0.0-beta-1
or are you actually referring to the 2 year old beta release?)Pallaw Pathak
11/30/2023, 8:31 AM2.0.0-beta-1
of ktor. Recently, I upgraded to version 2.3.4
and since then, I am facing the issue that I described in my earlier message.Helio
11/30/2023, 8:32 AMexpecteSuccess=true
? Could you be missing this on your client engine?p-schneider
11/30/2023, 8:32 AMHelio
11/30/2023, 8:32 AM/**
* Terminates [HttpClient.receivePipeline] if the status code is not successful (>=300).
* Learn more from [Response validation](<https://ktor.io/docs/response-validation.html>).
*/
public var expectSuccess: Boolean = false
Pallaw Pathak
11/30/2023, 8:34 AMp-schneider
11/30/2023, 8:35 AMp-schneider
11/30/2023, 8:35 AMPallaw Pathak
11/30/2023, 8:38 AMSuresh Maidaragi
11/30/2023, 11:33 AM