contentType

fun HttpMessageBuilder.contentType(type: ContentType)

Set Content-Type header.


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

Parse Content-Type header value.