ktor-http / io.ktor.http / fromFilePath

fromFilePath

fun ContentType.Companion.fromFilePath(path: String): List<ContentType>

Recommended content types by file path