contentTypeFromMimeType

Tries to find a content type based on the mime type name.

string
contentTypeFromMimeType
(
string mimeType
)

Parameters

mimeType string

a mime type string

Return Value

Type: string

Newly allocated string with content type or null. Free with glib.global.gfree