xyz.cssxsh.pixiv.exception.MatchContentLengthException.kt Maven / Gradle / Ivy
package xyz.cssxsh.pixiv.exception
import io.ktor.client.plugins.*
import io.ktor.client.statement.*
import io.ktor.util.*
import kotlinx.coroutines.*
public class MatchContentLengthException(response: HttpResponse) :
ResponseException(response, "") {
init {
response.call.cancel(super.message!!)
}
override val message: String = "Not Match ContentLength $response ${response.headers.toMap()}"
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy