Seems to happen when there is no response body due to an error.
d
Deactivated User
04/24/2018, 11:21 AM
Then, maybe it is a bug. Since probably other exception should be thrown or returned an empty string?
If that’s the case, please fill an issue here: https://github.com/ktorio/ktor/issues