This feature discards the body of the response.
io.ktor.client.features.HttpIgnoreBody
        
        
            and no additional artifacts are required.
        
        
        
        
    val client = HttpClient(HttpClientEngine) {
    install(HttpIgnoreBody)
}
Use this if you are only interested in the response headers, and you cannot use the HEAD verb. This will use less memory and will execute faster.