charset

fun HeaderValueWithParameters.charset(): Charset?

Extracts a Charset value from the given Content-Type, Content-Disposition or similar header value.


fun HttpMessageBuilder.charset(charset: Charset): Unit?


fun HttpMessageBuilder.charset(): Charset?
fun HttpMessage.charset(): Charset?

Parse charset from Content-Type header value.