contentType

fun Route.contentType(
    contentType: ContentType,
    build: Route.() -> Unit
): Route

Builds a route to match requests with HttpHeaders.ContentType header matching specified contentType