skipDeduplication

fun HttpRequestBuilder.skipDeduplication()(source)

Sends this request on its own, without sharing it with concurrent identical requests.

The plugin reads a shared response fully into memory before any caller sees it, so use this for responses that must be streamed, such as large downloads:

client.prepareGet(url) { skipDeduplication() }.execute { response ->
response.bodyAsChannel().copyTo(file)
}