Companion

object Companion

Functions

Link copied to clipboard
fun parse(value: String): ContentType

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

Properties

Link copied to clipboard

Represents a pattern * / * to match any content type.

Extensions

Link copied to clipboard
Link copied to clipboard

Recommended content type by file name extension

Link copied to clipboard

Recommended content types by file path