parse

fun parse(value: String): ContentType

Parses a string representing a Content-Type header into a ContentType instance.