matchContentType

fun ConditionsHolderBuilder.matchContentType(vararg mimeTypes: ContentType)

Appends a content type condition to the encoder or Compression configuration.

Please note that adding a single match condition removes the default configuration.