suitableCharset
fun <ERROR CLASS>.suitableCharset(defaultCharset: <ERROR CLASS> = Charsets.UTF_8): <ERROR CLASS>
Content copied to clipboard
Detects a suitable charset for an application call by using the Accept
header or fallbacks to defaultCharset.