ContentType
Represents a value for a Content-Type
header.
Constructors
Link copied to clipboard
fun ContentType(contentType: String, contentSubtype: String, parameters: List<HeaderValueParam> = emptyList())
Content copied to clipboard
Types
Functions
Link copied to clipboard
Creates a copy of this
type without any parameters
Link copied to clipboard
Properties
Extensions
Link copied to clipboard
Recommended file name extensions for this content type
Link copied to clipboard
Creates a copy of this
type with the added charset parameter with charset value.
Link copied to clipboard
Creates a copy of this
type with the added charset parameter with charset value if ContentType is not ignored