Open koperagen opened 1 month ago
I'll avoid it in https://github.com/Kotlin/dataframe/issues/827 :)
It also parses the error stream as JSON, similar to before. It can catch APIs like https://api.binance.com/api/v3/klines?symbol=BTCUSDT
Seems like it
There's exactly 1 usage of this library in catchHttpResponse method. I reckon it was used for cases when HTTP response is other than 200, so usual URL.readText won't work to parse response body. But apparently
URL.connection as HttpUrlConnection
opens a lot possibilities, including reading response body even in case of 404 errors It'll save us ~300kb artifact size