This feature checks that the response is OK (code < 300) or throws a BadResponseStatus.
io.ktor.client.features.ExpectSuccess
and no additional artifacts are required.
This feature is installed by default.
You can prevent installing this feature by setting the HttpClient.expectSuccess property to false:
val client = HttpClient(HttpClientEngine) {
expectSuccess = false
}