contentType

fun HttpMessageBuilder.contentType(type: ContentType): Unit

Set Content-Type header.

fun HttpMessageBuilder.contentType(): ContentType?
fun HttpMessage.contentType(): ContentType?

Parse Content-Type header value.