Charsets

fun HttpClientConfig<*>.Charsets(
    block: Config.() -> Unit
): Unit

Configure client charsets.

val client = HttpClient {
    Charsets {
        register(Charsets.UTF_8)
        register(Charsets.ISO_8859_1, quality = 0.1)
    }
}