https://kotlinlang.org logo
#ktor
Title
# ktor
a

Abhishek Bansal

03/15/2021, 4:47 PM
First timer with Ktor here. Ktor client is throwing
<http://io.ktor.utils.io|io.ktor.utils.io>.charsets.MalformedInputException: Input length = 1
when I try to receive
gzip
encoded response. Any idea how can I enable
gzip
decoding in
HttpClient
?
Working now, thanks!
4 Views