api

http4k / org.http4k.core / Accept / accepts

accepts

fun accepts(contentType: ContentType): Boolean

Note that the Accept header ignores CharSet because that is in a separate Accept-CharSet header..