spierce7
01/16/2019, 9:38 PMe5l
01/17/2019, 7:16 AMExpectSuccess
feature as workaround. Probably it could be disabled by defaulte5l
01/17/2019, 7:21 AMHttpClient {
expectSuccess = false
}
einar
01/17/2019, 9:09 AMExpectSuccess
with witch you intercept the response and throw your own exceptions.
See the kotlinconf app: https://github.com/JetBrains/kotlinconf-app/blob/master/common/src/commonMain/kotlin/org/jetbrains/kotlinconf/api/ExpectSuccess.kt#L17spierce7
01/17/2019, 2:12 PMspierce7
01/17/2019, 2:29 PMspierce7
01/17/2019, 2:29 PMReceivePipelineException
Only BadResponseStatusException
is allowed out.